html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.content-wrap {
  flex: 1 0 auto;
}
footer, .site-footer, .main-footer {
  flex: 0 0 auto;
}

.main-menu__title {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.main-menu__item:hover .main-menu__title {
  color: var(--second-color);
}

html{
  -webkit-text-size-adjust:100%;
  -ms-text-size-adjust:100%;
  -webkit-tap-highlight-color:rgba(0,0,0,0);
}

:root {
  --main-font: 'Playfair Display', serif;
  --second-font-family: 'Onest', sans-serif;

  --main-color: #1E1E1E;
  --second-color: #8FB368;

  --category-projects: #dbdced; /* Наши проекты */

  /* Цвета основных 4 рубрик */
  --category-integrative-health: #ecd2e1; /* Интегративное здоровье */
  --category-nutrition: #daeccf; /* Еда */
  --category-lifestyle: #b8e1ee; /* Стиль жизни */

  --box-shadow-primary: 0 4px 10px rgba(0, 0, 0, 0.1);

  /* Шрифты для заголовков (min 360px – max 1200px) */
  --font-size-30-90: clamp(1.875rem, 0.2679rem + 7.1429vw, 5.625rem);
  --font-size-35-70: clamp(2.1875rem, 1.25rem + 4.1667vw, 4.375rem);
  --font-size-25-35: clamp(1.5625rem, 0.8036rem + 1.29vw, 2.1875rem);  /* h2 */
  --font-size-22-30: clamp(1.375rem, 1.0714rem + 1.1905vw, 1.875rem); /* h3 */
  --font-size-17-25: clamp(1.0625rem, 0.7143rem + 1.1905vw, 1.5625rem); /* h4 */
  --font-size-15-22: clamp(0.9375rem, 0.7143rem + 0.9524vw, 1.375rem); /* h5 */
  --font-size-13-20: clamp(0.8125rem, 0.6696rem + 0.7143vw, 1.25rem); /* h6 */

  --font-size-15-30: clamp(0.9375rem, 0.5357rem + 1.7857vw, 1.875rem);
  --font-size-18-35: clamp(1.125rem, 0.6696rem + 2.0238vw, 2.1875rem);
  --font-size-15-20: clamp(0.9375rem, 0.8036rem + 0.5952vw, 1.25rem);
  --font-size-15-25: clamp(0.9375rem, 0.7143rem + 1.1905vw, 1.5625rem);
  --font-size-10-35: clamp(0.625rem, 0.0446rem + 2.9762vw, 2.1875rem);
  --font-size-10-20: clamp(0.625rem, 0.2679rem + 1.1905vw, 1.25rem);
  --font-size-10-15: clamp(0.625rem, 0.4464rem + 0.5952vw, 0.9375rem);
  --font-size-10-12: clamp(0.625rem, 0.5357rem + 0.2381vw, 0.75rem);
  --font-size-12-20: clamp(0.75rem, 0.5357rem + 0.9524vw, 1.25rem);
  --font-size-13-15: clamp(0.8125rem, 0.7411rem + 0.2381vw, 0.9375rem);
  --font-size-14-40: clamp(0.875rem, 0.2143rem + 3.8095vw, 2.5rem);
  --font-size-18-26: clamp(1.125rem, 0.8036rem + 1.1905vw, 1.625rem);
  --font-size-20-40: clamp(1.25rem, 0.8036rem + 1.7857vw, 2.5rem);
  --font-size-15-18: clamp(0.9375rem, 0.8036rem + 0.5952vw, 1.125rem);
  --font-size-24-48: clamp(1.5rem, 0.8036rem + 2.6786vw, 3rem);

  --fz-letter: clamp(3.125rem, 1.25rem + 10vw, 9.375rem); /* от 50px до 150px */
  
  /* Цвета для состояний кнопки */
  --btn-loading-bg: #f0f0f0;
  --btn-loading-text: #999;
}

img.ym-advanced-informer{
	display:none;
}

body{
  font-family: var(--main-font);
  color:var(--main-color);
  font-size:15px;
  margin:0;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: top center;
  background-color: #fff;
  overflow-x: hidden;
  line-height: 1.15;
}

.center {
  text-align: center;
}

a {
  color:var(--main-color);
}

ul {
  padding-inline-start: 0;
}

body.active{
  overflow-y: hidden; 
}

body.with-banner{
  padding-top:250px;
}

*{
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

/* Хедер */

header {
  position: relative;
}

header .top-menu {
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding: 80px 0 0 0;
  opacity: 0;
}

header .topbar-menu {
  display: flex;
  justify-content: space-between;
  position: relative;
}

header .topbar-menu {
  list-style-type: none;
  width: 100%;
}

header .topbar-menu a {
  font-family: var(--second-font-family);
  transition: color 0.2s ease;
}

header .topbar-menu a:hover {
  color: #8FB368;
}

header .menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 35px;
  height: 19px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10000;
}

header .menu-bar {
  width: 30px;
  height: 3px;
  background-color: var(--main-color);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* header .menu-toggle.active .menu-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

header .menu-toggle.active .menu-bar:nth-child(2) {
  opacity: 0;
}

header .menu-toggle.active .menu-bar:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
} */

header .main-nav {
  display: flex;
  align-items: center;
  width: 100%;
}

input,
textarea,
button{
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  -webkit-border-radius:0px;
  border-radius:0;
  border:none;
}

button, html input[type="button"], 
input[type="reset"], 
input[type="submit"] {
    cursor: pointer;
    border:none;
}

img{
  vertical-align: middle;
  border: 0;
  height:auto;
}

h1,h2,h3,h4,h5,h6{
  color:inherit;
  font-weight: 400;
}

h1,h2,h3{margin-top:20px;margin-bottom:10px;}
h4,h5,h6{margin-top:10px;margin-bottom:10px;}
h1{font-size:36px;}
h2{font-size:30px;}
h3{font-size:24px;}
h4{font-size:18px;}
h5{font-size:14px;}
h6{font-size:12px;}


p{
  margin:0 0 10px;
}

a{
  text-decoration: none;
}

a:hover{
  text-decoration: none;
}

.container {
  width:1200px;
  padding:0 20px;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
}

.main-wrap{  
  max-width:1160px;
  margin:0 auto;
  z-index:1;
  position: relative;
}

.brand-link{
    display: block !important;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 0;
    transform: translateZ(0);
}

.main-button {
  font-size:12px;
  color:#FEFEFE;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px; /* border radius */
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 600;
  padding:12px 20px 11px 20px;
  text-decoration: inherit;
  outline: inherit;
  transition: 0.1s;
  background-color: #00b34f;    
  display: inline-block;
}

.main-button:hover{  
  text-decoration: inherit;
  background-color: #00813A;
}

.main-button.green,
.form-box input[type="submit"].green{
  background-color: #00b34f;
}

.main-button.green:hover,
.form-box input[type="submit"].green:hover{
  background-color: #00813A;
}

.columns-box{
  display: grid;
  grid-gap: 30px;  
}
 

.columns-box.with-left-sidebar{
  grid-template-columns: 345px 1fr;
}

.columns-box.with-right-sidebar{
  grid-template-columns: minmax(0, 1fr) 345px;
}

.posts-row .posts-list{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 30px;
}

.posts-row{
  margin-bottom:40px;
  padding: 15px;
}

.main-page-content .posts-row:nth-child(1){
  margin-top:20px;
}

.posts-row .title-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom:15px;
}

.posts-row .title-row .title-box,
.authors-block .title-box,
footer .contacts .title-box{
  display: flex;
  align-items: center;
}

.category-page .title {
  letter-spacing: 0;
}

.posts-row .title-box .title,
.authors-block .title-box .title,
footer .contacts .title-box .title,
.sidebar .social-box .title,
.page-404 h1,
.promo-block .promo-info .promo-title{
  margin:0;
  font-size: var(--font-size-15-20);
  color: var(--main-color);
  text-transform: uppercase;
  gap: 10px;
}

.posts-row .title-box .ico,
.authors-block .title-box .ico,
footer .contacts .title-box .ico{
  position: relative;
  width:36px;
  height:36px;
  border:1px solid #E7E7E8;
  border-radius:50%;
  background-color: #fff;
  display: block;
  float: left;
  margin-right: 10px;
  background-repeat: no-repeat;
  background-position: center;
}

.posts-row .title-box.green-icon .ico{
	background-color: #00b34f;
}

.title-box .ico.fire-ic{
  background-image: url(img/title-box-icons/fire-ico.svg);
  background-size: 12px;
}

.title-box .ico.beauty-ic{
  background-image: url(img/title-box-icons/beauty-ico.svg);
  background-size: 16px;
}

.title-box .ico.kypwell-ic{
  background-image: url(img/title-box-icons/kypwell-ico.svg);
  background-size: 18px;
}

.title-box .ico.develop-ic{
  background-image: url(img/title-box-icons/develop-ico.svg);
  background-size: 16px;
}

.title-box .ico.newbie-ic{
  background-image: url(img/title-box-icons/newbie-ico.svg);
  background-size: 12px;
}

.green-icon.title-box .ico.newbie-ic{
	background-image: url(img/title-box-icons/newbie-ico-white.svg);
}

.title-box .ico.recipes-ic{
  background-image: url(img/title-box-icons/recipies-ico.svg);
  background-size: 15px;
}

.title-box .ico.authors-ic {
  background-image: url(img/title-box-icons/authors-block-ico.svg);
  background-size: 14px;
}

.title-box .ico.see-more-ic{
  background-image: url(img/title-box-icons/see-more-ico.svg);
  background-size: 18px;
}

.title-box .ico.best-w-ic{
  background-image: url(img/title-box-icons/best-w-ico.svg);
  background-size: 16px;
}

.title-box .ico.news-ic{
  background-image: url(img/title-box-icons/news-ico.svg);
  background-size: 10px;
}

.title-box .ico.cont-ic{
  background-image: url(img/title-box-icons/cont-ico.svg);
  background-size: 14px;
}

.title-box .ico.health-ic{
  background-image: url(img/title-box-icons/health-ico.svg);
  background-size: 12px;
}

.title-box .ico.relations-ic{
  background-image: url(img/title-box-icons/relations-ico.svg);
  background-size: 15px;
}

.title-box .ico.recommend-ic{
  background-image: url(img/title-box-icons/recommend-ico.svg);
  background-size: 14px;
}





.posts-row .title-row .read-more{
  background-position: right 15px center;
  background-size: 6px;
  background-repeat: no-repeat;
  background-image: url(img/arrow-right-white.svg);
  padding:12px 31px 11px 18px;
  -moz-border-radius: 17px / 18px 18px 17px 17px;
  -webkit-border-radius: 17px / 18px 18px 17px 17px;
  border-radius: 17px / 18px 18px 17px 17px; /* border radius */
}

.posts-row .more-posts{
  margin-top:20px;
  text-align: center;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 30px;
}

.posts-row .more-posts .bt{
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px; /* border radius */
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box; /* prevents bg color from leaking outside the border */
  background-color: #eaeaea; /* layer fill content */
  color: #616161; 
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 600;
  border: none;
  line-height: 1;
  letter-spacing: 1.2px;
  padding: 18px;
  outline: inherit;
  width:100%;
  grid-column-start: 2;
}

.posts-row .more-posts .bt:hover{
  background-color: #fff;
}

.posts-row .more-posts .bt.loading{
  background-color: #fff;
  disabled: disabled;
  cursor: default;
}

.posts-row .item .title-item-post{
  color:var(--main-color);
  font-size: var(--font-size-13-15);
  font-family: var(--second-font-family);
  display: inline-block;
  margin-bottom: 15px;
  margin-top: 0;
  font-weight: 400;
  text-decoration: inherit;
  font-weight: 700;
}

.posts-row .item .title-item-post:hover{
  color:#010101;
}


