/* Разделительные линии между секциями (RU / EN / KZ) */
#rec2441190771, #rec2441193751, #rec2441218981, #rec2500674611, #rec2441230921,
#rec2500717471, #rec2500717481, #rec2500717491, #rec2500717501, #rec2500717511,
#rec2500845281, #rec2500845291, #rec2500845301, #rec2500845311, #rec2500845321 {
  border-top: 1px solid #171717;
}

/* Мобильные тап-таргеты: увеличиваем область нажатия ссылок в карте сайта */
@media screen and (max-width: 640px) {
  .ms-map .ms-map__col a { padding: 9px 0; margin-bottom: 0; line-height: 1.4; }
  .ms-map .ms-map__col .ms-map__h { margin-bottom: 8px; }
}

/* ============================================================
   Единая типографика: шрифты и размеры (нормализация)
   ============================================================ */

/* Кнопки и текст согласия — основной шрифт сайта */
.ms-cta,
.ms-consent label { font-family: 'Kazimir', serif !important; }
.ms-cta { font-size: 16px !important; font-weight: 600 !important; letter-spacing: 0.5px !important; }
@media screen and (max-width: 640px) { .ms-cta { font-size: 14px !important; } }

/* Заголовок блока с ценами не должен быть крупнее H1 */
.t-title_xxl { font-size: 42px !important; }
@media screen and (max-width: 1200px) { .t-title_xxl { font-size: 38px !important; } }
@media screen and (max-width: 640px)  { .t-title_xxl { font-size: 30px !important; } }

/* Единый стиль надзаголовков */
.t-uptitle_sm,
.t-uptitle_md,
.ms-faq__k { font-size: 14px !important; font-weight: 600 !important; letter-spacing: 2.5px !important; }
@media screen and (max-width: 640px) {
  .t-uptitle_sm, .t-uptitle_md, .ms-faq__k { font-size: 12px !important; }
}

/* Единая шкала основного текста: 13 / 14 / 16 / 18 / 20 / 24 */
.t-descr_xxl { font-size: 24px !important; }
@media screen and (max-width: 1200px) { .t-descr_xxl { font-size: 22px !important; } }
@media screen and (max-width: 640px)  { .t-descr_xxl { font-size: 20px !important; } }

.ms-sub a { font-size: 16px !important; }

.ms-faq__i summary { font-size: 18px !important; }
.ms-faq__i summary::after { font-size: 24px !important; }
.ms-faq__a { font-size: 16px !important; }
@media screen and (max-width: 640px) {
  .ms-faq__i summary { font-size: 16px !important; }
  .ms-faq__a { font-size: 14px !important; }
}

/* Заголовок блока FAQ — как остальные заголовки этого уровня */
.ms-faq__t { font-size: 36px !important; }
@media screen and (max-width: 1200px) { .ms-faq__t { font-size: 32px !important; } }
@media screen and (max-width: 640px)  { .ms-faq__t { font-size: 28px !important; } }

/* Весь текст сайта — одним шрифтом (юр. страницы, текстовые блоки, формы) */
.t-text,
.t-name,
.t-title,
.t-descr,
.t-uptitle,
.t-heading,
.t-btn,
.t-submit,
.t-input,
.t-select,
.t-form__errorbox-text { font-family: 'Kazimir', serif !important; }


/* Подвал: единый шрифт сайта */
.ms-map__h,
.ms-map a,
.ms-map__bar,
.ms-faq,
.ms-faq__k,
.ms-faq__t,
.ms-faq summary,
.ms-faq__a { font-family: 'Kazimir', Georgia, serif !important; }

/* Блок «Смотрите также» и страница 404: единый шрифт сайта */
.ms-rel,
.ms-rel *,
.ms404,
.ms404 * { font-family: 'Kazimir', Georgia, serif !important; }

/* founder photo on cases and reviews */
#rec3671287801 .t017 .t-container,#rec3671288201 .t017 .t-container{display:flex;flex-direction:column;align-items:center}
#rec3671287801 .t017 .t-container::before,#rec3671288201 .t017 .t-container::before{content:'';order:0;display:block;width:168px;height:168px;margin:0 auto 22px;border-radius:50%;background:url('https://static.tildacdn.com/tild3732-3665-4964-a662-616235313532/maxim-mironov-sepia-.jpg') center 18%/cover no-repeat;box-shadow:0 18px 40px rgba(59,42,31,.18),0 0 0 6px #F3ECE0,0 0 0 7px rgba(59,42,31,.2)}
#rec3671287801 .t017 .t-container > *,#rec3671288201 .t017 .t-container > *{order:1;float:none;margin-left:auto!important;margin-right:auto!important}
#rec3671287801 .t017 .t-container::after,#rec3671288201 .t017 .t-container::after{content:'\041C\0430\043A\0441\0438\043C\0020\041C\0438\0440\043E\043D\043E\0432,\0020\043E\0441\043D\043E\0432\0430\0442\0435\043B\044C\0020Mironov\0020Studio\0020\2014\0020\043E\0442\0432\0435\0447\0430\0435\0442\0020\043B\0438\0447\043D\043E';order:2;display:block;width:100%;text-align:center;font-size:14px;letter-spacing:.02em;color:#7A6A5C;margin-top:18px}

/* founder photo vintage tone */
#rec2441190771 .t492__blockimg,#rec2441190771 .t492__imgmobile,#rec3671287801 .t017 .t-container::before,#rec3671288201 .t017 .t-container::before{filter:sepia(.45) contrast(1.04) brightness(.96) saturate(.85)}

/* hero 17.09: фото Максима вместо машинки (перекрывает style в head) */
#allrecords #coverCarry2441184761{background-image:url('https://static.tildacdn.com/tild6630-3036-4266-b337-626530626330/maxim-hero-sepia-2.jpg')!important;background-position:right center!important}

/* 17.09: CTA head-скрипта скрыт; лицо на обложке на мобильном */
#rec2441184761 .ms-cta{display:none!important}
@media screen and (max-width:960px){#allrecords #coverCarry2441184761{background-position:78% center!important}}

@media screen and (min-width:961px) and (max-width:1440px){#allrecords #coverCarry2441184761{background-position:calc(100% + 160px) center!important}}
