/*
 * Новый шаблон услуги (single-service-new.php). Подключается только на страницах с этим шаблоном.
 * Стиль сайта venesa.ru: Prata + Jost, чёрный текст, нейтральный серый сайта #f7f7f7, рамки #e5e7e9, коричневый #6e625b,
 * кнопки 4px, прямые углы блоков. Все правила под .svc2, чтобы не задеть остальной сайт.
 * У темы глобально стоит img{height:auto!important}, поэтому у картинок в рамках высота задаётся с !important.
 */
.svc2 {
  --ink: #000;
  --muted: #6a6b6f;
  --brown: #6e625b;
  --brown-deep: #4a423d;
  --grey: #f7f7f7;
  --grey-hover: #efefef;
  --line: #e5e7e9;
  --chip-line: #d7d7d7;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  color: var(--ink);
  font-family: "Jost", sans-serif;
  font-size: 18px;
  line-height: 1.5;
  padding-bottom: 8px;
}

.svc2 *,
.svc2 *::before,
.svc2 *::after {
  box-sizing: border-box;
}

.svc2 img {
  max-width: 100% !important;
}

.svc2 h1,
.svc2 h2,
.svc2 h3 {
  margin: 0;
  font-family: "Prata", Georgia, serif;
  font-weight: 400;
  color: var(--ink);
  text-align: left;
  text-transform: none;
  text-wrap: balance;
}

.svc2 h2 {
  font-size: clamp(26px, 2.6vw, 32px);
  line-height: 1.2;
  margin-bottom: clamp(18px, 2.4vw, 28px);
}

.svc2 h3 {
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.3;
}

.svc2 p {
  margin: 0;
}

.svc2 :focus-visible {
  outline: 2px solid var(--brown);
  outline-offset: 3px;
}

.svc2-sec {
  padding-top: clamp(40px, 5.5vw, 72px);
  scroll-margin-top: 100px;
}

/* первый блок сразу под «Содержанием»: серая плашка уже отделяет, полный отступ выглядит дырой */
.svc2-toc+.svc2-sec {
  padding-top: clamp(28px, 3vw, 40px);
}

.svc2-sec--tight {
  padding-top: 12px;
}

.svc2-muted {
  color: var(--muted);
  font-size: 16px;
}

.svc2-note {
  margin-top: 18px !important;
  color: var(--muted);
  font-size: 16px;
}

/* кнопки записи: как «Отправить» в форме заявки сайта (чёрная, при наведении #8b7a73) */
.svc2 .svc2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto !important;
  height: auto !important;
  min-height: 48px;
  margin: 0;
  padding: 12px 30px;
  border: 0;
  border-radius: 4px;
  background: #000;
  color: #fff;
  font: 600 16px/1 "Jost", sans-serif;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background .2s;
}

.svc2 .svc2-btn:hover {
  background: #8b7a73;
}

/* кнопка на фото баннера: белая, на фото так лучше видна */
.svc2 .svc2-btn--light {
  background: #fff;
  color: var(--ink);
}

.svc2 .svc2-btn--light:hover {
  background: var(--grey);
}

/* баннер */
.svc2-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(300px, 34vw, 420px);
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.svc2-hero>img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -2;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

.svc2-hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(0, 0, 0, .62), rgba(0, 0, 0, .08) 65%);
}

.svc2-hero-in {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
  padding: clamp(20px, 3vw, 40px);
}

.svc2 .svc2-hero h1 {
  /* min(): заголовок не шире баннера; anywhere: длинное слово или неразрывные пробелы в title не вылезают за край (было на 1713 при 390px) */
  max-width: min(14em, 100%);
  overflow-wrap: anywhere;
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.1;
  text-transform: uppercase;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}

.svc2-hero-side {
  flex: 0 1 420px;
}

.svc2-hero-side p {
  margin: 0 0 18px;
  color: #fff;
  font-size: 19px;
  line-height: 1.45;
}

/* цена «от» в баннере: ведёт к блоку «Стоимость» */
.svc2 .svc2-hero-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: 0 0 18px;
  color: #fff;
  font-size: 16px;
  text-decoration: none;
}