.posts-row .item .head-item-post{
  display: flex;
  flex-direction: column;
  text-transform: uppercase;
  align-items: flex-start;
  font-size: 11px;
  letter-spacing: 1.2px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.posts-row .item .head-item-post .date{
  margin: 10px 0 0 0;
  line-height: 1;
  color:var(--main-color);
  font-size: var(--font-size-10-12);
  font-family: var(--second-font-family);
}

.posts-row .item.simple{
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px; /* border radius */
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box; /* prevents bg color from leaking outside the border */
  background-color: #fff; /* layer fill content */
  overflow: hidden;
  display: grid;
  align-content: space-between;
  padding: 15px;
}

.posts-row .item.simple .post-inf{
  padding: 17px 0;
}

.posts-row .item.simple .head-item-post .category{
  font-family: var(--second-font-family);
  color:var(--second-color);
  font-size: var(--font-size-10-12);
  margin-right:17px;
  text-decoration: inherit;
}

.posts-row .item.simple .head-item-post .category:hover{
  color:#00813A;
}

.posts-row .item.simple .exc-box p{
  color:var(--main-color);
  font-size: var(--font-size-10-15);
  font-family: var(--second-font-family);
  line-height: 1.2;
  margin-bottom:0;
}

.posts-row .item img{
  width: 100%;
  height: auto;
  max-height: 180px;
  object-fit: cover;
}

.search-results .posts-row .item img{
  object-fit: scale-down;
}

.search-results .posts-row .item.simple {
  border: 1px solid #efefef;
}

.sidebar .news{
  padding:20px 30px 30px 30px;
  background-position: top center;
  background-repeat: repeat;
  background-image: url(img/news-sidebar-bg.jpg);
}

.sidebar .news .days-list{
  display: grid;
  grid-template-columns: 1fr;
  grid-gap:30px;
}


.sidebar .news .day{
  -moz-border-radius: 5px / 5px 5px 5px 5px;
  -webkit-border-radius: 5px / 5px 5px 5px 5px;
  border-radius: 5px / 5px 5px 5px 5px; /* border radius */
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box; /* prevents bg color from leaking outside the border */
  background-color: #fff; /* layer fill content */
  padding: 17px 20px;
}

.sidebar .news .day .day-head{
  margin-bottom: 15px;
}

.sidebar .news .day .day-head span{
  font-size: 12px;
  color: #626262;
  text-transform: uppercase;
  display: inline-block;
  letter-spacing: 0.5px;
}

.news-list{
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 25px;
}

.posts-row .news-list .item .title-item-post{
  margin:0;
  font-weight: 400;
  font-size:22px;  
  color:var(--main-color);
  text-decoration: inherit;
  margin-bottom:0!important;
}

.news-list .title-item-post .time{
  font-size:16px;
  color:var(--second-color);
}

.sidebar .posts-row .news-list .title-item-post{
  font-size: 18px;
}
.sidebar .posts-row .today .news-list .title-item-post{
  font-size:21px;
}

.posts-row.sidebar-posts{
	padding-bottom: 30px;
    margin-bottom: 0;
}

.posts-row.sidebar-posts .posts-list{
  display: grid;
  grid-gap:25px;
  grid-template-columns: 1fr;
}

.posts-row.sidebar-posts .item,
.posts-row.sidebar-posts .title-row{
  padding:0 15px;  
}

.posts-row.sidebar-posts .item.spec{
  padding:15px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px; /* border radius */
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;

}

.posts-row.sidebar-posts .item .post-img{
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px; /* border radius */
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box; /* prevents bg color from leaking outside the border */
  overflow: hidden;
  margin-bottom: 20px;
}

.posts-row.sidebar-posts .item .post-img img{
  max-width:100%;
  height:auto;
}

.posts-row.sidebar-posts .title-item-post{
  margin-bottom: 0;
}

.posts-row.sidebar-posts .item .head-item-post{
  margin-bottom:5px;
}



.sidebar .our-projects{
  background-color: #339760;
  padding: 55px 28px 25px;
  color:#fff;
  margin-bottom:30px;
}

.sidebar .our-projects .title-box{
  margin-bottom:25px;
  text-align: center;
}

.sidebar .our-projects .title-box .title{
  text-transform: uppercase;
  margin:0;
  font-weight: 400;
  font-size: 22px;
}

.sidebar .our-projects .projects-list{
  display: grid;
  grid-gap: 27px;
}

.sidebar .our-projects .item{
  text-align: center;
}

.sidebar .our-projects .item .img-box{
  margin-bottom:20px;
}

.sidebar .our-projects .item .img-box a{
  display: block;
  padding:10px;
  border: 1px solid #fff;
}

.sidebar .our-projects .item .img-box a:hover{
  border-color: #A9ECC7;
}

.sidebar .our-projects .item .img-box img{
  max-width:100%;
  height:auto;
}

.sidebar .our-projects .item .title-post{
  margin:0;
  font-size:18px;
  text-align: center;
  font-weight: 400;
  color:#fff;
  text-decoration: inherit;
  transition: 0.1s;
}

.sidebar .our-projects .item .title-post:hover{
  color:#AAEDC8;
}

.sidebar .sistem-banner-box{
  background-color: #E7E7E7;
  padding: 10px;
  display: flex;
  min-height: 500px;
  align-items: center;
  justify-content: center;
  margin-bottom:30px;
}

.sidebar .banners-box img{
  max-width:100%;
}

.posts-row.kypwell{
  padding: 20px 27px;
  background-position: top center;
  background-size: cover;
  background-repeat: no-repeat;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px; 
  border-radius: 5px;
}

.posts-row.kypwell .posts-list{
  grid-template-columns: repeat(2, 1fr);
}



.posts-row.kypwell .title-row .read-more{
  background-color: #F7F7F9;
  color: var(--main-color);
  background-image: url(img/arrow-right-dark.svg);
}

.posts-row.kypwell .title-row .read-more:hover{
  background-color: #EBD5D3;
}

.posts-row.kypwell .more-posts .bt{
  color: #fff;
  text-decoration: inherit;
  outline: inherit;
  transition: 0.1s;
}

.posts-row.kypwell .more-posts .bt:hover{
  background-color: #FFFFFF;
}

.posts-row.kypwell .more-posts .bt.loading{
  background-color: #FFFFFF;
  disabled: disabled;
}

.posts-row .item.recipes .post-inf{
  padding:0;
}

.posts-row .item.recipes{
  background-color: transparent;
  display: block;
  border-radius: 0;
}

.posts-row .item.recipes .post-inf{
  background-image: url(img/recipies-simple-post-bg.jpg);
  background-repeat: repeat;
  background-size: 100%;
  width: 88%;
  padding: 15px 20px;
  margin-top: -20px;
  z-index: 1;
  margin-left: 6%;
  position: relative;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  text-align: center;
  min-height: 180px;
  display: grid;
  align-content: space-between;
}
.posts-row.sidebar-posts .item.recipes .post-img{
  margin:0;
}

.posts-row .item.recipes .head-item-post{
  margin:0;
  justify-content: center;
}

.posts-row .item.recipes .title-item-post{
  font-size:22px;
  margin:10px 0;
}

.posts-row .item.recipes .recip-inf{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.posts-row .item.recipes .recip-inf p,
.article-block.recipe .recipe-full-info .recipe-info p{
  margin:0 6px;
  font-size:11px;
  color:#626262;
  text-transform: uppercase;
  position: relative;
}

.posts-row .item.recipes .recip-inf p::after,
.article-block.recipe .recipe-full-info .recipe-info p::after{
  content: '';
  width:3px;
  height:3px;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  background-color: #626262;
  position: absolute;
  right: -7px;
  bottom: 5px;
}

.posts-row .item.recipes .recip-inf p:last-child::after,
.article-block.recipe .recipe-full-info .recipe-info p:last-child::after{
  display: none;
}

.subscribe-box {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.subscribe-box.medium{  
  padding: 40px 20px;
  margin: 0 0 65px;
  background-image: var(--image-big);
}

.subscribe-box.small{  
  grid-template-columns: 1fr;
  grid-gap: 30px;
  padding: 40px 27px;
}

.subscribe-box.small .text-box{
  text-align: center;
}

.subscribe-box .text-box p{
  font-size: var(--font-size-15-30);
  color: var(--main-color);
  text-transform: uppercase;
  display: inline-block;
  margin:0 0 20px 0;
  text-align: left;
}

.subscribe-box .logo-box{
  text-align: center;
}

.subscribe-box .logo-box img{
  width:100%;
  max-width: 90px;
}

.subscribe-box form{
  display: flex;
}

.subscribe-box input,
.subscribe-box button{
  width:100%;
  font-size: var(--font-size-15-30);
  font-family: var(--second-font-family);
  height: 80px;
  outline: none;
  border: 1px solid var(--main-color);
  text-transform: inherit;
  padding: 0 30px;
}

.subscribe-box button{
  flex: 0;
  min-width: 280px;
  font-size: var(--font-size-15-30);
  gap: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.subscribe-box button img {
  transition: all .3s ease;
}

.subscribe-box button:hover img {
  transform: translateX(10px);
}



.subscribe-box input[type="text"]::-webkit-input-placeholder {color: #1e1e1e}
.subscribe-box input[type="text"]::-moz-placeholder          {color: #1e1e1e}
.subscribe-box input[type="text"]:-moz-placeholder           {color: #1e1e1e}
.subscribe-box input[type="text"]:-ms-input-placeholder      {color: #1e1e1e}

.subscribe-box input[type="text"]:focus,
.form-box input[type="text"]:focus, 
.form-box input[type="email"]:focus, 
.form-box input[type="phone"]:focus, 
.form-box input[type="text"]:focus, 
.form-box textarea:focus{
  border: 2px solid var(--main-color);
}

.subscribe-box button{
  background-color: var(--main-color);
  color: #fff;
}

.authors {
  padding-bottom: 100px;
}

.authors-block.mobile{
  display: none;
}

.authors-block .authors-list{
  display: grid;
  width: 100%;
}

.authors-block.medium .authors-list {
  grid-template-columns: repeat(4, 1fr);
  padding: 50px 0;
  place-items: center;
  align-items: baseline;
  grid-gap: 50px;
}

.subscribe-box {
  padding: 50px 0;
}

.authors-block .item{
  display: grid;
  margin-bottom: 60px;
  grid-gap: 20px;
  place-items: center;
  text-align: center;
  transition: all 0.3s ease;
  grid-template-columns: 1fr;
}

.authors-block .item:hover .author-name a {
  color: var(--second-color);
}

.authors-block .item .main-box{
    display: grid;
    align-items: center;
    justify-content: center;
}

.authors-block .item .main-box{
  border-radius: 50%;
}

.authors-block .item.author .main-box{
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  overflow: hidden;
  width: 220px;
  height: 220px;
  margin: 0 auto;
}

.authors-block .item.author img{
  width:100%;
  height:100%;
}

.authors-block .item.author .author-description {
    width: 100%;
    text-align: center;
    position: relative;
}

.authors-block .item.author .author-description__content {
    overflow: hidden;
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    opacity: 0.6;
    font-family: var(--second-font-family);
    font-size: var(--font-size-10-15);
    text-align: center;
    line-height: 1.2;
    position: relative;
    display: -webkit-box;
    -webkit-line-clamp: 4; /* ограничение на 5 строк */
    -webkit-box-orient: vertical;
}

.authors-block .item.author .author-description__content--expanded {
    background: #fff;
    z-index: 10;
    max-height: none;
    opacity: 1;
    -webkit-line-clamp: none;
    opacity: 0.6;
}

.authors-block .item.author .author-description__toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 5px auto 0;
    padding: 5px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 11;
    color: var(--main-color);
    font-weight: bold;
    font-size: var(--font-size-10-15);
}

.authors-block .item.author .author-description__toggle:hover {
    opacity: 0.7;
}

.authors-block .item.author .author-description__icon {
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--main-color);
    border-bottom: 2px solid var(--main-color);
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    margin-top: -5px;
}

.authors-block .item.author .author-description__toggle[aria-expanded="true"] .author-description__icon {
    transform: rotate(-135deg);
    margin-top: 5px;
}

.authors-block .item.author .author-name{
  text-align: center;
  padding: 0 30%;
  transition: all 0.2s ease;
}

.authors-block .item.author .author-name a {
  font-size: var(--font-size-15-30);
  transition: color 0.2s ease;
  font-family: var(--second-font-family);
  text-transform: uppercase;
}

.authors-block.medium {
  max-width: 100%;
}

.authors-block .item.with-link .main-box{
  grid-template-columns: 1fr;
}

.authors-block .item.with-link .main-box a,
.authors-block .item.text .main-box{
  display: grid;
  height: 100%;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  font-size: 20px;
  text-align: center;
}

.authors-block .item.with-link .main-box a{
  letter-spacing: 1px;
}

.authors-block .item.become-author .main-box{
  background-color: var(--second-color);
  transition: 0.1s;
}
.authors-block .item.become-author .main-box:hover{
  background-color: #00813A;
}

.authors-block .item .main-box a{
  text-decoration: inherit;
  outline: inherit;
  height: 100%;
  width: 100%;
}

.authors-block .item.become-author .main-box a{
  font-weight: 300;
  color:#fff;
}

.authors-block .item.see-all .main-box{
  background-color: #E7E7E7;
  transition: 0.1s;
}

.authors-block .item.see-all .main-box:hover{
  background-color: var(--second-color);
}

.authors-block .item.see-all .main-box a{
  color:#626262;
  font-weight: 600;
}

.authors-block .item.see-all .main-box a:hover{
  color:#fff;
}

.authors-block .item.text .main-box{
  font-size:22px;
}

.about-us {
  background-color: #F9F6F4;
}

.about-us .text-box {
  font-family: var(--second-font-family);
  font-size: var(--font-size-12-20);
  padding-left: 5px;
  color: var(--main-color);
  min-width: 300px;
}

.about-us .text-box .title-box{
  margin-top:0;
  margin-bottom:20px;
  text-transform: uppercase;
}

.about-us .text-box p:first-child {
  margin-bottom: 30px;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.about-content > div {
  flex: 1;
}


.about-us .bt-box .main-button{
  color: var(--main-color);
  font-size: 14px;
  border: 2px solid #fff;
  background-color: #fff;
  padding: 14px 73px;
  text-decoration: inherit;
  transition: 0.2s;
  display: inline-block;
}

.about-us .bt-box .main-button:hover{
  color:#fff;
  background-color: transparent;
}

.about-us .members .item{
  display: flex;
    flex-direction: column;
    align-items: center;
    width: 80%;
    margin: 0 auto;
    text-align: center;
}

.about-us .members .image-box {
  margin-bottom: 30px;
}

.about-us .members .item img{
  max-width:100%;
  height: 395px;
}

.about-us .members .item .info-box .name{
  display: block;
  font-size: var(--font-size-20-40);
  text-transform: uppercase;
  margin-bottom: 10px;
  transition: color .2s ease;
}

.about-us .members .item .info-box .name:hover {
  color: var(--second-color);
}

.about-us .members .item .info-box .descr {
    font-family: var(--second-font-family);
    line-height: 1.4;
    color: var(--main-color);
}

footer .contacts-list{
  display: grid;
  grid-template-columns: 300px 300px;
  grid-gap: 50px;
}

footer .contacts-list .item p {
  font-family: var(--second-font-family);
  font-size: var(--font-size-13-15);
  color: #fff;
  margin-bottom: 20px;
  height: 70px;
}

footer .contacts-list .contact-item {
  margin-bottom: 20px;
}

footer .contacts-list .contact-item img {
  margin-right: 10px;
}

footer .contacts-list .item a {
  color:#fff;
  font-family: var(--second-font-family);
  font-size: var(--font-size-13-15);
}

footer .bottom-bar{
  background-image: url(img/footer-bar-bg.jpg);
  background-size: cover;
  background-position: center;
  padding:40px 50px;
}

.social-box ul{
  display: flex;
  padding: 0;
  margin:0;
  list-style: none;
  justify-content: center;
}

.social-box ul li{
  display: inline-block;
  margin:0 3px;
}

.social-box ul li a{
  border-radius: 50%;
  display: block;
  width:50px;
  height:50px;
  background-position: center;
  background-repeat: no-repeat;
  transition: all .3s ease;
}

.social-box ul li.vk a {
  background-image: url(img/social/vk-ico-white.svg);
  background-size: 64%;
}

.social-box ul li.fb a {
  background-image: url(img/social/fb-ico-white.svg);
  background-size: 22%;
}

.social-box ul li.inst a {
  background-image: url(img/social/inst-ico-white.svg);
  background-size: 48%;
}

.social-box ul li.teleg a {
  background-image: url(img/social/teleg-ico-white.svg);
  background-size: 52%;
}

.social-box ul li.dzen a {
  background-image: url(img/social/dzen-ico-white.svg);
  background-size: 52%;
}

.social-box ul li.youtube a {
  background-image: url(img/social/youtube-ico-white.svg);
  background-size: 60%;
}

/* White Footer */

.social-box ul li.vk a {
  background-image: url(img/social/vk-dark.svg);
  background-size: 64%;
}

.social-box ul li.teleg.dark a {
  background-image: url(img/social/tg-dark.svg);
  background-size: 52%;
}

.social-box ul li.dzen.dark a {
  background-image: url(img/social/zen-dark.svg);
  background-size: 52%;
}


.social-box ul li a:hover{
  background-color: var(--second-color);
}

.social-box.dark ul li.fb a {
  background-image: url(img/social/fb-ico.svg);
}

.social-box.dark ul li.inst a {
  background-image: url(img/social/inst-ico.svg);
}

.social-box.dark ul li.teleg a {
  background-image: url(img/social/teleg-ico.svg);
}

.social-box.dark ul li.dzen a {
  background-image: url(img/social/dzen-ico.svg);
}

.social-box.dark ul li.youtube a {
  background-image: url(img/social/youtube-ico.svg);
}

.social-box.dark ul li.vk a {
  background-image: url(img/social/vk-ico.svg);
}

.main-slider{
  position: relative;
  display: grid !important;
  grid-template-columns: 1fr;
}

.main-slider::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  border: 5px solid white;
  z-index: 5;
  pointer-events: none;
}

.main-slider .owl-dots{
  position: absolute;
  bottom: 40px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 10;
}

.main-slider .owl-dots button.owl-dot{
  display: block;
  width: 12px;
  height: 12px;
  border: 2px solid #fff;
  background-color: transparent;
  border-radius: 50%;
  margin: 0 8px;
  outline: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.main-slider .owl-dots button.owl-dot.active{
  background-color: #fff;
  border-color: #fff;
}

.main-slider .owl-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 30px;
  z-index: 10;
  pointer-events: none;
}

.main-slider .owl-nav button {
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  pointer-events: auto;
}

.main-slider .owl-nav button::before {
  content: '';
  width: 24px;
  height: 24px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}

.main-slider .owl-nav .owl-prev::before {
  transform: rotate(-135deg);
  margin-left: 3px;
}

.main-slider .owl-nav .owl-next::before {
  transform: rotate(45deg);
  margin-right: 3px;
}

.banner-link-wrapper {
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
}

.box-content {
  position: relative;
  overflow: hidden;
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease;
  z-index: 2;
}

.banner-link-wrapper:hover .banner-overlay {
  background-color: rgba(0, 0, 0, 0.7);
}

.banner-text-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  text-align: center;
  width: 90%;
}

.banner-overlay-text {
    font-family: var(--main-font);
    font-size: var(--font-size-14-40);
    color: #fff;
    margin: 0;
    line-height: 1.2;
    font-weight: 600;
    max-width: 900px;
    margin: 0 auto;
}


.mob-visible{
  display: none;
}

.mob-hidden{
  display: block;
}

.breadcrumbs-box{
  padding:15px;
  margin:30px 0;
  font-weight: 300;
  font-size: 13px;
  color:#000000;
}

.breadcrumbs-box p{
  margin-bottom:0;
  font-family: var(--second-font-family);
  font-size: var(--font-size-13-15);
}

.breadcrumb_last {
  color: var(--main-color);
}

.breadcrumbs-box p a{
  color: var(--second-color);
  margin-right:20px;
  position: relative;
}

.breadcrumbs-box p a::before{
  content: '';
  width:3px;
  height:3px;
  background-color: var(--second-color);
  border-radius: 50%;
  position: absolute;
  top: calc((100% - 3px) / 2);
  right: -11px;
}

.sidebar .social-box{
  padding:0 15px;
  margin-bottom:40px;
}

.sidebar .social-box ul li a{
  background-color: transparent;
  border: 1px solid #404040;
  width:46px;
  height:46px;
}

.sidebar .social-box ul li a:hover{
  border-color:var(--second-color);
  background-color: var(--second-color);
}

.sidebar .social-box ul{

  margin-top:20px;
}
.sidebar .banner-box{
  margin-bottom:40px;
}

.sidebar .banner-box img{
  max-width:100%;
}

.page-content .posts-row .title-row.page-title{
  margin-bottom:40px;
}

.post-information .banner-box{
  margin-bottom:65px;
}

.post-information .banner-box img{
  max-width:100%;
}



.pagination-box {
    text-align: center;
    margin: 32px 0;
}

.pagination-box .wp-pagenavi {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.pagination-box .wp-pagenavi a, 
.pagination-box .wp-pagenavi span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 18px;
    font-size: 16px;
    font-weight: 400;
    color: var(--second-color);
    background: #fff;
    border: 1px solid #dbe8d0;
    box-shadow: 0 2px 8px rgba(143,179,104,0.06);
    transition: all 0.2s cubic-bezier(.4,0,.2,1);
    text-decoration: none;
    box-sizing: border-box;
}

.pagination-box .wp-pagenavi a:hover {
    background: var(--second-color);
    color: #fff;
    border-color: var(--second-color);
    box-shadow: 0 4px 16px rgba(143,179,104,0.13);
}

.pagination-box .wp-pagenavi span.current {
    background: var(--second-color);
    color: #fff;
    border-color: var(--second-color);
    font-weight: 500;
    box-shadow: 0 4px 16px rgba(143,179,104,0.13);
}

.pagination-box .wp-pagenavi .pages,
.pagination-box .wp-pagenavi .last,
.pagination-box .wp-pagenavi .first {
    padding: 0 16px;
    font-size: 16px;
    font-weight: 400;
    background: #f8fbf4;
    color: var(--second-color);
    border: 1px solid #dbe8d0;
    border-radius: 18px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 2px;
    box-shadow: 0 2px 8px rgba(143,179,104,0.04);
}

.pagination-box .wp-pagenavi .pages {
    margin-right: 8px;
    font-size: 15px;
    background: #fff;
    border: none;
    box-shadow: none;
    color: #7a9a4a;
    font-weight: 400;
}

@media (max-width: 768px) {
    /* Мобильные стили для кнопок "Еще" и "Скрыть" */
    .category__more,
    .category__hide {
        padding: 12px 24px;
        font-size: 16px;
        min-height: 48px;
        width: auto;
        min-width: 120px;
    }
    
    .category-more-wrap {
        padding: 20px 0;
        text-align: center;
    }
    
    .pagination-box {
        margin: 16px 0;
    }
    .pagination-box .wp-pagenavi {
        gap: 3px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        flex-wrap: wrap;
        padding-bottom: 2px;
        scrollbar-width: none;
    }
    .pagination-box .wp-pagenavi::-webkit-scrollbar {
        display: none;
    }

    .pagination-box .wp-pagenavi .pages,
    .pagination-box .wp-pagenavi .last,
    .pagination-box .wp-pagenavi .first {
        font-size: 11px;
        padding: 0 6px;
    }
}

.page-content .news-list {
  grid-gap:30px;
}

.page-content .news-list .item .date span{
  font-size: 12px;
  color: #626262;    
  letter-spacing: 1px;
}

.page-content .author-block{
  display: grid;
  grid-template-columns: 2fr 3fr;
  grid-gap: 30px;
  margin-bottom: 50px;
}

.page-content .author-block .image-box img{
  -moz-border-radius: 5px / 5px 5px 5px 5px;
  -webkit-border-radius: 5px / 5px 5px 5px 5px;
  border-radius: 5px / 5px 5px 5px 5px; /* border radius */
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box; /* prevents bg color from leaking outside the border */
  max-width:100%;

}

.page-content .author-block .info-box .author-name{
  font-size: 24px;
  margin: 25px 0 15px;
}

.page-content .author-block .info-box{
  font-size:16px;
}

.page-content .author-block .social-box{
  margin-top:20px;
}

.page-content .author-block .social-box ul{
  justify-content: flex-start;
}

.page-content .author-block .social-box ul li a{
  width:33px;
  height:33px;
  border: 1px solid var(--second-color);
}

.page-content .author-block .social-box ul li{
  margin:0 6px;
}

.page-content .author-block .social-box ul li:first-child{
  margin-left:0;
}

.page-content .author-block .social-box ul li.vk a{
  background-image: url(img/social/vk-ico-green.svg);
}
.page-content .author-block .social-box ul li.vk a:hover{
  background-image: url(img/social/vk-ico-white.svg);
}

.page-content .author-block .social-box ul li.fb a{
  background-image: url(img/social/fb-ico-green.svg);
}
.page-content .author-block .social-box ul li.fb a:hover{
  background-image: url(img/social/fb-ico-white.svg);
}

.page-content .author-block .social-box ul li.inst a{
  background-image: url(img/social/inst-ico-green.svg);
}
.page-content .author-block .social-box ul li.inst a:hover{
  background-image: url(img/social/inst-ico-white.svg);
}

.page-content .author-block .social-box ul li.teleg a{
  background-image: url(img/social/teleg-ico-green.svg);
}
.page-content .author-block .social-box ul li.teleg a:hover{
  background-image: url(img/social/teleg-ico-white.svg);
}

.page-content .author-block .social-box ul li.linkedin a{
  background-image: url(img/social/in-ico-green.svg);
  background-size: 44%;
}
.page-content .author-block .social-box ul li.linkedin a:hover{
  background-image: url(img/social/in-ico-white.svg);
}

.page-content .author-block .social-box ul li.website a{
  background-image: url(img/social/web-ico-green.svg);
  background-size: 8%;
}
.page-content .author-block .social-box ul li.website a:hover{
  background-image: url(img/social/web-ico-white.svg);
}

.article-block .article-head{
  margin-bottom:50px;
}

.article-block .article-head .title{
  margin-top:0;
  margin-bottom:40px;
  font-size: var(--font-size-24-48);
  color:var(--main-color);
  padding-left:20px;
}

.article-block .article-head .info-block{
  display: grid;
  padding: 0 20px;
}

.article-block .article-head .author-article{
  display: grid;
  grid-template-columns: 54px 1fr 300px;
  grid-gap:15px 20px;
  align-items: center;
}

.article-block .article-head .ava img{
  -moz-border-radius: 5px / 5px 5px 5px 5px;
  -webkit-border-radius: 5px / 5px 5px 5px 5px;
  border-radius: 5px / 5px 5px 5px 5px; /* border radius */
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box; /* prevents bg color from leaking outside the border */
  max-width:100%;
}

.article-block .article-head .author-name{
  color:var(--second-color);
  text-decoration: inherit;
}

.article-block .article-head .author-name:hover{
  color:#00813A;
}

.repost-buttons{
  display: flex;
  justify-content: space-between;
}

.repost-buttons a{
  -moz-border-radius: 18px;
  -webkit-border-radius: 18px;
  border-radius: 18px; /* border radius */
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box; /* prevents bg color from leaking outside the border */
  color: #fefefe;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 10px 40px 10px 23px;
  background-repeat: no-repeat;
  background-size: 10px;
  background-position: right 11px center;
  display: inline-block;
  text-decoration: inherit;
}

.repost-buttons .vk{
  background-color: #2E77A8;
  background-image: url(img/social/vk-ico-white.svg);    
  background-size: 17px;
}

.repost-buttons .vk:hover{
  background-color: #1F5F8B;
}

.repost-buttons .fb{
  background-color: #3665BA;
  background-image: url(img/social/fb-ico-white.svg);
  background-size: 7px;
  background-position: right 17px center;
}

.repost-buttons .fb:hover{
  background-color: #2953A0;
}

.article-block .article-head .info-block.with-descr{
  grid-template-columns: 1fr 2fr;
  grid-gap: 50px;
}

.article-block .article-head .with-descr .author-article{
  grid-template-columns: 54px 1fr;
}

.with-descr .repost-buttons{
  display: grid;
  grid-gap:10px;
  grid-column-start: 2;
  justify-content: flex-start;
}

.article-block .article-head .article-descr{
  margin: 0;
  font-size: 18px;
  color: var(--main-color);
}

.article-block .article-head .article-descr p{
  margin:0;
}

.article-block .article-head .article-descr a{
  color:var(--second-color);
  text-decoration: inherit;
}

.article-block .article-head .article-descr a:hover{
  color:#00813A;
}

.article-block .thumb{
  text-align: center;
  margin-bottom:50px;
}

.article-block .thumb img,
.article-block .article-body .text img{
  max-width: 100%!important;
  margin: 60px 0;
}

.article-block .article-body .text img.alignleft{
    float: left;
    margin: 0.3em 1em 0.5em 0;
}

.article-block .article-body .text img.alignright{
    float: right;
    margin: 0.3em 0 0.5em 1em;
}

@media(max-width: 768px){
	.article-block .article-body .wp-caption{width: 100%!important;}
}

.article-block .article-body .wp-caption.aligncenter{
	margin: 0 auto;
}

.article-block .article-body .wp-caption.alignnone{
   width: 100%!important;
}

.article-block .article-body .wp-caption .wp-caption-text{
	font-size: 18px;
	font-style: italic;
	color: #616161;
	margin: -15px 0 0;
}

.article-block .article-body .text img.aligncenter{
	margin:30px auto;
	display:block!important;
}

.article-block .article-body{
  margin-bottom:60px;
}

.article-block .article-body .text{
	line-height: 28px;
}

.article-block .article-body .text a,
.article-block .article-body .interested-box ul li a{
  color:var(--second-color);
  text-decoration: inherit;
}

.article-block .article-body .text a:hover,
.article-block .article-body .interested-box ul li a:hover {
    color: #00813A;
}


.article-block .article-body .interested-box{
  background-color: #fff;
  padding: 40px 50px;
  font-size:16px;
  margin-top:30px;
}

.article-block .article-body .interested-box .title-box{
  margin:0 auto 25px;
  text-transform: uppercase;
  font-size:22px;
  font-weight: 400;
}

.article-block .article-body .interested-box ul{
  padding:0;
  margin:0;
  list-style: none;
  display: grid;
  grid-gap:10px;
}

.razbor-page .breadcrumbs-box{
  margin-bottom:0;
}

.razbor-page .article-head-top{
  position: relative;
  margin-bottom:50px;
}

.razbor-page .article-head-top img{
  max-width:100%;
}

.razbor-page .article-head-top .title-box{
  position: absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background-color: rgba(0, 0, 0, 0.62);
  display: flex;
  align-items: center;
  justify-content: center;
  padding:20px;
}

.razbor-page .article-head-top .title-box .title{
  text-align: center;
  color:#fff;
  margin:0;
  font-size:48px;
  max-width: 1000px;
}

.razbor-page .article-body .text .column-title{
  text-align: left;
}

.article-body .column-text-item{
  display: grid;
  grid-template-columns: 1fr 2fr;
  grid-gap:50px;
  margin-bottom:40px;
}

.article-body .column-text-item .column-title{
  text-align: right;
  color:#339760;
  font-size:20px;
  margin:0;
}

.article-body .text .column-title{
  color:#339760;
  font-size:20px;
}


.article-navigation ol{
  margin:0;
  font-size:16px;
  color:var(--second-color);
  padding-left:20px;
}

.article-navigation ol li a{
  color: #464646;
  margin-left: -15px;
  display: block;
  padding: 10px 0 10px 32px;
  border-bottom: 1px solid #E2E2E4;
  text-decoration: inherit;
}

.article-navigation ol li:last-child a{
  border:none;
}

.article-navigation ol li.active a,
.article-navigation ol li a:hover{
  color:var(--second-color);  
}

.post-information .admin-info{
  grid-template-columns: 6fr 5fr;
  display: grid;
  grid-gap: 20px 40px;
  border-top:1px solid #DCDCDE;
  padding:20px 0;
  align-items: center;
  display: none;
}

.post-information .admin-info .liked{
  display: grid;
  grid-template-columns: 68px 1fr;
  grid-gap: 30px;
  align-items: center;
  padding-left: 30px;
}

.post-information .admin-info .social-box{
  padding-right:30px;
}

.post-information .admin-info .liked img{
  max-width:68px;
}

.post-information .admin-info .liked p{
  margin: 0;
}

.post-information .admin-info .from-redaction{
  border-top:1px solid #DBDBDD;
  padding:20px 30px 0 30px;
  font-size:12px;
  grid-column-start: span 2;
  margin-bottom:20px;
}

.post-information .admin-info .from-redaction a{
  color:#00b34f;
  text-decoration: inherit;
}

.post-information .admin-info .from-redaction a:hover{
  color:#00813A;
}

.post-information .admin-info .from-redaction p{
  margin:0;
}

.post-information .social-box ul li a{
  border: 1px solid #3F3F3F;
}

.post-information .social-box ul li a:hover{
  border-color:var(--second-color);
}

.post-information .social-box ul{
  justify-content: flex-end;
}

.post-information .tags{
  display: grid;
  grid-template-columns: 1fr 300px;
  grid-gap: 30px;
  margin-bottom:70px;
  padding-left:30px;
}

.post-information .tags .tags-list{
  display: grid;
  grid-template-columns: 55px 1fr;
  grid-gap:30px;
}

.post-information .tags .tags-list .list-title{
  font-size:22px;
  text-transform: uppercase;
}

.post-information .tags .tags-list .list ul{
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin:0;
  padding: 0;
}

.post-information .tags .tags-list .list ul li{
  margin-right:15px;
}

.post-information .tags .tags-list .list ul li a{
  color:var(--main-color);
  font-size:18px;
  text-decoration: inherit;
  border-bottom: 1px solid;
}

.post-information .tags .tags-list .list ul li a:hover{
  color:var(--second-color);
}

.post-information .author-full-box{
  display: grid;
  grid-template-columns: 185px 1fr;
  grid-gap:35px;
  align-items: center;
  margin-bottom:60px;
  padding: 25px 30px 25px 30px;
  background-color: #fff;
  position: relative;
}

.post-information .author-full-box::before{
  content: '';
  width:270px;
  height:100%;
  left:-270px;
  top:0;
  position: absolute;
  background-color: #fff;
}

body.with-banner .post-information .author-full-box::before {
    width: 20px;
    left: -20px;
}

.post-information .author-full-box .ava-box img{
  -moz-border-radius: 5px / 5px 5px 5px 5px;
  -webkit-border-radius: 5px / 5px 5px 5px 5px;
  border-radius: 5px / 5px 5px 5px 5px; /* border radius */
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box; /* prevents bg color from leaking outside the border */
  position: relative;
  margin-top:-57px;    
  max-width: 100%;
}

.post-information .author-full-box .full-info{
  font-size:16px;
  color: #464646;
}

.post-information .author-full-box .full-info p{
  margin-bottom: 2px;
}

.post-information .author-full-box .full-info .author-name{
  font-size:18px;
  font-weight: 600;
}

.post-information .author-full-box .full-info a{
  color:var(--second-color);
  text-decoration: inherit;  
}

.post-information .author-full-box .full-info a:hover{
  color:#00813A;
}

.post-information .recomend-posts{
  margin-bottom:60px;
}

.post-information .recomend-posts .title{
  margin-top:0;
  margin-bottom:30px;
  font-size:32px;
  text-transform: uppercase;
  display: block;
}

.article-block.news{
  display: grid;
  grid-template-columns: 1fr 2.18fr;
}

.article-block.news .news-list{
  grid-gap:20px;
}

.article-block.news .title-row.page-title {
    margin-bottom: 20px;
}

.article-block.news .news-theme{
  padding-top:35px;
  border-top:1px solid #DBDBDD;    
  margin-bottom: 60px;
}

.article-block.news .news-list .item .title-item-post {
  font-size: 18px;
}

.article-block.news .article-head .author-article{
  grid-template-columns: 54px 1fr 300px;
}

.article-block.recipe .article-text{
  grid-template-columns: 1fr 2fr;
  display: grid;
  grid-gap: 50px;
  margin-bottom:45px;
}

.article-block.recipe .article-text p:last-child{
  margin-bottom:0;
}

.article-block.recipe .article-text>div{
  grid-column-start: 2;
}

.article-block.recipe .recipe-full-info{
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap:25px 110px;
}

.article-block.recipe .dop-info-recipe{
  margin-top:30px;  
}

.article-block.recipe .dop-info-recipe p:last-child,
.article-block.recipe .recipe-full-info .recipe-list p:last-child{
  margin-bottom:0;
}

.article-block.recipe .recipe-full-info .recipe-title .title{
  margin:0;
  font-size:20px;
  color:var(--second-color);
}

.article-block.recipe .recipe-full-info .recipe-title,
.article-block.recipe .recipe-full-info .ingredients .list{
  padding-left:20%;
}

.article-block.recipe .with-img .recipe-full-info .recipe-list{
  grid-row-start: span 2;
}

.article-block.recipe .recipe-full-info .recipe-info,
.article-block.recipe .recipe-full-info .recipe-list{
  padding-right:20%;
}

.article-block.recipe .recipe-full-info .recipe-info {
  display: flex;
    justify-content: flex-start;
    align-items: initial;    
    padding-top: 7px;
}

.article-block.recipe .recipe-full-info .recipe-info p{
  font-size: 14px;
  margin:0 9px;
}

.article-block.recipe .recipe-full-info .recipe-info p:first-child{
  margin-left:0;
}

.article-block.recipe .recipe-full-info .recipe-info p:last-child{
  margin-right:0;
}

.article-block.recipe .recipe-full-info .recipe-info p::after {
  right: -11px;    
  bottom: initial;
  top: 7px;
}

.article-block.recipe .recipe-full-info .title-box{
  margin-bottom:25px;
  font-size:18px;
  color:var(--main-color);
  font-weight: 700;    
  display: block;
}

.article-block.recipe .recipe-full-info .ingredients .title-box{
  border-top:2px solid var(--main-color);
  padding-top:25px;
  margin-bottom: 5px;
}

.article-block .text ul{
  list-style: none;
  display: grid;
  grid-gap:10px;
}

.article-block .text ul li{
  position: relative;
  padding-left: 12px;
}

.article-block.recipe .ingredients ul,
.article-block.recipe .recipe-list ul{
  padding:0;
}

.article-block .text ul li::before{
  content: '';
  width:5px;
  height: 5px;
  position: absolute;
  top: 10px;
  left:0;
  background-color: var(--second-color);
  border-radius: 50%;
}

.article-block .text ol{
  padding-left:0;
  display:grid;
  list-style-type: none; /* Убираем исходные маркеры */
  counter-reset: num; /* Задаём имя счетчика */
      grid-gap: 10px;
}

.article-block .text ol li{
  position: relative;
}

.article-block .text ol>li::before{
  content: counter(num) '. '; /* Выводим число */
  counter-increment: num; /* Увеличиваем значение счётчика */
  color:var(--second-color);
  font-weight: 600;
}

.article-block.recipe .recipe-full-info .recipe-list ol,
.article-block.recipe .recipe-full-info .recipe-list ul{
  grid-gap:25px;
}

.article-block.recipe .recipes-list{
  display: grid;
  grid-gap:70px;   
}

.article-block .article-thanks{
  background-color: #DBDBDD;
  padding:40px;
  display: grid;
  align-items: center;
  grid-gap: 40px;
}

.article-block .article-thanks .text-box{
  display: grid;
  grid-gap: 25px;
}

.article-block .article-thanks.with-img{  
  grid-template-columns: 2fr 1fr;
}

.article-block .article-thanks .main-text{
  font-size:20px;
}

.article-block .article-thanks .main-text p:last-child{
  margin-bottom:0;
}

.article-block .article-thanks,
.article-block .signat{
  margin-top:50px;
}

.authors-list-page .authors-full-list{
  grid-gap:50px;
  display: grid;
  margin-bottom:50px;
}

.authors-list-page .posts-row.title{
  margin-bottom:0;
  justify-content: inherit;
}

.authors-list-page .authors-full-list .letter-item .letter-box{
  font-size:52px;
  color:var(--second-color);
  font-weight: 300;    
  line-height: 1;
}

.authors-list-page .authors-full-list .letter-item{
  display: grid;
  grid-template-columns: 80px 1fr;
  grid-gap:30px;
}

.authors-list-page .authors-full-list .list{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap:20px;
}

.authors-list-page .authors-full-list .author-item {
  display: grid;
  grid-template-columns: 53px 1fr;
  grid-gap:20px;
  align-items: center;
  transition: all;
}

.author-item:hover .author-item__name {
  color: var(--second-color);
}

.authors-list-page .authors-full-list .author-item a{
  color: var(--second-color);
  display: block;
  overflow: hidden;
}

.authors-list-page .authors-full-list .author-item div:first-child a {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
}

.avatar.photo {
  width: 100%;
  height: 100%;
      clip-path: inherit !important;
}

.authors-list-page .authors-full-list .author-item p{
  margin:0;
  font-size:11px;
}

.authors-list-page .search-author{
  margin-bottom:70px;
}

.authors-list-page .search-author form,
.content-wrap .search-box form{
  position: relative;
}

.content-wrap .search-box form{
  max-width:500px;
}

.authors-list-page .search-author input[type="search"],
.content-wrap .search-box input[type="search"]{
  border: 1px solid #797979; /* stroke */
  -moz-border-radius: 5px / 5px 5px 5px 5px;
  -webkit-border-radius: 5px / 5px 5px 5px 5px;
  border-radius: 5px / 5px 5px 5px 5px; /* border radius */
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box; /* prevents bg color from leaking outside the border */
  width:100%;
  padding:20px;
  background-color: transparent;
  padding-left:60px;
  font-size:16px;
  outline: inherit;
}

/* .authors-list-page .search-author input[type="search"]::-webkit-input-placeholder {color:#7A7A7A;}
.authors-list-page .search-author input[type="search"]::-moz-placeholder          {color:#7A7A7A;}
.authors-list-page .search-author input[type="search"]:-moz-placeholder           {color:#7A7A7A;}
.authors-list-page .search-author input[type="search"]:-ms-input-placeholder      {color:#7A7A7A;}

.content-wrap .search-box input[type="search"]::-webkit-input-placeholder {color:#7A7A7A;}
.content-wrap .search-box input[type="search"]::-moz-placeholder          {color:#7A7A7A;}
.content-wrap .search-box input[type="search"]:-moz-placeholder           {color:#7A7A7A;}
.content-wrap .search-box input[type="search"]:-ms-input-placeholder      {color:#7A7A7A;} */

.authors-list-page .search-author input[type="submit"],
.content-wrap .search-box input[type="submit"]{
    background-image: url(img/search-ico.svg);
    background-size: 21px;
    background-repeat: no-repeat;
    background-color: transparent;
    background-position: top center;
    width: 21px;
    height: 21px;
    outline: inherit;
    position: absolute;
    top:calc((60px - 21px) / 2);
    left:calc((60px - 21px) / 2);
}

.authors-list-page .search-author input[type="submit"]:hover,
.content-wrap .search-box input[type="submit"]:hover {
    background-position: bottom center;
}

.authors-list-page .search-author .help-search-user{
  font-size: 15px;
  font-weight: 300;
  color: #7A7A7A;
  margin-bottom: 0;
  margin-top: 15px;
  padding-left: 15px;
}


/* .authors-list-page .authors-block.medium .item:nth-child(1),
.authors-list-page .authors-block.medium .item:nth-child(2),
.authors-list-page .authors-block.medium .item:nth-child(3),
.authors-list-page .authors-block.medium .item:nth-child(4),
.authors-list-page .authors-block.medium .item:nth-child(5),
.authors-list-page .authors-block.medium .item:nth-child(6),
.authors-list-page .authors-block.medium .item:nth-child(7),
.authors-list-page .authors-block.medium .item:nth-child(8),
.authors-list-page .authors-block.medium .item:nth-child(9),
.authors-list-page .authors-block.medium .item:nth-child(10),
.authors-list-page .authors-block.medium .item:nth-child(11),
.authors-list-page .authors-block.medium .item:nth-child(12),
.authors-list-page .authors-block.medium .item:nth-child(13),
.authors-list-page .authors-block.medium .item:nth-child(14),
.authors-list-page .authors-block.medium .item:nth-child(15),
.authors-list-page .authors-block.medium .item:nth-child(16),
.authors-list-page .authors-block.medium .item:nth-child(17),
.authors-list-page .authors-block.medium .item:nth-child(18){
  order:0;
  grid-column-start: initial;
} */


.become-an-author .form-box{
  padding: 30px;
  background-color: #fff;
}

.become-an-author .form-box .form-title{
  margin:0 auto 30px;
  font-size:24px;
  text-align: center;
  color: var(--second-color);
}

.become-an-author .form-box form{
  display: grid;
  grid-gap:20px;
  grid-template-columns: 3fr 1fr;
}

.become-an-author .form-box form .fields,
.become-an-author .form-box form .bottom-box{
  display: grid;
  grid-gap:20px;
  grid-template-columns: repeat(3, 1fr);
}

.become-an-author .form-box form .your-subject,
.become-an-author{
  grid-column-start: span 2;
}

.form-box form .bt-box{
	grid-column-start: span 3;
}

.become-an-author .form-box form .bt-box .ajax-loader{
      position: absolute;
    top: 17px;
    right: 20px;
}

.become-an-author .form-box .load-file{
  display: flex; 
  align-items: center;
  justify-content: center;
  text-align: center;
  padding:20px;
  border: 1px solid #d1d1d3; /* stroke */
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px; /* border radius */
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box; /* prevents bg color from leaking outside the border */
  font-weight: 300;
  /*order:-1;*/
  grid-row-start: 2 span;
}

.become-an-author .form-box .load-file label{
  max-width: 170px;
  display: inline-block;
  margin-top: 15px;
  font-size: 12px;
}

.become-an-author .form-box textarea{
  height:49px;
  width:100%;
  resize: none;    
}

.form-box input.wpcf7-not-valid,
.form-box textarea.wpcf7-not-valid{
  border:1px solid #fb8383;
}

div.wpcf7-validation-errors, 
div.wpcf7-acceptance-missing,
div.wpcf7-mail-sent-ok{
    border: none!important;
    padding: 15px!important;
    font-size: 18px;
    width: 100%;
    margin: 0!important;
}

div.wpcf7-validation-errors, 
div.wpcf7-acceptance-missing{
    border-left: 2px solid red!important;
    background-color: rgba(255, 0, 0, 0.16);

}

div.wpcf7-mail-sent-ok{
    border-left: 2px solid green!important;
    background-color: rgba(0, 128, 0, 0.35);

}

span.wpcf7-not-valid-tip{
  display: none!important;
}

.become-an-author div.wpcf7-validation-errors, 
.become-an-author div.wpcf7-acceptance-missing,
.become-an-author div.wpcf7-mail-sent-ok{
    grid-column-start: span 2;  
}

.become-an-author .form-box textarea::-webkit-scrollbar{
        display: none;
    }

.form-box input[type="submit"]{
  font-size:14px;
  width:100%;    
  padding: 17px;
  letter-spacing: 2px;
} 

.become-an-author .form-box .cptch_block{
  margin-bottom:0;
  display: flex!important;
  justify-content: center;
}

.become-an-author .form-box .cptch_block input{
  background-color: #fff;
  border-radius:0;
  box-shadow:none;
  border: none;
  border-bottom:1px solid var(--second-color);
}


.become-an-author .text{
  font-weight: 300;
  color: var(--main-color);
  margin-top:40px;
  font-size: 16px;
}

.become-an-author .text strong{
  font-weight: 500;
}

.become-an-author .text>ol{
  grid-gap:25px;
}

.become-an-author .text ul li::before{
  top:9px;
}

.become-an-author .text>ol>li>strong:nth-child(1){
  color:var(--second-color);
  text-transform: uppercase;
}

.become-an-author .article-block .article-body{
  max-width:1180px;
  margin:0 auto 60px;
}


.post-information.full .recomend-posts{
  display: grid;
  grid-template-columns: 1fr 3fr;
  grid-gap:30px;
  align-items: center;
}

.post-information.full .recomend-posts .posts-row{
  margin-bottom:0;
}

.post-information.full .recomend-posts .block-title{
  text-align: center;
}

.post-information.full .recomend-posts .title {
    margin-bottom: 0;
    display: inline-block;
    text-align: center;
    max-width: 260px;
}


.post-information.full .admin-info .liked,
.post-information.full .admin-info .social-box{
  padding-left:0;
  padding-right:0;
}

.post-information.full .admin-info .from-redaction{
  grid-column-start: initial;
  border-top:0;
  border-left: 1px solid #DBDBDD;
  padding:20px 0 20px 40px;
}

.post-information.full .admin-info{
  grid-template-columns: 2.2fr 1.6fr 3fr;
  grid-gap:40px;
}

.post-information.full .admin-info{
  padding:20px 30px;
}

.post-information.full .social-box ul {
    justify-content: center;
}

.post-information.full .subscribe-box form{
  max-width:100%;
  display: grid;
  grid-gap: 10px;
  grid-template-columns: 1fr 1fr;
}

.post-information.full .subscribe-box button{
  margin-top:0;
}

.post-information.full .subscribe-box.medium {
  grid-template-columns: 2.4fr 1.4fr 3fr;    
  background-image: url(img/subscribe-full-long-box-bg.jpg);
  grid-gap: 40px;
  padding: 40px;
}

.post-information.full .tags{
  padding:0 30px;
  grid-template-columns: 1fr 325px;
}

body.with-banner .post-information.full .author-full-box::after {
    width: 20px;
    right: -20px;
}


.authors-block.big .authors-list {
    grid-gap: 0 60px;
    grid-template-columns: repeat(6, 1fr);
    margin-bottom: 20px;
}

.authors-block.big .item:nth-child(1){
  order:0;
}
.authors-block.big .item:nth-child(2){
  order:0;
}
.authors-block.big .item:nth-child(3){
  order:0;
}
.authors-block.big .item:nth-child(4){
  order:0;
}

.authors-block.big .item.become-author{
  order:1!important;
}

.authors-block.big .item.see-all{
  order:2!important;
  grid-column-start: 1;
}

.authors-block.big .item:nth-child(6){
  order:2;
}
.authors-block.big .item:nth-child(7){
  order:2;
}
.authors-block.big .item:nth-child(8){
  order:2;
}
.authors-block.big .item:nth-child(9){
  order:2;
}
.authors-block.big .item:nth-child(10){
  order:2;
}
.authors-block.big .item.see-all{
  order:2;
  grid-column-start: 2;
}

.authors-block.big .item:nth-child(11){
  order:3;
}
.authors-block.big .item:nth-child(12){
  order:3;
}
.authors-block.big .item:nth-child(13){
  order:3;
}
.authors-block.big .item:nth-child(14){
  order:3;
  grid-column-start: 1;
}
.authors-block.big .item:nth-child(15){
  order:3;
}
.authors-block.big .item:nth-child(16){
  order:3;
}

.authors-block.big .item:nth-child(17){
  order:3;
}

.authors-block.big .item.text{
  order:3!important;
}

.banner-box{
  margin-bottom:40px;
}

.banner-box img{
  width:100%;
}

#window-banner{
  background-color: red;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index:999;
    display: none;
}
#window-banner a{
  display: block;
  width:100%;
}

#window-banner img{
  width:100%;
  height:auto;
}

.close{
  top:10px;
  right:10px;
  position: absolute;
  background-color: #fff;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;
  opacity: 0.7;
  transition: 0.2s;
}

.close::before,
.close::after{
  content: '';
  width:10px;
  height:1px;
  background-color: #000;
  display: block;
  position: absolute;
}
.close:hover{
  opacity: 1;

}

.close::before{
    transform: rotate(45deg);
}

.close::after{
    transform: rotate(-45deg);
}

#bg_popup-main{
  position: fixed;
  top: 0;
  left: 0;
  display: none;
  width:100%;
  height:100%;
  z-index: 99999;
}

#bg_popup-main .popup-block{
  display: flex;
  align-items: center;
  justify-content: center;    
  background: rgba(0,0,0,.8);    
  height: 100%;
}

