/* Phase 02 — shared full-width page hero */
.ib-wide-page-hero {
    position: relative;
    isolation: isolate;
    width: 100vw;
    max-width: none !important;
    margin-inline: calc(50% - 50vw);
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 12% 18%, rgba(38, 112, 183, .34), transparent 28%),
        radial-gradient(circle at 86% 72%, rgba(246, 138, 31, .15), transparent 26%),
        linear-gradient(120deg, var(--ibh-color-navy-950), var(--ibh-color-navy-900) 58%, #0a315b);
}

.ib-wide-page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    opacity: .32;
    background-image:
        linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(to left, #000, transparent 84%);
}

.ib-wide-page-hero::after {
    content: "";
    position: absolute;
    inset: auto -12% -75% auto;
    z-index: -1;
    width: min(62vw, 840px);
    aspect-ratio: 1;
    border: 1px solid rgba(246, 138, 31, .16);
    border-radius: 50%;
    box-shadow:
        0 0 0 72px rgba(246, 138, 31, .026),
        0 0 0 144px rgba(246, 138, 31, .018);
}

.ib-wide-page-hero__inner {
    position: relative;
    z-index: 2;
    min-height: 410px;
    padding-block: clamp(48px, 6vw, 76px);
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    gap: clamp(28px, 5vw, 72px);
}

.ib-wide-page-hero.has-aside .ib-wide-page-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
}

.ib-wide-page-hero.is-compact .ib-wide-page-hero__inner {
    min-height: 330px;
    padding-block: clamp(36px, 4.5vw, 56px);
}

.ib-wide-page-hero__content {
    max-width: 820px;
}

.ib-wide-page-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: #ffd58a;
    font-size: var(--ibh-text-sm);
    font-weight: 900;
}

.ib-wide-page-hero__eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    border-radius: var(--ibh-radius-full);
    background: linear-gradient(90deg, var(--ibh-color-orange-500), #ffd36a);
}

.ib-wide-page-hero h1 {
    max-width: 880px;
    margin: 0;
    color: #fff;
    font-size: var(--ibh-title-md);
    font-weight: 950;
    line-height: 1.4;
    letter-spacing: -.035em;
    text-wrap: balance;
}

.ib-wide-page-hero__content > p {
    max-width: 760px;
    margin: 16px 0 0;
    color: rgba(239, 246, 255, .78);
    font-size: var(--ibh-text-md);
    font-weight: 600;
    line-height: 2;
}