.svc2-hero-price b {
  font: 400 clamp(22px, 2.2vw, 26px)/1.2 "Prata", Georgia, serif;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  text-decoration-color: rgba(255, 255, 255, .5);
  transition: text-decoration-color .2s;
}

a.svc2-hero-price:hover b {
  text-decoration-color: #fff;
}

/* содержание */
.svc2-toc {
  margin-top: 24px;
  padding: 16px 24px 22px;
  background: var(--grey);
  text-align: center;
}

.svc2-toc-title {
  display: block;
  margin-bottom: 12px;
  color: var(--brown);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.svc2-toc ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.svc2-toc li {
  margin: 0;
  padding: 0;
  box-shadow: none;
}

.svc2-toc a {
  display: block;
  padding: 9px 18px;
  border: 1px solid var(--chip-line);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s, border-color .2s;
}

.svc2-toc a:hover {
  background: var(--grey);
  border-color: var(--brown);
}

/* панели и текст из редактора полей */
.svc2-panel {
  padding: clamp(22px, 3vw, 40px);
  background: var(--grey);
}

.svc2-panel h3 {
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.svc2-rich p {
  margin: 0 0 14px;
}

.svc2-rich p:last-child {
  margin-bottom: 0;
}

.svc2-rich ul,
.svc2-rich ol {
  margin: 0 0 14px;
  padding-left: 22px;
  list-style-position: outside;
}

.svc2-rich ul {
  list-style-type: disc;
}

.svc2-rich ol {
  list-style-type: decimal;
}

.svc2-rich li {
  display: list-item !important;
  margin: 0 0 6px;
  box-shadow: none;
}

.svc2-rich a {
  color: inherit;
  text-decoration: underline;
}

/* видео (общее для «Процедуры» и «Видео») */
.svc2-vid {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: #1f1f1f;
}

.svc2-vid video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #1f1f1f;
}

.svc2-vid::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .45), rgba(0, 0, 0, 0) 45%);
  pointer-events: none;
}

.svc2 .svc2-play,
.svc2 .svc2-tap {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin: -30px 0 0 -30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  cursor: pointer;
  transition: transform .3s var(--ease);
}

.svc2 .svc2-play:hover,
.svc2 .svc2-tap:hover {
  transform: scale(1.1);
}

.svc2 .svc2-tap[hidden] {
  display: none;
}

.svc2 .svc2-play svg,
.svc2 .svc2-tap svg {
  width: 22px;
  height: 22px;
  margin-left: 3px;
  fill: var(--brown-deep);
}

.svc2-dur {
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 2;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

.svc2-vid--rt img,
.svc2-vid--rt iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.svc2-vid--rt img {
  object-fit: cover;
}

.svc2-vid--auto::after,
.svc2-vid.is-playing::after,
.svc2-vid.is-playing .svc2-play,
.svc2-vid.is-playing .svc2-dur {
  display: none;
}

/* процедура */
.svc2-proc {
  display: grid;
  grid-template-columns: 309px 1fr;
  gap: 16px;
  align-items: stretch;
  min-height: 550px;
}

.svc2-proc .svc2-vid {
  width: 309px;
  height: 550px;
  aspect-ratio: auto;
}

.svc2-proc--novideo {
  grid-template-columns: 1fr;
  min-height: 0;
}

.svc2-proc--notext {
  grid-template-columns: 309px;
}

.svc2-panel--text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.svc2-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: st;
}

.svc2-step {
  margin: 0;
  padding: 26px 28px 30px;
  background: var(--grey);
  box-shadow: none;
  counter-increment: st;
}

.svc2-step::before {
  content: counter(st);
  display: block;
  margin-bottom: 14px;
  color: var(--brown);
  font: 400 38px/1 "Prata", serif;
}

.svc2-step h3 {
  margin: 0 0 8px;
  font-size: 21px;
}

.svc2-step p {
  font-size: 17px;
}

/* показания */
.svc2-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}

.svc2-tile {
  display: flex;
  align-items: flex-end;
  min-height: 140px;
  padding: 22px 24px;
  background: var(--grey);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.35;
  transition: background .25s;
}

.svc2-tile:hover {
  background: var(--grey-hover);
}

.svc2-s3 {
  grid-column: span 3;
}

.svc2-s4 {
  grid-column: span 4;
}

.svc2-s5 {
  grid-column: span 5;
}

