/* Team Hero Section */
.team-hero {
    position: relative;
    height: 50vh;
    min-height: 400px;
    /* Placeholder background image - replace with actual team/hero image */
    background-image: url('../images/contact1.png'); 
    background-color: #001A72; /* Fallback navy color */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
}

.hero-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
}

.team-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    margin-top: 60px; /* Offset for fixed header */
}

.team-hero-content h1 {
    font-family: 'Archivo Black', sans-serif;
    font-size: 4rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

.magenta-accent {
    color: #D81B60; /* Theme Magenta */
    font-style: italic;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 700;
    text-transform: none;
}

.team-hero-content p {
    font-size: 1.25rem;
    line-height: 1.6;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

/* Team Members Section */
.team-section {
    background-color: #f5f5f7;
    padding: 80px 0;
    min-height: 400px;
}

.team-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-family: 'Archivo Black', sans-serif;
    font-size: 2.5rem;
    color: #222;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.divider {
    height: 4px;
    width: 60px;
    background-color: #D81B60; /* Magenta */
    margin: 0 auto;
    border-radius: 2px;
}

.secondary-header {
    margin-top: 80px;
}

/* Executive Leadership Grid (Primary Tier) */
.executive-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.executive-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 30px;
    gap: 30px;
}

.exec-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    flex-shrink: 0;
}

.exec-info {
    flex-grow: 1;
}

.exec-info h3 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.6rem;
    font-weight: bold;
    color: #222;
    margin: 0 0 5px 0;
}

.role-kicker {
    display: block;
    color: #D81B60; /* Magenta */
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.exec-bio {
    color: #555;
    font-size: 1rem;
    line-height: 1.8;
    font-weight: 300;
    margin: 0 0 15px 0;
}

.exec-bio:last-child {
    margin-bottom: 0;
}

/* Trustees at Large Grid (Secondary Tier) */
.trustee-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.trustee-card {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 30px;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.trustee-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    flex-shrink: 0;
}

.trustee-info {
    flex-grow: 1;
}

.trustee-info h4 {
    font-size: 1.25rem;
    color: #222;
    margin: 0 0 10px 0;
}

.trustee-bio {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.8;
    font-weight: 300;
    margin: 0 0 10px 0;
}

.trustee-bio:last-child {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .team-hero-content h1 {
        font-size: 3rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .executive-card, .trustee-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }

    .exec-img, .trustee-img {
        width: 140px;
        height: 140px;
    }
}