/* ==============================
   ШПР /work/school/
============================== */

html,
body {
    overflow-x: hidden;
}

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

.school {
    width: 100%;
    background: #fff !important;
    color: #343333;
    font-family: 'Roboto', Arial, sans-serif;
}

.school main,
.school .main,
.school .page,
.school .section,
.school .section--second,
.school .section--third,
.school-hero,
.school-section,
.school-section--unique,
.school-section--features,
.school-section--help,
.school-section--staff,
.school .delimDonate {
    background: #fff !important;
}

/* ==============================
   Контейнеры
============================== */

.school .content,
.school-hero__content,
.school-section__content,
.school-staff__content {
    width: calc(100% - 80px) !important;
    max-width: 1170px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* ==============================
   Хлебные крошки
============================== */

.school .breadcrumbs,
.school .breadcrumbs-after-header,
.school .breadcrumb,
.school .breadcrumb-wrapper,
.school .bx-breadcrumb {
    display: none !important;
}

.school-breadcrumbs {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 1180px !important;
    margin: 0 0 32px !important;
    position: relative !important;
    z-index: 5 !important;
    text-align: left !important;
}

.school-breadcrumbs,
.school-breadcrumbs a,
.school-breadcrumbs span {
    color: #343333 !important;
    font-family: 'Roboto', Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
}

.school-breadcrumbs a {
    opacity: 0.65;
    transition: opacity .2s ease;
}

.school-breadcrumbs a:hover {
    opacity: 1;
    text-decoration: underline !important;
}

/* ==============================
   Первый экран
============================== */

.school-hero {
    padding: 4px 0 64px;
}

.school-hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.school-hero__title {
    width: 100% !important;
    margin: 0 0 54px !important;
    padding: 0 !important;
    line-height: 0 !important;
    text-align: center !important;
}

/* Заголовок через 3 SVG */

.school-hero-title-svg {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
    width: 100% !important;
    max-width: 843px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

.school-hero-title-svg__line {
    display: block;
    line-height: 0;
}

.school-hero-title-svg__line img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
}

.school-hero-title-svg__line--school {
    width: 485px;
    max-width: 58%;
}

.school-hero-title-svg__line--foster {
    width: 843px;
    max-width: 100%;
}

.school-hero-title-svg__line--parents {
    width: 826px;
    max-width: 98%;
}

.school-hero__text {
    width: 100%;
    max-width: 620px !important;
    margin: 0 auto 24px;
    padding: 0 !important;
    background: transparent !important;
    color: #343333;
    font-family: 'Roboto', Arial, sans-serif !important;
    font-weight: 400;
    font-size: 20px !important;
    line-height: 110% !important;
    text-align: center;
    padding-top: 64px !important;
}

.school-hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 275px;
    min-height: 57px;
    margin: 0 auto;
    padding: 0 34px;
    border-radius: 999px;
    background: #3EA74F;
    color: #fff;
    font-family: 'Roboto', Arial, sans-serif !important;
    font-weight: 500;
    font-size: 20px !important;
    line-height: 100% !important;
    letter-spacing: -0.02em;
    text-decoration: none;
    transition: background-color .2s ease, transform .2s ease;
}

.school-hero__btn:hover {
    background: #659343;
    color: #fff;
    transform: translateY(-1px);
}

/* ==============================
   Общие заголовки
============================== */

.school-title,
.school-staff__title,
.school-road__body h2,
.school-road__title {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 !important;
    background: transparent !important;
    color: #343333 !important;
    font-family: 'Roboto', Arial, sans-serif !important;
    font-weight: 400 !important;
    font-size: 56px !important;
    line-height: 100% !important;
    letter-spacing: -0.02em !important;
    text-align: center !important;
}

.school-title span {
    color: #3EA74F !important;
}

/* ==============================
   Уникальность
============================== */

.school-section--unique {
    padding: 0 0 80px;
}

.school-title--unique {
    margin-bottom: 54px;
}

.school-text-card {
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
    padding: 0 !important;
    background: transparent !important;
    color: #343333;
    font-family: 'Roboto', Arial, sans-serif !important;
    font-weight: 400;
    font-size: 20px !important;
    line-height: 110% !important;
    text-align: center;
}

/* ==============================
   Особенности программы
============================== */

.school-section--features {
    min-height: auto !important;
    padding: 0 0 120px !important;
}

.school-title--features {
    margin-bottom: 60px !important;
}

