/* Разделы реабилитации и консультации KrasotaPoint */
#rec6305157301 .t-container, #rec6304961601 .t-container,
#rec6305171501 .t-container, #rec6304984601 .t-container {
  box-sizing:border-box; width:calc(100% - 48px); max-width:1160px; margin-inline:auto; padding:0;
}
#rec6305157301 .t-col, #rec6305171501 .t-col, #rec6304984601 .t-col {
  box-sizing:border-box; float:none; width:100%; max-width:none; margin:0; padding:0;
}
#rec6305157301 .t795__title, #rec6305171501 .t795__title {
  margin:0; max-width:850px; text-align:left; font-weight:700; line-height:1.12; letter-spacing:-.025em;
}
#rec6305157301 .t795__descr, #rec6305171501 .t795__descr {
  margin:16px 0 0; padding:0; max-width:730px; color:#4c4847; font-size:21px; line-height:1.45; text-align:left;
}
#rec6305157301 .t795__title::before {
  content:''; display:block; width:55px; height:4px; border-radius:4px; margin-bottom:18px; background:#ca3a3a;
}
#rec6304961601 .t1033__container {
  display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; align-items:stretch;
}
#rec6304961601 .t1033__container::before, #rec6304961601 .t1033__container::after {display:none;}
#rec6304961601 .t1033__col {
  box-sizing:border-box; display:flex; flex-direction:column; align-items:flex-start; float:none;
  width:auto; max-width:none; min-width:0; margin:0; padding:25px 23px 27px; background:#fff; border:1px solid #e4e1da; border-radius:18px;
}
#rec6304961601 .t1033__title {font-size:23px; font-weight:700; line-height:1.18; letter-spacing:-.02em; overflow-wrap:break-word;}
#rec6304961601 .t1033__line {width:38px; height:3px; min-height:3px; border:0; border-radius:2px; background:#ca3a3a; opacity:1; margin:17px 0; padding:0;}
#rec6304961601 .t1033__text {margin:0; color:#494646; font-size:18px; line-height:1.45;}
#rec6304984601 .t119__preface {box-sizing:border-box; width:100%; max-width:none; margin:0; padding:23px 30px; border-left:4px solid #ca3a3a; border-radius:0 16px 16px 0; background:#fffaf8; color:#302d2d; font-size:22px; line-height:1.5; text-align:left;}
@media(max-width:1050px){#rec6304961601 .t1033__container{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:640px){
  #rec6305157301 .t-container,#rec6304961601 .t-container,#rec6305171501 .t-container,#rec6304984601 .t-container{width:calc(100% - 40px);}
  #rec6304961601 .t1033__container{grid-template-columns:minmax(0,1fr);gap:12px;}
  #rec6304961601 .t1033__col{padding:20px;border-radius:14px;}
  #rec6304961601 .t1033__title{font-size:22px;}#rec6304961601 .t1033__line{margin:11px 0;}#rec6304961601 .t1033__text{font-size:17px;}
  #rec6305157301 .t795__title,#rec6305171501 .t795__title{max-width:100%;font-size:32px;}
  #rec6305157301 .t795__descr,#rec6305171501 .t795__descr{margin-top:12px;font-size:18px;}
  #rec6305171501 .t795__title::before{content:'';display:block;width:38px;height:3px;margin-bottom:14px;background:#ca3a3a;border-radius:3px;}
  #rec6304984601 .t119__preface{padding:18px 19px;font-size:18px;}
}

/* Ширина повторяет видимую обложку первого экрана на её четырёх размерах. */
#rec6305171501, #rec6304984601, #rec6305686001 {
  box-sizing: border-box;
  width: 94.444444%;
  margin-inline: auto;
  overflow: hidden;
}
#rec6305171501 { border-radius: 20px 20px 0 0; }
#rec6304984601 { border-radius: 0 0 20px 20px; }
#rec6305686001 { border-radius: 20px; }
#rec6305171501 .t-container, #rec6304984601 .t-container, #rec6305686001 .t-container {
  box-sizing: border-box;
  width: calc(100% - 40px);
  max-width: none;
  margin-inline: auto;
  padding: 0;
}
#rec6305686001 .t-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 28px;
}
#rec6305686001 .t-container::before, #rec6305686001 .t-container::after { display: none; }
#rec6305686001 .t480__col {
  box-sizing: border-box;
  float: none;
  width: 100%;
  max-width: none;
  min-width: 0;
  margin: 0;
  padding: 0;
}
#rec6305686001 .t480__textwrapper { height: auto !important; }
#rec6305686001 .t480__blockimg { height: auto !important; aspect-ratio: 14 / 9; }
@media (min-width: 640px) {
  #rec6305171501, #rec6304984601, #rec6305686001 { width: 620px; }
  #rec6305171501 .t-container, #rec6304984601 .t-container, #rec6305686001 .t-container { width: calc(100% - 80px); }
}
@media (min-width: 1200px) {
  #rec6305171501, #rec6304984601, #rec6305686001 { width: 1160px; }
  #rec6305686001 .t-container { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
}
@media (min-width: 1440px) {
  #rec6305171501, #rec6304984601, #rec6305686001 { width: 1400px; }
}

