/* Team CSS Page Specific Styles */

/* Team Intro Section */
.team-intro-section {
    padding: 2rem 0;
    background-color: #ffffff;
}

.team-intro-section h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #FF6B00;
    text-align: center;
    margin-bottom: 1rem;
}

.team-intro-section p {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    color: #4b5563;
    line-height: 1.8;
}

/* Team Members Section */
.team-members-section {
    padding: 2rem 0;
    background-color: #ffffff;
}

.team-member-card {
    max-width: 1000px;
    margin: 0 auto 4rem;
    padding: 2rem 0;
}

.member-name {
    font-size: 1.75rem;
    font-weight: 600;
    color: #FF6B00;
    margin-bottom: 1rem;
}

.team-member-header {
    display: grid;
    grid-template-columns: 1fr 250px;
    gap: 3rem;
    margin-bottom: 2rem;
    align-items: start;
}

.team-member-header .member-info {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding-bottom: 0;
    border-bottom: 1px solid #e5e7eb;
}

.team-member-header .member-info::after {
    content: '';
    flex-grow: 1;
}

.member-info p {
    color: #4b5563;
    margin-bottom: 0.3rem;
    line-height: 1.6;
}

.member-info p strong {
    font-weight: 600;
    color: #1E3C72;
}

.member-photo {
    text-align: center;
}

.member-photo img {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    object-position: center center;
}

.member-profile h3 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #FF6B00;
    margin: 0 0 0.5rem 0;
    text-align: center;
}

.member-profile .profile-text {
    color: #4b5563;
    line-height: 1.8;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .team-intro-section {
        padding: 1.5rem 0;
    }

    .team-intro-section h2 {
        font-size: 1.75rem;
        padding: 0 15px;
    }

    .team-intro-section p {
        padding: 0 15px;
        font-size: 0.95rem;
    }

    .team-members-section {
        padding: 1.5rem 0;
    }

    .team-member-card {
        margin-bottom: 3rem;
        padding: 1.5rem 0;
    }

    .member-name {
        font-size: 1.5rem;
        padding: 0 15px;
        text-align: center;
    }

    .team-member-header {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .member-photo {
        order: -1;
        margin-bottom: 1rem;
    }

    .member-photo img {
        max-width: 200px;
        margin: 0 auto;
    }

    .member-info {
        text-align: center;
        border-bottom: none;
        padding: 0 15px;
    }

    .member-info p {
        font-size: 0.95rem;
    }

    .member-profile h3 {
        font-size: 1.5rem;
        padding: 0 15px;
    }

    .member-profile .profile-text {
        text-align: center;
        padding: 0 15px;
        font-size: 0.95rem;
        line-height: 1.7;
    }
}

@media (max-width: 480px) {
    .team-intro-section h2 {
        font-size: 1.5rem;
    }

    .team-member-card {
        margin-bottom: 2.5rem;
        padding: 1rem 0;
    }

    .member-name {
        font-size: 1.35rem;
    }

    .member-photo img {
        max-width: 180px;
    }

    .member-info p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .member-profile h3 {
        font-size: 1.35rem;
        margin-bottom: 0.75rem;
    }

    .member-profile .profile-text {
        font-size: 0.9rem;
        line-height: 1.6;
    }
}
