/* =====================================================================
   entraEd hero — OUA-inspired responsive compositions
   Desktop ≥1280: two framing photos + centred editorial column
   Tablet 768–1279: compressed dual-photo composition
   Mobile <768: single organic photo + overlapping dark search panel
   Loaded after studylifter-brand.css. Does not reuse .sl-hero2 layout.
   ===================================================================== */

.sl-hero-oua {
    --sl-hero-bg-a: #3657A4;
    --sl-hero-bg-b: #263E7F;
    --sl-hero-navy: #111C44;
    --sl-hero-gold: #F4C542;
    --sl-hero-stage: min(1180px, 100%);
    --sl-hero-content: min(720px, 100%);
    --sl-hero-search: min(520px, 100%);
    --sl-hero-pad-x: clamp(1rem, 0.6rem + 2vw, 2rem);
    --sl-hero-pad-y: clamp(2rem, 1.4rem + 2.2vw, 3.5rem);

    position: relative;
    isolation: isolate;
    color: #fff;
    background: linear-gradient(165deg, var(--sl-hero-bg-a) 0%, var(--sl-hero-bg-b) 100%);
    border-radius: 0 0 2.5rem 2.5rem;
    margin-bottom: 2.75rem;
    overflow: visible;
}

.sl-hero-oua__stage {
    position: relative;
    z-index: 4; /* above announce pill so search/autocomplete are never covered */
    width: var(--sl-hero-stage);
    max-width: 100%;
    margin: 0 auto;
    padding: var(--sl-hero-pad-y) var(--sl-hero-pad-x) 4.5rem;
    box-sizing: border-box;
    min-height: 28rem;
}

.sl-hero-oua__content {
    position: relative;
    z-index: 3;
    width: var(--sl-hero-content);
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sl-hero-oua__eyebrow {
    margin: 0 0 0.85rem;
    font-family: var(--sl-font-body, Inter, system-ui, sans-serif);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
}

.sl-hero-oua__title {
    margin: 0;
    max-width: min(44rem, 100%); /* ~650–704px on desktop */
    font-family: var(--sl-font-heading, "Plus Jakarta Sans", system-ui, sans-serif);
    font-size: clamp(1.875rem, 1.35rem + 2.1vw, 3.5rem); /* 30–56 */
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #fff !important; /* beat global .sl-site h1 navy */
    text-wrap: balance;
}

.sl-hero-oua__lead {
    margin: 1rem 0 0;
    max-width: 36em;
    font-family: var(--sl-font-body, Inter, system-ui, sans-serif);
    font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem); /* 16–18 */
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* ---- Photo frames / organic masks ---- */
.sl-hero-oua__photo {
    margin: 0;
    padding: 0;
}

.sl-hero-oua__frame {
    margin: 0;
    overflow: hidden;
    background: rgba(17, 28, 68, 0.25);
    box-shadow: 0 18px 40px rgba(8, 18, 56, 0.28);
}

.sl-hero-oua__frame.sl-photo img,
.sl-hero-oua__frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0; /* mask owned by frame, not default .sl-photo img radius */
}

.sl-hero-oua__frame--blob {
    /* Soft oval blob — same language for left + right framing photos */
    border-radius: 42% 58% 48% 52% / 28% 32% 68% 72%;
    aspect-ratio: 4 / 5.1;
}

.sl-hero-oua__photo--left .sl-hero-oua__frame--blob {
    /* Mirror the oval so the pair reads as matched ovals, not clones */
    border-radius: 58% 42% 52% 48% / 32% 28% 72% 68%;
}

.sl-hero-oua__frame--organic {
    /* Mobile organic crop — oval family, same as desktop blobs */
    border-radius: 48% 52% 44% 56% / 34% 30% 70% 66%;
    aspect-ratio: 4 / 5;
}

.sl-hero-oua__frame--pill {
    /* Legacy alias — keep oval so nothing falls back to stadium */
    border-radius: 42% 58% 48% 52% / 28% 32% 68% 72%;
    aspect-ratio: 4 / 5.1;
}

.sl-hero-oua__photo--left,
.sl-hero-oua__photo--right {
    display: none;
}

.sl-hero-oua__photo--mobile {
    display: block;
    width: min(17.5rem, 78vw);
    margin: 1.5rem auto 0;
    z-index: 1;
}

