/* Home only: keep long CMS headlines in normal flow on narrow screens. */
@media (max-width: 768px) {
    body.is-cm-home .cm-home-super-main .cm-product-super-hero {
        min-height: 0;
        height: auto;
        border-radius: 0;
        background: #ffffff;
        box-shadow: none;
    }

    body.is-cm-home .cm-product-super-figure {
        position: relative;
        inset: auto;
        height: auto;
    }

    body.is-cm-home .cm-product-super-hero-link {
        position: relative;
        inset: auto;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        height: auto;
        overflow: visible;
        color: #172033;
    }

    body.is-cm-home .cm-product-super-hero-link > img,
    body.is-cm-home .cm-product-super-hero-link > .cm-media-placeholder {
        position: relative;
        inset: auto;
        display: block;
        flex: none;
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        object-fit: cover;
    }

    body.is-cm-home .cm-product-super-overlay {
        display: none;
    }

    body.is-cm-home .cm-product-super-copy {
        width: 100%;
        max-width: 100%;
        padding: 16px 0;
        background: transparent;
    }

    body.is-cm-home .cm-product-super-copy h1 {
        width: 100%;
        max-width: 100%;
        color: #172033;
        font-size: 1.5rem;
        line-height: 1.2;
        letter-spacing: 0;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    body.is-cm-home .cm-product-super-copy p {
        margin-top: 10px;
        color: #4c596b;
        font-size: 1rem;
        line-height: 1.5;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    body.is-cm-home .cm-product-super-kicker {
        margin-bottom: 10px;
        color: #a80f19;
        font-size: 0.75rem;
        letter-spacing: 0;
    }

    body.is-cm-home .cm-home-super-layout {
        gap: 20px;
    }

    body.is-cm-home .cm-home-section-heading,
    body.is-cm-home .cm-featured-articles-header,
    body.is-cm-home .main-content .cm-section-showcase-header {
        flex-wrap: wrap;
        flex-direction: row !important;
        align-items: center !important;
    }

    body.is-cm-home .cm-home-section-heading h2,
    body.is-cm-home .cm-featured-articles-header h2,
    body.is-cm-home .cm-section-showcase-header h2 {
        flex: 0 1 auto;
        min-width: 0;
        overflow-wrap: anywhere;
    }

    body.is-cm-home .cm-home-section-heading > h2,
    body.is-cm-home .cm-featured-articles-header > div,
    body.is-cm-home .cm-section-showcase-header > div {
        flex: 1 1 160px;
        min-width: 0;
    }

    body.is-cm-home .cm-home-section-link,
    body.is-cm-home .cm-featured-articles-link,
    body.is-cm-home .cm-section-showcase-link,
    body.is-cm-home .cm-regional-tab,
    body.is-cm-home .digital-editions-all-link {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        box-sizing: border-box;
        letter-spacing: 0 !important;
    }

    body.is-cm-home .cm-home-section-link {
        max-width: 100%;
        white-space: normal;
    }

    body.is-cm-home .cm-regional-tabs-nav {
        scroll-padding-inline: 12px;
        overscroll-behavior-x: contain;
    }

    body.is-cm-home .cm-regional-tab:focus-visible {
        outline: 2px solid #172033;
        outline-offset: -3px;
    }

    body.is-cm-home .cm-elections-2026-button {
        min-height: 52px;
        height: auto;
        white-space: normal;
        overflow-wrap: anywhere;
        line-height: 1.4;
        letter-spacing: 0;
    }

    body.is-cm-home .cm-elections-2026-button span {
        min-width: 0;
    }

    body.is-cm-home .cm-featured-articles-section,
    body.is-cm-home .cm-section-showcase,
    body.is-cm-home .culture-section.container {
        padding: 16px 0 !important;
        border: 0;
        border-top: 1px solid #e2e6eb;
        border-radius: 0;
        background: transparent;
    }

    body.is-cm-home .legacy-hamburger-drawer.caixa-menu-topo {
        height: 100dvh !important;
        overscroll-behavior-y: contain;
        padding-bottom: env(safe-area-inset-bottom, 0px);
        box-sizing: border-box;
    }

    body.is-cm-home .legacy-hamburger-menu__group a,
    body.is-cm-home .legacy-hamburger-menu__group summary {
        display: flex;
        align-items: center;
        min-height: 44px;
        box-sizing: border-box;
        overflow-wrap: anywhere;
    }

    body.is-cm-home .cm-site-footer__newsletter-form input {
        font-size: 16px;
    }
}

@media (prefers-reduced-motion: reduce) and (max-width: 768px) {
    body.is-cm-home .legacy-hamburger-drawer.caixa-menu-topo,
    body.is-cm-home .legacy-hamburger-overlay,
    body.is-cm-home .cm-elections-2026-button,
    body.is-cm-home .cm-regional-tab {
        transition: none !important;
    }
}