#popup-main {
    background: #fff;
    min-width: 250px;
    max-width:90%;
    height: auto;
    padding: 0;
    overflow: hidden;
    position: relative;
}

#popup-main .popup-bg-block-main {
    display: block;
    width: 100%;
    height: 100%;
}

#popup-main img{
  max-width:100%;
  height:auto;
}

.photo-slider-single{
    display: grid;
    grid-gap: 30px;
    margin-top: 40px;
    text-align: center;
}

.photo-slider-single .gallery-block{
  display: inline-block;
  margin:0 auto;
}

.photo-slider-single .box-photo{
  margin-bottom: 10px;
}

.photo-slider-single .box-photo img{
  width:100%;
}

.photo-slider-single ul{
  list-style: none;
  padding:0;
  margin:0;    
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  grid-gap:10px;
  display: grid;
}

.photo-slider-single ul li{
  padding:0;
  cursor: pointer;
}

.photo-slider-single ul li.active,
.photo-slider-single ul li:hover{
  outline: 2px solid #00b34f;
}

.photo-slider-single ul li img{
  max-width:100%;
  margin:0;
  width:100%;
  height:auto;
}

.page-404{
  margin: 50px 0 130px;
  display: grid;
  grid-gap: 20px;
}

.page-404 h1{
  color: #0fb759;
}

