/*
 * Подборка клиник и врачей (site/listing.blade.php) — вариант 1 «Список сразу
 * под заголовком» и карточка — опция 1.1 «Цены и врач под описанием»
 * (решения владельца от 15.11.2026; макеты docs/design/listing/
 * listing-variants.html и listing-v1-options.html, локальные).
 *
 * Было: первая клиника на 1071 px от верха на компьютере и на 1460 px на
 * телефоне, панель фильтров 268 px из семи полей, карточка 380–580 px с
 * правой колонкой, занятой на треть. Стало: первая карточка около 600 px,
 * фильтры — ряд меню-стекла (pick.css), карточка около 250 px.
 *
 * Телефон (< 768 px) — решение 14.11.2026 без изменений по смыслу: липкая
 * полоса «Фильтры» и сортировка, поля — шторкой снизу; карточка — фото 88 px
 * сбоку, описание в 2 строки, цены, кнопка и ссылка; лучший врач, критерии
 * и последний отзыв скрыты.
 *
 * Свои классы (lst-*, lc*), а не прежние ms-docfilter / cline-card: те
 * держат ещё страницы «клиника × тема», плитки «Лечения» и фильтр блога,
 * а их правила в style.css и mobile-fixes.css стоят с !important.
 */
:root {
    --lc-line: #D0DEFC;
    --lc-line2: #E3EAF6;
    --lc-navy: #033E8C;
    --lc-blue: #0B4FA8;
    --lc-ink: #0A2B4A;
    --lc-text: #3A4A60;
    --lc-muted: #667085;
    --lc-soft: #EEF4FF;
    --lc-bg: #F3F6FC;
    --lc-green: #2C6B31;
    --lc-gsoft: #E8F5EA;
    --lc-grad: linear-gradient(135deg, #033E8C 0%, #0B4FA8 100%);
    --lc-sh: 0 1px 2px rgba(16, 24, 40, .04), 0 6px 16px rgba(83, 89, 154, .08);
}

/* ---------- 1 · заголовок ---------- */
.lst-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin: 4px 0 16px; }
.lst-head__main { flex: 1 1 520px; min-width: 0; }
/* Размер — единый стандарт H1 витрины (site.css, VISUAL-STANDARD): 32 / 26 px. */
.lst-head__h1 { margin: 0; font-size: 32px; line-height: 1.2; font-weight: 800; letter-spacing: -.4px; color: var(--lc-navy); text-wrap: balance; overflow-wrap: break-word; }
.lst-head .topic-def { margin: 8px 0 0; max-width: 760px; font-size: 16px; line-height: 1.45; color: var(--lc-text); }
.lst-head .listing-intro { margin: 8px 0 0; max-width: 760px; font-size: 16px; line-height: 1.45; color: var(--lc-text); text-align: left; }
.lst-head__links { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.lst-lnk { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; max-width: 100%; padding: 6px 12px 6px 14px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--lc-line); color: var(--lc-navy); font-size: 14.5px; font-weight: 700; line-height: 1.3; text-decoration: none; }
.lst-lnk:hover, .lst-lnk:focus-visible { color: var(--lc-navy); text-decoration: none; box-shadow: inset 0 0 0 1.5px var(--lc-blue); }
.lst-lnk > span { min-width: 0; overflow-wrap: anywhere; }
.lst-lnk svg { flex: none; color: var(--lc-blue); }

/* Шапка «опция 1» (владелец 27.11.2026; макет docs/design/listing/skeleton/
   head.html): H1 на всю ширину, ниже — короткий текст и переходы слева,
   «Коротко» справа карточкой в три колонки. Колонки тянутся до одной
   высоты: текст сверху, кнопки по низу — справа от текста нет пустоты, а
   отдельной полосы «Коротко» под шапкой больше нет. До 992 px — столбиком:
   «Коротко» под текстом своей обычной полосой (на телефоне — своей
   раскладкой из site.css). */
.lst-head--lead { display: block; }
.lst-head--lead .lst-head__h1 { margin: 0 0 10px; }
.lst-head--lead .lst-lead { margin: 0 0 12px; max-width: none; }
.lst-head__text { min-width: 0; }
.lst-head__aside { min-width: 0; }
.lst-head__aside .ic-facts { margin: 12px 0 0; }
/* «Коротко» подборки страны — «Цена на синем» (facts-blue.css, 27.11.2026).
   «Как мы выбираем» — как у полосы фактов: на компьютере она в шапке
   списка, в блоке — только на телефоне, где из шапки списка её убирают. */
