/* =================================================== */
/* STYLES FOR: about.php
/* =================================================== */

/* ==================== OUR MISSION ==================== */
.mission {
    background-color: var(--color-background);
}

.mission__container {
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.mission__title {
    text-align: left;
    margin-bottom: 1.5rem;
}

.mission__content p {
    font-size: 1.1rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.mission__image-container {
    border-radius: var(--border-radius);
    overflow: hidden;
}

.mission__image {
    width: 100%;
    height: auto;
    display: block;
}

/* ==================== MEET THE TEAM ==================== */
.team {
    /* Default background is transparent (inherits from body) */
    background-color: var(--color-background);
}

/* New helper class for alternating section backgrounds */
.team--surface-bg {
    background-color: var(--color-surface);
}

.team__grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    /* A bit more gap for team cards */
}

/* MODIFIED: Card is now centered */
.team-card {
    /* Uses the global .card style from style.css */
    padding: 2rem;
    text-align: center;
}

/* MODIFIED: Image is now a circle */
.team-card__image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5rem;
    border: 4px solid var(--color-background);
    box-shadow: var(--shadow-medium);
}

/* In dark mode, the border should be the surface color */
[data-theme="dark"] .team-card__image {
    border-color: var(--color-surface);
}

.team-card__name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.team-card__title {
    font-size: 1rem;
    color: var(--color-primary);
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-card__bio {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ==================== MEDIA QUERIES ==================== */
@media screen and (min-width: 768px) {
    .page-header__title {
        font-size: 3.5rem;
    }
}

@media screen and (min-width: 992px) {
    .mission__container {
        grid-template-columns: 1.2fr 1fr;
    }

    .mission__content {
        padding-right: 2rem;
    }

    .team__grid {
        /* Widen the grid slightly on large screens */
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}