/* Сгенерировано scope_css.py из sanatoriums.css вёрстки 2026 — правьте исходник и пересобирайте. */

/* ================= sanatoriums.css ================= */
.p26.p26--sanatoriums .shero{ --bg-h:100%; position:relative; }
.p26.p26--sanatoriums .shero__in{ display:flex; flex-direction:column; align-items:flex-start; min-height:746px; padding-top:54px; padding-bottom:74px; }
.p26.p26--sanatoriums .shero--short .shero__in{ min-height:652px; }
.p26.p26--sanatoriums .shero__text{ position:relative; z-index:1; margin-block:auto; max-width:786px; }
.p26.p26--sanatoriums .shero__title{ font-size:64px; line-height:64px; font-weight:700; hyphens:auto; overflow-wrap:break-word; }
.p26.p26--sanatoriums .shero__sub{ max-width:729px; margin-top:30px; font-size:20px; line-height:27px; color:var(--slate); }
.p26.p26--sanatoriums .shero__btn{ margin-top:30px; height:62px; padding:0 12px; }
.p26.p26--sanatoriums .shero__pic{ position:absolute; top:34px; left:calc(50% + 15px); width:calc(50% - 15px); height:572px; max-width:none; object-fit:cover; border-radius:var(--r); }
.p26.p26--sanatoriums .ssearch{ display:flex; gap:10px; margin-top:30px; max-width:697px; }
.p26.p26--sanatoriums .ssearch__field{ display:flex; align-items:center; gap:10px; flex:1 1 auto; min-width:0; height:60px; padding:0 18px; border:1px solid transparent; border-radius:var(--r); background: linear-gradient(#F1F7FE, #F1F7FE) padding-box, linear-gradient(180deg, #D0E1F9, rgba(10,92,221,.03)) border-box; cursor:text; }
.p26.p26--sanatoriums .ssearch__field:focus-within{ border-color:var(--blue); background:#F1F7FE; }
.p26.p26--sanatoriums .ssearch__field img{ width:18px; height:18px; flex:none; }
.p26.p26--sanatoriums .ssearch__input{ flex:1 1 auto; min-width:0; height:100%; font-size:16px; color:var(--ink); background:none; }
.p26.p26--sanatoriums .ssearch__input::placeholder{ color:var(--slate); }
.p26.p26--sanatoriums .ssearch__input:focus-visible{ outline:none; }
.p26.p26--sanatoriums .ssearch__btn{ flex:none; width:96px; height:60px; font-weight:600; }
.p26.p26--sanatoriums .scatalog{ padding-top:80px; }
.p26.p26--sanatoriums .scatalog__title{ font-size:40px; line-height:40px; font-weight:700; }
.p26.p26--sanatoriums .scatalog__found{ margin-top:12px; font-size:16px; color:var(--slate); }
.p26.p26--sanatoriums .scatalog__found a{ color:var(--blue); text-decoration:underline; }
.p26.p26--sanatoriums .scards__empty{ margin-top:24px; font-size:18px; color:var(--slate); }
.p26.p26--sanatoriums .scards{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:30px; margin-top:60px; }
.p26.p26--sanatoriums .scard .ccard__name{ font-weight:600; }
.p26.p26--sanatoriums .scard .ccard__name a{ transition:color .18s ease; }
.p26.p26--sanatoriums .scard .ccard__name a:hover{ color:var(--blue); }
.p26.p26--sanatoriums .scard .ccard__media{ display:block; }
.p26.p26--sanatoriums .scard .ccard__media img{ transition:transform .5s ease; }
.p26.p26--sanatoriums .scard .ccard__media:hover img{ transform:scale(1.03); }
.p26.p26--sanatoriums .sabout{ padding-top:80px; }
.p26.p26--sanatoriums .sabout__in{ display:flex; align-items:flex-start; gap:50px; }
.p26.p26--sanatoriums .sabout__lead{ flex:1 1 0; min-width:0; max-width:838px; font-size:32px; line-height:42px; font-weight:600; }
.p26.p26--sanatoriums .sabout__info{ flex:1 1 0; min-width:0; max-width:838px; display:flex; flex-direction:column; gap:50px; }
.p26.p26--sanatoriums .sabout__h{ max-width:789px; font-size:20px; line-height:26px; font-weight:600; }
.p26.p26--sanatoriums .sabout__p{ max-width:791px; margin-top:20px; font-size:16px; line-height:24px; }
.p26.p26--sanatoriums .smap{ padding-top:80px; }
.p26.p26--sanatoriums .smap__box{ position:relative; height:651px; border-radius:18px; overflow:hidden; background:#E8EEF5; }
.p26.p26--sanatoriums .smap__map{ position:absolute; inset:0; overflow:hidden; }
.p26.p26--sanatoriums .smap__img{ width:100%; height:100%; max-width:none; object-fit:none; object-position:50% 50%; }
.p26.p26--sanatoriums .smap__pin{ position:absolute; left:calc(50% - 218px); top:calc(50% + 101px); display:flex; align-items:center; justify-content:center; width:35px; height:35px; border:1px solid var(--blue); border-radius:50%; }
.p26.p26--sanatoriums .smap__pin::before{ content:''; position:absolute; inset:4px; border-radius:50%; background:var(--blue); }
.p26.p26--sanatoriums .smap__pin img{ position:relative; width:17px; height:17px; }
.p26.p26--sanatoriums .smap__card{ position:absolute; left:0; top:0; bottom:0; z-index:1; display:flex; align-items:center; width:540px; padding:40px 40px 40px 68px; background:linear-gradient(180deg, rgba(87,111,146,.51) 0%, #576F92 100%); backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px); color:#fff; }
.p26.p26--sanatoriums .scontacts{ display:flex; flex-direction:column; gap:30px; }
.p26.p26--sanatoriums .scontacts__h{ display:flex; align-items:center; gap:10px; font-size:20px; line-height:26px; font-weight:600; }
.p26.p26--sanatoriums .scontacts__h img{ width:24px; height:24px; flex:none; }
.p26.p26--sanatoriums .scontacts__v{ margin-top:20px; font-size:16px; line-height:24px; }
.p26.p26--sanatoriums .scontacts__v--row{ display:flex; flex-wrap:wrap; gap:0 10px; }
.p26.p26--sanatoriums .scontacts__v a:hover{ text-decoration:underline; }
.p26.p26--sanatoriums .blegend{ padding-top:80px; }
.p26.p26--sanatoriums .blegend__in{ display:flex; align-items:flex-start; gap:163px; }
.p26.p26--sanatoriums .blegend__img{ flex:0 0 679px; width:679px; height:578px; object-fit:cover; border-radius:var(--r); }
.p26.p26--sanatoriums .blegend__text{ flex:1 1 auto; min-width:0; max-width:838px; }
.p26.p26--sanatoriums .blegend__lead{ font-size:32px; line-height:45px; font-weight:500; }
.p26.p26--sanatoriums .blegend__p{ margin-top:50px; font-size:20px; line-height:28px; }
.p26.p26--sanatoriums .bplace{ padding-top:80px; }
.p26.p26--sanatoriums .bplace__in{ display:flex; align-items:flex-start; justify-content:space-between; gap:50px; }
.p26.p26--sanatoriums .bplace__text{ flex:0 1 838px; min-width:0; }
.p26.p26--sanatoriums .bplace__title{ font-size:32px; line-height:42px; font-weight:600; }
.p26.p26--sanatoriums .bplace__p{ margin-top:50px; font-size:16px; line-height:24px; }
.p26.p26--sanatoriums .bplace__pics{ flex:0 1 790px; min-width:0; display:flex; gap:10px; }
.p26.p26--sanatoriums .bplace__pics img{ height:332px; min-width:0; object-fit:cover; border-radius:var(--r); }
.p26.p26--sanatoriums .bplace__pics img:nth-child(1){ flex:471 1 0; }
.p26.p26--sanatoriums .bplace__pics img:nth-child(2){ flex:309 1 0; }
.p26.p26--sanatoriums .bsights{ padding-top:80px; }
.p26.p26--sanatoriums .bsights__viewport{ overflow:hidden; padding-left:max(var(--pad), calc((100% - var(--maxw)) / 2)); }
.p26.p26--sanatoriums .bsights__track{ display:flex; gap:30px; transition:transform .45s cubic-bezier(.4,0,.2,1); }
.p26.p26--sanatoriums .bslide{ flex:0 0 827px; margin:0; }
.p26.p26--sanatoriums .bslide__img{ width:100%; height:476px; object-fit:cover; border-radius:var(--r); }
.p26.p26--sanatoriums .bslide__text{ max-width:822px; margin-top:30px; font-size:16px; line-height:24px; }
.p26.p26--sanatoriums .bsights__nav{ display:flex; gap:5px; margin-top:30px; }
@media (max-width:1700px){
  .p26.p26--sanatoriums .shero__text{ max-width:calc(50% - 40px); }
  .p26.p26--sanatoriums .blegend__in{ gap:80px; }
  .p26.p26--sanatoriums .blegend__img{ flex-basis:560px; width:560px; height:520px; }
}
@media (max-width:1500px){
  .p26.p26--sanatoriums .shero__title{ font-size:52px; line-height:1.06; }
  .p26.p26--sanatoriums .shero__sub{ font-size:18px; line-height:25px; }
  .p26.p26--sanatoriums .scards{ grid-template-columns:repeat(2, minmax(0,1fr)); }
  .p26.p26--sanatoriums .scatalog__title{ font-size:36px; line-height:40px; }
  .p26.p26--sanatoriums .sabout__lead, .p26.p26--sanatoriums .blegend__lead{ font-size:26px; line-height:36px; }
  .p26.p26--sanatoriums .blegend__img{ flex-basis:460px; width:460px; height:460px; }
  .p26.p26--sanatoriums .blegend__p{ margin-top:32px; font-size:18px; line-height:26px; }
  .p26.p26--sanatoriums .bplace__pics img{ height:280px; }
  .p26.p26--sanatoriums .bslide{ flex-basis:640px; }
  .p26.p26--sanatoriums .bslide__img{ height:368px; }
}
@media (max-width:1300px){
  .p26.p26--sanatoriums .smap__card{ width:440px; padding-left:48px; }
}
@media (max-width:1200px){
  .p26.p26--sanatoriums .shero__in, .p26.p26--sanatoriums .shero--short .shero__in{ min-height:0; padding-bottom:0; }
  .p26.p26--sanatoriums .shero__text{ max-width:none; margin-top:40px; align-self:stretch; min-width:0; }
  .p26.p26--sanatoriums .shero__pic{ position:static; display:block; width:calc(100% - var(--pad) * 2); height:auto; aspect-ratio:945 / 572; margin:40px auto 0; }
  .p26.p26--sanatoriums .sabout__in, .p26.p26--sanatoriums .blegend__in, .p26.p26--sanatoriums .bplace__in{ flex-direction:column; gap:40px; }
  .p26.p26--sanatoriums .sabout__lead, .p26.p26--sanatoriums .sabout__info, .p26.p26--sanatoriums .blegend__text, .p26.p26--sanatoriums .bplace__text{ max-width:none; flex-basis:auto; }
  .p26.p26--sanatoriums .blegend__img{ flex-basis:auto; width:100%; height:auto; aspect-ratio:679 / 578; max-height:520px; }
  .p26.p26--sanatoriums .bplace__pics{ flex-basis:auto; width:100%; }
}
@media (max-width:1024px){
  .p26.p26--sanatoriums .shero__in{ padding-top:32px; }
  .p26.p26--sanatoriums .shero__text{ margin-top:28px; }
  .p26.p26--sanatoriums .shero__title{ font-size:clamp(30px,5vw,52px); line-height:1.1; }
  .p26.p26--sanatoriums .shero__sub{ margin-top:20px; font-size:17px; line-height:24px; }
  .p26.p26--sanatoriums .ssearch{ margin-top:24px; }
  .p26.p26--sanatoriums .scatalog, .p26.p26--sanatoriums .sabout, .p26.p26--sanatoriums .smap, .p26.p26--sanatoriums .blegend, .p26.p26--sanatoriums .bplace, .p26.p26--sanatoriums .bsights{ padding-top:56px; }
  .p26.p26--sanatoriums .scards{ margin-top:32px; gap:20px; }
  .p26.p26--sanatoriums .sabout__lead, .p26.p26--sanatoriums .blegend__lead{ font-size:clamp(19px,3vw,26px); line-height:1.4; }
  .p26.p26--sanatoriums .bplace__title{ font-size:clamp(24px,4vw,32px); line-height:1.3; }
  .p26.p26--sanatoriums .bplace__p{ margin-top:24px; }
  .p26.p26--sanatoriums .smap__box{ height:auto; display:flex; flex-direction:column; }
  .p26.p26--sanatoriums .smap__card{ position:static; width:100%; padding:32px; background:var(--slate); backdrop-filter:none; -webkit-backdrop-filter:none; }
  .p26.p26--sanatoriums .smap__map{ position:relative; inset:auto; height:360px; }
  .p26.p26--sanatoriums .bsights__viewport{ overflow-x:auto; scroll-snap-type:x mandatory; scroll-padding-left:var(--pad); padding-right:var(--pad); scrollbar-width:thin; }
  .p26.p26--sanatoriums .bsights__track{ transform:none !important; gap:20px; }
  .p26.p26--sanatoriums .bslide{ flex-basis:min(520px, 78vw); scroll-snap-align:start; }
  .p26.p26--sanatoriums .bslide__img{ height:auto; aspect-ratio:827 / 476; }
  .p26.p26--sanatoriums .bslide__text{ margin-top:16px; }
  .p26.p26--sanatoriums .bsights__nav{ display:none; }
}
@media (max-width:768px){
  .p26.p26--sanatoriums .scards{ grid-template-columns:minmax(0,1fr); }
}
@media (max-width:560px){
  .p26.p26--sanatoriums .shero__title{ font-size:clamp(24px,8vw,30px); }
  .p26.p26--sanatoriums .ssearch__field{ padding:0 14px; }
  .p26.p26--sanatoriums .ssearch__btn{ width:auto; padding:0 18px; }
  .p26.p26--sanatoriums .shero__btn{ width:100%; height:52px; }
  .p26.p26--sanatoriums .scontacts{ gap:24px; }
  .p26.p26--sanatoriums .scontacts__h{ font-size:18px; }
  .p26.p26--sanatoriums .scontacts__v{ margin-top:12px; }
  .p26.p26--sanatoriums .smap__card{ padding:24px; }
  .p26.p26--sanatoriums .smap__map{ height:300px; }
  .p26.p26--sanatoriums .bplace__pics img{ height:200px; }
}

/* ---------- дополнения для прода: детальная санатория (news.detail/.default шаблона sanatories) ---------- */
/* лид и логотипы наград — одна колонка слева */
.p26.p26--sanatoriums .sabout__main{ flex:1 1 0; min-width:0; max-width:838px; }
.p26.p26--sanatoriums .sabout__main .sabout__lead{ max-width:none; }
.p26.p26--sanatoriums .sabout__awards{ display:flex; flex-wrap:wrap; align-items:center; gap:20px; margin-top:30px; }
.p26.p26--sanatoriums .sabout__awards img{ width:auto; height:64px; border-radius:var(--r); }
/* карта — виджет Яндекса по адресу вместо картинки макета */
.p26.p26--sanatoriums .smap__map iframe{ display:block; width:100%; height:100%; border:0; }
/* фотографии — слайдер «Борового» с заголовком */
.p26.p26--sanatoriums .sgallery__title{ margin-bottom:40px; font-size:32px; line-height:42px; font-weight:600; }
@media (max-width:1200px){
  .p26.p26--sanatoriums .sabout__main{ max-width:none; flex-basis:auto; }
}
@media (max-width:1024px){
  .p26.p26--sanatoriums .sgallery__title{ margin-bottom:24px; font-size:clamp(24px,4vw,32px); line-height:1.3; }
}