/* ---- Search ---- */
.sl-hero-oua__search-panel {
    width: min(100%, 34rem);
    margin-top: 1.35rem;
    position: relative;
    z-index: 6;
}

.sl-hero-oua__search-panel .sl-ac-popup,
.sl-hero-oua__search-panel .sl-select-popover {
    z-index: 20;
}

.sl-hero-oua .sl-hsearch,
.sl-hero-oua .sl-hsearch-card {
    width: 100%;
}

.sl-hero-oua .sl-hsearch-card {
    position: relative;
    background: transparent;
    transition: filter 160ms ease;
}

.sl-hero-oua .sl-searchbar {
    height: 3.625rem; /* 58 */
    padding: 0 0.35rem 0 1.1rem;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(8, 18, 56, 0.22);
    transition: box-shadow 150ms ease, border-radius 160ms ease;
}

.sl-hero-oua .sl-searchbar:focus-within {
    box-shadow: 0 0 0 3px rgba(244, 197, 66, 0.45), 0 16px 40px rgba(8, 18, 56, 0.28);
}

.sl-hero-oua .sl-searchbar-input {
    font-size: 1rem;
    color: #243047;
}

.sl-hero-oua .sl-hsearch .sl-searchbar-submit,
.sl-hero-oua .sl-searchbar-submit {
    flex: 0 0 auto;
    align-self: center;
    height: 2.75rem; /* fits inside 58px bar — no gold spill */
    min-height: 2.75rem;
    max-height: calc(100% - 0.5rem);
    padding: 0 1.2rem;
    margin: 0;
    border-radius: 999px;
    background: var(--sl-hero-gold);
    color: var(--sl-hero-navy);
    font-weight: 700;
    font-size: 0.9375rem;
    box-shadow: none;
    line-height: 1;
}

.sl-hero-oua .sl-searchbar-submit:hover,
.sl-hero-oua .sl-searchbar-submit:focus-visible {
    background: #E6B530;
}

/* Open suggestions = one continuous white shell (bar + dropdown) */
.sl-hero-oua .sl-hsearch-card.is-ac-open {
    /* drop-shadow wraps the absolute popup so bar+list read as one piece */
    filter: drop-shadow(0 16px 28px rgba(8, 18, 56, 0.26));
}

.sl-hero-oua .sl-hsearch-card.is-ac-open .sl-searchbar,
.sl-hero-oua .sl-hsearch-card.is-ac-open .sl-searchbar:focus-within,
.sl-hero-oua .sl-searchbar.is-ac-open,
.sl-hero-oua .sl-searchbar.is-ac-open:focus-within {
    border-radius: 1.35rem 1.35rem 0 0 !important;
    background: #fff !important;
    box-shadow: none !important;
}

.sl-hero-oua .sl-searchbar.is-ac-open::after {
    left: 1.15rem;
    right: 1.15rem;
    background: #E6ECF5;
}

.sl-hero-oua .sl-hsearch .sl-ac-popup,
.sl-hero-oua .sl-searchbar .sl-ac-popup,
.sl-hero-oua__search-panel .sl-ac-popup {
    top: calc(100% - 1px) !important; /* 1px overlap kills blue seam */
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0.4rem 0.7rem 0.9rem !important;
    border: 0 !important;
    border-radius: 0 0 1.35rem 1.35rem !important;
    background: #fff !important;
    box-shadow: none !important;
    max-height: min(22rem, 58vh);
}

.sl-hero-oua__tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 0.85rem;
    margin-top: 0.85rem;
}

.sl-hero-oua__filter {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 2.5rem;
    padding: 0.35rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    background: rgba(17, 28, 68, 0.22);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
}

.sl-hero-oua__filter[aria-expanded="true"] {
    background: rgba(17, 28, 68, 0.4);
}

.sl-hero-oua__filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.25rem;
    height: 1.25rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: var(--sl-hero-gold);
    color: var(--sl-hero-navy);
    font-size: 0.75rem;
    font-weight: 700;
}

.sl-hero-oua__popular-label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.72);
}

