
@media (min-width: 768px) and (max-width: 1024px) {

    /* Main Hero becomes a two-column grid */
    body.page-id-92013 .hgr-section:first-of-type .hgr-hero,
    body.page-id-92015 .hgr-section:first-of-type .hgr-hero,
    body.page-id-92016 .hgr-section:first-of-type .hgr-hero,
    body.page-id-92017 .hgr-section:first-of-type .hgr-hero,
    body.page-id-92018 .hgr-section:first-of-type .hgr-hero {
        display: grid !important;
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr) !important;
        column-gap: 30px !important;
        row-gap: 18px !important;
        align-items: center !important;
    }

    /*
     * Flatten the left content wrapper so the eyebrow and H1
     * can span across both grid columns.
     */
    body.page-id-92013 .hgr-section:first-of-type .hgr-hero > div:first-child,
    body.page-id-92015 .hgr-section:first-of-type .hgr-hero > div:first-child,
    body.page-id-92016 .hgr-section:first-of-type .hgr-hero > div:first-child,
    body.page-id-92017 .hgr-section:first-of-type .hgr-hero > div:first-child,
    body.page-id-92018 .hgr-section:first-of-type .hgr-hero > div:first-child {
        display: contents !important;
    }

    /* Eyebrow spans full width */
    body.page-id-92013 .hgr-section:first-of-type .hgr-eyebrow,
    body.page-id-92015 .hgr-section:first-of-type .hgr-eyebrow,
    body.page-id-92016 .hgr-section:first-of-type .hgr-eyebrow,
    body.page-id-92017 .hgr-section:first-of-type .hgr-eyebrow,
    body.page-id-92018 .hgr-section:first-of-type .hgr-eyebrow {
        grid-column: 1 / -1 !important;
        margin-bottom: -6px !important;
        justify-self: start !important;
    }

    /* Title spans full width */
    body.page-id-92013 .hgr-section:first-of-type h1,
    body.page-id-92015 .hgr-section:first-of-type h1,
    body.page-id-92016 .hgr-section:first-of-type h1,
    body.page-id-92017 .hgr-section:first-of-type h1,
    body.page-id-92018 .hgr-section:first-of-type h1 {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 0 10px !important;
        font-size: clamp(34px, 4.25vw, 44px) !important;
        line-height: 1.08 !important;
        letter-spacing: -0.025em !important;
        white-space: nowrap !important;
    }

    /* Description stays in left column */
    body.page-id-92013 .hgr-section:first-of-type .lead,
    body.page-id-92015 .hgr-section:first-of-type .lead,
    body.page-id-92016 .hgr-section:first-of-type .lead,
    body.page-id-92017 .hgr-section:first-of-type .lead,
    body.page-id-92018 .hgr-section:first-of-type .lead {
        grid-column: 1 !important;
        grid-row: 3 !important;
        align-self: start !important;
        margin: 0 !important;
        font-size: 15px !important;
        line-height: 1.55 !important;
    }

    /* Selling points stay below description */
    body.page-id-92013 .hgr-section:first-of-type .hgr-hero-points,
    body.page-id-92015 .hgr-section:first-of-type .hgr-hero-points,
    body.page-id-92016 .hgr-section:first-of-type .hgr-hero-points,
    body.page-id-92017 .hgr-section:first-of-type .hgr-hero-points,
    body.page-id-92018 .hgr-section:first-of-type .hgr-hero-points {
        grid-column: 1 !important;
        grid-row: 4 !important;
        align-self: start !important;
        margin: 2px 0 0 !important;
    }

    body.page-id-92013 .hgr-section:first-of-type .hgr-hero-points li,
    body.page-id-92015 .hgr-section:first-of-type .hgr-hero-points li,
    body.page-id-92016 .hgr-section:first-of-type .hgr-hero-points li,
    body.page-id-92017 .hgr-section:first-of-type .hgr-hero-points li,
    body.page-id-92018 .hgr-section:first-of-type .hgr-hero-points li {
        font-size: 13px !important;
        line-height: 1.4 !important;
        margin-bottom: 8px !important;
    }

    /* Buttons remain under the points */
    body.page-id-92013 .hgr-section:first-of-type .hgr-btn-row,
    body.page-id-92015 .hgr-section:first-of-type .hgr-btn-row,
    body.page-id-92016 .hgr-section:first-of-type .hgr-btn-row,
    body.page-id-92017 .hgr-section:first-of-type .hgr-btn-row,
    body.page-id-92018 .hgr-section:first-of-type .hgr-btn-row {
        grid-column: 1 !important;
        grid-row: 5 !important;
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 9px !important;
        align-self: start !important;
        margin-top: 4px !important;
    }

    body.page-id-92013 .hgr-section:first-of-type .hgr-btn,
    body.page-id-92015 .hgr-section:first-of-type .hgr-btn,
    body.page-id-92016 .hgr-section:first-of-type .hgr-btn,
    body.page-id-92017 .hgr-section:first-of-type .hgr-btn,
    body.page-id-92018 .hgr-section:first-of-type .hgr-btn {
        width: auto !important;
        min-width: 0 !important;
        padding: 11px 15px !important;
        font-size: 12px !important;
        line-height: 1.25 !important;
        white-space: nowrap !important;
    }

    /* Large image occupies the full right side */
    body.page-id-92013 .hgr-section:first-of-type .hgr-hero-media,
    body.page-id-92015 .hgr-section:first-of-type .hgr-hero-media,
    body.page-id-92016 .hgr-section:first-of-type .hgr-hero-media,
    body.page-id-92017 .hgr-section:first-of-type .hgr-hero-media,
    body.page-id-92018 .hgr-section:first-of-type .hgr-hero-media {
        grid-column: 2 !important;
        grid-row: 3 / 6 !important;
        align-self: stretch !important;
        width: 100% !important;
        max-width: none !important;
        min-height: 330px !important;
        aspect-ratio: 4 / 3 !important;
        border-radius: 24px !important;
        overflow: hidden !important;
    }

    body.page-id-92013 .hgr-section:first-of-type .hgr-slide,
    body.page-id-92015 .hgr-section:first-of-type .hgr-slide,
    body.page-id-92016 .hgr-section:first-of-type .hgr-slide,
    body.page-id-92017 .hgr-section:first-of-type .hgr-slide,
    body.page-id-92018 .hgr-section:first-of-type .hgr-slide,
    body.page-id-92013 .hgr-section:first-of-type picture,
    body.page-id-92015 .hgr-section:first-of-type picture,
    body.page-id-92016 .hgr-section:first-of-type picture,
    body.page-id-92017 .hgr-section:first-of-type picture,
    body.page-id-92018 .hgr-section:first-of-type picture {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
    }

    body.page-id-92013 .hgr-section:first-of-type .hgr-hero-media img,
    body.page-id-92015 .hgr-section:first-of-type .hgr-hero-media img,
    body.page-id-92016 .hgr-section:first-of-type .hgr-hero-media img,
    body.page-id-92017 .hgr-section:first-of-type .hgr-hero-media img,
    body.page-id-92018 .hgr-section:first-of-type .hgr-hero-media img {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
    }
}

/* Phones continue using vertical layout */
@media (max-width: 767px) {
    body.page-id-92013 .hgr-section:first-of-type .hgr-hero,
    body.page-id-92015 .hgr-section:first-of-type .hgr-hero,
    body.page-id-92016 .hgr-section:first-of-type .hgr-hero,
    body.page-id-92017 .hgr-section:first-of-type .hgr-hero,
    body.page-id-92018 .hgr-section:first-of-type .hgr-hero {
        grid-template-columns: 1fr !important;
    }
}