.ib-wide-page-hero__meta {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ib-wide-page-hero__meta > span {
    min-height: 34px;
    padding: 6px 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: var(--ibh-radius-full);
    color: rgba(255, 255, 255, .86);
    background: rgba(255, 255, 255, .08);
    font-size: 12px;
}

.ib-wide-page-hero__meta small {
    color: rgba(255, 255, 255, .58);
}

.ib-wide-page-hero__search {
    width: min(100%, 650px);
    min-height: 56px;
    margin-top: 24px;
    padding: 6px;
    display: flex;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: var(--ibh-radius-lg);
    background: rgba(255, 255, 255, .1);
    box-shadow: 0 18px 48px rgba(0, 0, 0, .18);
    backdrop-filter: blur(14px);
}

.ib-wide-page-hero__search input {
    min-width: 0;
    flex: 1;
    padding-inline: 14px;
    border: 0 !important;
    outline: 0;
    color: #fff !important;
    background: transparent !important;
    box-shadow: none !important;
    font: inherit;
}

.ib-wide-page-hero__search input::placeholder {
    color: rgba(239, 246, 255, .58);
}

.ib-wide-page-hero__search button,
.ib-wide-page-hero__button {
    min-height: 44px;
    padding-inline: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 0;
    border-radius: 12px;
    color: #fff;
    background: var(--ibh-color-orange-500);
    font: inherit;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none !important;
    cursor: pointer;
    transition: transform var(--ibh-motion-fast) var(--ibh-ease-out), background var(--ibh-motion-fast) ease;
}

.ib-wide-page-hero__search button:hover,
.ib-wide-page-hero__button:hover {
    background: var(--ibh-color-orange-600);
    transform: translateY(-2px);
}

.ib-wide-page-hero__actions {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ib-wide-page-hero__button.is-secondary {
    border: 1px solid rgba(255, 255, 255, .24);
    background: rgba(255, 255, 255, .08);
}

.ib-wide-page-hero__latest,
.ib-wide-page-hero__media,
.ib-wide-page-hero__stats {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: var(--ibh-radius-xl);
    background: rgba(255, 255, 255, .09);
    box-shadow: var(--ibh-shadow-3);
    backdrop-filter: blur(16px);
}

.ib-wide-page-hero__latest {
    display: block;
    color: #fff !important;
    text-decoration: none !important;
    transition: transform var(--ibh-motion-base) var(--ibh-ease-out), border-color var(--ibh-motion-fast) ease;
}

.ib-wide-page-hero__latest:hover {
    border-color: rgba(246, 138, 31, .58);
    transform: translateY(-4px);
}

.ib-wide-page-hero__latest-media {
    display: block;
    aspect-ratio: 16 / 8.5;
    overflow: hidden;
    background: rgba(255, 255, 255, .06);
}

.ib-wide-page-hero__latest-media img,
.ib-wide-page-hero__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.ib-wide-page-hero__latest-copy {
    padding: 20px;
    display: grid;
    gap: 8px;
}

.ib-wide-page-hero__latest-copy small {
    color: #ffd58a;
    font-size: 11px;
    font-weight: 900;
}

.ib-wide-page-hero__latest-copy strong {
    font-size: 18px;
    font-weight: 950;
    line-height: 1.75;
}

.ib-wide-page-hero__latest-copy em {
    color: rgba(239, 246, 255, .7);
    font-size: 12px;
    font-style: normal;
    line-height: 1.9;
}

.ib-wide-page-hero__latest-copy > span {
    color: rgba(239, 246, 255, .55);
    font-size: 11px;
}

.ib-wide-page-hero__latest-copy em {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.ib-wide-page-hero__media {
    aspect-ratio: 4 / 3;
    margin: 0;
}

.ib-wide-page-hero__stats {
    padding: 24px;
    display: grid;
    gap: 16px;
}

.ib-wide-page-hero__stat {
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.ib-wide-page-hero__stat:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.ib-wide-page-hero__stat strong,
.ib-wide-page-hero__stat span {
    display: block;
}

.ib-wide-page-hero__stat strong {
    color: #ffd36a;
    font-size: 30px;
    line-height: 1.2;
}

.ib-wide-page-hero__stat span {
    margin-top: 5px;
    color: rgba(239, 246, 255, .7);
    font-size: 12px;
}

.ib-wide-page-hero__signals {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.ib-wide-page-hero__ring,
.ib-wide-page-hero__line,
.ib-wide-page-hero__dot {
    position: absolute;
    display: block;
}

.ib-wide-page-hero__ring {
    border: 1px solid rgba(246, 138, 31, .28);
    border-radius: 50%;
    animation: ibh-hero-float 10s ease-in-out infinite alternate;
}

.ib-wide-page-hero__ring--one { top: 12%; left: 7%; width: 104px; height: 104px; }
.ib-wide-page-hero__ring--two { right: 42%; bottom: -46px; width: 148px; height: 148px; animation-delay: -4s; }

.ib-wide-page-hero__line {
    width: 190px;
    height: 1px;
    opacity: .4;
    background: linear-gradient(90deg, transparent, rgba(246, 138, 31, .7), transparent);
}

.ib-wide-page-hero__line--one { top: 27%; left: 4%; transform: rotate(-20deg); }
.ib-wide-page-hero__line--two { right: 3%; bottom: 20%; transform: rotate(26deg); }

.ib-wide-page-hero__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ffd36a;
    box-shadow: 0 0 0 5px rgba(246, 138, 31, .11), 0 0 20px rgba(246, 138, 31, .7);
    animation: ibh-hero-dot 4.8s ease-in-out infinite;
}

.ib-wide-page-hero__dot--one { top: 24%; left: 18%; }
.ib-wide-page-hero__dot--two { top: 17%; right: 18%; animation-delay: -1.7s; }
.ib-wide-page-hero__dot--three { bottom: 18%; right: 38%; animation-delay: -3.2s; }

@keyframes ibh-hero-float {
    from { transform: translate3d(0, 0, 0) scale(.94); opacity: .35; }
    to { transform: translate3d(14px, -10px, 0) scale(1.06); opacity: .75; }
}

@keyframes ibh-hero-dot {
    0%, 100% { transform: translate3d(0, 0, 0); opacity: .5; }
    50% { transform: translate3d(8px, -12px, 0); opacity: 1; }
}

@media (max-width: 880px) {
    .ib-wide-page-hero.has-aside .ib-wide-page-hero__inner {
        grid-template-columns: minmax(0, 1fr) minmax(240px, 310px);
        gap: 28px;
    }
}

@media (max-width: 720px) {
    .ib-wide-page-hero__inner,
    .ib-wide-page-hero.has-aside .ib-wide-page-hero__inner {
        min-height: 0;
        padding-block: 28px 24px;
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .ib-wide-page-hero h1 {
        font-size: clamp(25px, 8vw, 34px);
        line-height: 1.55;
        letter-spacing: -.02em;
    }

    .ib-wide-page-hero__content > p {
        margin-top: 9px;
        font-size: 13px;
        line-height: 1.9;
    }

    .ib-wide-page-hero__search {
        min-height: 48px;
        margin-top: 14px;
    }

    .ib-wide-page-hero__search button {
        min-height: 36px;
        padding-inline: 14px;
    }

    .ib-wide-page-hero__latest {
        display: grid;
        grid-template-columns: 116px minmax(0, 1fr);
    }

    .ib-wide-page-hero__latest-media {
        height: 100%;
        aspect-ratio: auto;
    }

    .ib-wide-page-hero__latest-copy {
        padding: 14px;
    }

    .ib-wide-page-hero__latest-copy strong {
        font-size: 14px;
        line-height: 1.75;
    }

    .ib-wide-page-hero__latest-copy em {
        display: none;
    }

    .ib-wide-page-hero__ring--two,
    .ib-wide-page-hero__line--two,
    .ib-wide-page-hero__dot--three {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ib-wide-page-hero *,
    .ib-wide-page-hero *::before,
    .ib-wide-page-hero *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