.lst-head__aside .lst-kf { margin: 12px 0 0; }
@media (min-width: 768px) {
    .lst-kf .etb-kf__head .ic-hint { display: none; }
}
@media (min-width: 992px) {
    .lst-head__body { display: grid; grid-template-columns: minmax(0, 1fr) 560px; gap: 12px 28px; align-items: stretch; }
    .lst-head__body--solo { grid-template-columns: minmax(0, 1fr); }
    .lst-head__text { display: flex; flex-direction: column; justify-content: space-between; }
    .lst-head__text .lst-lead:last-child { margin-bottom: 0; }
    .lst-head__aside .ic-facts { margin: 0; height: 100%; display: flex; align-items: center; }
    .lst-head__aside .lst-kf { margin: 0; }
    /* «Цена на синем» ставит цену слева от фактов с 561 px карточки
       (facts-blue.css); в колонке 560 px цена уходила полосой наверх, блок
       вырастал вдвое и оставлял пустоту под текстом слева. */
    .lst-head__body--kf { grid-template-columns: minmax(0, 1fr) 600px; }
    .lst-head__aside .ic-facts__strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; padding: 6px 4px; row-gap: 0; }
    .lst-head__aside .ic-facts__f { justify-content: flex-start; align-items: flex-start; white-space: normal; margin-left: 0; border-left: 0; padding: 6px 10px; }
    .lst-head__aside .ic-facts__f--long { grid-column: 1 / -1; }
    /* В колонке ~180 px «от 5 000 до 26 350 USD» не влезает в строку, а
       site.css держит значения без переноса — здесь переносим по словам. */
    .lst-head__aside .ic-facts b,
    .lst-head__aside .ic-facts__note,
    .lst-head__aside .ic-facts__lbl,
    .lst-head__aside .ic-facts__pill { white-space: normal; overflow-wrap: anywhere; }
    .lst-head__aside .ic-facts__f > span:last-child { min-width: 0; }
    .lst-head__aside .ic-facts__i { padding-top: 1px; }
}

/* Основной текст подборки — под списком, на всю ширину (владелец 27.11.2026):
   заголовки — как у блоков подборки, текст — как вступление; межстрочный и
   абзацы — общий ритм (text-rhythm.css). */
.lst-text { margin: 32px 0 0; font-size: 16px; color: var(--lc-text); }
.lst-text h2 { margin: 1.5em 0 .38em; padding: 0; font-size: 22px; line-height: 1.25; font-weight: 700; color: var(--lc-navy); }
.lst-text h3 { margin: 1.3em 0 .38em; padding: 0; font-size: 18px; line-height: 1.3; font-weight: 700; color: var(--lc-navy); }
.lst-text > :first-child { margin-top: 0; }
.lst-text p, .lst-text li { font-size: 16px; color: var(--lc-text); }
.lst-text ul { margin: 0 0 .7em; padding-left: 1.25em; }
.lst-text li { margin: 0 0 .25em; list-style: disc; }
@media (max-width: 767.98px) {
    .lst-text h2 { font-size: 19px; }
    .lst-text h3 { font-size: 17px; }
    .lst-text p, .lst-text li { font-size: 15px; }
}

