/*
===========================================================================
File: static/css/team_cards.css
Purpose: Team card styling for cityplan.nsgia.com
Colors: Ghana green (#006B3F) primary, Ghana red (#CE1126) tags
===========================================================================
2026-01-07 v1.0 - Created from NSG Team Standards v2
                  Adapted colors for Ghana Medical City project
===========================================================================
*/

/* Team Section Container */
.team-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 3rem 2rem;
    margin: 2rem 0;
    border-radius: 8px;
}

.team-section h3 {
    color: #006B3F;
    text-align: center;
    margin-bottom: 0.5rem;
    font-size: 1.6rem;
    font-family: 'Playfair Display', Georgia, serif;
}

.team-section > p {
    text-align: center;
    color: #666;
    font-style: italic;
    margin-bottom: 2rem;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

/* Team Member Card */
.team-member {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 2rem;
    transition: box-shadow 0.3s, transform 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.team-member:hover {
    box-shadow: 0 4px 16px rgba(0,107,63,0.15);
    transform: translateY(-2px);
}

/* Card Content */
.team-name {
    font-weight: 600;
    color: #006B3F;
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
    font-family: 'Playfair Display', Georgia, serif;
}

.team-title {
    color: #004d2d;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.team-org,
.team-organization {
    color: #6c757d;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-style: italic;
}

.team-tags,
.team-specialties {
    color: #CE1126;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.team-description {
    color: #495057;
    line-height: 1.7;
    font-size: 0.95rem;
}

.team-description p {
    margin-bottom: 1rem;
}

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

.team-description a {
    color: #006B3F;
}

/* Highlight Box */
.highlight-box {
    background: #f8f9fa;
    border-left: 5px solid #006B3F;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}

.highlight-box p {
    margin-bottom: 0.8rem;
    color: #495057;
}

.highlight-box p:last-child {
    margin-bottom: 0;
}

.highlight-box strong {
    color: #006B3F;
}

/* Section Intro */
.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem auto;
    color: #495057;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background: #006B3F;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s, transform 0.2s;
}

.cta-button:hover {
    background: #004d2d;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .team-member {
        padding: 1.5rem;
    }
    
    .team-name {
        font-size: 1.2rem;
    }
    
    .team-section {
        padding: 2rem 1rem;
    }
    
    .highlight-box {
        padding: 1rem 1.5rem;
    }
}