.content-wrap .search-box p{
  font-size:16px;
  margin-bottom: 20px;
}


.search-page .page-content .posts-row .title-row.page-title{
  margin-bottom:20px;
}

.search-page .title-row span{
  color:var(--second-color);
}

.search-page .search-box{
  margin-bottom: 40px;
}

.search-page .posts-row .posts-list{
  grid-template-columns: repeat(4, 1fr);
}

.cptch_reload_button{
	font-size:20px!important;
	width:auto!important;
	height:auto!important;
}

.promo-block{
    display: grid;
    align-items: center;
    grid-template-columns: 300px 1fr;
    grid-gap: 30px;
    margin: 30px 0;
    padding: 30px 0;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

.promo-block.no-img{
    grid-template-columns: 1fr;  
}

.promo-block .promo-img img{
  margin:0!important;
  max-width:100%;
}

.promo-block .main-button.green{
  color:#fff!important;
}

.promo-block .promo-info{
  display: grid;
  grid-gap:20px;
}

.promo-block .promo-info p{
  margin:0;
}

/* Participants */

.participant_list {	
	display: flex;
	flex-direction: column;
	margin-top: 40px;
}

.participant_list .participant_item {
	display:flex;
	align-items: center;
	flex-direction: column;
	margin: 0 0 40px;
}

.column_3 {
	width: 100%;
	padding: 0 20px;
}

.participant_list .participant_item  .column_3 img {
	display: block;
	margin: 0 auto 20px;
	margin-left: auto !important;
}

.column_9 {
	width: 100%;
	padding: 0 20px;
}

.participant_list .participant_item:nth-child(2n+1) .column_9,
.participant_list .participant_item:nth-child(2n) .column_9,
.participant_list .participant_item .column_9 {
	text-align: center;
}

/* OrganicWoman 4.0 */

section.main-banner {
	position: relative;
  padding: 80px 0 100px 0;
}

.slider-wrapper {
	position: relative;
}

.header-logo {
	position: relative;
  transform: translateY(21%);
  margin-top: -50px;
  z-index: 10;
}

.header-logo a {
  display: block;
}

.header-logo img {
  max-width: 100%;
}

.content-height {
  height: 350px;
  margin: 50px 0;
}

.banner-title {
  font-size: var(--font-size-20-40);
  margin: 20px auto 50px auto;
  line-height: 1;
  font-weight: 400;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  max-width: 800px;
}

.button.banner-btn {
  margin-bottom: 20px;
  background: #fff;
  color: var(--main-color);
  border: 2px solid var(--main-color);
}

.button.banner-btn:hover {
  background: var(--main-color);
  color: #fff;
  border: 2px solid transparent;
}


.banner-description {
  font-family: var(--second-font-family);
  font-size: var(--font-size-10-20);
  margin-bottom: 50px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--main-color);
  height: 70px;
  width: 260px;
  color: #fff;
  font-family: var(--second-font-family);
  font-size: var(--font-size-15-20);
  transition: color .2s ease;
  border: 2px solid transparent;
}