/* ---------- 3 · панель ---------- */
#clinioks.lst-bar { position: relative; z-index: 99; margin: 0 0 12px; padding: 12px 14px; border-radius: 16px; background: #fff; box-shadow: var(--lc-sh); }
.lst-bar__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.lst-bar__cnt { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; min-width: 0; }
.lst-bar__title--sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.lst-bar__title { margin: 0; color: var(--lc-ink); font-size: 20px; line-height: 1.3; font-weight: 800; }
.lst-bar__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.lst-bar__tools .ic-cur--bar { margin: 0; }
.lst-bar__sort .ic-pick--text .ic-pick__btn { padding-top: 6px; padding-bottom: 6px; }
.lst-bar__fields { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
/* Поле шириной по своему значению — оно видно целиком, без многоточия;
   ряд добирает строку целиком —
   пустых ячеек в последнем ряду нет при любом числе полей (2–8). */
.lst-bar__field { flex: 1 1 auto; min-width: 150px; max-width: 100%; }
.lst-bar__field .ic-pick__btn { min-height: 48px; padding-top: 5px; padding-bottom: 5px; background: rgba(238, 244, 255, .5); border-color: var(--lc-line2); }
.lst-bar__field .ic-pick.is-set .ic-pick__btn { background: var(--lc-soft); border-color: var(--lc-line); }
.lst-bar__field .ic-pick.is-set .ic-pick__val { color: var(--lc-navy); font-weight: 700; }
.lst-bar__sheet-head,
.lst-bar__sheet-cur,
.lst-bar__backdrop,
.ms-lbar { display: none; }

/* ---------- 4 · карточки ---------- */
.lst-list { display: grid; gap: 12px; margin: 0 0 8px; }

/* Две колонки: фото | суть. Кнопки — в нижнем ряду суть-колонки, рядом с
   ценами (заполнение 3, владелец 27.11.2026): третьей колонкой во всю высоту
   они стояли по центру, и над и под ними было пусто по 83–98 px. */
.lc { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px 18px; align-items: start; padding: 16px; border-radius: 16px; background: #fff; box-shadow: var(--lc-sh); color: var(--lc-ink); }

.lc__ph { position: relative; width: 112px; height: 112px; }
.lc__ph-link { display: block; width: 100%; height: 100%; border-radius: 14px; overflow: hidden; background: linear-gradient(160deg, #E6EEFC, #D7E3FA); }
.lc__ph-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lc__ph img.ic-flag.ic-flag--photo { right: 6px; bottom: 6px; width: 22px; height: 22px; }
.lc__ph .verified-mark { top: 6px; right: 6px; width: 24px; height: 24px; }
.lc__ph .verified-mark svg { width: 14px; height: 14px; }
.lc__ph .ic-photo-badges--overlay { top: 6px; left: 6px; right: 34px; gap: 4px; }

/* Плашки — строкой под именем и оценкой, вариант 1 (владелец, 24.11.2026):
   целиком, без многоточия; на фото они резались и закрывали лицо. Тень и
   размытие нужны только поверх фото — на белой плитке их нет. */
.lc .ic-photo-badges--row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.lc .ic-photo-badges--row .ic-photo-badge { padding: 3px 9px; font-size: 12px; box-shadow: none; backdrop-filter: none; }
.lc__ph .ic-photo-badge { padding: 2px 7px; font-size: 11px; }

.lc__main { min-width: 0; }
.lc__top { display: flex; justify-content: space-between; align-items: baseline; gap: 4px 12px; }
.lc__name { margin: 0; min-width: 0; font-size: 19px; line-height: 1.3; font-weight: 700; color: var(--lc-navy); overflow-wrap: anywhere; }
.lc__name a { color: inherit; text-decoration: none; }
.lc__name a:hover { color: var(--lc-blue); text-decoration: none; }
.lc__rt { display: flex; flex-direction: column; align-items: flex-end; flex: none; max-width: 50%; }
.lc__rt .ic-rating { font-size: 13.5px; }
.lc__rcnt { color: var(--lc-muted); font-size: 12.5px; line-height: 1.3; text-align: right; }
.lc__loc { margin-top: 2px; color: var(--lc-muted); font-size: 13.5px; line-height: 1.4; overflow-wrap: anywhere; }
.lc__loc a { color: var(--lc-blue); font-weight: 700; text-decoration: none; }
.lc__loc a:hover { text-decoration: underline; }
/* Клиника в карточке врача — опция 2.2 «в два ряда» (19.11.2026): фото,
   название, под ним город, страна и JCI клиники. */
.lc__loc.lc__loc--clinic { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.lc__cl-ph { flex: none; width: 36px; height: 36px; border-radius: 8px; overflow: hidden; background: var(--lc-soft); }
.lc__cl-ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lc__cl-in { min-width: 0; display: flex; flex-direction: column; }
.lc__cl-in > a { color: var(--lc-ink); font-size: 14.5px; line-height: 19px; }
.lc__cl-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12.5px; line-height: 17px; }
.lc__cl-sub b { padding: 0 6px; border-radius: 5px; background: var(--lc-gsoft); color: var(--lc-green); font-size: 11.5px; line-height: 16px; font-weight: 700; }

/* Строка фактов (клиника) и плашки (врач). */
.lc__fl { display: flex; flex-wrap: wrap; gap: 4px 6px; margin-top: 6px; }
.lc__fl span { padding: 2px 8px; border-radius: 6px; background: var(--lc-bg); color: var(--lc-text); font-size: 12.5px; line-height: 18px; font-weight: 600; }
.lc__fl span.is-title { background: var(--lc-soft); color: var(--lc-navy); }
.lc__fl span.is-ok { background: var(--lc-gsoft); color: var(--lc-green); }

/* Языки врача — в строке фактов, с подписью «Языки:» тише значения. */
.lc__langs em { font-style: normal; color: var(--lc-muted); }

/* «Три преимущества» вместо краткого описания (решение 30.10.2026): строки
   с салатовой галкой, как в шапке страницы клиники. */
.lc__adv { display: grid; gap: 2px; margin: 6px 0 0; padding: 0; list-style: none; color: var(--lc-text); font-size: 14.5px; line-height: 21px; }
.lc__adv li { position: relative; min-width: 0; padding-left: 22px; overflow-wrap: anywhere; }
.lc__adv li::before { content: ""; position: absolute; left: 0; top: 3px; width: 15px; height: 15px; border-radius: 50%; background: var(--lc-gsoft); }
.lc__adv li::after { content: ""; position: absolute; left: 5px; top: 7px; width: 5px; height: 3px; border-left: 2px solid var(--lc-green); border-bottom: 2px solid var(--lc-green); transform: rotate(-45deg); }

/* Нижний ряд: цены темы и «Врач по теме» | кнопки. Черта над рядом —
   во всю ширину, и над кнопками тоже. */
.lc__low { display: grid; grid-template-columns: minmax(0, 1fr) 272px; gap: 18px; align-items: center; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--lc-line2); }
.lc__low:not(:has(.lc__split)) { grid-template-columns: 272px; justify-content: end; }
.lc__split { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 18px; align-items: center; }
.lc__split.is-solo { grid-template-columns: minmax(0, 1fr); }
.lc__pr { min-width: 0; }
.lc__pr-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0 12px; padding: 3px 0; font-size: 14px; line-height: 20px; }
.lc__pr-row + .lc__pr-row { border-top: 1px dashed var(--lc-line2); }
.lc__pr-row span { flex: 1 1 160px; min-width: 0; color: var(--lc-text); overflow-wrap: anywhere; }
.lc__pr-row b { margin-left: auto; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* «Врач по теме» — к правому краю, под оценкой: по левому краю колонки он
   не доходил до края на 30–40 px (владелец 27.11.2026). */
.lc__doc { display: flex; align-items: center; gap: 10px; min-width: 0; justify-self: end; }
.lc__ava { flex: none; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: var(--lc-soft); }
.lc__ava img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lc__doc-in { min-width: 0; }
.lc__doc-l { color: var(--lc-muted); font-size: 12px; line-height: 15px; }
.lc__doc-n { display: block; color: var(--lc-ink); font-size: 14.5px; line-height: 19px; font-weight: 700; overflow-wrap: anywhere; text-decoration: none; }
.lc__doc-n:hover { color: var(--lc-blue); text-decoration: none; }
.lc__doc-e { color: var(--lc-muted); font-size: 12.5px; line-height: 16px; }

.lc__act { display: grid; gap: 8px; min-width: 0; }
.lc__btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 6px 14px; border: 0; border-radius: 12px; background: var(--lc-grad); color: #fff; font: 700 14.5px/18px "Open Sans", "Open Sans Fallback", sans-serif; text-align: center; text-decoration: none; cursor: pointer; }
.lc__btn:hover, .lc__btn:focus-visible { color: #fff; text-decoration: none; filter: brightness(1.08); }
.lc__btn--2 { background: #fff; color: var(--lc-navy); box-shadow: inset 0 0 0 1.5px var(--lc-line); }
.lc__btn--2:hover, .lc__btn--2:focus-visible { color: var(--lc-navy); filter: none; box-shadow: inset 0 0 0 1.5px var(--lc-blue); }

/* Отзывы — строкой под карточкой, только когда они есть. */
.lc__extra { grid-column: 2 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding-top: 10px; border-top: 1px solid var(--lc-line2); }
.lc__crit { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.lc__crit span { padding: 2px 8px; border-radius: 6px; background: var(--lc-soft); color: var(--lc-navy); font-size: 12.5px; line-height: 18px; font-weight: 600; }
.lc__rev { flex: 1 1 100%; min-width: 0; margin: 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; color: var(--lc-text); font-size: 13.5px; line-height: 19px; overflow-wrap: anywhere; }
.lc__rev b { color: var(--lc-ink); }

/* ---------- 5 · плитки под списком ---------- */
.lst-tiles.home-dirs--listing { margin-top: 28px; }

/* ---------- планшет и узкий компьютер ---------- */
@media (min-width: 768px) and (max-width: 1100px) {
    .lc { grid-template-columns: 96px minmax(0, 1fr); }
    .lc__ph { width: 96px; height: 96px; }
    .lc__low { display: block; }
    .lc__act { display: flex; flex-wrap: wrap; margin-top: 12px; }
    .lc__act .lc__btn { flex: 1 1 200px; }
    .lc__split { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .lc__doc { justify-self: start; }
    .lc__extra { grid-column: 1 / -1; }
}

/* ---------- телефон (решение 14.11.2026) ---------- */
@media (max-width: 767.98px) {
    .lst-head { margin: 0 0 12px; }
    .lst-head__h1 { font-size: 26px; }
    .lst-head .topic-def, .lst-head .listing-intro { font-size: 15px; }
    .lst-lnk { font-size: 14px; }

    /* Над полосой остаётся «N клиник»: валюта ушла в шторку, сортировка — в
       полосу, «Как мы выбираем» — в полосу блока «Коротко». */
    #clinioks.lst-bar { margin: 0; padding: 4px 0; border-radius: 0; background: none; box-shadow: none; z-index: auto; }
    .lst-bar__tools,
    .lst-bar__cnt > .ic-hint { display: none; }
    .lst-bar__cnt .ic-hint { position: static; }

    /* Полоса. top — низ стеклянной шапки (8 + 56 px, header.css). */
    .ms-lbar { position: sticky; top: 64px; z-index: 50; display: flex; align-items: center; gap: 8px; margin: 0 0 10px; padding: 8px 0; background: #f3f6fc; }
    .ms-lbar__filters { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border: 1px solid #dfe6f2; border-radius: 999px; background: #fff; color: #033e8c; font: 600 14px/1 "Open Sans", "Open Sans Fallback", sans-serif; }
    .ms-lbar__count { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #033e8c; color: #fff; font-size: 11px; }
    .ms-lbar__sort { flex: 1 1 0; min-width: 0; }
    .ms-lbar__sort .ic-pick--text .ic-pick__btn { height: 40px; padding: 0 28px 0 12px; border: 1px solid #dfe6f2; border-radius: 999px; background: #fff; }
    .ms-lbar__sort .ic-pick--text .ic-pick__chev { right: 8px; }
    .ms-lbar__sort .ic-pick__menu { left: auto; right: 0; }

    /* Шторка: те же поля, с подписями, по одному в строку. Слой — выше шапки
       (у шапки 9000). */
    .lst-bar__fields { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999; flex-direction: column; flex-wrap: nowrap; gap: 8px; max-height: 85vh; overflow-y: auto; margin: 0; padding: 0 16px calc(20px + env(safe-area-inset-bottom, 0px)); background: #fff; border-radius: 18px 18px 0 0; box-shadow: 0 -8px 30px rgba(10, 40, 90, .2); transform: translateY(100%); visibility: hidden; transition: transform .25s ease, visibility .25s; }
    #clinioks.is-sheet-open .lst-bar__fields { transform: none; visibility: visible; }
    .lst-bar__backdrop { display: block; position: fixed; inset: 0; z-index: 9998; background: rgba(10, 25, 50, .45); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
    #clinioks.is-sheet-open .lst-bar__backdrop { opacity: 1; visibility: visible; }
    body.ic-filters-open { overflow: hidden; }
    body.ic-filters-open .mob-0tab { display: none !important; }

    .lst-bar__sheet-head { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; padding: 14px 0 6px; background: #fff; }
    .lst-bar__sheet-title { font-size: 17px; font-weight: 700; color: #1b2a41; }
    .lst-bar__sheet-close { width: 36px; height: 36px; border: 0; border-radius: 50%; background: #eef2f9; color: #1b2a41; font-size: 22px; line-height: 1; }
    .lst-bar__field { flex: 0 0 auto; width: 100%; }
    /* Открытый список — в потоке шторки, а не поверх соседнего поля: шторка
       сама прокручивается, и меню не обрезается её краем. */
    .lst-bar__fields .ic-pick__menu { position: static; width: auto; max-width: none; max-height: none; margin-top: 4px; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
    .lst-bar__sheet-cur { display: block; margin-top: 4px; }
    .lst-bar__sheet-cur .ic-cur { display: flex !important; align-items: center; gap: 8px; height: auto; margin: 0; padding: 0; background: none; border: 0; }
    .lst-bar__sheet-cur .ic-cur__label { display: inline !important; margin-right: auto; font-size: 12.5px; color: #5f6f86; }
    .lst-bar__sheet-cur .ic-cur__btn { height: 40px; padding: 0 16px; font-size: 14px; }

    /* Карточка: фото сбоку, рядом имя, место и оценка; ниже — факты,
       описание в 2 строки, цены, кнопка и ссылка. Колонки раскрыты
       (display: contents), чтобы их части встали в одну сетку. */
    .lst-list { gap: 10px; }
    .lc { grid-template-columns: 88px minmax(0, 1fr); gap: 4px 12px; padding: 12px; }
    .lc__main { display: contents; }
    .lc__ph { grid-row: span 3; width: 88px; height: 88px; }
    .lc__ph-link { border-radius: 10px; }
    .lc__ph .ic-photo-badges--overlay { right: 6px; }
    .lc__top { display: block; }
    .lc__name { font-size: 16px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .lc__rt { align-items: flex-start; max-width: none; margin-top: 2px; }
    .lc__rcnt { display: none; }
    .lc__loc { margin-top: 0; font-size: 12.5px; }
    .lc__fl { grid-column: 1 / -1; }
    /* Нижний ряд раскрыт: цены и кнопки встают в сетку карточки, как прежде. */
    .lc__low { display: contents; }
    /* На телефоне преимуществ два, третье скрыто. */
    .lc__adv { grid-column: 1 / -1; margin-top: 6px; font-size: 13.5px; line-height: 1.42; }
    .lc__adv li:nth-child(n+3) { display: none; }
    .lc__split { grid-column: 1 / -1; display: block; margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--lc-line2); }
    .lc__split .lc__doc { display: none; }
    /* Цен нет, а врач на телефоне скрыт — от строки оставалась черта над
       пустотой (Koç в «Рак простаты в Турции», бой 15.11.2026). */
    .lc__split:not(:has(.lc__pr)) { display: none; }
    .lc__pr-row { font-size: 13px; line-height: 1.35; }
    .lc__pr-row span { flex-basis: 150px; }
    .lc__act { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
    .lc__btn { min-height: 42px; }
    /* Вторая кнопка — ссылкой с тем же текстом: две равные кнопки спорили
       за нажатие (решение 14.11.2026). */
    .lc__btn--2 { min-height: 0; padding: 4px; background: none; box-shadow: none; font-size: 13.5px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
    .lc__btn--2:hover, .lc__btn--2:focus-visible { box-shadow: none; text-decoration: underline; }
    .lc__extra { display: none; }

    /* Карточка без цен (врач на телефоне скрыт): последняя строка фото не должна
       растягивать карточку пустотой. */
    .lc:not(:has(.lc__pr)) .lc__ph { grid-row: span 2; }

    /* Плашки — в колонке рядом с фото, под именем и оценкой; длинные
       переносятся. Клиника при плашках — во всю ширину под фото: в узкой
       колонке третьей строкой её название ломалось на три строки, а под
       фото оставалась пустота. */
    .lc .ic-photo-badges--row { gap: 4px; margin-top: 4px; }
    .lc .ic-photo-badges--row .ic-photo-badge { font-size: 11.5px; padding: 2px 8px; }
    .lc:has(.ic-photo-badges--row) .lc__top,
    .lc:has(.ic-photo-badges--row) .ic-photo-badges--row { grid-column: 2; }
    .lc:has(.ic-photo-badges--row) .lc__loc { grid-column: 1 / -1; margin-top: 8px; }
    .lc:has(.ic-photo-badges--row) .lc__ph { grid-row: span 2; }
}

/* «Рекомендуемые» целиком: на 360 px полосе 300 px, на 320 — 260, и со
   стрелкой значение обрезалось многоточием. Пилюля и без стрелки читается
   кнопкой. */
@media (max-width: 389.98px) {
    .ms-lbar__sort .ic-pick--text .ic-pick__btn { padding: 0 10px; }
    .ms-lbar__sort .ic-pick--text .ic-pick__val { font-size: 13px; }
    .ms-lbar__sort .ic-pick__chev { display: none; }
}

@media (max-width: 359.98px) {
    .ms-lbar__filters { padding: 0 10px; font-size: 13.5px; }
    .ms-lbar__filters svg { display: none; }
    .lst-lnk { font-size: 13.5px; }
}

/* «Лечит:» в плитке врача — до трёх тем ссылками (Л22, владелец 27.11.2026,
   вариант (а)): строка под специальностью, вид подписи — как «Языки:». */
.lc__treats { margin: 6px 0 0; color: var(--lc-text); font-size: 13px; line-height: 18px; overflow-wrap: anywhere; }
.lc__treats em { font-style: normal; color: var(--lc-muted); }
.lc__treats a { color: inherit; text-decoration: underline; text-decoration-color: var(--lc-line); text-underline-offset: 2px; }
.lc__treats a:hover { text-decoration-color: currentColor; }
@media (max-width: 767.98px) {
    .lc__treats { grid-column: 1 / -1; }
}

/* ---------- «Как мы выбираем» строкой (вопрос 7, вариант 2, 27.11.2026) ---------- */
.lst-crit { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 10px 0 0; padding: 0; list-style: none; }
.lst-crit li { position: relative; padding-left: 20px; color: var(--lc-text); font-size: 13.5px; font-weight: 600; line-height: 1.4; }
.lst-crit li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--lc-blue); font-weight: 800; }
@media (max-width: 767.98px) {
    /* На телефоне панель без подложки — строка стоит над полосой «Фильтры». */
    .lst-crit { gap: 4px 14px; margin: 4px 0 6px; }
    .lst-crit li { font-size: 13px; }
}

/* ---------- связи подборки строками (вопрос 7, вариант 2; Л23) ---------- */
.lst-links { margin: 0; padding: 8px 24px; border-radius: 16px; background: #fff; box-shadow: var(--lc-sh); }
.lst-links__row { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 8px 16px; align-items: center; padding: 12px 0; }
.lst-links__row + .lst-links__row { border-top: 1px solid var(--lc-line2); }
.lst-links__label { margin: 0; color: var(--lc-ink); font-size: 15px; font-weight: 800; line-height: 1.35; }
.lst-links__items { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
.lst-links__pill { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; min-height: 36px; padding: 4px 14px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--lc-line); color: var(--lc-navy); font-size: 14px; font-weight: 600; line-height: 1.3; text-decoration: none; overflow-wrap: anywhere; }
.lst-links__pill small { color: var(--lc-muted); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.lst-links__pill:hover { box-shadow: inset 0 0 0 1.5px var(--lc-blue); color: var(--lc-navy); text-decoration: none; }
.lst-links__all { padding: 0 6px; color: var(--lc-navy); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 767.98px) {
    .lst-links { padding: 4px 16px; }
    .lst-links__row { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- малая подборка: другие страны плитками (вопрос 8, вариант 2) ---------- */
.lst-near { margin: 16px 0 0; padding: 20px 24px; border-radius: 16px; background: #fff; box-shadow: var(--lc-sh); }
.lst-near__title { margin: 0 0 12px; color: var(--lc-ink); font-size: 18px; font-weight: 800; line-height: 1.3; }
.lst-near__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.lst-near__tile { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 12px 14px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px var(--lc-line); color: var(--lc-ink); text-decoration: none; }
.lst-near__tile b { font-size: 15px; overflow-wrap: anywhere; }
.lst-near__tile small { color: var(--lc-muted); font-size: 13px; font-weight: 600; }
.lst-near__tile:hover { box-shadow: inset 0 0 0 1.5px var(--lc-blue); color: var(--lc-ink); text-decoration: none; }
@media (max-width: 767.98px) {
    .lst-near { padding: 16px; }
    .lst-near__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
