@font-face {
  font-family: Inter;
  src: url('assets/fonts/Inter/Inter-Regular.woff2') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url('assets/fonts/Inter/Inter-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url('assets/fonts/Inter/Inter-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url('assets/fonts/Inter/Inter-Medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Lora;
  src: url('assets/fonts/Lora/Lora-Regular.woff2') format('woff2');
  font-display: swap;
}

* {box-sizing: border-box;}
::placeholder { color: #ccc;opacity: 1;}
html {-webkit-tap-highlight-color: transparent;max-width: 100%;overflow-x: hidden;}
body {margin:0;padding:0;font-family: Inter, sans-serif;max-width: 100%;overflow-x: hidden;}
a {text-decoration:none;color:#000;}
a:hover {color:inherit;/*text-decoration: underline;*/}
a.post-title:hover{opacity: 0.6;}
.top-first-post a.top-title:hover{opacity: 1;color: #FCE045;}
ul, ol {list-style: none;padding:0;margin:0;}
table {border-collapse: collapse;border-spacing: 0;}
p{margin: 0; padding: 0;letter-spacing: -0.01em;}
img{max-width: 100%;}
h1{font-size: 36px;padding:0;margin: 0 0 40px;letter-spacing: -0.01em;}
h2,h3{font-size: 32px;margin: 0 0 30px;letter-spacing: -0.01em;line-height: 1.3;}
h3{font-size: 26px;}
.container{width: 100%;max-width: 1360px;margin: 0 auto;padding: 0 20px;}
body.wide .container.main{max-width: 880px;padding-top: 0;}
.header-wide {
	width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	height: 600px;
	margin-bottom: 40px;
	display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
	background-size: cover;
	background-position: center top;
}
body.wide article h1{
    margin-bottom: 80px;
    color: #fff;
    max-width: 840px;
    text-align: center;
	font-size: 48px;
    line-height: 1.2;
}
body.wide .post-meta-category{background: #FCE045;}
body.wide .post-meta-date{color: #fff;}
body.wide div.full-width, body.wide p.full-wide{
	width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	margin-bottom: 40px;
}
body.wide div.full-width img, body.wide p.full-wide img{
	width: 100%;
	height: auto;
	margin: 0;
}

header{
    position: fixed;
    z-index: 10;
    left: 0;
    top: 0;
    width: 100%;
    text-align: center;
	background: #fff;
	padding: 0 20px;
}
header .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1320px;
    margin: 0 auto;
    height: 80px;
	border-bottom: 1px solid #E3E3E3;
}
.header-right{display: flex;}
.header-search{
	margin-left: 20px;
}
.button-search{
	display: flex;
	justify-content: center;
    align-items: center;
	height: 38px;
	width: 38px;
	background: #FAF3D1;
	border-radius: 12px;
	transition: background-color 0.5s;	
	cursor: pointer;
}
.button-search:hover{
	background: #FCE045;
}
#black-search{
	background: #e3e3e3;
    margin: 0 -15px;
    padding: 40px 0;	
	font-size: 16px;
	display: block;
	transform: translateY(-30%);
	opacity: 0;
	transition: transform 0.3s ease, opacity 0.3s ease;
	width: 100%;
}
#black-search .container{display: flex;align-items: center;}
#black-search input{
	width: 100%;
	border: none;
	padding: 5px 10px;
	font-size: 16px;
}
#black-search .search-title{flex: 0 0 70px;text-align: left;}
#black-search button{
    border: none;
    height: 28px;
    width: 28px;
    background: #fce045;
	cursor: pointer;
}
.search-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  z-index: 1000;
  overflow-y: auto;
  margin-top: 80px;
  
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.search-overlay.open{
	opacity: 1;
	pointer-events: auto;
}
.search-overlay.open #black-search{
	transform: translateY(0);
	opacity: 1;
}

.mc-social{
    display: flex;
}
.mc-social a{
	display: flex;
	justify-content: center;
    align-items: center;
	height: 38px;
	width: 38px;
	background: #FCE045;
	border-radius: 12px;
	transition: background-color 0.5s;
	margin: 0 2px;
}
.mc-social a.social-google:hover{
	background: none;
	border: 1px solid #E3E3E3;
}
.mc-social a.social-facebook:hover{
	background: #1877F2;
}
.mc-social a.social-telegram:hover{
	background: #2AABEE;
}
.mc-social a.social-youtube:hover{
	background: #FF0000;
}
.mc-social img{
  filter: grayscale(100%) brightness(0); /* делаем черным */
  transition: filter 0.5s;
}
.mc-social a:hover img{
  filter: none; /* возвращаем оригинальные цвета */
}

.desktop-menu{
    display: flex;
    justify-content: center;
}
.desktop-menu .menu-item{
	display: inline-block;
	margin: 0 15px;
	position: relative;
}
.desktop-menu .menu-item a{
	font-size: 14px;
	font-weight: 500;
	letter-spacing: -0.14px;
}
.desktop-menu .menu-item a:hover{text-decoration: none;}
.desktop-menu .menu-item:hover a:after, .desktop-menu .menu-item.current-menu-item a:after{
	content: "";
	display: block;
	background: #FCE045;
	height: 3px;
	width: 100%;
	position: absolute;
	bottom: -30px;
}
.mobile-menu-toggle {
	display: none;
	background: none;
	border: none;
	font-size: 20px;
	cursor: pointer;
	z-index: 1002;
	width: 38px;
	height: 38px;
	background: #FCE045;
	border-radius: 12px;
	align-items: center;
	justify-content: center;
}
.mobile-menu{
	background: #fff;
	width: 100%;
    padding: 40px;
	transform: translateY(-30%);
	opacity: 0;
	transition: transform 0.3s ease, opacity 0.3s ease;
}
.mobile-menu a{font-size: 16px;font-weight: 500;}
.mobile-menu ul li:not(:last-child){margin-bottom: 40px;}
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: flex-start; /* теперь прижато к верху */
  z-index: 1000;
  overflow-y: auto;
  margin-top: 80px; /* отступ сверху */
  
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-menu-overlay.open {
	opacity: 1;
	pointer-events: auto;
}
.mobile-menu-overlay.open .mobile-menu {
  transform: translateY(0);
  opacity: 1;
}
body.menu-open {
	overflow: hidden;
}
.mobile-menu-toggle.open::before {
  content: "✖";
}
.mobile-menu-toggle::before {
  content: "☰";
}

.main{
	margin-top: 80px;
	padding-top: 30px;
	padding-bottom: 80px;
	display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}
.page-header{flex: 0 0 100%;}

.post-meta{margin-bottom: 10px;}
.post-meta-category{
	font-size: 12px;
	font-weight: 600;
	display: inline-block;
	background: #FAF3D1;
	padding: 4px 8px;
	border-radius: 6px;
	margin-right: 5px;
}
.post-meta-icon{
	font-size: 12px;
	font-weight: 600;
	display: inline-block;
	background: #000;
	color: #fff;
	padding: 4px 8px;
	border-radius: 6px;
	margin-right: 5px;
}
.post-meta-icon-fire:before{
	content: "";
	display: inline-block;
	width: 12px;
	height: 12px;
	background-image: url('images/fire.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
	margin-right: 3px;
}
.post-meta-date{
	font-size: 12px;
	font-weight: 500;
	color: #545454;/*#B4B4B4;*/
}

.top-posts{
	display: flex;
    justify-content: space-between;
	flex: 0 0 100%;
	margin-bottom: 40px;
	max-width: 100%;
}
.top-title{
	font-size: 18px;
	font-weight: 700;
	line-height: 1.4;
}
.top-first-post, .top-3-posts{
	width: calc(50% - 20px);
	max-width: 640px;
}
.top-first-post{
    position: relative;
	border-radius: 16px;
	overflow: hidden;
}
.top-first-post img{border-radius: 16px;height: 100%;width: auto;position: absolute;max-width: max-content;}
.image-back-dark{
    position: absolute;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 35.92%, #000 100%);
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    border-radius: 16px;
}
.top-first-post-info{
    position: absolute;
    bottom: 0;
    padding: 30px;
}
.top-first-post .top-title{
    color: #fff;
    font-weight: 700;
    font-size: 30px;
    line-height: 1.2;
}
.top-first-post .post-meta-category{
	background: #FCE045;
}
.top-first-post .post-meta-date{
	color: #fff;
}

.top-item{
    display: flex;
    justify-content: space-between;
}
.top-item img{
	flex: 0 0 200px;
    margin-left: 20px;
    border-radius: 12px;
}
.top-3-posts > .top-item:not(:last-child) {
    border-bottom: 1px solid #e3e3e3;
	margin-bottom: 15px;
	padding-bottom: 15px;
}

.left-col{
	width: calc(100% - 340px);
	max-width: 900px;
}
body.single .left-col{
	max-width: 840px;
}
.right-col{
	width: 100%;
	max-width: 300px;
}

.widget{
	width: 100%;
	margin-bottom: 40px;
}
.widget img{border-radius: 16px;}
.widget .widget-title{
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
	padding: 10px 12px;
	background: #FCE045;
	border-radius: 8px;
	margin-bottom: 20px;
}
.widget .widget-title.icon-fire:before{
	content: url('images/fire.png');
	display: inline-block;
	margin-right: 5px;
	position: relative;
    top: 2px;
}
.widget .widget-title.icon-rocket:before{
	content: url('images/rocket.png');
	display: inline-block;
	margin-right: 5px;
}
.widget-post-big img{margin-bottom: 10px;}
.widget-post-big .post-title{font-size: 18px;}
.widget-post-small{display: flex;justify-content: space-between;}
.widget-post-small img{margin-right: 10px;flex: 0 0 100px;border-radius: 6px;}
.widget-post-small .post-title{font-size: 14px;margin: 0;}
.widget > .widget-post-small:not(:last-child){
	border-bottom: 1px solid #e3e3e3;
	margin-bottom: 15px;
	padding-bottom: 15px;
}

.posts-item{
	display: flex;
    justify-content: space-between;
	position: relative;
}
.post-title{
	font-size: 26px;
	font-weight: 700;
	line-height: 1.3;
	display: inline-block;
	margin-bottom: 10px;
}
.post-excerpt{
	font-family: Lora, Georgia, serif;
	font-size: 18px;
	line-height: 1.5;
}
.posts-list > .posts-item:not(:last-child){
	border-bottom: 1px solid #e3e3e3;
	margin-bottom: 30px;
	padding-bottom: 30px;
}
.posts-item img{
	flex: 0 0 300px;
    margin-right: 30px;
    border-radius: 16px;
}

.posts-item.icon-fire:before{
	content: url(images/icon-fire24.png);
	position: absolute;
	top: 10px;
	left: 10px;
	display: flex;
	width: 48px;
	height: 48px;
	background: #fff;
	border-radius: 50%;
	align-items:center;
	justify-content:center;
}

.posts-item.posts-item-style2 img{margin: 0 0 0 30px;}
.posts-item.posts-item-style2 .post-title{font-family: Lora, Georgia, serif;font-weight: 500;font-size: 36px;margin:0;}

.posts-item.posts-item-style3 .post-title{font-weight: 500;font-size: 36px;margin:0;}
.posts-item.posts-item-style3 .post-info{padding: 30px;border-left: 4px solid #FCE045;}

.posts-item.posts-item-style4 .post-title{font-family: Lora, Georgia, serif;font-weight: 500;font-size: 36px;margin:0;}
.posts-item.posts-item-style4 .post-info{padding: 30px;border: 4px solid #FCE045;border-radius: 16px;}
.posts-item.posts-item-style4 .post-meta-category{background: #FCE045;}

.posts-item.posts-item-style4-img .post-title{font-family: Lora, Georgia, serif;font-weight: 500;font-size: 26px;margin:0;}
.posts-item.posts-item-style4-img .style4-img-inner{display: flex;justify-content: space-between;padding: 30px;border: 4px solid #FCE045;border-radius: 16px;align-items: center;}
.posts-item.posts-item-style4-img .post-meta-category{background: #FCE045;}
.posts-item.posts-item-style4-img img{margin: 0 0 0 30px;}

.posts-item.posts-item-style5 .post-title{font-family: Lora, Georgia, serif;font-weight: 500;font-size: 36px;margin:0;}
.posts-item.posts-item-style5 .post-info{padding: 60px;border: 4px solid #FAF3D1;border-radius: 16px;text-align: center;}

.posts-item-dark{position: relative;width: 100%;}
.posts-item-dark img{height: auto;}
.posts-item-dark .top-title{color: #fff;font-weight: 700;font-size: 30px;line-height: 1.2;max-width: 600px;display: inline-block;}
.posts-item-dark .post-meta-category{background: #FCE045;}
.posts-item-dark .post-meta-date{color: #fff;}

.posts-item-interview-inner{background: #FAF3D1;display: flex;justify-content: space-between;align-items: center;padding-right: 40px;border-radius: 16px;}
.posts-item-interview-inner .post-meta-category{background: #FCE045;}
.posts-item-interview-inner img{border-radius: 16px 0 0 16px;}

.mobile-show{display: none!important;}

article p{font-family: Lora, Georgia, serif;font-size: 20px;line-height: 1.5;margin-bottom: 30px;}
article .txt a{border-bottom: 2px solid #FCE045;}
article .txt a:hover{text-decoration: none;}
article h1{margin-bottom: 25px;}
article img{margin-bottom: 30px;height: auto;}
.post-after-title{margin-bottom: 25px;}
.author-block{display: flex;}
.author-left{flex: 0 0 50px;margin-right: 15px;}
.author-right{max-width: 185px;display: flex;flex-direction: column;}
.author-left img{width: 50px;height: 50px;border-radius: 50%;margin: 0;}
.author-right .author-name{font-size: 14px;font-weight: 700;line-height: 1.4; margin-bottom: 5px;}
.author-right .author-info{font-size: 12px;line-height: 1.3;}

.post-share{float: right;text-align: right;}
.post-share > div{font-size: 14px;margin-bottom: 5px;}
.post-share-buttons{display: flex;}
.share-button{display: flex;width: 38px;height: 38px;border-radius: 12px;border: 1px solid #e3e3e3;justify-content: center;align-items: center;margin-left: 5px;cursor:pointer;}
.share-button.share-facebook:before{content: url('images/share-facebook.png');}
.share-button.share-telegram:before{content: url('images/share-telegram.png');}
.share-button.share-pocket:before{content: url('images/share-pocket.png');position: relative;top: 1px;left: 1px;}
.share-button.share-x:before{content: url('images/share-x.png');}

#toc_container{width: 100%;padding: 20px 30px;border: 4px solid #FAF3D1;border-radius: 16px;margin-bottom: 30px;}
ul.toc_list{list-style: none;padding:0;margin:0;}
p.toc_title{font-family: 'Inter', serif;font-size: 18px;font-weight: 700;margin-bottom: 20px;}
p.toc_title .toc_toggle{font-weight: 400;font-size: 14px;}
.toc_list li:before{display: none;}
.toc_list li{font-size: 16px;line-height: 1.5;font-weight: 500;margin-left: 0;font-family: Inter, serif;padding-left: 0;margin-bottom: 0;}
.toc_list li:not(:last-child){padding-bottom: 10px;margin-bottom: 10px;border-bottom: 1px dashed #e3e3e3;}

@media (max-width: 1150px){
	.left-col{width: 100%;max-width: 100%;}
	.right-col{display: none;}
	.posts-item-dark img{width: 100%;}
}
@media (max-width: 768px) {
	.mobile-hide{display: none!important;}
	.mobile-show{display: initial!important;}
	h1{font-size: 26px;}
	article h1{font-size: 32px;}
	body.wide article h1{margin-bottom: 40px;font-size: 32px;}
	h2{font-size: 26px;}
	h3{font-size: 22px;}
	.header-wide{height: 460px;padding: 0 20px;}
	.desktop-menu,header .mc-social{display: none;}
	.mobile-menu-toggle{display: flex;}
	.top-posts{flex-direction: column;margin-bottom: 0px;}
	.top-first-post, .top-3-posts{width: 100%;max-width: 100%;margin-bottom: 20px;}
	.top-first-post .top-title {font-size: 24px;}
	.top-first-post img{position: relative;max-width: 100%;height: auto;width: 100%;}
	.top-title {font-size: 16px;}
	.top-item img{flex: 0 0 120px;margin-left: 15px;border-radius: 8px;width: 120px;height: 80px;}
	.posts-item {flex-direction: column;}
	.posts-item img{flex: auto;margin: 0 0 20px;border-radius: 16px;width: 100%;height: auto;}
	.post-title{font-size: 20px;}
	.post-excerpt{font-size: 16px;}
	.top-first-post-info{padding: 20px;}
	.top-3-posts > .top-item{border-bottom: 1px solid #e3e3e3;margin-bottom: 15px;padding-bottom: 15px;}
	.posts-item-dark .top-title{font-size: 24px;}
	.posts-item.posts-item-style2 .post-title, .posts-item.posts-item-style3 .post-title, .posts-item.posts-item-style4 .post-title, .posts-item.posts-item-style5 .post-title{font-size: 26px;}
	.posts-item.posts-item-style2 img{margin: 20px 0 0 0;}
	.posts-item-interview-inner{flex-direction: column;padding: 0;}
	.posts-item-interview-inner img{border-radius: 16px 16px 0 0;flex: auto;margin: 0;width: 100%;height: auto;}
	.posts-item-interview-inner .post-info{padding: 20px;}
	.posts-item.posts-item-style3 .post-info{padding: 15px 30px;}
	.posts-item.posts-item-style5 .post-info{padding: 30px 20px;}
	.posts-item.posts-item-style4-img .style4-img-inner{flex-direction: column;}
	.posts-item.posts-item-style4-img img{margin: 20px 0 0 0;}
	.posts-item.posts-item-style4-img .style4-img-inner{padding: 30px 20px;}
	
	.post-share{float: none;text-align: left;margin-top: 20px;}
	.header-search{margin-left: 0;margin-right: 10px;}
}