/**
 * Team section — homepage (#our-team)
 * Loaded separately so live servers pick up layout fixes without stale style.css cache.
 */
#our-team.team-section .section-subtitle {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 2.5rem;
    color: #666;
}

#our-team .team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.75rem;
    max-width: 1100px;
    margin: 0 auto;
}

#our-team .team-card {
    box-sizing: border-box;
    flex: 1 1 260px;
    max-width: 320px;
    background: #fff;
    border-radius: 16px;
    padding: 1.75rem 1.5rem 1.5rem;
    text-align: center;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.07);
    border: 1px solid rgba(255, 137, 4, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#our-team .team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(255, 137, 4, 0.12);
}

#our-team .team-photo {
    width: 140px;
    height: 140px;
    max-width: 140px;
    max-height: 140px;
    margin: 0 auto 1.15rem;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, #ff8904 0%, #e67a00 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255, 137, 4, 0.25);
    aspect-ratio: auto;
}

#our-team .team-photo img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 140px;
    max-height: 140px;
    object-fit: cover;
}

#our-team .team-initials {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.05em;
}

#our-team .team-info {
    padding: 0;
}

#our-team .team-info h3 {
    margin: 0 0 0.35rem;
    font-size: 1.1rem;
    color: #1a1a1a;
}

#our-team .team-role {
    margin: 0 0 0.65rem;
    font-weight: 600;
    color: #ff8904;
    font-size: 0.9rem;
}

#our-team .team-bio {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #555;
}

@supports (display: grid) {
    #our-team .team-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        justify-content: center;
    }

    #our-team .team-card {
        flex: unset;
        max-width: none;
    }
}

@media (max-width: 600px) {
    #our-team .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }

    #our-team .team-photo,
    #our-team .team-photo img {
        width: 120px;
        height: 120px;
        max-width: 120px;
        max-height: 120px;
    }

    #our-team .team-initials {
        font-size: 1.65rem;
    }
}