/* Отступы якорей меню равны высоте закреплённой шапки. */
#allrecords[data-tilda-page-id="424500909"] { --kp-menu-height: 65px; }
@media (min-width: 640px) { #allrecords[data-tilda-page-id="424500909"] { --kp-menu-height: 80px; } }
@media (min-width: 1200px) { #allrecords[data-tilda-page-id="424500909"] { --kp-menu-height: 90px; } }
#rec6304948001, #rec6304984501, #rec6305001001,
#allrecords[data-tilda-page-id="424500909"] > a:is([name="about"], [name="contacts"]) {
  position: relative; top: calc(-1 * var(--kp-menu-height));
}

/* О студии и контакты тверского филиала */
#rec6306433501 .t-container { width:calc(100% - 40px); max-width:1160px; margin-inline:auto; padding:0; }
#rec6306433501 .t-col { display:grid; grid-template-columns:minmax(0,1.55fr) minmax(0,1fr); grid-template-rows:auto auto 1fr; gap:16px 44px; box-sizing:border-box; width:100%; max-width:none; margin:0; padding:34px 34px 34px 40px; float:none; border:1px solid #e2e1db; border-radius:20px; background:#f6f6f3; }
#rec6306433501 .t795__title { grid-column:1; grid-row:1; align-self:start; margin:0; font-weight:700; font-size:clamp(30px,3.15vw,46px); line-height:1.08; letter-spacing:-.035em; }
#rec6306433501 .t795__title::before { content:''; display:block; width:42px; height:3px; margin:1px 0 18px; background:#ca3a3a; }
#rec6306433501 .t795__descr { display:contents; }
#rec6306433501 .t795__descr > br { display:none; }
#rec6306433501 .t795__descr > em { display:block; grid-column:1; font-style:normal; font-weight:400; font-size:18px; line-height:1.45; color:#332e2e; }
#rec6306433501 .t795__descr > em:first-of-type { grid-row:2; }
#rec6306433501 .t795__descr > em:nth-of-type(2) { grid-row:3; }
#rec6306433501 .t795__descr ul { grid-column:2; grid-row:1 / 4; display:flex; flex-direction:column; justify-content:center; align-items:flex-start; gap:10px; list-style:none; margin:0; padding:27px 30px; border-radius:14px; background:#ca3a3a; color:white; box-sizing:border-box; }
#rec6306433501 .t795__descr li { padding:0; margin:0; list-style:none; font-size:17px; font-weight:400; line-height:1.35; }
#rec6306433501 .t795__descr li::before { content:none; }
#rec6306433501 .t795__descr li:first-child { font-size:24px; line-height:1.2; letter-spacing:-.02em; }
#rec6306433501 .t795__descr li strong { font-weight:700; }
#rec6306433501 .t795__descr li a { color:#fff !important; text-decoration:none !important; border-bottom:0 !important; }
#rec6306433501 .t795__descr li a[href*="widget.sonline.su"] { display:inline-block; background:#fff; color:#ca3a3a !important; padding:11px 17px; border-radius:8px; text-decoration:none; font-size:16px; font-weight:700; transition:background-color .18s ease,color .18s ease,transform .18s ease; }
#rec6306433501 .t795__descr li a[href*="widget.sonline.su"]:hover, #rec6306433501 .t795__descr li a[href*="widget.sonline.su"]:focus-visible { background-color:#202020; color:#fff !important; }
#rec6306433501 .t795__descr li a[href*="widget.sonline.su"]:focus-visible { outline:2px solid #fff; outline-offset:3px; }
#rec6306433501 .t795__descr li a[href*="widget.sonline.su"]:active { transform:translateY(1px); }
#rec6306433501 .t795__descr li:has(a[href*="widget.sonline.su"]) { margin-top:8px; }
#rec6306433501 .t795__descr li:empty { display:none; }
@media (min-width:1440px) { #rec6306433501 .t-container { max-width:1400px; } }
@media (max-width:800px) { #rec6306433501 .t-container { width:calc(100% - 24px); max-width:620px; } #rec6306433501 .t-col { grid-template-columns:minmax(0,1fr); gap:14px; padding:23px; } #rec6306433501 .t795__descr ul { grid-column:1; grid-row:4; padding:22px; margin-top:4px; } #rec6306433501 .t795__descr > em { font-size:17px; } }

/* Фирменный красный для верхней кнопки, разделителей и блока записи. */
#rec6304920201 .tn-elem[data-elem-id="1751968941863"] .tn-atom {
  --t396-bgcolor-color: #ca3a3a !important;
  --t396-bgcolor-hover-color: #ffffff !important;
}
@media (hover: hover) {
  #rec6304920201 .tn-elem[data-elem-id="1751968941863"] .tn-atom:hover,
  #rec6304920201 .tn-elem[data-elem-id="1751968941863"] .tn-atom:hover .tn-atom__button-text {
    color: #ca3a3a !important;
  }
}
#rec6304999601 .t396__artboard, #rec6304961601 .t1033__line { background-color:#ca3a3a !important; }

/* Боковые отступы шапки на узких телефонах. */
@media (max-width: 374px) {
  #rec6304911501 .tn-elem[data-elem-id="1751966710411"] {
    left: 16px !important;
  }
  #rec6304911501 .tn-elem[data-elem-id="1752060074670"] {
    left: auto !important;
    right: 16px !important;
  }
}
