/* «Наши медицинские эксперты» на /work/school/. Кадр 2068:779, заголовок y 5081.
   Desktop — absolute от 1401px; ниже — сетка карточек (имя → роль → фото).
   Мятный пояс — общий с консультантами и бюджетом через `.sh-people`. */

.sh-people__glow {
    display: none;
}

.sh-people {
    background: linear-gradient(180deg, #fff 0%, #E2FFE7 42%, #fff 100%);
    overflow-x: clip;
}

.sh-experts {
    padding: 40px 0 16px;
}

.sh-experts--consultants {
    padding-top: 24px;
}

.sh-experts__stage {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: 0 16px 24px;
}

.sh-experts__title {
    grid-column: 1 / -1;
    margin: 0 0 8px;
    padding: 0;
    font-size: clamp(28px, 7vw, 36px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.64px;
    text-align: center;
    color: #4D4D4D;
}

.sh-experts__title span {
    color: #3EA74F;
}

.sh-experts__person {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    max-width: none;
    text-align: center;
}

.sh-experts__name {
    margin: 0 0 8px;
    font-family: "Google Sans", Arial, sans-serif;
    font-size: 22px;
    font-weight: 500;
    line-height: 0.95;
    color: #3EA74F;
}

.sh-experts__role,
.sh-experts__mail {
    margin: 0;
    font-family: "Google Sans", Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.15;
    color: rgba(95, 94, 94, 0.6);
}

.sh-experts__mail {
    display: inline-block;
    margin-top: 6px;
    color: #343333;
    text-decoration: none;
}

.sh-experts__person img {
    display: block;
    width: min(100%, 280px);
    height: auto;
    margin-top: 16px;
    object-fit: contain;
    transform: none;
    pointer-events: none;
}

@media (min-width: 600px) and (max-width: 991px) {
    .sh-experts__stage {
        grid-template-columns: 1fr 1fr;
        justify-items: center;
        gap: 32px 24px;
        max-width: 900px;
        padding: 0 24px 40px;
    }

    .sh-experts__title {
        font-size: 44px;
        margin-bottom: 16px;
    }

    .sh-experts__name {
        font-size: 24px;
    }

    .sh-experts__person {
        width: 100%;
        max-width: 320px;
    }

    .sh-experts__person img {
        width: 100%;
        max-width: none;
    }
}

@media (min-width: 992px) {

    body.page-school .sh-people {
        position: relative;
        overflow-x: clip;
        background: #fff;
    }

    /* Пояс белый → #E2FFE7 → белый на экспертов + консультантов + бюджет */
    body.page-school .sh-people__glow {
        display: block;
        position: absolute;
        left: 50%;
        top: 0;
        width: 2103px;
        height: 100%;
        transform: translateX(-50%);
        background: linear-gradient(180deg, #fff 0%, #E2FFE7 50%, #fff 100%);
        z-index: 0;
        pointer-events: none;
    }

    body.page-school .sh-people .sh-experts,
    body.page-school .sh-people .sh-budget {
        position: relative;
        z-index: 1;
        background: transparent;
    }

    body.page-school .sh-experts {
        padding-top: 80px;
        padding-bottom: 0;
    }

    body.page-school .sh-experts__stage {
        position: relative;
        display: block;
        width: 1440px;
        max-width: 100%;
        height: 573px;
        margin: 0 auto;
        padding: 0;
        gap: 0;
    }

    body.page-school .sh-experts__title,
    body.page-school .sh-experts__name,
    body.page-school .sh-experts__role,
    body.page-school .sh-experts__mail,
    body.page-school .sh-experts__person img {
        position: absolute;
        margin: 0;
    }

    body.page-school .sh-experts__person {
        display: block;
        margin: 0;
        max-width: none;
    }

    body.page-school .sh-experts__title {
        left: 284px;
        top: 0;
        width: 872px;
        height: 66px;
        padding: 0;
        font-size: 66px;
        font-weight: 400;
        line-height: 1;
        letter-spacing: -1.32px;
        text-align: center;
        white-space: nowrap;
        color: #4D4D4D;
        grid-column: unset;
    }

    body.page-school .sh-experts__person--belov .sh-experts__name,
    body.page-school .sh-experts__person--belov .sh-experts__role,
    body.page-school .sh-experts__person--belov .sh-experts__mail { left: 72px; }

    body.page-school .sh-experts__person--zinenko .sh-experts__name,
    body.page-school .sh-experts__person--zinenko .sh-experts__role { left: 427px; }

    body.page-school .sh-experts__person--tsvetkova .sh-experts__name,
    body.page-school .sh-experts__person--tsvetkova .sh-experts__role { left: 782px; }

    body.page-school .sh-experts__person--averyanova .sh-experts__name,
    body.page-school .sh-experts__person--averyanova .sh-experts__role { left: 1137px; }

    body.page-school .sh-experts__name {
        top: 140px;
        width: 275px;
        font-family: "Google Sans", Arial, sans-serif;
        font-size: 26px;
        font-weight: 500;
        line-height: 0.9;
        color: #3EA74F;
    }

    body.page-school .sh-experts__role {
        top: 177px;
        width: 275px;
        font-family: "Google Sans", Arial, sans-serif;
        font-size: 14px;
        font-weight: 400;
        line-height: 1.1;
        color: rgba(95, 94, 94, 0.6);
    }

    body.page-school .sh-experts__mail {
        top: 206px;
        width: 275px;
        font-family: "Google Sans", Arial, sans-serif;
        font-size: 14px;
        font-weight: 400;
        line-height: 1.1;
        color: #343333;
    }

    body.page-school .sh-experts__person--belov img { left: 23px; }
    body.page-school .sh-experts__person--zinenko img { left: 378px; }
    body.page-school .sh-experts__person--tsvetkova img { left: 733px; }
    body.page-school .sh-experts__person--averyanova img { left: 1088px; }

    body.page-school .sh-experts__person img {
        top: 259px;
        width: 302px;
        height: 314px;
        max-width: none;
        aspect-ratio: auto;
        border-radius: 12px;
        object-fit: cover;
        transform: rotate(-4deg);
        pointer-events: none;
    }

    body.page-school .sh-experts__person--zinenko img,
    body.page-school .sh-experts__person--averyanova img {
        transform: rotate(-4deg);
    }

    /* «Наши консультанты» — черновик: в макете копия экспертов (y 5792). */
    body.page-school .sh-experts--consultants {
        padding-top: 138px;
    }

    body.page-school .sh-experts--consultants .sh-experts__title {
        left: 430px;
        width: 580px;
    }
}