.svc2-s6 {
  grid-column: span 6;
}

.svc2-s12 {
  grid-column: span 12;
}

/* результаты */
.svc2-res {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.svc2-viewer {
  background: var(--grey);
}

.svc2-cmp {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--grey);
  user-select: none;
  touch-action: pan-y;
}

.svc2-cmp img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
}

.svc2-cmp .svc2-cmp-b {
  clip-path: inset(0 0 0 var(--p, 50%));
}

.svc2-cmp-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--p, 50%);
  width: 3px;
  margin-left: -1.5px;
  background: #fff;
  box-shadow: 0 0 12px rgba(0, 0, 0, .25);
  pointer-events: none;
}

.svc2-cmp-knob {
  position: absolute;
  top: 50%;
  left: var(--p, 50%);
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: -24px 0 0 -24px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .22);
  pointer-events: none;
}

.svc2-cmp-knob svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--brown);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.svc2-tag {
  position: absolute;
  bottom: 18px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  pointer-events: none;
}

.svc2-tag--l {
  left: 18px;
}

.svc2-tag--r {
  right: 18px;
}

.svc2-cmp input[type="range"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: ew-resize;
}

.svc2-cmp.is-single .svc2-cmp-line,
.svc2-cmp.is-single .svc2-cmp-knob,
.svc2-cmp.is-single .svc2-tag {
  display: none;
}

/* высота панели миниатюр равна высоте просмотрщика: если работ много, миниатюры листаются внутри панели */
.svc2-panel--res {
  display: flex;
  flex-direction: column;
  height: 0;
  min-height: max(100%, 340px);
  overflow: hidden;
}

.svc2-panel--res h3 {
  flex: none;
}

.svc2-thumbs {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: max-content;
  align-content: start;
  gap: 10px;
  min-height: 0;
  margin-bottom: 18px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--brown) var(--line);
}

.svc2 .svc2-thumbs button {
  aspect-ratio: 1;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 0;
  background: #fff;
  cursor: pointer;
}

.svc2 .svc2-thumbs button[aria-current="true"] {
  border-color: var(--brown);
}

.svc2-thumbs img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

.svc2-panel--res .svc2-muted {
  flex: none;
  margin-top: auto;
}

/* ленты (видео, врачи) и стрелки */
.svc2-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(18px, 2.4vw, 28px);
}

.svc2-head h2 {
  margin: 0;
}

.svc2-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
}

.svc2-nav[hidden] {
  display: none !important;
}

.svc2-count {
  margin-right: 8px;
  color: var(--muted);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

.svc2 .svc2-nav button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  transition: background .2s, opacity .2s;
}

.svc2 .svc2-nav button:hover {
  background: var(--grey);
}

.svc2 .svc2-nav button[aria-disabled="true"] {
  opacity: .35;
  cursor: default;
}

.svc2 .svc2-nav svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.svc2-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.svc2-scroll::-webkit-scrollbar {
  display: none;
}

.svc2-reel {
  flex: 0 0 clamp(200px, 22vw, 270px);
  margin: 0;
  scroll-snap-align: start;
}

.svc2-reel figcaption {
  margin-top: 10px;
  font-size: 17px;
  line-height: 1.3;
}

.svc2-doc {
  flex: 0 0 calc((100% - 48px) / 4);
  display: block;
  background: var(--grey);
  color: var(--ink);
  text-decoration: none;
  scroll-snap-align: start;
  transition: background .25s;
}

.svc2-doc:hover {
  background: var(--grey-hover);
}

.svc2-doc-ph {
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--line);
}

.svc2-doc-ph img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

.svc2-doc-tx {
  display: block;
  padding: 14px 18px 18px;
}

.svc2-doc-tx b {
  display: block;
  margin-bottom: 4px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}

.svc2-doc-tx span {
  display: block;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.4;
}

/* препараты / оборудование: слайдер, один вид за раз */
.svc2-eq {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.svc2-eq::-webkit-scrollbar {
  display: none;
}

.svc2-eq-slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding-right: 1px;
  scroll-snap-align: start;
}

.svc2-eq-slide--nophoto {
  grid-template-columns: 1fr;
}

.svc2-eq-photo {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #fff;
}

.svc2-eq-photo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

