.team-hero {
    padding: 60px 0 20px;
    background: radial-gradient(100% 100% at 50% 0%, #ffffff 0%, #f3f4f6 100%);
}

.teachers {
    padding: 40px 0 80px;
}

.teacher-block {
    display: grid;
    grid-template-columns: 4.5fr 7.5fr;
    gap: 64px;
    align-items: flex-start;
    margin-bottom: 120px;
}

.teacher-block:last-child {
    margin-bottom: 0;
}

.teacher-block--reversed {
    grid-template-columns: 7.5fr 4.5fr;
}

.teacher-block--reversed .teacher-block__image-wrapper {
    order: 2;
}

.teacher-block__image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 3/4;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
}

.teacher-block__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.teacher-block__image-wrapper:hover .teacher-block__image {
    transform: scale(1.03);
}

.teacher-block__experience {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background-color: var(--color-primary);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.teacher-block__content {
    display: flex;
    flex-direction: column;
}

.teacher-block__post {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.teacher-block__name {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.teacher-block__bio {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 36px;
}

.teacher-block__info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.teacher-info-card {
    background-color: var(--color-bg-light);
    border: 1px solid var(--color-border);
    padding: 24px;
    border-radius: var(--radius-md);
    transition: border-color var(--transition);
}

.teacher-info-card:hover {
    border-color: #cbd5e1;
}

.teacher-info-card__title {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.teacher-info-card__text {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.team-cta__container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-cta__title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.team-cta__text {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    margin-bottom: 32px;
    line-height: 1.6;
}

.team-cta__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

@media (max-width: 1024px) {
    .teacher-block {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 80px;
    }

    .teacher-block--reversed {
        grid-template-columns: 1fr;
    }

    .teacher-block--reversed .teacher-block__image-wrapper {
        order: 0;
    }

    .teacher-block__image-wrapper {
        max-width: 380px;
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .teachers {
        padding: 20px 0 60px;
    }

    .teacher-block__info-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .team-cta__buttons {
        flex-direction: column;
        width: 100%;
    }

    .team-cta__buttons .btn {
        width: 100%;
    }
}