#GlobalNavWrapper {
    --hero-image: url(../../assets/images/csuf-stock-002.png);
    @media screen and (max-width: 1200px) {
        height: auto;
        max-height: 400px;
        background-position: center;
        background-size: cover;
    }
}

/* Alumni board page refinements */

.callout-details {
    max-width: 832px;
}

ul {
    
    padding: 0;
    list-style: none;
}

#school-stats {
    background: var(--bright-bg);

    &.alternate{
        background:var(--titan-blue);
        color:white;
    }
}

#school-stats-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem;
    max-width: 760px;


    li {
        max-width: none;
    }

    .stat {
        display: grid;
        grid-template-rows: 4rem auto;
        justify-items: center;
        text-align: center;
    }

        .stat strong {
            display: block;
            align-self: end;
            margin: 0;
            font-size: clamp(2.5rem, 4vw, 3.2rem);
            line-height: 1;
            white-space: nowrap;
            font-variant-numeric: tabular-nums;
        }

        .stat span {
            display: block;
            max-width: 13rem;
            margin-top: 0.75rem;
            line-height: 1.2;
            text-wrap: balance;
        }
}

#Default {
    .content-area,
    .content {
        max-width: 1200px;
        margin-inline: auto;
        padding-inline: 2rem;
    }
    /* Responsive: (max-width: 640px) */
    @media screen and (orientation: portrait) {
        .content-area,
        .content {
            padding-inline: 1.25rem;
        }
    }
}
#board-mission {
    padding: 3.5rem 0;

    .square-summary {
        display: flex;
        align-items: stretch;
        gap: clamp(2rem, 6vw, 5rem);
    }

    img,
    #mission-statement {
        flex: 1 1 0;
    }

    img {
        width: 100%;
        max-width:500px;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        border-radius: var(--standard-border-radius);
        box-shadow: var(--floating-medium-box-shadow);
    }

    #mission-statement {
        display: flex;
        flex-direction: column;
        justify-content: center;
        font-size: 1.1rem;
        line-height: 1.65;
    }

        #mission-statement h2 {
            margin-top: 0 !important;
        }

        #mission-statement p:last-child {
            margin-bottom: 0;
        }

    @media screen and (max-width: 1200px) {
        .square-summary {
            flex-direction: column;
            align-items:center;
        }

        img {
            max-height: 500px;
        }
    }
}

#board-initiative {
    padding: 4rem 0 4.5rem;

    h2 {
        margin-bottom: 2.75rem;
        text-align: center;
    }

    ul {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: var(--space-lg);
        margin: 0;
        padding: 0;
        list-style: none;
    }

    li {
        text-align: center;
    }

    span {
        display: inline-grid;
        place-items: center;
        width: 64px;
        height: 64px;
        margin-bottom: var(--space-sm);
        background: var(--titan-orange-ati);
        border: 5px solid white;
        border-radius: var(--max-border-radius);
    }

    img {
        max-width: 30px;
        max-height: 30px;
    }
    /* Responsive: (max-width: 900px) */

    @media screen and (max-width: 1200px) {
        ul {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
    }
    /* Responsive: (max-width: 640px) */

    @media screen and (orientation: portrait) {
        ul {
            display: grid;
            grid-template-columns: 1fr;
        }
    }
}