.button:hover {
  background: transparent;
  border: 2px solid var(--main-color);
  color: var(--main-color);
}

.custom-prev {
  background-image: url(img/arrow-left.svg);
  background-repeat: no-repeat;
  width: 25px;
  height: 25px;
}

.custom-next {
  background-image: url(img/arrow-right.svg);
  background-repeat: no-repeat;
  width: 25px;
  height: 25px;
}

.owl-nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  font-size: 0;
}

/* Тайтл */
.title {
  display: flex;
  justify-content: center;
  text-transform: uppercase;
  font-size: var(--font-size-30-90);
  margin:0 0 50px 0;
  text-align: center;
  /* letter-spacing: -3px; */
}



.subtitle {
  display: flex;
  justify-content: center;
  text-transform: uppercase;
  font-size: var(--font-size-35-70);
  margin-bottom: 50px;
  text-align: center;
}

section.projects {
  background: var(--category-projects);
  padding-top: 80px;
  border-top: 1px solid var(--main-color);
  border-bottom: 1px solid var(--main-color);
}

section.category-integrative-health {
  background: var(--category-integrative-health);
}

section.category-nutrition,
section.category-otnosheniya {
  background: var(--category-nutrition);
}

section.category-lifestyle,
section.category-receipts {
  background: var(--category-lifestyle);
}

.content-section {
  padding: 70px 0;
}

.category-page {
  padding: 50px 0;
}

.section-with-border {
  border-bottom: 1px solid var(--main-color);
}

section.category-section {
  padding-top: 80px;
}

/* Сетка */

.grid-masonry {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 20px;
  align-items: flex-start;
}

.grid-masonry-reverse {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  gap: 20px;
  align-items: flex-start;
}

.grid-uniform {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  gap: 20px;
  align-items: flex-start;
}

/* Сетка конец */