.svc2-eq-card {
  display: flex;
  flex-direction: column;
}

.svc2-eq-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.svc2 .svc2-eq-head h3 {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: clamp(21px, 2vw, 26px);
  letter-spacing: .02em;
  text-transform: uppercase;
}

.svc2-eq-meta {
  margin: -6px 0 14px !important;
  color: var(--brown);
  font-size: 16px;
  font-weight: 500;
}

.svc2-nav--top {
  display: none;
}

/* общий значок-кружок (преимущества, реабилитация) */
.svc2 .svc2-ico {
  flex: none;
  display: block;
  width: 28px;
  height: 28px;
  padding: 6px;
  border: 1px solid var(--brown);
  border-radius: 50%;
  fill: none;
  stroke: var(--brown);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* преимущества: одна серая панель, слева заголовок, справа пункты через тонкие линии */
.svc2-adv {
  display: grid;
  grid-template-columns: minmax(220px, .75fr) 2fr;
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(24px, 3.4vw, 48px);
  background: var(--grey);
}

.svc2 .svc2-adv-head h2 {
  margin-bottom: 14px;
}

.svc2-adv-head p {
  color: var(--muted);
  font-size: 17px;
}

.svc2-adv-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(24px, 3vw, 44px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.svc2-adv--one .svc2-adv-list {
  grid-template-columns: 1fr;
}

.svc2-adv-list li {
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  box-shadow: none;
}

.svc2 .svc2-adv-list h3 {
  margin: 0 0 6px;
  font-size: 20px;
}

.svc2-adv-list p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

/* реабилитация: колонки «может быть / можно / нельзя» через вертикальные линии, без карточек */
.svc2-rehab-lead {
  max-width: 62ch;
  margin: -6px 0 26px !important;
  font-size: 19px;
  line-height: 1.5;
}

.svc2-rehab {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.svc2-rehab--2 {
  grid-template-columns: repeat(2, 1fr);
}

.svc2-rehab--1 {
  grid-template-columns: 1fr;
  max-width: 760px;
}

.svc2-rehab-col {
  padding: 26px clamp(20px, 2.6vw, 36px) 14px;
  border-left: 1px solid var(--line);
}

.svc2-rehab-col:first-child {
  padding-left: 0;
  border-left: 0;
}

.svc2-rehab-col:last-child {
  padding-right: 0;
}

.svc2 .svc2-rehab-col h3 {
  margin: 0 0 10px;
  font-size: 21px;
}

.svc2-rehab-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.svc2-rehab-col li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  box-shadow: none;
  font-size: 17px;
  line-height: 1.4;
}

.svc2-rehab-col li:first-child {
  border-top: 0;
}

.svc2 .svc2-rehab-col .svc2-ico {
  width: 24px;
  height: 24px;
  margin-top: 1px;
  padding: 5px;
}

.svc2 .svc2-rehab-col--maybe .svc2-ico {
  border-color: var(--muted);
  fill: var(--muted);
  stroke: none;
}

.svc2 .svc2-rehab-col--cant .svc2-ico {
  border-color: var(--ink);
  stroke: var(--ink);
}

/* текст статьи */
.svc2 .svc2-read.post-single {
  max-width: 880px;
  margin: 0 auto;
  padding: 0;
}

/* «Читать дальше»: текст после второго H2 свёрнут */
.svc2-readmore {
  margin-top: 14px;
}

.svc2-readmore>summary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  color: var(--brown);
  font: 600 17px/1.4 "Jost", sans-serif;
  list-style: none;
  cursor: pointer;
  transition: color .2s;
}

.svc2-readmore>summary::-webkit-details-marker {
  display: none;
}

.svc2-readmore>summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .25s;
}

.svc2-readmore[open]>summary::after {
  transform: rotate(225deg) translateY(-2px);
}

.svc2-readmore>summary:hover {
  color: var(--brown-deep);
}

.svc2-readmore[open] .svc2-readmore-open,
.svc2-readmore:not([open]) .svc2-readmore-close {
  display: none;
}

.svc2-readmore-body {
  margin-top: 20px;
}

/* закрытые раскрывашки прячем явно: стили темы могут перебить скрытие браузера */
.svc2-readmore:not([open])>.svc2-readmore-body,
.svc2-faq details:not([open])>.svc2-answer {
  display: none !important;
}