#retreat {
    padding: var(--space-3xl) 0;
    background-color: var(--bright-bg);

    h2 {
        margin: 0 0 18px;
        color: var(--titan-orange-ati);
        font-size: clamp(34px, 4vw, 44px);
        font-weight: 900;
        line-height: 1;
        letter-spacing: 0;
    }

    .section-intro {
        margin: 0 0 42px;
        color: var(--titan-blue);
        line-height: 1.6;
    }

    .retreat-container {
        display: flex;
        flex-wrap: wrap;
        gap: var(--space-md);
    }

    .retreat-card {
        flex: 1 1 320px;

        img {
            display: block;
            width: 100%;
            height: 308px;
            object-fit: cover;
            border-radius: var(--standard-border-radius);
            box-shadow: var(--medium-box-shadow);
        }
    }

    @media screen and (max-width: 1200px) {
        padding-block: 64px;

        .content-area {
            padding-inline: var(--space-md);
        }

        .section-intro {
            margin-bottom: 36px;
        }

        .retreat-container {
            gap: var(--space-xl);
        }

        .retreat-card img {
            height: auto;
            aspect-ratio: 16 / 9;
        }
    }

    @media screen and (orientation: portrait) {
        padding-block: 48px;

        .content-area {
            padding-inline: 16px;
        }

        h2 {
            font-size: 38px;
        }
    }
}

#board-members {
    padding: 3rem 0 4rem;

    .card-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-md);
    }

    .board-row-break {
        flex: 0 0 100%;
        width: 100%;
        height: 0;
    }

    .board-member-card {
        position: relative;
        flex: 0 0 360px;
        width: 360px;
        max-width: 100%;
        aspect-ratio: 1;
        overflow: hidden;
        color: white;
        background: var(--titan-blue);
        border-radius: var(--standard-border-radius);
        box-shadow: var(--floating-medium-box-shadow);
        cursor: pointer;
        isolation: isolate;

        &:nth-child(-n + 2) {
            flex-basis: 400px;
            width: 400px;
        }

        header {
            position: absolute;
            inset: 0;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            padding: 1.25rem;
            background: var(--titan-blue);

            &::after {
                content: "";
                position: absolute;
                inset: 0;
                background: linear-gradient( to top, rgb(0 39 76 / 95%) 0, rgb(0 39 76 / 65%) 18%, transparent 45% );
                pointer-events: none;
            }

            > img {
                position: absolute;
                inset: 0 0 auto;
                width: 100%;
                height: 75%;
                object-fit: cover;
                object-position: top;
            }

            h3,
            p {
                position: relative;
                z-index: 1;
            }

            h3 {
                margin: 0 0 0.25rem;
            }

            p {
                margin: 0;
                line-height: 1.35;
                height:43.19px;/*this is so to align all names to be the same*/
            }
        }

        .biography {
            position: absolute;
            z-index: 2;
            inset: 0;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            padding: 5rem 1.25rem 1.25rem;
            overflow-y: auto;
            background: linear-gradient( to bottom, rgb(from var(--titan-blue) r g b / 0%) 0, rgb(from var(--titan-blue) r g b / 85%) 20%, var(--titan-blue) 45% );
            transform: translateY(calc(100% - 8px));
            transition: transform 450ms cubic-bezier(0.22, 1, 0.36, 1);

            p {
                margin-top: auto;
                line-height: 1.5;
            }

            a {
                align-self: flex-start;
                display: inline-grid;
                place-items: center;
                width: 44px;
                height: 44px;
                margin-top: 0.5rem;
                border-radius: var(--max-border-radius);

                &:hover,
                &:focus-visible {
                    background: rgb(255 255 255 / 18%);
                }
            }

            img {
                width: 24px;
                height: 24px;
            }
        }

        @media (hover: hover) {
            &:hover .biography {
                transform: translateY(0);
            }
        }

        &.is-pinned .biography {
            transform: translateY(0);
        }

        &:focus-visible {
            outline: 3px solid var(--titan-orange);
            outline-offset: 4px;
        }
    }

    .board-row-break ~ .board-member-card header > img {
        height: 70%;
    }

    @media screen and (max-width: 1200px) {
        .content-area {
            grid-template-columns: 1fr;
        }
    }

    @media (prefers-reduced-motion: reduce) {
        .board-member-card .biography {
            transition: none;
        }
    }
}

@media screen and (orientation: portrait) {
    .callout-details ul {
        display: grid;
        grid-template-columns: 1fr;
    }
}
