/**
 * Meet the Team - Team Section
 */

.mtt-team-section {
    padding: 80px 0 0;
}

.mtt-team-section__title {
    color: #27272c;
    font-family: var(--font-aeonik);
    font-size: 42px;
    font-weight: 400;
    margin-bottom: 24px;
}

.mtt-team-section__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.mtt-team-section__card {
    display: flex;
    flex-direction: column;
}

.mtt-team-section__image-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1.15;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

.mtt-team-section__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.mtt-team-section__info {
    padding-top: 12px;
}

.mtt-team-section__info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mtt-team-section__info-text {
    flex: 1;
    min-width: 0;
}

.mtt-team-section__name {
    color: #f25d21;
    font-family: var(--font-aeonik);
    font-size: 18px;
    font-weight: 500;
    margin: 0;
    line-height: 1.3;
}

.mtt-team-section__job {
    color: rgba(13, 9, 10, 0.7);
    font-family: var(--font-inter);
    font-size: 15px;
    font-weight: 400;
    margin: 0;
    line-height: 1.5;
}

/* Toggle button */
.mtt-team-section__toggle {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mtt-team-section__toggle-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Bio panel — GSAP controls height */
.mtt-team-section__bio-panel {
    overflow: hidden;
}

.mtt-team-section__linkedin {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #0077b5;
    font-family: var(--font-inter);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    margin: 8px 0 12px;
    transition: opacity 0.2s ease;
}

.mtt-team-section__linkedin:hover {
    opacity: 0.8;
}

.mtt-team-section__bio {
    color: rgba(13, 9, 10, 0.7);
    font-family: var(--font-inter);
    font-size: 15px;
    font-weight: 400;
    line-height: 160%;
    padding-bottom: 8px;
}

/* Responsive */
@media (max-width: 992px) {
    .mtt-team-section__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .mtt-team-section {
        padding: 48px 0 0;
    }

    .mtt-team-section__grid {
        grid-template-columns: 1fr;
    }

    .mtt-team-section__title {
        font-size: 1.75rem;
    }
}