.grid-uniform .post:first-child {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.grid-uniform .post:first-child img {
  height: 600px;
}

.grid-uniform .post:first-child .article-content {
  text-align: center;
  padding-bottom: 0px;
}

.highlight-post {
  text-align: center;
}

.highlight-post .article-date,
.highlight-post .article-category {
  font-size: var(--font-size-10-15);
}

.highlight-post .article-title {
  font-size: var(--font-size-15-30);
  margin: 0 auto;
  max-width: 100%;
}

.flex-wrapper img {
  object-fit: cover;
  height: 215px;
}

.flex-wrapper {
  padding-bottom: 20px;
}

.article-image {
  width: 100%;
  height: auto;
  display: block;
}

.article-date {
  margin-top: 15px;
}

.article-content {
  display: flex;
  flex-direction: column;
  padding-right: 20px;
  min-height: 127px;
}

.article-date, .article-category {
  font-family: var(--second-font-family);
  margin-bottom: 12px;
  font-size: var(--font-size-10-12);
  opacity: 0.6;
}

.article-category {
  text-transform: uppercase;
}

.article-title {
  text-transform: uppercase;
  font-size: var(--font-size-13-15);
  margin: 0;
  overflow: hidden;
  line-height: 1.5;
}

.article-title:after {
  content: "\A\A";
  white-space: pre;
  visibility: hidden;
}

.article-title a {
  transition: color .2s ease;
}

.article-excerpt {
  font-size: 0.875rem;
  color: #333;
  line-height: 1.5;
}

.category-section .highlight-post img {
  height: 660px;
}

.category-section .grid-masonry .column-center .post:nth-child(1) img,
.category-section .grid-masonry .column-right .post:nth-child(2) img,
.category-section .grid-masonry-reverse .column-left .post:nth-child(1) img,
.category-section .grid-masonry-reverse .column-center .post:nth-child(2) img {
  height: 200px;
}

.category-section .grid-masonry .column-center .post:nth-child(2) img,
.category-section .grid-masonry .column-right .post:nth-child(1) img,
.category-section .grid-masonry-reverse .column-left .post:nth-child(2) img,
.category-section .grid-masonry-reverse .column-center .post:nth-child(1) img {
  height: 300px;
}


.main-column .article-content {
  text-align: center;
}

.flex-item-1 img {
  height: 274px;
  object-fit: cover;
}

.flex-item-2 img {
  height: 399px;
  object-fit: cover;
}

.flex-wrapper .post {
  margin-bottom: 20px;
}

.post:hover .article-title a {
  color: var(--second-color);
}

.editor-post:hover .article-title a {
  color: var(--second-color);
}

.highlight-post:hover .article-title a {
  color: var(--second-color);
}

.read-more-wrap {
  border-top: 1px solid var(--main-color);
  padding: 50px 0;
}

.read-more-button {
  font-family: var(--second-font-family);
  font-size: clamp(18px, 3vw, 36px);
}

.read-more-button img {
  transition: transform 0.3s ease-in-out;
}

.read-more-button:hover img {
  transform: translateX(10px);
}

.read-more-button span {
  margin-right: 10px;
}

.subscribe {
  padding: 100px 0;
  display: none;
}


.form-box {
  width: 1000px;
  max-width: 100%;
}

.grid-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 20px 0;
  padding: 20px 0;
  gap: 20px;
}

.editor-post {
  overflow: hidden;
}

.editor-post-thumbnail {
  display: block;
  margin-bottom: 20px;
}

.editor-post img {
  width: 100%;
  object-fit: cover;
  height: 270px;
}

.footer-layout {
  display: flex;
  flex-direction: column;
  margin-bottom: 50px;
  align-items: center;
}

.logo-social {
  display: flex;
  flex-direction: column;
  max-width: 300px;
}
.social-list {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 10px;
}
.social-list li a {
  display: block;
  width: 40px;
  height: 40px;
  background-size: cover;
}

footer {
  background: #fff;
  padding: 75px 0 50px 0;
  border-top: 1px solid var(--main-color);
}

footer .logo,
.social-box {
  margin-bottom: 30px;
}

#footer-menu {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-content: center;
  gap: 30px;
  list-style-type: none;
}

.footer-menu {
  text-align: center;
}

.footer-menu li a {
  color: #1E1E1E;
  font-family: var(--second-font-family);
  font-size: var(--font-size-13-15);
  transition: .3s ease;
}

.footer-menu li a:hover {
  color: var(--second-color);
}

footer .copyright {
  display: flex;
  color: var(--main-color);
  font-size: var(--font-size-13-15);
  font-family: var(--second-font-family);
  margin: 20px 0;
  opacity: 0.5;
  justify-content: center;
}

footer .copyright a {
  font-size: var(--font-size-13-15);
  font-family: var(--second-font-family);
  color: var(--main-color);
  opacity: 1;
}

.button-with-arrow {
  max-width: 20px;
}

.form-box .privacy-policy {
  font-family: var(--second-font-family);
  font-size: var(--font-size-15-20);
  color: var(--main-color);
  margin: 20px 0;
}

.form-box .privacy-policy a {
  font-family: var(--second-font-family);
  font-size: var(--font-size-15-20);
  text-decoration: underline;
}

.grid-container {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}

.box-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: stretch;
}

.box-container.promo {
  grid-template-columns: 1fr 300px;
}

.box-content {
  position: relative;
}

.banner-content,
.project-content {
  margin: 50px auto;
}

.hero-slider-image {
  width: 100%;
  object-fit: cover;
}

.promo-panel {
  height: 250px;
  margin-bottom: 100px;
}

.promo-panel img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

.promo-panel-right {
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  background: #fff;
  z-index: 1;
}

/* Рубрики */

.category-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 90px;
}



.category-filter input[type="checkbox"] {
  z-index: 10;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  appearance: none !important;
  cursor: pointer;
}

.category-filter label {
  color: #000;
  border: 1px solid #000000;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
  font-family: var(--second-font-family);
  font-size: var(--font-size-13-15);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

/* Стили для hover на label */
.category-filter-item:hover label {
  opacity: 0.6;
}

.category-filter-item:hover input[type="checkbox"]:checked + label {
  opacity: 1;
}

/* Стили для выбранных чекбоксов */
.category-filter input[type="checkbox"]:checked + label {
  background-color: #000;  
  color: #fff;
}

.category-filter-item {
  position: relative;
  height: 40px;
}

.category-block {
  display: none;
  margin-top: 30px;
  padding: 20px;
  background-color: #f4f4f4;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.category-block--active {
  display: block;
}

.category-results .flex-wrapper {
  padding-bottom: 0;
}

.category-results .posts-row {
  margin-bottom: 0;
  padding: 0;
}

.category-more-wrap {
  padding: 25px 0 50px 0;
}

.page-template-category-filter .category-blocks .category-block {
  box-shadow: inherit;
  border-radius: 0;
  background-color: transparent;
  padding: 0;
  margin-top: 0;
  display: none;
}

.page-template-category-filter .category-blocks .category-block--active {
  display: block;
}

.not-home .header-logo {
  max-width: 900px;
  padding: 0;
  margin: 50px auto;
}

.medium-vertical-padding {
  padding: 50px 0;
}

.page-template-category-filter .promo-panel {
  margin-bottom: 50px;
}

.title-wrapper .title {
  position: relative;
  z-index: 1;
  margin: 0;
  line-height: 1;
}

.not-home .title-wrapper .title {
  font-size: var(--font-size-18-35);
  padding: 10px 20px;
}

.title-wrapper .title.white-bg {
  background: #fff;
}

.full-width-line-wrapper {
  position: relative;
  padding: 0;
}

.full-width-line-wrapper.bottom .line {
  top: 0;
}

.title-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 70px 0;
}

.line {
  width: 100vw;
  height: 1px;
  background-color: #1E1E1E;
  position: absolute;
  left: 50%;
  margin-left: -50vw;
  top: 30px;
  pointer-events: none;
}

.post-categories {
  margin: 20px 0;
}

.post-categories.integrative-health a {
  background-color: var(--category-integrative-health);
}

.post-categories.nutrition a {
  background-color: var(--category-nutrition);
}

.post-categories.lifestyle a {
  background-color: var(--category-lifestyle);
}

.post-categories a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  font-family: var(--second-font-family);
  font-size: 10px;
  text-transform: uppercase;
  border-radius: 20px;
  text-decoration: none !important;
}

.post-categories.beauty a {
  border: 1px solid #ebebeb;
}

.post-categories.health a {
  background: var(--category-integrative-health);
  color: #1E1E1E;
}

.post-categories.ow-rekomenduet a {
  background: var(--category-projects);
}

.post-categories.krasota a {
  border: 1px solid #1E1E1E;
}

.post-categories.lifestyle a {
  background: var(--category-lifestyle);
}

.read-also {
  padding: 0 0 100px 0;
}


.filter-items {
  display: flex;
      gap: 20px;
}

.filter-toggle button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  background-color: var(--main-color);
  border: 1px solid var(--main-color);
  height: 50px;
  cursor: pointer;
  width: 100%;
  color: #fff;
  text-align: left;
  font-family: var(--font-size-15-18);
  font-size: var(--second-font-family);
}

.filter-toggle {
  display: none;
}

.sm-padding {
  padding: 25px 0;
}

.sm-padding .promo-panel {
  margin-bottom: 0;
}

.post__date {
  display: flex;
  justify-content: center;
  color: var(--main-color);
  font-size: var(--font-size-15-20);
  font-family: var(--second-font-family);
  text-transform: uppercase;
  margin-bottom: 40px;
}

.post__title {
  display: flex;
  justify-content: center;
  color: var(--main-color);
  font-size: var(--font-size-35-70);
  text-align: center;
  letter-spacing: -3.2px;
  text-transform: uppercase;
  margin-bottom: 50px;
  margin: 0 auto;
}

.post__categories {
  display: flex;
  justify-content: center;
}

.post__categories-list {
  display: flex;
  gap: 20px;
  flex-direction: row;
  flex-wrap: wrap;
  list-style-type: none;
  color: var(--main-color);
  font-size: var(--font-size-15-20);
  text-transform: uppercase;
}

.post__category-item {
  border-radius: 20px;
  pointer-events: none;
  border: 1px solid #ececec;
  background: #fff;
}

.post__category-item a {
  display: flex;
  color: #1E1E1E;
  border: 1px solid transparent;
  overflow: hidden;
  padding:10px 30px;
  font-family: var(--second-font-family);
}

.post__category-item--krasota {
  border: 1px solid #1E1E1E;
}

.profiles {
  flex-direction: row;
  flex-wrap: nowrap;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  margin-bottom: 50px;
}

.profile {
  min-width: 200px;
  text-align: center;
  position: relative;
}

.profile__avatar {
  position: relative;
  width: 80px !important;
  height: 80px !important;
  border-radius: 50%;
  box-shadow: var(--box-shadow-primary);
  box-sizing: border-box;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 0 auto;
}

.profile__avatar img {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  background: #fff;
  box-sizing: border-box;
  object-fit: contain;
}

.profile__name {
  text-transform: uppercase;
  font-size: var(--font-size-15-30);
  text-align: center;
  color: var(--main-color);
  margin: 5px 0 15px 0;
}

.profile__badge {
  color: #fff;
  background: #A2845E;
  padding: 10px;
  border-radius: 20px;
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translate(-50%, 0);
}

.profile__avatar-wrapper {
  position: relative;
  padding-bottom: 50px;
}

.profile__info {
  position: absolute;
  opacity: 0;
  visibility: hidden;
  top: calc(100% + 20px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  z-index: 10;
  padding: 20px;
  white-space: normal;
  max-width: 470px;
  width: 100%;
  box-shadow: var(--box-shadow-primary);
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.profile__info-toggle:hover ~ .profile__info {
  opacity: 1;
  visibility: visible;
}


.profile__info-toggle {
  background: transparent;
}


.profile__info-toggle img {
  width: 20px;
  height: 20px;
}

.page-content p {
  font-family: var(--second-font-family);
  font-size: var(--font-size-14-18);
}

.post-carousel {
  margin: 50px 0;
}


.post-carousel__image {
    object-fit: cover;
    width: 100%;
}

.post-carousel__caption {
  display: flex;
  justify-content: center;
  font-family: var(--second-font-family);
  font-size: var(--font-size-13-15);
  color: var(--main-color);
  margin: 20px 0;
}

.post-carousel__controls {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.post-carousel__controls button {
  padding: 10px;
  border-radius: 50%;
  background: transparent;
  transition: all .3s ease;
}

.post-carousel__controls button:hover {
  background: var(--second-color);
}

.post-carousel__controls img {
  width: 30px;
  height: 30px;
}

.post-carousel-section {
  margin-bottom: 50px;
}

.content-header {
  margin-bottom : 50px;
}

.content-header .title-wrapper {
  margin: 0;
}

.content-header__toc-list {
  display: flex;
    justify-content: center;
    list-style-type: none;
    flex-direction: column;
    align-items: center;
    padding: 50px 0;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.content-header__toc-item {
  margin-bottom: 20px;
}

.content-header__toc-item a {
  font-family: var(--second-font-family);
  color: var(--main-color);
  font-size: var(--font-size-15-20);
  transition: color 0.3s ease, font-weight 0.3s ease;
  text-decoration: underline;
  text-transform: uppercase;
}

.content-header__toc-item--active a {
  color: #4CAF50;
  font-weight: 600;
}

.content-header__toc-item a:hover {
  color: #4CAF50;
}

.post-content {
  font-family: var(--montserrat-font);
  font-size: var(--font-size-15-20);
  line-height: 1.4;
  margin-bottom: 50px;
}

.post-content strong {
  font-family: var(--montserrat-font);
  font-size: var(--font-size-15-20);
  line-height: 1.4;
}

.post-content a {
  text-decoration: underline;
}

.post-content h1 {
  font-family: var(--main-font-family);
  font-size: var(--font-size-25-35);
  color: var(--main-color);
  margin: 20px 0;
}

.post-content h2,
.post-content h2 strong {
  font-size: var(--font-size-25-35);
}

.post-content h3,
.post-content h3 strong {
  font-size: var(--font-size-22-30);
}

.post-content h4,
.post-content h4 strong {
  font-size: var(--font-size-17-25);
}

.post-content h5,
.post-content h5 strong {
  font-size: var(--font-size-15-22);
}

.post-content h6,
.post-content h6 strong {
  font-size: var(--font-size-13-20);
}


.share {
  position: relative;
  display: inline-block;
  font-family: sans-serif;
}

/* Стилизация кнопки-тоггл */
.share__toggle {
  color: var(--main-color);
  padding: 10px 15px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  font-size: var(--font-size-15-20);
  text-transform: uppercase;
  gap: 10px;
}

.share__toggle-icon {
  margin-right: 8px;
}

/* Выпадающее меню, скрытое по умолчанию */
.share__dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  list-style: none;
  padding: 5px 0;
  margin: 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 100;
}

.share__dropdown .share__item a img {
  width: 30px;
  height: 30px;
}

/* Отображение меню при отмеченном чекбоксе */
.share__checkbox:checked + .share__toggle + .share__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.share__item {
  margin: 0;
}

.share__dropdown .share__item a:hover img {
  clip-path: inherit;
}

/* Стилизация ссылок в меню */
.share__link {
  display: flex;
  align-items: center;
  padding: 8px 15px;
  color: #333;
  text-decoration: none;
  transition: background-color 0.3s;
  height: 50px;
}

.share__button {
  background: none;
  border: none;
  cursor: pointer;
  width: 100%;
  text-align: left;
}

.share__link:hover,
.share__button:hover {
  background-color: #f5f5f5;
}

.share__icon {
  margin-right: 8px;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.share__label {
  font-size: var(--font-size-13-15);
  font-family: var(--second-font-family);
  color: var(--main-color);
}

.share-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.posts-section {
  padding: 30px 0;
}

.experts__list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin: 50px 0;
}

.experts__item {
  font-family: var(--second-font-family);
  font-size: var(--font-size-13-15);
  color: var(--main-color);
  margin-bottom: 20px;
}

.pv-20 {
  padding: 20px 0;
}

.border-bottom {
  border-bottom: 1px solid var(--main-color);
}

.experts-section .title-wrapper,
.sources .title-wrapper {
  margin: 0;
}

.sources__content {
  font-family: var(--second-font-family);
}

.sources__block {
  position: relative;
  margin: 15px 0;
  padding-bottom: 10px;
}

.sources__block::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  margin-left: -50vw;
  width: 100vw; 
  height: 1px;
  background-color: var(--main-color);
}

.sources__toggle {
  cursor: pointer;
  font-size: var(--font-size-15-20);
  display: block;
  padding: 5px 0;
}

.sources__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: none;
}

.sources__block[open] .sources__list {
  display: block;
}

.sources__item {
  margin: 10px 0;
}

.sources__link {
  text-decoration: underline;
  /* color: var(--second-color); */
}

.sources__link:hover {
  text-decoration: underline;
  color: var(--second-color);
}

.recipe__ingredients-instructions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  font-size: var(--font-size-15-20);
  font-family: var(--second-font-family);
  grid-gap: 40px;
}

