/* ============================================
   SECTION: Community Advisory Board — Hero
   Two-column layout (copy left, photo right) capped at the
   container width, on a cream band with a decorative swirl
   bleeding across the top-right. Accent script is yellow.
   ============================================ */

.cab-hero {
    position: relative;
    overflow: clip;
    max-width: 2000px;
    margin-inline: auto;
    padding: 36px var(--section-side-padding) 0;
    background: #fef9ee url("../../../images/community-advisory/community-advisory__girl-with-camera.6c068b129ca4.png") no-repeat right bottom / auto 100%;
}

.cab-hero__inner {
    position: relative;
    z-index: 1;
    max-width: var(--container-max);
    margin-inline: auto;
    display: flex;
    align-items: center;
    border-bottom: 2px solid rgba(62, 46, 45, 0.05);
    min-height: 640px;
}

/* ----- Left: copy ----- */
.cab-hero__content {
    flex: 0 1 581px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 48px 0;
}

.cab-hero__heading {
    font-family: var(--font-display);
    font-size: var(--text-5xl);
    font-weight: var(--font-weight-normal);
    line-height: 58px;
    letter-spacing: -2px;
    color: var(--color-text-heading);
    margin: 0;
}

.cab-hero__heading .accent-script {
    font-size: var(--text-5xl);
    line-height: 58px;
    letter-spacing: -0.03em;
    color: var(--color-accent-yellow);   /* #e09b2b */
}

.cab-hero__copy {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 520px;
}

.cab-hero__lede {
    font-size: 17px;
    font-weight: var(--font-weight-medium);
    line-height: 28px;
    color: var(--color-text-heading);
    margin: 0;
}

.cab-hero__note {
    font-size: 16px;
    line-height: 26px;
    color: var(--color-text-faint);
    margin: 0;
}

.cab-hero__actions {
    display: flex;
    gap: 13px;
    flex-wrap: wrap;
}

/* ----- Responsive ----- */
@media (max-width: 900px) {
    .cab-hero {
        padding: 24px var(--section-side-padding) 0;
        background-position: center bottom;
        background-size: 92% auto;
        padding-bottom: 86vw;
    }
    .cab-hero__inner {
        display: block;
        min-height: 0;
        border-bottom: none;
    }
    .cab-hero__content {
        flex: initial;
        max-width: none;
        padding: 24px 0;
    }
}

@media (max-width: 768px) {
    .cab-hero__heading,
    .cab-hero__heading .accent-script {
        font-size: var(--text-3xl);
        line-height: 1.15;
    }
}

/* ----- Phones -----
   Centred copy, and the photo pulled up closer to it. The asset's top fifth
   is empty apart from the swirl at its right, which read as a gap under the
   CTA; trimming the reserved band lifts the whole image so the girl sits
   nearer the copy. The inner sits at z-index 1, so the swirl simply tucks
   behind the button rather than colliding with it. */
@media (max-width: 600px) {
    .cab-hero {
        padding-bottom: 80vw;
    }

    .cab-hero__content {
        align-items: center;
        text-align: center;
        padding-bottom: 0;
    }
}
