/**
 * Team Athlete Widget Styles
 * Full-featured team member cards for the team page
 */

.team-athletes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-athlete-widget {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
}

.team-athlete-widget:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.team-athlete-image {
    width: 200px;
    height: 200px;
    overflow: hidden;
    position: relative;
    background: #f5f5f5;
    border-radius: 50%;
    margin: 2rem auto 0 auto;
}

.team-athlete-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 50%;
}

.team-athlete-widget:hover .team-athlete-image img {
    transform: scale(1.05);
}

.team-athlete-content {
    padding: 1.5rem;
    text-align: center;
}

.team-athlete-content h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    color: #000;
    font-weight: 700;
}

.team-athlete-role {
    color: #888;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 1rem 0;
}

.team-athlete-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.team-athlete-stats span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #555;
}

.team-athlete-stats i {
    color: #000;
    font-size: 0.85rem;
}

.team-athlete-description {
    color: #555;
    line-height: 1.6;
    margin: 0 0 1.25rem 0;
    font-size: 0.95rem;
}

.team-athlete-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #000;
    text-decoration: none;
    font-weight: 600;
    padding: 0.625rem 1.25rem;
    border: 2px solid #000;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.team-athlete-link:hover {
    background: #000;
    color: #fff;
}

.team-athlete-link i {
    font-size: 1.1rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .team-athletes-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .team-athlete-image {
        width: 180px;
        height: 180px;
    }

    .team-athlete-content {
        padding: 1.25rem;
    }

    .team-athlete-content h3 {
        font-size: 1.3rem;
    }

    .team-athlete-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .team-athlete-image {
        width: 160px;
        height: 160px;
    }

    .team-athlete-content {
        padding: 1rem;
    }

    .team-athlete-content h3 {
        font-size: 1.2rem;
    }

    .team-athlete-role {
        font-size: 0.85rem;
    }

    .team-athlete-description {
        font-size: 0.9rem;
    }

    .team-athlete-link {
        width: 100%;
        justify-content: center;
    }
}