.recipe__instructions-content li {
  margin-bottom: 25px;
}

.recipe__instructions-content li::marker,
.recipe__ingredients-list li::marker,
.post-content li::marker {
  color: var(--second-color);
}

.recipe__ingredients-list li {
  margin-bottom: 15px;
}

.recipe .recipe__title {
  font-family: var(--second-font-family);
  font-size: var(--font-size-20-40);
  line-height: 1.4;
  font-weight: bold;
  margin: 50px 0;
  display: none;
}

.recipe__instructions-content ol {
  padding-inline-start: 0 !important;
}

.recipe__instructions-title,
.recipe__ingredients-title {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  font-weight: bold;
  font-size: var(--font-size-18-26);
  color: var(--second-color);
}

.post-content ul {
  padding-left: 40px;
}

.post-content img {
  margin: 0 auto;
  text-align: center;
}

.qa__intro {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qa__intro img {
  width: 300px;
  max-width: 100%;
}

.post-content__text a {
  color: var(--second-color);
}

.post-content__text img {
  text-align: center;
}

.current-menu-item a {
  color: var(--second-color)
}

.recipe__info {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  margin-bottom: 30px;
}

.recipe__info-item--cooking-time {
  position: relative;
}

.recipe__info-item--cooking-time:before {
  content: '';
  position: absolute;
  top: 50%;
  left: -10px;
  transform: translate(-50%, -50%);
  width: 3px;
  height: 3px;
  background: var(--main-color);
  border-radius: 50%;
  overflow: hidden;
}

.recipe__info-item--cooking-time:after {
  content: '';
  position: absolute;
  top: 50%;
  right: -15px;
  transform: translate(-50%, -50%);
  width: 3px;
  height: 3px;
  background: var(--main-color);
  border-radius: 50%;
  overflow: hidden;
}

.recipe__instructions-content > div {
  width: 100% !important;
}

.recipe__signature {
  margin: 20px 0;
}

.additional-materials .additional__title {
  font-family: var(--second-font-family);
  font-size: var(--font-size-15-20);
  line-height: 1.4;
  font-weight: bold;
}

.recipes-content .recipe {
  margin-bottom: 50px;
  padding-bottom: 50px;
}

.recipes-content img {
  display: flex;
  align-items: center;
}

.gallery-columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery dl, .gallery dt, .gallery .gallery-item { margin: 0; }

.gallery .gallery-icon a { display: block; }
.gallery .gallery-icon img {
  display: block;
  width: 100%;
  height: auto;
  border: 2px solid transparent !important;
}

.page-template .read-more-wrap {
  display: none;
}

.post > a {
  display: block;
  position: relative;
  overflow: hidden;
}

.corner {
  position: absolute;
  bottom:0;
  right: 0;
  width: 40px;
  height: 40px;
  overflow: hidden;
}

.corner-transparent {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-right: 0px solid transparent;
  border-top: 0px solid black;
  transition: border-width 0.5s ease-in-out;
  z-index: 1;
}

.qa__item {
  display: grid;
  grid-template-columns: 370px minmax(0, 1fr);
  grid-gap: 50px;
  margin-bottom: 40px;
  margin: 60px 0;
}

.qa__question {
  font-size: var(--font-size-15-20) !important;
  font-weight: bold;
  color: var(--second-color);
  margin: 0;
}

.post a:hover .corner-transparent {
  border-right: 40px solid transparent;
  border-top: 40px solid black;
}

.post a img {
  transition: clip-path 0.5s ease-in-out;
}

.post a img {
  width: 100%;
  height: 180px;
  display: block;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 100% 100%, 0 100%); /* 5 точек */
  transition: clip-path 0.5s ease-in-out;
}

.posts-section__container .post-content img {
    display: flex;
    height: inherit;
    max-width: 850px;
    object-fit: contain;
    box-sizing: border-box;
}

.posts-section__container .post-content img.alignleft {
    float: left;
    margin-right: 20px;
    margin-bottom: 20px;
    margin-top: 40px;
}

@media (max-width: 560px) {
    .posts-section__container .post-content img.alignleft {
          max-height: 200px;
    }
}

.post-content ul,
.post-content ol {
  padding-left: 0px;
  gap: 20px;
  padding-inline-start: 0;
}

.posts-section__container .post-content p {
  margin-bottom: 20px;
}

.posts-section__container .post-content b {
  display: inline;
}

.post a:hover img {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), calc(100% - 40px) 100%, 0 100%);
}

/* Menu */

.header-nav {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: space-between;
  gap: 5rem;
}

.main-menu {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  width: 100%;
}

.tabs-sections {
  position: relative;
  z-index: 100;
}

.tabs-section {
  display: none;
  position: absolute;
  top: 100%;
  background-color: #fff;
  box-shadow: 0 0 6px 0 rgba(0, 0, 0, .15);
  padding: 15px;
  min-width: 200px;
}

.tabs-section--active {
  display: block;
}

.tabs-section__content {
  width: 100%;
}

.main-menu__item {
  display: flex;
  gap: 8px;
  align-items: center;
}

.main-menu__item,
.tabs-section__tab {
  padding: 15px;
  cursor: pointer;
  transition: background 0.2s;
}

.subcategory-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.subcategory-list__item {
  margin-bottom: 5px;
}

.subcategory-list__item a {
  display: block;
  padding: 8px 10px;
  cursor: pointer;
  font-family: var(--second-font-family);
  transition: background 0.2s;
  white-space: nowrap;
}

.tabs-section__tab {
  font-family: var(--second-font-family);
  font-size: var(--font-size-13-15);
}

.main-menu__item--active,
.subcategory-list__item a:hover,
.main-menu__item:hover {
  color: #8fb368;
}

.tabs-section__tab--active,
.tabs-section__tab.tabs-section__tab--active:hover {
  background: var(--main-color);
  color: #fff;
}

.tabs-section__tab:hover {
  background: #efefef;
}

.subcategory-list--nested {
  padding: 5px 0 0 15px;
}

.subcategory-list__item .subcategory-list--nested .subcategory-list__item a {
  padding: 5px 10px;
}

.main-menu__arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.sticky-sidebar {
  display: none;
}

.footer__contacts {
    margin: 40px auto;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    max-width: 750px;
}

.footer__contacts-item {
    flex: 1;
}

.footer__contacts-text {
    color: #fff;
    font-size: var(--font-size-13-15);
    font-family: var(--second-font-family);
    line-height: 1.4;
    margin-bottom: 10px;
}

.footer__contacts-link {
    color: #fff;
    font-size: var(--font-size-13-15);
    font-family: var(--second-font-family);
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer__contacts-link:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .footer__contacts {
        flex-direction: column;
        gap: 20px;
    }
}

.footer__contacts-mail {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer__contacts-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.pagination-box .wp-pagenavi .pages,
.pagination-box .wp-pagenavi .last,
.pagination-box .wp-pagenavi .first {
    white-space: nowrap;
}

.tabs-section__tab:hover {
	background-color: #f5f5f5;
}

.header-search {
	position: relative;
}

.header-search__toggle {
	background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15.5 14H14.71L14.43 13.73C15.41 12.59 16 11.11 16 9.5C16 5.91 13.09 3 9.5 3C5.91 3 3 5.91 3 9.5C3 13.09 5.91 16 9.5 16C11.11 16 12.59 15.41 13.73 14.43L14 14.71V15.5L19 20.49L20.49 19L15.5 14ZM9.5 14C7.01 14 5 11.99 5 9.5C5 7.01 7.01 5 9.5 5C11.99 5 14 7.01 14 9.5C14 11.99 11.99 14 9.5 14Z' fill='%231E1E1E'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-color: transparent;
	border: none;
	width: 40px;
	height: 40px;
	cursor: pointer;
}

.header-search .search {
	display: none;
	position: absolute;
	top: 100%;
	right: 0;
	z-index: 10;
	background-color: #fff;
	padding: 10px;
	border: 1px solid #ccc;
	border-radius: 5px;
}

.header-search .search.active {
	display: flex;
}

.header-search .search #s {
	border: 1px solid #ccc;
	padding: 5px;
}

.header-search .search #searchsubmit {
	background-color: #00b34f;
	color: #fff;
	padding: 5px 10px;
	margin-left: 5px;
}

.subcategory-list {
  list-style: none;
}

.slider-container {
    position: relative;
    padding-bottom: 60px; /* Space for the navigation */
}

.members-slider .owl-nav {
    position: relative;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(50%);
    display: flex;
    gap: 15px;
}

.members-slider .owl-nav button.owl-prev,
.members-slider .owl-nav button.owl-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f5f5f5;
    color: #1E1E1E;
    transition: background-color 0.3s, color 0.3s;
}

.members-slider .owl-nav svg {
    width: 24px;
    height: 24px;
    stroke-width: 1.5;
}

.members-slider .owl-stage-outer {
    overflow: hidden;
}

.about-text-slide, .member-slide-item {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-text-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 20px;
}

.about-text {
    flex: 1;
}

.about-slider {
    flex: 1;
    max-width: 50%; /* Or adjust as needed */
    position: relative;
    padding-bottom: 60px; /* Space for nav */
}

.about-slider .owl-nav {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
}

.about-slider .owl-nav button.owl-prev,
.about-slider .owl-nav button.owl-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f5f5f5;
    color: #1E1E1E;
    transition: background-color 0.3s, color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    line-height: 1;
}

.about-slider .owl-nav button.owl-prev:hover,
.about-slider .owl-nav button.owl-next:hover {
    background-color: var(--second-color);
    color: #fff;
}

.about-slider .owl-nav svg {
    width: 24px;
    height: 24px;
    stroke-width: 1.5;
}

footer .contacts-list{
    padding: 0;
}

.about-slider-wrapper {
    position: relative;
    padding-bottom: 60px; /* Space for nav */
}

.member-slide-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.slide-text {
    flex-basis: 55%;
}

.slide-author {
    flex-basis: 45%;
    text-align: center;
}

.slide-author .image-box {
    max-width: 300px;
    margin: 0 auto 20px;
}

.slide-author .info-box .name {
    font-size: 24px;
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.slide-author .info-box .descr {
    font-size: 16px;
    color: #666;
}

.members-slider .owl-nav button.owl-prev,
.members-slider .owl-nav button.owl-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f5f5f5;
    color: #1E1E1E;
    transition: background-color 0.3s, color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.members-slider .owl-nav svg {
    width: 24px;
    height: 24px;
    stroke-width: 1.5;
}

footer .contacts-list{
    padding: 0;
}

.project-box img,
.box-content img {
  max-height: 570px;
  object-fit: cover;
}

/* Цвета для категорий на single-постах */
/* body.category-integrative-health,
body.category-integrative-health .section-with-border {
  background: var(--category-integrative-health);
}
body.category-nutrition,
body.category-otnosheniya,
body.category-nutrition .section-with-border,
body.category-otnosheniya .section-with-border {
  background: var(--category-nutrition);
}

body.category-lifestyle,
body.category-receipts,
body.category-lifestyle .section-with-border,
body.category-receipts .section-with-border {
  background: var(--category-lifestyle);
} */

.tabs-sections {
  background: #fff;
}

.editor-post {
  background: #fff;
  padding: 15px;
}

/* Красивый поиск в .search-box */
.search-box {
  position: relative;
  max-width: 400px;
  margin: 30px auto 40px auto;
}
.search-box input[type="search"] {
  width: 100%;
  padding: 12px 44px 12px 44px;
  border: 1px solid #d1d1d1;
  border-radius: 8px;
  font-size: 18px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: border 0.2s, box-shadow 0.2s;
  outline: none;
  color: #222;
}
.search-box input[type="search"]:focus {
  border: 1.5px solid #7fc17e;
  box-shadow: 0 4px 16px rgba(127,193,126,0.08);
}
.search-box input[type="submit"] {
  display: none;
}
.search-box .search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  pointer-events: none;
  opacity: 0.6;
}
.search-box .clear-search {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 20px;
  color: #bbb;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  opacity: 0.7;
  transition: color 0.2s;
}
.search-box .clear-search:hover {
  color: #7fc17e;
  opacity: 1;
}

