/**
 * Board Governance page — deltas only.
 *
 * The page is assembled from shared modules that are already loaded:
 *   - `qwbn-hero__*`   from custom-innerpage.css (site-standard inner hero)
 *   - `ffa-access__*`, `ffa-kicker`, `ffa-section-title`, `ffa-cta-banner__*`
 *     from ff-academy.css
 * Everything below is the difference between those modules and this page:
 * a 2x2 area grid with bullet lists, and the two cross-link copy blocks.
 */

/* ── 1. Hero ─────────────────────────────────────────────────────── */

.bgov-hero .qwbn-hero__sub {
    max-width: 680px;
}

/* ── 2. How We Steward QWOCMAP ───────────────────────────────────── */

/* Four areas, not the three-across ffa-access default. The bullet lists run
   long (up to six items), so 2x2 keeps the line length readable. */
/* Cards stretch to match their row-mate: the bullet counts differ per area
   (3 to 6), and ragged card heights read as a mistake on bordered cards. */
.bgov-steward__grid {
    grid-template-columns: repeat(2, 1fr);
}

.bgov-area {
    gap: 14px;
}

.bgov-area__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bgov-area__list li {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 10px;
    align-items: start;
    font-family: Lexend, "Lexend Fallback", sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 24px;
    color: #414651;
}

.bgov-area__check {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    color: #1869d3;
    flex: 0 0 20px;
}

.bgov-area__check svg {
    display: block;
}

/* ── 3 & 4. Who Serves + Advisory Board ──────────────────────────
   The two roster sections are parallel content (who sits on each body, plus
   a link to the live list on About), so they sit side by side as a pair of
   cards. Headings are deliberately card-scale rather than
   `ffa-section-title` — that class is a 60px centred full-width header and
   wraps to four lines in a column this width. */

.bgov-cross {
    padding: 8px 0 80px;
}

.bgov-cross__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.bgov-cross__card {
    background: #fff;
    border: 1px solid #eaecf0;
    border-radius: 20px;
    padding: 32px;
    display: flex;
    flex-direction: column;
}

.bgov-cross__title {
    margin: 0 0 16px;
    font-family: Lexend, "Lexend Fallback", sans-serif;
    font-weight: 700;
    font-size: 26px;
    line-height: 1.25;
    letter-spacing: -0.5px;
    color: var(--dark-qwp, #181d27);
    text-align: left;
}

.bgov-cross__copy p {
    font-family: Lexend, "Lexend Fallback", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    color: #414651;
    margin: 0 0 16px;
}

.bgov-cross__copy p:last-child {
    margin-bottom: 0;
}

.bgov-cross__link {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 8px;
    /* Pinned to the card foot so both links line up despite unequal copy. */
    margin-top: auto;
    padding-top: 20px;
    font-family: Lexend, "Lexend Fallback", sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: #1869d3;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.bgov-cross__link:hover,
.bgov-cross__link:focus-visible {
    color: #0e3f80;
}

/* ── 5. Join Our Board ───────────────────────────────────────────── */

/* The shared banner centres a single short line. This page has three
   paragraphs of recruitment copy, so run it as two columns — title on the
   left, copy and CTA on the right — and left-align everything. */
.bgov-join__body {
    max-width: none;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(240px, 0.8fr) 1.4fr;
    gap: 40px;
    align-items: start;
    text-align: left;
}

.bgov-join__head .ffa-cta-banner__kicker {
    margin-bottom: 12px;
}

.bgov-join__copy {
    max-width: none;
}

.bgov-join__copy p {
    margin: 0 0 14px;
}

.bgov-join__copy p:last-child {
    margin-bottom: 0;
}

/* ── Responsive ──────────────────────────────────────────────────── */

@media (max-width: 991px) {
    .bgov-cross__grid {
        grid-template-columns: 1fr;
    }

    .bgov-join__body {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 767px) {
    .bgov-steward__grid {
        grid-template-columns: 1fr;
    }

    .bgov-cross {
        padding: 0 0 56px;
    }

    .bgov-cross__card {
        padding: 24px;
    }

    .bgov-cross__title {
        font-size: 22px;
    }

    .bgov-area__list li {
        font-size: 14px;
        line-height: 22px;
    }
}
