/* Team Page Styles */

.page-hero {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    padding: 80px 0 60px;
    text-align: center;
    color: #ffffff;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
}

.page-subtitle {
    font-size: 1.25rem;
    color: #e8e8e8;
    font-weight: 400;
    margin: 0;
}

.team-intro {
    background: #f8f9fa;
    padding: 60px 0;
}

.team-members {
    padding: 80px 0;
}

.team-member {
    margin-bottom: 80px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 50px;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: start;
}

.team-member-photo {
    position: sticky;
    top: 20px;
}

.partner-photo {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    object-fit: cover;
    max-height: 400px;
}

.team-member:last-child {
    margin-bottom: 0;
}

.team-member-header {
    border-bottom: 3px solid #1a365d;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.team-member-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a365d;
    margin: 0 0 10px 0;
}

.team-member-title {
    font-size: 1.25rem;
    color: #2c5282;
    font-weight: 500;
    margin: 0;
}

.team-member-bio {
    margin-bottom: 40px;
}

.team-member-bio p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #2d3748;
    margin-bottom: 20px;
    text-align: justify;
}

.team-member-bio p:last-child {
    margin-bottom: 0;
}

.team-member-expertise {
    background: #f7fafc;
    padding: 30px;
    border-radius: 6px;
    border-left: 4px solid #2c5282;
}

.team-member-expertise h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a365d;
    margin: 0 0 20px 0;
}

.team-member-expertise ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
}

.team-member-expertise li {
    font-size: 1rem;
    color: #2d3748;
    padding-left: 25px;
    position: relative;
}

.team-member-expertise li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2c5282;
    font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
    .team-member {
        padding: 30px 20px;
        margin-bottom: 40px;
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .team-member-photo {
        position: relative;
        top: 0;
        text-align: center;
    }
    
    .partner-photo {
        max-width: 250px;
        margin: 0 auto;
    }
    
    .team-member-name {
        font-size: 2rem;
    }
    
    .team-member-title {
        font-size: 1.1rem;
    }
    
    .team-member-expertise ul {
        grid-template-columns: 1fr;
    }
}
