/*
Theme Name: SociallyViral
Theme URI: http://mythemeshop.com/themes/sociallyviral-free/
Author: MyThemeShop
Author URI: https://mythemeshop.com
Description: SociallyViral is an engaging WordPress theme that is designed to help boost social shares and get you more viral traffic from top social media websites. =====> DEMO ====>>>> http://demo.mythemeshop.com/s/?theme=SociallyViral%20Free
Version: 1.0.10
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: right-sidebar, custom-background, custom-header, custom-menu, featured-images, theme-options, threaded-comments, translation-ready, two-columns, one-column
Text Domain: sociallyviral

SociallyViral WordPress Theme, Copyright (C) 2015, MyThemeShop
SociallyViral is distributed under the terms of the GNU GPL

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 Normalize
2.0 Font Icons
    2.1 Typography
3.0 Elements
4.0 Forms
5.0 Navigation
    5.1 Links
    5.2 Menus
6.0 Accessibility
7.0 Alignments
8.0 Clearings
9.0 Widgets
10.0 Content
    10.1 Posts and pages
    10.2 Asides
    10.3 Comments
11.0 Infinite scroll
12.0 Media
    12.1 Captions
    12.2 Galleries
--------------------------------------------------------------*/
/*--------------------------------------------------------------
1.0 Normalize
--------------------------------------------------------------*/
html { font-family: sans-serif; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
body { margin: 0 }
article, aside, details, figcaption, figure, footer, header, main, menu, nav, section, summary { display: block }
audio, canvas, progress, video { display: inline-block; vertical-align: baseline; }
audio:not([controls]) { display: none; height: 0; }
[hidden], template { display: none }
a { background-color: transparent }
a:active, a:hover { outline: 0 }
abbr[title] { border-bottom: 1px dotted }
b, strong { font-weight: bold }
dfn { font-style: italic }
h1 { font-size: 2em }
mark { background: #ff0; color: #000; }
small { font-size: 80% }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em }
sub { bottom: -0.25em }
img { border: 0 }
svg:not(:root) { overflow: hidden }
figure { margin: 1em 0px }
hr { box-sizing: content-box; height: 0; }
pre { overflow: auto }
code, kbd, pre, samp { font-family: monospace, monospace; font-size: 1em; }
button, input, optgroup, select, textarea { color: inherit; font: inherit; margin: 0; }
button { overflow: visible }
button, select { text-transform: none }
button, html input[type="button"], input[type="reset"], input[type="submit"] { -webkit-appearance: button; cursor: pointer; }
button[disabled], html input[disabled] { cursor: default }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
input { line-height: normal }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; }
input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { height: auto }
input[type="search"] { -webkit-appearance: textfield; box-sizing: content-box; }
input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { -webkit-appearance: none }
#commentform .comment-form-cookies-consent label { 
    padding: 0;
    cursor: pointer;
    margin-left: 7px;
    line-height: 18px;
    vertical-align: top;
}
#commentform .comment-form-cookies-consent input {
    width: 18px;
    height: 18px;
    -webkit-appearance: checkbox;
}
fieldset { border: 0; margin: 0; padding: 0; }
legend { border: 0; padding: 0; }
textarea { overflow: auto }
optgroup { font-weight: bold }
table { border-collapse: collapse; border-spacing: 0; }
td, th { padding: 0 }
/*--------------------------------------------------------------
2.0 Font Icons
--------------------------------------------------------------*/
@font-face {
  font-family: 'sociallyviral';
  src: url('fonts/sociallyviral.eot');
  src: url('fonts/sociallyviral.eot?#iefix') format('embedded-opentype'),
       url('fonts/sociallyviral.woff') format('woff'),
       url('fonts/sociallyviral.ttf') format('truetype'),
       url('fonts/sociallyviral.svg') format('svg');
  font-weight: normal;
  font-style: normal;
} 
[class^="icon-"]:before, [class*=" icon-"]:before {
  font-family: "sociallyviral";
  font-style: normal;
  font-weight: normal;
  speak: none;
  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  margin-right: 0;
  text-align: center;
  font-variant: normal;
  text-transform: none;
  line-height: 1em;
  margin-left: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.icon-angle-double-right:before { content: '\e800'; }
.icon-angle-double-left:before { content: '\e801'; }
.icon-down-dir:before { content: '\e802'; }
.icon-angle-up:before { content: '\e803'; }
.icon-search:before { content: '\e804'; }
.icon-youtube-play:before { content: '\e805'; }
.icon-clock:before { content: '\e806'; }
.icon-youtube-play-1:before { content: '\e807'; }
.icon-google-plus:before { content: '\e808'; }
.icon-plus:before { content: '\e809'; }
.icon-twitter:before { content: '\e80a'; }
.icon-chat:before { content: '\e80b'; }
.icon-calendar:before { content: '\e80c'; }
.icon-tags:before { content: '\e80d'; }
.icon-star:before { content: '\e80e'; }
.icon-star-empty:before { content: '\e80f'; }
.icon-star-half:before { content: '\e810'; }
.icon-star-half-alt:before { content: '\e811'; }
.icon-facebook:before { content: '\e812'; }
.icon-user:before { content: '\e813'; }
.icon-globe:before { content: '\e814'; }
.icon-menu:before { content: '\e816'; }
/*--------------------------------------------------------------
2.1 Typography
--------------------------------------------------------------*/
body, button, input, select, textarea { font-family: "Roboto", sans-serif; color: #707070; font-size: 16px; font-size: 1.1rem; line-height: 1.5; }
h1, h2, h3, h4, h5, h6 { margin: 0; clear: both; color: #555; font-weight: normal; margin-bottom: 12px; }
h1 { font-size: 38px; line-height: 1.1; }
h2 { font-size: 34px; line-height: 1.2; }
h3 { font-size: 30px; line-height: 1.3; }
h4 { font-size: 25px; line-height: 1.4; }
h5 { font-size: 21px; line-height: 1.4; }
h6 { font-size: 18px; line-height: 1.4; }
p { margin-bottom: 1.5em; margin-top: 0; }
b, strong { font-weight: bold }
dfn, cite, em, i { font-style: italic }
blockquote { margin: 0 1.5em }
address { margin: 0 0 1.5em }
pre { background: #eee; font-family: "Courier 10 Pitch", Courier, monospace; font-size: 15px; margin-bottom: 1.6em; max-width: 100%; overflow: auto; padding: 1.6em; }
code, kbd, tt, var { font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; font-size: 15px; font-size: 0.9375rem; }
abbr, acronym { border-bottom: 1px dotted #666; cursor: help; }
mark, ins { text-decoration: none; }
small { font-size: 75% }
big { font-size: 125% }
/*--------------------------------------------------------------
3.0 Elements
--------------------------------------------------------------*/
html { box-sizing: border-box }
*, *:before, *:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http: //css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */ box-sizing: inherit;     }
body { background: #F0EDE9; /* Fallback for when there is no custom background color defined. */ }
/* Blockquote CSS */
blockquote {
  border-left: 3px solid #F47555;
  color: #1a1a1a;
  font-family: Georgia, Times, "Times New Roman", serif;
  font-size: 1.1em;
 /* font-style: italic;*/
  line-height: 1.8em;
  margin: 1.1em -0.1em;
  padding: 0.5em 2em;
  position: relative;
  transition: .2s border ease-in-out;
  z-index: 0;
	display: inline-block;
}
blockquote:before{
    content: "";
    position: absolute;
    top: 50%;
    left: -4px;
    height: 2em;
    background-color: #fff;
    width: 5px;
    margin-top: -1em;
}
blockquote:after {
	position: absolute;
    top: 50%;
    font-weight: 900;
    content: "\f10e";
    font-family: 'Font Awesome 6 Free';
    left: -0.5em;
    color: #F47555;
    font-style: normal;
    line-height: 1em;
    text-align: center;
    text-indent: -2px;
    width: 1em;
    margin-top: -0.5em;
    transition: .2s all ease-in-out, .4s transform ease-in-out;
}
blockquote.format:before, &.format:after {display: none;}
blockquote.book:after {content: "\f12e";}
blockquote.podcast:after {content: "\f32d";}
blockquote.lyrics:after {content: "\f333";}
blockquote.favorite:after {content: "\f384";}
blockquote:active:after {transform: rotateY(360deg);}
blockquote  cite {
    display: block;
    font-size: 0.75em;
    line-height: 1.8em;
    margin-top: 1em;
}
// Media Queries
@media (max-width: 980px) {
	blockquote {font-size: 1.1em; margin: 1.1em -2em;}  
}
@media (max-width: 767px) {
blockquote {
    border-top: 2px solid #F47555;
    border-bottom: 2px solid #F47555;
    border-left: none;
    margin: 1.5em 0;
    padding: 0.75em 0em;
	}
	blockquote p{margin-botom:1em;}
	blockquote:before{
      left: 50%;
      top: 0;
      height: 4px;
      margin-top: -3px;
      margin-left: -1em;
      width: 2em;
	}
	blockquote:after{
      font-size: 0.75em;
      left: 50%;
      top: 0;
      margin-top: -0.5em;
      margin-left: -0.5em;
	}
	blockquote cite {text-align: right;}
}
/* End Blockquote CSS */
hr {border: 0; height: 1px; margin-bottom: 1.5em; }
.entry-content ul, .entry-content ol { margin: 0 0 1.5em 2em; padding: 0; }
ul { list-style: disc; padding: 0; margin: 0; }
ol { list-style: decimal }
li > ul, li > ol { margin-bottom: 0; margin-left: 1.5em; }
dt { font-weight: bold }
dd { margin: 0 1.5em 1.5em }
img { height: auto; /* Make sure images are scaled correctly. */ max-width: 100%; /* Adhere to container width. */ ; ; ; ; }
table { margin: 0 0 1.5em; width: 100%; }
/*--------------------------------------------------------------
4.0 Forms
--------------------------------------------------------------*/
button, input[type="button"], input[type="reset"], input[type="submit"] { border: 1px solid; border-color: #ccc #ccc #bbb; background: #e6e6e6; color: rgba(0, 0, 0, .8); font-size: 12px; font-size: 0.75rem; line-height: 1; padding: .6em 1em .4em; }
button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover { box-shadow: none }
button:focus, input[type="button"]:focus, input[type="reset"]:focus, input[type="submit"]:focus, button:active, input[type="button"]:active, input[type="reset"]:active, input[type="submit"]:active { box-shadow: none }
input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], textarea { color: #666; border: 1px solid #F0EDE9; background-color: #f0ede9; }
input[type="text"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="password"]:focus, input[type="search"]:focus, textarea:focus { color: #111 }
input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"] { padding: 3px }
textarea { padding-left: 3px; width: 100%; }
/*--------------------------------------------------------------
5.0 Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
5.1 Links
--------------------------------------------------------------*/
a { color: #3e476e; text-decoration: none; -webkit-transition: color 0.25s ease-in; -moz-transition: color 0.25s ease-in; -ms-transition: color 0.25s ease-in; -o-transition: color 0.25s ease-in; transition: color 0.25s ease-in; }
a:hover, a:focus, a:active { color: #555; outline: 0; }
a:hover, .post-info a:hover, .single_post .post-info a:hover, .copyrights a:hover, #navigation.footer-navigation ul li a:hover { color: #F47555 }
/*--------------------------------------------------------------
5.2 Menus
--------------------------------------------------------------*/
.site-main .comment-navigation, .site-main .posts-navigation, .site-main .post-navigation { margin: 0 0 25px; float: left; }
.pagination ul { list-style-type: none; padding: 0; margin: 0; }
.nav-next a, .nav-previous a, .pagination a, .pagination .current { float: left; padding: 15px 15px; background: #FFF; -webkit-box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05); box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05); line-height: 1; font-size: 18px; text-transform: uppercase; min-width: 48px; text-align: center; margin-bottom: 5px; }
.nav-previous { float: left }
.nav-next { float: right }
.posts-navigation { clear: both; width: 100%; float: left; }
.pagination .current { color: #f47555 }
.pagination a, .pagination .current { margin-right: 1px }
.page-numbers.dots { display: none }
.page-links a { min-width: 40px; line-height: 40px; display: inline-block; text-align: center; background-color: #4cb1da; color: #fff; margin-left: 10px; }
/*-[ Toggle menu ]---------------------------*/
.toggle-menu ul ul { display: none }
.toggle-menu .toggle-menu-item-parent { position: relative }
.toggle-menu .toggle-caret { position: absolute; top: 0; right: 0; text-align: center; cursor: pointer; line-height: inherit; }
.toggle-menu .toggle-caret .fa { width: 20px; text-align: center; font-size: inherit; color: inherit; line-height: 20px; }
.toggle-menu .active > .toggle-caret .fa:before { content: "\f068" } /*minus*/
.toggle-menu .toggle-caret:hover .fa { }
/*--------------------------------------------------------------
6.0 Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text { clip: rect(1px, 1px, 1px, 1px); position: absolute !important; height: 1px; width: 1px; overflow: hidden; }
.screen-reader-text:hover, .screen-reader-text:active, .screen-reader-text:focus { background-color: #f1f1f1; nowhitespace: afterproperty; nowhitespace: afterproperty; nowhitespace: afterproperty; nowhitespace: afterproperty; border-radius: 3px; box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); clip: auto !important; color: #21759b; display: block; font-size: 14px; font-size: 0.875rem; font-weight: bold; height: auto; left: 5px; line-height: normal; padding: 15px 23px 14px; text-decoration: none; top: 5px; width: auto; z-index: 100000; /* Above WP toolbar. */ }
/*--------------------------------------------------------------
7.0 Alignments
--------------------------------------------------------------*/
.alignleft { display: inline; float: left; margin-right: 1.5em; }
.alignright { display: inline; float: right; margin-left: 1.5em; }
.aligncenter { clear: both; display: block; margin-left: auto; margin-right: auto; }
/*--------------------------------------------------------------
8.0 Clearings
--------------------------------------------------------------*/
.clear:before, .clear:after, .entry-content:before, .entry-content:after, .comment-content:before, .comment-content:after, .site-header:before, .site-header:after, .site-content:before, .site-content:after, .site-footer:before, .site-footer:after { content: ""; display: table; }
.clear:after, .entry-content:after, .comment-content:after, .site-header:after, .site-content:after, .site-footer:after { clear: both }
/*--------------------------------------------------------------
9.0 Widgets
--------------------------------------------------------------*/
.widget { margin: 0 0 1.5em }
/* Make sure select elements fit in widgets. */
.widget select { max-width: 100% }
/* Search widget. */
.widget_search .search-submit { display: none }
/* Calender Widget */
#wp-calendar { margin-bottom: 0; background-color: #fff; border: 1px solid #F0EDE9; }
#wp-calendar td { text-align: center; padding: 7px 0; border-top: 1px solid #F0EDE9; border-right: 1px solid #F0EDE9; }
#wp-calendar caption { font-size: 16px; padding-bottom: 10px; font-weight: bold; }
#wp-calendar #prev { text-align: left; padding-left: 12px; }
#wp-calendar #next { text-align: right; padding-right: 12px; }
#wp-calendar thead th { padding: 10px 0; text-align: center; }
/*--------------------------------------------------------------
10.0 Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
10.1 Posts and pages
--------------------------------------------------------------*/
.sticky { display: block }
.hentry { margin: 0 0 1.5em }
.single .byline, .group-blog .byline { display: inline }
.page-content, .entry-content, .entry-summary { margin: 1.5em 0 0 }
.page-links { clear: both; margin: 0 0 1.5em; }
.single_post { background: #fff; float: left; width: 100%; padding: 25px; box-sizing: border-box; margin-top: 6px; box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05); margin-bottom: 30px; }
.breadcrumb { margin: 20px 0 5px 0; font-size: 14px; color: #a4a4a4; }
.breadcrumb a { font-size: 14px; color: #a4a4a4; }
.breadcrumb a:hover { color: #f47555 }
.breadcrumb div { display: inline-block; margin-right: 10px; }
ol.breadcrumb {list-style: none;}
ol.breadcrumb li {display: inline-block;}
#content_box { width: 67%; float: left; margin-bottom: 10px; padding: 0; }
.single article.post { width: 100%; box-shadow: none; }
.entry-header > h1 { margin-top: 0; padding-top: 0; }
.single .entry-header > h1 { margin-bottom: 10px; font-size: 38px; line-height: 1.2; font-weight: normal; }
.post-tags { float: left; width: 100%; margin-bottom: 25px; }
.related-posts article.latestpost .entry-title { font-size: 18px; line-height: 1; margin-bottom: 0; }
.related-posts article.post {width: 49%;margin-right: 0%;background: #faf9f8;}
.related-posts article.post header { margin-bottom: 0;min-height: 105px; }
.related-posts article.post:nth-of-type(2), .related-posts article.post:nth-of-type(3n+5) { margin-right: 3.04% }
.related-posts article.post:nth-of-type(3n) { margin-right: 0 }
.related-posts article.post:nth-of-type(4) { clear: left }
.related-posts h4, #respond h4, #respond h3, .total-comments, .postauthor h4, .postauthor-top, .comments-title { margin-bottom: 25px; font-weight: 500; font-size: 22px; margin-top: 10px; line-height: 1; }
.related-posts {display: flex;flex-direction: row; flex-wrap: wrap;align-content: center; justify-content: space-between;align-items: center;}
.related-posts article.post:nth-of-type(2) {width: 49%;margin-right:0px;background: #faf9f8;}
h1.page-title { margin-bottom: 20px; font-size: 24px; margin-top: -15px; }
/*--------------------------------------------------------------
10.2 Asides
--------------------------------------------------------------*/
.blog .format-aside .entry-title, .archive .format-aside .entry-title { display: none }
.sidebar.c-4-12 { float: right; width: 30.7%; line-height: 20px; max-width: 344px; padding: 22px; background-color: #f0ede9; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
#sidebar .widget { width: 100%; font-size: 16px; color: #707070; margin-bottom: 30px; display: inline-block; }
.widget > h3 { font-size: 18px; color: #555555; line-height: 18px; margin: 0 0 30px 0; padding: 0; }
.widget .widget-title { font-weight: 500 }
.widget ul { list-style-type: none; margin: 0; padding: 0; }
.widget_categories li, .widget_archive li, .widget_pages li, .widget_meta li, .widget_recent_entries li, .widget_rss li, .widget_nav_menu li { width: 100%; padding: 5px 0; list-style-type: square; margin-left: 18px; }
.oddad { float: left }
.evenad { float: right }
.sidebar.c-4-12 .advanced-recent-posts li.vertical-small { display: inline-block; padding: 0 0 15px 0; margin-bottom: 15px; width: 100%; }
.sidebar.c-4-12 .advanced-recent-posts li.vertical-small:last-of-type { margin: 0; padding: 0; }
.sidebar.c-4-12 .advanced-recent-posts img { float: left }
.sidebar.c-4-12 .advanced-recent-posts .horizontal-container-inner img { margin-right: 15px }
.sidebar.c-4-12 .advanced-recent-posts li.horizontal-small { padding: 15px 0; overflow: hidden; }
.sidebar.c-4-12 .advanced-recent-posts li.horizontal-small:first-of-type { padding-top: 0 }
.sidebar.c-4-12 .advanced-recent-posts li.horizontal-small:last-of-type { padding-bottom: 0 }
.sidebar.c-4-12 .advanced-recent-posts li.horizontal-small .post-data { overflow: hidden }
.sidebar.c-4-12 .advanced-recent-posts li.horizontal-small .post-info { margin-top: 5px }
.widget .vertical-small .post-data { float: left; width: 100%; padding: 15px; box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05); -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
#sidebar .widget.vertical-small .post-data { background: #fff }
.widget .vertical-small .post-title { clear: both; margin-bottom: 5px; float: left; width: 100%; font-size: 20px; line-height: 28px; }
.widget .vertical-small .post-info { width: 100%; float: left; margin-bottom: 10px; }
.post-info > span, .widget .vertical-small .post-info > span { margin-right: 35px }
.post-info > span:last-of-type { margin-right: 0 }
.single .thecategory { padding: 8px 15px 8px 12px; margin-left: 0; margin-bottom: 15px; float: left; background-color: #4cb1da; color: #fff; }
.single .thecategory a { color: inherit }
.tagcloud a { background: #f47555; padding: 5px 10px; display: inline-block; color: #ffffff; font-size: 14px !important; margin: 0 0 4px 0; -webkit-transition: background 0.25s ease-in; transition: background 0.25s ease-in; }
.tagcloud a:hover { background: #4cb1da }
#commentform input#submit { line-height: 1; background-color: #3f4770; text-transform: uppercase; padding: 12px 15px; color: #fff; text-decoration: none; float: left; cursor: pointer; display: inline-block; border: none; transition: all 0.2s linear; font-weight: normal; font-size: 18px; margin-top: 5px; text-shadow: none; }
#commentform input#submit:hover { background-color: #01cedf; }
/*--------------------------------------------------------------
10.21 Author Box
--------------------------------------------------------------*/
.author-wrap { border: 1px solid #E9E9E9; min-height: 162px; padding-right: 20px; margin-bottom: 30px; }
.postauthor img { float: left; margin: 0 20px 0 0; width: 21.968%; }
.postauthor h5 { font-weight: normal; font-size: 20px; padding: 0; margin: 20px 0 0 0; line-height: 1; text-transform: capitalize; color: #555; display: inline-block; }
.postauthor p { overflow: hidden }
.postauthor, .related-posts, #comments { float: left; width: 100%; }
/*--------------------------------------------------------------
10.3 Comments
--------------------------------------------------------------*/
.comment-content a { word-wrap: break-word }
.bypostauthor { display: block }
#comments label { min-width: 80px; display: inline-block; }
.comment-form-comment label { margin-bottom: 5px }
.comment-list { list-style-type: none; padding: 0; margin: 0; }
.comment-list li { margin: 0 0 25px 0; padding-left: 0; float: left; width: 100%; position: relative; }
.comment-list li { list-style-type: none }
.comment-list li .children { margin-top: 20px ;float: left;width: auto;margin-left: 70px;}
#comments .avatar { float: left; margin-right: 20px; margin-top: 7px; }
.comment-meta { position: relative }
.comment-metadata a { color: #a4a4a4; font-size: 12px; text-transform: capitalize; position: absolute; right: 0; top: 0; }
.comment-metadata time { margin-right: 30px }
.comment-metadata a:hover { color: #F47555 }
.comment-content { overflow: hidden }
.comment-content p:last-child { margin-bottom: 0 }
.reply { margin-top: 0px; padding-bottom: 0px; overflow: hidden; float: right; }
.reply a { padding: 0; color: #a4a4a4; font-size: 12px; }
.reply a:hover { color: #F47555 }
.says {display:none;}
/*--------------------------------------------------------------
11.0 Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */ display: none;     }
/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer { display: block }
/*--------------------------------------------------------------
12.0 Media
--------------------------------------------------------------*/
.page-content .wp-smiley, .entry-content .wp-smiley, .comment-content .wp-smiley { border: none; margin-bottom: 0; margin-top: 0; padding: 0; }
/* Make sure embeds and iframes fit their containers. */
embed, iframe, object { max-width: 100% }
/*--------------------------------------------------------------
12.1 Captions
--------------------------------------------------------------*/
.wp-caption { margin-bottom: 1.5em; max-width: 100%; }
.wp-caption img[class*="wp-image-"] { display: block; margin: 0 auto; }
.wp-caption-text { text-align: center }
.wp-caption .wp-caption-text { margin: 0.8075em 0 }
/*--------------------------------------------------------------
12.2 Galleries
--------------------------------------------------------------*/
.gallery { margin-bottom: 1.5em }
.gallery-item { display: inline-block; text-align: center; vertical-align: top; width: 100%; padding-right: 3px;padding-left: 3px;margin-bottom: 6px;}
.gallery-columns-2 .gallery-item { max-width: 50% }
.gallery-columns-3 .gallery-item { max-width: 33.33% }
.gallery-columns-4 .gallery-item { max-width: 25% }
.gallery-columns-5 .gallery-item { max-width: 20% }
.gallery-columns-6 .gallery-item { max-width: 16.66% }
.gallery-columns-7 .gallery-item { max-width: 14.28% }
.gallery-columns-8 .gallery-item { max-width: 12.5% }
.gallery-columns-9 .gallery-item { max-width: 11.11% }
.gallery-caption { display: block }
/*-----------------------------------
 404 Page
------------------------------------*/
.error404 .site-content, .search-no-results .site-content { margin-top: 20px; padding-bottom: 100px; }
h1.big { font-size: 100px }
/*-----------------------------------
 Main Content
------------------------------------*/
.main-container { width: 100%; max-width: 1170px; margin: 0 auto; clear: both; display: block; padding: 0; }
.container { max-width: 1170px; margin: 0 auto; }
/*-[header]-----------------------------------*/
article.post { width: 31.6%; float: left; margin-bottom: 10px; margin-right: 2.6%; background: #FFF; box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05); }
article.featuredpost.post { width: 65.8% }
article.post:nth-of-type(2) { margin-right: 0 }
article.post:nth-of-type(3n+5) { margin-right: 0 }
article.post:nth-of-type(3) { margin-right: 2.6% }
.home article.post:nth-of-type(6n) { clear: left }
.paged article.post:nth-of-type(2), .paged article.post:nth-of-type(3n+5) { margin-right: 2.6% }
.paged article.post:nth-of-type(6n) { clear: none }
.paged article.post:nth-of-type(3n+1) { clear: left }
.paged article.post:nth-of-type(3n) { margin-right: 0 }
.homcategory article.post:nth-of-type(2), .homcategory article.post:nth-of-type(3n+5), .search-area article.post:nth-of-type(2), .search-area article.post:nth-of-type(3n+5), .content-archive article.post:nth-of-type(2), .content-archive article.post:nth-of-type(3n+5) { margin-right: 2.6% }
.homcategory article.post:nth-of-type(6n) {clear: none;}
.homcategory article.post:nth-of-type(3n), .search-area article.post:nth-of-type(3n), .content-archive article.post:nth-of-type(3n) { margin-right: 0 }
.related-posts article.post:nth-of-type(2), .related-posts article.post:nth-of-type(3n+5) { margin-right: 0 }
.featured-thumbnail { float: left; max-width: 100%; width: 100%; }
#featured-thumbnail { float: left; max-width: 100%; display: block; position: relative; width: 100%; }
.featured-thumbnail img { margin-bottom: 0; width: 100%; float: left; width: 100%; }
article.latestpost .entry-title { font-weight: normal; font-size: 24px; color: #555; margin-top: 0; margin-bottom: 5px; line-height: 36px; }
.latestpost .title { display: block; margin-bottom: 7px; }
.latestpost.featuredpost .title { margin-bottom: 0px }
.latestpost header { padding: 15px 20px 12px; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; margin-bottom: 0; min-height: 118px; overflow: hidden; }
.latestpost.featuredpost header { min-height: 118px }
.post-info { display: block; color: #A4A4A4; float: left; clear: both; width: 100%; font-size: 13px; line-height: 2; }
.single .post-info { margin-bottom: 20px }
.post-info a, .single_post .post-info a { color: #A4A4A4 }
.post-info > span:last-child { margin-right: 0 }
.post-info i { margin-right: 3px }
.post-info > span { margin-right: 35px }
.post-info > span:first-child i:before { margin-left: 0 }
.post-label { position: absolute; top: 0; right: 0; padding: 0 15px; line-height: 44px; background: #3e476e; color: #fff; float: left; }
.post-label svg { float: left; fill: #fff; }
.post-label span { margin-left: 5px; line-height: 21px; }
.no-results .page-content { margin-bottom: 50px; float: left; margin-top: 0; }
/*-[ Search Form ]------------------*/
#searchform { padding: 0; float: left; clear: both; width: 100%; position: relative; }
.article #searchform { max-width: 300px }
#searchform .sbutton, #searchform #searchsubmit { right: 0; top: 0; padding: 9px 0; float: right; border: 0; width: 42px; height: 42px; cursor: pointer; text-align: center; padding-top: 10px; color: #a4a4a4; -webkit-transition: all 0.25s linear; -moz-transition: all 0.25s linear; transition: all 0.25s linear; background: #F47555; fill: #fff; z-index: 10; position: absolute; border: 0; vertical-align: top; text-shadow: none; }
#searchform .icon-search { font-size: 20px; top: 0px; color: #FFF; background: #F47555; position: absolute; right: 0; padding: 0; height: 42px; width: 42px; text-align: center; line-height: 42px; z-index: 100; cursor: pointer; }
#s { width: 100%; background-color: #fff; float: left; padding: 8px 0; text-indent: 10px; color: #a4a4a4; border: 1px solid #f3f3f3; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; height: 42px; outline: none; font-size: 14px; }
.site-footer { position: relative; overflow: hidden; clear: both; padding:0px 25px;background: #f3f3f3; -webkit-box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05); box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05); }
.site-footer { position: relative; overflow: hidden; clear: both; background: #f3f3f3; -webkit-box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05); box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05); }
.site-info.container { width: 100%; clear: both; padding-bottom: 29px; padding-top: 38px; color: #c5b1b5; font-size: 14px; font-weight: normal; overflow: hidden; }
.copyrights a { color: #c5b1b5; border-bottom: 1px dotted; }
.vverch {text-align:center;margin-top: 20px;}
a.toplink { font-size: 40px; line-height: 15px; position: relative; color: #A4A4A4; }
a.toplink i { line-height: 15px }
.copyrights { float: left }
#navigation.footer-navigation { float: right }
#navigation.footer-navigation ul { list-style-type: none }
#navigation.footer-navigation ul.sub-menu { display: none!important }
#navigation.footer-navigation ul li { display: inline-block; padding-right: 12px; padding-left: 12px; border-right: 1px solid #D2D2D2; line-height: 1; }
#navigation.footer-navigation ul li:last-of-type { border-right: 0; padding-right: 0; }
#navigation.footer-navigation ul li:first-child { padding-left: 0 }
#navigation.footer-navigation ul li:last-child { padding-right: 0; border-right: 0; }
#navigation.footer-navigation ul li a { color: #A4A4A4 }
#navigation.footer-navigation ul li a:after { display: none }
.menu-primary-container li { position: relative }
.menu-primary-container ul.sub-menu { margin: 4px 0 -7px 10px }

/** Мої css стилі*/
.single-thumbnail {display:inline-block; min-width: 100%;margin-bottom: 10px;}
.single-thumbnail img {width: 799px;}
#page   { background: #eaeaea /*#f7f7f7 url(/wp-content/themes/sociallyviral/images/patterns/29.gif) repeat !important;*/ }
.main-container {background:#fff;border: 1px solid #f3f3f3;border-bottom:none;}
.breadcrumb {padding-left: 25px;}
.homrub {padding: 0 25px;}
.tag_list {
    list-style: none;
    display: inline-block;
    margin: 10px 0 10px;
    padding: 0;
    font-size: 0;
}
.tag_list li {
    margin: 0px 20px 0px 0;
    display: inline-block;
}
.tag_list li a {
    font: 500 14px/1 'Roboto', sans-serif;
    font-size: 14px;
    color: #3f4770;
    text-decoration: none;
    line-height: 1.5;
}
.tag_list li a:before {
    content: '#';
}
.tag_list li a:hover {text-decoration: underline;}
.h4single {display: block;margin-bottom: 25px;font-weight: 500;font-size: 22px;margin-top: 10px;line-height: 1;clear: both;color: #555;min-width: 100%;}
.proavtora {    
	line-height: 1.375em;
    font-weight: 500;
    color: #555;
    font-weight: normal;
    font-size: 20px;
    padding: 0;
    margin: 20px 0 15px;
    text-transform: capitalize;
    display: inline-block;}
.postcat {background:#faf9f8 !important;}
span.toc_number {
    color: #444 !important;
    padding-right: 0.3em;
}
.avtory {
    border-bottom-width: 1px;
    border-bottom-style: solid;
    padding-bottom: 5px;
    border-bottom-color: #e4e4e4;
    min-height: 142px;
    margin-top: 20px;
	margin-bottom:30px;
    text-align: justify;
    display: inline-block;
}
.avtory img {border-radius: 50%;float: left;margin-right: 15px; }
.avtory span {font-size: 1.2rem;color: #414141; display: block;}
.avtory p {text-align: left;margin-bottom: 5px;font-size: 1rem;}
/* Rating Star css */
.br-theme-css-stars .br-widget {
  white-space: nowrap;
}
.ago{position:relative;}
.star-rating p{display:none;}
/*.star-rating{opacity:0.5;}
.star-rating:hover{opacity:1;}*/
/*.star-rating:before{content:'Оценка:'; margin-right:5px;    vertical-align: middle;}*/
.star-rating .star{display:inline-block;    vertical-align: middle;}
.br-theme-css-stars .br-widget a,.star-rating .star ,.star-rating.full .star{
  text-decoration: none;
  line-height: 40px;
  font-size: 40px;
  margin-right: 5px;
}
.star-rating .star { font-size: 20px;
    margin-right: 0px;
    line-height: 20px;}
.br-theme-css-stars .br-widget a:after ,.star-rating .star:after{
  content: "\2605";
  color: #d2d2d2;
}
.br-theme-css-stars .br-widget a.br-active:after,.star-rating .star.star-full:after  {
  color: #EDB867;
}
.br-theme-css-stars .br-widget a.br-selected:after {
  color: #EDB867;
}
.br-theme-css-stars .br-widget .br-current-rating {
  display: none;
}
.br-theme-css-stars .br-readonly a {
  cursor: default;
}
@media print {
  .br-theme-css-stars .br-widget a:after {
    content: "\2606";
    color: black;
  }
  .br-theme-css-stars .br-widget a.br-active:after,
  .br-theme-css-stars .br-widget a.br-selected:after {
    content: "\2605";
    color: black;
  }
}
.starblock span{vertical-align: middle;}
.starblock .br-theme-css-stars{display:inline-block;vertical-align: middle;}

.rating_main{overflow:hidden;}
.rating_left{float:left; width:50%;}
.rating_right{float:right; width:50%;}
.rating_block{margin:10px 0; overflow:hidden;}
.rating_size{width:80px; float:left;margin-right:10px;color:#2c465e;}
.rating_string{position:relative;width: 200px;
    float: left;
    height: 19px;
	background:#ececec; 
	margin-right:10px;
    border: 1px solid #cddcea;}
.rating_string .inner{position:absolute; top:0; left:0; height:100%; background:#EDB867;}
.rating_count{width:30px; float:left;color:#2c465e;}

#commentform input#submit{float:none!important;}
.sub_block{float:left; width: 46%;margin-right: 4%;overflow: hidden;}
#comment-image-reloaded-wrapper{float:right; width:50%;}
.text_rating {font-size:20px;padding:15px 0;color:#474747;}
.text_rating_pro {font-size:20px; font-style: italic;color:#474747;}
.text_rating_o {font-size:20px;padding:5px 0 0;color:#474747;}
.text_rating_o span , .text_rating_pro span , .text_rating span {color:#191919;}
.userrating {
	width: 100%;
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #f5f5f5;
    border-bottom: solid 1px #e4e4e4;
    margin-bottom: 15px;
    background: #f9f9f9;
}
.h4rating {
	margin-bottom: 25px;
    font-weight: 500;
    font-size: 22px;
    margin-top: 10px;
    line-height: 1;
    clear: both;
    color: #555;
 }
/* End rating star css */
.avaauthor {font-style:normal;font-weight: bold;font-size: 18px;color:#444;}
.comment-meta > .star-rating {float:right;display: inline-block;}
.commentmetadata {
	color: #b7b7b7;
	display: flex;
    justify-content: center;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: stretch;
    align-content: space-between;
    flex: content;
}
.avacomm img { border-radius: 50%;  float: left;}
.comment-body {padding-bottom: 10px; margin-bottom: 14px;}
.adnyzstatti {display: inline-block; width: 100%; height: auto; margin: 10px 0 25px;}
.comment-body p {clear: both;}
.commentmetadata time {
    font-style: italic;
    display: block;
    font-size: 12px;
    margin-bottom: 5px;
    color: #919191;
}
.avpic {float: left;display: inline-block;}
.avcom {display: inline-block; width: 100%;}
.avadate {    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    align-content: flex-start;
    flex-wrap: nowrap;}
.commentmetadata p {    
	padding: 0px;
    color: #707070;
    margin: 10px 0 10px 0;
    display: block;}
.comment-body ul {display: inline-block;padding-left: 20px;margin-bottom: 20px;}
.comment-body ul li {margin-bottom: 0px;}
/* Galery css */
ul.blocks-gallery-grid {margin: 0 0 1.5em 0em;}
.size-large figcaption {font-style: italic;}
/* Review css */
h3.review-title {font-size: 20px;font-weight: 500;}
.blocks-gallery-caption {
	font-style: italic;
    margin-bottom: 15px;
    margin-top: -10px;
    }
/* Notification **/
.notification-tip, .notification-note, .notification-warning, .notification-info {
	padding: 20px 20px 20px 50px;
    position: relative;
    margin: 25px 10px;
    border-radius: 2px;
    word-wrap: break-word;
    font-weight: 500;
    font-size: 1rem;
    font-family: Montserrat, sans-serif;
    line-height: 1.75;
    text-rendering: optimizeLegibility;
}
.notification-tip:before,.notification-note:before,.notification-warning:before,.notification-info:before {
    position: absolute;
    top: 15px;
    left: 0;
    font-size: 30px;
    padding: 4px 15px;
    text-align: center;
    display: block;
    width: 20px;
	}
.notification-tip:before{ content: "\2713";}
.notification-tip{background-color:#d8f1c6;color:#769958!important}
.notification-note:before{ content: "\2713";}
.notification-note{background-color:#fbf4dd;color:#a38c68!important}
.notification-warning:before{ content: "\2713";}
.notification-warning{background-color:#f9d9d9;color:#aa4343!important}
.notification-info:before{ content: "\2713";}
.notification-info{background-color:#d7e3f4;color:#39404a!important}
.starblock {margin: 0 0 10px 0;}
p.comment-form-subscriptions > label {font-size:90%;}
#comment_image_reloaded {
	height: 42px;
    color: #919191;
    border-radius: 3px;
    border: 1px solid #eee;
    background: #eeeeee;
    max-width: 95%;
    padding: 6px;
}
.taxonomy-description {border-bottom: 1px dashed #ccc;margin-bottom: 1.5em;}
.taxonomy-description p {margin-bottom: 0.5em;} 
.comment-image-box {
	display: flex;
    /*padding-left: 85px;*/
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: space-between;
    align-items: center;
}
.comment-image-box  > .comment-image-reloaded {display: inline-block;margin-right: 2%;margin-bottom: 0.5%;max-width: 48%;}
.comment-image-box  > .comment-image-reloaded img {/* width:100%; */}
/*-----------------------------------
 Responsive
------------------------------------*/
@media screen and (max-width: 1230px) { 
      .main-container, .site-info.container { width:100% }
      .oddad, .evenad { width: 45% }
      .homrub {padding-left: 0px  !important;}
}
      article.latestpost .entry-title { font-size: 22px; line-height: 1.4; }
      .post-info > span { margin-right: 10px }
      .single .entry-header > h1 { font-size: 24px; line-height: 1.4; }
      .postauthor img { padding: 20px; padding-right: 0; padding-bottom: 0; box-sizing: content-box; }
      .homrub {padding-left: 0px !important;}
      .page-header {padding: 0 5px 0;}
      .comment-body p {padding-left:5px;}
      .commentmetadata time {margin-left: 85px;}
}
@media screen and (max-width: 865px) { 
      .copyrights { float: none; text-align: center; }
      #navigation.footer-navigation { float: none }
      #navigation.footer-navigation ul { text-align: center; width: 100%; margin-top: 10px; }
      a.toplink { top: 83% }
      #content_box { width: 100%; float: none; margin-bottom: 30px; /* overflow: hidden; */ }
      article.latestpost .entry-title { font-size: 18px }
      .sidebar.c-4-12 { width: 100%; float: none; margin: 0 auto; }
      #commentform .comment-form-cookies-consent label { clear: both; width: 100%; margin-left: 0; }
		  #featured-thumbnail {position:inherit !important;}
	   .post-label {display:none;}
	   	.sub_block{float:none; width:100%;margin-right: 0%;overflow: hidden;}
#comment-image-reloaded-wrapper{float:none; width:100%;}
.rating_left{float:none; width:100%; margin-bottom:20px;}
.rating_right{float:none; width:100%;}
.rating_size {width: 70px;}
.rating_string {width: 180px;}
.rating_count {width: 20px;}
.comment-image-box {padding-left: 5px;}
.comment-image-box  > .comment-image-reloaded  {max-width: 48%;}
	.homcategory {}
}
@media screen and (max-width: 768px) { 
      .comment-list li .children {margin-left: 0px;}
      .sub_block {float: none;width: 100%;margin-right: 0%;overflow: visible;}
}
@media screen and (max-width: 640px) { 
      article.post, .related-posts article.post { width: 48%; margin-right: 4%; }
      article.post:nth-of-type(2) { margin-right: 4% }
      article.post:nth-of-type(3) { margin-right: 0 }
      article.post:nth-of-type(3n+5) { margin-right: 4% }
      article.post:nth-of-type(odd) { margin-right: 0 }
      article.featuredpost.post { width: 100% }
      .single_post { padding: 20px 15px }
      article.post:nth-of-type(3n) { clear: none }
      article.featuredpost { width: 100% }
      .related-posts article.post:nth-of-type(odd), .search-area article.post:nth-of-type(odd), .content-archive article.post:nth-of-type(odd) { margin-right: 0 }
      .related-posts article.post:nth-of-type(even), .search-area article.post:nth-of-type(even), .content-archive article.post:nth-of-type(even) { margin-right: 0 }
      .related-posts article.post:nth-of-type(4) { clear: none }
      .related-posts #featured-thumbnail, .related-posts .featured-thumbnail { float: none }
      .related-posts .featured-thumbnail img { min-width: 100% }
      .related-posts article.post:nth-of-type(2) {width: 100%;margin-right:0px;background: #faf9f8;}
}
@media screen and (max-width: 550px) { 
      .comment-metadata a { position: static }
}
@media screen and (max-width: 420px) { 
      article.post { width: 100% }
      .featured-thumbnail { max-height: 200px; overflow: hidden;display: flex; align-items: center; }
      .related-posts article.post { width: 100% }
}
@media (min-width: 360px) {
	.prewblock {display: inline-flex;flex-direction: column;flex-wrap: nowrap;align-content: flex-start;justify-content: flex-start;align-items: flex-start;width: 100%;}
	.zmist p {margin-bottom: 0.25em;}
	.prewimg {max-width: 100%;}
	.prewimg img {width: 100%;}
	.prewri {padding: 0;}
	.av {margin: 1.5em 0 0.5em 0;}
	.entry-content .alignwide, .entry-header .alignwide {
       margin-left  : -25px;
       margin-right : -25px;
   }
   .rekl{display: block;position: relative;}
   .na-pravach-reklamy { 
		z-index: 5;
		display: block;
		position: absolute;
		top: 0;
		padding: 0.1em 0.2em;
		text-align: center;
		background: #444;
		font-size: 0.85em;
		opacity: 0.5;
		color: #fff;
		margin-left: 11px;
    }
   .entry-content .alignfull {
       margin-left  : calc( -100vw / 2 + 100% / 2 );
       margin-right : calc( -100vw / 2 + 100% / 2 );
       max-width    : 100vw;
   }
   .alignfull img {
       width: 100vw;
   }
	.main-container {overflow: hidden;}
	#comments { float: none;}
	.homrub {padding: 0px;}
	.newst{display: flex;
    align-items: center;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-between;}
}
@media (min-width: 865px) {
      .prewblock {display: inline-flex;flex-direction: row;flex-wrap: nowrap;justify-content: flex-start;align-items: center;width: 100%;align-content: center;}
      .prewimg {max-width: 50%;}
      .zmist p {margin-bottom: 0.25em;}
      .prewri {padding: 1rem 0 1rem 1rem;}
		.entry-content .alignwide , .entry-header .alignwide {
       margin-left  : -25px;
       margin-right : -25px;
   }
    .rekl{display: block;position: relative;}
   .na-pravach-reklamy { 
		z-index: 5;
		display: block;
		position: absolute;
		top: 0;
		padding: 0.15em 0.25em;
		text-align: center;
		background: #444;
		font-size: 1em;
		opacity: 0.5;
		color: #fff;
	    margin-left: 0;
    }
   .entry-content .alignfull {
       margin-left  : calc( -100vw / 2 + 100% / 2 );
       margin-right : calc( -100vw / 2 + 100% / 2 );
       max-width    : 100vw;
   }
   .alignfull img {
       width: 100vw;
   }
}
      .page-header {width: 100%;}
/* End Responsive */
.alignwide > figcaption {
    padding: 0 15px;
    color: #515a5f;
}
.rubdec {padding: 0 20px;width: 100%;}
.instaav li, .avli li, .lizhko li { list-style-type: none;   margin-left: 0 !important;}
.instaav li:first-child:before, .avli li:first-child:before { font-family: 'Font Awesome 6 Free';font-weight: 600;content: "\f007";color: #abb8c3;margin-right: 10px;}
.instaav li:nth-child(2):before, .avli li:nth-child(2):before { font-family: 'Font Awesome 6 Free';font-weight: 600;content: "\f08e";color: #abb8c3;margin-right: 10px;}
.avli li:nth-child(3):before { font-family: 'Font Awesome 6 Free';font-weight: 600;content: "\f3c5";color: #abb8c3;margin-right: 10px;}
.lizhko li:first-child:before {font-family: 'Font Awesome 6 Free';font-weight: 600;content: "\f236";color: #abb8c3;margin-right: 10px;}
.lizhko li:nth-child(2):before {font-family: 'Font Awesome 6 Free';font-weight: 600;content: "\f08e";color: #abb8c3;margin-right: 10px;}
.lizhko li:nth-child(3):before {font-family: 'Font Awesome 6 Free';font-weight: 600;content: "\f6f2";color: #abb8c3;margin-right: 10px;}
.avli {margin: 0 0 1.5em 1em !important;    padding: 0;}
.wp-block-separator {border-top: 1px dashed;border-bottom:none; width: 50%;}
.bcoma {display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
    margin: 0 0 20px 0;
    }
    
.takni li { 
	list-style-type: none;   margin-left: 0 !important;   
	position: relative;
    padding-left: 2em;
    text-indent: 0em;
	margin-bottom: 10px;
}
.takni li:first-child:before { font-family: 'Font Awesome 6 Free';font-weight: 600;content: "\58";color: #ff0000;    position: absolute; left: 0; text-align: right;}
.takni li:nth-child(2):before { font-family: 'Font Awesome 6 Free';font-weight: 600;content: "\f00c";color: #329932;position: absolute; left: 0; text-align: right;}
.takni {margin: 0 0 1.5em 1em !important;    padding: 0;}
/* Footer Block Info */
.iconsrecipe {
    margin: 20px 0 0 0;
    display: inline-block;
}
.iconsrecipe i {
    font-size: 40px;
    display: block;
    width: 100%;
    padding: 10px 5px;
}
.iconsrecipe a {
    color: #a4a4a4 !important;
    display: inline-block;
    font-size: 14px;
}
.iconsrecipe li {
    float: left;
    width: 25%;
    text-align: center;
}
@media (min-width: 360px) {
.flexcont {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: space-between;
    align-items: flex-start;}
	.statli {float: none;margin-top:10px;}
#comment-image-reloaded-wrapper {display: inline-block;float: none; width: 100%;bottom: 110px;position: relative;padding: 0px;}p.form-submit{top: 130px;position: relative;}
.footer-3 {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: flex-start;
    justify-content: space-between;
    align-items: flex-start;
    }
.footer-3 section {width:100%;padding: 10px 0px;}
.homrub {padding: 0px;}
.cont-comm  { margin-bottom: 30px;
    display: flex;
    border-bottom: 1px dotted #cec7b6;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    align-content: space-around;
    margin-bottom: 30px;}
.lastcomm {
	clear: both;
	margin-top: 2rem;
    padding: 1.5rem 0;
    background-color: #fdfbf9;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: flex-start;
    justify-content: center;
    align-items: center;
}
.homh2 {margin: 0 1% 1.5rem;text-align: center;font-size: 25px;color: #6f8590;display: block;width: 100%;}
.lastcomm > .cont-comm {
	margin: 4%;
    width: 92%;
    display: flex;
    flex-direction: column;
    align-content: flex-start;
    justify-content: center;
    align-items: flex-start;
    border-bottom: none;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgb(38 50 56 / 5%);
    background: #fff;
    position: relative;
    transition: all .3s ease;
}
.lastcomm > .cont-comm > .comm-text {padding: 10px;font-size:0.9em;}
.lastcomm > .cont-comm > .comm-text > .tc {display: none!important;}
.lasta {display: block;width: 92%;text-align: left;padding: 5px;margin: 15px 4% 0;}
.homdes {display: block;background: #fff;padding: 1.5em;}
.homh2h {margin: 0 1% 0.5rem;text-align: center;font-size: 23px;color: #6f8590;display: block;padding-bottom: 0;width: 100%;}
.profile_comment_img {max-height: 200px;overflow: hidden;display: block;width: 100%;}
.profile_comment_img img {width: 100%;}
.comment-image-reloaded img {
    width: 298px;
    height: 265px;
    object-fit: cover;
}
}
@media (min-width: 412px) {p.form-submit {top: 100px;position: relative;}}
@media (min-width: 768px) { 
.flexcont {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
	justify-content: flex-start;
    align-items: flex-start;
	min-width: 100%;}
.iconsrecipe {display: inline-flex;flex-wrap: wrap;align-content: center;align-items: center;flex-direction: row;}
.iconsrecipe li {float: left;width: 50%;text-align: center;}
	.statli {float: right;}
.homrub main {display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: flex-start;
    align-items: flex-start;}
.footer-3 {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: flex-start;
    justify-content: space-between;
    align-items: flex-start;
    }
.footer-3 section {width:32%;padding: 30px 10px;}
.lastcomm {
	clear: both;
	margin-top: 2rem;
    padding: 1.5rem 0;
    background-color: #f0f1f6;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: space-around;
    justify-content: center;
    align-items: center;
}
.homh2 {margin: 0 1% 1.5rem;text-align: center;font-size: 23px;color: #6f8590;display: block;width: 100%;}
.lcflex {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: space-between;
    align-items: flex-start;
    }
.cont-comm {
	margin-right: 1.33%;
    width: 24%;
    margin-bottom: 0px;
    background-color: #fff;
    border-bottom: none;
}
.cont-comm:nth-child(4) {margin-right: 0%;}
.lastcomm > .cont-comm > .comm-text {padding: 5px 10px 5px 0;font-size:0.9em;}
.lastcomm > .cont-comm > .comm-text > .tc {display: none!important;}
.lastcomm > .cont-comm > .profile_comment_img {width: 43%;min-width: 43%;padding-right: 20px;line-height: 0!important;}
.lastcomm > .cont-comm > .profile_comment_img > a {line-height: 0!important;display: block;}
.lasta {display: block;width: 98%;margin: 15px 1% 0;}
.homdes {display: block;background: #fff;margin: 1rem 4%;padding: 1.5em;}
.homh2h {margin: 0 1% 0.5rem;text-align: center;font-size: 23px;color: #6f8590;display: block;padding-bottom: 0;width: 100%;}
    .sub_block {float: none;width: 100%;margin-right: 0%; overflow: visible;}
	.newst{display: flex;align-items: center;flex-direction: row;flex-wrap: nowrap;justify-content: space-between;}
	.comment-image-reloaded img {
    width: 359px;
    height: 265px;
    object-fit: cover;
}
}
@media (min-width: 960px) {
	.iconsrecipe li {float: left;width: 25%;text-align: center;}
    #comment-image-reloaded-wrapper {float: right;width: 50%;bottom: 0;}
    .sub_block {float: left;width: 40%;margin-right: 4%; overflow: hidden;}
    p.form-submit {top: 0px;}
}

.footer-3 section a {color:#acb3cf;}
.footer-3 section:nth-child(3) a {color:#CCC;}
.siteinfo li:before {
	font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    content: "\f105";
    color: #99777e;
    margin-right: 10px;
}
.login_block {margin: 0.75em 0 1em !important;font-size: 0.95em;}
.login_block li a {color: #F47555 !important;}
.rubdec {padding: 0 20px;width: 100%;}
.wc {display: block!important;}
.ca {color: #2e2e2e;}
.ct {margin: 0 0 15px;font-style: italic;font-size: 0.9em;overflow: hidden;}
.tc {color: #2a4557;margin-bottom: 10px;font-size: 0.9em;}
.do {color: #A4A4A4;}
.comm-text {padding: 15px 20px 12px;max-width: 100%;overflow: hidden;}
.comm-text a {display: inline-block;margin-bottom: 10px;}
time.dop {
    font-style: italic;
    display: block;
    font-size: 13px;
    margin-bottom: 5px;
    color: #919191;
}
.bilshecom {
    padding: 10px;
    background: #FFF;
    -webkit-box-shadow: 0px 1px 2px 0px rgb(0 0 0 / 5%);
    box-shadow: 0px 1px 2px 0px rgb(0 0 0 / 5%);
    line-height: 1;
    font-size: 18px;
	text-transform: none;
    min-width: 48px;
    text-align: center;
    margin-bottom: 5px;
}
.site-footer {
    position: relative;
    overflow: hidden;
    clear: both;
    background: #4d2b31;
    color: #ccc;
    -webkit-box-shadow: 0px 1px 2px 0px rgb(0 0 0 / 5%);
    box-shadow: 0px 1px 2px 0px rgb(0 0 0 / 5%);
}
ul.zakaz {padding: 0 0 0 30px;margin: 5px 0 0 0;}
span.zakaz {font-weight: bold;}
li.zakazli {margin-bottom: 5px;list-style-type: square;}
li.zakazli a {color:#719dc6 !important;}
/* End Footer Info */
.twolist {columns: 2;}
.homcategory {display: inline-flex;margin: 15px 0 25px;clear: both;flex-direction: row;flex-wrap: wrap;}
.homevit {padding: 0 20px 30px;display: block;width: 100%;}
.homevit h1 {font-size: 30px;}
.filtrtext {padding: 3px 5px;background: #F47555;color: #fff;margin: 0;text-indent: 0px;}
.homcategory h2 {    margin: 1rem 1% 1.5rem;text-align: left;font-size: 25px;color: #555; display: inline-block;width: 100%;}
ul.margin li, ol.margin li {
    margin-bottom: 20px;
}
/* Profile page */
@media (min-width: 360px) {
.profile_info {
	display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-start;
    align-items: flex-start;
    margin: 0 0 20px 0;
    padding: 0 20px;
    }
.onef {
	min-width:250px;
	margin: 0 0 30px 0;
	}
.profile_text ul {
    list-style: none;
    padding: 0 10px;
    margin: 0 0 20px 10px;
}
.profile_text li.comstat:before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 300;
    content: "\f075";
    margin-right: 8px;
    min-width: 25px;
    display: inline-block;
    color: #3e476e;
}
.profile_text li.recipestat:before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 300;
    content: "\f1ea";
    margin-right: 8px;
    min-width: 25px;
    display: inline-block;
    color: #3e476e;
}
.ostannidopysy {
    margin: 20px 0 20px 0;
    display: inline-block;
    width: 100%;
    font-size: 23px;
    }
.profile_text span {font-weight:bold;display:block;margin-bottom:10px;}
ol.margin li, ul.margin li {margin-bottom: 15px;}
li > img {margin:10px 0;}
.tag_list {
    list-style: none;
    display: inline-block;
    margin: 10px 0 10px;
    padding: 0;
    font-size: 0;
}
.tag_list li {
    margin: 0px 20px 10px 0;
    display: inline-block;
}
}
@media (min-width: 768px) { 
.tag_list {
    list-style: none;
    display: inline-block;
    margin: 10px 0 10px;
    padding: 0;
    font-size: 0;
}
.tag_list li {
    margin: 0px 20px 10px 0;
    display: inline-block;
}
.profile_info {
	display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
    margin: 0 0 20px 0;
    }
.onef {
	min-width:250px;
	margin: 0 30px 0 0;
	}
.profile_text ul {
    list-style: none;
    padding: 0 10px;
    margin: 0 0 20px 10px;
}
.profile_text li.comstat:before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 300;
    content: "\f075";
    margin-right: 8px;
    min-width: 25px;
    display: inline-block;
    color: #3e476e;
}
.profile_text li.recipestat:before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 300;
    content: "\f1ea";
    margin-right: 8px;
    min-width: 25px;
    display: inline-block;
    color: #3e476e;
}
.ostannidopysy {
    margin: 20px 0 20px 0;
    display: inline-block;
    width: 100%;
    }
}
/* Вертикальні превю на головній */
.vert {background-color:#bb6955;padding-bottom: 2rem;width: 100%;}
.vert h2 {color:#e7f7f8;text-align:center;margin: 2rem 0 2rem;}
.verticalpost {width: 23%;
    margin-bottom: 10px;
    margin-right: 2.6%;
    }
.verticalpost:nth-of-type(4n) {margin-right: 0;}
.verical-title {font-size: 20px;padding: 20px;margin: 0;}
.verical-title a {color:#e7f7f8;}
.flexvert {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    align-items: flex-start;
    }
.verticmet{padding: 0 20px;}
@media screen and (max-width: 640px)
{
.flexvert {

}
.verticalpost {width: 100%;
    margin-bottom: 10px;
    margin-right: 0;
    }
}
/* End вертикальні превю */
.entry-content a {color:#5a679f;}
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
    background: #4d2b31;
    opacity: 0.5;
    bottom: 0;
    box-sizing: border-box;
    color: #fff;
    font-size: 13px;
    left: 0;
    margin-bottom: 0;
    max-height: 60%;
    overflow: auto;
    padding: 0 8px;
    position: absolute;
    text-align: center;
    width: 100%;
}
/* Новий блок автора проєкту */
.proekt, .kontakty {margin: 0 0 1.5em 1em !important;    padding: 0;}
.proekt li ,  .kontakty li { list-style-type: none;   margin-left: 0 !important;}
.proekt li:first-child, .proekt li:nth-child(2) {color: #5c5c5c;}
.proekt li:first-child:before { font-family: 'Font Awesome 6 Free';font-weight: 600;content: "\f007";color: #abb8c3;margin-right: 10px;}
.proekt li:nth-child(2):before { font-family: 'Font Awesome 6 Free';font-weight: 600;content: "\f3c5";color: #abb8c3;margin-right: 10px;}
.proekt li:nth-child(3):before { font-family: 'Font Awesome 6 Free';font-weight: 600;content: "\f030";color: #abb8c3;margin-right: 10px;}
 .proekt li:nth-child(3)   {margin-top: 10px;}
.kontakty li.instagram:before { font-family: 'Font Awesome 6 Brands';font-weight: 600;content: "\f16d";color: #abb8c3;margin-right: 10px;} 
.kontakty li.facebook:before { font-family: 'Font Awesome 6 Brands';font-weight: 600;content: "\f09a";color: #abb8c3;margin-right: 10px;} 
.kontakty li.youtube:before { font-family: 'Font Awesome 6 Brands';font-weight: 600;content: "\f431";color: #abb8c3;margin-right: 10px;} 
.kontakty li.site:before { font-family: 'Font Awesome 6 Free';font-weight: 600;content: "\f08e";color: #abb8c3;margin-right: 10px;}
/* End новий блок автора проєкту */
.informer {margin-top:25px;opacity:0.7;}
.zsu a {color:#55f475 !important;}
.zsu i {color: #99777e;}
.alignwide > figcaption a {width: auto !important;}
.circles {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    align-items: flex-start;}
.arrow-list {
    list-style: none;
    padding-left: 0;
}

.arrow-list li {
    position: relative;
    padding-left: 24px;
    list-style: none;
}

.arrow-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    top: -3px;
    font-weight: 600;
}
/*--------------------------------------------------------------
Desing 2.0 v1
--------------------------------------------------------------*/

/* =====================================
   HEADER — NABUDUVALY
===================================== */

/* Базові скидання старих стилів теми */
#masthead {
    margin-bottom: 40px;
    text-align: left;
    box-shadow: none;
}

.single #masthead,
.page-template-default #masthead,
.page-template-page-blog #masthead {
    margin-bottom: 0;
}

#masthead .site-branding,
#masthead #logo,
#masthead #logo a {
    float: none;
    display: block;
    margin: 0;
    padding: 0;
    overflow: visible;
    line-height: 1;
}

#masthead #searchform {
    float: none;
    width: auto;
}


#masthead.site-header {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e8e8e8;
    position: relative;
    z-index: 999;
}

#masthead .header-inner {
    max-width: 1200px;
    min-height: 84px;
    margin: 0 auto;
    padding: 0 15px;

    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr) auto auto;
    align-items: center;
    column-gap: 18px;
}

/* Логотип */
#masthead #logo img {
    width: 200px;
    height: auto;
}

/* Слоган */
#masthead .header-tagline {
    margin: 0;
    padding-left: 16px;
    border-left: 2px solid #D77A5B;

    font-size: 12px;
    white-space: nowrap;
}

/* Основна навігація */

#masthead #navigation {
    display: block;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    float: none;
}

#masthead #navigation ul.menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;

    margin: 0;
    padding: 0;
    list-style: none;
}

#masthead #navigation ul.menu > li {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}

#masthead #navigation ul.menu > li > a {
    display: block;
    padding: 25px 0 23px;

    font-size: 11px;
    font-weight: 600;
    line-height: 20px;
    text-transform: uppercase;
    color: #27313a;

    text-decoration: none;
    white-space: nowrap;
    transition: color .2s ease;
}

#masthead #navigation ul.menu > li > a:hover {
    color: #c96f50;
}

/* Підменю */

#masthead #navigation ul.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: -12px;

    min-width: 210px;
    padding: 8px 0;
    margin: 0;

    background: #ffffff;
    border: 1px solid #eeeeee;
    box-shadow: 0 5px 15px rgba(0,0,0,.07);
    z-index: 1000;
}

#masthead #navigation li:hover > ul.sub-menu,
#masthead #navigation li:focus-within > ul.sub-menu {
    display: block;
}

#masthead #navigation ul.sub-menu li {
    display: block;
    margin: 0;
    padding: 0;
}

#masthead #navigation ul.sub-menu li a {
    display: block;
    padding: 9px 14px;
    font-size: 12px;
    color: #333333;
    text-decoration: none;
}

#masthead #navigation ul.sub-menu li a:hover {
    color: #c96f50;
    background: #faf8f6;
}

/* Соціальні мережі */

#masthead .header-social {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
}

#masthead .header-social a {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;

    border-radius: 50%;
    background: #25323c !important;
    color: #ffffff;

    font-size: 14px;
    text-decoration: none;
    transition: background .2s ease;
}

#masthead .header-social a:hover {
    background: #c96f50 !important;
}

/* Пошук */

#masthead .header-search {
    margin: 0;
    padding-left: 10px;
    border-left: 1px solid #eeeeee;
}

#masthead .header-search .search-form {
    display: flex;
    align-items: center;
    margin: 0;
}

#masthead .header-search .search-field {
    width: 0;
    min-width: 0;
    height: 34px;
    padding: 0;
    border: 0;
    opacity: 0;
    transition: width .2s ease, opacity .2s ease;
}

#masthead .header-search .search-form:focus-within .search-field {
    width: 150px;
    padding: 0 8px;
    opacity: 1;
    border-bottom: 1px solid #cccccc;
}

#masthead .header-search .search-submit {
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2325313a' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m16 16 5 5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 21px;
    font-size: 0;
    cursor: pointer;
}

/* Мобільне меню */

#masthead #pull {
    display: none;
}

/* Адаптивність */

@media (max-width: 1100px) {
    #masthead .header-inner {
        column-gap: 12px;
    }

    #masthead #logo img {
        width: 155px;
    }

    #masthead .header-tagline {
        font-size: 10px;
        padding-left: 10px;
    }

    #masthead #navigation ul.menu {
        gap: 13px;
    }

    #masthead #navigation ul.menu > li > a {
        font-size: 10px;
    }
}

@media (max-width: 900px) {
    #masthead .header-inner {
        grid-template-columns: 1fr auto auto;
        min-height: 64px;
    }

    #masthead .header-tagline {
        display: none;
    }

    #masthead #navigation {
        grid-column: 1 / -1;
    }

    #masthead #navigation ul.menu {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    #masthead .header-social {
        justify-content: flex-end;
    }

    #masthead #pull {
        display: block;
    }
}

@media (max-width: 480px) {
    #masthead #logo img {
        width: 145px;
    }

    #masthead .header-social {
        gap: 5px;
    }

    #masthead .header-social a {
        width: 28px;
        height: 28px;
    }
}

/* =====================================
   HEADER MENU — DROPDOWN FIX
===================================== */


/* =====================================
   FIX: DROPDOWN HOVER
===================================== */


/* =====================================
   FINAL HEADER MENU FIX
===================================== */

/* 1. Прибираємо старі розділювачі */
#masthead #navigation ul.menu > li,
#masthead #navigation ul.menu > li > a {
    border: none !important;
    box-shadow: none !important;
    background-image: none !important;
}

#masthead #navigation ul.menu > li::before,
#masthead #navigation ul.menu > li::after,
#masthead #navigation ul.menu > li > a::before,
#masthead #navigation ul.menu > li > a::after {
    display: none !important;
    content: none !important;
}

/* 2. Основні пункти меню */
#masthead #navigation ul.menu > li > a,
#masthead #navigation ul.menu > li:hover > a,
#masthead #navigation ul.menu > li:focus-within > a,
#masthead #navigation ul.menu > li.current-menu-item > a,
#masthead #navigation ul.menu > li.current-menu-parent > a {
    color: #26323d !important;
    background: transparent !important;
    background-image: none !important;

    font-size: 12px !important;
    font-weight: 600 !important;
    text-decoration: none !important;

    border: none !important;
    box-shadow: none !important;
}

/* 3. Ефект наведення на основні пункти */
#masthead #navigation ul.menu > li:hover > a {
    color: #c96f50 !important;
}

/* 4. Підменю */
#masthead #navigation ul.menu > li > ul.sub-menu {
    display: none;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    z-index: 999999 !important;

    min-width: 220px;
    margin: 0 !important;
    padding: 8px 0 !important;

    background: #ffffff !important;
    border: 1px solid #eaeaea !important;
    box-shadow: 0 6px 18px rgba(0,0,0,.10) !important;
}

/* Відкриваємо підменю */
@media (min-width: 901px) {
    #masthead #navigation ul.menu > li:hover > ul.sub-menu,
    #masthead #navigation ul.menu > li:focus-within > ul.sub-menu {
        display: block !important;
    }
}

/* 5. Посилання підменю */
#masthead #navigation ul.sub-menu li a {
    display: block !important;
    padding: 10px 16px !important;

    color: #29343e !important;
    background: #ffffff !important;

    font-size: 13px !important;
    font-weight: 400 !important;
    text-transform: none !important;

    border: none !important;
}

#masthead #navigation ul.sub-menu li a:hover {
    color: #c96f50 !important;
    background: #f7f5f2 !important;
}

/* Трохи збільшуємо шапку */

#masthead .header-inner {
    min-height: 84px;
}

/* Логотип */
#masthead #logo img {
    width: 200px;
    height: auto;
}

/* Слоган */
#masthead .header-tagline {
    font-size: 12px;
}

/* Вертикальне вирівнювання меню */
#masthead #navigation ul.menu > li > a {
    padding-top: 32px !important;
    padding-bottom: 32px !important;
}
/* Прибираємо фон навколо логотипа */
#masthead .site-branding,
#masthead #logo,
#masthead #logo a,
#masthead #logo img {
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    border: none !important;
}

/* Прибираємо можливі декоративні елементи */
#masthead #logo::before,
#masthead #logo::after,
#masthead #logo a::before,
#masthead #logo a::after {
    display: none !important;
    content: none !important;
}

/* Основні пункти меню */
#masthead #navigation ul.menu > li > a {
    padding: 32px 11px !important;
    transition: background-color .2s ease,
                color .2s ease !important;
}

/* Наведення та активний пункт */
#masthead #navigation ul.menu > li:hover > a,
#masthead #navigation ul.menu > li.current-menu-item > a,
#masthead #navigation ul.menu > li.current-menu-parent > a {
    color: #25364A !important;
    background: #F7F4F0 !important;
    box-shadow: inset 0 -3px 0 #D77A5B !important;
}

/* Підменю не змінюємо */
#masthead #navigation ul.menu ul.sub-menu li a {
    padding: 11px 18px !important;
    background: #fff !important;
    color: #29343e !important;
    box-shadow: none !important;
}

/* =====================================
   MOBILE MENU — OPAQUE BACKGROUND
===================================== */

@media (max-width: 900px) {

    /* Основний контейнер мобільного меню */
    #masthead #navigation,
    #masthead #navigation.mobile-menu-wrapper {
        background: #ffffff !important;
        background-color: #ffffff !important;
        border: 0 !important;
        box-shadow: 0 8px 20px rgba(0,0,0,0.10) !important;
        z-index: 99999 !important;
    }

    /* Список меню */
    #masthead #navigation ul.menu {
        background: #ffffff !important;
        background-color: #ffffff !important;
    }

    /* Пункти меню */
    #masthead #navigation ul.menu li {
        background: #ffffff !important;
        background-color: #ffffff !important;
        border-bottom: 1px solid #eeeeee !important;
    }

    /* Посилання */
    #masthead #navigation ul.menu li a {
        display: block;
        background: #ffffff !important;
        background-color: #ffffff !important;
        color: #25364A !important;
        padding: 14px 18px !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        text-decoration: none !important;
    }

    /* Наведення та активний пункт */
    #masthead #navigation ul.menu li a:hover,
    #masthead #navigation ul.menu li.current-menu-item > a {
        background: #F7F4F0 !important;
        color: #D77A5B !important;
    }

    /* Вкладені меню */
    #masthead #navigation ul.sub-menu {
        background: #fafafa !important;
        background-color: #fafafa !important;
        box-shadow: none !important;
    }

    #masthead #navigation ul.sub-menu li {
        background: #fafafa !important;
    }

    #masthead #navigation ul.sub-menu li a {
        background: #fafafa !important;
        padding-left: 35px !important;
    }
}

/* Стрілка розкриття підменю */
#masthead #navigation .toggle-caret {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;

    align-items: center;
    justify-content: center;

    width: 28px;
    height: 28px;
    margin-left: 8px;

    color: #25364A !important;
    cursor: pointer;
    position: relative;
    z-index: 10;
}

/* Малюємо власну стрілку */

/* Стрілка мобільного меню */
@media (max-width: 900px) {

    #masthead #navigation ul.menu > li {
        position: relative !important;
    }

    /* Посилання займає весь рядок */
    #masthead #navigation ul.menu > li > a {
        display: block !important;
        width: 100%;
        padding-right: 55px !important;
        box-sizing: border-box;
    }

    /* Стрілка праворуч, в одному рядку з текстом */
    #masthead #navigation .toggle-caret {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;

        position: absolute !important;
        right: 0 !important;
        top: 0 !important;

        width: 48px !important;
        height: 100% !important;
        min-height: 44px;

        margin: 0 !important;
        padding: 0 !important;

        align-items: center !important;
        justify-content: center !important;

        z-index: 20;
        cursor: pointer;
    }

    /* Власне малювання стрілки */
    #masthead #navigation .toggle-caret i {
        display: block !important;
        width: 8px;
        height: 8px;

        margin: -4px 0 0 !important;

        border-right: 2px solid #25364A;
        border-bottom: 2px solid #25364A;

        transform: rotate(45deg);
        font-size: 0 !important;
        line-height: 0 !important;
    }
}

/* Мобільна кнопка меню */
#masthead #pull {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;

    position: relative !important;
    width: auto !important;
    min-width: 90px;
    height: 46px;
    padding: 0 12px !important;

    box-sizing: border-box;
    white-space: nowrap !important;
    line-height: 1 !important;

    color: #ffffff !important;
    background: #25364A !important;
    text-decoration: none !important;
}

/* Іконка меню */
#masthead #pull::after {
    position: static !important;
    display: inline-block !important;
    float: none !important;

    margin: 0 !important;
    padding: 0 !important;

    transform: none !important;
    flex-shrink: 0;
}

/* Текст */
#masthead #pull {
    font-size: 13px !important;
}

/* На ПК приховуємо кнопку мобільного меню */
@media (min-width: 901px) {
    #masthead #pull {
        display: none !important;
    }
}

/* На мобільних показуємо кнопку */
@media (max-width: 900px) {
    #masthead #pull {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 9px !important;
    }
}

/* =====================================
   DESKTOP HEADER — MENU ALIGNMENT
===================================== */

@media (min-width: 901px) {

    #masthead .header-inner {
        display: grid !important;
        grid-template-columns: 200px auto minmax(0, 1fr) auto auto !important;
        align-items: center !important;
        column-gap: 16px !important;
    }

    /* Контейнер меню */
    #masthead #navigation {
        min-width: 0 !important;
        width: 100% !important;
    }

    /* Усі пункти в один рядок */
    #masthead #navigation ul.menu {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 20px !important;
        width: 100% !important;
    }

    /* Забороняємо перенесення пунктів */
    #masthead #navigation ul.menu > li {
        display: flex !important;
        flex: 0 0 auto !important;
        float: none !important;
        white-space: nowrap !important;
    }

    #masthead #navigation ul.menu > li > a {
        white-space: nowrap !important;
        padding: 32px 0 !important;
    }

    /* Соціальні іконки */
    #masthead .header-social {
        display: flex !important;
        flex-wrap: nowrap !important;
        white-space: nowrap !important;
    }

    /* Кнопка мобільного меню */
    #masthead #pull {
        display: none !important;
    }
}

/* Стрілки біля пунктів із підменю — DESKTOP */

@media (min-width: 901px) {

    /* Резервуємо місце для стрілки */
    #masthead #navigation ul.menu > li.menu-item-has-children > a {
        padding-right: 27px !important;
    }

    /* Контейнер стрілки */
    #masthead #navigation ul.menu > li.menu-item-has-children > .toggle-caret {
        display: flex !important;
        align-items: center;
        justify-content: center;

        position: absolute !important;
        top: 50% !important;
        right: 9px !important;

        width: 12px;
        height: 12px;

        margin: 0 !important;
        padding: 0 !important;

        transform: translateY(-50%);
        color: #25364A;

        pointer-events: none;
        z-index: 5;
    }

    /* Малюємо стрілку */
    #masthead #navigation ul.menu > li.menu-item-has-children > .toggle-caret i {
        display: block !important;

        width: 6px;
        height: 6px;

        margin: -3px 0 0 !important;

        border-right: 1.5px solid #25364A;
        border-bottom: 1.5px solid #25364A;

        transform: rotate(45deg);

        font-size: 0 !important;
        line-height: 0 !important;
    }

    /* Колір при наведенні */
    #masthead #navigation ul.menu > li.menu-item-has-children:hover > .toggle-caret i {
        border-color: #D77A5B;
    }
}

/* =====================================
   DESKTOP MENU — FINAL CORRECTIONS
===================================== */

@media (min-width: 901px) {

    /* Основні пункти меню */
    #masthead #navigation ul.menu > li {
        background: transparent !important;
    }

    #masthead #navigation ul.menu > li > a {
        display: block !important;
        box-sizing: border-box !important;

        padding: 32px 14px !important;

        color: #25364A !important;
        background: transparent !important;

        white-space: nowrap !important;
        transition: background-color .2s ease,
                    color .2s ease !important;
    }

    /* Додаткове місце для стрілки */
    #masthead #navigation ul.menu > li.menu-item-has-children > a {
        padding-right: 27px !important;
    }

    /* Наведення — фон тільки навколо посилання */
    #masthead #navigation ul.menu > li:hover > a {
        color: #25364A !important;
        background: #F7F4F0 !important;
        box-shadow: inset 0 -3px 0 #D77A5B !important;
    }

    /* Відкривання підменю тільки при наведенні */
    #masthead #navigation ul.menu > li > ul.sub-menu {
        display: none !important;
    }

    #masthead #navigation ul.menu > li:hover > ul.sub-menu {
        display: block !important;
    }

}