.text-box p {
  margin-bottom: 25px;
}

/* team — стили для страницы "Команда" */
.team {
  padding: 60px 0 80px 0;
}

.team__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.team__logo {
  margin-bottom: 10px;
}
.team__nav {
  display: flex;
  gap: 20px;
}
.team__nav-link {
  font-family: 'Onest', Arial, sans-serif;
  font-size: var(--font-size-15-20);
  color: var(--main-color);
  text-decoration: none;
  padding: 6px 18px;
  border: none;
  background: none;
  transition: color .2s;
  border: 1px solid var(--main-color);
  min-width: 180px;
  text-align: center;
}
.team__nav-link--active {
  background: var(--main-color);
  color: #fff;
}
.team__title {
  font-family: var(--main-font);
  font-size: var(--font-size-30-90);
  text-align: center;
  margin-top: 0;
  margin-bottom: 30px;
  text-transform: uppercase;
}
.team__main-authors {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  margin-bottom: 80px;
}
.team__author {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all .2s;
}

.team__author:hover {
  color: var(--second-color);
}

.team__author--main {
  max-width: 264px;
}
.team__author-photo--main {
  width: 264px;
  height: 264px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 18px;
}
.team__author-name--main {
  font-family: var(--main-font);
  font-size: var(--font-size-20-40);
  text-align: center;
  margin-bottom: 20px;
}
.team__author-role--main {
  font-family: 'Onest', Arial, sans-serif;
  font-size: var(--font-size-13-15);
  text-align: center;
  margin-bottom: 4px;
}
.team__author-desc--main {
  font-family: 'Onest', Arial, sans-serif;
  font-size: var(--font-size-13-15);
  text-align: center;
  color: #888;
}
.team__other-authors {
  display: flex;
  flex-wrap: wrap;
  gap: 80px;
  justify-content: center;
  margin: 80px 0 ;
}
.team__author--other {
  width: 218px;
  max-width: 100%;
}
.team__author-photo--other {
  width: 218px;
  height: 218px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 18px;
}
.team__author-name--other {
  font-family: var(--main-font);
  font-size: var(--font-size-15-30);
  text-align: center;
  margin-bottom: 20px;
}
.team__author-role--other,
.team__author-desc--other {
  font-family: 'Onest', Arial, sans-serif;
  font-size: var(--font-size-13-15);
  text-align: center;
  color: #888;
}
.team__more {
  display: block !important;
  padding: 8px 32px;
  font-family: 'Onest', Arial, sans-serif;
  font-size: var(--font-size-15-20);
  background: none;
  border: 1px solid var(--main-color);
  border-radius: 4px;
  color: var(--main-color);
  cursor: pointer;
  transition: background .2s, color .2s;
}

.category__hide {
  display: block;
  border: 2px solid var(--second-color);
  color: var(--second-color);
  background: transparent;
  padding: 10px 20px;
  border-radius: 4px;
  font-family: var(--second-font-family);
  font-weight: 500;
  width: 120px;
}

.category__hide span {
  font-size: var(--font-size-15-20);
  font-family: 'Onest', Arial, sans-serif;
  border-radius: 4px;
}

.category__more span {
  font-size: var(--font-size-15-20);
  font-family: 'Onest', Arial, sans-serif;
  border-radius: 4px;
}

.team__more:hover,
.category__more:hover {
  background: #222;
  color: #fff;
}

.team__author--hidden {
  display: none;
}

.team__nav-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 50px;
}
.team__nav-row {
  display: flex;
  gap: 20px;
}

/* team-member — индивидуальная страница участника */
.team-member {
  padding: 60px 0 100px 0;
}

.team-member .team__logo {
  display: flex;
  justify-content: center;
  margin-top: 0;
  margin-bottom: 0;
}
.team-member__name {
  font-family: var(--main-font);
  font-size: var(--font-size-35-70);
  text-align: center;
  margin: 100px 0;
  line-height: 1.1;
  word-break: break-word;
}
.team-member__main {
  display: flex;
  align-items: flex-start;
  gap: 70px;
  justify-content: center;
}
.team-member__photo {
  flex: 0 0 438px;
  width: 438px;
  height: 438px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-member__photo-img {
  width: 438px;
  height: 438px;
  object-fit: cover;
  border-radius: 50%;
  background: #f3f3f3;
  display: block;
}
.team-member__photo-img.no-image {
  background: #eaeaea;
}
.team-member__info {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  min-width: 0;
}
.team-member__position {
  font-family: var(--second-font-family);
  font-size: var(--font-size-18-35);
  color: var(--main-color);
  margin-bottom: 24px;
  font-weight: bold;
}
.team-member__desc {
  font-family: var(--second-font-family);
  font-size: var(--font-size-15-20);
  color: #888;
  margin-bottom: 32px;
}
.team-member__content {
  font-family: var(--main-font);
  font-size: var(--font-size-15-20);
  color: var(--main-color);
  margin-bottom: 40px;
}
.team-member__back {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  font-family: var(--second-font-family);
  font-size: var(--font-size-15-20);
  color: var(--main-color);
  text-decoration: none;
  border: 1px solid var(--main-color);
  background: var(--main-color);
  color: #fff;
  transition: background .2s, color .2s;
  width: 260px;
  text-align: center;
  height: 70px;
}
.team-member__back:hover {
  background: var(--main-color);
  color: #fff;
}

.team-member__back-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-project__desc {
  font-size: var(--font-size-15-20);
  font-family: var(--second-font-family);
  margin: 100px 0;
}

.about-project__desc p {
  display: block;
  margin-bottom: 22px;
}

.authors-full-list.team__authors-list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px 80px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
}
.letter-item {
    display: block;
    width: 100%;
    margin-bottom: 96px;
    padding: 0;
}
.letter-box {
    font-family: var(--main-font);
    font-size: var(--fz-letter);
    color: var(--main-color);
    user-select: none;
    margin-bottom: 1.5rem;
    font-weight: normal;
    display: inline-block;
    margin-left: 0;
}
.letter-item .list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 0;
    padding: 0;
}
.author-item {
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
}
.author-item__avatar {
    display: block;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 24px;
    flex-shrink: 0;
}
.author-item__name {
    font-size: var(--font-size-14-18);
    font-family: var(--main-font);
    color: var(--main-color);
    text-decoration: none;
    margin: 0;
    padding: 0;
}
.letter-more {
    display: block;
    margin: 40px 0 0 0;
    padding: 12px 40px;
    font-size: 20px;
    font-weight: 600;
    border: none;
    border-radius: 24px;
    background: #222;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s;
    text-align: center;
}
.letter-more:hover {
    background: #444;
}

.no-authors {
    color: #b0b0b0;
    font-size: var(--font-size-14-18);
    font-style: italic;
    margin-top: 24px;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}

.team__search-box {
    display: flex;
    justify-content: center;
    margin: 40px 0 56px 0;
}
#author-search-form {
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
    position: relative;
}
#author-search-input {
    width: 100%;
    height: 80px;
    border-radius: 999px;
    border: 2px solid var(--main-color);
    font-size: var(--font-size-15-30);
    font-family: var(--second-font-family);
    color: var(--main-color);
    padding-left: 80px;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

#author-search-input::placeholder {
    color: var(--main-color);
    opacity: 1;
    font-size: var(--font-size-15-30);
    font-family: var(--second-font-family);
    padding-left: 0px;
}

.team__search-submit {
  width: 40px;
  height: 40px;
  background: url(../img/search-ico.svg) center center no-repeat;
  background-size: 24px 24px;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  margin-left: 8px;
  transition: background-color 0.2s;
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translate(0%, -50%);
}

.team__search-submit:hover,
.team__search-submit:focus {
    border-color: var(--second-color);
}

.letter-toggle.js-letter-toggle {
  margin-top: 50px;
  font-family: var(--second-font-family);
  font-size: var(--font-size-15-20);
  color: #fff;
  padding: 10px 20px;
  background-color: var(--main-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  width: 100px;
}

.authors-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.letter-item.is-hidden {
  display: none;
}

/* Стили для страницы-заглушки */
.placeholder-page {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  min-height: 60vh;
}

.placeholder-page__container {
  max-width: 600px;
  text-align: center;
}

.placeholder-page__subtitle {
  font-family: var(--second-font-family);
  font-size: var(--font-size-18-35);
  color: var(--main-color);
  margin-bottom: 40px;
}

.placeholder-page__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.placeholder-page__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-family: var(--second-font-family);
  font-size: var(--font-size-16-20);
  text-decoration: none;
  transition: all 0.2s ease;
}

.placeholder-page__button--primary {
  background-color: var(--main-color);
  color: #fff;
}

.placeholder-page__button--secondary {
  border: 1px solid var(--second-color);
  color: var(--second-color);
  border-radius: 30px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.placeholder-page__button--secondary:hover {
  border: 1px solid #00813A;
  color: #00813A;
}

ul.sub-menu li {
    list-style-type: circle;
}

.placeholder-page__title {
  font-size: var(--font-size-18-35);
  margin-bottom: 50px;
}

.category-page__back-button {
  margin: 0 15px 30px;

}

.category-results {
  margin-bottom: 50px;
}

/* test */

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.gallery .gallery-item {
  flex: 0 1 calc((100% - 24px) / 3);
  max-width: calc((100% - 24px) / 3);
}

.gallery a:hover img {
  clip-path: none;
}

.author-item__avatar img {
    object-fit: scale-down;
    width: 100%;
    height: 100%;
}

/* Кнопка прокрутки наверх */
.scroll-to-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--second-color);
  color: #fff;
  border: none;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: var(--box-shadow-primary);
}

.scroll-to-top:hover {
  background-color: #7a9f5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.scroll-to-top svg {
  transition: transform 0.3s ease;
}

.scroll-to-top:hover svg {
  transform: translateY(-1px);
}

.scroll-to-top.show {
  display: flex;
}

@media (max-width: 768px) {
  .scroll-to-top {
    right: 20px;
    bottom: 20px;
    width: 45px;
    height: 45px;
  }
}

/* ===== Стили для кнопки "Еще" и контейнера ===== */

/* Скрываем пустой контейнер для дополнительных постов */
.js-extra-container .container:empty {
  display: none;
}

/* CSS классы для управления видимостью через JavaScript */
.posts-row.hidden {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

.page-content.hidden {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* Контейнер для кнопок */
.category-more-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

/* Общие стили для кнопок */
.category__more {
  padding: 10px 20px;
  border-radius: 4px;
  font-family: var(--second-font-family);
  border: 2px solid var(--second-color);
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  background-color: transparent;
  color: var(--second-color);
  width: 120px;
  /* Исправления для iOS */
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

/* Hover эффект для обеих кнопок */
.category__more:hover,
.category__more.touch-active{
  background-color: var(--second-color);
  border: 2px solid var(--second-color);
  color: #fff;
}

.category__hide {
  padding: 10px 20px;
  border-radius: 4px;
  font-family: var(--second-font-family);
  border: 2px solid var(--second-color);
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  background-color: transparent;
  color: var(--second-color);
  width: 120px;
  /* Исправления для iOS */
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.category__hide:hover,
.category__hide.touch-active {
  background-color: var(--second-color);
  color: #fff;
  border: 2px solid var(--second-color);
}

/* Состояние disabled для кнопки "Еще" */
.category__more:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.category__more.loading {
  background-color: var(--btn-loading-bg);
  color: var(--btn-loading-text);
  cursor: not-allowed;
  position: relative;
  border-color: var(--btn-loading-bg);
}

.category__more.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border: 2px solid transparent;
  border-top: 2px solid var(--btn-loading-text);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Скрываем текст кнопки при загрузке */
.category__more.loading .btn-text {
  opacity: 0;
}

/* Анимация для появления новых постов */
.js-extra-container .container .post {
  animation: fadeInUp 0.5s ease-out;
}

.category-section.category-integrative-health,
.category-section.category-integrative-health .title,
.category-section.category-integrative-health  ~ div ~ .category-more-wrap  {
  background-color: var(--category-integrative-health);
}

.category-section.category-nutrition,
.category-section.category-nutrition .title,
.category-section.category-nutrition  ~ div ~ .category-more-wrap  {
  background-color: var(--category-nutrition);
}

.category-section.category-lifestyle,
.category-section.category-lifestyle .title,
.category-section.category-lifestyle  ~ div ~ .category-more-wrap  {
  background-color: var(--category-lifestyle);
}

.category-section.category-beauty,
.category-section.category-beauty .title,
.category-section.category-beauty  ~ div ~ .category-more-wrap  {
  background-color: #fff;
}

/* Скрытие пустых секций */
.medium-vertical-padding:empty,
.medium-vertical-padding:has(.container:empty) {
  display: none;
}

/* Альтернативный способ скрытия пустых секций через JavaScript */
.medium-vertical-padding.hidden {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* Скрытие пустых posts-row */
.posts-row:has(.js-extra-container .container:empty) {
  display: none;
}

/* CSS класс для скрытия posts-row через JavaScript */
.posts-row.hidden {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* Индикатор загрузки */
#loading-indicator {
  padding: 30px 20px;
  text-align: center;
  background: rgba(143, 179, 104, 0.1);
  border-radius: 8px;
  margin: 20px 0;
}

#loading-indicator div {
  color: var(--second-color);
  font-size: 16px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

#loading-indicator div::before {
  content: '';
  width: 20px;
  height: 20px;
  border: 2px solid var(--second-color);
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.category-section.category-integrative-health ~ .page-content {
  background-color: var(--category-integrative-health);
}

.category-section.category-nutrition ~ .page-content {
  background-color: var(--category-nutrition);
}

.category-section.category-lifestyle ~ .page-content {
  background-color: var(--category-lifestyle);
}

.category-section.category-beauty ~ .page-content {
  background-color: #fff;
}

.wp-caption.aligncenter {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100% !important;
}