/* ============================================================
   AGENCE AUGUSTIN — Retours WordPress + responsive (v1.0.130)

   Ordinateur (>= 1024 px)
   - les retours manuels saisis dans WordPress sont respectés exactement ;
   - le navigateur n'ajoute pas de retour automatique.

   Tablette / mobile (< 1024 px)
   - les retours manuels WordPress ne pilotent plus la composition ;
   - les retours éditoriaux deviennent de simples espaces ;
   - le navigateur retourne naturellement à la ligne selon la largeur réelle
     de l'appareil ;
   - aucun texte administrable ne peut imposer une largeur supérieure à son
     conteneur.

   Cette feuille est chargée après responsive.css. device-responsive.css,
   chargée ensuite, étend la même règle aux tablettes dont le viewport paysage
   peut dépasser 1023 px.
   ============================================================ */

@media (min-width: 1024px) {
    html body .aa-authored-text {
        display: inline-block !important;
        width: max-content !important;
        min-width: 0 !important;
        max-width: none !important;
        overflow: visible !important;
        text-overflow: clip !important;
        white-space: pre !important;
        text-wrap: nowrap !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
        hyphens: none !important;
        vertical-align: top;
    }

    html body br.aa-authored-break,
    html body br.aa-manual-break {
        display: initial !important;
        visibility: visible !important;
    }

    html body .aa-manual-break-space {
        display: none !important;
    }

    html body main#main-content#main-content :is(
        h1, h2, h3, h4, h5, h6,
        p, li, dt, dd, blockquote, figcaption,
        a, strong, em, small, cite,
        .hero__intro,
        .hero__subtitle,
        .eyebrow,
        .aa-kicker,
        .aa-rich-text,
        .aa-rich-text > *,
        .quote-section footer,
        .quote-section footer span,
        .contact-minimal__email,
        .aa-article-copy__content,
        .aa-article-copy__content > *,
        .legal-page__copy,
        .legal-page__copy > *
    ),
    html body .site-footer :is(
        h1, h2, h3, h4, h5, h6,
        p, li, dt, dd, blockquote, figcaption,
        a, strong, em, small, cite
    ) {
        max-width: none !important;
        overflow: visible !important;
        text-overflow: clip !important;
        white-space: normal !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
        hyphens: none !important;
    }

    html body main#main-content#main-content :is(
        .hero__content,
        .hero__content-inner,
        .editorial__content,
        .editorial__content-inner,
        .editorial__text,
        .text-centered__inner,
        .text-centered__content,
        .section-heading,
        .process-card,
        .process-card__text,
        .process-home__head,
        .process-timeline__heading,
        .timeline-step__content,
        .triptych__head,
        .triptych__intro,
        .triptych-card__content,
        .cta-banner__heading,
        .cta-banner__content,
        .image-banner__content,
        .image-banner__content-inner,
        .large-image-text__content,
        .large-image-text__content-inner,
        .image-text-multiple__content,
        .image-text-multiple__content-inner,
        .full-width-banner__heading,
        .full-width-banner__body,
        .project-showcase__content,
        .founder__content,
        .founder__title,
        .founder__text,
        .quote-section blockquote,
        .contact-minimal__content,
        .journal-featured__content,
        .journal-card__content,
        .entry-content,
        .aa-article-copy,
        .aa-article-copy__inner,
        .legal-page__copy
    ) {
        max-width: none !important;
        overflow: visible !important;
    }
}

@media (max-width: 1023px) {
    html body .aa-authored-text {
        display: inline !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: 100% !important;
        overflow: visible !important;
        text-overflow: clip !important;
        white-space: normal !important;
        text-wrap: wrap !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
        hyphens: none !important;
        vertical-align: baseline;
    }

    /* Legacy explicit break markup follows the same responsive rule. */
    html body #main-content br.aa-authored-break,
    html body #main-content br.aa-manual-break,
    html body .site-footer br.aa-authored-break,
    html body .site-footer br.aa-manual-break {
        display: none !important;
        visibility: hidden !important;
    }

    html body #main-content .aa-manual-break-space,
    html body .site-footer .aa-manual-break-space {
        display: inline !important;
        visibility: visible !important;
    }

    html body main#main-content#main-content :is(
        h1, h2, h3, h4, h5, h6,
        p, li, dt, dd, blockquote, figcaption,
        a, strong, em, small, cite,
        .hero__intro,
        .hero__subtitle,
        .eyebrow,
        .aa-kicker,
        .aa-rich-text,
        .aa-rich-text > *,
        .quote-section footer,
        .quote-section footer span,
        .contact-minimal__email,
        .aa-article-copy__content,
        .aa-article-copy__content > *,
        .legal-page__copy,
        .legal-page__copy > *
    ),
    html body .site-footer :is(
        h1, h2, h3, h4, h5, h6,
        p, li, dt, dd, blockquote, figcaption,
        a, strong, em, small, cite
    ) {
        min-width: 0 !important;
        max-width: 100% !important;
        white-space: normal !important;
        text-wrap: wrap !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
        hyphens: none !important;
    }

    html body main#main-content#main-content :is(
        .hero__content,
        .hero__content-inner,
        .editorial__content,
        .editorial__content-inner,
        .editorial__text,
        .text-centered__inner,
        .text-centered__content,
        .section-heading,
        .process-card,
        .process-card__text,
        .process-home__head,
        .process-timeline__heading,
        .timeline-step__content,
        .triptych__head,
        .triptych__intro,
        .triptych-card__content,
        .cta-banner__heading,
        .cta-banner__content,
        .image-banner__content,
        .image-banner__content-inner,
        .large-image-text__content,
        .large-image-text__content-inner,
        .image-text-multiple__content,
        .image-text-multiple__content-inner,
        .full-width-banner__heading,
        .full-width-banner__body,
        .project-showcase__content,
        .founder__content,
        .founder__title,
        .founder__text,
        .quote-section blockquote,
        .contact-minimal__content,
        .journal-featured__content,
        .journal-card__content,
        .entry-content,
        .aa-article-copy,
        .aa-article-copy__inner,
        .legal-page__copy
    ) {
        min-width: 0 !important;
        max-width: 100% !important;
    }

}

/* ============================================================
   V130 — Retours responsives sémantiques

   Tous les retours saisis dans WordPress restent visibles sur ordinateur.
   Sous 1024 px, seuls les retours qui séparent deux phrases/blocs autonomes
   restent forcés. Les retours de composition placés au milieu d'une phrase
   deviennent un espace et la largeur de l'appareil décide du repli.
   ============================================================ */
@media (max-width: 1023px) {
    html body #main-content br.aa-authored-break--semantic,
    html body .site-footer br.aa-authored-break--semantic {
        display: initial !important;
        visibility: visible !important;
    }
}