/* Компактне головне меню */

@media (min-width: 901px) {

    /* Прибираємо проміжки між пунктами */
    #masthead #navigation ul.menu {
        gap: 0 !important;
    }

    /* Невеликі відступи навколо тексту */
    #masthead #navigation ul.menu > li > a {
        padding: 32px 8px !important;
    }

    /* Місце для стрілок підменю */
    #masthead #navigation ul.menu > li.menu-item-has-children > a {
        padding-right: 23px !important;
    }

    /* Стрілка ближче до тексту */
    #masthead #navigation ul.menu > li.menu-item-has-children > .toggle-caret {
        right: 7px !important;
    }

}

/* =====================================
   DROPDOWN — HOVER EFFECT
===================================== */

@media (min-width: 901px) {

    /* Звичайний стан пунктів */
    #masthead #navigation ul.menu > li > ul.sub-menu > li > a {
        display: block !important;
        box-sizing: border-box !important;

        padding: 11px 16px !important;

        color: #29343e !important;
        background: #ffffff !important;

        border-left: 3px solid transparent !important;

        transition: background-color .18s ease,
                    color .18s ease,
                    border-color .18s ease !important;
    }

    /* Наведення та клавіатурний фокус */
    #masthead #navigation ul.menu > li > ul.sub-menu > li:hover > a,
    #masthead #navigation ul.menu > li > ul.sub-menu > li > a:focus-visible {

        color: #C96F50 !important;
        background: #F7F4F0 !important;

        border-left-color: #D77A5B !important;
        text-decoration: none !important;
    }

}

