/* Преподаватели. Только #education-teachers. */
#education-teachers {
    scroll-margin-top: 112px;
}

.edu-teach,
.edu-teach *,
.edu-teach *::before,
.edu-teach *::after {
    box-sizing: border-box;
}

.edu-teach {
    margin: 0;
    padding: 52px 0 56px;
    background: #f5f1ea;
    color: #292929;
    font-family: inherit;
}

.edu-teach__inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.edu-teach__eyebrow {
    margin: 0;
    color: #856438;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    line-height: 1.4;
    text-transform: uppercase;
}

.edu-teach__title {
    margin: 12px 0 0;
    max-width: 16em;
    color: #292929;
    font-size: 30px;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.12;
    text-wrap: balance;
}

.edu-teach__lead,
.edu-teach__empty {
    margin: 14px 0 0;
    max-width: 44rem;
    color: #666666;
    font-size: 16px;
    line-height: 1.6;
}

.edu-teach__list {
    display: grid;
    gap: 20px;
    margin-top: 28px;
}

.edu-teach__card {
    display: grid;
    gap: 16px;
    padding: 20px;
    border: 1px solid #e6dfd4;
    border-radius: 24px;
    background: #ffffff;
}

.edu-teach__photo {
    margin: 0;
}

.edu-teach__photo img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center 20%;
    border-radius: 16px;
    background: #f5f1ea;
}

.edu-teach__marker {
    margin: 0;
    color: #856438;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    line-height: 1.4;
    text-transform: uppercase;
}

.edu-teach__name {
    margin: 8px 0 0;
    color: #292929;
    font-size: 26px;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.15;
    text-wrap: balance;
    hyphens: none;
}

.edu-teach__specialty {
    margin: 8px 0 0;
    color: #292929;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
}

.edu-teach__role,
.edu-teach__summary,
.edu-teach__topics li,
.edu-teach__program-name {
    margin: 8px 0 0;
    color: #666666;
    font-size: 16px;
    line-height: 1.55;
}

.edu-teach__role {
    margin-top: 4px;
    color: #555555;
}

.edu-teach__facts {
    display: grid;
    gap: 12px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.edu-teach__fact-value {
    display: block;
    color: #292929;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.edu-teach__fact-label {
    display: block;
    margin-top: 4px;
    color: #666666;
    font-size: 14px;
    line-height: 1.35;
}

.edu-teach__topics {
    margin-top: 16px;
}

.edu-teach__topics-title,
.edu-teach__program-kicker {
    margin: 0;
    color: #856438;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    line-height: 1.4;
    text-transform: uppercase;
}

.edu-teach__topics ul {
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
}

.edu-teach__topics li {
    position: relative;
    margin: 0;
    padding-left: 16px;
}

.edu-teach__topics li + li {
    margin-top: 6px;
}

.edu-teach__topics li::before {
    content: "";
    position: absolute;
    top: 0.55em;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #856438;
}

.edu-teach__program {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 16px;
    background: #faf8f3;
}

.edu-teach__program-name {
    margin-top: 6px;
    color: #292929;
    font-weight: 600;
}

.edu-teach__actions {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.edu-teach__cta,
.edu-teach__more {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.edu-teach__cta {
    border: 0;
    background: #856438;
    color: #ffffff;
    font: inherit;
    font-size: 16px;
    font-weight: 600;
}

.edu-teach__cta:hover {
    background: #6d502c;
}

.edu-teach__more {
    border: 1px solid #856438;
    background: #ffffff;
    color: #856438;
}

.edu-teach__more:hover {
    background: #f5f1ea;
    color: #6d502c;
}

.edu-teach__cta:focus-visible,
.edu-teach__more:focus-visible {
    outline: 2px solid #292929;
    outline-offset: 3px;
}

@media (min-width: 768px) {
    .edu-teach {
        padding: 72px 0 80px;
    }

    .edu-teach__inner {
        width: min(1180px, calc(100% - 48px));
    }

    .edu-teach__title {
        font-size: 36px;
    }

    .edu-teach__lead {
        font-size: 17px;
    }

    .edu-teach__list {
        margin-top: 36px;
    }

    .edu-teach__card {
        grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
        gap: 28px;
        align-items: start;
        padding: 28px;
    }

    .edu-teach__name {
        font-size: 30px;
    }

    .edu-teach__specialty {
        font-size: 18px;
    }

}

@media (min-width: 1100px) {
    .edu-teach {
        padding: 88px 0 96px;
    }

    .edu-teach__title {
        font-size: 44px;
    }

    .edu-teach__lead {
        font-size: 18px;
    }

    .edu-teach__list {
        margin-top: 48px;
    }

    .edu-teach__card {
        grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
        gap: 40px;
        padding: 36px;
    }

    .edu-teach__name {
        font-size: 34px;
    }

    .edu-teach__specialty {
        font-size: 20px;
    }

    .edu-teach__summary {
        font-size: 17px;
    }

    .edu-teach__facts {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }

    .edu-teach__actions {
        grid-template-columns: auto auto;
        justify-content: start;
    }

    .edu-teach__cta,
    .edu-teach__more {
        width: auto;
        min-height: 56px;
        padding: 0 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .edu-teach__cta,
    .edu-teach__more {
        transition: none;
    }
}
