/* «Наши медицинские эксперты» + «Наши ведущие групп» на /work/school/.
   Макет Draft `urubXwa5qTs0aADM4fs49F` / кадр `2068:779` (блок y≈5081–6400).
   Desktop — absolute в колонке 1440; ниже — сетка. Мятный пояс — `.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--leaders {
    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;
    border-radius: 12px;
    object-fit: cover;
    aspect-ratio: 302 / 314;
    transform: rotate(-4deg);
    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;
    }

    /* Пояс = Figma Rectangle 350 `2068:855` (#fff → #E2FFE7 → #fff) */
    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%;
        /* title → img bottom: 259 + 314 = 573 */
        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;
        text-align: left;
    }

    /* Figma 2068:1319 — x524→left 284, 66px */
    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;
    }

    /* Колонки: text x 312/667/1022/1377 → left 72/427/782/1137 */
    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--kulygina .sh-experts__name,
    body.page-school .sh-experts__person--kulygina .sh-experts__role { left: 427px; }

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

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

    /* Figma: name y5221→140, role y5258→177, mail y5287→206 */
    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;
    }

    /* Figma images x262.8… → left 23/378/733/1088; кадр 302×314 как в исходной вёрстке ШПР */
    body.page-school .sh-experts__person--belov img { left: 23px; }
    body.page-school .sh-experts__person--kulygina img { left: 378px; }
    body.page-school .sh-experts__person--ivannikova img { left: 733px; }
    body.page-school .sh-experts__person--vasileva 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;
    }

    /* «Наши ведущие групп» — та же вертикаль; 5 колонок.
       Figma: gap title→title 711; stage 573 → padding-top 138. */
    body.page-school .sh-experts--leaders {
        padding-top: 138px;
    }

    body.page-school .sh-experts--leaders .sh-experts__title {
        left: 280px;
        width: 880px;
    }

    body.page-school .sh-experts--leaders .sh-experts__name {
        width: 230px;
        font-size: 22px;
    }

    body.page-school .sh-experts--leaders .sh-experts__role {
        width: 230px;
        font-size: 13px;
    }

    body.page-school .sh-experts--leaders .sh-experts__person img {
        width: 248px;
        height: 258px;
    }

    body.page-school .sh-experts__person--bekker .sh-experts__name,
    body.page-school .sh-experts__person--bekker .sh-experts__role { left: 48px; }
    body.page-school .sh-experts__person--bekker img { left: 16px; }

    body.page-school .sh-experts__person--vaulina .sh-experts__name,
    body.page-school .sh-experts__person--vaulina .sh-experts__role { left: 320px; }
    body.page-school .sh-experts__person--vaulina img { left: 288px; }

    body.page-school .sh-experts__person--sedova .sh-experts__name,
    body.page-school .sh-experts__person--sedova .sh-experts__role { left: 592px; }
    body.page-school .sh-experts__person--sedova img { left: 560px; }

    body.page-school .sh-experts__person--manikina .sh-experts__name,
    body.page-school .sh-experts__person--manikina .sh-experts__role { left: 864px; }
    body.page-school .sh-experts__person--manikina img { left: 832px; }

    body.page-school .sh-experts__person--barabanov .sh-experts__name,
    body.page-school .sh-experts__person--barabanov .sh-experts__role { left: 1136px; }
    body.page-school .sh-experts__person--barabanov img { left: 1104px; }
}