/* =====================================
   MOBILE MENU — DRAWER FUNCTIONALITY
   Збережено механізм старої теми: mobile-menu-wrapper та mobile-menu-active
===================================== */

@media (max-width: 900px) {
    /* До відкриття меню навігація прихована */
    #masthead #navigation {
        display: none !important;
    }

    /* Висувна панель */
    #masthead #navigation.mobile-menu-wrapper,
    #masthead .primary-navigation.mobile-menu-wrapper {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        left: -300px !important;
        width: 300px !important;
        max-width: 85vw !important;
        height: 100vh !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        background: #ffffff !important;
        border-right: 1px solid rgba(0, 0, 0, .12) !important;
        box-shadow: 0 8px 20px rgba(0, 0, 0, .10) !important;
        z-index: 999999 !important;
        transition: left 500ms ease !important;
        -webkit-backface-visibility: hidden;
    }

    .mobile-menu-active #masthead #navigation.mobile-menu-wrapper,
    .mobile-menu-active #masthead .primary-navigation.mobile-menu-wrapper {
        left: 0 !important;
    }

    /* Список і вкладені пункти */
    /* Основний список меню. Підменю не включаємо примусово:
       його видимістю керує штатний JS-перемикач теми. */
    #masthead #navigation.mobile-menu-wrapper ul.menu {
        display: block !important;
        float: none !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
        background: #ffffff !important;
        box-shadow: none !important;
    }

    /* Підменю лишаються в потоці документа, але відкриваються
       лише після натискання на штатну стрілку. */
    #masthead #navigation.mobile-menu-wrapper ul.sub-menu {
        position: static !important;
        top: auto !important;
        left: auto !important;
        min-width: 0 !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    #masthead #navigation.mobile-menu-wrapper ul.menu > li,
    #masthead #navigation.mobile-menu-wrapper ul.sub-menu > li {
        display: block !important;
        float: none !important;
        position: relative !important;
        width: 100% !important;
        background: #ffffff !important;
        border-bottom: 1px solid #eeeeee !important;
    }

    #masthead #navigation.mobile-menu-wrapper ul.menu li a {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 14px 55px 14px 18px !important;
        color: #25364A !important;
        background: #ffffff !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        text-align: left !important;
        text-indent: 0 !important;
        text-decoration: none !important;
        border: 0 !important;
    }

    #masthead #navigation.mobile-menu-wrapper ul.menu li a:hover,
    #masthead #navigation.mobile-menu-wrapper ul.menu li.current-menu-item > a {
        color: #D77A5B !important;
        background: #F7F4F0 !important;
    }

    #masthead #navigation.mobile-menu-wrapper ul.sub-menu li {
        background: #fafafa !important;
    }

    #masthead #navigation.mobile-menu-wrapper ul.sub-menu li a {
        padding-left: 35px !important;
        background: #fafafa !important;
    }

    #masthead #navigation.mobile-menu-wrapper ul.sub-menu ul a {
        padding-left: 48px !important;
    }

    /* Показуємо стрілки керування підменю */
    #masthead #navigation.mobile-menu-wrapper .toggle-caret {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: absolute !important;
        top: 0 !important;
        right: 0 !important;
        width: 48px !important;
        height: 100% !important;
        min-height: 44px !important;
        margin: 0 !important;
        padding: 0 !important;
        align-items: center !important;
        justify-content: center !important;
        color: #25364A !important;
        cursor: pointer;
        z-index: 20;
    }

    #masthead #navigation.mobile-menu-wrapper .toggle-caret i {
        display: block !important;
        width: 8px;
        height: 8px;
        margin: -4px 0 0 !important;
        border-right: 2px solid #25364A;
        border-bottom: 2px solid #25364A;
        transform: rotate(45deg);
        font-size: 0 !important;
        line-height: 0 !important;
    }

    /* Зсув основного вмісту збережений відповідно до механіки теми */
    .main-container,
    .site-footer {
        position: relative;
        left: 0;
        transition: left 500ms ease;
    }

    .mobile-menu-active .main-container,
    .mobile-menu-active .site-footer {
        left: 0;
        transition: left 500ms ease;
    }
}

