/* ==========================================================
   BESTYRELSEN
   Community Astra V1.0
========================================================== */


/* ==========================================================
   PAGE INTRO
========================================================== */

.c-board-page {
    background: var(--color-surface);
}

.c-board-page__intro {
    padding: 72px 0 48px;
}

.c-board-page__intro .section-heading {
    margin-bottom: 0;
}

.c-board-page__eyebrow {
    margin: 0 0 8px;

    color: #0b6fa4;

    font-size: 13px;
    font-weight: 600;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.c-board-page__intro h1 {
    margin: 0 0 12px;

    color: var(--color-heading);

    font-family: var(--font-display);
    font-size: clamp(38px, 5vw, 56px);
    line-height: 1.05;
}

.c-board-page__intro .section-heading > p:last-child {
    max-width: 680px;
    margin: 0 auto;

    color: #607080;

    font-size: 16px;
    line-height: 1.7;
}


/* ==========================================================
   SECTION
========================================================== */

.c-board-section {
    padding: 38px 0 52px;
}

.c-board-section--alt {
    background: #f7f7f4;
}

.c-board-section__heading {
    margin-bottom: 30px;
}

.c-board-section__heading h2 {
    margin: 0 0 8px;

    color: var(--color-heading);

    font-family: var(--font-display);
    font-size: 32px;
    line-height: 1.15;
}

.c-board-section__heading p {
    margin: 0;

    color: #607080;

    font-size: 14px;
    line-height: 1.6;
}


/* ==========================================================
   PERSON GRID
========================================================== */

.c-board-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 14px;
}

.c-board-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}


/* ==========================================================
   PERSON CARD
========================================================== */

.c-person-card {
    position: relative;

    min-height: 110px;

    padding: 16px 18px;

    background: #ffffff;

    border: 1px solid #dfe4e8;

    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.c-person-card:hover {
    transform: translateY(-3px);

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}


/* ==========================================================
   ROLE
========================================================== */

.c-person-card__role {
    display: block;

    margin-bottom: 5px;

    color: #0b6fa4;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}


/* ==========================================================
   NAME
========================================================== */

.c-person-card h3 {
    margin: 0 0 6px;

    color: var(--color-heading);

    font-family: var(--font-display);
    font-size: 18px;
    line-height: 1.2;
}


/* ==========================================================
   ADDRESS
========================================================== */

.c-person-card p {
    margin: 0;

    color: #607080;

    font-size: 13px;
    line-height: 1.5;
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 900px) {

    .c-board-page__intro {
        padding: 56px 0 40px;
    }

    .c-board-grid,
    .c-board-grid--three {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .c-board-section {
        padding: 34px 0 48px;
    }
}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 600px) {

    .c-board-page__intro {
        padding: 44px 0 32px;
    }

    .c-board-page__intro h1 {
        font-size: 40px;
    }

    .c-board-grid,
    .c-board-grid--three {
        grid-template-columns: 1fr;
    }

    .c-board-section {
        padding: 28px 0 40px;
    }

    .c-board-section__heading h2 {
        font-size: 28px;
    }

    .c-person-card {
        min-height: 0;

        padding: 16px 18px;
    }

}