/*
===========================================================================
CHANGE LOG
File: /static/css/team_cards.css
Document Type: CSS Stylesheet
Purpose: Team member card styling for professional presentation
Main App: africatown_app.py
Context: Grid layout for team cards matching Aburi backgrounds pattern
HTML Templates: _team.html
Dependencies: nsg_variables.css
Version History:
2025-12-21 v2.0 - Added complete change log per development standards
2025-12-21 v1.0 - Initial creation based on Aburi backgrounds pattern
===========================================================================
*/

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

/* Individual 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(26,54,93,0.15);
    transform: translateY(-2px);
}

/* Team member name */
.team-name {
    font-weight: 600;
    color: #1a365d;
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
    font-family: 'Georgia', 'Times New Roman', serif;
}

/* Team member title */
.team-title {
    color: #2c5282;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

/* Team member organization */
.team-organization {
    color: #6c757d;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-style: italic;
}

/* Team member specialties */
.team-specialties {
    color: #666;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

/* Team member description */
.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 ul {
    margin: 1rem 0 1rem 1.5rem;
}

.team-description ul li {
    margin-bottom: 0.5rem;
    color: #444;
}

.team-description a {
    color: #2c5282;
    text-decoration: none;
}

.team-description a:hover {
    text-decoration: underline;
}

/* Team section intro text */
.team-intro {
    text-align: center;
    color: #666;
    font-style: italic;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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