/* =====================================
   END HEADER — NABUDUVALY
===================================== */
/* Відновлення стандартного макета внутрішніх сторінок */
body:not(.home) #main.site-main {
    display: block !important;
    grid-template-columns: none !important;
    column-gap: normal !important;
    row-gap: normal !important;
}
/* Виправлення розташування сайдбара на мобільних */

@media screen and (max-width: 865px) {

    .single_post > #content_box {
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .single_post > #sidebar {
        float: none !important;
        clear: both !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
    }

}

/* ==========================================
   NABUDUVALY — NEW HOMEPAGE NEWS BLOCK
========================================== */

.fh-home-news {
    width: 100%;
    display: block;
}

/* Головна публікація */

.fh-news-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    margin: 0 0 60px;
    padding: 0;
    background: #F7F6F3;
    overflow: hidden;
}

.fh-news-featured-image {
    display: block;
    width: 100%;
    min-width: 0;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.fh-news-featured-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fh-news-featured-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 35px;
    min-width: 0;
    box-sizing: border-box;
}

.fh-news-category {
    margin-bottom: 22px;
    font-size: 14px;
    line-height: 1.4;
    color: #c18b65;
}

.fh-news-category a {
    color: inherit;
    text-decoration: none;
}

.fh-news-featured-title {
    margin: 0 0 28px;
    padding: 0;
    font-family: Georgia, serif;
    font-size: 36px;
    line-height: 1.35;
    font-weight: normal;
    color: #252525;
}

