/* ==============================
   SECCIÓN EQUIPO
================================ */

.team-header .header-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: center
}

.team-header .header-inner h1 {
    text-align: center;
}

.team-header .header-inner h2 {
    text-align: center;
}

/* Listado vertical */
.team-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Tarjeta de persona */
.team-card {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    background: var(--bg);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: 0 2px 6px rgba(57, 81, 51, 0.08);
}

/* Imagen */

.team-photo-wrapper {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.15) translateY(6%);
}

/* Texto */

/* .team-info {
    display: flex;
    flex-direction: column;
} */

.team-info h3 {
    margin: 0 0 4px;
    color: var(--accent2);
    font-size: 25px;
}

.team-role {
    font-size: 15px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 10px;
}

.team-description {
    font-size: 15px;
    color: var(--muted);
    text-align: justify;
    margin: 0;
}

/* Instagram link en nombre del equipo */

.instagram-link {
    font-size: 16px;
    color: var(--accent);
    text-decoration: none;
    vertical-align: middle;
    transition: color 0.2s ease, transform 0.2s ease;
}

.instagram-link:hover {
    color: #E1306C;
    /* color reconocible de Instagram */
}

.instagram-link i {
    pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
    .team-card {
        flex-direction: column;
        align-items: center;
        text-align: justify;
        hyphens: auto;
    }

    .team-description {
        text-align: justify;
    }
}