/*
 * Shared responsive landing-hero flow.
 *
 * Desktop keeps every page's established copy/media composition. Once a hero
 * collapses to one column, the visual moves directly below the site header and
 * the copy follows with one consistent, deliberate gap.
 */
@media (max-width: 991.98px) {
    .landing-hero-section {
        padding-top: 20px !important;
    }

    .landing-hero-layout {
        row-gap: 0 !important;
    }

    .landing-hero-layout.cmp-hero-container {
        padding-top: 0 !important;
    }

    .landing-hero-media {
        order: -1 !important;
        margin-top: 0 !important;
        margin-bottom: 28px !important;
    }

    .landing-hero-copy {
        order: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        text-align: center;
    }

    .landing-hero-copy > .hero-content,
    .landing-hero-copy > .smcp-hero-content,
    .landing-hero-copy > .spm-hero-content {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .landing-hero-section .hero-side-media {
        display: none !important;
    }
    .ap-hero-trust {
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .landing-hero-section {
        padding-top: 14px !important;
    }

    .landing-hero-media {
        margin-bottom: 22px !important;
    }
}

@media (min-width: 576px) and (max-width: 991.98px) {
    .landing-hero-media .hero-main-photo {
        width: min(100%, 560px);
        margin-right: auto;
        margin-left: auto;
    }
}