.fh-news-featured-title a {
    color: inherit;
    text-decoration: none;
}

.fh-news-featured-title a:hover {
    color: #c8795b;
}

.fh-news-date {
    font-size: 13px;
    color: #8994a3;
}

.fh-news-date i {
    margin-right: 5px;
}

/* Чотири наступні публікації */

.fh-news-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
    width: 100%;
    align-items: start;
}

.fh-news-card {
    display: block;
    min-width: 0;
    margin: 0;
    padding: 0;
    background: #F7F6F3;
    border: 0;
    box-shadow: none;
    overflow: hidden;
}

.fh-news-card-image {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.fh-news-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.fh-news-card-image:hover img {
    transform: scale(1.03);
}

.fh-news-card-content {
    padding: 18px 20px 20px;
}

.fh-news-card-title {
    margin: 0 0 12px;
    padding: 0;
    font-family: Georgia, serif;
    font-size: 19px;
    line-height: 1.4;
    font-weight: normal;
    color: #252525;
}

.fh-news-card-title a {
    color: inherit;
    text-decoration: none;
}

.fh-news-card-title a:hover {
    color: #A9543B;
}

.fh-news-card-excerpt {
    font-size: 14px;
    line-height: 1.5;
    color: #555;
}


/* Планшети */

@media screen and (max-width: 980px) {

    .fh-news-featured-content {
        padding: 25px;
    }

    .fh-news-featured-title {
        font-size: 28px;
    }

    .fh-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 25px;
    }

}


