/*
Theme Name: Maski Beauty
Description: Adapted from the Moimakiyazh editorial theme for maskidlyakrasoty.ru.
Version: 1.0
*/
@font-face {
    font-family: 'Open Sans Regular';
    src: url('/wp-content/themes/maski-beauty/css/open-sans.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Open Sans Bold';
    src: url('/wp-content/themes/maski-beauty/css/open-sans-bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans Semibold';
    src: url('/wp-content/themes/maski-beauty/css/open-sans-semibold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {color: #2b2b2b;font-size: 14px;font-family:'Open Sans Regular', 'Georgia';background:#f0f0f0;}

p {margin-bottom:18px;line-height:22px;}
h1 {font-family: 'Open Sans Bold';text-align: left;font-size: 21px;margin: 0 0 15px;padding: 0 0 5px;position: relative;color:#524a47;}
h2 {font-family: 'Open Sans Bold';font-size: 18px;color: #524a47;margin: 20px 0px 10px 0;display: inline-block; text-align:left;text-transform:uppercase;}
h3 {font-family: 'Open Sans Bold';font-size: 16px;color: #524a47;margin: 20px 0px 10px 0;display: inline-block; text-align:left;text-transform:uppercase;}
.h1 {color: #524a47;font-family: 'Open Sans Bold';font-size: 18px;text-transform: uppercase;}
b, strong {font-family: 'Open Sans Bold';font-weight:normal;}
a {outline:0;color:#7ab131;}
a:hover {text-decoration:none;}
a:visited {color:#5f6b52;}  /* было #999 — контраст 2.85, прочитанные ссылки выцветали (канон 8.5, 10.09.2026) */
:focus {outline: -webkit-focus-ring-color auto 0px; outline: 0px;}
.logo, .menu-logo {float:left;width:153px;height:58px;position:relative;top:9px;margin-left:50px;}
.menu-logo span {display:block;height:100%;}
.container {max-width: 1100px;text-align:left;width:99.5%;margin: 0 auto;overflow: hidden;background:#fff;height: auto;}
.related-link {cursor:pointer;}

.content {margin: 0 auto;vertical-align: top;display: table;padding: 0 50px;}
.content-inside {display:table-cell;vertical-align:top;background: none;}
.sidebar {width:310px;display: table-cell;padding-left: 30px;}

.menu {margin: 0 0 20px;position: relative;z-index: 10;}
.menu li {font-family: 'Open Sans Bold';color: #fff;font-size:16px;display: table-cell;text-align: center;vertical-align: middle;border-left: 1px solid #b4aba7;border-right: 1px solid #7d7572;}
.menu li:hover {cursor:pointer;background:#7ab131;}
.menu li:first-child {border-left:0;}
.menu li:last-child {border-right:0;}
.menu ul {width:100%;text-align:center;display:table;height: 60px;background: #938a86; margin: 0 auto;box-sizing: border-box;height: 60px;}
.menu li a {font-family: 'Open Sans Bold';color: #fff;text-decoration: none;font-size: 16px;display:block;height: 60px;line-height: 60px;}
.menu li a:hover {background:#7ab131}
.current_cat {background:#7ab131!important;    display: block;height: 60px;line-height: 60px;}
.current{background:#7ab131}
.current span {text-decoration: none;font-size: 16px;font-family: 'Open Sans Bold';color: #fff;}

header {height: 619px;max-width: 1100px;margin: 0 auto 50px;width: 100%;}
.nomain {background:#fff;height:auto;padding:0;}
.header {margin: 0 auto;display: table;width: 100%;  position: relative;z-index: 10;height: 78px;}
.search {float:right;padding: 25px 0 0;width: 215px;margin-right: 50px;}
.lupa {position: absolute;right:50px;float: right;height: 38px;width: 38px;border:0;color:transparent;padding:0;}
.lupa:hover {cursor:pointer;}
.search input[type="text"] {padding: 12px 25% 12px 7%;font-size: 12px;float: right;color: #8c8c8c;border: 0;max-width: 165px;background: none;background: #f0f0f0;}
.exp {color: #616161;text-decoration: underline;font-size: 13px;margin: 11px 0;  padding: 0;background-position: 0px 2px;}
.exp:hover {text-decoration:none;}
.banner {float: right;vertical-align: top;display: table-cell;}

.foto {display:table;width:100%;text-align:center;margin: 0px auto;max-width: 1000px;background: none;}
.first {width: 47%;position: relative;display:inline-block;vertical-align: top;float: left;text-align: left;margin-bottom: 40px;overflow: hidden;background:#fff;}
.front-page .first:nth-child(2n+2) {float:right;}
.first img {width:100%;}
/*.first p {background:#fff;margin-bottom:0;line-height:normal;padding: 0 25px 10px;}*/
.first-in p {margin-bottom:0;}
.second {display:inline-block;width: 48.5%;}
.description {text-align: left;margin: 7px 0 20px;color: #fff;font-size: 14px;}

.rubric_list .first .img_border { position: relative;height: 282px;background: rgba(135, 163, 61, 0.62)}
.first .date {margin: 0 0 10px 15px;padding-top: 20px;}
.first .date span {vertical-align: middle;text-align: left;font-size: 11px;background: rgba(122,177,49,.14);color: #4e7a1c;border-radius:2px;padding: 2px 6px;line-height: 18px;}
.rubric_list .first-in { padding: 0; background: none; }
.rubric_list .first .img_border:before { content: ""; position: absolute; width: 100%; height: 100%; left: 0; top: 0; background: rgba(0, 0, 0, 0.2);}
.rubric_list .first:hover .img_border:before {}
.rubric_list .first:hover a {}
.rubric_list .first:before { display: none; }
.front-page .rubric_list {}
.desk {position: absolute;top: 55%;transition: all 0.4s ease-in-out;height:100%;}
.rubric_list .first:hover .desk {top: 0;background: #87a33d;transition: all 0.4s ease-in-out;}
.poster .img_border:last-child {border-right:0;}

.category .content-inside {display: table-cell;vertical-align: top;margin-bottom: 50px;box-sizing: border-box;position: relative;max-width:690px;}
.category .container {overflow:visible;background:none;box-shadow:none;}
.category .content {display:block;box-sizing: border-box;width: 100%;}

.category .foto .first:nth-child(2n+2) {border-right:0;float:right;}
.category .foto {position: relative;}

.related .first {width:45.5%;display: block!important;}
.related .first:before {content:'';background:rgba(0, 0, 0, 0.1);width:100%;height:100%;position:absolute;}
.related .first:hover:before {background:rgba(0, 0, 0, 0.5);cursor:pointer;}
.related .first:nth-child(3) {border-right:0;}
.related .first img{width: 100%!important;height: auto!important;}
.related .first-in {max-height:none; /* background: #1e252c; */ background: none; padding-bottom:1%;}
.first a {font-family: 'Open Sans Bold';text-transform:uppercase;font-size:14px;padding: 10px 15px;color:#fff;text-decoration:none;text-align:left;position: relative;vertical-align: middle;display: block;background: rgba(135, 163, 61, 0.75);height:50px;}
.first-in span {font-size: 13px;text-align: left;text-decoration: none!important;display: block;margin: 0 0 5px;color: #444444!important;}
.related-link:hover {cursor:pointer;}
/*.related .rubric_list .first .img_border {height:auto;}*/
.related .first a {background:rgb(135, 163, 61);}
.video {margin: 0 auto;max-width: 1000px;background: #fff;box-shadow: 1px 1px 16px 8px #e4e1e1;}

.sovet-descriptor {color: #fff;font-size: 13px;text-align:left;margin:0;position:relative;     padding: 5px 0 0 15px!important;line-height: 16px;background: rgba(135, 163, 61, 0.75);}

.question {margin: 10px 0;}
.question img {float: left;position: absolute;margin: 0px 0 0 60px;}
.question-inside {position:relative; display: block!important;text-align: left!important;  padding: 25px 30px 10px!important;    border-top: 1px solid #ebebeb;}
.question-inside p {margin-bottom:10px;}
.question-inside .h1 {margin-bottom:25px;color: #171717;}
.question-inside input[type="text"] {border: 1px solid #ebedeb;padding: 1%;width: 45.7%;color:#9d9d9d;}
.question-inside textarea {padding: 2%;width: 96%;height: 60px;border: 1px solid #ebedeb;color:#9d9d9d;}
.question-inside input[type="submit"] { margin: 10px auto 0px;border: 0;font-size: 12px;background: #dd4a22;padding: 10px 25px;color:#fff;}
.question-inside input[type="submit"]:hover {cursor:pointer;background:#7ab131;color:#fff;}
.q1 {color:#293432;text-transform:uppercase;font-size:18px;padding: 30px 0 0 0px;}
.question-inside form {}

.statistika {}
.statistika ul {display:table;width:100%;box-sizing: border-box;border-left: 0;border-right: 0;margin-left: 0!important;padding: 0px 0 0;border-top:1px solid #e6e6e6;border-bottom:1px solid #e6e6e6;}
.statistika li {display:inline-block;color: #686868;font-size:12px;text-align: center!important;  width: 22.9%;margin-right: 2%;padding: 5px 0;}
.statistika li:last-child {margin-right:0;  float: right;}
.statistika ul li:before {content:none!important;}

.post {background:#fff;}
.category .post p {padding:0;}
.post ol {margin-left: 25px;counter-reset: list1;margin-bottom:20px;}
.post ol li, .post ul li, .related ul li {line-height: 25px;  text-align: left;}
.related ul li {padding-left:25px;}
.post ol li:before {background:#7ab131;position: absolute;width: 19px;height: 19px;margin-left: -27px;margin-top: 3px;counter-increment: list1;content: counter(list1);text-align: center;color: #fff;line-height: 19px;font-size: 14px;border-radius:100%;}
.post ul li:before {content:'';background:#7ab131;  width: 9px;height: 9px;position: absolute;margin: 11px 0 0 -23px;border-radius: 100%;}
.post ul {margin-bottom:20px;margin-left: 25px;} 
.foto-expert img {width: auto;float: left;margin-right: 20px;  padding: 10px;}
.info-expert {padding: 0 0 15px;}
.avtor a {color:#303030;font-size:14px;}
.avtor a:hover {color:#7ab131;text-decoration:underline;}
.avtor li:before {content:'';background:#7ab131;width: 9px;height: 9px;position: absolute;margin: 8px 0 0 -23px;border-radius: 100%;}

.expert-out { width: 100%;margin: -20px 0;}
.expert {}
.expert img {width: 100%;max-width: 300px;}
.expert-img {border: 1px solid #dad8d8;}
.expert-div1 {float:left;text-align: center;vertical-align: middle;border-radius: 100%;margin: 0px 30px 20px 0;width: 35%;box-sizing: border-box;}
.expert-div2 {}
.expert-div2-title {font-family: 'Open Sans Bold';text-align:left;color:#524a47;font-size:18px;  margin: 0 0 5px;line-height: 18px;}
.expert-div2-text {color:#969696;font-size:13px;margin-bottom:5px;}
.expert-div2-text2 {color:#555555;font-size:13px;  margin-bottom: 12px!important;line-height: 16px;}
.expert-div2 a {margin: 10px auto 0px;border: 0;color: #ebebeb;font-size: 14px;position: relative;  background:#7ab131;padding:10px 25px;text-decoration:none;top:15px}
.expert-div2 a:hover {background:#1d1d1d;}

.aside {text-align:left;margin-bottom:15px;}
.aside img {}
.aside-post {display:table;  padding: 15px 0;border-bottom: 1px solid #e6e6e6;}
.aside-post:first-child {padding-top:0;}
.aside-img {display:table-cell;  padding-right: 10px}
.aside-post a {font-size: 18px;text-decoration:none;color:#212121!important;}
.aside-post a:hover {text-decoration:underline!important;}
.aside-post p {margin-bottom:5px;display:table-cell;  line-height: 14px;vertical-align:top;}
.aside .expert div:nth-child(2) {margin-top:0;  padding-top: 0;}
.komment {color:#a2a2a2;font-size:12px;font-weight:bold;margin-bottom:18px!important;}
.supercomment-message-count {}

.authors p, .rank p, .social p {font-size:16px;color:#111;}
.authors p {text-align:left;margin-bottom: 5px;}
.authors {display:table-cell;width:33%;}
.authors img {float:left;padding-right: 15px;width: auto;  max-width: 40%;}
.rank {display:table-cell;width:19%;text-align:center;vertical-align:top;}
.social {display:table-cell;width:33%;text-align:center;vertical-align:top;}
.related-h1 {margin-bottom:18px;font-style:italic;font-size:18px;}
.related {margin-top: 20px;overflow: hidden;padding: 2%;width:96%;border: 1px solid #ebebeb;}
.related .popular {display:table;}
.related .quest  {display: table-cell;width: 30%;vertical-align: top;}
.related .quest .wp-capton a {display:table;border:0;}
.related .block .wp-caption {border:0;}
.related .category-right .statistika li {line-height:21px;}
.related span {font-family: 'Open Sans Bold';color:#524a47;font-size: 14px;text-transform:uppercase;}

.comments {border:1px solid #c6c6c6}

footer { width: 100%;margin: 0 auto;height: auto;padding: 34px 0 22px;background: #938a86;max-width: 1100px;}
.push {height: 16em;}
.colomn-first {  max-width: 1000px; margin: 0 auto;}
.colomn-first p {font-size: 14px;text-align: left;position: relative;bottom: -22px;padding: 0px 30px 10px 0px;margin-top: 0px;margin-bottom: 0;line-height: 14px;color:#e9e3e0;}
.colomn-first img {margin-right:20px;}
.colomn p:first-child {font-size: 9px;color: #000;margin-bottom: 10px;}
.colomn a, .colomn span { font-family: 'Open Sans Regular';font-size: 13px;color: #ece7e5;text-decoration: none;text-transform: none;}
.colomn {float: right;top: -71px;vertical-align: top;display: table;position: relative;color: #999;font-size: 15px;}
.colomn:last-child img {position: relative;bottom: 0px;}
.colomn a:hover, .colomn span:hover {text-decoration:underline;}
.colomn ul {display:inline-block;vertical-align:top;margin-right: 30px;}
.colomn li {font-family: 'Open Sans Bold';text-transform:uppercase;padding-left:10px;color:#fff;line-height: 22px;font-size:16px;}
.colomn ul li:first-child {padding-bottom:20px;} 

#true_loadmore{background:url(img/loadmore.png) no-repeat #dd4a22;background-position:12px 13px; text-align: center; font-size: 12px;position: relative;color: #fff;height: 36px;margin: 0 0 30px;cursor:pointer; line-height: 36px;float: left;padding:2px 25px 2px 40px;display:inline-block;}
#true_loadmore:hover {color:#fff; background:url(img/loadmore.png) no-repeat #7ab131;background-position:12px 13px;}
.avtor #true_loadmore {margin: 30px 0 0;}

.aligncenter {padding: 0 10%;max-width: 100%;height: auto;box-sizing: border-box;}  /* было width:100%: фото 500 px растягивалось на всю колонку (канон 2.4, 10.09.2026) */
.aligncenter  img, .alignleft img, .alignright img {max-width:100%;width:auto;height:auto;}  /* было width:100% — старые фото 500 px растягивались до 660 и мылили (канон 2.4, 10.09.2026) */
.alignleft {float:left; margin: 5px 10px 5px 0px;position:relative;z-index:10;}
.alignright {float:right; margin: 5px 0px 5px 10px;position:relative;z-index:10;}
.alignnone {width: 80%;height: auto;position:relative;z-index:10;}
.wp-caption-text {  font-size: 12px;color: #6e6e6e;text-align: center;width: 96%;padding: 5px 2%!important;background:#f0f0f0;}

blockquote, .questions {background: url(img/blockquote.jpg) no-repeat #f0f0f0;background-position:13px;padding: 20px 20px 20px 75px;margin: 0px 0px 15px;color: #313131;display: inline-block;font-size:14px;}
blockquote p, .questions p {margin:0;margin-bottom:0;}
table, td, tr {border: 1px solid #dbdbdb;vertical-align: middle;text-align: center;}
.replace { cursor:pointer; }
hr {width:100%;height:2px;background:#72bf44; margin: 0 0 15px;}

#ya-site-results table, #ya-site-results td, #ya-site-results tr {border:0;border-color:#fff;}
.yashare-auto-init {float:none!important;}
.author {font-weight: bold;margin: 10px 0;font-size: 14px;width: 100%;box-sizing: border-box;background-color: #fff;}

/* SLIDER */
.slider-outside {width: 100%;display: table-cell;vertical-align: top;}
.slider-title {display:block;padding: 2px 0px 13px 0px;width: auto;font-size: 18px;text-align:left;margin-bottom:16px;background: none;color: #1d1d1d;border-bottom: 2px solid #c2cd02;}
.slider {  position: relative;width: 100%;}
.slider .left { text-align: left;padding: 20px 45px 0;min-height: 205px;background: rgba(209, 93, 60, 0.87);margin: 87px 0 0px 50px;}
.slider .title {font-family: 'Open Sans Bold'; display: block;text-decoration: none;font-size: 24px; color: #fff;padding-bottom: 10px;}
.slider .desc { margin: 0 0 15px; font-size: 14px; color: #fff; }
/*---oglavlenie---*/
			
#textercalc_brick_first{width: 220px;}
#textercalc_brick_addsurface{float:right}
.textercalc_delparent{float: right;}
.textercalc_surface_div{padding-bottom: 10px;}
#oglavlenie{clear: both;margin: 0 0 20px;border:1px solid #e6e6e6; padding: 10px 0 20px;}
#oglavlenie p:last-child{margin:0px;}
#oglavlenie_in {text-align: left;border-top:1px solid #e6e6e6;}
#oglavlenie ul{margin:10px 0 5px 46px;counter-reset: list1;font-size: 12px;}
#oglavlenie ul li {padding:0;line-height: 27px;list-style-type: none;font-size:15px;}
#oglavlenie ul li:before {background:#7ab131;position: absolute;width: 19px;height: 19px;margin-left: -27px;margin-top: 6px;counter-increment: list1;content: counter(list1);text-align: center;color: #fff;line-height: 19px;font-size: 13px;border-radius:0;}
#oglavlenie ul ul {counter-reset: list2;margin-left: 30px;}
#oglavlenie ul ul>li:before {background:#7ab131;color: #fff;counter-increment: list2;content: counter(list1) ". " counter(list2);width: 30px;margin-left: -37px;text-align:center;}
#oglavlenie ul li a, #oglavlenie_in span {font-size: 14px;color: #2d2d2e;text-decoration: none;}
#oglavlenie ul li a:hover, #oglavlenie_in span:hover {text-decoration:underline;color:#7ab131;cursor:pointer;}
#oglav_title{text-align: left;display: inline-block;font-size: 18px;color: #fff;margin-bottom: 10px;font-weight:bold;padding:10px 20px 0;}
#video_main_content{display:none;}
#foto_main_content{display:none;}
.img_main_all {max-width: 200px !important;margin: 0 10px 10px 0;}
#txt_main_show, #txt_main_foto, #txt_main_video{margin: 0 25px;width: 150px;text-align: center;display: inline-block;font-weight: bold;cursor: pointer;border-radius: 5px;}
#txt_main_show:hover, #txt_main_foto:hover, #txt_main_video:hover, #txt_main_show.cur_type, #txt_main_foto.cur_type, #txt_main_video.cur_type{background: #BBB;}
#type_navig_main{padding: 10px;border: 1px solid #CCC;margin: 10px 0;}
.new_video_type iframe{margin-right:10px;}
#oglav_main{font-family: 'Open Sans Bold';text-transform:uppercase;color: #524a47;font-size: 21px;}
#togglelink {color: #000;display:none;}
.return_oglavlenie a, .return_oglavlenie span {background:url(img/loadmore.png) no-repeat #dd4a22;background-position:12px 13px; text-align: center; font-size: 12px;position: relative;color: #fff;height: 36px;margin: 0 0 30px;cursor:pointer; line-height: 36px;text-decoration:none;padding:2px 25px 2px 40px;display:inline-block;}
.return_oglavlenie a:hover, .return_oglavlenie span:hover {color:#fff; background:url(img/loadmore.png) no-repeat #7ab131;background-position:12px 13px;}
#itog_show{ display:none;}
#tizers{top:20px;background: none;border: none;padding: 4px;}

/*---comment---*/

.top_comment .h2,
.most_commented .h2 {font-family: 'Open Sans Bold';position: relative;text-align: left;font-size: 16px;margin: 0 0 15px;padding: 0 0 5px;color:#524a47;text-transform:uppercase;}
.top_comment {}
.top_comment ul {margin:0; }
.top_comment ul li { list-style: none; position: relative;width: 100%;margin-bottom: 15px;background: #fff;padding-bottom: 10px;display: table;}
.top_comment ul li:last-child {border-bottom:0;}
.top_comment ul li a .number_block {background: #7ab131;position: absolute;font-size: 12px;color: #fff;text-align: center;vertical-align: top;width: 25px;} 
.top_comment ul li a .number_block:after { position: absolute; bottom: -4px; left: 0; content: ""; width: 9px; height: 4px;}
.top_comment ul li a { text-decoration: none; }
.top_comment ul li a .title_text {display: inline-block;color: #938a86;font-size: 13px;margin-top: 0px;text-decoration: underline;}
.top_comment ul li a:hover .title_text, .top_comment ul li a .title_text p:hover {text-decoration:underline;color: #7ab131;}
.top_comment ul li a .title_text p { margin: 0;line-height: normal;  text-align: left;}
.top_comment ul li a .img_border { width: 100%; overflow: hidden;} 
.top_comment ul li .pull-left {display: table;width: 100%;}
.top_comment ul li .pull-left .img_container {display: table-cell;width:58px;position:relative;}
.top_comment ul li .full_date, .most_commented ul li .full_date {font-size: 11px;background: #fff;color: #7ab131;padding: 0px 6px;display:table-cell;    vertical-align: top;}
.top_comment ul li .full_date p {margin-bottom:0;}
.most_commented {background:#fff;}
.most_commented ul {margin: 0;}
.most_commented ul li  {list-style: none;  padding: 0px 0px 15px; width: 100%;}
.most_commented ul li:last-child {border-bottom:0;padding-bottom: 0; }
.most_commented ul li .full_date {font-size: 11px;background: #7ab131;color: #fff;padding: 2px 6px;}
.most_commented ul li .title {line-height: normal;text-align: left;;color: #7ab131;font-size: 13px;text-decoration: underline;vertical-align: middle;}
.most_commented ul li .title:hover {text-decoration:none;}
.most_commented ul li .desc {font-size: 13px;color: #7d7672;line-height: normal;text-align: left;bottom: 0;display: inline-block;}
.most_commented ul li:last-child .desc { margin-bottom: 0; }
.comment-last .h2 {display: none;}

.breadcrumbs {font-size: 12px;padding: 10px 0 0;margin: -29px 0 15px;}
.breadcrumbs li {display:inline-block;}
.breadcrumbs li a {color: #938a86;font-size: 12px;text-decoration: none;}
.breadcrumbs li a:hover {text-decoration:underline;}
.breadcrumbs li:after {content:'/';color:#938a86;padding: 0px 0px 0 4px;position: relative;top: 0px;margin:0 6px;}
.breadcrumbs li:last-child:after {content:none;}

.show_before_txt_ads table, .show_before_txt_ads tr, .show_before_txt_ads td, .show_after_txt_ads table, .show_after_txt_ads tr, .show_after_txt_ads td, .show_txt1_ads table, .show_txt1_ads tr, .show_txt1_ads td, .show_txt2_ads table, .show_txt2_ads tr, .show_txt2_ads td, .reklama_sidebar_ads table, .reklama_sidebar_ads td, .reklama_sidebar_ads tr {border:0!important;padding:0!important;}

.menu-item span {padding:13px;color:#fff;font-size: 15px;display:block;transition: 0.5s all;border-top: 1px solid #3C3C3C !important;}
#responsive-menu .responsive-menu li {}
#responsive-menu .appendLink {top:0;}
.sub-menu {padding: 20px;}
.menu-item span:hover {background:#fff;color:#000;cursor:pointer;transition: 0.5s all;}

@media screen and (max-width: 1100px) {
.front-page .sidebar {display:none;}
}

@media screen and (max-width: 1024px) {
.authors {width:100%;display:inline-block;text-align: center;}
.authors .expert-title {width: 100%;  padding: 0;}
.authors img {float: none;margin:5px 3px;}
.authors p {margin-top:0;text-align:center;}
.category .foto .first:nth-child(1n+3) {border-right:0;}
.category .foto .first:nth-child(2n+2) {border-right:1px solid #e6e6e6;}
.social-rank {display: block;vertical-align: top;width: 100%;}
}

@media screen and (max-width: 1000px) {
.nomain {height: 125px!important;}
.logo, .menu-logo {top:10px;}
}

@media screen and (max-width: 900px) {
.category .first {box-sizing: border-box;text-align: left;border-right: 0!important;}
}

@media screen and (max-width: 768px) {
.content {padding:0 2%;}
	.related {display:block;}
	.slider-outside {margin: 0 0 84px;display: block;border: 0;}
	.banner  {display:none;}	
	.category .sidebar {display:none;}
	.alignright, .alignleft {padding: 0 10%;width: 100%;height: auto;box-sizing: border-box;}
	.colomn  {display:none;}
	.colomn ul:nth-child(1), .colomn ul:nth-child(2) {display:none;}
	.colomn-first p {text-align:center;padding:0 0 10px;}
	.colomn-first {float:none;}
	iframe {margin:10px auto;display:block;}
	.social, .rank {width:100%;text-align:center;border:0;margin-bottom:10px;  display: inline-block;}
	.authors p, .rank p, .social p {padding:0!important;}
	header {}
	.front-page  .content{display:block;}
	.sidebar {display:none;}
	#click-menu {padding: 10px 4px 0 0!important;background: none!important;}
	.menu li a, .current span, .menu li {font-size:14px;font-family: 'Open Sans Regular';}
	.menu li {border:0;}
	.logo, .menu-logo {margin-left:2%;}
	.search {margin-right:2%}
	.lupa {right:2%;}
}

@media screen and (max-width: 670px) {
.menu {display:none;}
.lupa {top: 26px;background-position: center;height: 32px;width: 34px;right: 0;}
	.search input[type="text"] {padding: 10px 5% 10px 1%;width: 94%;background: #efefef;max-width: none;float: none;text-align: left;}
	.search {display:none;/*display: block;position: absolute;top: 80px;width: 96%;margin: 0 2%;*/}
	.breadcrumbs {display:none;}
	.statistika {display:none;}
	.logo, .menu-logo {top:20px;margin-left: 2%;}
	.slider-outside {display:none;}
	header {height: 130px;background:none;}
	.nomain {height: 36px!important;}
}

@media screen and (max-width: 600px) {
.related .rubric_list .first .img_border {height:auto;}
.expert {display:none;}
.category article {width:90%;margin:10px auto;display:block;}
.category .first {float: none;}
.expert-out {display:none;}
.front-page .expert {display:none;}
.category .container {margin-top:30px;}
.first {width: 100%;min-height: 135px;box-sizing: border-box;border-right:0;background: none;}
.video {width: 90%;margin-top: 25px;}
.front-page .h1 {margin: 2% 0;}
.statistika li {width:46%; background: #f5f5f5;border: 1px solid #ededed;margin:0 0 3% 0;text-align: center!important;}
.statistika ul {background:none;border:none;}
.calendar, .commenty {float:left;}
.rating, .views {float:right;}
.comment-last {padding:2%;}
.aside {padding:2%;}
.banners {display:none;}
.header {height:115px;}
.related .first {width:100%;}
.related .first img{width: 100%!important;height: auto!important;}

}
@media screen and (max-width: 550px) {
.authors, .social, .rank {display:inline-block;width:100%;border:0;}
.authors {margin-right:0;}
.poster .second-in {width:50%;}
}
@media screen and (max-width: 450px) {
.social-rank {display:block;margin-top:30px;}
.slider-outside {width:90%;  max-width: 324px;}
}
@media screen and (max-width: 400px) {

}
.binet-most-commented__title {
    font-family: 'Open Sans Bold';
    position: relative;
    text-align: left;
    font-size: 16px;
    margin: 0 0 15px;
    padding: 0 0 5px;
    color: #524a47;
    text-transform: uppercase;
}

/* карта сайта — списки в колонки, без подчёркиваний у заголовков рубрик */
.karta-sajta h2{margin:26px 0 10px;font-size:20px}
.karta-sajta h2 a{text-decoration:none}
.karta-sajta .karta-schet{color:#999;font-size:14px;font-weight:normal}
.karta-sajta ul{columns:3;column-gap:28px;list-style:disc;padding-left:18px;margin:0}
.karta-sajta ul li{break-inside:avoid;margin:0 0 6px}
@media (max-width:900px){.karta-sajta ul{columns:2}}
@media (max-width:600px){.karta-sajta ul{columns:1}}

/* мобильная навигация: бургер живёт в теме, плагин responsive-menu снят */
.burger{display:none}
@media screen and (max-width:768px){
	.container{width:100%;max-width:100%;overflow-x:hidden;box-sizing:border-box;margin-bottom:0}
	.content,.content-inside{display:block;width:auto;box-sizing:border-box}
	.content{padding:0 12px}
	.sidebar{display:none}
	img,iframe,table{max-width:100%;height:auto}
	.content h1{font-size:22px;line-height:1.25}
	.content h2{font-size:19px;line-height:1.3}
	body{text-align:left}
	.content p,.content li{text-align:left}
}
@media screen and (max-width:670px){
	header{height:auto!important;min-height:92px;position:relative}
	.burger{display:block;position:absolute;top:16px;right:12px;width:44px;height:38px;background:#7ab131;border:0;border-radius:4px;cursor:pointer;z-index:30;padding:0}
	.burger span,.burger:before,.burger:after{content:"";display:block;height:3px;width:22px;margin:5px auto;background:#fff;border-radius:2px}
	header .menu{display:none}
	header.menu-open .menu{display:block;margin:0}
	header.menu-open .menu ul{display:block;height:auto;background:#938a86}
	header.menu-open .menu li{display:block;text-align:left;border:0;border-bottom:1px solid #a79e9a;height:auto;line-height:1.4}
	header.menu-open .menu li,header.menu-open .menu li a,header.menu-open .menu li span{height:auto;line-height:1.4;padding:12px 14px;font-size:15px;display:block}
	.search{display:block!important;position:static;margin:8px 2% 10px;width:96%}
	.search input[type="text"]{width:100%;box-sizing:border-box;float:none}
	.lupa{top:auto}
}

/* ---------- типографика: выключка влево, воздух, ритм ---------- */
body, .container, .content, .post {text-align:left}
.post p, .content p, .post li, .content li, .post td {font-size:16px;line-height:1.72;text-align:left;hyphens:none}
.post p, .content > p {margin:0 0 1.6em}
.post h2, .content h2 {display:block;font-size:20px;line-height:1.3;margin:1.9em 0 .55em;letter-spacing:.01em}
.post h3, .content h3 {display:block;font-size:17px;line-height:1.35;margin:1.5em 0 .45em;color:#524a47;font-family:'Open Sans Bold'}
.content h1 {font-size:26px;line-height:1.25;margin:0 0 .7em}
.post ol, .post ul, .content ol, .content ul {margin:0 0 1.2em}
.post ol li, .post ul li, .related ul li {line-height:1.6;margin-bottom:.45em}
.post img, .content img {height:auto}
.post blockquote {margin:1.4em 0;padding:14px 18px;background:#f6f7f2;border-left:3px solid #7ab131}
.post strong, .content strong {font-family:'Open Sans Bold'}

/* ---------- слайдер популярного в свободной части шапки ---------- */
.geroj-slajder {position:relative;width:420px;margin:78px 0 0 50px;padding:24px 26px 20px;
	background:rgba(255,255,255,.93);border-left:4px solid #7ab131;border-radius:2px;
	box-shadow:0 10px 30px rgba(60,50,45,.18);z-index:5}
.geroj-metka {font-family:'Open Sans Bold';font-size:11px;letter-spacing:.14em;text-transform:uppercase;
	color:#7ab131;margin:0 0 14px}
.geroj-lenta {position:relative;min-height:168px}
.geroj-slajd {display:none}
.geroj-slajd.aktivnyj {display:block;animation:geroj-proyavit .45s ease}
@keyframes geroj-proyavit {from{opacity:0;transform:translateY(6px)} to{opacity:1;transform:none}}
.geroj-rubrika {display:inline-block;font-size:11px;letter-spacing:.06em;text-transform:uppercase;
	color:#fff;background:#dd4a22;padding:3px 9px;margin:0 0 10px}
.geroj-nazvanie {display:block;font-family:'Open Sans Bold';font-size:21px;line-height:1.28;
	color:#3a3330;text-decoration:none;margin:0 0 9px}
.geroj-nazvanie:hover {color:#7ab131}
.geroj-anons {font-size:14px;line-height:1.55;color:#6a625e;margin:0 0 14px}
.geroj-knopka {display:inline-block;font-size:13px;font-family:'Open Sans Bold';color:#7ab131;
	text-decoration:none;border-bottom:1px solid rgba(122,177,49,.45);padding-bottom:2px}
.geroj-knopka:hover {color:#5f8f22;border-bottom-color:#5f8f22}
.geroj-tochki {display:flex;gap:7px;margin:16px 0 0}
.geroj-tochka {width:9px;height:9px;padding:0;border:0;border-radius:50%;background:#d6d2cd;cursor:pointer;transition:background .2s}
.geroj-tochka.aktivnaya {background:#7ab131}
.geroj-tochka:hover {background:#a8a29c}

/* ---------- блоки сайдбара ---------- */
.blok-sidebara {background:#fff;border:1px solid #ececec;border-radius:3px;padding:18px 18px 8px;margin:0 0 22px}
.zagolovok-sidebara {font-family:'Open Sans Bold';font-size:15px;letter-spacing:.03em;text-transform:uppercase;
	color:#524a47;margin:0 0 14px;padding:0 0 10px;border-bottom:2px solid #7ab131}
.spisok-sidebara {list-style:none;margin:0;padding:0}
.karta-sidebara {display:flex;gap:12px;align-items:flex-start;padding:12px 0;border-bottom:1px solid #f0f0f0;cursor:pointer}
.karta-sidebara:last-child {border-bottom:0}
.karta-mini {flex:0 0 62px;width:62px;height:62px;overflow:hidden;border-radius:3px;background:#f3f3f3}
.karta-mini img {width:62px;height:62px;object-fit:cover;display:block}
.karta-tekst {display:block;min-width:0}
.karta-nazvanie {display:block;font-size:14px;line-height:1.35;color:#2f2b29;text-decoration:none;margin:0 0 5px}
.karta-sidebara:hover .karta-nazvanie {color:#7ab131}
.karta-meta {display:flex;align-items:center;gap:5px;font-size:12px;color:#9a938f}
.znak-glaz {color:#b9b3ae;flex:0 0 auto}

/* ---------- подвал ---------- */
.podval-vnutri {display:flex;gap:48px;max-width:1000px;margin:0 auto;padding:0 20px;align-items:flex-start}
.podval-brend {flex:0 0 340px;min-width:0}
.podval-brend p {margin:0 0 12px}
.podval-brend img {margin:0}
.podval-opisanie {font-size:13px;line-height:1.6;color:#e6e0dd;max-width:330px}
.podval-kolonka {flex:0 0 auto;min-width:190px}
.podval-zagolovok {font-family:'Open Sans Bold';font-size:13px;letter-spacing:.08em;text-transform:uppercase;
	color:#fff;margin:0 0 12px}
.podval-kolonka ul {list-style:none;margin:0;padding:0}
.podval-kolonka li {margin:0 0 8px;line-height:1.4}
.podval-kolonka a, .podval-kolonka span {font-size:13px;color:#ece7e5;text-decoration:none;cursor:pointer}
.podval-kolonka a:hover, .podval-kolonka span:hover {text-decoration:underline}
.podval-kopirajt {max-width:1000px;margin:26px auto 0;padding:16px 20px 0;font-size:12px;line-height:1.5;
	color:#e0d9d6;border-top:1px solid rgba(255,255,255,.18)}
@media screen and (max-width:768px){
	.podval-vnutri {flex-wrap:wrap;gap:24px}
	.podval-brend {flex:1 1 100%}
	.podval-kolonka {flex:1 1 45%}
	.geroj-slajder {width:auto;margin:18px 12px 0;padding:18px 18px 14px}
	.geroj-nazvanie {font-size:18px}
	.geroj-lenta {min-height:150px}
	.blok-sidebara {margin:0 0 16px}
}

/* ---------- меню: единый ритм вместо разнокалиберных ячеек ---------- */
.menu ul {display:flex;justify-content:center;align-items:stretch;height:auto;min-height:56px;background:#938a86;box-sizing:border-box}
.menu li {display:flex;align-items:center;justify-content:center;flex:0 0 auto;padding:0;border:0;
	border-right:1px solid rgba(255,255,255,.16);height:auto;text-align:center}
.menu li:last-child {border-right:0}
.menu li a, .menu li span, .menu li.current {display:flex;align-items:center;height:auto;min-height:56px;
	padding:0 26px;line-height:1.25;font-size:15px;letter-spacing:.01em;transition:background .18s}
.menu li:hover {background:#7ab131}
.menu li.current, .current_cat {background:#7ab131!important;height:auto!important;line-height:1.25!important}
.menu li.current {color:#fff}
@media screen and (max-width:1024px){
	.menu li a, .menu li span, .menu li.current {padding:0 16px;font-size:14px}
}

/* ---------- карточка эксперта под статьёй ---------- */
.ekspert-karta {display:flex;gap:20px;align-items:flex-start;margin:34px 0 8px;padding:22px 24px;
	background:#f8f8f5;border-left:4px solid #7ab131;border-radius:2px}
.ekspert-foto {flex:0 0 76px;width:76px;height:76px;border-radius:50%;overflow:hidden;background:#e8ece0;display:block}
.ekspert-foto img {width:76px;height:76px;object-fit:cover;display:block}
.ekspert-bukvy {display:flex;align-items:center;justify-content:center;font-family:'Open Sans Bold';
	font-size:26px;color:#7ab131;letter-spacing:.02em}
.ekspert-tekst {display:block;min-width:0}
.ekspert-rol {display:block;font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#8ea86a;margin:0 0 4px}
.ekspert-imya {display:block;font-family:'Open Sans Bold';font-size:18px;color:#3a3330;margin:0 0 8px}
.ekspert-opisanie {display:block;font-size:14px;line-height:1.6;color:#5f5853;margin:0 0 10px}
.ekspert-vopros {display:inline-block;font-size:13px;font-family:'Open Sans Bold';color:#7ab131;
	text-decoration:none;border-bottom:1px solid rgba(122,177,49,.45);padding-bottom:2px}
.ekspert-vopros:hover {color:#5f8f22;border-bottom-color:#5f8f22}
@media screen and (max-width:600px){
	.ekspert-karta {flex-direction:column;gap:14px;padding:18px}
}
.karta-sidebara.bez-kartinki .karta-nazvanie {font-size:15px}
.karta-sidebara.bez-kartinki {padding-left:2px}

/* ---------- подвал прижат к низу окна на коротких страницах ---------- */
html, body {height:auto}
body {display:flex;flex-direction:column;min-height:100vh}
body > .container {flex:1 0 auto}
body > footer {flex-shrink:0;margin-top:auto}

/* ---------- карточки в рубриках: текст под картинкой, а не поверх ---------- */
.category .first {width:47%;background:#fff;border:1px solid #ececec;border-radius:3px;overflow:hidden;margin-bottom:30px}
.category .rubric_list .first .img_border {height:190px;background:#f3f3f3;border:0}
.category .first .img_border img {width:100%;height:190px;object-fit:cover;display:block}
.category .rubric_list .first .img_border:before {display:none}
.category .first .desk {position:static;height:auto;top:auto;padding:14px 18px 18px;transition:none}
.category .rubric_list .first:hover .desk {top:auto;background:none}
.category .first .date {margin:0 0 10px;padding:0}
.category .first .date span {background:rgba(122,177,49,.14);color:#4e7a1c;border-radius:2px;font-size:11px;padding:2px 7px}
.category .first a {background:none;color:#2f2b29;text-transform:none;font-family:'Open Sans Bold';
	font-size:17px;line-height:1.32;padding:0;height:auto;display:block;margin:0 0 9px}
.category .first:hover a {color:#7ab131}
.category .sovet-descriptor {background:none;color:#6a625e;font-size:14px;line-height:1.55;padding:0!important;margin:0}
@media screen and (max-width:768px){
	.category .first {width:100%;margin-bottom:20px}
	.category .first .img_border, .category .first .img_border img {height:210px}
}

/* ---------- форма обратной связи на контактах ---------- */
.obratka {max-width:560px}
.obratka h2 {margin-top:1.4em}
.obratka .hp {position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden}
.obratka-vvodka {color:#5f5853}
.obratka form strong {display:block;margin:14px 0 6px;font-family:'Open Sans Bold';font-size:14px;color:#3a3330}
.obratka input[type="email"], .obratka textarea {width:100%;box-sizing:border-box;padding:10px 12px;
	border:1px solid #d8d5d1;border-radius:3px;font-size:15px;font-family:inherit;color:#2f2b29;background:#fff}
.obratka textarea {min-height:150px;resize:vertical}
.obratka input[type="email"]:focus, .obratka textarea:focus {border-color:#7ab131;outline:none}
.obratka input[type="submit"] {margin-top:16px;padding:11px 26px;border:0;border-radius:3px;background:#7ab131;
	color:#fff;font-family:'Open Sans Bold';font-size:15px;cursor:pointer;transition:background .18s}
.obratka input[type="submit"]:hover {background:#5f8f22}
.obratka .form_error {color:#c8463f;margin:0 0 10px}
.obratka .ekspert-karta {max-width:100%}

/* ---------- воздух вокруг картинок в тексте ---------- */
.post img {margin:6px 0 16px}
.post img.alignright, .post .alignright img {float:right;margin:6px 0 18px 24px;max-width:46%}
.post img.alignleft, .post .alignleft img {float:left;margin:6px 24px 18px 0;max-width:46%}
.post img.aligncenter, .post .aligncenter img {display:block;margin:18px auto 22px}
.post .wp-caption {max-width:100%;margin:6px 0 18px}
.post .wp-caption-text {font-size:13px;color:#8b837e;margin:6px 0 0;line-height:1.4}
.post h2 + p, .post h3 + p {margin-top:0}
.post ul, .post ol {margin:0 0 1.6em}
@media screen and (max-width:600px){
	.post img.alignright, .post img.alignleft, .post .alignright img, .post .alignleft img {float:none;max-width:100%;margin:10px 0 18px}
}

/* ---------- специалисты на странице контактов ---------- */
.specialisty-proekta {display:flex;gap:20px;flex-wrap:wrap;margin:0 0 10px}
.specialist {flex:1 1 300px;min-width:0;display:flex;gap:16px;align-items:flex-start;
	background:#f8f8f5;border-left:4px solid #7ab131;border-radius:2px;padding:18px 20px}
.spec-foto {flex:0 0 68px;width:68px;height:68px;border-radius:50%;overflow:hidden;background:#e8ece0;
	display:flex;align-items:center;justify-content:center;font-family:'Open Sans Bold';font-size:23px;color:#7ab131}
.spec-foto img {width:68px;height:68px;object-fit:cover;display:block}
.spec-tekst {display:block;min-width:0}
.spec-imya {display:block;font-family:'Open Sans Bold';font-size:17px;color:#3a3330;margin:0 0 3px}
.spec-rol {display:block;font-size:13px;color:#8b837e;margin:0 0 8px}
.spec-pochta {font-size:14px;color:#7ab131;text-decoration:none;border-bottom:1px solid rgba(122,177,49,.4)}
.spec-pochta:hover {color:#5f8f22}
@media screen and (max-width:600px){.specialist{flex:1 1 100%}}

/* ---------- сетка карточек в рубриках: grid вместо float ---------- */
/* на float карточки разной высоты собирались лесенкой и наезжали друг на друга */
.category .foto {display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));gap:28px;
	width:100%;max-width:1000px;margin:0 auto;text-align:left;background:none;box-sizing:border-box}
.category .foto .first {width:auto;float:none!important;display:flex;flex-direction:column;
	margin:0;vertical-align:top}
.category .foto .first .desk {flex:1 1 auto;display:flex;flex-direction:column}
.category .foto br, .category .foto .clear {display:none}
@media screen and (max-width:768px){
	.category .foto {grid-template-columns:minmax(0, 1fr);gap:20px}
}

/* старые правила float-эпохи обнуляли правую рамку у чётных карточек — рамка должна быть у всех */
.category .foto .first,
.category .foto .first:nth-child(2n+2),
.category .foto .first:nth-child(1n+3) {
	border:1px solid #ececec!important;border-radius:3px;float:none!important;box-sizing:border-box}

/* ---------- карточки на главной: тот же приём, что в рубриках ---------- */
.front-page .foto {display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));gap:28px;
	width:100%;max-width:1000px;margin:0 auto 10px;text-align:left;background:none;box-sizing:border-box}
.front-page .foto .first {width:auto;float:none!important;display:flex;flex-direction:column;margin:0;
	background:#fff;border:1px solid #ececec!important;border-radius:3px;overflow:hidden;min-height:0}
.front-page .foto .first .img_border {height:190px;background:#f3f3f3;border:0;position:relative}
.front-page .foto .first .img_border:before {display:none}
.front-page .foto .first .img_border img {width:100%;height:190px;object-fit:cover;display:block}
.front-page .foto .first > p:first-of-type {padding:14px 18px 0!important;margin:0}
.front-page .foto .first .date {vertical-align:middle}
.front-page .foto .first .date span {background:rgba(122,177,49,.14);color:#4e7a1c;border-radius:2px;font-size:11px;padding:2px 7px;line-height:18px}
.front-page .foto .first a {background:none!important;color:#2f2b29;text-transform:none;
	font-family:'Open Sans Bold';font-size:17px;line-height:1.32;padding:10px 18px 0!important;height:auto;display:block}
.front-page .foto .first:hover a {color:#7ab131}
.front-page .foto .first .sovet-descriptor {background:none!important;color:#6a625e;font-size:14px;
	line-height:1.55;padding:8px 18px 18px!important;margin:0}
@media screen and (max-width:768px){
	.front-page .foto {grid-template-columns:minmax(0, 1fr);gap:20px}
	.front-page .foto .first .img_border, .front-page .foto .first .img_border img {height:210px}
}
.post p:empty, .content p:empty {display:none}

/* контейнер контента — таблица: без явной ширины он сжимается по содержимому,
   и сетка карточек на главной выходила вдвое уже, чем в рубриках */
.content {width:100%;box-sizing:border-box}

/* главная: та же карточка, что и в рубриках — .desk из абсолютного слоя поверх фото
   переводится в обычный поток под картинкой */
.front-page .foto .first .desk {position:static!important;top:auto!important;height:auto!important;
	padding:14px 18px 18px;transition:none;display:flex;flex-direction:column;background:none!important}
.front-page .foto .first:hover .desk {top:auto!important;background:none!important}
.front-page .foto .first .desk .date {margin:0;padding:0}
.front-page .foto .first .desk .date span {background:rgba(122,177,49,.14);color:#4e7a1c;border-radius:2px;font-size:11px;padding:2px 7px}
.front-page .foto .first .desk a {background:none!important;color:#2f2b29;text-transform:none;
	font-family:'Open Sans Bold';font-size:17px;line-height:1.32;padding:0!important;height:auto;display:block;margin:0 0 9px}
.front-page .foto .first:hover .desk a {color:#7ab131}
.front-page .foto .first .desk .sovet-descriptor {background:none!important;color:#6a625e;font-size:14px;
	line-height:1.55;padding:0!important;margin:0}

/* ================= канон 2.0, приёмка 10.09 ================= */

/* логотип: SVG-знак, ретина по определению */
.logo img, .menu-logo img, .znak-logo {display:block;width:153px;height:58px}
.menu-logo a {display:block;line-height:0}

/* главная: контент во всю ширину, без сайдбара (2.2) */
.content-shirokaya {width:100%;box-sizing:border-box}
.content-shirokaya .content-inside {display:block;width:auto}
.glavnaya-h1 {font-size:28px;line-height:1.22;margin:0 0 12px;color:#3a3330}
.glavnaya-vvodka {font-size:16px;line-height:1.65;color:#5f5853;margin:0 0 30px;max-width:820px}
.glavnaya-blok-zagolovok {display:block;font-family:'Open Sans Bold';font-size:20px;letter-spacing:.02em;
	text-transform:uppercase;color:#524a47;margin:34px 0 18px;padding:0 0 10px;border-bottom:2px solid #7ab131}
.content-shirokaya .foto {display:grid;grid-template-columns:repeat(3, minmax(0, 1fr));gap:24px;
	width:100%;max-width:1000px;margin:0 0 10px;text-align:left;background:none;box-sizing:border-box}
.content-shirokaya .foto .first {width:auto;float:none!important;display:flex;flex-direction:column;margin:0;
	background:#fff;border:1px solid #ececec!important;border-radius:3px;overflow:hidden}
.content-shirokaya .foto .first .img_border {height:170px;background:#f3f3f3;border:0;position:relative}
.content-shirokaya .foto .first .img_border:before {display:none}
.content-shirokaya .foto .first .img_border img {width:100%;height:170px;object-fit:cover;display:block}
.content-shirokaya .foto .first .desk {position:static!important;top:auto!important;height:auto!important;
	padding:14px 16px 16px;display:flex;flex-direction:column;background:none!important;transition:none}
.content-shirokaya .foto .first:hover .desk {background:none!important;top:auto!important}
.chip-rubriki {display:inline-block;align-self:flex-start;font-size:11px;letter-spacing:.05em;text-transform:uppercase;
	color:#5f8f22;background:rgba(122,177,49,.14);padding:3px 9px;border-radius:2px;margin:0 0 9px}
.content-shirokaya .foto .first .desk a {background:none!important;color:#2f2b29;text-transform:none;
	font-family:'Open Sans Bold';font-size:16px;line-height:1.3;padding:0!important;height:auto;display:block;margin:0 0 8px}
.content-shirokaya .foto .first:hover .desk a {color:#7ab131}
.content-shirokaya .foto .first .sovet-descriptor {background:none!important;color:#6a625e;font-size:14px;
	line-height:1.55;padding:0!important;margin:0 0 12px}
.karta-nizhnyaya {display:flex;align-items:center;gap:14px;margin-top:auto;font-size:12px;color:#9a938f}
.karta-nizhnyaya .date {background:none;color:#9a938f;font-size:12px;padding:0}
.karta-nizhnyaya .prosmotry {display:inline-flex;align-items:center;gap:5px}

/* похожие статьи под статьёй (2.4): 3 в ряд × 2 */
.pohozhie {margin:34px 0 38px}
.pohozhie-zagolovok {font-family:'Open Sans Bold';font-size:18px;letter-spacing:.02em;text-transform:uppercase;
	color:#524a47;margin:0 0 16px;padding:0 0 10px;border-bottom:2px solid #7ab131}
.pohozhie-setka {display:grid;grid-template-columns:repeat(3, minmax(0, 1fr));gap:20px}
.pohozhaya {display:flex;flex-direction:column;text-decoration:none;background:#fff;border:1px solid #ececec;
	border-radius:3px;overflow:hidden}
.pohozhaya-foto {display:block;height:130px;background:#f3f3f3}
.pohozhaya-foto img {width:100%;height:130px;object-fit:cover;display:block}
.pohozhaya-nazvanie {display:block;padding:12px 14px 14px;font-size:14px;line-height:1.35;color:#2f2b29}
.pohozhaya:hover .pohozhaya-nazvanie {color:#7ab131}

/* карточка эксперта в сайдбаре (2.5) */
.blok-ekspert {text-align:left}
.ekspert-sb-foto {display:block;width:86px;height:86px;border-radius:50%;overflow:hidden;margin:0 0 12px;background:#e8ece0}
.ekspert-sb-foto img {width:86px;height:86px;object-fit:cover;display:block}
.ekspert-sb-imya {display:block;font-family:'Open Sans Bold';font-size:16px;color:#3a3330;margin:0 0 3px}
.ekspert-sb-rol {display:block;font-size:12px;color:#8b837e;margin:0 0 8px}
.ekspert-sb-opisanie {display:block;font-size:13px;line-height:1.55;color:#5f5853;margin:0 0 12px}
.ekspert-sb-knopka {display:inline-block;padding:9px 18px;background:#7ab131;color:#fff;font-size:13px;
	font-family:'Open Sans Bold';text-decoration:none;border-radius:3px}
.ekspert-sb-knopka:hover {background:#5f8f22}

/* подвал: контраст ссылок (2.6) — фон темнее, текст белый */
footer {background:#776d67}
.podval-kolonka a, .podval-kolonka span {color:#fff}
.podval-zagolovok {color:#fff}
.podval-opisanie {color:#efeae7}
.podval-kopirajt {max-width:330px;margin:14px 0 0;padding:0;border:0;font-size:12px;line-height:1.5;color:#e8e3e0}

/* мобильное меню: компактные пункты 44–56 px плашкой (2.1, 2.8) */
@media screen and (max-width:670px){
	header.menu-open .menu ul {display:block;height:auto;background:#776d67;padding:4px 0}
	header.menu-open .menu li {display:block;padding:0;margin:0;border:0;height:auto;min-height:0;
		border-bottom:1px solid rgba(255,255,255,.16);text-align:left}
	header.menu-open .menu li:last-child {border-bottom:0}
	header.menu-open .menu li a, header.menu-open .menu li span, header.menu-open .menu li.current {
		display:block;height:auto;min-height:0;padding:14px 16px;font-size:15px;line-height:1.25;text-align:left}
}

/* телефон: сайдбар под контентом, а не спрятан (2.5, 2.8) */
@media screen and (max-width:768px){
	.sidebar {display:block!important;width:auto;padding:0;margin:26px 0 0}
	.category .sidebar {display:block!important}
	.content-shirokaya .foto {grid-template-columns:minmax(0, 1fr);gap:20px}
	.content-shirokaya .foto .first .img_border, .content-shirokaya .foto .first .img_border img {height:200px}
	.pohozhie-setka {grid-template-columns:repeat(2, minmax(0, 1fr));gap:14px}
	.glavnaya-h1 {font-size:23px}
}
@media screen and (max-width:520px){
	.pohozhie-setka {grid-template-columns:minmax(0, 1fr)}
}

/* отступ от шапки до контента 26–30 px (2.1): в теме было margin-bottom:50px */
header {margin-bottom:28px!important}
@media screen and (max-width:670px){ header {margin-bottom:20px!important} }
/* открытое мобильное меню — плашка с фоном на самом блоке, не только на списке (2.1) */
header.menu-open .menu {background:#776d67}
/* логотип-ссылка в подвале тоже должен читаться (контраст ≥3, канон 2.6) */
.podval-brend, .podval-brend a, .podval-brend span {color:#fff}

/* ---------- контраст текста (канон 6.1: контраст < 3 — правка), 10.09.2026 ----------
   Знаковый зелёный #7ab131 к белому даёт 2.6 — и текст ссылок, и белые надписи на зелёной плашке
   на грани читаемости. Для текста и плашек с белым текстом берём тот же тон глубже: #4e7a1c (5.1 к белому),
   ховер #3f6416 (6.9). Точки, рамки и маркеры остаются знакового цвета — там текста нет. */
a {color:#4e7a1c}
.avtor a:hover, #oglavlenie ul li a:hover, #oglavlenie_in span:hover,
.top_comment ul li a:hover .title_text, .top_comment ul li a .title_text p:hover,
.top_comment ul li .full_date, .most_commented ul li .title,
.geroj-nazvanie:hover, .geroj-knopka, .ekspert-vopros, .ekspert-bukvy, .spec-foto,
.karta-sidebara:hover .karta-nazvanie, .category .first:hover a {color:#4e7a1c}
.ekspert-vopros {border-bottom-color:rgba(78,122,28,.45)}
.ekspert-sb-knopka, .expert-div2 a, .obratka input[type="submit"], .burger,
.most_commented ul li .full_date, .top_comment ul li a .number_block,
.post ol li:before, .post ul li:before, #oglavlenie ul li:before, #oglavlenie ul ul>li:before {background:#4e7a1c}
.menu li:hover, .menu li a:hover, .menu li.current, .current_cat, .current {background:#4e7a1c!important}
.ekspert-sb-knopka:hover, .expert-div2 a:hover, .obratka input[type="submit"]:hover,
.question-inside input[type="submit"]:hover {background:#3f6416}
#true_loadmore:hover, .return_oglavlenie a:hover, .return_oglavlenie span:hover {
	background:url(img/loadmore.png) no-repeat #4e7a1c;background-position:12px 13px}

/* Шапка на телефоне: в теме .nomain{height:36px!important} прибивала высоту, и логотип с поиском,
   а при открытом бургере и всё меню, ложились поверх текста страницы (канон 2.8, 8.5 — правило темы
   глубже нашего). Правило той же глубины возвращает высоту по содержимому. 10.09.2026 */
@media screen and (max-width:670px){
	header.nomain {height:auto!important;min-height:92px;padding-bottom:6px}
}

/* Подвал на телефоне — столбиком (канон 2.8): на 390 колонки «Рубрики» и «Полезные страницы»
   стояли парой, канон требует один столбец. 10.09.2026 */
@media screen and (max-width:520px){
	.podval-vnutri {flex-direction:column;gap:22px}
	.podval-kolonka {flex:1 1 100%;min-width:0}
}

/* Воздух между содержимым и подвалом: канон 6.1 требует 16–120 px, на контактах было 10 («прилип»). */
.container {padding-bottom:24px}

/* Оценка под текстом — компактной строкой по центру (канон 2.4, 6.1): в теме блок растягивался
   на всю ширину пустой плашкой, подпись слева, кнопки справа. 10.09.2026 */
.related .rank {padding:0}
.ocenka-blok {display:flex;align-items:center;justify-content:center;gap:18px;padding:14px 18px;flex-wrap:wrap}
.ocenka-blok .for-rank {margin:0;padding:0!important}
.ocenka-blok .for-rank span {font-size:14px;letter-spacing:.08em;text-transform:uppercase;color:#6f6862}

/* Плашка даты в карточках — тот же светло-зелёный чип, что и рубрика на главной (правка в самих
   правилах ниже, 10.09.2026): кирпично-красный #dd4a22 был единственным таким пятном на сайте. */
.chip-rubriki {color:#4e7a1c}

/* «Загрузить ещё» — на всю ширину сетки и по центру: в гриде кнопка становилась ячейкой
   первой колонки и висела слева под первой карточкой. 10.09.2026 */
.category .rubric_list #true_loadmore, .content-shirokaya #true_loadmore {
	grid-column:1 / -1;justify-self:center;float:none;margin:6px 0 26px}

/* Телефон: крошки и строка «дата · просмотры · оценка» под заголовком — канон 2.4 требует их
   в статье, а тема прятала оба блока на ≤670. 10.09.2026 */
@media screen and (max-width:670px){
	.breadcrumbs {display:block!important;margin:0 0 10px;padding:0;list-style:none;font-size:12px}
	.breadcrumbs li {display:inline;margin:0}
	.breadcrumbs li:after {content:" / ";color:#b5aeaa}
	.breadcrumbs li:last-child:after {content:""}
	.statistika {display:block!important;margin:0 0 16px;padding:0 0 12px;border-bottom:1px solid #ececec}
	.statistika ul {margin:0;padding:0;list-style:none}
	.statistika li {display:inline-block;width:auto!important;background:none!important;border:0!important;
		float:none!important;margin:0 18px 0 0;padding:0;font-size:13px;color:#8b837e;text-align:left!important}
	.statistika li:last-child {margin-right:0}
}

/* ---------- правки по замечаниям Романа 10.09 (вечер) ----------
   Контраст текста: канон 6.1 требует читаемый текст (кнопки и подписи — от 4,5 к фону),
   канон 8.5 — «знаковый цвет сайта проверять на контраст, а не на красоту»: #7ab131 к белому
   даёт 2.6. Тон глубже #4e7a1c даёт 5.1 к белому и 4.8 к светлой подложке карточек. */
/* кнопка «Связаться» в карточке эксперта: белый текст закрепляем — правило темы для ссылок
   (`a{color:…}`) на других шаблонах перебивало цвет и текст сливался с плашкой (мина 8.5) */
.ekspert-sb-knopka {color:#fff!important}
/* «ЭКСПЕРТ САЙТА» в карточке под статьёй: было #8ea86a на #f8f8f5 — 2.4 */
.ekspert-rol {color:#4e7a1c}
/* почта специалиста на контактах: было #7ab131 — 2.6 */
.spec-pochta {color:#4e7a1c;border-bottom-color:rgba(78,122,28,.45)}
.spec-pochta:hover {color:#3f6416}
/* метка «ПОПУЛЯРНОЕ НА САЙТЕ» в слайдере шапки: было #7ab131 — 2.6 */
.geroj-metka {color:#4e7a1c}
/* ссылки хлебных крошек: было #938a86 — 3.4 к белому, читались как серый текст, а не как ссылки */
.breadcrumbs li a {color:#6f6862}

/* ---------- подвал: возврат Романа 11.09 «подвал так и отлетает» ----------
   1. Пустота ПОД подвалом лечится в шаблонах, а не здесь: category.php, single-default.php,
      single-video.php и category-questions.php оставляли открытым лишний div, подвал оказывался
      ВНУТРИ .container с padding-bottom и под ним рисовалась полоса фона страницы.
   2. Отступ «похожих» до подвала считался дважды: своя нижняя margin 38 px плюс padding контейнера 24.
      Оставляем 10 + 24 = 34 px — канон 2.4 просит 34–40 до подвала. */
.pohozhie {margin-bottom:10px}
/* 3. Хвост справа: три блока 340 + 190 + 190 при доступной 1000 оставляли 184 px мёртвого поля —
      подвал читался обрезанным (норма парка по принятым сайтам: zavorota 30, protivdolgov 40).
      Списки рубрик и страниц идут в две колонки, блоки делят остаток поровну: текст доходит до
      правого края контейнера, отступ справа равен левому. Правило только для десктопа —
      ниже 769 действуют свои медиазапросы (там колонки в строку по 45 %, ниже 520 — столбиком,
      и flex-basis 0 в колоночном направлении схлопнул бы блоки по высоте). */
@media screen and (min-width:769px){
	.podval-kolonka {flex:1 1 0}
	.podval-kolonka ul {column-count:2;column-gap:30px}
}

/* Maski Beauty: typography and imagery on the Moimakiyazh layout. */
body {background:#eeebe6;color:#302f2b}
.container {width:100%;max-width:1100px;overflow:hidden;box-shadow:0 8px 32px rgba(56,47,38,.08)}
header {height:610px;background:#e5ded4 url(img/hero-mask.jpg) center bottom/cover no-repeat;margin-bottom:34px!important}
header.nomain {height:auto;min-height:138px;background:#faf8f4;margin-bottom:32px!important}
.header {height:84px;background:rgba(250,248,244,.94);display:flex;align-items:center;justify-content:space-between;padding:0 46px;box-sizing:border-box}
.logo,.menu-logo {float:none;top:auto;margin:0;width:auto;height:auto;display:flex;align-items:center;gap:13px;text-decoration:none}
.logo img,.menu-logo img,.znak-logo {display:block;width:55px;height:55px;object-fit:cover;border-radius:50%}
.brand-words {display:flex!important;flex-direction:column;justify-content:center;height:auto!important;color:#42433b;line-height:1.22}
.brand-words strong {font-family:'Open Sans Bold';font-size:18px;letter-spacing:.09em}
.brand-words small {font-size:12px;color:#79776d;letter-spacing:.04em;margin-top:4px}
.search {float:none;width:240px;margin:0;padding:0}
.search form {position:relative}
.search input[type="search"] {box-sizing:border-box;width:100%;height:38px;background:#fff;border:1px solid #d8d4cb;border-radius:2px;padding:0 42px 0 12px;color:#3d3b35;font:13px 'Open Sans Regular'}
.lupa,.lupa:hover {position:absolute;right:12px;top:10px;width:16px;height:16px;padding:0;border:2px solid #807b6c;border-radius:50%;background:none;cursor:pointer;font-size:0}
.lupa:after {content:"";position:absolute;width:8px;height:2px;background:#807b6c;transform:rotate(45deg);right:-6px;bottom:-4px}
.menu {margin:0;z-index:12}
.menu ul {display:flex;justify-content:center;height:auto;min-height:57px;background:#80776e}
.menu li {display:flex;align-items:stretch;flex:1 1 0;max-width:240px;border:0!important;border-right:1px solid rgba(255,255,255,.18)!important}
.menu li a {display:flex;align-items:center;justify-content:center;text-align:center;box-sizing:border-box;height:auto;min-height:57px;line-height:1.2;padding:9px 13px;font-size:13px;letter-spacing:.045em;text-transform:uppercase;color:#fff!important}
.menu li:hover,.menu li.current,.menu li a:hover {background:#5d7054!important}
.geroj-slajder {width:430px;margin:94px 0 0 50px;padding:27px 30px 26px;box-sizing:border-box;border:1px solid rgba(113,99,81,.1);box-shadow:0 12px 38px rgba(69,52,37,.12);background:rgba(255,255,255,.96)}
.geroj-metka {color:#567251;letter-spacing:.16em}
.geroj-rubrika,.chip-rubriki {color:#4f6d4b;background:#e9eee6}
.geroj-nazvanie {font-size:25px;color:#332f2b;line-height:1.25}
.geroj-anons {color:#675f56}
.geroj-knopka {color:#4f6d4b;border-bottom-color:#4f6d4b}
.geroj-knopka:hover,.geroj-nazvanie:hover {color:#3a5837}
.content {padding:0 50px 38px}
.content-shirokaya .content-inside {width:100%}
.glavnaya-h1 {font-size:30px;color:#343a33}
.glavnaya-vvodka {font-size:15px;color:#6d6b61}
.glavnaya-blok-zagolovok,.pohozhie-zagolovok {border-bottom-color:#91a385;color:#47473e}
.content-shirokaya .foto .first,.category .foto .first {border:1px solid #e8e4de!important;box-shadow:0 4px 18px rgba(55,47,41,.05)}
.content-shirokaya .foto .first .img_border {padding:0!important;height:186px!important;background:#e8e8df!important}
.content-shirokaya .foto .first .img_border img {height:186px!important}
.content-shirokaya .foto .first .desk a.card-title {color:#343831!important;font-size:16px;line-height:1.4}
.content-shirokaya .foto .first:hover .desk a.card-title {color:#4f6d4b!important}
.content-shirokaya .foto .first .desk a.chip-rubriki {display:inline-block;align-self:flex-start;padding:4px 9px!important;margin:0 0 10px;color:#4f6d4b!important;font-size:10px;letter-spacing:.08em}
.content-shirokaya .foto .first .sovet-descriptor {color:#6d6a60;line-height:1.5}
.maski-image-empty {display:block;height:100%;background:linear-gradient(145deg,#e2e7dd,#f2eee6)}
.category .container {background:#fff}
.category .foto {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.category .foto .first {width:auto;float:none!important;margin:0;display:flex;flex-direction:column}
.category .foto .first .img_border {padding:0!important;height:180px!important;overflow:hidden}
.category .foto .first .img_border img {height:180px;object-fit:cover}
.category .foto .first .desk {position:static!important;background:none!important;padding:14px 16px 16px;height:auto}
.category .foto .first .desk a.card-title {height:auto;background:none!important;color:#343831!important;text-transform:none;padding:0!important;font-size:16px;line-height:1.4}
.category .foto .first .desk a.chip-rubriki {background:#e9eee6!important;color:#4f6d4b!important}
.category .foto .first .desk .sovet-descriptor {background:none!important;color:#6d6a60;padding:9px 0!important;line-height:1.5}
.category .foto .first .desk .karta-nizhnyaya {padding-top:6px}
.sidebar {box-sizing:border-box}
.footer-brand {display:flex;align-items:center;gap:12px;color:#fff!important;text-decoration:none;font:16px 'Open Sans Bold';letter-spacing:.05em}
.footer-brand img {border-radius:50%}
.maski-service-page {display:block;max-width:1000px;margin:0 auto;width:100%}
.maski-service-page .content-inside {display:block;width:100%}
.maski-service-page .post {max-width:760px;font-size:16px;line-height:1.7}
.maski-service-page .post p {line-height:1.7}
.post {overflow-wrap:anywhere}
.post img,.post iframe {max-width:100%;height:auto}
.poster .post .maski-video {position:relative;width:100%;max-width:760px;aspect-ratio:16/9;margin:26px 0;background:#222}
.poster .post .maski-video iframe {display:block;width:100%;height:100%;margin:0;border:0}
.poster .post .maski-video-unavailable {display:flex;flex-wrap:wrap;align-items:center;gap:5px 12px;box-sizing:border-box;max-width:760px;margin:26px 0;padding:16px 20px;border-left:3px solid #a9aa9e;background:#f6f5f1;color:#66645d;font-size:14px;line-height:1.5}
.poster .post .maski-video-unavailable strong {width:100%;color:#343831;font:15px/1.4 'Open Sans Bold'}
.poster .post .maski-video-unavailable a {color:#4f6d4b;text-decoration:underline}
.post table {display:block;max-width:100%;overflow-x:auto}
.burger {background:#5d7054}
.breadcrumbs {display:flex;gap:7px;align-items:center;margin:0 0 17px;color:#777369;font-size:12px}
.breadcrumbs a {color:#4f6d4b;text-decoration:underline}
.statistika {display:flex;gap:18px;align-items:center;margin:0 0 20px;padding:0 0 10px;border-bottom:1px solid #ebe7e1;color:#777369;font-size:12px}
.poster .content-inside {min-width:0}
.poster .post {font-size:16px;line-height:1.7;color:#373630}
.poster .post p {font-size:16px;line-height:1.7}
.maski-rating {display:flex;align-items:center;gap:12px;margin:20px 0;color:#5f5c54;font-size:13px}
.maski-contact-info {max-width:760px;padding-bottom:32px}
.maski-contact-info h2 {display:block;margin:30px 0 12px;font-size:22px;line-height:1.3}
.maski-contact-info p {font-size:16px;line-height:1.7}
.maski-contact-form {display:grid;gap:10px;margin-top:20px;max-width:700px}
.maski-contact-form label {font:14px 'Open Sans Bold';color:#4c4a42}
.maski-contact-form input:not([type="hidden"]),.maski-contact-form textarea {display:block;box-sizing:border-box;width:100%;max-width:100%;padding:12px 14px;border:1px solid #d6d4cb;border-radius:2px;background:#fff;color:#333;font:16px 'Open Sans Regular'}
.maski-contact-form textarea {min-height:170px;resize:vertical}
.maski-contact-form button {justify-self:start;border:0;border-radius:2px;padding:12px 22px;background:#5d7054;color:#fff;font:14px 'Open Sans Bold';cursor:pointer}
.maski-contact-form button:hover {background:#455e3e}
.maski-contact-trap {position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.maski-contact-status {border-left:4px solid #5d7054;background:#edf2ea;padding:10px 14px}
.maski-expert-card {display:flex;align-items:center;gap:25px;box-sizing:border-box;max-width:700px;margin:28px 0 34px;padding:18px;background:#f6f5f1;border-left:4px solid #8b9a7e;box-shadow:0 2px 12px rgba(43,39,32,.07)}
.maski-expert-photo {display:block;flex:0 0 160px;width:160px;height:200px;object-fit:cover;object-position:center 28%;background:#e4e4dc;outline:1px solid rgba(0,0,0,.1);border-radius:2px}
.maski-expert-copy {min-width:0}
.maski-expert-label {display:block;margin-bottom:10px;color:#5d7054;font:12px 'Open Sans Bold';letter-spacing:.08em;text-transform:uppercase}
.maski-expert-card h3 {display:block;margin:0 0 6px;color:#343831;font:24px/1.25 'Open Sans Bold';text-transform:none;text-wrap:balance}
.maski-expert-card p {margin:0;color:#66645d;font-size:15px;line-height:1.5}
.maski-expert-card .maski-expert-tenure {margin-top:13px;color:#3f513a;font:14px/1.5 'Open Sans Semibold'}
@media screen and (max-width:900px){
  .header {padding:0 25px}
  .geroj-slajder {margin-left:25px}
  .content {padding-left:25px;padding-right:25px}
}
@media screen and (max-width:670px){
  header,header.nomain {height:auto!important;min-height:0;padding:0 0 0!important;background:#faf8f4;margin-bottom:22px!important}
  .header {height:77px;padding:0 16px;gap:8px}
  .logo,.menu-logo {gap:8px;min-width:0}
  .logo img,.menu-logo img,.znak-logo {width:43px;height:43px;flex:none}
  .brand-words strong {font-size:12px;letter-spacing:.04em}
  .brand-words small {font-size:10px;margin-top:2px}
  .search {width:100%;padding:0 16px 12px;box-sizing:border-box}
  .header {flex-wrap:wrap;height:auto;min-height:77px;padding-top:10px;padding-bottom:10px}
  .header .search {order:3;flex:1 0 100%;padding:0}
  .burger {display:block;order:2;position:relative;margin-left:auto}
  .menu {display:none}
  header.menu-open .menu {display:block;background:#80776e}
  header.menu-open .menu ul {display:block;min-height:0;background:#80776e}
  header.menu-open .menu li {display:block;max-width:none;border:0!important;border-bottom:1px solid rgba(255,255,255,.15)!important}
  header.menu-open .menu li a {justify-content:flex-start;min-height:45px;padding:11px 18px;font-size:13px}
  .geroj-slajder {width:auto;margin:0;padding:25px 20px;box-shadow:none;border:0;border-top:1px solid #e6e1d9;background:#f7f5f0}
  .geroj-nazvanie {font-size:21px}
  .content {padding:0 18px 28px}
  .glavnaya-h1 {font-size:25px}
  .content-shirokaya .foto,.category .foto {grid-template-columns:minmax(0,1fr);gap:18px}
  .content-shirokaya .foto .first .img_border,.content-shirokaya .foto .first .img_border img {height:210px!important}
  .category .foto .first .img_border,.category .foto .first .img_border img {height:210px!important}
  .podval-vnutri {padding:0 18px}
  .maski-expert-card {gap:16px;padding:14px}
  .maski-expert-photo {flex-basis:112px;width:112px;height:140px}
  .maski-expert-card h3 {font-size:20px}
}

/* Card details stay on the same baseline across each grid row. */
.content-shirokaya .foto .first .desk,
.category .foto .first .desk {flex:1 1 auto;display:flex;flex-direction:column}
.content-shirokaya .foto .first .sovet-descriptor,
.category .foto .first .sovet-descriptor {margin-bottom:16px!important}
.content-shirokaya .foto .first .karta-nizhnyaya,
.category .foto .first .karta-nizhnyaya {
  box-sizing:border-box;width:100%;margin-top:auto;padding-top:13px;
  border-top:1px solid #eae7e1;display:flex;justify-content:space-between;
  align-items:baseline;gap:12px;color:#77756d;font-size:11px;line-height:1.35
}
.karta-nizhnyaya time {white-space:nowrap}
.karta-nizhnyaya span {text-align:right}

/* Archive pagination: a distinct, readable control under the card grid. */
.category .wp-pagenavi {
  box-sizing:border-box;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;
  gap:8px;width:100%;margin:28px 0 4px;padding:24px 0 0;
  border-top:1px solid #eae7e1;text-align:center
}
.category .wp-pagenavi a,
.category .wp-pagenavi span {
  box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;
  min-width:42px;height:42px;margin:0;padding:0 13px;border:1px solid #d9ddd5;
  border-radius:3px;background:#f7f8f5;color:#455843;
  font:14px 'Open Sans Semibold','Open Sans Regular',sans-serif;line-height:1;
  text-decoration:none;white-space:nowrap;box-shadow:none
}
.category .wp-pagenavi a:hover,
.category .wp-pagenavi a:focus-visible {
  border-color:#83957c;background:#e9eee6;color:#344b31;outline:none
}
.category .wp-pagenavi span.current {
  border-color:#5d7054;background:#5d7054!important;color:#fff!important;
  font-family:'Open Sans Bold';cursor:default
}

/* Article lists keep their markers inside the reading column. */
.poster .post ul,.poster .post ol {
  box-sizing:border-box;margin:0 0 1.6em;padding-left:32px;list-style:none
}
.poster .post li {position:relative}
.poster .post ul li:before,.poster .post ol li:before {left:0}

/* Article rating card. The plugin still owns voting and its live result. */
.poster .maski-rating {
  display:flex;align-items:center;justify-content:space-between;gap:20px;
  box-sizing:border-box;width:100%;margin:30px 0 34px;padding:20px 24px;
  background:#f6f5f1;border-left:4px solid #8b9a7e;
  box-shadow:0 2px 12px rgba(43,39,32,.07)
}
.poster .maski-rating-intro {display:flex;flex-direction:column;gap:5px;min-width:0}
.poster .maski-rating-intro strong {color:#343831;font:18px/1.3 'Open Sans Bold'}
.poster .maski-rating-intro span {color:#777369;font:13px/1.4 'Open Sans Regular'}
.poster .maski-rating .post-ratings {
  position:relative;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;
  gap:4px;max-width:310px;margin:0;color:#625f58;font:13px/1.4 'Open Sans Regular';text-align:right
}
.poster .maski-rating-stars {display:block;width:100%;white-space:nowrap;line-height:1}
.poster .maski-rating-stars img {
  width:20px;height:20px;margin:0 2px;vertical-align:middle;
  filter:brightness(0) saturate(100%) invert(42%) sepia(13%) saturate(783%) hue-rotate(59deg) brightness(95%) contrast(87%)
}
.poster .maski-rating-stars img[src*="rating_off"] {opacity:.32}
.poster .maski-rating-stars img[src*="rating_on"],
.poster .maski-rating-stars img[src*="rating_over"] {opacity:1}
.poster .maski-rating-summary {display:block;width:100%;margin-top:7px;color:#66645d}
.poster .maski-rating-summary strong {color:#3f513a;font-family:'Open Sans Bold'}
.poster .maski-rating-stars:hover + .maski-rating-summary {visibility:hidden}
.poster .maski-rating .post-ratings-text {
  position:absolute;right:0;bottom:0;display:block;width:100%;
  color:#4f6d4b;pointer-events:none
}
@media screen and (max-width:670px){
  .poster .maski-rating {align-items:flex-start;flex-direction:column;gap:14px;padding:18px}
  .poster .maski-rating .post-ratings {justify-content:flex-start;text-align:left}
}
.category .wp-pagenavi span.extend {min-width:28px;padding:0 4px;border:0;background:none;color:#77756d}
.category .wp-pagenavi a.previouspostslink,
.category .wp-pagenavi a.nextpostslink {padding:0 16px}
@media screen and (max-width:520px){
  .category .wp-pagenavi {gap:6px;margin-top:23px;padding-top:20px}
  .category .wp-pagenavi a,.category .wp-pagenavi span {min-width:40px;height:40px;padding:0 10px;font-size:13px}
}
.maski-search-page {max-width:690px;padding:24px 28px;background:#f6f5f1;border-left:4px solid #8b9a7e}
.maski-search-page label {display:block;margin-bottom:10px;color:#343831;font:16px 'Open Sans Bold'}
.maski-search-page-fields {display:flex;gap:10px;margin-bottom:18px}
.maski-search-page input[type="search"] {box-sizing:border-box;flex:1;min-width:0;padding:12px 14px;border:1px solid #c9c7bf;background:#fff;font:15px 'Open Sans Regular'}
.maski-search-page button {padding:12px 20px;border:0;background:#526e4d;color:#fff;font:14px 'Open Sans Bold';cursor:pointer}
.maski-search-page button:hover {background:#3f593b}
@media screen and (max-width:520px){.maski-search-page {padding:18px}.maski-search-page-fields {flex-direction:column}.maski-search-page button {min-height:44px}}
