/* ========================================
   TEAM PAGE STYLES
   ======================================== */

.team-grid {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.team-member {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 40px 30px;
    position: relative;
    transition: all 0.3s ease;
    text-align: center;
}

.team-member:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
    border-color: #4CAF50;
}

.team-member h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 20px 0 15px;
    color: #1a1a1a;
    font-family: 'Sifonn', sans-serif;
}

.team-member p {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 15px;
}

.team-member a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    word-break: break-word;
}

.team-member a:hover {
    color: #45a049;
    text-decoration: underline;
}

/* Page header */
.page .entry-content h1:first-child {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    margin: 40px 0 20px;
    color: #1a1a1a;
    font-family: 'Sifonn', sans-serif;
}

.page .entry-content > p:nth-child(2) {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.page .entry-content > p:nth-child(2) a {
    color: #4CAF50;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid #4CAF50;
    border-radius: 25px;
}

.page .entry-content > p:nth-child(2) a:hover {
    background: #4CAF50;
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        margin: 40px auto;
    }

    .team-member {
        padding: 40px 25px 30px;
    }

    .page .entry-content h1:first-child {
        font-size: 2.2rem;
        margin: 30px 0 15px;
    }

    .team-member h2 {
        font-size: 1.5rem;
        margin: 15px 0 10px;
    }

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

