/* Фирменный стиль сайта доктора Волкова */
.t-title,.t-heading,.t-name{color:#13295A !important;font-weight:800 !important;}
.t-uptitle{color:#b33d1f !important;text-transform:uppercase !important;letter-spacing:.12em !important;font-weight:700 !important;}
.t-btn.t-btnflex_type_button,.t-btn.t-btnflex_type_bbutton,.t-submit{background-color:#FF7A59 !important;color:#fff !important;border-color:#FF7A59 !important;border-radius:999px !important;}
.t-btn.t-btnflex_type_button:hover,.t-btn.t-btnflex_type_bbutton:hover,.t-submit:hover{background-color:#e8623f !important;border-color:#e8623f !important;}
.t-btn.t-btnflex_type_button2{background:transparent !important;color:#13295A !important;border:2px solid #13295A !important;border-radius:999px !important;}
.t-btn.t-btnflex_type_button2:hover{background:#13295A !important;color:#fff !important;}
.t-btn .t-btnflex__text{color:inherit !important;}
.t-rec[data-bg-color="#eeeeee"]{background-color:#F6F3EE !important;}
.t-rec[data-bg-color="#f0f0f0"]{background-color:#E1F0F3 !important;}
#rec5398831903 .t-menu-base__maincontainer,#rec5398831903 .t-menu-base{background-color:#13295A !important;}
.t-rec[data-bg-color="#0c1d3d"] *{border-color:rgba(255,255,255,.15);}
a[href^="tel:"],a[href^="mailto:"]{color:#2C6F85;}
.t-rec[data-bg-color="#0c1d3d"] a{color:#fff;}

/* facts row */
#rec5398837003{background:#F6F3EE !important;}
#rec5398837003 .t007__text,#rec5398837003 .t007__text a{font-size:22px !important;line-height:1.35 !important;font-weight:700 !important;color:#13295A !important;}
#rec5398837003 .t007__text a{text-decoration:underline;}
/* screening card */
#rec5398854303 .t220__textwrapper{background-color:#E1F0F3 !important;}
/* hero phone link */
#rec5398833403 .t-descr a[href^="tel:"]{color:#13295A !important;font-weight:600;text-decoration:underline;}#rec5398831903 .t-btnflex_type_button2{white-space:nowrap;}
#rec5398831903 img{max-height:56px;height:auto;}
#rec5398831903 .t-btn.t-btnflex_type_button2,#rec5398831903 .t-btn.t-btnflex_type_button2 .t-btnflex__text{color:#fff !important;}
@media screen and (min-width:961px){#rec5398831903 .t-menu-base__maincontainer{flex-wrap:nowrap !important;padding-left:20px !important;padding-right:20px !important}#rec5398831903 .t-menu-base__list{flex-wrap:nowrap !important}#rec5398831903 .t-menu-base__list-item{margin:0 !important;padding:0 7px !important;white-space:nowrap !important}#rec5398831903 .t-menu__link-item{font-size:14px !important;white-space:nowrap !important}#rec5398831903 .t-menu-base__imglogo{max-width:48px !important;width:48px !important}#rec5398831903 .t-menu-base__textlogo{font-size:18px !important;white-space:nowrap !important}#rec5398831903 .t-menu-base__rightwrapper,#rec5398831903 .t-menu-base__additionalwrapper{flex-wrap:nowrap !important;white-space:nowrap !important;gap:8px !important}#rec5398831903 .t-btnflex{padding:0 14px !important;height:38px !important;font-size:14px !important;white-space:nowrap !important}#rec5398833403 .t1241__content-wrapper{padding-top:90px !important;box-sizing:border-box}}@media screen and (max-width:960px){.tmenu-mobile__container{min-height:64px !important;padding:10px 20px !important}.tmenu-mobile__container::before{content:"";display:block;order:-1;width:150px;height:44px;margin-right:auto;background:url(https://static.tildacdn.ink/tila6562-3565-4438-a365-383736386535/logo-full-white.png) left center/contain no-repeat}}
@media (min-width:961px) and (max-width:1439px){
     .t-menu-base__list{gap:0 !important;}
      .t-menu-base__list a,.t-menu-base__list .t-menu-base__link-item{padding-left:5px !important;padding-right:5px !important;font-size:13px !important;}
       .t-menu-base__buttons .t-btn{padding-left:10px !important;padding-right:10px !important;font-size:13px !important;}
}
@media (min-width:961px) and (max-width:1199px){
     .t-menu-base__buttons .t-btn[href^="tel:"]{display:none !important;}
}

/* header phone button (2nd button) readable on all pages */
.t-menu-base__buttons .t-btn.t-btnflex_type_button2, .t-menu-base__buttons .t-btn.t-btnflex_type_button2 .t-btnflex__text{color:#fff !important;background:transparent !important}
.t-menu-base__buttons .t-btn.t-btnflex_type_button2{border:2px solid #fff !important}
;
/* bigger header logo */
#rec5398831903 .t-menu-base__imglogo{width:82px !important;max-width:82px !important;height:auto !important;max-height:none !important}
#rec5398831903 .t-menu-base__maincontainer,#rec5398831903 .t-menu-base{min-height:86px !important}
@media screen and (max-width:980px){.tmenu-mobile__container{min-height:76px !important}.tmenu-mobile__container::before{width:210px !important;height:62px !important}}
html body #rec5398831903 img.t-menu-base__imglogo.t-menu-base__imglogomobile{width:82px !important;min-width:82px !important;max-width:82px !important;height:auto !important;max-height:none !important;flex:0 0 82px !important};

/* === layout fixes 2026-11-03 === */
/* 1. header: one row, no overflow at 961–1440px */
@media screen and (min-width:961px) and (max-width:1440px){
.t-menu-base__maincontainer{flex-wrap:nowrap !important;gap:10px 20px !important;padding-left:20px !important;padding-right:20px !important}
.t-menu-base__logowrapper{flex:0 0 auto !important;max-width:200px !important}
.t-menu-base__textlogo{font-size:16px !important;white-space:nowrap !important}
.t-menu-base__leftwrapper{flex:1 1 auto !important;min-width:0 !important}
.t-menu-base__list{flex-wrap:nowrap !important;justify-content:center !important}
.t-menu-base__list-item{padding:0 5px !important;margin:0 !important;white-space:nowrap !important}
.t-menu-base__list-item a,.t-menu-base__list .t-menu__link-item{font-size:13px !important;padding:0 !important;white-space:nowrap !important}
.t-menu-base__rightwrapper,.t-menu-base__additionalwrapper{flex:0 0 auto !important;flex-wrap:nowrap !important;gap:8px !important}
.t-menu-base__buttons{display:flex !important;flex-wrap:nowrap !important;gap:8px !important}
.t-menu-base__buttons .t-btn{white-space:nowrap !important;padding:0 12px !important;height:38px !important;font-size:13px !important;margin:0 !important}
}
@media screen and (min-width:961px) and (max-width:1199px){
#rec5398831903 .t-menu-base__imglogo{width:66px !important;max-width:66px !important}
.t-menu-base__list-item{padding:0 3px !important}
.t-menu-base__list-item a,.t-menu-base__list .t-menu__link-item{font-size:12px !important}
}
/* 3. phones never break; equal step titles */
.nowrap-tel,a[href^="tel:"]{white-space:nowrap !important}
@media screen and (min-width:961px){#rec5398865403 .t1050__col .t-heading{min-height:3.6em}}
/* 4. home CTA buttons consistent */
#rec5416966703 .t-btn,#rec5434358501 .t-btn,#rec5398866003 .t-section__bottomwrapper .t-btn{background-color:#FF7A59 !important;color:#fff !important;border:2px solid #13295A !important;border-radius:999px !important;min-width:280px !important;height:60px !important;padding:0 28px !important;box-sizing:border-box !important;justify-content:center !important;font-weight:700 !important}
#rec5416966703 .t-btn:hover,#rec5434358501 .t-btn:hover,#rec5398866003 .t-section__bottomwrapper .t-btn:hover{background-color:#e8623f !important}
#rec5398866003 .t-section__bottomwrapper{display:flex;justify-content:center}
@media screen and (max-width:480px){#rec5416966703 .t-btn,#rec5434358501 .t-btn,#rec5398866003 .t-section__bottomwrapper .t-btn{min-width:0 !important;width:100% !important;max-width:320px}}
/* 5. contacts: aligned Telegram links, readable colour */
#rec5398866003 .t572__text a{color:#13295A !important;font-weight:600;text-decoration:underline;text-underline-offset:2px}
#rec5398866003 .t572__text a[href*="t.me"]{display:inline-flex;align-items:center;gap:6px;vertical-align:middle;margin:2px 0}
#rec5398866003 .t572__text a[href*="t.me"] img,#rec5398866003 .t572__text a[href*="t.me"] svg{width:20px;height:20px;flex:0 0 20px}
/* 7. /about photos */
#rec5444093901{padding-top:30px !important;padding-bottom:30px !important}
@media screen and (max-width:639px){
#rec5444093901 .t667__row{display:block !important}
#rec5444093901 .t667__tile{width:100% !important;float:none !important;padding:0 !important;margin:0 0 16px !important}
#rec5444093901 .t667__bgimg{width:100% !important;padding-bottom:100% !important;height:auto !important}
}
/* === header fix 2 (2026-11-03) — append at the very END of custom CSS ===
   Guard rule: absorbs a stray ";" left at the end of earlier CSS, if any. */
x-guard{}
/* :not(#hf2) adds ID-level specificity so these beat per-record #recNNN rules */
@media screen and (min-width:961px){
.t-menu-base:not(#hf2) .t-menu-base__maincontainer{flex-wrap:nowrap !important;justify-content:space-between !important;gap:0 clamp(12px,1.8vw,40px) !important;padding-left:clamp(16px,2vw,40px) !important;padding-right:clamp(16px,2vw,40px) !important}
.t-menu-base:not(#hf2) .t-menu-base__logowrapper,.t-menu-base:not(#hf2) .t-menu-base__logo{flex:0 1 auto !important;min-width:0 !important}
.t-menu-base:not(#hf2) .t-menu-base__textlogo{white-space:nowrap !important;min-width:0 !important}
.t-menu-base:not(#hf2) .t-menu-base__leftwrapper{flex:1 1 auto !important;min-width:0 !important;justify-content:center !important;margin:0 !important}
.t-menu-base:not(#hf2) .t-menu-base__list{flex-wrap:nowrap !important;justify-content:center !important;gap:0 clamp(8px,1.1vw,24px) !important}
.t-menu-base:not(#hf2) .t-menu-base__list-item{padding:0 !important;margin:0 !important;white-space:nowrap !important;flex:0 0 auto !important}
.t-menu-base:not(#hf2) .t-menu-base__list .t-menu__link-item{font-size:clamp(12px,1.05vw,16px) !important;padding:0 !important;white-space:nowrap !important}
.t-menu-base:not(#hf2) .t-menu-base__rightwrapper,.t-menu-base:not(#hf2) .t-menu-base__additionalwrapper{display:flex !important;flex:0 0 auto !important;flex-wrap:nowrap !important;margin:0 !important;gap:0 !important}
.t-menu-base:not(#hf2) .t-menu-base__buttons{display:flex !important;flex-wrap:nowrap !important;gap:8px !important;margin:0 !important}
.t-menu-base:not(#hf2) .t-menu-base__button{display:block !important;flex:0 0 auto !important;margin:0 !important}
.t-menu-base:not(#hf2) .t-menu-base__buttons .t-btn{display:inline-flex !important;white-space:nowrap !important;height:38px !important;padding:0 14px !important;font-size:13px !important;margin:0 !important}
}
@media screen and (min-width:1440px){
.t-menu-base:not(#hf2) .t-menu-base__buttons .t-btn{font-size:14px !important;padding:0 18px !important}
}
/* 961–1199: phone button becomes a round phone icon, «Записаться» stays */
@media screen and (min-width:961px) and (max-width:1199px){
.t-menu-base:not(#hf2) .t-menu-base__textlogo{font-size:14px !important}
.t-menu-base:not(#hf2) .t-menu-base__buttons .t-btn.t-btnflex_type_button2{display:inline-flex !important;width:38px !important;min-width:38px !important;padding:0 !important;justify-content:center !important;align-items:center !important;font-size:0 !important}
.t-menu-base:not(#hf2) .t-menu-base__buttons .t-btn.t-btnflex_type_button2 .t-btnflex__text{font-size:0 !important}
.t-menu-base:not(#hf2) .t-menu-base__buttons .t-btn.t-btnflex_type_button2::before{content:"\260E";font-size:18px;line-height:1;color:#fff}
}


x-guard{}
/* buttons_fix: в паре «залитая + контурная» кнопок залитая без рамки была на 2px ниже (60 vs 62px).
   Даём ей прозрачную рамку 1px, как у Тильды для контурной (padding там уже уменьшен на --border-width). Шапку не трогаем. */
.t-btn.t-btnflex_type_button:not(#bf):not(.t-menu-base__buttons *):is(:has(~ .t-btnflex_type_button2), .t-btnflex_type_button2 ~ *){border:1px solid transparent !important}

@media screen and (max-width:640px){#rec5398833403 .t-btn:not(#bf){width:100% !important;max-width:320px !important;box-sizing:border-box !important;justify-content:center !important}}

x-guard{}
#rec5398831903 .t-btnflex_type_button2,.t-menu-base__buttons .t-btnflex_type_button2{border:0 !important;border-color:transparent !important;background:transparent !important;box-shadow:none !important;padding-left:6px !important;padding-right:6px !important}
#rec5398831903 .t-btnflex_type_button2 *,.t-menu-base__buttons .t-btnflex_type_button2 *{color:#fff !important}
#rec5398831903 .t-btnflex_type_button2,.t-menu-base__buttons .t-btnflex_type_button2{color:#fff !important;font-weight:600 !important}

x-guard{}
.t-menu-base .t-menu-base__button a.t-btn.t-btnflex_type_button2.t-btnflex_sm{border:0 !important;border-color:transparent !important;background:transparent !important;box-shadow:none !important;padding-left:6px !important;padding-right:6px !important;color:#fff !important;font-weight:600 !important}
.t-menu-base .t-menu-base__button a.t-btn.t-btnflex_type_button2.t-btnflex_sm *{color:#fff !important}