/* Responsive repairs around the original avada design recovered from boleznimatki.ru. */
*{box-sizing:border-box}body{font-family:"Open Sans",Arial,sans-serif;line-height:1.6}a{color:#297eaf}button,input,textarea{font:inherit}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}header .inner_header{max-width:1000px;margin:auto}header .navbar{border:0;margin:0;background:white;min-height:110px}header .container-fluid{padding:0 28px}header .top_header{display:flex;align-items:center;justify-content:space-between;gap:30px;min-height:110px;padding:0;height:auto}header .top_header .logo{display:block;float:none;margin:0;text-decoration:none}header .top_header .logo .logo_text1{float:none;margin:0;line-height:1.2;font-size:31px;color:#3f97d5;letter-spacing:-1.6px}header .header_search{float:none;margin:0;width:280px;flex:0 0 280px}header .header_search button{position:absolute;right:0;top:0;border:0;background:#3f97d5;color:white;height:38px;padding:0 12px;border-radius:0 3px 3px 0;font-size:12px}header .header_search input[type=text]{padding-right:65px;color:#343434}header .main_menu_wrapper .main_menu{display:flex;list-style:none;padding:0;clear:both}header .main_menu_wrapper .main_menu li{float:none;width:auto;flex:1;display:block}header .main_menu_wrapper .main_menu li a{display:flex;align-items:center;justify-content:center;height:56px;padding:8px;font-size:11px;line-height:1.4}.menu-toggle{display:none;border:1px solid #3f97d5;background:white;color:#28749c;border-radius:3px;padding:8px 13px}.wrapper{width:100%;max-width:1000px;min-height:0;height:auto;padding-bottom:45px}.page-template-default .wrapper,.error404 .wrapper,.search .wrapper{padding:0 0 45px;border:0}.before_content{padding:28px 28px 0}.content-columns{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:28px;align-items:start}.leftcol{max-width:none;min-width:0}.single_content h1,.leftcol h1{font-size:29px;line-height:1.25;text-transform:none}.rubric_title{margin-bottom:24px!important}.archive-note{background:#f3f7f9;border-left:3px solid #3f97d5;padding:13px 16px;font-size:13px;color:#476172;margin:0 0 24px}.article-body{font-size:16px;line-height:1.8;overflow-wrap:anywhere}.article-body p{margin:0 0 22px}.article-body h2{margin:32px 0 16px;line-height:1.35}.article-body h3{margin:26px 0 12px}.article-body img{max-width:100%;height:auto;display:block;margin:18px auto}.article-body img[src]{width:auto}.article-body table{width:100%;border-collapse:collapse;display:block;overflow:auto}.article-body td,.article-body th{border:1px solid #dbe4e8;padding:9px}.article-body ul,.article-body ol{padding-left:25px;margin:14px 0 24px;list-style:initial}.article-body ol{list-style:decimal}.article-body li{margin:8px 0}.article-body blockquote{font-size:15px;padding:18px 22px;background:#f0f6fa;border-left:4px solid #3f97d5;margin:24px 0;color:#2d4857}.article-body a{text-decoration:underline;color:#217fb7}.article-body figure{margin:24px 0}.article-body figcaption{color:#687782;font-size:12px;text-align:center}#oglavlenie{margin:0 0 28px}#oglavlenie_in ul{padding:0;list-style:none}#oglavlenie_in a{color:#297eaf;text-decoration:none}#oglavlenie_in a:hover{text-decoration:underline}.breadcrumbs{height:auto;margin:0 0 18px;line-height:1.5;font-size:12px}.sidebar{float:none;margin:0;width:auto}.sidebar .title{font-size:17px;line-height:1.5;font-weight:bold}.sidebar ul{margin:0;padding:18px 0;list-style:none}.sidebar .sidebar_pop_articles li{border-bottom:1px solid #edf0f2;margin:0;padding:12px 0}.sidebar .top{display:none}.sidebar .info a{font-size:13px;line-height:1.45}.sidebar-information{padding:18px;border:1px solid #e1e8eb;margin:24px 0;font-size:13px;color:#586b74}.sidebar-information b{color:#283b44}.sidebar-information p{margin:10px 0}.popular_articles{padding:15px 0 4px}.popular_articles .title{font-size:24px;line-height:1.35}.popular_articles ul{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:26px 18px;margin:0;padding:0;list-style:none}.popular_articles ul li{width:auto;padding:0;margin:0;font-size:14px;display:block}.popular_articles .img_border{display:block;overflow:hidden;height:145px;margin-bottom:13px;background:#f4f6f7}.popular_articles .img_border img{width:100%;height:100%;object-fit:cover}.popular_articles .info a{line-height:1.5}.popular_articles .info p{font-size:13px;line-height:1.6;color:#67747b;margin-top:10px}.related ul,.category-cards ul{grid-template-columns:repeat(2,minmax(0,1fr))}.related{margin-top:35px;border-top:1px solid #e1e6e8}.related .title{font-size:22px}.category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:24px}.category-grid a{display:block;border:1px solid #e2e7eb;padding:16px;font-size:14px;color:#283b47}.category-grid small{display:block;color:#788790;font-size:11px;margin-top:5px}.home-heading{font-size:25px;line-height:1.4;margin:25px 0 14px;color:#283b47}.home-intro{color:#63757f;font-size:14px;margin-bottom:35px}.slider_wrap{height:auto;min-height:410px;background:linear-gradient(#fafafa,#e9e9e9)}.slider_wrap .slider_inner{padding:40px 28px 30px;max-width:1000px}.slider{height:auto!important;min-height:308px}.restored-slide{display:none;grid-template-columns:1fr 1fr;gap:38px;align-items:center}.restored-slide.is-active{display:grid}.slider .img_overlay{width:100%;float:none;height:290px;border-radius:3px}.slider .img_overlay img{width:100%;height:100%;object-fit:cover}.slider .slider_info_wrap{width:auto}.slider .slider_info_wrap .slide_info{float:none;width:auto;padding:0}.slider .slide_info .title a{font-size:30px;line-height:1.22;margin:0 0 20px;top:0}.slider .slide_info p{font-size:14px;line-height:1.6}.slider-controls{display:flex;justify-content:center;gap:8px;margin-top:23px}.slider-controls button{border:1px solid #ccd5da;background:white;color:#367b9f;border-radius:3px;padding:6px 15px;font-size:12px}.front_content{padding:8px 28px 0}.pagination{display:flex;flex-wrap:wrap;gap:7px;margin:25px 0}.pagination a{display:block;border:1px solid #dbe5eb;padding:7px 12px;border-radius:2px}.pagination a[aria-current]{background:#3f97d5;color:white}.sitemap-list{list-style:disc;padding-left:20px}.sitemap-list li{margin:10px 0;font-size:14px}.sitemap-list a{color:#2f81b1}footer{max-width:1000px;margin:0 auto;padding:35px 28px 25px;min-height:0;color:white;background:#3f97d5}footer a,footer a:hover{color:white;text-decoration:none}footer a:hover{text-decoration:underline}.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:30px}.footer-grid b{display:block;font-size:16px;margin-bottom:12px;color:white}.footer-grid a{display:block;margin-bottom:7px;font-size:13px}.footer-grid p{font-size:12px;color:#eaf4fa;margin:9px 0;max-width:300px}.footer-grid .footer-brand{font-size:26px;font-weight:bold;color:white;letter-spacing:-1px}.footer-note{font-size:12px;color:#eaf4fa;border-top:1px solid #ffffff40;margin:25px 0 0;padding-top:18px}.feedback-form{max-width:540px}.feedback-form label{display:block;font-size:14px;margin:17px 0 7px}.feedback-form input,.feedback-form textarea{display:block;width:100%;border:1px solid #cad9e2;border-radius:3px;padding:10px;color:#2b414d;background:white}.feedback-form textarea{min-height:180px;resize:vertical}.feedback-form button{display:block;margin:18px 0;background:#3f97d5;color:white;border:0;border-radius:3px;padding:10px 22px}.feedback-form .trap{position:absolute;left:-10000px}.form-message{padding:14px;background:#edf6fb;color:#235877;border-left:3px solid #3f97d5;margin:18px 0}.search-results ul{list-style:none;padding:0}.search-results li{border-bottom:1px solid #e1e8ec;padding:18px 0}.search-results h2{font-size:20px;margin-bottom:8px}.search-results p{font-size:14px;line-height:1.65;color:#6a7981}@media(max-width:800px){header .top_header{min-height:100px;gap:18px}.content-columns{grid-template-columns:minmax(0,1fr)}.sidebar{display:none}.popular_articles ul{grid-template-columns:repeat(3,minmax(0,1fr))}.category-cards ul,.related ul{grid-template-columns:repeat(2,minmax(0,1fr))}.slider .slide_info .title a{font-size:26px}.slider .img_overlay{height:260px}.restored-slide{gap:24px}.footer-grid{grid-template-columns:1.5fr 1fr}.footer-grid>div:last-child{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,1fr);gap:5px 15px}.footer-grid>div:last-child b{grid-column:1/-1}}@media(max-width:560px){header .container-fluid{padding:0 18px}header .top_header{flex-wrap:wrap;gap:12px;padding:18px 0;min-height:0}header .top_header .logo .logo_text1{font-size:28px}header .header_search{order:3;flex:0 0 100%;width:100%;height:40px;display:block!important;position:relative!important}.menu-toggle{display:block}header .main_menu_wrapper .main_menu{display:none;flex-wrap:wrap;padding:0 18px;background:#f4f7f9}.main_menu_wrapper.menu-open .main_menu{display:flex}header .main_menu_wrapper .main_menu li{flex:0 0 50%;width:50%}header .main_menu_wrapper .main_menu li a{font-size:12px;height:46px;border:0;justify-content:flex-start}.before_content,.front_content{padding:23px 18px 0}.restored-slide{grid-template-columns:1fr;gap:20px}.slider_wrap .slider_inner{padding:22px 18px}.slider .img_overlay{height:220px;max-width:none}.slider .slide_info .title a{font-size:27px}.slider-controls{justify-content:flex-start}.slider_wrap{min-height:0}.popular_articles ul,.related ul,.category-cards ul{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 15px}.popular_articles .img_border{height:115px}.popular_articles .info a{font-size:14px}.category-grid{grid-template-columns:repeat(2,1fr)}.home-heading{font-size:23px}.single_content h1,.leftcol h1{font-size:26px;line-height:1.3}.article-body{font-size:16px}.article-body h2{font-size:22px}.article-body blockquote{padding:14px 16px}.archive-note{font-size:12px}.footer-grid{grid-template-columns:1fr;gap:23px}.footer-grid>div:last-child{grid-template-columns:repeat(2,1fr)}footer{padding:28px 18px}.related .img_border{height:100px}.category-cards .info p{font-size:12px}.sitemap-list{padding-left:17px}#oglavlenie_in{padding:5px 16px}#oglavlenie_in ul li{line-height:1.65;margin:10px 0}.pagination a{padding:6px 10px}}

.service-columns{grid-template-columns:1fr}.service-content{width:100%;max-width:none;font-size:16px;line-height:1.8}.service-content p{margin:0 0 20px}.service-content h2{margin:30px 0 14px;font-size:24px}.service-content ul{list-style:disc;padding-left:24px;margin:15px 0 25px}.service-content li{margin:8px 0}.service-content .sitemap-list{columns:2;column-gap:35px}.service-content .sitemap-list li{break-inside:avoid}.image-dialog{border:0;padding:20px;max-width:94vw;max-height:94vh;background:white}.image-dialog::backdrop{background:#152532bb}.image-dialog img{display:block;max-height:80vh;max-width:88vw;object-fit:contain}.image-dialog button{display:block;margin:0 0 12px auto;border:1px solid #3f97d5;padding:5px 14px;background:white;color:#28749c}.article-body img{cursor:zoom-in}@media(max-width:560px){.service-content .sitemap-list{columns:1}}

.sidebar .sidebar_pop_articles:nth-child(2) li{display:grid;grid-template-columns:84px minmax(0,1fr);gap:10px;align-items:start}.sidebar .sidebar_pop_articles:nth-child(2) .top{display:block}.sidebar .sidebar_pop_articles:nth-child(2) .img_border{display:block;height:60px;overflow:hidden;margin:0}.sidebar .sidebar_pop_articles:nth-child(2) img{display:block;width:84px;height:72px;object-fit:cover}.footer-grid h2{display:block;font-size:16px;line-height:1.5;margin:0 0 12px;color:white}.footer-categories{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 12px}.footer-grid>div:last-child{display:block}

body.home main.wrapper,body.single-post main.wrapper,body.category main.wrapper,body.page-template-default main.wrapper{padding-bottom:45px;min-height:0;height:auto}.content-columns .leftcol{width:100%}

dialog.image-dialog{margin:auto}

/* Approved logo 3A: remove inherited theme offsets and share one header axis. */
header .navbar-default .container-fluid{padding:0 28px}
header .navbar-default .top_header{min-height:110px;align-items:center}
header .navbar-default .top_header a.logo{display:flex;align-items:center;gap:12px;float:none;width:auto;height:auto;margin:0;padding:0;line-height:1;white-space:nowrap}
header .navbar-default .top_header a.logo .brand-symbol{display:block;float:none;width:48px;height:48px;margin:0;object-fit:contain;flex:0 0 48px}
header .navbar-default .top_header .brand-wordmark{display:block;color:#142b45;font-size:30px;font-weight:700;line-height:1.2;letter-spacing:-1px;margin:0;padding:0;word-break:normal}
header .navbar-default .top_header .brand-domain{color:#3f97d5}
header .navbar-default .top_header .header_search{display:flex;align-items:stretch;position:relative;top:auto;height:40px;margin:0;float:none;overflow:hidden;flex:0 0 280px;width:280px}
header .navbar-default .top_header .header_search input[type=text]{display:block;flex:1;min-width:0;width:0;height:100%;line-height:normal;padding:0 14px;border:0;border-radius:0}
header .navbar-default .top_header .header_search button{position:static;flex:0 0 auto;height:auto;top:auto;right:auto;margin:0;line-height:normal;border-radius:0;padding:0 14px}
@media(max-width:800px){header .navbar-default .top_header .brand-wordmark{font-size:26px}header .navbar-default .top_header a.logo{gap:10px}header .navbar-default .top_header a.logo .brand-symbol{width:42px;height:42px;flex-basis:42px}}
@media(max-width:560px){header .navbar-default .container-fluid{padding:0 18px}header .navbar-default .top_header{min-height:0;gap:12px;padding:18px 0}header .navbar-default .top_header .brand-wordmark{font-size:22px;letter-spacing:-.6px}header .navbar-default .top_header a.logo .brand-symbol{width:34px;height:34px;flex-basis:34px}header .navbar-default .top_header .header_search{order:3;flex-basis:100%;width:100%;height:40px}}
@media(max-width:360px){header .navbar-default .top_header .brand-wordmark{font-size:20px}header .navbar-default .top_header a.logo .brand-symbol{width:30px;height:30px;flex-basis:30px}header .navbar-default .top_header a.logo{gap:8px}}

/* Keep the footer at the viewport bottom on short pages, in normal flow. */
body{display:flex;flex-direction:column;min-height:100vh;min-height:100dvh}
body>header,body>footer{flex:0 0 auto;width:100%}
body>main.wrapper{flex:1 0 auto}

/* Show complete article previews; override the original theme's 126px crop. */
.popular_articles ul li .top{height:auto;min-height:0;max-height:none}
.popular_articles ul li .top .img_border{display:block;width:100%;height:auto;aspect-ratio:4/3;position:relative;margin:0 0 13px;background:#f7f9fa;overflow:hidden}
.popular_articles ul li .top .img_border img{display:block;position:absolute;inset:0;width:100%;height:100%;max-width:100%;max-height:none;margin:0;padding:0;object-fit:contain;object-position:center}
.sidebar .sidebar_pop_articles:nth-child(2) ul li .top{width:84px;height:72px}
.sidebar .sidebar_pop_articles:nth-child(2) ul li .top .img_border{width:84px;height:72px;margin:0;background:#f7f9fa}
.sidebar .sidebar_pop_articles:nth-child(2) ul li .img_border img{width:84px;height:72px;max-width:84px;margin:0;object-fit:contain;object-position:center}

/* Approved compact category intros: at most two visible text lines. */
.popular_articles.category-cards ul li .info p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;line-height:1.6;max-height:3.2em}

/* Optical centering: align visible letter/petal ink with the search center. */
header .navbar-default .top_header .brand-wordmark{transform:translateY(.033333em)}
header .navbar-default .top_header a.logo .brand-symbol{transform:translateY(-1%)}

/* Direct slide selectors: a visible dot inside a 40px keyboard-accessible button. */
.slider-controls{gap:0;justify-content:center;margin-top:18px}
.slider-controls .slider-dot{display:grid;place-items:center;width:40px;height:40px;flex:0 0 40px;padding:0;border:0;border-radius:50%;background:transparent;cursor:pointer}
.slider-controls .slider-dot::before{content:"";display:block;width:8px;height:8px;border-radius:50%;background:#aab9c4}
.slider-controls .slider-dot[aria-pressed=true]::before{width:11px;height:11px;background:#3f97d5}
.slider-controls .slider-dot[aria-pressed=false]:hover::before{background:#7b909f}
.slider-controls .slider-dot:focus-visible{outline:2px solid #297eaf;outline-offset:-5px}

/* Compact section navigation; keep related-article cards independent. */
.sidebar .sidebar_pop_articles:first-child{padding:16px 20px}
.sidebar .sidebar_pop_articles:first-child .title{margin-bottom:10px;line-height:1.5}
.sidebar .sidebar_pop_articles:first-child .title span{padding-top:10px}
.sidebar .sidebar_pop_articles:first-child ul{padding:0;margin:0}
.sidebar .sidebar_pop_articles:first-child ul li{margin:0;padding:0;border-bottom:1px solid #edf0f2}
.sidebar .sidebar_pop_articles:first-child ul li:last-child{border-bottom:0}
.sidebar .sidebar_pop_articles:first-child ul li a{display:block;padding:9px 0;font-size:14px;line-height:1.5}

/* Center page navigation and remove the inherited open-sided outer frame. */
nav.pagination{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:10px;width:100%;height:auto;margin:28px 0 0;padding:12px 0;border:0;border-radius:0;overflow:visible}
nav.pagination a{display:flex;align-items:center;justify-content:center;flex:0 0 auto;min-width:44px;height:44px;margin:0;padding:0 10px;border:1px solid #d6e1e8;border-radius:50%;background:#fff;color:#297eaf;font-size:14px;line-height:1;text-decoration:none}
nav.pagination a[aria-current],nav.pagination a:hover{background:#3f97d5;border-color:#3f97d5;color:#fff}
nav.pagination a:focus-visible{outline:2px solid #297eaf;outline-offset:3px}