/* цены */
.svc2-prices-text {
  margin: 0 0 18px !important;
}

.svc2-ptable {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  background: var(--grey);
}

.svc2-pr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
  line-height: 1.25;
}

.svc2-pr:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.svc2-pr:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  border-right: 0;
}

.svc2-pr a {
  color: inherit;
}

.svc2-pr b {
  font-size: 19px;
  font-weight: 600;
  white-space: nowrap;
}

.svc2-prices-note {
  margin: 16px 0 22px;
}

#prices .svc2-ptable+.svc2-prices-note,
#prices .svc2-ptable+.svc2-btn {
  margin-top: 16px;
}

#prices>.svc2-btn {
  margin-top: 16px;
}

/* вопросы */
.svc2-faq details {
  border-bottom: 1px solid var(--line);
}

.svc2-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  font: 400 clamp(19px, 1.9vw, 22px)/1.3 "Prata", serif;
  list-style: none;
  cursor: pointer;
}

.svc2-faq summary::-webkit-details-marker {
  display: none;
}

.svc2-faq summary::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(45deg) translateY(-3px);
  transition: transform .25s;
}

.svc2-faq details[open] summary::after {
  transform: rotate(225deg) translateY(-3px);
}

.svc2-answer {
  max-width: 72ch;
  margin: 0 0 20px;
  color: var(--muted);
}

.svc2-answer p {
  margin: 0 0 12px;
}

/* списки в ответах: тема обнуляет отступ, маркеры уезжали левее текста */
.svc2-answer ul,
.svc2-answer ol {
  margin: 0 0 12px;
  padding-left: 22px;
  list-style-position: outside;
}

.svc2-answer ul {
  list-style-type: disc;
}

.svc2-answer ol {
  list-style-type: decimal;
}

.svc2-answer li {
  display: list-item !important;
  margin: 0 0 6px;
  padding-left: 4px;
  box-shadow: none;
}

.svc2-answer li::marker {
  color: var(--brown);
}

.svc2-answer> :last-child,
.svc2-answer li:last-child {
  margin-bottom: 0;
}

/* ссылки на другие услуги */
.svc2-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.svc2-chips a {
  padding: 12px 20px;
  border: 1px solid var(--chip-line);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.3;
  text-decoration: none;
  transition: background .2s;
}

.svc2-chips a:hover {
  background: var(--grey);
}