.school-features {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

.school-features__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.school-features__item {
    position: relative;
    min-height: 96px;
    padding: 24px 28px 24px 54px;
    border-radius: 10px;
    background: #F5F5F5;
    color: #343333;
    font-family: 'Roboto', Arial, sans-serif !important;
    font-weight: 400;
    font-size: 20px;
    line-height: 110%;
}

.school-features__item::before {
    content: "";
    position: absolute;
    left: 28px;
    top: 31px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #3EA74F;
}

/* ==============================
   Какая помощь нужна
============================== */

.school-section--help {
    display: block !important;
    align-items: initial !important;
    min-height: auto !important;
    padding: 0 0 120px !important;
}

.school-section--help .school-section__content {
    padding-bottom: 0 !important;
}

.school-title--help {
    margin-bottom: 60px !important;
}

.school-help {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

.school-help__lead {
    max-width: 780px;
    margin: 0 auto 40px;
    color: #343333;
    font-family: 'Roboto', Arial, sans-serif !important;
    font-weight: 400;
    font-size: 24px;
    line-height: 110%;
    text-align: center;
}

.school-help__subtitle {
    margin: 0 0 24px;
    color: #343333;
    font-family: 'Roboto', Arial, sans-serif !important;
    font-weight: 500;
    font-size: 26px;
    line-height: 100%;
    text-align: center;
}

.school-help__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.school-help__item {
    position: relative;
    min-height: 120px;
    padding: 24px 28px 24px 54px;
    border-radius: 10px;
    background: #F5F5F5;
    color: #343333;
    font-family: 'Roboto', Arial, sans-serif !important;
    font-weight: 400;
    font-size: 20px;
    line-height: 110%;
}

.school-help__item::before {
    content: "";
    position: absolute;
    left: 28px;
    top: 31px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #3EA74F;
}

/* ==============================
   Эксперты и консультанты
============================== */

.school-section--staff {
    padding: 0 0 120px;
    background: #fff !important;
}

.school-staff__content {
    max-width: 1400px !important;
}

.school-staff {
    width: 100%;
    margin: 0 auto 100px;
}

.school-staff--consultants {
    margin-top: 100px;
}

.school-staff__title {
    width: 100%;
    margin: 0 0 60px !important;
}

/*
   Поддерживает оба варианта верстки:
   1. .school-staff__list > .school-staff-card
   2. .school-staff__list > .school-staff-slider > .school-staff-slider__track > .school-staff-card
*/

.school-staff__list {
    display: grid !important;
    grid-template-columns: repeat(4, 335px) !important;
    gap: 20px !important;
    justify-content: center !important;
    align-items: start !important;
    width: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

.school-staff__list > .school-staff-slider {
    grid-column: 1 / -1;
}

.school-staff-slider {
    display: block !important;
    width: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

.school-staff-slider__track {
    display: grid !important;
    grid-template-columns: repeat(4, 335px) !important;
    gap: 20px !important;
    justify-content: center !important;
    align-items: start !important;
    width: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

.school-staff-card {
    position: relative;
    width: 335px !important;
    height: 450px !important;
    margin: 0 !important;
    background: #fff !important;
    border-radius: 10px;
    overflow: hidden;
    color: #343333;
    transition: transform .2s ease, box-shadow .2s ease;
}

.school-staff-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(52, 51, 51, 0.10);
}

.school-staff-card--hidden {
    display: none !important;
}

.school-staff-card__content {
    position: absolute;
    z-index: 3;
    top: 34px;
    left: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    min-height: 108px;
    max-height: 132px;
    overflow: hidden;
}

.school-staff-card__name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    color: #343333 !important;
    font-family: 'Roboto', Arial, sans-serif !important;
    font-weight: 500 !important;
    font-size: 26px !important;
    line-height: 90% !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    word-break: normal;
    overflow-wrap: anywhere;
}

.school-staff-card__position {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    color: rgba(95, 94, 94, 0.6) !important;
    font-family: 'Roboto', Arial, sans-serif !important;
    font-weight: 400 !important;
    font-size: 14px !important;
    line-height: 110% !important;
    word-break: normal;
    overflow-wrap: anywhere;
}

.school-staff-card__email {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    color: #343333 !important;
    font-family: 'Roboto', Arial, sans-serif !important;
    font-weight: 400 !important;
    font-size: 16px !important;
    line-height: 110% !important;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color .2s ease;
}

.school-staff-card__email:hover {
    color: #3EA74F !important;
}

/* fallback для старой верстки карточек */

.school-staff-card__text {
    margin: 0;
    padding: 0 !important;
    color: rgba(95, 94, 94, 0.6) !important;
    font-family: 'Roboto', Arial, sans-serif !important;
    font-weight: 400;
    font-size: 14px !important;
    line-height: 110% !important;
}

.school-staff-card__image-wrap {
    position: absolute;
    z-index: 4;
    left: 0;
    right: 0;
    bottom: 0;
    height: 252px;
    overflow: visible;
}

.school-staff-card__image {
    position: absolute;
    left: -19.2px;
    top: -0.37px;
    width: 302.42px;
    height: 314.33px;
    border-radius: 2px;
    overflow: hidden;
    background: #EDEDED;
    transform: rotate(-4deg);
    transform-origin: center;
}

.school-staff-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: rotate(4deg) scale(1.06);
    transform-origin: center;
}

/* fallback для старого фото */

.school-staff-card__photo {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 252px;
    margin: 0;
    overflow: hidden;
    background: #EDEDED;
}

.school-staff-card__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.school-staff-card__pin {
    position: absolute;
    z-index: 5;
    display: block;
    width: 10px;
    height: 10px;
    line-height: 0;
    pointer-events: none;
}

.school-staff-card__pin svg {
    display: block;
    width: 10px;
    height: 10px;
}

.school-staff-card__pin--one {
    left: 165px;
    top: -7px;
}

.school-staff-card__pin--two {
    left: 269px;
    top: 30px;
}

.school-staff-card__pin--three {
    left: 279px;
    top: 174px;
}

.school-staff-slider__more {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 210px;
    height: 40px;
    margin: 40px auto 0;
    padding: 10px 30px;
    border: 0;
    border-radius: 100px;
    background: #3EA74F;
    color: #fff;
    font-family: 'Roboto', Arial, sans-serif !important;
    font-weight: 800 !important;
    font-size: 13px !important;
    line-height: 15px !important;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color .2s ease, transform .2s ease;
}

.school-staff-slider__more:hover {
    background: #359245;
    transform: translateY(-2px);
}

.school-staff-slider__more:focus {
    outline: 2px solid #343333;
    outline-offset: 3px;
}

/* ==============================
   Расписание
============================== */

.school-timetable {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
    width: 100%;
    max-width: 1180px;
    margin: 70px auto 120px;
    padding: 0;
}

.school-timetable__item {
    width: 100%;
    min-height: auto;
    padding: 0 !important;
    background: transparent !important;
    color: #343333;
}

.school-timetable__title {
    margin: 0 0 12px;
    color: #343333;
    font-family: 'Roboto', Arial, sans-serif !important;
    font-weight: 500;
    font-size: 20px !important;
    line-height: 90% !important;
    text-transform: uppercase;
}

.school-timetable__text {
    color: #343333;
    font-family: 'Roboto', Arial, sans-serif !important;
    font-weight: 400;
    font-size: 16px !important;
    line-height: 110% !important;
}

/* ==============================
   Как добраться
============================== */

.school-road,
.school-road__body {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

.school-road__body {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-areas:
        "title title"
        "map text";
    gap: 40px 30px;
    align-items: stretch;
    text-align: left;
}

.school-road__body h2,
.school-road__title {
    grid-area: title;
    width: 100%;
    margin: 0 auto 20px !important;
    text-align: center !important;
}

.school-road__text {
    grid-area: text;
    max-width: none;
    margin: 0;
    color: #343333;
    font-family: 'Roboto', Arial, sans-serif !important;
    font-weight: 400;
    font-size: 18px !important;
    line-height: 130% !important;
    text-align: left;
}

.school-road__text p {
    margin: 0 0 18px;
}

.school-road__text p:last-child {
    margin-bottom: 0;
}

.school-road__text a {
    color: #3EA74F;
    text-decoration: none;
}

.school-road__text a:hover {
    text-decoration: underline;
}

.school-road__map {
    grid-area: map;
    width: 100%;
    min-height: 460px;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: #f2f2f2;
}

.school-road__map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 460px;
    border: 0;
}

/* 768–900 */
@media only screen and (max-width: 900px) {
    .school-road__body {
        grid-template-columns: 1fr;
        grid-template-areas:
            "title"
            "map"
            "text";
        gap: 28px;
    }

    .school-road__body h2,
    .school-road__title {
        margin-bottom: 8px !important;
    }

    .school-road__text {
        max-width: 620px;
        margin: 0 auto;
        text-align: center;
    }

    .school-road__map,
    .school-road__map iframe {
        min-height: 380px;
    }
}

/* Mobile 0–767 */
@media only screen and (max-width: 767px) {
    .school-road__body {
        gap: 24px;
    }

    .school-road__body h2,
    .school-road__title {
        margin-bottom: 12px !important;
    }

    .school-road__text {
        font-size: 16px !important;
        line-height: 130% !important;
        text-align: left;
    }

    .school-road__map {
        min-height: 320px;
        border-radius: 16px;
    }

    .school-road__map iframe {
        min-height: 320px;
    }
}
/* 768–900 */
@media only screen and (max-width: 900px) {
    .school-road__body {
        grid-template-columns: 1fr;
        grid-template-areas:
            "title"
            "map"
            "text";
        gap: 28px;
    }

    .school-road__body h2,
    .school-road__title {
        margin-bottom: 8px !important;
    }

    .school-road__text {
        max-width: 620px;
        margin: 0 auto;
        text-align: center;
    }

    .school-road__map,
    .school-road__map iframe {
        min-height: 380px;
    }
}

/* Mobile 0–767 */
@media only screen and (max-width: 767px) {
    .school-road__body {
        gap: 24px;
    }

    .school-road__body h2,
    .school-road__title {
        margin-bottom: 12px !important;
    }

    .school-road__text {
        font-size: 16px !important;
        line-height: 130% !important;
        text-align: left;
    }

    .school-road__map {
        min-height: 320px;
        border-radius: 16px;
    }

    .school-road__map iframe {
        min-height: 320px;
    }
}
/* ==============================
   Скрытие старой верстки
============================== */

.school .leading,
.school .timetable,
.school .video,
.school .road {
    display: none !important;
}

.school .school-staff,
.school .school-road {
    display: block !important;
}

.school .school-timetable {
    display: grid !important;
}

/* ==============================
   1024–1199
============================== */

@media only screen and (max-width: 1199px) {
    .school .content,
    .school-hero__content,
    .school-section__content,
    .school-staff__content {
        width: calc(100% - 80px) !important;
        max-width: 1024px !important;
    }

    .school-title,
    .school-staff__title,
    .school-road__body h2,
    .school-road__title {
        font-size: 48px !important;
    }

    .school-staff__list,
    .school-staff-slider__track {
        grid-template-columns: repeat(2, 335px) !important;
        gap: 24px 20px !important;
        max-width: 690px !important;
    }

    .school-help__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ==============================
   768–900
============================== */

@media only screen and (max-width: 900px) {
    .school .content,
    .school-hero__content,
    .school-section__content,
    .school-staff__content {
        width: calc(100% - 48px) !important;
        max-width: 768px !important;
    }

    .school-hero-title-svg {
        max-width: 720px !important;
        gap: 5px !important;
    }

    .school-title,
    .school-staff__title,
    .school-road__body h2,
    .school-road__title {
        font-size: 40px !important;
    }

    .school-features__list,
    .school-help__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .school-features__item,
    .school-help__item {
        font-size: 18px;
    }

    .school-help__lead {
        font-size: 22px;
    }

    .school-timetable {
        grid-template-columns: 1fr;
        max-width: 520px;
    }
}

/* ==============================
   Mobile 0–767
============================== */

@media only screen and (max-width: 767px) {
    .school .content,
    .school-hero__content,
    .school-section__content,
    .school-staff__content {
        width: calc(100% - 32px) !important;
        max-width: none !important;
    }

    .school-breadcrumbs {
        margin-bottom: 20px !important;
    }

    .school-breadcrumbs,
    .school-breadcrumbs a,
    .school-breadcrumbs span {
        font-size: 12px !important;
    }

    .school-hero {
        padding-top: 32px;
        padding-bottom: 56px;
    }

    .school-hero__title {
        margin-bottom: 36px !important;
    }

    .school-hero-title-svg {
        max-width: 100% !important;
        gap: 4px !important;
    }

    .school-hero-title-svg__line--school {
        max-width: 62%;
    }

    .school-hero-title-svg__line--foster,
    .school-hero-title-svg__line--parents {
        max-width: 100%;
    }

    .school-hero__text {
        max-width: 100% !important;
        font-size: 16px !important;
        line-height: 115% !important;
        text-align: center;
    }

    .school-hero__btn {
        min-width: 166px;
        min-height: 40px;
        font-size: 18px !important;
    }

    .school-title,
    .school-staff__title,
    .school-road__body h2,
    .school-road__title {
        font-size: 34px !important;
        line-height: 100% !important;
    }

    .school-section--unique {
        padding-bottom: 70px;
    }

    .school-section--features,
    .school-section--help {
        padding-bottom: 80px !important;
    }

    .school-title--features,
    .school-title--help {
        margin-bottom: 36px !important;
    }

    .school-text-card {
        font-size: 16px !important;
        line-height: 115% !important;
    }

    .school-features__list,
    .school-help__list {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .school-features__item,
    .school-help__item {
        min-height: auto;
        padding: 20px 22px 20px 46px;
        font-size: 16px;
        line-height: 115%;
    }

    .school-features__item::before,
    .school-help__item::before {
        left: 22px;
        top: 25px;
    }

    .school-help__lead {
        margin-bottom: 28px;
        font-size: 18px;
        line-height: 115%;
    }

    .school-help__subtitle {
        font-size: 22px;
    }

    .school-section--staff {
        padding-bottom: 80px;
    }

    .school-staff {
        margin-bottom: 72px;
    }

    .school-staff--consultants {
        margin-top: 68px;
    }

    .school-staff__title {
        margin-bottom: 36px !important;
    }

    /*
       Мобильный свайп.
       Работает и если карточки лежат прямо в .school-staff__list,
       и если внутри есть .school-staff-slider__track.
    */

    .school-staff__list {
        display: flex !important;
        grid-template-columns: none !important;
        justify-content: flex-start !important;
        align-items: stretch !important;
        gap: 16px !important;
        width: auto !important;
        max-width: none !important;
        margin: 0 -16px !important;
        padding: 0 16px 8px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .school-staff__list > .school-staff-slider {
        flex: 0 0 100%;
        width: 100% !important;
        max-width: 100% !important;
    }

    .school-staff-slider {
        position: relative !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        overflow: visible !important;
    }

    .school-staff-slider__track {
        display: flex !important;
        grid-template-columns: none !important;
        justify-content: flex-start !important;
        align-items: stretch !important;
        gap: 16px !important;
        width: auto !important;
        max-width: none !important;
        margin: 0 -16px !important;
        padding: 0 16px 8px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .school-staff__list::-webkit-scrollbar,
    .school-staff-slider__track::-webkit-scrollbar {
        display: none;
    }

    .school-staff-card {
        flex: 0 0 335px !important;
        width: 335px !important;
        max-width: 335px !important;
        height: 450px !important;
        margin: 0 !important;
        scroll-snap-align: start;
    }

    .school-staff-card__name {
        font-size: 22px !important;
    }

    .school-staff-card__position {
        -webkit-line-clamp: 5;
    }

    .school-staff-card__email {
        font-size: 15px !important;
    }

    .school-timetable {
        grid-template-columns: 1fr;
        gap: 24px;
        margin: 56px auto 80px;
    }

    .school-road__body h2,
    .school-road__title {
        margin-bottom: 36px !important;
    }

    .school-road__text {
        font-size: 16px !important;
        line-height: 130% !important;
    }

    .school-road__map {
        height: 320px;
        border-radius: 16px;
    }
}

/* ==============================
   Mobile 320–374
============================== */

@media only screen and (max-width: 374px) {
    .school-staff-card {
        flex-basis: calc(100vw - 40px) !important;
        width: calc(100vw - 40px) !important;
        max-width: calc(100vw - 40px) !important;
    }
}
/* ==============================
   Наши эксперты: карточки
============================== */

.school-staff--experts .school-staff-card {
    height: 500px !important;
}

.school-staff--experts .school-staff-card__image-wrap {
    height: 303px !important;
}

.school-staff--experts .school-staff-card__content {
    position: absolute !important;
    top: 0 !important;
    left: 30px !important;
    right: 30px !important;
    z-index: 5 !important;
    display: block !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
}

.school-staff--experts .school-staff-card__name {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: 34px !important;
}

.school-staff--experts .school-staff-card__position {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: 100px !important;
    height: 80px !important;
    max-height: 80px !important;
    overflow: hidden !important;
    -webkit-line-clamp: 5 !important;
}

.school-staff--experts .school-staff-card__email {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: 184px !important;
}

.school-staff--experts .school-staff-card__image {
    height: 365px !important;
}

.school-staff--experts .school-staff-card__image img {
    height: 100% !important;
    object-fit: cover !important;
}