.sl-hero-oua__popular {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.65rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sl-hero-oua__popular a {
    color: #fff !important;
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

/* ---- Filters: clean white card (kill the grey split-panel mess) ---- */
.sl-hero-oua .sl-hsearch {
    width: 100%;
}

.sl-hero-oua .sl-hsearch-card.is-expanded:not(.is-ac-open) {
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.sl-hero-oua .sl-hsearch .sl-searchbar {
    background: #fff;
    box-shadow: 0 14px 36px rgba(8, 18, 56, 0.22);
}

.sl-hero-oua .sl-hsearch-filters {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    margin: 0.65rem 0 0;
    padding: 0.75rem;
    border: 0;
    border-radius: 1.15rem;
    background: #fff;
    box-shadow: 0 16px 36px rgba(8, 18, 56, 0.2);
    text-align: left;
    color: #243047;
    animation: sl-hero-oua-filters-in 0.18s ease both;
}

.sl-hero-oua .sl-hsearch-filters[hidden] {
    display: none !important;
}

.sl-hero-oua .sl-hsearch-field {
    position: relative;
    min-width: 0;
    padding: 0;
    margin: 0;
    border-radius: 0.85rem;
    background: #F5F7FB;
    border: 1px solid #E2E8F0;
}

.sl-hero-oua .sl-hsearch-field + .sl-hsearch-field::before {
    display: none !important; /* no vertical divider line */
}

.sl-hero-oua .sl-hsearch-label {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.55rem 0.85rem 0;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748B;
}

.sl-hero-oua .sl-hsearch-label .sl-icon {
    color: #3657A4;
    width: 0.875rem;
    height: 0.875rem;
}

.sl-hero-oua .sl-hsearch-field .sl-select-trigger {
    min-height: 2.5rem;
    padding: 0 0.85rem 0.55rem;
    border: 0;
    border-radius: 0.85rem;
    background: transparent;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #111C44;
}

.sl-hero-oua .sl-hsearch-field .sl-select-trigger:hover,
.sl-hero-oua .sl-hsearch-field .sl-select.is-open .sl-select-trigger,
.sl-hero-oua .sl-hsearch-field .sl-select-trigger:focus-visible {
    background: #EEF2F8;
    box-shadow: none;
}

.sl-hero-oua .sl-hsearch-field .sl-select-value.is-placeholder {
    color: #64748B;
    font-weight: 500;
}

.sl-hero-oua .sl-hsearch-field .sl-select-caret {
    color: #3657A4;
}

.sl-hero-oua .sl-hsearch-field .sl-select-popover {
    z-index: 30;
    border-radius: 0.85rem;
    border: 1px solid #E2E8F0;
    box-shadow: 0 16px 36px rgba(8, 18, 56, 0.18);
}

@keyframes sl-hero-oua-filters-in {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .sl-hero-oua .sl-hsearch-filters {
        animation: none;
    }
}

@media (max-width: 575.98px) {
    .sl-hero-oua .sl-hsearch-filters {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.5rem;
    }
}

/* Hero filters: floating menus stay under each field (never spill past the panel) */
@media (min-width: 768px) {
    .sl-hero-oua .sl-hsearch-field,
    .sl-hero-oua .sl-hsearch-field .sl-select {
        position: relative;
        overflow: visible;
    }
    .sl-hero-oua .sl-hsearch-field .sl-select-popover,
    .sl-hero-oua .sl-hsearch-field:last-child:not(:first-child) .sl-select-popover {
        left: 0 !important;
        right: 0 !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: 100%;
        border: 1px solid #E2E8F0 !important;
        border-radius: 1rem !important;
        box-shadow: 0 18px 40px rgba(8, 18, 56, 0.2) !important;
        clip-path: none !important;
        margin: 0;
        padding: 8px;
    }
    .sl-hero-oua .sl-hsearch-field .sl-select-popover::before {
        display: none !important;
    }
    .sl-hero-oua .sl-hsearch-card.is-select-open {
        border-radius: inherit;
    }
    .sl-hero-oua .sl-select-list {
        max-height: min(340px, 48vh);
    }
    .sl-hero-oua .sl-select-list [role="option"] {
        min-height: 44px;
        gap: 12px;
    }
}

.sl-hero-oua__links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem 1rem;
    margin: 1.1rem 0 0;
    font-size: 0.9375rem;
}

.sl-hero-oua__link-primary {
    color: var(--sl-hero-gold) !important;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.sl-hero-oua__link-secondary {
    color: rgba(255, 255, 255, 0.92) !important;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.sl-hero-oua__link-sep {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
}

/* ---- OUA-style announce pill straddling hero → next section ---- */
.sl-hero-oua__announce {
    position: absolute;
    left: 50%;
    bottom: 0;
    z-index: 2; /* below stage/search; still above side photos */
    transform: translate(-50%, 50%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.55rem 1.1rem;
    width: max-content;
    max-width: calc(100% - 1.5rem);
    padding: 0.7rem 1.35rem;
    border-radius: 999px;
    background: #111C44;
    color: #fff;
    box-shadow: 0 14px 32px rgba(8, 18, 56, 0.28);
}

.sl-hero-oua__announce-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    line-height: 0;
}

.sl-hero-oua__announce-text {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.35;
    color: #fff;
    text-wrap: balance;
}

.sl-hero-oua__announce-link {
    flex: 0 0 auto;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #fff !important;
    text-decoration: underline !important;
    text-underline-offset: 0.18em;
    white-space: nowrap;
}

.sl-hero-oua__announce-link:hover,
.sl-hero-oua__announce-link:focus-visible {
    color: var(--sl-hero-gold) !important;
}

.sl-hero-oua__credit {
    position: absolute;
    left: var(--sl-hero-pad-x);
    bottom: 0.65rem;
    z-index: 2;
    margin: 0;
    max-width: 42%;
    font-size: 0.6875rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.55);
    text-align: left;
}

.sl-hero-oua__credit a {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* =====================================================================
   MOBILE <768 — single photo + overlapping dark search panel
   ===================================================================== */
@media (max-width: 767.98px) {
    .sl-hero-oua {
        border-radius: 0 0 1.75rem 1.75rem;
        margin-bottom: 3.25rem;
    }

    .sl-hero-oua__stage {
        min-height: 0;
        padding: 1.75rem var(--sl-hero-pad-x) 3.75rem;
    }

    .sl-hero-oua__title {
        max-width: 16ch;
        font-size: clamp(1.875rem, 1.55rem + 1.6vw, 2.25rem); /* 30–36 */
    }

    .sl-hero-oua__lead {
        max-width: 34em;
        font-size: 1rem;
    }

    .sl-hero-oua__photo--mobile {
        margin-top: 1.35rem;
        /* Light tuck under search only — keep faces/subjects clear */
        margin-bottom: -0.75rem;
        width: min(17.5rem, 84vw);
        z-index: 1;
    }

    .sl-hero-oua__photo--mobile .sl-hero-oua__frame {
        /* Prefer upper-body / faces in the visible area above the tuck */
        min-height: 15.5rem;
    }

    .sl-hero-oua__search-panel {
        width: 100%;
        margin-top: 0;
        padding: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        z-index: 6;
    }

    .sl-hero-oua .sl-searchbar {
        height: 3.5rem;
    }

    .sl-hero-oua .sl-hsearch-filters {
        background: rgba(17, 28, 68, 0.94);
        border: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: 0 18px 40px rgba(8, 18, 56, 0.3);
    }

    .sl-hero-oua .sl-hsearch-field {
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(255, 255, 255, 0.14);
    }

    .sl-hero-oua .sl-hsearch-label {
        color: rgba(255, 255, 255, 0.65);
    }

    .sl-hero-oua .sl-hsearch-label .sl-icon,
    .sl-hero-oua .sl-hsearch-field .sl-select-caret {
        color: var(--sl-hero-gold);
    }

    .sl-hero-oua .sl-hsearch-field .sl-select-trigger {
        color: #fff;
    }

    .sl-hero-oua .sl-hsearch-field .sl-select-value.is-placeholder {
        color: rgba(255, 255, 255, 0.7);
    }

    .sl-hero-oua .sl-hsearch-field .sl-select-trigger:hover,
    .sl-hero-oua .sl-hsearch-field .sl-select.is-open .sl-select-trigger,
    .sl-hero-oua .sl-hsearch-field .sl-select-trigger:focus-visible {
        background: rgba(255, 255, 255, 0.1);
    }

    .sl-hero-oua__tools {
        margin-top: 0.75rem;
    }

    .sl-hero-oua__links {
        margin-top: 1rem;
    }

    .sl-hero-oua__link-sep {
        display: none;
    }

    .sl-hero-oua__link-secondary {
        width: 100%;
    }

    .sl-hero-oua__announce {
        width: min(100% - 1.25rem, 26rem);
        max-width: calc(100% - 1.25rem);
        border-radius: 1.15rem;
        padding: 0.85rem 1rem;
        gap: 0.45rem 0.75rem;
        justify-content: flex-start;
    }

    .sl-hero-oua__announce-text {
        flex: 1 1 12rem;
        font-size: 0.875rem;
    }

    .sl-hero-oua__announce-link {
        margin-left: auto;
        font-size: 0.875rem;
    }

    .sl-hero-oua__credit {
        display: none;
    }
}

/* =====================================================================
   TABLET 768–1279 — dual photos compressed
   ===================================================================== */
@media (min-width: 768px) and (max-width: 1279.98px) {
    .sl-hero-oua__photo--mobile {
        display: none;
    }

    .sl-hero-oua__photo--left,
    .sl-hero-oua__photo--right {
        display: block;
        position: absolute;
        z-index: 1;
        width: clamp(9.5rem, 18vw, 13.5rem); /* ~150–216 */
        pointer-events: none;
    }

    .sl-hero-oua__photo--left {
        left: max(0.5rem, env(safe-area-inset-left));
        top: 4.5rem;
    }

    .sl-hero-oua__photo--right {
        right: max(0.5rem, env(safe-area-inset-right));
        top: 5.5rem;
    }

    .sl-hero-oua__stage {
        padding-top: 2.75rem;
        padding-bottom: 4.75rem;
        min-height: 26rem;
    }

    .sl-hero-oua__content {
        width: min(36rem, 100%);
        padding-inline: 0;
    }

    .sl-hero-oua__title {
        font-size: clamp(2.125rem, 1.6rem + 1.4vw, 2.625rem); /* 34–42 */
        max-width: min(36rem, 100%);
    }

    .sl-hero-oua__search-panel {
        width: min(28rem, 100%); /* 400–448 */
    }

    .sl-hero-oua .sl-searchbar {
        height: 3.5rem;
    }
}

/* Narrow tablet: drop side photos rather than crush centre */
@media (min-width: 768px) and (max-width: 899.98px) {
    .sl-hero-oua__photo--left,
    .sl-hero-oua__photo--right {
        display: none;
    }

    .sl-hero-oua__photo--mobile {
        display: block;
        width: min(15.5rem, 48vw);
        margin: 1.25rem auto -0.65rem;
    }

    .sl-hero-oua__content {
        padding-inline: 0;
    }

    .sl-hero-oua__search-panel {
        padding: 0;
        background: transparent;
        box-shadow: none;
    }
}

/* =====================================================================
   DESKTOP ≥1280 — full OUA dual-photo framing
   ===================================================================== */
@media (min-width: 1280px) {
    .sl-hero-oua {
        --sl-hero-stage: min(1240px, 100%);
        border-radius: 0 0 3rem 3rem;
        margin-bottom: 3rem;
    }

    .sl-hero-oua__photo--mobile {
        display: none;
    }

    .sl-hero-oua__photo--left,
    .sl-hero-oua__photo--right {
        display: block;
        position: absolute;
        z-index: 1;
        width: clamp(16.25rem, 18vw, 21.25rem); /* 260–340 */
        pointer-events: none;
    }

    .sl-hero-oua__photo--left {
        left: clamp(-1.5rem, -2vw, 0.5rem);
        top: 4.75rem;
    }

    .sl-hero-oua__photo--right {
        right: clamp(-1.5rem, -2vw, 0.5rem);
        top: 5.75rem;
        width: clamp(15.5rem, 17.5vw, 20rem);
    }

    .sl-hero-oua__stage {
        min-height: 38rem;
        padding: 3.75rem var(--sl-hero-pad-x) 5.5rem;
    }

    .sl-hero-oua__content {
        width: min(44rem, 100%); /* centre column stays dominant */
        padding-inline: 0;
    }

    .sl-hero-oua__title {
        font-size: clamp(3rem, 2.4rem + 0.9vw, 3.5rem); /* 48–56 */
        max-width: min(44rem, 100%);
    }

    .sl-hero-oua__lead {
        font-size: 1.125rem;
        max-width: 36em;
    }

    .sl-hero-oua__search-panel {
        width: min(32.5rem, 100%); /* ~520 */
        margin-top: 1.6rem;
    }

    .sl-hero-oua .sl-searchbar {
        height: 3.75rem; /* 60 */
    }

    .sl-hero-oua .sl-hsearch .sl-searchbar-submit,
    .sl-hero-oua .sl-searchbar-submit {
        height: 2.875rem;
        min-height: 2.875rem;
        padding-inline: 1.4rem;
    }

    .sl-hero-oua__announce {
        padding: 0.8rem 1.5rem;
        gap: 0.65rem 1.35rem;
    }

    .sl-hero-oua__announce-text,
    .sl-hero-oua__announce-link {
        font-size: 1rem;
    }
}

@media (min-width: 1440px) {
    .sl-hero-oua {
        --sl-hero-stage: min(1320px, 100%);
    }

    .sl-hero-oua__photo--left {
        width: 20rem;
        left: 0;
    }

    .sl-hero-oua__photo--right {
        width: 19rem;
        right: 0.25rem;
    }
}

@media (min-width: 1920px) {
    .sl-hero-oua {
        --sl-hero-stage: min(1400px, 100%);
    }
}

/* Short / landscape phones — keep search usable */
@media (max-height: 560px) and (max-width: 899.98px) {
    .sl-hero-oua__photo--mobile {
        width: min(11rem, 42vw);
        margin-bottom: -0.4rem;
    }

    .sl-hero-oua__stage {
        padding-top: 1.1rem;
        padding-bottom: 3.25rem;
    }
}

/* =====================================================================
   Motion — entrance on photo shell, float on frame, ken-burns on img
   (separate layers so transform animations do not cancel each other)
   ===================================================================== */
@media (prefers-reduced-motion: no-preference) {
    .sl-hero-oua__title {
        animation: sl-hero-oua-rise 350ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
    }

    .sl-hero-oua__search-panel {
        animation: sl-hero-oua-rise 400ms 60ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
    }

    .sl-hero-oua__photo--left,
    .sl-hero-oua__photo--right,
    .sl-hero-oua__photo--mobile {
        animation: sl-hero-oua-photo-in 560ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
        pointer-events: auto;
    }

    .sl-hero-oua__photo--left { animation-delay: 40ms; }
    .sl-hero-oua__photo--right { animation-delay: 120ms; }
    .sl-hero-oua__photo--mobile { animation-delay: 80ms; }

    .sl-hero-oua__photo--left .sl-hero-oua__frame {
        animation: sl-hero-oua-float-a 7.5s 0.65s ease-in-out infinite;
    }

    .sl-hero-oua__photo--right .sl-hero-oua__frame {
        animation: sl-hero-oua-float-b 8.5s 0.95s ease-in-out infinite;
    }

    .sl-hero-oua__photo--mobile .sl-hero-oua__frame {
        animation: sl-hero-oua-float-a 7s 0.55s ease-in-out infinite;
    }

    .sl-hero-oua__frame {
        transition: box-shadow 280ms ease;
    }

    .sl-hero-oua__frame img {
        transform-origin: center;
        animation: sl-hero-oua-ken 14s 0.8s ease-in-out infinite alternate;
    }

    .sl-hero-oua__photo--left:hover .sl-hero-oua__frame,
    .sl-hero-oua__photo--right:hover .sl-hero-oua__frame,
    .sl-hero-oua__photo--mobile:hover .sl-hero-oua__frame {
        box-shadow: 0 26px 52px rgba(8, 18, 56, 0.38);
    }
}

@keyframes sl-hero-oua-rise {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes sl-hero-oua-photo-in {
    from { opacity: 0; transform: translateY(18px) scale(0.94); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes sl-hero-oua-float-a {
    0%, 100% { transform: translateY(0) rotate(-0.4deg); }
    50% { transform: translateY(-12px) rotate(0.6deg); }
}

@keyframes sl-hero-oua-float-b {
    0%, 100% { transform: translateY(0) rotate(0.5deg); }
    50% { transform: translateY(-10px) rotate(-0.5deg); }
}

@keyframes sl-hero-oua-ken {
    from { transform: scale(1); }
    to { transform: scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
    .sl-hero-oua__title,
    .sl-hero-oua__search-panel,
    .sl-hero-oua__photo--left,
    .sl-hero-oua__photo--right,
    .sl-hero-oua__photo--mobile,
    .sl-hero-oua__frame,
    .sl-hero-oua__frame img {
        animation: none !important;
    }

    .sl-hero-oua__frame {
        transition: none !important;
    }
}