/* планшет */
@media (max-width: 992px) {
  .svc2-hero-in {
    flex-direction: column;
    align-items: flex-start;
  }

  .svc2-hero-side {
    flex-basis: auto;
    max-width: none;
  }

  .svc2-proc,
  .svc2-res,
  .svc2-adv {
    grid-template-columns: 1fr;
  }

  .svc2-proc {
    min-height: 0;
  }

  .svc2-panel--res {
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .svc2-thumbs {
    flex: none;
    max-height: 340px;
  }

  .svc2-proc--notext {
    grid-template-columns: 1fr;
  }

  .svc2-proc .svc2-vid {
    width: 100%;
    max-width: 309px;
    margin: 0 auto;
  }

  .svc2-eq-slide {
    grid-template-columns: 1fr;
  }

  .svc2-nav--top {
    display: flex;
  }

  .svc2-nav--card {
    display: none;
  }

  .svc2-bento .svc2-tile {
    grid-column: span 6;
  }

  .svc2-bento .svc2-tile:last-child:nth-child(odd) {
    grid-column: span 12;
  }

  .svc2-doc {
    flex-basis: calc((100% - 16px) / 2);
  }

  .svc2-ptable {
    grid-template-columns: 1fr;
  }

  .svc2-pr:nth-child(odd) {
    border-right: 0;
  }
}

@media (max-width: 760px) {
  .svc2-steps {
    grid-template-columns: 1fr;
  }

  .svc2-adv-list,
  .svc2-rehab,
  .svc2-rehab--2 {
    grid-template-columns: 1fr;
  }

  .svc2-rehab-col,
  .svc2-rehab-col:last-child {
    padding: 22px 0 10px;
    border-left: 0;
  }

  .svc2-rehab-col+.svc2-rehab-col {
    border-top: 1px solid var(--line);
  }
}

/* телефон */
@media (max-width: 560px) {
  .svc2 {
    font-size: 17px;
  }

  .svc2-bento .svc2-tile {
    grid-column: span 12;
    min-height: 96px;
  }

  .svc2-toc {
    padding: 14px 14px 18px;
  }

  .svc2-toc a {
    min-height: 44px;
    padding: 11px 14px;
    font-size: 15px;
  }

  .svc2-toc-title {
    font-size: 14px;
  }

  .svc2 a.svc2-hero-price {
    min-height: 44px;
    align-items: center;
  }

  .svc2-readmore>summary {
    min-height: 44px;
  }

  .svc2-head {
    flex-wrap: wrap;
    row-gap: 12px;
  }

  .svc2-reel {
    flex-basis: 62vw;
  }

  .svc2-doc {
    flex-basis: 62vw;
  }

  .svc2-pr {
    padding: 12px 16px;
  }
}

/* Текст статьи (the_content): общий сброс .svc2 p/h2 обнулял отступы, а список внутри «Читать дальше»
   не попадал под правило сайта .wprt-container > ul. Возвращаем ритм текста, списки как в «Вопросах и ответах». */
.svc2-read .text p {
  margin: 0 0 20px;
}

.svc2-read .text h2,
.svc2-read .text h3 {
  margin-top: clamp(32px, 3.6vw, 48px);
}

.svc2-read .text .wprt-container>h2:first-child,
.svc2-read .text>h2:first-child,
.svc2-read .text .svc2-readmore-body>h2:first-child {
  margin-top: 0;
}

.svc2-read .text h3 {
  margin-bottom: 14px;
}

.svc2-read .text ul,
.svc2-read .text ol {
  margin: 0 0 20px;
  padding-left: 22px;
  list-style-position: outside;
}

.svc2-read .text ul {
  list-style-type: disc;
}

.svc2-read .text ol {
  list-style-type: decimal;
}

.svc2-read .text li {
  display: list-item !important;
  margin: 0 0 8px;
  padding-left: 4px;
}

.svc2-read .text li::marker {
  color: #6e625b;
}

.svc2-read .text table {
  margin-bottom: 20px;
}

.svc2-read .text td p,
.svc2-read .text th p,
.svc2-read .text li p {
  margin: 0;
}

.svc2-read .text .svc2-readmore-body>:last-child,
.svc2-read .text .wprt-container>:last-child {
  margin-bottom: 0;
}

/* Таблицы в тексте статьи: цвета шаблона вместо синей шапки сайта (.text table в css/style.css) */
.svc2-read .text table th {
  background-color: #6e625b;
  color: #fff;
  border: 1px solid #e5e7e9;
}

.svc2-read .text table td {
  border: 1px solid #e5e7e9;
}

.svc2-read .text table tr:nth-child(2n+2) {
  background-color: #f7f7f7;
}

.svc2-read .text table tr:hover {
  background-color: #efefef;
}

/* Таблицы в тексте статьи: на телефоне строка = карточка, подписи колонок из data-label (md_to_html.py) */
@media (max-width: 560px) {
  .svc2-read .text table:has(td[data-label]) {
    display: block;
    width: 100%;
  }

  .svc2-read .text table:has(td[data-label]) thead {
    display: none;
  }

  .svc2-read .text table:has(td[data-label]) tbody,
  .svc2-read .text table:has(td[data-label]) tr,
  .svc2-read .text table:has(td[data-label]) td {
    display: block;
    width: 100%;
  }

  .svc2-read .text table:has(td[data-label]) tr {
    margin-bottom: 12px;
    padding: 4px 0;
    background: #f7f7f7;
    border: 1px solid #e5e7e9;
  }

  .svc2-read .text table:has(td[data-label]) td {
    padding: 8px 14px;
    background: none;
    border: 0;
  }

  .svc2-read .text table:has(td[data-label]) td:first-child {
    font-weight: 600;
    color: #6e625b;
  }

  .svc2-read .text table:has(td[data-label]) td:not(:first-child)::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    font-size: 14px;
    color: #6a6b6f;
  }
}

@media (prefers-reduced-motion: reduce) {

  .svc2 *,
  .svc2 *::before,
  .svc2 *::after {
    transition: none !important;
  }
}