/* Мобільні пристрої */

@media screen and (max-width: 640px) {

    .fh-news-featured {
        grid-template-columns: 1fr;
        margin-bottom: 35px;
    }

    .fh-news-featured-image {
        aspect-ratio: 16 / 9;
    }

    .fh-news-featured-content {
        padding: 22px;
    }

    .fh-news-category {
        margin-bottom: 12px;
    }

    .fh-news-featured-title {
        font-size: 25px;
        line-height: 1.3;
        margin-bottom: 18px;
    }

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

    .fh-news-card-image {
        aspect-ratio: 16 / 9;
    }

    .fh-news-card-content {
        padding: 15px 18px 18px;
    }

    .fh-news-card-title {
        font-size: 19px;
    }

}


/* ==================================================
   NABUDUVALY — ДОБІРКА РЕДАКЦІЇ «ВАРТЕ УВАГИ»
================================================== */

/* --------------------------------------------------
   1. ОСНОВНИЙ КОНТЕЙНЕР
-------------------------------------------------- */

.fh-ideas-banner {
    display: grid;
    grid-template-columns: 35% 65%;
    width: 100%;
    margin: 45px 0;
    padding: 0;
    background: #F7F6F3;
    overflow: hidden;
    box-sizing: border-box;
}


/* --------------------------------------------------
   2. ЛІВА ІНФОРМАЦІЙНА ПАНЕЛЬ
-------------------------------------------------- */

