

/* Start:/local/components/medical/treatment.technologies/templates/.default/style.css?179623508319616*/
/* Блок «Что я лечу и какими технологиями»: Morphing Cards + Focus View. */
.med-treatment {
    --mt-green: #425341;
    --mt-green-soft: #63795a;
    --mt-line: #e5e1dd;
    --mt-line-strong: #cdd6c8;
    --mt-text: #292a27;
    --mt-muted: #5d5d58;
    --mt-main-h: clamp(560px, 44vw, 620px);
    --mt-radius: 24px;
    color: var(--mt-text);
    /* Якорь «/#treatment» из меню: отступ под фиксированную шапку. */
    scroll-margin-top: calc(var(--header-height) + 16px);
}
.med-treatment__container { padding-block: clamp(28px, 4vw, 60px); }
.med-treatment__title {
    margin: 0 0 22px;
    max-width: 24ch;
    font-size: clamp(26px, 2.6vw, 38px);
    letter-spacing: -.035em;
    line-height: 1.12;
    font-weight: 650;
}
.med-treatment__layout {
    display: grid;
    grid-template-columns: minmax(240px, 270px) minmax(0, 1fr);
    gap: 24px;
    padding: clamp(12px, 1.2vw, 18px);
    background: linear-gradient(112deg, #f5f2ef, #faf8f7 56%, #f3f0ed);
    border: 1px solid #eeeae7;
    border-radius: var(--mt-radius);
}

/* Навигация по суставам — слева, как в исходном дизайне. */
.med-treatment__navigation { display: flex; flex-direction: column; gap: 10px; }
.med-treatment__nav-item {
    display: flex;
    align-items: center;
    gap: clamp(8px, 1vw, 16px);
    min-height: 54px;
    padding: 6px 14px;
    border: 1px solid var(--mt-line);
    border-radius: 18px;
    color: inherit;
    background: linear-gradient(130deg, #fff, #f7f5f3);
    font: 550 15px/1.25 var(--font-family, Inter, Arial, sans-serif);
    text-align: left;
    cursor: pointer;
    transition: border-color 160ms ease, background-color 160ms ease;
}
.med-treatment__nav-item:hover { border-color: #a7b39f; }
.med-treatment__nav-item--active {
    color: #fff;
    border-color: var(--mt-green);
    background: linear-gradient(175deg, #6e8561, var(--mt-green));
}
.med-treatment__nav-icon { width: 43px; height: 44px; object-fit: contain; flex: none; }
.med-treatment__nav-item--active .med-treatment__nav-icon { filter: brightness(0) invert(1); }
.med-treatment__nav-label { flex: 1; overflow-wrap: anywhere; }
.med-treatment__nav-arrow { display: flex; flex: none; }
.med-treatment__picker { display: none; }

/* Рабочая область справа. */
.med-treatment__main {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    min-height: 0;
}
.med-treatment__panels { display: flex; flex: 1 1 auto; min-height: 0; min-width: 0; }
.med-treatment__panel {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 0;
    min-width: 0;
}
.med-treatment__panel[hidden] { display: none; }
.med-treatment__intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex: none;
    padding: 2px 4px 0;
}
.med-treatment__intro-text { min-width: 0; }
.med-treatment__panel-title {
    margin: 0;
    font-size: clamp(22px, 2vw, 30px);
    line-height: 1.15;
    letter-spacing: -.025em;
    font-weight: 650;
}
.med-treatment__panel-desc {
    margin: 5px 0 0;
    max-width: 62ch;
    font-size: 14.5px;
    line-height: 1.45;
    color: var(--mt-muted);
}
.med-treatment__joint-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    font-size: 13.5px;
    font-weight: 550;
    color: var(--mt-green);
    text-decoration: none;
}
.med-treatment__joint-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.med-treatment__joint-image {
    flex: none;
    width: auto;
    max-width: 32%;
    height: clamp(64px, 6vw, 92px);
    object-fit: contain;
    --mt-edge: linear-gradient(to bottom, transparent, rgb(0 0 0 / .5) 5%, black 14%, black 86%, rgb(0 0 0 / .5) 95%, transparent);
    -webkit-mask-image: var(--mt-edge);
    mask-image: var(--mt-edge);
}
.med-treatment__empty {
    margin: 16px 4px;
    padding: 18px;
    border: 1px dashed var(--mt-line-strong);
    border-radius: 16px;
    font-size: 14px;
    color: var(--mt-muted);
}

/* Сцена: сетка карточек и раскрытая карточка занимают одну область. */
.med-treatment__stage {
    position: relative;
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
    margin-top: 14px;
}
.med-treatment__cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(0, 1fr);
    gap: 10px;
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}
.med-treatment__cards[hidden] { display: none; }
.med-treatment__cards[data-mt-count="1"] { grid-template-columns: minmax(0, 1fr); }
.med-treatment__cards[data-mt-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.med-treatment__cards[data-mt-count="3"] {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    grid-template-rows: repeat(2, minmax(0, 1fr));
}
.med-treatment__cards[data-mt-count="3"] .med-treatment__card-item:first-child { grid-row: span 2; }
.med-treatment__cards[data-mt-count="5"],
.med-treatment__cards[data-mt-count="6"] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: minmax(118px, 1fr);
}
.med-treatment__cards[data-mt-count="7"],
.med-treatment__cards[data-mt-count="8"] {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: minmax(112px, 1fr);
}
.med-treatment__card-item { display: flex; min-height: 0; min-width: 0; }
.med-treatment__card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 7px;
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 15px 16px;
    border: 1px solid var(--mt-line);
    border-radius: 18px;
    background: linear-gradient(145deg, #fff 25%, #f9f7f5);
    color: inherit;
    text-align: left;
    cursor: pointer;
    overflow: hidden;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
.med-treatment__card:hover {
    border-color: #a7b39f;
    box-shadow: 0 8px 20px rgb(66 83 65 / .09);
    transform: translateY(-1px);
}
.med-treatment__card:active { transform: translateY(0); }
.med-treatment__card[aria-expanded="true"] { border-color: var(--mt-green); }
.med-treatment__card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.med-treatment__card-title {
    font-size: 16px;
    line-height: 1.24;
    letter-spacing: -.015em;
    font-weight: 600;
    overflow-wrap: anywhere;
}
.med-treatment__card-arrow {
    flex: none;
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid var(--mt-line);
    background: #fff;
    color: var(--mt-green);
    transition: background-color 180ms ease, color 180ms ease;
}
.med-treatment__card:hover .med-treatment__card-arrow { background: var(--mt-green); color: #fff; }
.med-treatment__card-desc {
    font-size: 13px;
    line-height: 1.45;
    color: #53534f;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.med-treatment__card-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    min-height: 0;
}
.med-treatment__card-meta {
    font-size: 11.5px;
    line-height: 1.3;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #6e6e68;
}
.med-treatment__card-media {
    flex: none;
    display: block;
    width: 78px;
    height: 58px;
    border-radius: 12px;
    overflow: hidden;
    background: #f1eeea;
}
.med-treatment__card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* Focus View: раскрытое направление внутри той же рабочей области. */
.med-treatment__focus {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    min-height: 0;
    border: 1px solid var(--mt-line);
    border-radius: 20px;
    background: linear-gradient(148deg, #fff 20%, #faf8f7 72%, #f5f2ef);
    box-shadow: 0 20px 44px rgb(41 42 39 / .1);
    overflow: hidden;
    transform-origin: top left;
}
.med-treatment__focus[hidden] { display: none; }
.med-treatment__focus-inner {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 0;
    padding: 16px 18px 14px;
}
.med-treatment__focus-head { flex: none; display: grid; gap: 4px; }
.med-treatment__back {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    padding: 7px 13px 7px 10px;
    border: 1px solid var(--mt-line);
    border-radius: 999px;
    background: #fff;
    color: var(--mt-green);
    font: 600 13px/1.2 var(--font-family, Inter, Arial, sans-serif);
    cursor: pointer;
    transition: border-color 160ms ease, background-color 160ms ease;
}
.med-treatment__back:hover { border-color: var(--mt-line-strong); background: #f7f5f2; }
.med-treatment__focus-joint {
    margin: 6px 0 0;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #77776f;
}
.med-treatment__focus-title {
    margin: 0;
    font-size: clamp(20px, 1.7vw, 25px);
    line-height: 1.2;
    letter-spacing: -.02em;
    font-weight: 650;
}
.med-treatment__focus-body {
    flex: 1 1 auto;
    min-height: 0;
    margin-top: 10px;
    padding-right: 8px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
}
.med-treatment__focus-body::-webkit-scrollbar { width: 8px; }
.med-treatment__focus-body::-webkit-scrollbar-thumb { background: #d9d5cf; border-radius: 8px; }
.med-treatment__focus-media {
    float: right;
    width: 172px;
    margin: 2px 0 10px 18px;
    border-radius: 14px;
    overflow: hidden;
    background: #f1eeea;
}
.med-treatment__focus-media img {
    display: block;
    width: 100%;
    height: 118px;
    object-fit: cover;
}
.med-treatment__focus-text {
    max-width: 68ch;
    font-size: 14px;
    line-height: 1.55;
    color: #43433e;
}
.med-treatment__ops { margin-top: 14px; display: grid; gap: 12px; }
.med-treatment__ops-title {
    margin: 0 0 6px;
    font-size: 12px;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: #6e6e68;
    font-weight: 600;
}
.med-treatment__ops-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.med-treatment__op {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 7px 11px;
    border: 1px solid #eeeae7;
    border-radius: 11px;
    background: #fff;
    font-size: 13.5px;
    line-height: 1.35;
}
.med-treatment__op-name { overflow-wrap: anywhere; }
.med-treatment__op-name--link {
    color: var(--mt-green);
    text-decoration: underline;
    text-decoration-color: #c9d0c3;
    text-underline-offset: 3px;
}
.med-treatment__op-name--link:hover { text-decoration-color: var(--mt-green); }
.med-treatment__op-name--link svg { margin-left: 2px; vertical-align: -2px; }
.med-treatment__op-access {
    flex: none;
    font-size: 10.5px;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: #77776f;
    white-space: nowrap;
}
.med-treatment__ops-empty { margin: 12px 0 0; font-size: 13.5px; color: #77776f; }
.med-treatment__focus-foot {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #eeeae7;
}
.med-treatment__more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border: 1px solid var(--mt-line-strong);
    border-radius: 999px;
    background: #fff;
    color: var(--mt-green);
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease;
}
.med-treatment__more:hover { background: #f4f2ee; border-color: #b9c4b3; }
.med-treatment__focus-consult {
    margin-left: auto;
    padding: 10px 18px;
    border: 1px solid var(--mt-green);
    border-radius: 999px;
    background: linear-gradient(170deg, #6e8561, var(--mt-green));
    color: #fff;
    font: 600 13.5px/1.2 var(--font-family, Inter, Arial, sans-serif);
    cursor: pointer;
    transition: filter 160ms ease;
}
.med-treatment__focus-consult:hover { filter: brightness(1.06); }
/* Постоянная зона записи: не исчезает при переключении суставов. */
.med-treatment__consult { flex: none; display: grid; gap: 6px; }
.med-treatment__consult-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.med-treatment__consult-item {
    display: grid;
    gap: 2px;
    padding: 10px 14px 11px;
    border: 1px solid #dcd7d1;
    border-radius: 15px;
    background: linear-gradient(160deg, #fff, #f6f3ef);
    color: inherit;
    font: inherit;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}
.med-treatment__consult-item:hover {
    border-color: #a7b39f;
    box-shadow: 0 6px 16px rgb(66 83 65 / .08);
}
.med-treatment__consult-name { font-size: 14.5px; font-weight: 600; line-height: 1.25; }
.med-treatment__consult-desc { font-size: 12.5px; line-height: 1.35; color: #5d5d58; }
.med-treatment__consult-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--mt-green);
}
.med-treatment__consult-note {
    margin: 0;
    padding-left: 2px;
    font-size: 11.5px;
    line-height: 1.35;
    color: #77776f;
}

.med-treatment :focus-visible { outline: 2px solid var(--mt-green); outline-offset: 2px; }

/* Фиксированная высота рабочей области только на ПК. */
@media (min-width: 1024px) {
    .med-treatment__main { height: var(--mt-main-h); }
}
@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
    .med-treatment__focus {
        transition: transform 300ms cubic-bezier(.22, .61, .36, 1), opacity 300ms ease;
    }
}

@media (max-width: 1199px) {
    .med-treatment { --mt-main-h: 570px; }
    .med-treatment__layout { grid-template-columns: minmax(205px, 230px) minmax(0, 1fr); gap: 18px; }
}

@media (max-width: 1023px) {
    .med-treatment__layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .med-treatment__navigation { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .med-treatment__main { height: auto; }
    .med-treatment__stage { flex: none; margin-top: 12px; }
    .med-treatment__cards,
    .med-treatment__cards[data-mt-count="3"],
    .med-treatment__cards[data-mt-count="5"],
    .med-treatment__cards[data-mt-count="6"],
    .med-treatment__cards[data-mt-count="7"],
    .med-treatment__cards[data-mt-count="8"] {
        grid-template-rows: none;
        grid-auto-rows: auto;
    }
    .med-treatment__card { min-height: 148px; }
    .med-treatment__stage { display: block; }
    .med-treatment__focus { position: static; width: 100%; box-shadow: none; }
    .med-treatment__focus-body { overflow: visible; padding-right: 0; }
    .med-treatment__focus-media { width: 150px; }
    .med-treatment__focus-media img { height: 104px; }
}
@media (max-width: 639px) {
    .med-treatment__layout { padding: 12px; }
    .med-treatment__navigation { display: none; }
    .med-treatment__picker {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        width: 100%;
        min-height: 54px;
        padding: 6px 18px 6px 12px;
        border: 1px solid var(--mt-green);
        border-radius: 16px;
        color: #fff;
        background: linear-gradient(175deg, #627955, var(--mt-green));
        font: 600 16px/1.25 var(--font-family, Inter, Arial, sans-serif);
        text-align: left;
        cursor: pointer;
    }
    .med-treatment__choice { display: flex; align-items: center; gap: 10px; min-width: 0; overflow-wrap: anywhere; }
    .med-treatment__choice img { width: 34px; height: 38px; object-fit: contain; filter: brightness(0) invert(1); }
    .med-treatment__chevron {
        flex: none;
        width: 9px;
        height: 9px;
        margin-top: -4px;
        border: solid currentColor;
        border-width: 0 1.6px 1.6px 0;
        transform: rotate(45deg);
    }
    .med-treatment__picker[aria-expanded="true"] .med-treatment__chevron { transform: rotate(225deg); margin-top: 4px; }
    .med-treatment__picker[aria-expanded="true"] + .med-treatment__navigation {
        display: grid;
        grid-template-columns: 1fr;
        gap: 6px;
    }
    .med-treatment__nav-item { min-height: 48px; border-radius: 13px; }
    .med-treatment__nav-item--active .med-treatment__nav-arrow svg { display: none; }
    .med-treatment__nav-item--active .med-treatment__nav-arrow::after { content: "✓"; }

    .med-treatment__intro { align-items: flex-start; }
    .med-treatment__joint-image { height: 74px; max-width: 30%; }
    .med-treatment__panel-title { font-size: 22px; }

    .med-treatment__cards,
    .med-treatment__cards[data-mt-count="2"],
    .med-treatment__cards[data-mt-count="3"],
    .med-treatment__cards[data-mt-count="5"],
    .med-treatment__cards[data-mt-count="6"],
    .med-treatment__cards[data-mt-count="7"],
    .med-treatment__cards[data-mt-count="8"] {
        grid-template-columns: minmax(0, 1fr);
    }
    .med-treatment__cards[data-mt-count="3"] .med-treatment__card-item:first-child { grid-row: auto; }
    .med-treatment__card { min-height: 118px; }

    .med-treatment__focus-inner { padding: 14px 14px 12px; }
    .med-treatment__focus-media { float: none; width: 100%; margin: 0 0 10px; }
    .med-treatment__focus-media img { height: 132px; }
    .med-treatment__ops-list { grid-template-columns: minmax(0, 1fr); }
    .med-treatment__focus-foot { flex-direction: column; align-items: stretch; }
    .med-treatment__more,
    .med-treatment__focus-consult { justify-content: center; text-align: center; }
    .med-treatment__consult-list { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 639px) and (prefers-reduced-motion: no-preference) {
    .med-treatment__picker[aria-expanded="true"] + nav { animation: mt-reveal 180ms ease-out; }
    .med-treatment__chevron { transition: transform 180ms ease; }
}

@media (prefers-reduced-motion: reduce) {
    .med-treatment__card,
    .med-treatment__focus,
    .med-treatment__nav-item,
    .med-treatment__back,
    .med-treatment__more,
    .med-treatment__focus-consult,
    .med-treatment__consult-item { transition: none; }
    .med-treatment__card:hover { transform: none; }
}

@keyframes mt-reveal {
    from { opacity: .3; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}







/* End */


/* Start:/local/components/medical/patient.gallery/templates/.default/style.css?17956222257469*/
/* Карусель «Мои пациенты».
   Изолированные стили: все классы с префиксом mt-patients, другие блоки не затрагиваются. */
.mt-patients {
    --mt-patients-bg: #f6f7f3;
    --mt-patients-text: #1d241d;
    --mt-patients-muted: #5c6b57;
    --mt-patients-line: #dde3d8;
    --mt-patients-accent: #26372d;
    --mt-patients-visible: 1;
    --mt-patients-gap: 16px;
    --mt-patients-radius: 18px;
    position: relative;
    padding-block: clamp(52px, 6vw, 88px);
    background: var(--mt-patients-bg);
    color: var(--mt-patients-text);
    scroll-margin-top: calc(var(--header-height) + 16px);
}
.mt-patients__container {
    width: calc(100% - var(--container-gutter) * 2);
    max-width: 1200px;
    margin-inline: auto;
}
.mt-patients__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.mt-patients__intro { min-width: 0; }
.mt-patients__title {
    margin: 0;
    color: var(--mt-patients-text);
    font-size: clamp(24px, 3vw, 38px);
    font-weight: 650;
    letter-spacing: -.03em;
    line-height: 1.1;
    text-wrap: balance;
}
.mt-patients__subtitle {
    margin: 8px 0 0;
    color: var(--mt-patients-muted);
    font-size: clamp(14.5px, 1.15vw, 17px);
    line-height: 1.5;
}
.mt-patients__controls { display: flex; flex: none; gap: 8px; }
.mt-patients__arrow {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--mt-patients-line);
    border-radius: 50%;
    background: #fff;
    color: var(--mt-patients-accent);
    cursor: pointer;
    transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}
.mt-patients__arrow svg { width: 20px; height: 20px; }
.mt-patients__arrow:hover { border-color: #c3cfbc; background: #eef2e9; }
.mt-patients__arrow:focus-visible { outline: 2px solid #6f8a66; outline-offset: 3px; }
.mt-patients__arrow[disabled] { opacity: .4; cursor: default; border-color: var(--mt-patients-line); background: #fff; }

/* Без JavaScript работает как горизонтальная прокрутка */
.mt-patients__viewport {
    margin-top: clamp(22px, 3vw, 36px);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
}
.mt-patients__viewport::-webkit-scrollbar { display: none; }
.mt-patients__track {
    display: flex;
    gap: var(--mt-patients-gap);
    margin: 0;
    padding: 0;
    list-style: none;
}
.mt-patients__slide {
    flex: 0 0 calc((100% - (var(--mt-patients-visible) - 1) * var(--mt-patients-gap)) / var(--mt-patients-visible));
    min-width: 0;
    scroll-snap-align: start;
}
.mt-patients__slide-button {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: var(--mt-patients-radius);
    background: #e7ebe2;
    overflow: hidden;
    cursor: zoom-in;
    -webkit-tap-highlight-color: transparent;
}
.mt-patients__slide-button:focus-visible { outline: 2px solid #6f8a66; outline-offset: 3px; }
.mt-patients__image {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: var(--mt-patients-focus-x, 50%) var(--mt-patients-focus-y, 50%);
    user-select: none;
    -webkit-user-drag: none;
}

/* Состояние после инициализации скриптом: бесконечная лента на transform */
.mt-patients--enhanced .mt-patients__viewport {
    overflow: hidden;
    touch-action: pan-y;
    cursor: grab;
}
.mt-patients--enhanced .mt-patients__track { will-change: transform; }
.mt-patients--dragging .mt-patients__viewport { cursor: grabbing; }
.mt-patients--dragging .mt-patients__track { transition: none !important; }

@media (min-width: 768px) {
    .mt-patients { --mt-patients-visible: 2; --mt-patients-gap: 20px; --mt-patients-radius: 20px; }
}
@media (min-width: 1024px) {
    .mt-patients { --mt-patients-visible: 3; --mt-patients-gap: 24px; }
}
@media (max-width: 767px) {
    .mt-patients__slide { flex-basis: 86%; }
    .mt-patients__image {
        aspect-ratio: 3 / 4;
        object-position:
            var(--mt-patients-focus-x-m, var(--mt-patients-focus-x, 50%))
            var(--mt-patients-focus-y-m, var(--mt-patients-focus-y, 50%));
    }
    .mt-patients__arrow { width: 40px; height: 40px; }
    .mt-patients__arrow svg { width: 18px; height: 18px; }
}
@media (max-width: 359px) {
    .mt-patients__title { font-size: 22px; }
    .mt-patients__subtitle { font-size: 14px; }
    .mt-patients__arrow { width: 36px; height: 36px; }
}

@media (prefers-reduced-motion: reduce) {
    .mt-patients__arrow { transition: none; }
    .mt-patients__track { transition: none !important; }
}

/* Lightbox: затемнение, закрытие, стрелки. Автопрокрутка в нём не работает. */
.mt-patients-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1400;
    display: grid;
    place-items: center;
    padding: clamp(16px, 4vw, 48px);
}
.mt-patients-lightbox[hidden] { display: none; }
.mt-patients-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgb(10 14 12 / .9);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}
.mt-patients-lightbox__figure {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    max-width: 100%;
    max-height: 100%;
    margin: 0;
    touch-action: none;
}
.mt-patients-lightbox__image {
    display: block;
    width: auto;
    height: auto;
    max-width: min(92vw, 1600px);
    max-height: 86vh;
    border-radius: 10px;
    background: #0e1411;
}
.mt-patients-lightbox__button {
    position: absolute;
    z-index: 2;
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgb(255 255 255 / .3);
    border-radius: 50%;
    background: rgb(18 24 20 / .65);
    color: #fff;
    cursor: pointer;
    transition: background-color 200ms ease, border-color 200ms ease;
}
.mt-patients-lightbox__button svg { width: 20px; height: 20px; }
.mt-patients-lightbox__button:hover { border-color: #fff; background: rgb(255 255 255 / .18); }
.mt-patients-lightbox__button:focus-visible { outline: 2px solid #d7e6cf; outline-offset: 3px; }
.mt-patients-lightbox__close { top: clamp(12px, 2.5vw, 24px); right: clamp(12px, 2.5vw, 24px); }
.mt-patients-lightbox__nav { top: 50%; transform: translateY(-50%); }
.mt-patients-lightbox__nav--prev { left: clamp(8px, 2vw, 24px); }
.mt-patients-lightbox__nav--next { right: clamp(8px, 2vw, 24px); }

html.mt-patients-locked,
body.mt-patients-locked { overflow: hidden; }

@media (max-width: 767px) {
    .mt-patients-lightbox { padding: 52px 12px 72px; }
    .mt-patients-lightbox__image { max-width: 94vw; max-height: 74vh; }
    .mt-patients-lightbox__button { width: 44px; height: 44px; }
    .mt-patients-lightbox__nav { top: auto; bottom: 14px; transform: none; }
    .mt-patients-lightbox__nav--prev { left: calc(50% - 54px); }
    .mt-patients-lightbox__nav--next { right: calc(50% - 54px); }
}

/* End */
/* /local/components/medical/treatment.technologies/templates/.default/style.css?179623508319616 */
/* /local/components/medical/patient.gallery/templates/.default/style.css?17956222257469 */
