/*
Theme Name: Anymag
Theme URI: http://3styler.org/themes/anymag
Description: Magazine Style WordPress Blog (Premium Editorial - Coolbaba Edition)
Author: 3styler & You
Version: 5.0 (Glossy Master Polish)
*/

/* ==========================================================================
   [PART 1: ANYMAG THEME CORE]
   Оригинальные настройки сетки, отступов и плагинов (Безопасная зона)
   ========================================================================== */
html, body, div, ul, ol, li, h1, h2, h3, h4, h5, h6, p { margin: 0; padding: 0; border: 0; font-family: inherit; font-size: 100%; }
html { overflow-x: hidden; height: 100%; }
body { display: flex; flex-direction: column; min-height: 100%; font-family: 'Poppins', sans-serif; font-size: 15px; color: #787878; background: #ffffff; text-shadow: 1px 1px 1px rgba(0,0,0,.004); text-rendering: optimizeLegibility!important; -webkit-font-smoothing: antialiased!important; }
table { border-collapse: collapse; width: 100%; }
td, th { padding: 12px 15px 12px 0; border: 1px solid rgba(14,22,56,.1); border-top: none; border-right: none; border-left: none; text-align: left; }
ol, ul { margin-bottom: 30px; } ol, ul, li { list-style: circle outside; margin-left: 10px; } ol > li { list-style: decimal inside; }
ul li, ol li { margin-bottom: 15px; font-weight: 500; line-height: 24px; } ul li a, ol li a { font-weight: 500; }
ul ul, ul ol, ol ol, ol ul { margin: 10px 0 5px 30px; }
pre { overflow: auto; position: relative; left: 0; margin-bottom: 30px; padding: 2em; font-size: 13px; line-height: 2em; text-transform: none; background-color: transparent; border: 1px solid #eee; }
dl { margin-bottom: 25px; line-height: 1.8em; } dt { font-weight: 700; } dd { margin-bottom: 10px; margin-left: 0; }
img { height: auto; max-width: 100%; border: 0; vertical-align: middle; }
.container::after, #content::after { display: block; clear: both; content: ' '; }
button:focus { outline: 0; }
p { margin-bottom: 1.6em; line-height: 1.6em; }
a { font-weight: 400; text-decoration: none; color: #111111; outline: 0; transition: .20s ease-in-out; }
a:hover { color: #00656e; }
h1, h2, h3, h4, h5, h6 { margin-top: 30px; margin-bottom: 30px; font-family: 'Oswald', sans-serif; font-weight: 600; line-height: 1.3em; word-wrap: break-word; color: #111111; }
h1 { font-size: 37px; } h2 { font-size: 31px; } h3 { font-size: 26px; } h4 { font-size: 22px; } h5 { font-size: 18px; } h6 { font-size: 15px; }
blockquote { position: relative; margin: 1.6em 0; padding-left: 20px; border-left: 3px solid #00656e; font-weight: 500; font-style: italic; color: #000000; }
strong { font-weight: 700; }
label { display: inline-block; font-size: 13px; font-weight: 600; color: #111111; } label input { margin-right: 3px; }
input, select, textarea, input[type=text], input[type=button], input[type='submit'], input.button { -webkit-appearance: none; }
input, select, textarea { box-sizing: border-box; width: 100%; max-width: 100%; margin: 0; margin-bottom: 0; padding: 14px 18px; border: 1px #e8e8e8 solid; border-radius: 2px; font-family: 'Poppins', sans-serif; font-size: 14px; font-weight: 300; line-height: 1.5em; color: #444444; outline: none; background: transparent; }
select { display: inline-block; position: relative; padding: 0 15px; border: 1px solid; border-color: #e8e8e8; border-radius: 2px; font-family: inherit; font-size: 13px; line-height: 47px; color: #333333; outline: 0; background: transparent; background: url('data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\' fill=\'currentColor\' style=\'fill:rgb(182,196,210)\' width=\'100\' height=\'100\'><polygon points=\'0,0 100,0 50,50\'/></svg>') no-repeat; background-position: calc(100% - 12px) 56%; background-size: 8px; cursor: pointer; -moz-appearance: none; }
input[type='submit'], input.button { display: inline-block; width: auto; margin-top: 14px; padding: 12px 21px; border: none; font-family: 'Poppins', sans-serif; font-size: 11px; font-weight: 400; letter-spacing: 2px; text-transform: uppercase; color: #ffffff; background: #00656e; cursor: pointer; transition: .3s ease; }
input[type='submit']:hover { background: #111111!important; color: #ffffff; }
input[type="checkbox"] { -webkit-appearance: none; -moz-appearance: none; position: relative; display: inline-block; margin: 3px 5px 0 0; width: 10px; min-width: 10px; height: 10px; background: #fff; border-radius: 0; border-style: solid; border-width: 0.1rem; border-color: #dcd7ca; box-shadow: none; cursor: pointer; padding: 8px; }
input[type="checkbox"]:checked::before { content: url(data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%23000000%27%2F%3E%3C%2Fsvg%3E); position: absolute; display: inline-block; width: 15px; top: 0; left: 0; }
[type="radio"]:checked, [type="radio"]:not(:checked) { position: absolute; left: -9999px; }
[type='radio']:checked + label, [type='radio']:not(:checked) + label { display: inline-block; position: relative; padding-left: 28px; line-height: 20px; color: #666666; cursor: pointer; }
[type='radio']:checked + label:before, [type='radio']:not(:checked) + label:before { position: absolute; top: 0; left: 0; width: 16px; height: 16px; border: 1px solid #dddddd; border-radius: 100%; background: #ffffff; content: ''; }
[type='radio']:checked + label:after, [type='radio']:not(:checked) + label:after { position: absolute; top: 5px; left: 5px; width: 8px; height: 8px; border-radius: 100%; background: #00656e; content: ''; transition: all .1s ease; }
[type="radio"]:not(:checked) + label:after { opacity: 0; transform: scale(0); }
[type="radio"]:checked + label:after { opacity: 1; transform: scale(1); }
fieldset { margin: 20px 0; padding: 20px; border: 1px solid #e8e8e8; } figcaption { text-align: center; font-size: 13px; line-height: 1.6em; } address { margin-bottom: 1.6em; } b, strong { font-weight: 600; }
.row { margin-right: -15px; margin-left: -15px; overflow: hidden; }
.field-full, .field-half { float: left; padding-left: 15px; padding-right: 15px; box-sizing: border-box; }
.field-full { width: 100%; } .field-half { width: 50%; }
.field-full label, .field-half label { width: 100%; }
.site-wrapper { flex: 1; position: inherit; } .container { width: 100%; margin: 0 auto; } .content-wide { width: 90%; margin: 0 auto; }
.f-width { width: 100%!important; } .f-width.nav-open { overflow: hidden; }
#main-area { flex: 1; box-sizing: border-box; width: 90%; margin-bottom: 80px; padding: 90px 5% 0 5%; }
.f-width #main-area { width: 100%; padding: 90px 2.5% 0; }
.content-area.has-sidebar, .f-width .content-area.has-sidebar { display: flex; flex-wrap: wrap; } .hide { display: none; }

/* Header & Core Navigation */
.magheader { position: absolute; z-index: 5; right: 0; box-sizing: border-box; width: 50%; } .f-width .magheader { width: 100%; }
.f-width #site-header { float: left; left: 0; width: 50%; padding: 20px 2.5%; } .f-width.nav-open #site-header { position: fixed; left: 0; height: 100vh; }
.nav-open. #cover-header { position: fixed; } #site-header { position: absolute; box-sizing: border-box; width: 100%; height: 86px; padding: 20px 0; }
#cover-header { position: relative; z-index: 11; box-sizing: border-box; width: 100%; height: 86px; padding: 20px 5%; }
#content-header { display: flex; position: relative; z-index: 5; box-sizing: border-box; width: 100%; height: 80px; padding: 0 5%; opacity: 1; transition: all .3s linear; justify-content: flex-end; }
.f-width #content-header { width: 50%; float: right; padding: 0 2.5%; } #header { position: absolute; width: 100%; } #header:before, #header:after { display: table; clear: both; content: ''; }
#cover-header.nav-open { z-index: 3; } .cover-logo { position: relative; z-index: 3; box-sizing: border-box; width: 80%; margin: 0 auto; padding: 0 10px; text-align: center; }
.cover-logo.logo-left { margin-left: 55px; padding: 0; } .cover-logo.hide-logo { display: none; } .cover-logo a img { width: 100%; height: auto; }
.top-logo { position: absolute; z-index: 3; top: 0; height: 45px; margin: 20px 10px 20px 55px; text-align: center; } .top-logo a img { width: auto; height: 100%; }
#nav-wrapper { position: relative; width: 100%; width: 75%; height: 600px; margin: auto; padding-left: 30px; } .navbar-left, .navbar-right { position: relative; z-index: 100; width: 20%; }
.header-social-links { display: block; align-self: center; } .header-social-links a { margin: 0 10px; font-size: 16px; color: #111111; } .header-social-links a:hover { color: #999999; }
.nosearch { margin-right: 0!important; } .issuu { display: inline; } .issuu i { display: inline-block; width: 13px; height: 13px; background: url('assets/img/issuu.png'); background-size: cover; }
#top-nav { position: absolute; width: 100%; height: 100%; } .top-menu-button { position: relative; z-index: 6; width: 16px; height: 16px; padding: 15px; border-radius: 50%; background: #00656e; }
#cover-header .top-menu-button { position: absolute; } .top-menu-button a.open-hidden-menu { display: block; position: relative; width: 18px; height: 10px; margin-top: 2px; margin-left: -1px; padding-bottom: 3px; color: #ffffff; }
.top-menu-button a.open-hidden-menu span { display: block; position: absolute; left: 0; width: 100%; height: 0; margin-top: -1px; border-bottom: 2px solid; opacity: 1; transition: all .3s ease-out; }
a.open-hidden-menu span.bar-1 { top: 0px; } a.open-hidden-menu span.bar-2 { top: 6px; opacity: 1; } a.open-hidden-menu span.bar-3 { bottom: 0px; }
.nav-open a.open-hidden-menu span.bar-1 { top: 6px; transform: rotate(-45deg); } .nav-open a.open-hidden-menu span.bar-2 { opacity: 0; } .nav-open a.open-hidden-menu span.bar-3 { transform: rotate(45deg); top: 6px; }
.top-bar-left { position: absolute; padding: 20px 2.5%; } .nav-panel { display: flex; visibility: hidden; overflow: hidden; flex-direction: column; position: absolute; z-index: 3; top: 0; right: 0; box-sizing: border-box; width: 0; height: 100vh; background: #ffffff; opacity: 0; transition: all .3s linear; }
.f-width .nav-panel { transition-delay: 0s; } .f-width.nav-open .nav-panel { transition-delay: .3s!important; } .top-bar-left .nav-panel { position: fixed; } 
.nav-open #site-header .top-menu-button, .nav-open #cover-header .top-menu-button { position: fixed; } .nav-open .nav-panel { visibility: visible; right: 0; width: 100%; opacity: 1; transform: translateX(0); }
.nav-open #site-header .nav-panel { z-index: 5; right: 0; width: 100%; } .nav-panel .fold-shadow-left { opacity: 0; } .nav-header { position: relative; width: 100%; }
.menu-logo { position: absolute; width: auto; height: 35px; margin-top: 20px; margin-left: calc(5% + 55px); } .menu-logo img { height: 100%; width: auto; }
.menu-search { margin-top: 20px; } .menu-search i { margin-right: 10px; } .right-search { display: flex; align-items: center; margin: 0 10px; } #header .container { position: relative; }
#nav-wrapper ul.nav-menu { right: 38px; margin-left: 0; margin-bottom: 0; } #nav-wrapper .nav-menu ul { margin-left: 0; margin-bottom: 0; } #nav-wrapper .nav-menu li { position: relative; margin-left: 0; margin-bottom: 0; list-style: none; }
#nav-wrapper .nav-menu li:last-child { margin-right: 0; } #nav-wrapper .nav-menu li a { font-size: 33px; font-weight: 400; line-height: 1.6em; letter-spacing: 1px; color: #111111; background: linear-gradient(to bottom, transparent 62%, #fdc04e 0) left bottom/0 400% no-repeat; transition: background-size .6s ease; padding: 0 10px; }
#nav-wrapper .nav-menu li a:hover, #nav-wrapper .nav-menu li a:hover:after { color: #fff; background-size: 100% 400%; } .current-menu-item > a { color: #00656e; }
.sub-menu-toggle { cursor: pointer; } .sub-menu-toggle::after { margin-left: 5px; margin-top: -15px; font-family: 'Font Awesome 5 Free'; font-size: 16px; font-weight: 900; color: inherit; content: '\f107'; }
#nav-wrapper .nav-menu .sub-menu { display: none; } #nav-wrapper .sub-menu { margin: 0; margin-bottom: 10px; padding-left: 20px; } #nav-wrapper .sub-menu a { font-size: 23px!important; }
#nav-wrapper ul.nav-menu ul a, #nav-wrapper .nav-menu ul ul a { min-width: 175px; margin: 0; line-height: 2em; letter-spacing: 1px; text-decoration: none; color: #111111; } ul li .current-menu-item a { border-bottom: 0; text-decoration: underline; }
#nav-wrapper ul.nav-menu ul li, #nav-wrapper .nav-menu ul ul li { margin-right: 0; padding-right: 0; } #nav-wrapper ul.nav-menu li:hover > ul, #nav-wrapper .nav-menu ul li:hover > ul { visibility: visible; opacity: 1; }
#nav-wrapper .nav-menu .sub-menu ul, #nav-wrapper .nav-menu .children ul { top: 0; left: 100%; } .current-menu-item ul.sub-menu li a { border: none!important; }
#nav-wrapper .simplebar-track.simplebar-vertical { overflow: visible; left: 10px; width: 4px; border-radius: 5px; background: #00656e; } #nav-wrapper .simplebar-scrollbar::before { top: -2px; left: -2px; width: 8px; background: #111111; opacity: 1!important; }
#top-bar-right { display: flex; float: right; position: relative; z-index: 2; height: 40px; border-radius: 25px; background: #ffffff; align-self: center; transition: all .3s ease-out; font-size: 16px; } .header-icon { align-self: center; padding: 0 10px; }
.header-icon:first-child { margin-left: 0; } .archive #top-bar, .category #top-bar { right: 5%; margin-top: 3%; }
#top-search a.search { position: relative; font-size: 14px; color: #111111; transition: .25s ease; } #top-search a.search:hover { opacity: .65; }
.searchform-overlay { visibility: hidden; position: fixed; z-index: 999; top: 0; left: 0; width: 100%; height: 100%; text-align: center; background-color: rgba(255, 255, 255, .95); opacity: 0; transition: all ease-in-out .25s; }
.searchform-overlay:before { display: inline-block; height: 100%; margin-right: -.25em; vertical-align: middle; content: ''; }
.searchform-overlay .searchform { display: inline-block; visibility: hidden; max-width: 90%; font-size: 18px; text-align: center; vertical-align: middle; opacity: 0; transition: all ease-in-out .3s; transform: scale(.9); }
.searchform-overlay .searchform form { box-shadow: 0 3px 0 0 rgba(0, 0, 0, .7); }
.searchform-overlay .search-field { width: 800px; max-width: 100%; padding: 20px; border: 0; font-size: 32px; font-weight: 300; text-align: center; color: rgba(0, 0, 0, .8); background-color: transparent; transition: all .3s ease-out; }
.searchform-overlay .search-button { position: absolute; right: 10px; bottom: 15px; height: 40px; border: none; font-size: 30px; color: rgba(0, 0, 0, .8); background: transparent; cursor: pointer; }
.searchform-overlay p { font-size: 14px; font-weight: 300; letter-spacing: 2px; text-transform: uppercase; color: rgba(0, 0, 0, .8); }
.searchform-overlay .btn-close-search { display: block; position: absolute; top: 20%; right: 5%; transition: all .3s; } .searchform-overlay .btn-close-search:hover { transform: rotate(90deg); }
.open-search-form .searchform-overlay { visibility: visible; opacity: 1; } .open-search-form .searchform { visibility: visible; opacity: 1; transform: scale(1); }
.close-icon { display: block; width: 30px; height: 30px; text-indent: -9999px; background: url('assets/img/close.svg'); background-size: 30px; }

/* Home Cover */
.home #main-area { box-sizing: border-box; width: 100%; padding: 80px 5% 0 5%; } .home .f-width #main-area { box-sizing: border-box; width: 100%; padding: 120px 2.5% 0; }
.magcover { float: left; position: fixed; z-index: 4; width: 50%; height: 100vh; background: #ffffff; min-height: 500px; }
.cover-wrap { position: absolute; width: 100%; height: 100%; box-sizing: border-box; transition: all .3s linear; background-color: rgba(0, 0, 0, .03); }
.home .cover-content { position: relative; width: 100%; height: 100%; background-repeat: no-repeat; background-position: center center; background-size: cover; }
.magcover .cover-image, .magcover .single-post-image { position: absolute; top: 0; width: 100%; height: 100%; background: #ffffff; animation: fadein 2s; }
.cover-image img, .single-post-image img { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 104%; border: 0; vertical-align: middle; object-fit: cover; }
.cover-image img:first-child, .single-post-image img:first-child { filter: blur(10px); }
.single-post-image img, .single-post .cover-content, .page .cover-content { overflow: hidden; position: relative; width: 100%; height: 100%; background: #ffffff; background-image: none; }
.post-template-post-fullwidth .single-post-image { height: 600px; margin-bottom: 50px; } .post-template-post-fullwidth .single-post-image img { position: relative; filter: blur(0)!important; }
.cover-widgets-left { float: left; } .cover-widgets-right { float: right; }
.fold-shadow-left { position: absolute; z-index: 4; top: 0; right: 0; width: 20%; height: 100%; background: url('assets/img/fold-shadow-left.png'); opacity: .3; pointer-events: none; background-size: contain; }
.fold-shadow-right { position: absolute; z-index: 2; width: 20%; height: 100%; background: url('assets/img/fold-shadow-right.png'); opacity: .3; pointer-events: none; background-size: contain; }
.overlay { position: absolute; z-index: 2; top: 0; width: 100%; height: 100%; background: #000000; opacity: .3; pointer-events: none; }
.turn-left { position: absolute; background: #fff; height: 100%; width: 100%; animation: turnpage .5s forwards; animation-delay: .1s; z-index: 5; opacity: 1; }
@keyframes turnpage { 100% { width: 0; opacity: .5; } }
@keyframes load6 { 0%, 100% { box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em; } }
@keyframes round { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* Core Layout Grids */
.magcontent { display: flex; float: right; flex-direction: column; position: relative; width: 60%; min-height: 100vh; }
.nav-open .magcontent { overflow-x: hidden; } .f-width .magcontent { width: 100%; margin-left: 0; }
article, .single-page { width: 100%; height: 100%; } .posts-area { width: 100%; } .has-sidebar .posts-area { width: 70%; }
.blog-posts { display: grid; overflow: hidden; flex-direction: row; width: 100%; flex-wrap: wrap; }
.blog-posts.two-fr { margin-bottom: 50px; } .blog-posts.post-list, .blog-posts.post-wide { display: grid; }
.blog-posts.one-fr { grid-template-columns: 1fr; grid-gap: 0 6%; } .blog-posts.two-fr { grid-template-columns: 1fr 1fr; grid-gap: 60px 6%; }
.blog-posts.three-fr { grid-template-columns: 1fr 1fr 1fr; grid-gap: 60px 6%; } .f-width .blog-posts.one-fr { grid-template-columns: 1fr 1fr; }
.blog-posts.overlayed.two-fr .post-item, .blog-posts.overlayed.post-wide .post-item { position: relative; display: table; width: 100%; }
.blog-posts.overlayed.two-fr .post-item .overlay, .blog-posts.overlayed.post-wide .post-item .overlay { opacity: .3; }
.blog-posts.overlayed.two-fr .post-item .image-part, .blog-posts.overlayed.post-wide .post-item .image-part { position: relative; }
.blog-posts.overlayed.two-fr .post-item .content-part, .blog-posts.overlayed.post-wide .post-item .content-part { position: absolute; top: 0; box-sizing: border-box; height: 100%; display: table; z-index: 2; }
.blog-posts.overlayed.two-fr .post-item .content-part .the-content, .blog-posts.overlayed.post-wide .post-item .content-part .the-content { display: table-cell; vertical-align: middle; top: 0; padding: 10px; height: 100%; color:#fff!important; }
.blog-posts.overlayed.two-fr .post-item .content-part .the-content a, .blog-posts.overlayed.post-wide .post-item .content-part .the-content a, .blog-posts.overlayed.two-fr .post-item .content-part .the-content .post-meta li, .blog-posts.overlayed.post-wide .post-item .content-part .the-content .post-meta li { color:#fff!important; }
.blog-posts.overlayed.two-fr .post-item .content-part .the-content .post-title, .blog-posts.overlayed.post-wide .post-item .content-part .the-content .post-title { text-align: center; }
.blog-posts.overlayed.two-fr .post-item .content-part .the-content .post-meta, .blog-posts.overlayed.post-wide .post-item .content-part .the-content .post-meta { text-align: center; display: flex; align-items: center; justify-content: center; }
.blog-posts.overlayed.two-fr .post-item .content-part .the-content .post-meta span { margin-top: 0; }
.post-container { overflow: hidden; }
.post-item .image-part .overlay { opacity: 0; }
.post-item .image-part { position: relative; overflow: hidden; top: 0; right: 0; left: auto; width: 100%; height: 300px; }
.post-item .content-part { float: left; box-sizing: border-box; width: 100%; margin-top: 0; }
.content-part .the-content a { text-decoration: none; }
.image-part img, .random-image img { top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; border: 0; vertical-align: middle; transition: transform 3.5s ease-in-out; object-fit: cover; }
.image-part.hoverzoom img:hover { transform: scale(1.1); }
.custom-object-fit { position: relative; background-repeat: no-repeat; background-position: center center; background-size: cover; } .custom-object-fit img { opacity: 1; }
.post-categs { margin-top: 15px; } .no-image .post-categs { margin-top: 0; }
.post-categs-box { position: absolute; z-index: 3; bottom: -6px; } .post-item .categ a:not(:first-child) { display: none!important; }
.author-avatar { float: left; width: 30px; height: 30px; margin-right: 8px; }
.post-meta span { display: inline-block; margin-top: 4px; line-height: 0; } .list-date span { color: #111111; } .post-item p { color: #787878; }
.post-readmore { float: left; } .post-readmore a { padding: 5px 0; font-size: 13px; text-decoration: none; color: #111111; font-family: 'Oswald', sans-serif; }
.post-readmore i { margin-left: 6px; font-family: 'Font Awesome 5 Free'; font-size: 10px; content: '\f178'; color: #00656e; } .post-readmore a:hover { color: #999999; }
.content-part .the-content .post-meta { overflow: hidden; width: 100%; margin: 0 10px 0 0; font-family: 'Poppins', sans-serif; font-size: 10px; text-transform: uppercase; }
.post-meta a { font-weight: 400; color: #111111; } .content-part .post-meta li { display: inline; line-height: 1em; margin-top: 2px; margin-left: 0; margin-bottom: 0; font-size: 10px; }
.post-list-entry { float: left; width: 100%; margin-bottom: 15px; } .post-list-entry h4 { margin-top: 0; margin-bottom: 20px; }
.post-list-entry p { margin-bottom: 15px; } .post-list-entry p:last-child { margin-bottom: 0; }
.overlayed .post-list-entry p { text-align: center; color: #fff; } .overlayed .categ { display: block; } .overlayed .categ a { display: block; text-align: center; }

/* No Image Layouts */
.post-item .no-image { position: relative; box-sizing: border-box; width: 100%; margin-top: 0!important; } .post-item .no-image .overlay { opacity: 0 }
.post-item .no-image .post-categs-box { position: relative; bottom: 0; width: 100%; height: 32px; margin-top: 0; }
.post-item .no-image .post-meta { margin-top: 6px; margin-left: 0; font-size: 10px; text-transform: uppercase; }
.post-item .no-image .content-part { width: 100%; } .post-item .no-image .list-date { width: 530px; } .post-item .no-image .post-container { display: table; width: 100%; height: 100%; }
.post-item .no-image .post-container .content-part { display: table-cell; float: none; z-index: 22; width: 100%; padding: 0 150px 0 160px; text-align: center; vertical-align: middle; }
.post-list .post-item { float: left; width: 100%; margin: 0 0 40px 0; } .post-list .post-item .post-container { position: relative; width: 100%; }
.post-list .post-item .image-part { float: left; overflow: hidden; z-index: 1; left: 0; width: 42%; height: 300px; }
.post-list .post-item .content-part { display: flex; flex-direction: column; align-self: center; justify-content: center; float: right; position: relative; box-sizing: border-box; width: 54%; height: 100%; padding: 0 0 0 10px; }
.post-list .post-item .no-image .content-part { display: block; width: 100%; padding: 0; }
.post-wide .post-item { width: 100%; margin: 0 0 50px 0; } .post-wide .post-item .image-part { width: 100%; min-height: 600px; }
.has-sidebar .post-wide .post-item .image-part { min-height: 500px; } .post-wide .post-item .content-part { width: 100%; } .overlayed.post-wide p { text-align: center; }
.post-wide-overlay .post-item { width: 100%; margin: 0 0 50px 0; } .post-wide-overlay .post-container { height: 583px; } .post-wide-overlay .post-item .image-part { width: 100%; }
.post-wide-overlay .image-part .overlay { opacity: .3; } .post-wide-overlay .post-item .content-part { width: 100%; position: absolute; z-index: 2; text-align: center; color: #fff; bottom: 20px; padding: 30px 5%; }
.post-wide-overlay .post-meta li span, .post-wide-overlay .post-meta li a { color: #fff; } .post-wide-overlay .content-part .post-title a { color: #fff; } .post-wide-overlay .content-part p { color: #fff; }

/* Sticky & Pagination */
.sticky-post { font-size: 14px; color: #00656e; float: left; margin-right: 6px; } .sticky-post { margin-top: 20px; }
.left-header, .right-header { width: 50%; height: 100px; float: right; }
.f-width #main-area { transition: all .3s linear; transition-delay: .2s; } .f-width.nav-open #main-area { margin-left: 50%; transition-delay: 0s!important; }
.archive .blog-posts { margin-right: 0; flex-wrap: wrap; } .f-width .blog-posts.two-fr { grid-template-columns: 1fr 1fr 1fr 1fr; grid-gap: 60px 4%; }
.f-width .has-sidebar .blog-posts.two-fr { grid-template-columns: 1fr 1fr 1fr; grid-gap: 60px 4%; }
.fold-shadow { position: absolute; z-index: 2; left: 40.2%; width: 20%; height: 100%; background: url('assets/img/fold-shadow-center.png'); background-size: 100%; opacity: .3; pointer-events: none; transition: all .3s linear; transition-delay: .2s; }
.nav-open .fold-shadow { opacity: 0; transition-delay: .0s; left: 100%; }
.category-box { overflow: hidden; width: 100%; margin-bottom: 20px; } .category-box h1 span { font-size: 16px; text-transform: lowercase; color: #6a6a6a; }
.category-box h1 { display: inline-block; position: relative; margin-top: 0; padding-left: 20px; border-left: 5px solid #00656e; font-size: 53px; font-weight: 800; text-transform: uppercase; color: #111111; }
.category-text h2, .category-text h3, .category-text h4 { margin-top: 0; } .f-width .category-box h1 { margin-top: 28px; } .author .category-box h1 { text-transform: none; }
.category-descr { position: absolute; z-index: 6; right: 5%; bottom: 30px; width: 40% ; margin: 0; }
.category-descr p { font-size:  22px; text-align: right; color: #fff; line-height: 1.4em; padding-right: 20px; border-right: 4px solid #fff; margin-bottom: 0; }
.post-format { position: absolute; z-index: 2; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 17px; font-size: 12px; line-height: 34px; text-align: center; color: #00656e; background: #ffffff; }
.f-width .has-sidebar .posts-area { float: left; width: 75%; } .f-width .sidebar.main-sidebar { float: left; width: 25%; }
.hide.pagination { display: none; } .page-nav { width: 100%; } .pagination { width: 100%; margin-top: 10px; margin-bottom: 25px; text-align: right; }
.pagination .nav-links > * { display: inline-block; width: 40px; height: 40px; margin-left: 5px; border-radius: 50px; font-size: 15px; line-height: 40px; text-align: center; color: #787878; background: #eeeeee; text-decoration: none; }
.pagination .current { color: #ffffff; background: #00656e; }
.loadmore-container { position: relative; top:0; margin-bottom: 25px; text-align: right; }
.loadmore.button { padding: 10px 20px; border-radius: 3px; font-size: 11px; text-align: center; text-transform: uppercase; color: #ffffff; background: #00656e; text-decoration: none; }
.blog-posts  #infscr-loading img { display: none !important; }
.pagination-post { clear: both; padding-top: 30px; } .pagination-post span { display: inline-block; width: 36px; height: 36px; border-radius: 50px; font-family: 'Poppins', sans-serif; font-size: 11px; font-weight: 700; line-height: 36px; text-align: center; }
.pagination-post > span { color: #ffffff; background-color: #00656e; } .pagination-post a:hover span { color: #201f22; background-color: #ededed; }

/* Single Post Default (Overwritten later) */
.single-post .f-width.nav-open #main-area, .page .f-width.nav-open #main-area { padding: 120px 42.5% 0 2.5%; }
.single-post .f-width #main-area, .page .f-width #main-area { padding: 120px 20% 0; }
.home.page .f-width #main-area { padding: 120px 5% 0; } .page-template-page-fullwidth .f-width #main-area { padding: 120px 2.5%; }
.f-width .fold-shadow-right { display: none; } .post-entry { float: left; width: 100%; padding: 0; }
.single-post .f-width .post-entry, .page .f-width .post-entry { width: 100%; }
.has-sidebar .post-entry, .single-post .f-width .has-sidebar .post-entry, .page .f-width .has-sidebar .post-entry { width: 70%; }
.post-entry .entry-title { box-sizing: border-box; } .post-entry .post-meta { height: auto; }
.post-entry .post-meta a { letter-spacing: 1px; color: #3d3d3d; } .post-entry .post-meta a:hover { color: #848484; }
.post-entry ul.post-meta { margin-bottom: 30px; margin-left: 0; font-size: 12px; }
.post-entry .post-meta li { display: inline; font-weight: 300!important; color: #999999; margin-left: 0; }
.post-category a { display: inline-block; margin-bottom: 5px; padding: 7px 15px; font-size: 12px; text-transform: uppercase; color: #ffffff; background: #00656e; }
.single-post .author-avatar { margin-top: 0; } .post-meta  .author-avatar img, .single-post .author-avatar img { border-radius: 50%; }
.entry-title { width: 100%; margin-top: 15px; margin-bottom: 30px; font-size: 67px; font-weight: 400; line-height: 1.3em; color: #111111; }
.site-wrapper:not(.f-width) .magcontent #main-area { position: relative; left: -100%; box-sizing: border-box; width: 100%; animation: fadein 2s; animation: slide .5s forwards; animation-delay: .1s; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } } @keyframes slide { 100% { left: 0; } }
.post-title { margin-top: 20px; margin-bottom: 15px; font-weight: 800; line-height: 1.3em; letter-spacing: -1px; word-break: break-word; color: #111111; transition: all .3s ease 0s; }
.post-content .post-title a { text-decoration: none; } .post-categs+.post-title { margin-top: 15px; }
.underline a { padding: 0 ; background: linear-gradient(to bottom, transparent 90%, #00656e 0) left bottom/0 20% no-repeat; transition: background-size .6s ease; }
.underline a:hover { background-size: 100% 20%; } .post-item-container h2.post-title { margin-bottom: 20px; }
.list-meta span { color: #ffffff; } .post-date { font-weight: 400; } .post-content { width: 100%; } .post-content a { text-decoration: underline; }
.post-content hr { margin-top: 45px; margin-bottom: 45px; } .post-content img { height: 100%; max-width: 100%; }
.post-meta a { line-height: 2em; letter-spacing: 1px; color: #111111; transition: .2s; } .post-meta a:hover { color: #999999; }
.slider-meta { position: relative; } .post-tags { clear: both; margin-top: 50px; margin-bottom: -15px; padding-bottom: 13px; }
.post-tags a { display: inline-block; margin-right: 5px; margin-bottom: 8px; padding: 10px 12px; font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: #777777; background: #f2f2f2; transition: .3s; }
.post-tags a:hover { text-decoration: none; color: #020202; opacity: .9; }

/* Post Share */
.post-share { margin: 30px 0; } .post-share li { display: inline-block; width: 40px; margin-left: 0; margin-right: 15px; margin-bottom: 0; list-style: none; }
.post-share a { float: left; width: 50px; padding: 6px 0; font-size: 13px; text-align: center; color: #ffffff; }
.post-share a:hover { opacity: .8; color: #fff; } .post-share .facebook { background: #3b5999; } .post-share .twitter { background: #28a9e0; }
.post-share .googleplus { background: #dd4a40; } .post-share .linkedin { background: #0274b3; } .post-share .pinterest { background: #bd071d; }
.post-share .whatsapp { background: #5acd66; } .post-share .vk { background:  #5181b8; } .post-share .ok { background:  #ff9520; } .post-share .telegram { background:  #27a7e8; }
.social-share-cover { position: absolute; z-index: 6; padding: 0 0 0 5%; bottom: 0; } .social-share-cover .post-share { display: flex; align-self: center; margin: 0; }
.share-ttl { margin-top: 6px; color: #fff; text-transform: uppercase; font-size: 12px; } .social-share-cover li { width: auto; }
.social-share-cover .post-share a { width: auto; margin-right: 15px; font-size: 16px; background: transparent!important; }

/* Related Posts (NATIVE THEME SETTINGS) */
.related-posts { float: left; width: 100%; margin-bottom: 60px; }
.related-posts:last-child { margin-bottom: 0; }
.item-related { float: left; width: 30%; margin-right: 5%; }
.item-related:last-child { margin-right: 0; }
.item-related .related-image { position: relative; width: 100%; height: 200px; }
.item-related img { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; border: 0; vertical-align: middle; object-fit: cover; -o-object-fit: cover; }
.item-related h5 { margin-top: 10px; margin-bottom: 5px; line-height: 1.5em; }
.item-related h5 a { font-weight: 800; }
.related-date { font-size: 10px; text-transform: uppercase; color: #111111; }
.post-box-title { letter-spacing: 1px; text-align: left; text-transform: uppercase; }

/* Post Navigation */
.post-navigation { overflow: hidden; margin: 50px 0; } .post-prev { float: left; } .post-next { float: right; }
.navprev, .navnext { height: 100%; } .postnav-image { overflow: hidden; position: relative; width: 80px; height: 80px; border-radius: 100%; }
.site-wrapper .post-navigation .postnav-image .overlay { z-index: 2; opacity: .2; } .post-prev .postnav-image { float: left; } .post-next .postnav-image { float: right; }
.postnav-image .overlay:hover { opacity: .4; } .postnav-image img { width: 100%; height: 100%; }
.post-prev i, .post-next i { position: absolute; z-index: 3; left: 40%; font-family: 'Font Awesome 5 Free'; font-size: 16px; line-height: 80px; color: #ffffff; }
.post-prev i { content: '\f060'; } .post-next i { content: '\f061'; }
.postnav-noimage { overflow: hidden; position: relative; width: 80px; height: 80px; border-radius: 50%; background: #eeeeee; }
.postnav-noimage i { color: #111111; } .post-prev .postnav-noimage { float: left; } .post-next .postnav-noimage { float: right; }
.prev-post-title { float: left; width: 160px; padding-left: 10px; } .next-post-title { float: left; width: 160px; padding-right: 10px; text-align: right; }
.post-navigation span { font-size: 14px; color: #999999; } .post-navigation h6 { margin: 5px 0; } .post-navigation h6:hover { color: #747474; }
.magcover .post-navigation { position: absolute; z-index: 6; right: 5%; bottom: 30px; margin: 0; } .widget .post-navigation { position: relative; z-index: 3; right: 5%; bottom: 0!important; margin: 0; }
.magcover .post-navigation .post-next{ margin-left: 10px; } .cover-descr { position: absolute; z-index: 6; right: 5%; bottom: 160px; width: 60%; }
.cover-descr h3 { color:#fff; text-align: right; margin: 0 ; padding-right: 20px; border-right: 4px solid #fff; }

/* Misc & Widgets */
.aligncenter { display: block; clear: both; margin-right: auto; margin-left: auto; text-align: center; } .form-group { margin-bottom: 20px; }
.page-template-page-f-width .single-page { margin-bottom: 100px; } .nothing-found { width: 100%; margin: 0 auto; padding: 50px 0; }
.f-width .nothing-found { width: 70%; } .nothing-found h1, .nothing-found h2, .nothing-found p { width: 100%; text-align: center; } .nothing-found h2 { text-transform: uppercase; }  
.nothing-found h1 { margin-bottom: 60px; font-size: 16em; font-weight: 900; line-height: 1em; } .nothing-found h1 span { color:#00656e }
.nothing-found .search-form { position: relative; width: 100%; } .nothing-found .search-form .search-button { position: absolute; right: 10px; bottom: 18px; border: 0; background: transparent; cursor: pointer; }
.search-no-results .fold-shadow { display: none; } .archive .container { position: relative; } .archive-box { margin-bottom: 30px; font-size: 1.44em; width: 100%; }
.archive-box span { font-weight: 700; color: #000000; } .adv-image { overflow: hidden; margin: 0 0 20px 0; border-radius: 5px; }
.adv-image img { height: auto; } .adv-image.shortcode { margin-bottom: 40px; } .f-width .adv-image { width: 45%; }
.wpcf7-form { padding: 30px 0; } .wpcf7-form-control-wrap, .wpcf7-form-control-wrap .wpcf7-form-control { display: block; width: 100%; font-size: 14px; }
.wpcf7-form-control input { width: auto; } .wpcf7-list-item label { font-weight: 400; } span.wpcf7-list-item { display: inline-block; margin: 0 1em 0 0; }
.mc4wp-form-fields p { margin-bottom: 0; } .intro-line { margin-bottom: 50px; width: 60%; } .intro-line h1 {  line-height: 1.1em; }  
.intro-line h1 b, .intro-line h1 i, .intro-line h1 strong {  color: #00656e; } 
.random-posts { overflow: hidden; width: 100%; margin-bottom: 50px; } .random-items { display: grid; overflow: hidden; flex-direction: row; width: 100%; flex-wrap: wrap; }
.random-items.three-fr { grid-template-columns: 1fr 1fr 1fr; grid-gap: 30px 4%; } .random-items .item-random { width: 100%; }  
.item-random { float: left; position: relative; width: 30%; margin-right: 5%; } .item-random:nth-child(3n) { margin-right: 0; } .item-random:nth-child(4n) { display: none; margin-right: 0; }
.overlayed .item-random { display: table; height: 300px; } .overlayed .item-random:nth-child(4n) { display: none; }
.item-random h5 { margin-top: 15px; margin-bottom: 5px; } .random-image { overflow: hidden; position: relative; height: 200px; }
.random-image .overlay { display: none; } .overlayed .random-image { position: absolute; top: 0; right: 0; left: 0; width: 100%; height: 100%; }
.overlayed .random-image .overlay { display: block; } .overlayed .random-image  img{ height: 100%; }
.widget-date { font-size: 10px; text-transform: uppercase; color: #111111; } .random-ttl { position: relative; } .shortcode .random-ttl a { text-decoration: none; }
.overlayed .random-ttl { display: table-cell; float: none; z-index: 2; width: 100%; margin-top: 0; padding: 0 15px 0 15px; text-align: center; vertical-align: middle; color: #ffff; }
.overlayed .random-ttl h5 { margin-top: 0; word-break: break-word; } .overlayed .random-ttl h5 a, .overlayed .widget-date { color: #fff; }
.overlayed .random-ttl h5 a:hover { opacity: .8; } .overlayed .list-date span { color: #fff; }
.f-width .random-items.three-fr { grid-template-columns: 1fr 1fr 1fr 1fr; } .f-width .item-random:nth-child(4n) { display: block; }
.cover-sidebar ul li { list-style: none; } .cover-sidebar-left { position: absolute; z-index: 5; bottom: 30px; left: 5%; box-sizing: border-box; width: 35%; text-align: left; }
.cover-sidebar-right { position: absolute; z-index: 5; bottom: 30px; right: 5%; box-sizing: border-box; width: 35%; text-align: right; }
.cover-widgets .widget { margin-top: 40px; } .cover-widgets .widget.widget_widget_banner { margin-top: 30px; }
.cover-widgets .widget.widget_widget_banner .widget-title, .cover-widgets .widget.widget_cover_line .widget-title { display: none; }
.cover-widgets .widget a:hover { opacity: .7; } .cover-title h3 { margin-top: -15px; margin-bottom: 0; line-height: 1em; }
.sidebar { position: relative; -webkit-box-sizing: border-box; box-sizing: border-box; width: 25%; padding-left: 3%; }
.sidebar-container { position: sticky; position: -webkit-sticky; top: 0; padding-bottom: 140px; }
.sidebar .widget { overflow: hidden; box-sizing: border-box; width: 100%; margin-bottom: 50px; }
.sidebar .widget-title { overflow: hidden; position: relative; margin-top: 0; margin-bottom: 25px; padding-left: 10px; border-left: 3px solid #00656e; font-family: 'Oswald', sans-serif; font-weight: 400; text-transform: uppercase; color: #111111; }
.sidebar .widget a { font-size: 14px; color: #111111; } .sidebar .widget a:hover { color: #999999; }
.sidebar .widget ul { overflow: hidden; box-sizing: border-box; margin: 0; margin: 0 10px 0 0; padding-left: 0; list-style: none; }
.sidebar .widget ul li { position: relative; box-sizing: border-box; margin-left: 0; margin-bottom: 10px; list-style: none; font-weight: 400; }
.sidebar .widget ul li:last-child { margin-left: 0; margin-bottom: 0; } .sidebar .widget ul ul { margin-left: 25px; } .sidebar .widget ul li ul { margin-top: 9px; padding-top: 0; }
.sidebar .widget table { margin: 0; } .sidebar .widget p { font-size: 14px; line-height: 22px; } .sidebar .widget img { width: 100%; }
.sidebar .widget ul li a { font-weight: 400; line-height: 1.3em; } .sidebar .widget ul li a:hover { color: #999999; }
.sidebar .widget_categories ul li a, .sidebar .widget_archive ul li a, .sidebar .widget_pages ul li a, .sidebar .widget_nav_menu ul li a { font-size: 12px; }
.sidebar.main-sidebar { float: left; width: 30%; }
.about-widget { width: 100%; } .about-widget .about-img { overflow: hidden; width: 100%; } .about-img img { width: 100%; height: auto; }
.about-content { padding: 20px 0; line-height: 1.6em; text-align: center; color: #787878; } .about-content h5 { float: left; width: 100%; margin: 5px 0 10px 0; color: #111111; }
.about-author-signature { box-sizing: border-box; width: 100%; padding: 20px 20% 5px; } .about-author-signature img { max-width: 60%; }
.sidebar .widget .latest-posts li { overflow: hidden; margin-bottom: 10px; } .latest-posts-item { width: 100%; }
.latest-posts-image { float: left; width: 60px; height: 60px; margin-right: 14px; } .latest-posts-image img { width: 100%; height: 100%; object-fit: cover; -o-object-fit: cover; }
.latest-posts-text { display: block; overflow: hidden; } .latest-posts-text h4 { margin: 0; line-height: .7em; }
.latest-posts-meta { font-family: 'Poppins', sans-serif; font-size: 10px; font-weight: 400; text-transform: uppercase; color: #999999; }
.social-widget { text-align: center; } .social-widget a { padding: 10px; font-size: 18px; line-height: 1.8em; color: #111111; }
.widget.widget_category { margin-bottom: 10px; } .category-wid { display: flex; position: relative; align-items: center; height: 120px; }
.category-wid .category-img { overflow: hidden; position: absolute; top: 0; right: 0; left: 0; width: 100%; height: 100%; }
.category-wid .category-img img { top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 104%; border: 0; vertical-align: middle; object-fit: cover; -o-object-fit: cover; }
.sidebar .category-wid h4 { position: relative; z-index: 2; width: 100%; font-size: 18px; line-height: 20px; text-align: center; color: #fff; text-transform: uppercase; margin-top: 20px; }
.sidebar .category-wid h4 a { color: #fff; letter-spacing: 4px; word-wrap: normal; } .sidebar .category-wid h4 a:hover { color: #fff; letter-spacing: 6px; }
.image-banner .bg-image { overflow: hidden; } .image-banner .bg-image a { display: block; }
.sidebar .sidebar-menu ul li a { font-size: 12px; font-weight: 400; text-transform: uppercase; }
.sidebar .widget ul li .sub-menu li, .sidebar .widget ul li .children li { border-bottom: none; }
.sidebar-inner ul.menu li ul { padding-top: 20px; padding-left: 0; } .sidebar .widget li > ul { display: none; margin-left: 15px; }
.widget li > .narrow { position: absolute; margin-left: 10px; width: 20px; height: 30px; line-height: 50px; cursor: pointer; }
.widget li > .narrow i { display: block; position: relative; width: 6px; margin-top: 11px; color: #00656e; }
.widget li > .narrow i::before { display: block; position: absolute; top: 0; width: 100%; border-bottom: 2px solid; content: ''; -webkit-transform: rotate(-45deg); transform: rotate(-45deg); }
.widget li > .narrow i::after { display: block; position: absolute; top: 0; right: 4px; width: 100%; border-bottom: 2px solid; content: ''; -webkit-transform: rotate(45deg); transform: rotate(45deg); }
.widget li.open > .narrow i::before { -webkit-transform: rotate(45deg); transform: rotate(45deg); }
.widget li.open > .narrow i::after { -webkit-transform: rotate(-45deg); transform: rotate(-45deg); }
.widget li > .narrow i, .widget li > .narrow i::before, .widget li > .narrow i::after { transition: all 150ms ease-out; }
.widget li.cat-item .narrow i { margin-top: 10px; } .sidebar ul li.cat-item { font-size: 10px; position: relative; overflow: hidden; }
.sidebar ul li.cat-item a { display: inline-block; position: relative; font-weight: 400!important; text-transform: uppercase; color: #00656e; }
.sidebar ul li.cat-item a:hover { color: #00656e; opacity: .7; } .sidebar .widget.widget_archive li { font-size: 10px; }
.sidebar .widget.widget_archive li a, .widget_meta li a { font-size: 14px; color: #111111; } .widget_archive li a:hover, .widget_meta li a:hover { color: #999999; }
.sidebar .search-form { position: relative; } .sidebar .search-form .search-field { width: 100%; margin-bottom: 0; padding: 14px 20px; border-width: 1px; line-height: 20px; }
.sidebar .search-form .search-button { display: block; position: absolute; top: 33%; right: 15px; padding: 0; border: none; font-size: 14px; line-height: normal; color: #111111; background: none; }
.calendar_wrap table { border: 0; } .calendar_wrap table tr td, .calendar_wrap table tr th { padding: 0; border: 0; } #wp-calendar { width: 100%; }
#wp-calendar caption { margin-bottom: 15px; padding-bottom: 8px; border-bottom: 1px solid #e5e5e5; font-size: 12px; text-align: left; color: #777777; }
#wp-calendar thead { font-size: 12px; } #wp-calendar thead th { padding-bottom: 10px; text-align: center; }
#wp-calendar tbody td { padding: 8px; border: none; font-size: 12px; text-align: center; } #wp-calendar tbody td a { font-weight: 700; color: #fff; padding: 8px; background: #00656e; text-decoration: none; }
#wp-calendar tfoot #prev { padding-top: 10px; font-size: 11px; text-transform: uppercase; } #wp-calendar tfoot #next { font-size: 11px; text-align: right; text-transform: uppercase; } tfoot a { color: #000000; }
.sidebar .widget .tagcloud a { display: inline-block; margin-right: 5px; margin-bottom: 8px; padding: 8px 12px; font-size: 11px !important; letter-spacing: 1px; text-transform: uppercase; color: #777777; background: #f2f2f2; transition: .3s; }
.sidebar .widget .tagcloud a:hover { text-decoration: none; color: #020202; opacity: .8; }
.sidebar .instagram-pics { overflow: hidden; margin-left: -3.33%; } .sidebar .instagram-pics li { display: inline-block; width: 30%; margin: 0 0 3.33% 3.33%; padding: 0; border-bottom: none; }
.sidebar .instagram-pics li img:hover { opacity: .80; } .sidebar .instagram-feed p { margin-top: 25px; text-align: center; }
.sidebar .instagram-feed p a { padding: 6px 18px; border-radius: 2px; font-size: 12px; color: #ffffff; background: #111111; }
.sidebar .recentcomments a { font-family: 'Poppins', sans-serif; font-weight: 400; color: #000000; } .sidebar .widget_recent_comments .recentcomments > a { display: block !important; font-weight: 400; line-height: 1.4em; }
.sidebar .recentcomments a:hover { color: #999999; } .sidebar .recentcomments .comment-author-link a { font-weight: 400; color: #999999; }
.sidebar .widget_recent_comments .recentcomments .url { color: #737373; } .sidebar .widget_recent_comments ul { font-size: 14px; color: #999999; }
.sidebar .widget_recent_comments ul li { margin-bottom: 15px; } .sidebar .widget_recent_comments .recentcomments .url { font-family: 'Poppins', sans-serif; font-weight: 600; }
.sidebar .widget_rss ul li { margin-bottom: 24px; font-size: 14px; } .sidebar .widget_rss ul ul { margin-bottom: 0; } .sidebar .widget_rss ul li:last-child { margin-bottom: 0; }
.sidebar .widget_rss ul li a { display: block; font-weight: 600; } .widget_rss .rss-date { display: block; margin-bottom: 5px; font-size: 13px; color: #999999; }
.widget_rss img { display: none; } .rsswidget { font-weight: 600; }
.widget_mc4wp_form_widget p { width: 100%; margin-bottom: 10px; } .widget_mc4wp_form_widget input[type='email'] { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; width: 100%; padding: 17px; background: #ffffff; }
.widget_mc4wp_form_widget input[type='submit'] { width: 100%; margin-top: 0; padding: 16px 0; } .widget_mc4wp_form_widget label { font-weight: 300; }
.widget_mc4wp_form_widget label span { font-weight: 600; } .widget_mc4wp_form_widget input { width: auto; margin-right: 5px; }
.single-page .mc4wp-form-fields { width: 50%; } .mc4wp-form-fields p select, .mc4wp-form-fields p input[type=email] { width: 100%; font-size: 14px; background-color:transparent; }
.widget_recent_entries ul li { overflow: hidden; margin-bottom: 20px; } .widget_recent_entries ul li a { float: left; width: 100%; margin-bottom: 2px; font-family: 'Poppins', sans-serif; font-size: 14px; font-weight: 700; }
.widget_recent_entries span { float: left; font-family: 'Poppins', sans-serif; font-size: 12px; } .widget_pages a { font-weight: 400; } .widget_media_image img { width: 100%; }
.sidebar .widget_recent_entries ul li { margin-bottom: 15px; }

#hidden-sidebar { visibility: hidden; position: fixed; z-index: 9999; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; background-color: rgba(29, 29, 31, .55); opacity: 0; content: ''; transition: opacity .5s ease-out; }
#hidden-sidebar.active { visibility: visible; opacity: 1; }
#hidden-sidebar .widgets-side { position: absolute; z-index: 999; right: -150px; box-sizing: border-box; width: 360px; height: 100vh; padding: 80px 30px 70px 30px; background-color: #ffffff; opacity: 0; transition: all .5s ease-out; }
#hidden-sidebar.active .widgets-side { overflow-y: auto; right: 0; opacity: 1; }
#hidden-sidebar a.close-button { display: inline-block; position: absolute; top: 25px; right: 10%; width: 15px; height: 15px; margin-left: -12px; padding: 10px; border-radius: 50px; font-size: 24px; line-height: 1em; text-align: center; background: #ffffff; }
#hidden-sidebar a.close-button i { width: 15px; height: 15px; background-size: 15px; }
.hidden-sidebar-button a.open-hidden-sidebar { display: block; position: relative; width: 18px; height: 10px; padding-bottom: 3px; color: #6a6b6c; }
.hidden-sidebar-button a.open-hidden-sidebar span { display: block; position: absolute; left: 0; width: 100%; height: 0; margin-top: -1px; border-bottom: 2px solid; opacity: 1; transition: all .3s ease-out; }
a.open-hidden-sidebar span.bar-1 { top: 6px; } a.open-hidden-sidebar span.bar-2 { top: 6px; transform: rotate(90deg); }

/* Footer (NATIVE THEME SETTINGS) */
#footer { box-sizing: border-box; overflow: hidden; width: 100%; padding: 30px 5%; text-align: center; background: #fafafa; }
.f-width #footer { transition: all .3s linear; transition-delay: .2s; }
.f-width.nav-open #footer { width: 60%; margin-left: 50%; transition-delay: 0s!important; }
#footer a { color: #111111; } #footer a:hover { color: #999999; }
.footer-logo { width: 200px; margin: 20px auto; text-align: center; vertical-align: middle; }
.footer-logo a { display: inline-block; position: relative; font-size: 44px; font-weight: 600; vertical-align: middle; color: #efefef; }
.footer-logo a img { width: 100%; height: auto; }
.footer-social-links { padding: 20px 0; line-height: 2em; }
.footer-social-links a { margin: 0 20px; font-size: 16px; letter-spacing: 1px; text-transform: uppercase; color: #111111; }
.footer-social-links a span { font-size: 11px; } .footer-social-links i { margin-right: 5px; }
#footer-copyright { padding: 20px 0; font-size: 12px; color: #989898; } #footer-copyright a { text-decoration: underline; }
.footer-menu li { display: inline-block; margin: 20px 10px 0; list-style: none; font-size: 13px; }

/* Gutenberg & WP Core */
.post-content .wp-block-image { margin-bottom: 1.6em; } .wp-block-image.size-large img { width:100%; }
.size-full, .size-large, .size-medium, .size-thumbnail { max-width: 100%; height: auto; vertical-align: middle; border: 0; -ms-interpolation-mode: bicubic; }
.post-content .wp-block-columns { margin-bottom: 14px; } .wp-block-column h3 { margin-top: 0; }
.wp-block-preformatted, .wp-block-table, .wp-block-media-text { margin-bottom: 20px; }
.wp-block-table { width: 100%; min-width: 240px; border-collapse: collapse; } .wp-block-table td, .wp-block-table th { padding: 15px; }
.wp-block-table.is-style-stripes { border: 1px solid #f3f4f5; } .wp-block-verse { padding: 20px; }
.wp-block-archives, .wp-block-categories, .wp-block-latest-comments, .wp-block-latest-posts { margin-bottom: 30px; }
.wp-block-categories { width: 100%; } .wp-block-categories li, .wp-block-latest-posts li { display: table; width: 100%; list-style: none; }
.wp-block-latest-posts a { border-bottom: 0; } .wp-block-embed, .wp-block-embed__wrapper iframe { width: 100%; }
.post-content .wp-block-embed, .post-content .wp-block-audio { margin-bottom: 1.6em; }
.wp-block-media-text { margin-bottom: 40px; } .wp-block-media-text p { line-height: 1.9em; }
.wp-block-audio figcaption { color: inherit; font-size: 13px; } .wp-block-categories, .wp-block-archives { text-decoration: none; text-align: left; }
.wp-block-embed-soundcloud iframe { height: 500px; } .wp-block-latest-posts__post-date { font-weight: 300; }
.wp-block-latest-comments__comment footer { width: auto; padding: 0; text-align: left; }
.wp-block-latest-comments__comment-excerpt p { font-weight: 300; } .wp-block-latest-comments__comment { list-style: decimal inside; margin-left: 0; }
.has-avatars .wp-block-latest-comments__comment { min-height: 36px; list-style: none!important; }
.wp-block-button { margin-bottom: 28px; } .wp-block-button a { text-decoration: none; }
.wp-block-button a.wp-block-button__link { padding: 12px 22px; border: 2px solid #00656e; border-radius: 50px; font-size: 14px; color: #ffffff; background-color: #00656e; }
.wp-block-button a.wp-block-button__link:hover { border: 2px solid #00828e; color: #ffffff; background-color: #00828e; }
.wp-block-button .alignnone { text-align: center; } .wp-block-button.aligncenter { margin-bottom: 28px; } .wp-block-button.is-style-squared a { border-radius: 0; }
.wp-block-button.is-style-outline a.wp-block-button__link { border: 2px solid #00656e; color: inherit; background-color: transparent; }
.wp-block-button.is-style-outline a.wp-block-button__link:hover { border: 2px solid #00828e; color: #ffffff; background-color: #00828e; }
.wp-block-separator:not(.is-style-dots) { max-width: 100%; height: 2px; margin-top: 50px; margin-bottom: 50px; border: 0; border-color: transparent; text-align: left; background-color: #767676; clear: both; }
.wp-block-separator:not(.is-style-wide):not(.is-style-dots) { max-width: 100px; }
.wp-block-separator.is-style-dots:before { padding-left: calc(1.5 * 1rem); content: "\00b7 \00b7 \00b7 \00b7 \00b7 \00b7 \00b7 \00b7 \00b7 \00b7 \00b7 \00b7 \00b7 \00b7 \00b7"; color: #767676; font-size: 1.6875em; letter-spacing: calc(1.5 * 1rem); }
.wp-block-separator.is-style-wide { height: 1px; } .wp-block-separator.is-style-dots { margin-top: 40px; margin-bottom: 40px; }
.wp-block-image { margin-bottom: 40px; } .wp-block-image figcaption { padding-top: .5em; margin-bottom: 0!important; font-size: 13px; color: inherit!important; }
.post-content .wp-block-cover, .post-content .wp-block-cover-image { margin-bottom: 28px!important; }
.wp-block-cover.alignleft, .wp-block-pullquote.alignleft { margin-right: 20px; } .wp-block-cover.alignright, .wp-block-pullquote.alignright { margin-left: 20px; }
.wp-block-cover p, .wp-block-cover__inner-container p { margin-bottom: 0; font-size: 2em; line-height: 1.3em; } .wp-block-cover, .wp-block-cover-image { box-sizing: border-box; }  
.post-content .wp-block-cover a, .post-content .wp-block-cover-text a, .post-content .wp-block-cover-text > a { color: #fff!important; }
.wp-block-image .alignleft { margin-right: 2em; } .wp-block-image .alignright { margin-left: 2em; } .post-content .wp-block-gallery { margin-bottom: 28px; }
.wp-block-image.alignfull img, .wp-block-image.alignwide img { width: 100%; } .wp-block-gallery .blocks-gallery-item figcaption { box-sizing: border-box; }
.wp-block-image .alignleft, .wp-block-gallery.alignleft{ margin-right: 20px!important; } .wp-block-image .alignright, .wp-block-gallery.alignright { margin-left: 20px!important; }
.post-content .alignfull { width: 50vw; max-width: 50vw; margin-left: calc(-1 * ((50vw - 100% + 7px - 5px) / 2)); margin-right: calc(-1 * ((50vw - 100% + 7px - 5px) / 2)); }
.f-width .post-content .alignfull { width: 100vw; max-width: 100vw; margin-left: calc(-1 * ((100vw - 100% - 0px + 0px) / 2)); margin-right: calc(-1 * ((100vw - 100% - 0px + 0px) / 2)); }
.f-width .post-content .alignwide { width: calc(100% + 280px); max-width: calc(100% + 280px); margin-left: -140px; }
.has-sidebar .post-content .alignwide, .has-sidebar .post-content .alignfull, .f-width .has-sidebar .post-content .alignwide, .f-width .has-sidebar .post-content .alignfull { width: 100%; max-width: 100%; margin-left: 0; }
.post-content .blocks-gallery-grid, .post-content .wp-block-gallery { margin-top: 4px; } .wp-block-gallery li { list-style: none!important; }
.wp-block-gallery .blocks-gallery-item img { width: 100%; }
.post-content .wp-block-cover-image .wp-block-cover-image-text, .post-content .wp-block-cover-image .wp-block-cover-text, .post-content .wp-block-cover p:not(.has-text-color) { color: #fff; }
.post-content blockquote p { font-size: 1.3em; font-style: italic; line-height: 1.6em; margin-bottom: .6em; }
blockquote.wp-block-quote.is-large, blockquote.wp-block-quote.is-style-large { padding-left: 30px; margin-bottom: 1.6em; }
blockquote.wp-block-quote.is-large p { font-size: 1.5em; } blockquote cite, .blockquote-footer, .post-content .wp-block-pullquote cite { opacity:  .6; font-style: normal; }
.post-entry .wp-block-pullquote cite, .post-entry .wp-block-quote cite { font-size: 15px; font-weight: normal; text-transform: none; }
.post-entry .wp-block-quote.is-large cite { font-size: 18px; } .post-content .wp-block-pullquote { padding: 0; }
.wp-block-pullquote blockquote { padding: 30px 0 30px 20px; margin: 0; } .wp-block-pullquote blockquote::before { position: relative; top: -15px; }
.blockquote-footer { font-size: 16px; font-weight: 300; font-style: normal; } .wp-block-columns.has-3-columns blockquote { margin-top: 0; }
.post-entry .wp-block-pullquote.aligncenter { font-size: 1.1em; } .wp-block-pullquote blockquote { margin-bottom: 1.6em; } .wp-block-quote a { font-weight: 600; }
.post-entry .wp-block-pullquote.is-style-solid-color blockquote { max-width: 100%; margin: 0!important; padding: 40px; border-left: 0; text-align: center; }
.wp-block-pullquote.alignwide p { font-size: 1.8em; line-height: 1.45; } .wp-block-pullquote.alignfull { box-sizing: border-box; padding: 4em 8em; } .wp-block-pullquote.alignfull p { font-size: 2em; line-height: 1.45; }
.wp-block-calendar #wp-calendar { width: 50%; } .wp-block-calendar table { border: none; } .wp-block-calendar table tbody td { font-size: 15px!important; width: 14.2%; }
.wp-block-calendar table caption, .wp-block-calendar table tbody { font-weight: 700; font-size: 14px!important; }
.wp-block-calendar table th { font-weight: 700!important; background: transparent!important; border: none; }
.post-content .wp-block-calendar tfoot a { color: #111111; font-weight: 700; text-decoration: none; font-size: 12px; }
.post-content .wp-block-calendar #today a { text-decoration: none; } .wp-block-search { position: relative; } .wp-block-search__input { width: 50%; }
.wp-block-search .wp-block-search__button { padding: 15px 20px; border: 0; cursor: pointer; margin-left: 0!important; }
.has-sidebar p.has-large-font-size { font-size: 26px; line-height: 1.6em; } .wp-block-code { padding: 2em; border: none; border-radius: 4px; background: #f5f5f5; }
.post-password-form input[type='password'] { width: 250px; padding: 9px 10px; } .wp-block-group.has-background { padding: 20px 30px; margin-top: 0; margin-bottom: 1.6em; }
.wp-block-group.has-background .wp-block-button { text-align: center; } .wp-block-rss li { list-style: none;  } .wp-block-file a { color: inherit; text-decoration: none; }
.wp-block-calendar { margin-bottom: 1.6em; text-align: left; } .wp-block-calendar nav { margin: 10px; text-align: left; text-decoration: none; }
.wp-block-calendar nav a { font-weight: 500; text-decoration: none; } .wp-caption-text { margin-top: 10px; }
.wp-block-columns.alignfull.has-2-columns .wp-block-column { padding: 0px 20px !important; margin: 0 !important; }
.elementor-widget-container .feat-categ-item img { height: 100%; } .elementor-widget-wp-widget-anymag_latest_posts_widget ul li { overflow: hidden; list-style: none; }
.site-wrapper .elementor-column-gap-default>.elementor-row>.elementor-column>.elementor-element-populated { padding: 0; }
.elementor .overlayed .image-part img, .elementor .image-part img { height: 100%; }
.f-width .post-content .elementor-section.elementor-section-boxed > .elementor-container { max-width: 100%; }
.elementor-image-carousel-caption { font-size: 16px; padding: 10px 0; font-weight: 600; } .elementor-posts .elementor-post__meta-data { margin-top: 20px; }
.alignnone { margin: 0; } p:empty { display: none; } .aligncenter, div.aligncenter { display: block; margin: 0 auto 1.6em auto; }
.alignright { display: block; float: right; margin: 5px 0 1.6em 20px; } .alignleft { display: block; float: left; margin: 5px 20px 1.6em 0; }
a img.alignright { float: right; margin: 5px 0 1.6em 20px; } a img.alignnone { margin: 5px 20px 1.6em 0; } a img.alignleft { float: left; margin: 5px 20px 1.6em 0; }
a img.aligncenter { display: block; margin-right: auto; margin-left: auto; } p .alignright { clear: both; }
.wp-caption { max-width: 100%; padding: 5px 0 5px 0; border-bottom: 1px solid #f0f0f0; text-align: center; background: #ffffff; }
.wp-caption.alignnone { margin: 5px 0 1.6em 0; } .wp-caption.alignleft { margin: 5px 20px 1.6em 0; } .wp-caption.alignright { margin: 5px 0 1.6em 20px; }
.wp-caption img { width: auto; max-width: 98.5%; height: auto; margin: 0; padding: 0; border: 0 none; }
.wp-caption p.wp-caption-text { margin: 0; padding: 10px 4px 5px 4px; font-size: 13px; font-style: italic; line-height: 17px; color: #7f7f7f; }
.screen-reader-text { overflow: hidden; clip: rect(1px, 1px, 1px, 1px); position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; word-wrap: normal !important; clip-path: inset(50%); }
.screen-reader-text:focus { display: block; clip: auto !important; z-index: 100000; top: 5px; left: 5px; width: auto; height: auto; padding: 15px 23px 14px; font-size: 1em; line-height: normal; text-decoration: none; color: #444444; background-color: #eeeeee; clip-path: none; }
ins { text-decoration: none; background: #fff9c0; } .gallery-item { float: left; margin: 0; } .gallery-columns-3 .gallery-item { width: 33.3333%; }
.gallery-item a { border: none; } #gallery-1 img { border: 0!important; } .gallery .gallery-caption { margin-top: 4px; padding: 5px; font-size: 12px; font-style: italic; line-height: 1.4em; color: #888888; }
figure { margin: 0; padding: 0; border: 0; font-size: 100%; vertical-align: baseline; } cite { font-size: 15px; font-weight: normal; font-style: italic; text-transform: none; }
code { padding: 2px; border-radius: 2px; color: #23282d; background: #f3f4f5; font-family: 'Menlo,Consolas,monaco,'monospace; font-size: inherit; line-height: 1.8; }
kbd { margin: 0 1px; padding: 3px 5px 2px 5px; font-size: 13px; background: #eaeaea; color: #999; }
input::placeholder, textarea::placeholder, input::-webkit-input-placeholder, textarea::-webkit-input-placeholder { color: inherit; opacity:  .7; }
.fg-panel .fg-panel-cart { display: block; } .fg-panel table tbody > tr:nth-child(2n+1) > td, table tbody > tr:nth-child(2n+1) > th { background-color: hsla(0,0%,50.2%,.0705882353); }
.fg-panel .fg-panel-cart .fg-media-product-body input { -webkit-appearance: button; position: relative; left: 5px; width: 12px; height: 12px; }


/* ==========================================================================
   [PART 2: PREMIUM EDITORIAL UPGRADE - COOLBABA EDITION]
   Наши новые глянцевые стили: Swiper, Статья, Комментарии, Категории.
   ========================================================================== */

/* --- 1. Главный Слайдер (Swiper Modern Glossy) --- */
.anymag-main-slider { width: 100%; height: 510px; position: relative; overflow: hidden; border-radius: 12px; box-shadow: 0 15px 35px rgba(0,0,0,0.1); z-index: 1; }
.anymag-main-slider::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 60%; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); pointer-events: none; z-index: 2; }
.swiper-wrapper { position: relative; width: 100%; height: 100%; z-index: 1; display: flex !important; box-sizing: content-box; }
.swiper-slide { flex-shrink: 0; width: 100%; height: 100%; position: relative; display: block; }
.slide-content { 
    width: 100%; height: 100%; position: relative; overflow: hidden;
    background-size: cover !important; 
    background-position: center center !important; 
    background-repeat: no-repeat !important; 
}
.slide-content img { 
    width: 100%; height: 100%; object-fit: cover; 
    object-position: center center !important; /* Жестко центрируем фото */
    transition: transform 6s ease; will-change: transform; 
}
.swiper-slide-active .slide-content img { transform: scale(1.04); }

.slide-text { position: absolute; z-index: 6; bottom: 50px; left: 0; box-sizing: border-box; width: 100%; padding: 0 50px; text-align: left; }
.slide-text h2 a, .slide-text h3 a { font-family: 'Playfair Display', 'Georgia', serif !important; font-size: clamp(24px, 4vw, 42px) !important; color: #fff !important; text-shadow: 0 2px 15px rgba(0,0,0,0.5); font-weight: 500; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; }

.slide-text .post-meta { margin: 15px 0 0 0; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; }
.slide-text .post-meta li { display: inline; color: rgba(255,255,255,0.8) !important; }
.slide-text .post-meta span, .slide-text .post-meta li a { color: rgba(255,255,255,0.8); text-decoration: none; }
.slide-text .post-meta li:not(:last-child)::after { content: '•'; margin: 0 8px; color: rgba(255,255,255,0.4); }

/* Swiper Controls */
.swiper-pagination { position: absolute; z-index: 11; bottom: 25px !important; width: 100%; display: flex; justify-content: center; align-items: center; gap: 8px; }
.swiper-pagination-bullet { background: rgba(255, 255, 255, 0.4) !important; opacity: 1 !important; width: 30px !important; height: 2px !important; border-radius: 0 !important; cursor: pointer; transition: all 0.3s ease !important; margin: 0 !important; }
.swiper-pagination-bullet-active { background: #fdc04e !important; width: 50px !important; }

.swiper-button-next, .swiper-button-prev { color: rgba(255, 255, 255, 0.6); width: 80px; height: 100%; top: 0; margin-top: 0; background: transparent; border: none; z-index: 10; cursor: pointer; display: flex; align-items: center; position: absolute; transition: all 0.3s ease; }
.swiper-button-prev { left: 0; justify-content: flex-start; padding-left: 20px; }
.swiper-button-next { right: 0; justify-content: flex-end; padding-right: 20px; }
.swiper-button-next::after, .swiper-button-prev::after { font-size: 50px; font-weight: 100; font-family: swiper-icons; filter: drop-shadow(0 2px 5px rgba(0,0,0,0.3)); }
.swiper-button-prev:hover { padding-left: 10px; color: #fff; }
.swiper-button-next:hover { padding-right: 10px; color: #fff; }

.owl-stage-outer, .owl-stage, .owl-nav { display: none !important; } /* Kill Owl totally */


/* --- 2. Featured Categories (Главная страница) --- */
.feat-category { overflow: hidden; margin-bottom: 50px; }
.feat-categ-item { float: left; position: relative; width: 48%; min-height: 115px; height: auto; margin-bottom: 25px; display: flex; align-items: flex-start; }
.feat-categ-item .image-part { float: left; overflow: hidden; position: relative; width: 30%; height: 100px; border-radius: 8px !important; background: #eeeeee; box-shadow: 0 5px 15px rgba(0,0,0,0.05); flex-shrink: 0; }
.feat-categ-item .image-part img { width: 100% !important; height: 100% !important; object-fit: cover !important; }
.feat-categ-item .image-part .overlay { display: none; }
.feat-categ-item .content-part { display: flex; flex-direction: column; justify-content: flex-start; float: left; box-sizing: border-box; width: 65%; margin-left: 5%; }
.feat-categ-item .content-part h5 { margin: 0 0 8px 0; }
.feat-categ-item .content-part h5 a { font-family: 'Playfair Display', 'Georgia', serif; font-size: 16px; line-height: 1.3; font-weight: 600; color: #111; display: inline !important; white-space: normal; background: transparent !important; background-image: none !important; box-shadow: none !important; transition: all 0.3s ease; }
.feat-categ-item .content-part h5 a:hover { color: #00656e !important; text-decoration: underline !important; text-decoration-color: #00656e !important; text-decoration-thickness: 2px !important; text-underline-offset: 5px !important; }
.feat-categ-item .widget-date { font-size: 10px; color: #999; text-transform: uppercase; letter-spacing: 1px; }

/* Главный пост категории */
.feat-categ-item.first { height: auto; min-height: 400px; margin-right: 4%; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 25px rgba(0,0,0,0.1); display: flex; position: relative; }
.feat-categ-item.first .image-part { 
    position: absolute !important; top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important; 
    width: 100% !important; height: 100% !important; border-radius: 0 !important; 
}
.feat-categ-item.first .image-part .overlay { 
    display: block !important; position: absolute !important; bottom: -2px !important; left: 0 !important; 
    width: 100% !important; height: 100% !important; /* Растягиваем градиент на всю высоту для плавного перехода */
    background: linear-gradient(to top, rgba(17,17,17,0.95) 0%, rgba(17,17,17,0.4) 60%, transparent 100%) !important; 
    opacity: 1 !important; pointer-events: none !important; 
}
.feat-categ-item.first .content-part { position: relative; z-index: 2; margin-top: auto; width: 100%; padding: 80px 30px 30px 30px; box-sizing: border-box; }
.feat-categ-item.first .content-part .the-content { position: relative; bottom: auto; }
.feat-categ-item.first .content-part a { font-family: 'Playfair Display', 'Georgia', serif; font-size: clamp(22px, 2.2vw, 30px) !important; line-height: 1.25 !important; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,0.4); display: inline !important; white-space: normal; margin-bottom: 12px; background: transparent !important; background-image: none !important; box-shadow: none !important; transition: all 0.3s ease; }
.feat-categ-item.first .content-part a:hover { color: #fdc04e !important; text-decoration: underline !important; text-decoration-color: #fdc04e !important; text-decoration-thickness: 2px !important; text-underline-offset: 5px !important; }
.feat-categ-item.first .widget-date, .feat-categ-item.first .author a { color: rgba(255,255,255,0.7); font-size: 11px; }


/* --- 3. Названия рубрик (Premium Accent) --- */
.section-title, .related-posts-title { display: flex !important; align-items: center !important; margin-bottom: 30px !important; width: 100% !important; }
.section-title h2, .section-title h3, .related-posts-title h2, .related-posts-title h3 { position: relative !important; display: inline-flex !important; align-items: center !important; border-left: none !important; font-family: 'Playfair Display', 'Georgia', serif !important; font-size: 22px !important; font-weight: 600 !important; letter-spacing: 1px !important; color: #111 !important; padding: 0 0 0 20px !important; margin: 0 !important; background: transparent !important; }
.section-title h2::before, .section-title h3::before, .related-posts-title h2::before, .related-posts-title h3::before { content: '' !important; position: absolute !important; left: 0 !important; top: 50% !important; transform: translateY(-50%) !important; width: 4px !important; height: 65% !important; background: linear-gradient(to bottom, #00656e, #00828e) !important; border-radius: 4px !important; }
.section-title::after, .related-posts-title::after, .section-title.side-pattern h2::after, .section-title.side-pattern h3::after { content: '' !important; display: block !important; flex-grow: 1 !important; height: 1px !important; background: none !important; background-color: #eaeaea !important; margin-left: 20px !important; position: static !important; width: auto !important; }


/* --- 4. Global Category Badges (Умные капсулы - Yellow #fdc04e) --- */
.post-categs a, .single-categs .categ a, .post-categs-box .categ a, .single-categs-box .categ a, .post-category a {
  display: inline-block !important; border-radius: 30px !important; padding: 6px 16px !important; font-family: 'Poppins', sans-serif !important;
  font-size: 11px !important; font-weight: 700 !important; letter-spacing: 1.5px !important; text-transform: uppercase !important;
  text-decoration: none !important; box-shadow: none !important; transition: all 0.3s ease !important; margin-bottom: 12px !important;
  background: #fdc04e !important; border: 1px solid #fdc04e !important; color: #111111 !important;
}
.post-categs-box .categ a::after, .single-categs-box .categ a::after, .single-categs .categ a::after { display: none !important; }
.post-categs a:hover, .single-categs .categ a:hover, .post-categs-box .categ a:hover, .single-categs-box .categ a:hover, .post-category a:hover { background: #00656e !important; border-color: #00656e !important; transform: translateY(-2px); color: #ffffff !important; }
/* Эффект матового стекла поверх фото */
.slide-text .categ a, .feat-categ-item.first .categ a, .post-wide-overlay .categ a, .overlayed .categ a, .glass-badge .categ a {
  background: rgba(255, 255, 255, 0.15) !important; backdrop-filter: blur(8px) !important; -webkit-backdrop-filter: blur(8px) !important; border: 1px solid rgba(255, 255, 255, 0.3) !important; color: #ffffff !important;
}
.slide-text .categ a:hover, .feat-categ-item.first .categ a:hover, .post-wide-overlay .categ a:hover, .overlayed .categ a:hover, .glass-badge .categ a:hover { background: #fdc04e !important; border-color: #fdc04e !important; color: #111111 !important; }
.post-categs a:not(:first-child), .post-categs-box .categ a:not(:first-child), .glass-badge .categ a:not(:first-child), .slide-text .categ a:not(:first-child) { display: none !important; }


/* --- 5. Открытая статья (Editorial Single Post) --- */
body.single-post .post-entry .single-categs .categ a, body.single-post .post-entry .single-categs-box .categ a { background: #fdc04e !important; border: 1px solid #fdc04e !important; color: #111 !important; margin-bottom: 20px !important; }
body.single-post .post-entry .single-categs .categ a:hover, body.single-post .post-entry .single-categs-box .categ a:hover { background: #00656e !important; border-color: #00656e !important; color: #ffffff !important; }
body.single-post .post-entry .entry-title { font-family: 'Playfair Display', 'Georgia', serif !important; font-size: clamp(32px, 4.5vw, 52px) !important; line-height: 1.15 !important; font-weight: 600 !important; letter-spacing: -0.5px !important; color: #111 !important; margin-top: 0 !important; margin-bottom: 25px !important; }
body.single-post .post-entry .post-meta { display: flex !important; align-items: center !important; border-top: 1px solid #eaeaea !important; border-bottom: 1px solid #eaeaea !important; padding: 15px 0 !important; margin-bottom: 40px !important; }
body.single-post .post-entry .post-meta li { font-family: 'Poppins', sans-serif !important; font-size: 12px !important; text-transform: uppercase !important; letter-spacing: 1px !important; color: #777 !important; margin-right: 20px !important; }
body.single-post .post-entry .post-meta li a { color: #111 !important; font-weight: 600 !important; }
body.single-post .post-entry .post-meta li:not(:last-child)::after { display: none !important; }

/* Blockquotes (Цитаты) */
body.single-post .post-content blockquote, body.single-post .post-content .wp-block-quote { border-left: none !important; background: transparent !important; text-align: center !important; padding: 20px 5% !important; margin: 25px auto !important; position: relative !important; max-width: 800px; }
body.single-post .post-content blockquote::before, body.single-post .post-content .wp-block-quote::before { content: '“' !important; display: block !important; font-family: 'Playfair Display', 'Georgia', serif !important; font-size: 120px !important; line-height: 1 !important; color: rgba(0, 101, 110, 0.1) !important; margin-bottom: -40px !important; }
body.single-post .post-content blockquote p, body.single-post .post-content .wp-block-quote p { font-family: 'Playfair Display', 'Georgia', serif !important; font-size: 28px !important; line-height: 1.4 !important; font-style: italic !important; color: #111 !important; position: relative; z-index: 2; margin: 0 !important; }
body.single-post .post-content blockquote cite, body.single-post .post-content .wp-block-quote cite { display: block !important; margin-top: 25px !important; font-family: 'Poppins', sans-serif !important; font-size: 13px !important; font-weight: 600 !important; letter-spacing: 2px !important; text-transform: uppercase !important; color: #00656e !important; font-style: normal !important; }




/* --- 6. Блок Комментариев --- */
.comments-area { margin-top: 60px !important; padding-top: 40px !important; border-top: 1px solid #eaeaea !important; }
.comments-title h3, h3#reply-title { font-family: 'Playfair Display', 'Georgia', serif !important; font-size: 26px !important; font-weight: 600 !important; letter-spacing: 0.5px !important; text-transform: none !important; color: #111 !important; margin-bottom: 30px !important; }
.thecomment { padding: 25px 0 !important; border-bottom: 1px solid #f2f2f2 !important; }
.thecomment .author-img img { border-radius: 50% !important; box-shadow: 0 4px 10px rgba(0,0,0,0.05) !important; }
.thecomment .comment-text { padding-left: 15px !important; }
.thecomment .comment-text h6.author { font-family: 'Poppins', sans-serif !important; font-size: 15px !important; font-weight: 600 !important; color: #111 !important; }
.comment-text .date { display: block !important; font-family: 'Poppins', sans-serif !important; font-size: 11px !important; letter-spacing: 1px !important; text-transform: uppercase !important; color: #999 !important; margin-top: 4px !important; }
.thecomment p { font-family: 'Georgia', serif !important; font-size: 16px !important; line-height: 1.6 !important; color: #444 !important; margin-top: 12px !important; }
.post-comments .reply i { display: none !important; }
.post-comments span.reply a { display: inline-block !important; font-family: 'Poppins', sans-serif !important; font-size: 10px !important; font-weight: 600 !important; letter-spacing: 2px !important; text-transform: uppercase !important; color: #00656e !important; padding: 0 !important; transition: all 0.3s ease !important; }
.post-comments span.reply a:hover { color: #111 !important; }
#respond { margin-top: 40px !important; background: #fcfcfc !important; padding: 30px !important; border-radius: 12px !important; }
#commentform p { margin-bottom: 20px !important; }
#commentform label { font-family: 'Poppins', sans-serif !important; font-size: 12px !important; font-weight: 600 !important; color: #555 !important; text-transform: uppercase !important; letter-spacing: 1px !important; margin-bottom: 8px !important; }


/* --- 7. Журнальная карточка автора --- */
body.single-post .about-author { display: flex !important; align-items: center !important; background: #fafafa !important; border: 1px solid #eaeaea !important; border-radius: 16px !important; padding: 40px !important; margin: 60px 0 !important; box-shadow: 0 10px 30px rgba(0,0,0,0.02) !important; }
body.single-post .about-author .author-avatar { flex-shrink: 0 !important; margin-right: 35px !important; }
body.single-post .about-author .author-avatar img { width: 110px !important; height: 110px !important; border-radius: 50% !important; object-fit: cover !important; box-shadow: 0 8px 20px rgba(0, 101, 110, 0.15) !important; }
body.single-post .about-author .author-info { flex-grow: 1 !important; }
body.single-post .about-author h4, body.single-post .about-author h5, body.single-post .about-author .author-name { font-family: 'Playfair Display', 'Georgia', serif !important; font-size: 24px !important; font-weight: 600 !important; color: #111 !important; margin: 0 0 12px 0 !important; display: flex !important; flex-direction: column-reverse !important; }
body.single-post .about-author h4::after, body.single-post .about-author h5::after, body.single-post .about-author .author-name::after { content: 'Written by' !important; display: block !important; font-family: 'Poppins', sans-serif !important; font-size: 10px !important; font-weight: 600 !important; letter-spacing: 2px !important; text-transform: uppercase !important; color: #00656e !important; margin-bottom: 6px !important; }
body.single-post .about-author p { font-family: 'Georgia', serif !important; font-size: 15px !important; line-height: 1.6 !important; color: #555 !important; margin: 0 !important; }
body.single-post .about-author .author-socials { margin-top: 15px !important; }
body.single-post .about-author .author-socials a { display: inline-block !important; color: #999 !important; font-size: 15px !important; margin-right: 15px !important; transition: all 0.3s ease !important; }
body.single-post .about-author .author-socials a:hover { color: #00656e !important; transform: translateY(-2px); }


/* --- 8. Адаптивность для наших блоков (Media Queries) --- */
@media (max-width: 768px) {
  .anymag-main-slider, .slide-item { height: 400px !important; }
  .slide-text { padding: 0 20px !important; bottom: 25px !important; }
  .slide-text h2 a, .slide-text h3 a { font-size: clamp(20px, 6vw, 24px) !important; -webkit-line-clamp: 4; }
  .swiper-button-next, .swiper-button-prev { display: none !important; }
  
  .feat-categ-item.first { width: 100%; min-height: 380px; margin-right: 0; margin-bottom: 25px; }
  .feat-categ-item { width: 100%; min-height: 100px; height: auto; }
  .feat-categ-item .image-part { width: 35%; }
  .feat-categ-item .content-part { width: 60%; }
  .feat-categ-item.first .content-part a { font-size: clamp(20px, 6vw, 26px) !important; }
  .feat-categ-item.first .content-part { padding: 40px 20px 20px 20px; }
  
  body.single-post .about-author { flex-direction: column !important; text-align: center !important; padding: 30px 20px !important; }
  body.single-post .about-author .author-avatar { margin: 0 0 20px 0 !important; }
  body.single-post .about-author .author-socials { justify-content: center !important; display: flex !important; }
}