.fh-ideas-intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 28px 32px;
    background: #D77A5B;
    color: #FFFFFF;
    box-sizing: border-box;
}

.fh-ideas-label {
    margin-bottom: 9px;
    color: rgba(255,255,255,.85);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.fh-ideas-intro h2 {
    margin: 0 0 10px;
    padding: 0;
    color: #FFFFFF;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 600;
}

.fh-ideas-intro p {
    margin: 0 0 18px;
    padding: 0;
    color: #FFFFFF;
    font-size: 14px;
    line-height: 1.45;
}

.fh-ideas-button {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 15px;
    border: 1px solid rgba(255,255,255,.8);
    border-radius: 30px;
    color: #FFFFFF;
    font-size: 13px;
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
}

.fh-ideas-button:hover {
    background: #FFFFFF;
    color: #A9543B;
}


/* --------------------------------------------------
   3. КОНТЕЙНЕР ТРЬОХ ПУБЛІКАЦІЙ
-------------------------------------------------- */

.fh-ideas-items {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    min-width: 0;
    background: #FFFFFF;
    overflow: hidden;
    isolation: isolate;
    align-items: stretch;
    align-content: stretch;
}


/* --------------------------------------------------
   4. КАРТКИ ПУБЛІКАЦІЙ
-------------------------------------------------- */

.fh-ideas-item {
    position: relative;
    display: flex;
    min-width: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #F7F6F3;
    box-sizing: border-box;
}

.fh-ideas-link {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
}


/* --------------------------------------------------
   5. ФОТОГРАФІЇ
-------------------------------------------------- */

.fh-ideas-image {
    flex: 0 0 190px;
    width: 100%;
    height: 190px;
    overflow: hidden;
}

.fh-ideas-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.fh-ideas-link:hover .fh-ideas-image img {
    transform: scale(1.04);
}


/* --------------------------------------------------
   6. ЗАГОЛОВКИ КАРТОК
-------------------------------------------------- */

.fh-ideas-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    flex: 1 0 auto;

    height: calc(3 * 1.3em + 26px);
    min-height: 80px;
    margin: 0;
    padding: 12px 20px 14px;

    overflow: hidden;
    background: #F7F6F3;
    color: #252525;

    font-size: 15px;
    font-weight: 500;
    line-height: 1.3;

    box-sizing: border-box;
    transition: color .2s ease;
}

.fh-ideas-link:hover .fh-ideas-title {
    color: #A9543B;
}


/* ==================================================
   7. ДЕСКТОП — ДІАГОНАЛЬНА КОМПОЗИЦІЯ
================================================== */

@media screen and (min-width: 981px) {

    /* Похилий край теракотової панелі */

    .fh-ideas-intro {
        position: relative;
        z-index: 2;
        clip-path: polygon(
            0 0,
            100% 0,
            calc(100% - 48px) 100%,
            0 100%
        );
    }

    /* Зміщення блоку фотографій */

    .fh-ideas-items {
        z-index: 1;
        width: calc(100% + 48px);
        margin-left: -48px;
    }

    /* Перша картка */

    .fh-ideas-item:nth-child(1) {
        z-index: 1;
        clip-path: polygon(
            54px 0,
            100% 0,
            calc(100% - 48px) 100%,
            6px 100%
        );
    }

    /* Друга картка */

    .fh-ideas-item:nth-child(2) {
        z-index: 2;
        width: calc(100% + 42px);
        margin-left: -42px;

        clip-path: polygon(
            48px 0,
            100% 0,
            calc(100% - 48px) 100%,
            0 100%
        );
    }

    /* Третя картка */

    .fh-ideas-item:nth-child(3) {
        z-index: 3;
        width: calc(100% + 42px);
        margin-left: -42px;

        clip-path: polygon(
            48px 0,
            100% 0,
            calc(100% - 48px) 100%,
            0 100%
        );
    }

    /* Білий розділювач перед завершальним трикутником */

    .fh-ideas-items::before {
        content: "";
        position: absolute;
        z-index: 4;
        top: 0;
        right: 0;
        width: 54px;
        height: 100%;
        background: #FFFFFF;

        clip-path: polygon(
            48px 0,
            54px 0,
            6px 100%,
            0 100%
        );

        pointer-events: none;
    }

    /* Теракотовий завершальний трикутник */

    .fh-ideas-items::after {
        content: "";
        position: absolute;
        z-index: 5;
        top: 0;
        right: 0;
        width: 48px;
        height: 100%;
        background: #D77A5B;

        clip-path: polygon(
            100% 0,
            100% 100%,
            0 100%
        );

        pointer-events: none;
    }

}


/* ==================================================
   8. ПЛАНШЕТИ
================================================== */

@media screen and (max-width: 980px) {

    .fh-ideas-banner {
        grid-template-columns: 1fr;
    }

    .fh-ideas-intro {
        padding: 25px;
        clip-path: none;
    }

    .fh-ideas-items {
        width: 100%;
        margin: 0;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .fh-ideas-item {
        width: 100%;
        margin: 0;
        clip-path: none;
    }

    .fh-ideas-items::before,
    .fh-ideas-items::after {
        display: none;
    }

}


/* ==================================================
   9. МОБІЛЬНІ ПРИСТРОЇ
================================================== */

@media screen and (max-width: 640px) {

    .fh-ideas-banner {
        margin: 30px 0;
    }

    /* Інформаційна панель */

    .fh-ideas-intro {
        padding: 24px 20px;
    }

    .fh-ideas-intro h2 {
        font-size: 25px;
    }

    /* Вертикальний список публікацій */

    .fh-ideas-items {
        display: grid;
        grid-template-columns: 1fr;
        row-gap: 10px;
        width: 100%;
        margin: 0;
        background: #D77A5B;
    }

    .fh-ideas-item {
        display: flex;
        width: 100%;
        height: auto;
        margin: 0;
        border: none;
        background: #F7F6F3;
        clip-path: none;
    }

    .fh-ideas-link {
        display: flex;
        flex-direction: column;
        height: auto;
    }

    /* Фотографії */

    .fh-ideas-image {
        flex: none;
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    /* Заголовки */

    .fh-ideas-title {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;

        flex: none;
        height: auto;
        min-height: 0;
        max-height: calc(3 * 1.3em);

        margin: 0;
        padding: 12px 16px 14px;
        overflow: hidden;

        background: #F7F6F3;
        font-size: 17px;
        line-height: 1.3;
    }

    /* Прибираємо десктопні діагоналі */

    .fh-ideas-items::before,
    .fh-ideas-items::after {
        display: none;
        content: none;
    }

}


/* ==================================================
   NABUDUVALY — ДИЗАЙН ІНТЕР'ЄРУ
================================================== */

/* Контейнер */

.fh-interior-section {
    width: 100%;
    margin: 60px 0 45px;
}

/* Заголовок і посилання */

.fh-interior-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 22px;
}

.fh-interior-heading h2 {
    margin: 0;
    padding: 0;
    color: #252525;
    font-size: 26px;
    line-height: 1.25;
    font-weight: 500;
}

.fh-interior-more {
    flex-shrink: 0;
    color: #A9543B;
    font-size: 14px;
    text-decoration: none;
    transition: color .2s ease;
}

.fh-interior-more:hover {
    color: #D77A5B;
}

.fh-interior-more span {
    margin-left: 4px;
}

/* Сітка */

.fh-interior-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

/* Картки */

.fh-interior-card {
    min-width: 0;
    margin: 0;
    padding: 0;
    background: #F7F6F3;
}

/* Посилання */

.fh-interior-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

/* Фотографії */

.fh-interior-image {
    width: 100%;
    aspect-ratio: 1.25 / 1;
    overflow: hidden;
}

.fh-interior-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.fh-interior-link:hover .fh-interior-image img {
    transform: scale(1.035);
}

/* Заголовки */

.fh-interior-title {
    margin: 0;
    padding: 14px 16px 8px;
    color: #252525;
    font-size: 19px;
    line-height: 1.4;
    font-weight: 500;
    transition: color .2s ease;
}

.fh-interior-link:hover .fh-interior-title {
    color: #A9543B;
}

/* Дата */

.fh-interior-meta {
    padding: 0 16px 15px;
    color: #929292;
    font-size: 12px;
}

.fh-interior-meta i {
    margin-right: 4px;
}


/* Планшети */

@media screen and (max-width: 900px) {

    .fh-interior-grid {
        gap: 18px;
    }

    .fh-interior-title {
        font-size: 17px;
    }

}


/* Мобільні пристрої */

@media screen and (max-width: 600px) {

    .fh-interior-section {
        margin: 30px 0;
    }

    .fh-interior-heading {
        margin-bottom: 16px;
    }

    .fh-interior-heading h2 {
        font-size: 23px;
    }

    .fh-interior-more {
        font-size: 13px;
    }

    .fh-interior-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .fh-interior-image {
        aspect-ratio: 16 / 9;
    }

    .fh-interior-title {
        padding: 12px 14px 7px;
        font-size: 18px;
    }

    .fh-interior-meta {
        padding: 0 14px 13px;
    }

}

/* ==================================================
   NABUDUVALY — ЩО ОБГОВОРЮЮТЬ ЧИТАЧІ
================================================== */

/* Загальний блок */

.fh-discussions {
    width: 100%;
    margin: 0;
    padding: 26px 0 30px;
    background: #EEF1F7;
    box-sizing: border-box;
}

/* Заголовок */

.fh-discussions-heading {
    margin: 0 0 24px;
    padding: 0 14px;
    text-align: center;
}

.fh-discussions-heading h2 {
    margin: 0;
    padding: 0;
    color: #526D80;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 500;
}

/* Сітка карток */

.fh-discussions-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

/* Картка */

.fh-discussion-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin: 0;
    padding: 0;
    background: #FFFFFF;
}

/* Фотографія */

.fh-discussion-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #E5E5E5;
}

.fh-discussion-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.fh-discussion-image:hover img {
    transform: scale(1.04);
}

/* Текстова частина */

.fh-discussion-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 14px 16px 17px;
    box-sizing: border-box;
}

/* Автор коментаря */

.fh-discussion-author {
    margin-bottom: 9px;
    color: #929292;
    font-size: 13px;
    line-height: 1.4;
}

.fh-discussion-author strong {
    color: #526D80;
    font-weight: 500;
}

/* Заголовок статті */

.fh-discussion-post-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;

    margin-bottom: 11px;
    color: #304D73;
    font-size: 17px;
    line-height: 1.45;
    font-weight: 500;
    text-decoration: none;
}

.fh-discussion-post-title:hover {
    color: #A9543B;
}

/* Текст коментаря */

.fh-discussion-text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;

    margin-top: auto;
    color: #777777;
    font-size: 14px;
    line-height: 1.5;
    font-style: italic;
    text-decoration: none;
}

.fh-discussion-text:hover {
    color: #A9543B;
}


/* Планшети */

@media screen and (max-width: 900px) {

    .fh-discussions-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

}


/* Мобільні пристрої */

@media screen and (max-width: 600px) {

    .fh-discussions {
        padding: 23px 0;
    }

    .fh-discussions-heading {
        margin-bottom: 18px;
    }

    .fh-discussions-heading h2 {
        font-size: 22px;
    }

    .fh-discussions-grid {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .fh-discussion-image {
        aspect-ratio: 16 / 9;
    }

    .fh-discussion-content {
        padding: 12px 14px 15px;
    }

    .fh-discussion-post-title {
        font-size: 17px;
    }

}

/* ==================================================
   NABUDUVALY — МІСТО ТА ЖИТЛО
================================================== */

/* Загальний блок */

.fh-city-section {
    width: 100%;
    margin: 40px 0 45px;
}

/* Заголовок */

.fh-city-heading {
    margin: 0 0 22px;
}

.fh-city-heading h2 {
    margin: 0;
    padding: 0;
    color: #252525;
    font-size: 26px;
    line-height: 1.25;
    font-weight: 500;
}

/* Сітка */

.fh-city-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
    align-items: stretch;
}

/* Картки */

.fh-city-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin: 0;
    padding: 0;
    background: #F7F6F3;
}

/* Посилання */

.fh-city-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

/* Фотографії */

.fh-city-image {
    width: 100%;
    aspect-ratio: 5 / 4;
    overflow: hidden;
    background: #E5E5E5;
}

.fh-city-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.fh-city-link:hover .fh-city-image img {
    transform: scale(1.035);
}

/* Заголовки */

.fh-city-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;

    margin: 0;
    padding: 12px 16px 8px;
    color: #304D73;
    font-size: 19px;
    line-height: 1.4;
    font-weight: 500;

    transition: color .2s ease;
}

.fh-city-link:hover .fh-city-title {
    color: #A9543B;
}

/* Дата та рубрика */

.fh-city-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 14px;
    margin-top: auto;
    padding: 0 16px 15px;
    color: #929292;
    font-size: 12px;
    line-height: 1.5;
}

.fh-city-meta span {
    white-space: nowrap;
}

.fh-city-meta i {
    margin-right: 4px;
}


/* Планшети */

@media screen and (max-width: 900px) {

    .fh-city-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .fh-city-title {
        font-size: 17px;
    }

}


/* Мобільні пристрої */

@media screen and (max-width: 600px) {

    .fh-city-section {
        margin: 30px 0;
    }

    .fh-city-heading {
        margin-bottom: 16px;
    }

    .fh-city-heading h2 {
        font-size: 23px;
    }

    .fh-city-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .fh-city-image {
        aspect-ratio: 16 / 9;
    }

    .fh-city-title {
        padding: 12px 14px 7px;
        font-size: 18px;
    }

    .fh-city-meta {
        padding: 0 14px 13px;
    }

}
/* Telegram icon in header */

#masthead .header-social .header-telegram {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#masthead .header-social .header-telegram svg {
    display: block;
    width: 17px;
    height: 17px;
    fill: #ffffff;
}
/* =====================================
   MOBILE HEADER — ONLY TELEGRAM
===================================== */

@media screen and (max-width: 900px) {

    #masthead .header-social .header-facebook,
    #masthead .header-social .header-youtube-play {
        display: none !important;
    }

    #masthead .header-social .header-telegram {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
    }

}

/* ==================================================
   NABUDUVALY — NEW FOOTER
================================================== */

#colophon.fh-footer {
    width: 100%;
    margin: 0;
    padding: 0;
    background: #29343E;
    color: #E5E8EB;
    box-sizing: border-box;
}

/* Основна частина */

.fh-footer-main {
    display: grid;
    grid-template-columns: 1.35fr 0.85fr 0.8fr;
    gap: 55px;

    max-width: 1280px;
    margin: 0 auto;
    padding: 42px 35px 38px;
    box-sizing: border-box;
}

/* Загальні заголовки */

.fh-footer-main h4 {
    margin: 0 0 19px;
    padding: 0;
    color: #FFFFFF;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 600;
}

/* Перша колонка */

.fh-footer-logo {
    display: inline-block;
    width: 280px;
    max-width: 100%;
    margin-bottom: 18px;
}

.fh-footer-logo img {
    display: block;
    width: 100%;
    height: auto;
}

.fh-footer-brand p {
    max-width: 410px;
    margin: 0 0 20px;
    color: #D4D9DE;
    font-size: 15px;
    line-height: 1.65;
}

.fh-footer-brand p strong {
    color: #FFFFFF;
}

/* Пошук */

.fh-footer-search {
    display: flex;
    width: 100%;
    max-width: 340px;
    height: 43px;
    margin: 0;
}

.fh-footer-search input {
    flex: 1;
    min-width: 0;
    height: 43px;
    margin: 0;
    padding: 0 13px;
    border: 1px solid #52616D;
    border-right: 0;
    border-radius: 0;
    outline: none;
    background: #FFFFFF;
    color: #29343E;
    font-size: 14px;
    box-sizing: border-box;
}

.fh-footer-search input::placeholder {
    color: #929292;
}

.fh-footer-search button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    min-width: 45px;
    height: 43px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #D77A5B;
    color: #FFFFFF;
    cursor: pointer;
    transition: background .2s ease;
}

.fh-footer-search button:hover {
    background: #C96B4D;
}

/* Списки посилань */

.fh-footer-main ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.fh-footer-main ul li {
    margin: 0 0 12px;
    padding: 0;
}

.fh-footer-main ul a {
    color: #D4D9DE;
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none;
    transition: color .2s ease;
}

.fh-footer-main ul a:hover {
    color: #E18A6C;
}

/* Іконки тематичних розділів */

.fh-footer-sections ul a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fh-footer-sections ul a i {
    width: 17px;
    color: #D77A5B;
    text-align: center;
}

/* Соціальні мережі */

.fh-footer-social {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 23px;
}

.fh-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #3D4B56;
    color: #FFFFFF;
    font-size: 17px;
    text-decoration: none;
    transition: background .2s ease, transform .2s ease;
}

.fh-footer-social a:hover {
    background: #D77A5B;
    transform: translateY(-2px);
}

/* Нижня смуга */

.fh-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    max-width: 1280px;
    margin: 0 auto;
    padding: 17px 35px;
    border-top: 1px solid #46525C;
    box-sizing: border-box;
}

.fh-footer-copyright {
    color: #BFC7CD;
    font-size: 12px;
    line-height: 1.6;
}

.fh-footer-bottom a {
    color: #BFC7CD;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.fh-footer-bottom a:hover {
    color: #E18A6C;
}

/* Нижнє меню */

.fh-footer-navigation ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fh-footer-navigation li {
    margin: 0;
}

.fh-footer-navigation a {
    font-size: 12px;
    text-decoration: none;
}

/* Кнопка нагору */

.fh-footer-top {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #3D4B56;
    color: #FFFFFF !important;
    font-size: 19px;
    text-decoration: none !important;
    transition: background .2s ease;
}

.fh-footer-top:hover {
    background: #D77A5B;
}


/* Планшети */

@media screen and (max-width: 900px) {

    .fh-footer-main {
        grid-template-columns: 1.2fr 1fr;
        gap: 35px;
        padding: 35px 25px;
    }

    .fh-footer-brand {
        grid-column: 1 / -1;
    }

    .fh-footer-brand p {
        max-width: 600px;
    }

    .fh-footer-bottom {
        padding: 16px 25px;
    }

}


/* Мобільні пристрої */

@media screen and (max-width: 600px) {

    .fh-footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 30px 20px;
        padding: 30px 20px;
    }

    .fh-footer-brand {
        grid-column: 1 / -1;
    }

    .fh-footer-logo {
        max-width: 280px;
    }

    .fh-footer-brand p {
        font-size: 14px;
        line-height: 1.6;
    }

    .fh-footer-main h4 {
        margin-bottom: 14px;
        font-size: 16px;
    }

    .fh-footer-main ul li {
        margin-bottom: 10px;
    }

    .fh-footer-main ul a {
        font-size: 13px;
    }

    .fh-footer-sections ul a {
        align-items: flex-start;
    }

    .fh-footer-social {
        flex-wrap: wrap;
        gap: 8px;
    }

    .fh-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 17px 20px;
    }

    .fh-footer-navigation ul {
        justify-content: flex-start;
        gap: 8px 14px;
    }

    .fh-footer-top {
        align-self: flex-end;
    }

}


/* Дуже вузькі екрани */

@media screen and (max-width: 380px) {

    .fh-footer-main {
        grid-template-columns: 1fr;
    }

    .fh-footer-brand {
        grid-column: auto;
    }

}
html {
    scroll-behavior: smooth;
}

/* =========================================
   SINGLE POST — FEATURED IMAGE 16:9
========================================= */

.fh-single-featured {
    position: relative;
    width: calc(100% + 50px);
    max-width: none;
    box-sizing: border-box;
    aspect-ratio: 16 / 9;
    margin: 22px -25px 25px;
    overflow: hidden;
}

.fh-single-featured img.fh-single-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Рекламна позначка */

.fh-single-featured .na-pravach-reklamy {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}
.language-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.language-switcher a {
    color: inherit;
    text-decoration: none;
    opacity: 0.7;
}

.language-switcher a:hover {
    opacity: 1;
}

.language-switcher .lang-current {
    font-weight: 700;
}

.language-switcher .lang-separator {
    opacity: 0.4;
}
