:root {
  color-scheme: light only;
  --light:rgb(254 237 163 / 100%); 
  --bg:rgb(254 237 163 / 91%); 
  --bg_dark:rgb(53 44 8 / 94%);
  --topline:#524404;
  --merry:"Merriweather", "Lato", sans-serif;
}   

body{background: #feeda3 url(../images/new/rukotvory_bg4.svg); background-size:calc(max(100%, 1000px)); background-repeat:no-repeat;background-position:top;}
a:visited{color:#53472b;}
a:focus, a:active{color:#816b39;}

@media (prefers-color-scheme: dark) {
  /*body, .donate{ background-image:none !important;} */  
 
 
  /*body{background: #feeda3; background-image:url(../images/new/rukotvory_bg_dark.png); background-repeat: no-repeat; background-position:top;  background-size:auto;} */
}    

.menuisopen{overflow:hidden;} 

header{border-top:14px solid #524404; margin:0 0 50px; padding:40px 0 0; z-index:50;}
header .grid-container{max-width: 87rem;}

header a{text-decoration:none;} 
header .sitelogo{padding:10px;margin: -5px 0 0 20px;width:220px;height:40px;background:url(../images/new/rukotvory_logo.svg);background-size:contain;background-repeat:no-repeat;background-position:center;display:inline-block;}
.menuisopen .sitelogo{opacity:0;}
@media screen and (max-width: 39.9375em) {
  body{background-size: 250vw;}
  header{border-top:14px solid #44391d; margin:0 0 20px; padding:30px 0 0;}
  header .sitelogo{ margin:-5px 0 0 10px; width:180px; height:40px; }
}
header .icons ul{margin:0 20px 0;} 
header .icons li{display:inline-block; padding:0;}
header .icons i{font-size:1.3rem;}
header .mainmenu{text-align:right; position:relative; top:-1px;} 

header .mainmenu li{display:inline-block; font-family:Merriweather, sans-serif;font-size: 1.0rem;font-weight:500;padding:0 7px;}
header .mainmenu .menubutton{position:relative; top:3px; padding:0 10px;}
@media screen and (max-width: 63.938rem) {
 header .mainmenu .menubutton{top:-1px; right:0px;}
}
header .icons .sub{border:0px solid; padding:0; margin:4px 0 0;}
header .icons .sub ul{margin:0; padding:0;}
header .icons .sub ul li{padding:0 2px;}
header .icons .sub ul li a{padding:0px 3px; border:0px solid; display:inline-block;}
header .icons .sub ul li i{ font-size:1.1rem;} 
    
  
#openmenu{padding: 5px;cursor:pointer;margin-left:20px;}
#openmenu i{font-size:1.5rem;} 
 
.menubox{display:none;overflow:auto;background-color: var(--bg);border-top:14px solid var(--bg_dark);width:100%;height:100%;position:fixed;z-index:100;top:0;padding:0 0 80px;} 
.menubox .close{position:fixed; top:37px; right:20px; font-size:1.8rem; padding:20px; z-index:500; cursor:pointer;} 

.menubox .main_m{margin: 120px 0 0 0;padding:0;font-size:1.6rem;text-align:center;font-family:var(--merry)}
.menubox .main_m li{margin:0; padding:0 0 10px;font-weight:bold;}    

.menubox .second_m{margin: 38px 0 35px 0;padding:0;font-size:1.0rem;text-align:center;font-family:var(--merry)}
.menubox .second_m li{margin:0; padding:0 0 8px;} 

.menubox .social_m{text-align:center; font-size:1.4rem; margin:20px 0;} 
.menubox .social_m li{display:inline-block;}
.menubox .social_m li a{display:block; padding:10px;} 

.menubox .logo_m{position:fixed; opacity:.7; top:54px; left:14px; padding:10px;margin: -5px 0 0 20px;width:220px;height:40px;background:url(../images/new/rukotvory_logo.svg);background-size:contain;background-repeat:no-repeat;background-position:center;display:inline-block;}
 
@media screen and (max-width: 63.938rem) { 
 .menubox .close{top:33px; right:10px;}
}
@media screen and (max-width: 39.9375em) {  
  .menubox .close{top:23px; right:10px;}
  .menubox .logo_m{ margin:-15px 0 0 10px; width:180px; height:40px; } 
}  
  


 
.new_post{font-family:Merriweather; }
.new_post h1{color: #302405;text-align:center;font-size: 3rem;line-height: 3.7rem;font-weight: bold; font-family:Merriweather, sans-serif;} 

.new_post h2, .new_post h3, .new_post h4, .new_post h5, .new_post h6{margin-top:1rem;color: #302405;text-align:center;font-weight: bold; font-family:Merriweather, sans-serif;}
 
.article-support{
  position:relative;
  max-width:100vw;
  margin:2.25rem calc(-50vw + 50% + .5rem) 0;
  padding:2.75rem 1.25rem 3rem;
  color:#44381d;
  text-align:center;
}
.article-support::before{
  content:"";
  position:absolute;
  inset:-2.5rem 0 -3rem;
  background:radial-gradient(ellipse at center, rgb(245 225 140 / 76%) 0%, rgb(245 225 140 / 48%) 48%, rgb(245 225 140 / 0%) 78%);
  pointer-events:none;
}
.article-support__inner{position:relative;z-index:1;max-width:46rem;margin:0 auto;}
.new_post .article-support__eyebrow{
  margin:0 auto .8rem;
  color:#826622;
  font-family:Lato, sans-serif;
  font-size:.76rem;
  font-weight:700;
  line-height:1.4;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.new_post .article-support h2{
  max-width:46rem;
  margin:0 auto 1.25rem;
  color:#302405;
  font-size:clamp(1.75rem, 3vw, 2.35rem);
  line-height:1.25;
}
.new_post .article-support__text{
  max-width:42rem;
  margin:0 auto 2rem;
  font-size:1.02rem;
  line-height:1.8;
}
.article-support__button,.article-support__button:visited{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.7rem;
  min-height:3.25rem;
  padding:.85rem 1.45rem;
  border:1px solid #524404;
  border-radius:.2rem;
  background:#524404;
  color:#fff0b5;
  font-family:Lato, sans-serif;
  font-size:.96rem;
  font-weight:700;
  line-height:1;
  text-decoration:none;
  transition:background-color .2s ease,color .2s ease,transform .2s ease;
}
.article-support__button:hover,.article-support__button:focus{
  background:#302405;
  color:#fff6d5;
  transform:translateY(-1px);
}
.article-support__button .fa-patreon{font-size:1.08rem;}

@media screen and (max-width:39.9375em){
  .article-support{margin-top:2rem;padding:2.75rem 1.15rem 3rem;}
  .new_post .article-support__text{font-size:.96rem;line-height:1.7;}
  .article-support__button{width:100%;max-width:18rem;}
}

 @media screen and (max-width: 39.9375em) {
   .new_post h2{font-size: calc(24px + 15 * ((100vw - 320px) / 680)); margin-bottom:-10px;}
    .new_post h3, .new_post h4, .new_post h5, .new_post h6{}

 }
.tagsbox{text-align:center;margin:40px 0 24px;font-size:.82rem;font-family:Lato,sans-serif;}
.tagsbox .bread_new{display:inline-flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:.45rem;max-width:calc(100% - 2rem);color:#6d550d;line-height:1.25;}
.tagsbox .bread_new>a{color:#6d550d;font-weight:600;text-decoration:none;border-bottom:1px solid transparent;transition:border-color .15s ease,color .15s ease;}
.tagsbox .bread_new>a:hover{color:#3f3108;border-bottom-color:rgba(63,49,8,.45);}
.tagsbox .bread_new>i{font-size:.62rem;color:rgba(109,85,13,.55);}
.tagsbox .bread_new .current{padding:0;color:#40330f;font-weight:700;}
.tagsbox .bread_new .current:empty{display:none;}
.new_post .article-meta{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:.48rem;margin:40px 0 24px;color:#6d550d;font-family:Lato,sans-serif;font-size:.95rem;line-height:1.35;}
.new_post .article-meta__date{white-space:nowrap;}
.new_post .article-meta__separator{width:4px;height:4px;margin:0 .12rem;border-radius:50%;background:rgba(109,85,13,.55);}
.new_post .article-meta__categories,.new_post .article-meta__category-chain{display:inline-flex;align-items:center;flex-wrap:wrap;gap:.38rem;}
.new_post .article-meta__categories a{color:#6d550d;font-weight:600;text-decoration:none;border-bottom:1px solid rgba(109,85,13,.28);transition:border-color .15s ease,color .15s ease;}
.new_post .article-meta__categories a:hover{color:#3f3108;border-bottom-color:#3f3108;}
.new_post .article-meta__category-chain>i{font-size:.62rem;color:rgba(109,85,13,.48);}
.new_post .article-meta__chain-separator{margin:0 .08rem;color:rgba(109,85,13,.5);}

.new_post .content{margin:50px 0; font-size:1.1rem; font-family: Merriweather, Lato, sans-serif; }
.new_post .content img{/* width:100%; */}
.new_post .content strong{}

.is-type-video{max-width: 44rem;margin:0 auto;} 
.new_post .content .wp-block-embed__wrapper{width:100%; border:0px solid;position: relative; padding-bottom: 56.25%; /* 16:9 */ height: 0;}
.new_post .content iframe{width:100%;/*height: auto;*//* position: absolute; */top: 0;left: 0;/* width: 100%; *//* height: 100%; */}
.new_post .content .is-type-video iframe{height: auto; position: absolute; width: 100%; height: 100%;}

.new_post .content .wp-block-separator{border-bottom:2px solid #c1ae81; max-width:200px;}
.new_post .content .is-style-dots{border-bottom:0px solid #c1ae81;}

.new_post .content div.alignnone{width:100% !important;}
.new_post .content div.alignnone .wp-caption-text{font-size:1rem; font-style:italic; color: #a3894f; line-height:1.5rem;  margin-top:1.5rem; margin-bottom:2.5rem;}

div.alignleft{margin-right:2rem;}
div.alignright{margin-left:2rem;}
div.alignleft .wp-caption-text, div.alignright .wp-caption-text{font-size:1rem; font-style:italic; color: #a3894f; line-height:1.5rem;  margin-top:1.1rem; margin-bottom:1.5rem; }
div.alignright .wp-caption-text{text-align:right;}


.new_post .edit{font-size:.9rem;}

.new_post .edit::before{content:"\f044"; font-family: "Font Awesome 5 Free"; font-weight: 900; }


#single .size-medium, .size-large {padding: 0; border: 0;}


.content .wp-block-quote {quotes: '\00AB' '\00BB' '\00AB' '\00BB'; border:0; text-align:center; font-size:1.3rem; max-width: 44rem; margin: 40px auto 20px; padding:0 0px; position:relative;}
.content .wp-block-quote::before {content: open-quote; color:#e2c382; position:absolute; left:-30px; top:-10px; font-size:3rem;}
.content .wp-block-quote::after {content: close-quote; color:#e2c382;  position:absolute; right:-30px; top:-10px; font-size:3rem;}
.content .wp-block-quote p{color:#a67e2a;}
.content .wp-block-quote cite{color:#9c8e71;}


.content .wp-block-pullquote blockquote {border:1px solid #c9b487; border-width: 2px 0; quotes: "&rsquo;" "&rsquo;" "&rsquo;" "&rsquo;"; font-size:1.1rem;  margin: 0px auto; padding:80px 0px; position:relative;}
.content .wp-block-pullquote blockquote p{color:#a67e2a;}
.content .wp-block-pullquote blockquote cite{color:#9c8e71;}


.wp-block-media-text {margin-top:30px;}




.wp-block-image figcaption{font-size:.75rem; font-family:Open Sans, sans-serif; color:#9e895b; margin:10px 0; text-align: center;}
.wp-block-gallery figcaption{font-size:.75rem; font-family:Open Sans, sans-serif; color:#9e895b; margin:-5px 0 30px; text-align: center;}

.new_post p{max-width: 46rem;margin-left:auto;margin-right:auto;margin-top:1.9rem;margin-bottom:1.9rem;line-height: 2.1rem;}
.new_post ol, .new_post ul{ max-width: 46rem; margin-left:auto;margin-right:auto;list-style:disc;list-style-position:inside;font-size:initial;}
.wp-block-gallery ol, .wp-block-gallery ul{max-width: 100%;} 
 
.new_post p.has-small-font-size{line-height: 1.6rem;}

@media screen and (max-width: 39.9375em) {
.new_post{}
.new_post p, .new_post ol, .new_post ul{font-size:1.12rem; font-size: calc(14px + (26 - 14) * ((100vw - 300px) / (1600 - 300))); line-height: calc(18px + (26 - 8) * ((100vw - 0px) / (860 - 0))); /*line-height: calc(29px + ((100vw - 420px)/30));*/}
 } 

  

.new_archive, .main2{font-family:Merriweather;}
.new_archive h1, .main2 h1{color: #302405;text-align:center;font-size: 3rem;line-height: 3.7rem;font-weight: bold; font-family:Merriweather, sans-serif;} 

 @media screen and (max-width: 39.9375em) {
   .new_post h1, .new_archive h1, .main2 h1{font-size:2.2rem; line-height:2.6rem; font-size: calc(24px + 15 * ((100vw - 320px) / 680)); line-height: calc(39px + ((100vw - 420px)/20)); padding-left:0;padding-right:0;}  
 }

.center{text-align:center;}
  

.archive_box, .main2_box{max-width:80rem;}

.new_archive .list, .main2_news .list{display:flex;flex-wrap: wrap;margin-top:20px; justify-content: center; gap: 2em;}
.new_archive .list .item, .main2_news .item{border:0px solid;display: flex; flex-grow: 1; flex-direction:column;
justify-content: flex-start; position: relative; width: calc(25% - 2em);  max-width:calc(25% - 2em); margin: 0 0 3em 0;} 

/* Pagination is a child of the archive flex grid, so it must occupy its own row. */
.new_archive .list > .wp-pagenavi,
.new_archive .list > .navigation,
.new_archive .list > .pagination,
.new_archive .list > .ajax-paged {
  flex: 0 0 100%;
  width: 100%;
}

 
.new_archive .list .item::first-line, .main2_news .item::first-line{border:1px solid;}

.new_archive .cat, .main2_news .cat{margin:15px 0 0; font-size:.8rem; color:#b38e40; font-family:"Open Sans", sans-serif;}
.new_archive .cat a, .main2_news .cat a{color:#b38e40; }
.new_archive .cat span, .main2_news .cat span{margin:0 0 0 4px;}
.new_archive .image img, .main2_news .image img{border:0px solid; object-fit:cover; height:235px; width:100%;}
.news-card-meta-row{display:flex;align-items:center;column-gap:.25rem;}
.news-comment-meta{display:flex;justify-content:flex-end;margin:0;font-family:"Open Sans",sans-serif;line-height:1;}
.news-card-meta-row .news-comment-meta{flex:0 0 auto;margin-left:auto;padding-left:.45rem;}
.news-image-column > .news-comment-meta{margin:.45rem 0 0;}
.news-comment-count{display:inline-flex;align-items:center;gap:.3rem;padding:.15rem .05rem;color:rgb(83 71 43 / 58%);font-size:.72rem;text-decoration:none;transition:color .18s ease;}
.news-comment-count i{font-size:.76rem;}
.news-comment-count:hover,.news-comment-count:focus{color:#9b782e;text-decoration:none;}
.new_archive .title, .main2_news .title{display:block; font-size:1.2rem; margin:1rem 0; text-decoration:none; font-weight:bold;}
.new_archive .text, .main2_news .text{font-size:.8rem; opacity:.7; font-family:"Open Sans", sans-serif; line-height:1.1rem; }  

 
@media screen and (max-width: 67em) {
  .new_archive .list .item, .main2_news .item{width: calc(33.3% - 2em); max-width:calc(33.3% - 2em);} 
  .main2_news .item:nth-child(4) {display:none;}
  
}
@media screen and (max-width: 45em) {
  .new_archive .list .item, .main2_news .item{width: calc(50% - 2em); margin: 0 0 3em 0; max-width:calc(50% - 2em);} 
  .main2_news .item:nth-child(4) {display: flex;}
}
@media screen and (max-width: 32em) {
  .new_archive .list .item, .main2_news  .item{width: 100%; margin-right:0; max-width:100%;} 
  .new_archive .image img, .main2_news .image img{height:305px;}

} 

.loadmore{text-align:center; margin:0 0 3rem;}
.loadmore span{display:inline-block;background: rgb(109 90 16 / 94%);padding: 1rem 1.4rem;color:#ffe8b9;margin: 27px 0 0;cursor:pointer;}    

.postauthor{/* text-align:center; */border:0px solid;color:#b38e40;font-size:.95rem;margin: 40px auto 0;max-width: 46rem;} 

.wp-block-image{/* margin-top:2rem !important; */margin-bottom: 2rem !important;}  
 
.commentsbox{margin:0 0 50px;}  
.commentsbox--before-support{margin-bottom:0;}
.commentsbox--before-support .ruk-comments{margin-bottom:1.5rem;}

/* Native Rukotvory comments */
.ruk-comments{
  max-width:46rem;
  margin:1rem auto 4rem;
  padding:2.5rem 0 0;
  color:#44381d;
  font-family:Lato,"Open Sans",sans-serif;
}
.ruk-comments,.ruk-comments *{box-sizing:border-box;}
.ruk-comments header{border:0;padding:0;z-index:auto;}
.ruk-comments__header{text-align:center;margin:0 auto 2.25rem;}
.new_post .ruk-comments__eyebrow{
  max-width:none;
  margin:0 auto .55rem;
  color:#9b782e;
  font-family:Lato,"Open Sans",sans-serif;
  font-size:.72rem;
  font-weight:700;
  line-height:1.4;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.new_post .ruk-comments h2{
  margin:0 auto .7rem;
  color:#302405;
  font-family:Merriweather,serif;
  font-size:clamp(1.75rem,3vw,2.2rem);
  line-height:1.25;
  text-align:center;
}
.new_post .ruk-comments__intro{
  max-width:34rem;
  margin:0 auto;
  color:#6f5b2e;
  font-family:Merriweather,serif;
  font-size:.94rem;
  line-height:1.75;
}
.new_post .ruk-comments__notice,
.new_post .ruk-comments__closed{
  max-width:40rem;
  margin:0 auto 1.5rem;
  padding:.75rem 1rem;
  border-radius:.2rem;
  background:rgb(180 126 42 / 10%);
  color:#76531c;
  font-family:Lato,"Open Sans",sans-serif;
  font-size:.86rem;
  line-height:1.55;
  text-align:center;
}
.ruk-comments__auth{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:2rem;
  margin:0 0 3rem;
  padding:1.8rem 1.9rem;
  background:radial-gradient(ellipse at center,rgb(245 225 140 / 52%) 0%,rgb(245 225 140 / 20%) 62%,rgb(245 225 140 / 0%) 100%);
}
.ruk-comments__auth-copy{flex:1 1 auto;text-align:left;}
.new_post .ruk-comments__auth h3{
  margin:0 0 .45rem;
  color:#443512;
  font-family:Merriweather,serif;
  font-size:1.08rem;
  line-height:1.45;
  text-align:left;
}
.new_post .ruk-comments__auth p{
  max-width:30rem;
  margin:0;
  color:#786434;
  font-family:Lato,"Open Sans",sans-serif;
  font-size:.85rem;
  line-height:1.6;
}
.ruk-comments__google,
.ruk-comments__google:visited{
  display:inline-flex;
  flex:0 0 auto;
  align-items:center;
  justify-content:center;
  gap:.7rem;
  min-height:3rem;
  padding:.75rem 1.15rem;
  border:1px solid rgb(82 68 4 / 48%);
  border-radius:.2rem;
  background:rgb(255 246 211 / 44%);
  color:#443812;
  font-size:.86rem;
  font-weight:700;
  line-height:1;
  text-decoration:none;
  transition:background-color .2s ease,border-color .2s ease,transform .2s ease;
}
.ruk-comments__google:hover,
.ruk-comments__google:focus{
  border-color:#524404;
  background:#fff1b4;
  color:#302405;
  transform:translateY(-1px);
}
.ruk-comments__google i{font-size:1rem;}
.ruk-comments__form{margin:0 0 3rem;}
.ruk-comment-respond{margin:0;}
.new_post .ruk-comment-form__title{
  margin:0 0 .65rem;
  color:#443512;
  font-family:Merriweather,serif;
  font-size:1.12rem;
  line-height:1.4;
  text-align:left;
}
.ruk-comment-form__cancel{margin-left:.65rem;font-family:Lato,"Open Sans",sans-serif;font-size:.72rem;font-weight:400;}
.new_post .ruk-comment-form__identity{
  max-width:none;
  margin:0 0 .85rem;
  color:#786434;
  font-family:Lato,"Open Sans",sans-serif;
  font-size:.78rem;
  line-height:1.5;
}
.ruk-comment-form__identity a{margin-left:.55rem;color:#8c6e27;}
.new_post .ruk-comment-form__field{max-width:none;margin:0 0 .85rem;}
.ruk-comment-form textarea{
  display:block;
  width:100%;
  min-height:8rem;
  margin:0;
  padding:1rem 1.1rem;
  border:1px solid rgb(116 91 33 / 28%);
  border-radius:.2rem;
  outline:none;
  background:rgb(255 247 216 / 54%);
  box-shadow:none;
  color:#44381d;
  font-family:Merriweather,serif;
  font-size:.94rem;
  line-height:1.7;
  resize:vertical;
  transition:border-color .2s ease,background-color .2s ease,box-shadow .2s ease;
}
.ruk-comment-form textarea::placeholder{color:#a28d5b;opacity:1;}
.ruk-comment-form textarea:focus{
  border-color:rgb(116 91 33 / 62%);
  background:rgb(255 247 216 / 78%);
  box-shadow:0 0 0 3px rgb(116 91 33 / 7%);
}
.new_post .ruk-comment-form .form-submit{max-width:none;margin:0;text-align:right;}
.ruk-comment-form__submit{
  min-height:3rem;
  padding:.75rem 1.35rem;
  border:1px solid #524404;
  border-radius:.2rem;
  background:#524404;
  color:#fff0b5;
  font-family:Lato,"Open Sans",sans-serif;
  font-size:.85rem;
  font-weight:700;
  line-height:1;
  cursor:pointer;
  transition:background-color .2s ease,transform .2s ease;
}
.ruk-comment-form__submit:hover,
.ruk-comment-form__submit:focus{background:#302405;transform:translateY(-1px);}
.new_post .ruk-comments__list,
.new_post .ruk-comments__list .children{
  max-width:none;
  margin:0;
  padding:0;
  list-style:none;
}
.ruk-comments__list{border-top:1px solid rgb(116 91 33 / 17%);}
.ruk-comments__list .children{
  margin-left:3.25rem!important;
  padding-left:1.15rem!important;
  border-left:1px solid rgb(116 91 33 / 18%);
}
.ruk-comment{margin:0;padding:0;list-style:none!important;}
.ruk-comment__body{padding:1.55rem 0 1.45rem;border-bottom:1px solid rgb(116 91 33 / 17%);}
.ruk-comment__header{display:flex;align-items:center;gap:.85rem;margin:0 0 .85rem;}
.ruk-comment__avatar{flex:0 0 48px;width:48px;height:48px;}
.ruk-comment__avatar img{
  display:block;
  width:48px;
  height:48px;
  margin:0;
  border:0;
  border-radius:50%;
  object-fit:cover;
}
.ruk-comment__identity{min-width:0;}
.ruk-comment__author{color:#443512;font-size:.91rem;font-weight:700;line-height:1.35;}
.ruk-comment__author a{color:inherit;text-decoration:none;}
.ruk-comment__author-badge{
  display:inline-block;
  margin-left:.45rem;
  color:#9b782e;
  font-size:.62rem;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.ruk-comment__date{display:inline-block;margin-top:.18rem;color:#9b8759;font-size:.68rem;line-height:1.4;text-decoration:none;}
.new_post .ruk-comment__text p{
  max-width:none;
  margin:.65rem 0;
  color:#44381d;
  font-family:Merriweather,serif;
  font-size:.9rem;
  line-height:1.75;
}
.new_post .ruk-comment__moderation{
  max-width:none;
  margin:.5rem 0;
  color:#9a641f;
  font-family:Lato,"Open Sans",sans-serif;
  font-size:.74rem;
  line-height:1.5;
}
.ruk-comment__actions{display:flex;align-items:center;gap:.9rem;margin-top:.8rem;font-size:.7rem;}
.ruk-comment__actions a{color:#8c6e27;font-weight:700;text-decoration:none;}
.ruk-comment__actions a:hover,.ruk-comment__actions a:focus{color:#4f3e13;text-decoration:underline;}
.ruk-comment__edit{display:inline-block;}
.new_post .ruk-comments__empty{
  max-width:none;
  margin:2.5rem auto 0;
  color:#9b8759;
  font-family:Merriweather,serif;
  font-size:.88rem;
  font-style:italic;
  line-height:1.7;
  text-align:center;
}
.new_post .ruk-comment--pingback p{max-width:none;margin:0;padding:1rem 0;font-size:.78rem;line-height:1.5;}

@media screen and (max-width:39.9375em){
  .commentsbox{margin-bottom:25px;}
  .commentsbox--before-support{margin-bottom:0;}
  .commentsbox--before-support .ruk-comments{margin-bottom:1rem;}
  .ruk-comments{margin:0 auto 2.75rem;padding:2rem 1rem 0;}
  .ruk-comments__header{margin-bottom:1.75rem;}
  .ruk-comments__auth{display:block;margin-bottom:2.25rem;padding:1.4rem .25rem;text-align:center;}
  .ruk-comments__auth-copy{text-align:center;}
  .new_post .ruk-comments__auth h3{text-align:center;}
  .new_post .ruk-comments__auth p{margin:0 auto 1.15rem;}
  .ruk-comments__google{width:100%;max-width:18rem;}
  .ruk-comments__list .children{margin-left:1rem!important;padding-left:.85rem!important;}
  .ruk-comment__avatar,.ruk-comment__avatar img{width:42px;height:42px;}
  .ruk-comment__avatar{flex-basis:42px;}
  .ruk-comment-form__submit{width:100%;}
}

.new_post .wp-block-gallery{margin: 0 auto 1rem;/* max-width: 46rem; */} 

.main2_news_other{margin-bottom: 10px;}
.main2_news_other li{list-style:none; margin:0 0 19px;}
.main2_news_other li .cat, .main2_news_other li .cat a{margin-bottom:3px;font-size: .8rem; color: #b38e40; font-family: "Open Sans", sans-serif;}
.main2_news_other li .cat a{color: #b38e40;}
.main2_news_other li .cat span{margin-left:5px;} 
   
  
.main2_shop{margin: 40px auto 53px;}
.main2_shop .list{display:flex;flex-wrap: wrap;margin-top:20px; justify-content: center;}
.main2_shop li{border:0px solid;display: flex; flex-grow: 1; flex-direction:column;
justify-content: flex-start; position: relative; width: calc(20% - 2em);  max-width:calc(20% - 2em); margin: 0 2em 3em 0rem;} 
.main2_shop .title{text-decoration:none; text-align:center; margin:9px 0 5px;}
.main2_shop .title span{font-size:1.0rem; }
.main2_shop .title .price{margin:7px 0 0; font-weight:500;}
.main2_shop .title .price, .main2_shop .title .curr{font-size:1.1rem; color:#ac8c00; text-decoration:none; font-family:"Open Sans", sans-serif;}
.main2_shop .title .curr{margin:0 0 0 3px;}
.main2_shop .cat{text-align:center; margin:10px 0 0;} 
.main2_shop .cat a{color:#ac8c00; font-family:"Open Sans", sans-serif;}   

.block_more{text-align:center;padding: 10px 0 10px;font-size:1rem;}
.block_more a{color:#ac8c00;}

.sections-links{text-align:center;padding: 10px 0 80px;margin-bottom: 20px;}
.sections-links a{color:#53472b; margin:auto 3px; font-size:1.1rem;}
.sections-links .sections-links-title{margin-bottom: 10px; font-size:1.0rem; color:#ac8c00}
.sections-links .links{margin-top:21px; font-size: 1.1rem;}

@media screen and (min-width: 67em) {
.main2_shop li:nth-child(5n) {margin-right:0;}  
}  

@media screen and (max-width: 67em) and (min-width: 45em) {
  .main2_shop li{width: calc(25% - 2em); max-width:calc(25% - 2em);}  
  .main2_shop li:nth-child(4n) {margin-right:0;}
  .main2_shop li:nth-child(9), .main2_shop li:nth-child(10) {display:none;}   
}
@media screen and (max-width: 45em) and (min-width: 32em) {
  .main2_shop li{width: calc(33.3% - 1em); margin-right:1rem; max-width:calc(33.3% - 1em);} 
  .main2_shop li:nth-child(3n) {margin-right:0;} 
  .main2_shop li:nth-child(10) {display:none;} 

}
@media screen and (max-width: 32em) {
  .main2_shop li{width: calc(50% - 2em); margin-right:1rem; max-width:calc(50% - 0em);} 
  .main2_shop li:nth-child(2n) {margin-right:0;} 
  .main2_shop li .image img{height:auto;} 
  .main2_shop li:nth-child(10) {display:flex;} 
} 



.main2_maystry .list{display:flex;flex-wrap: wrap;margin-top:20px;justify-content: center;margin-left:-1em;margin-right:-1em;}
.main2_maystry li{border:0px solid;display: flex;flex-grow: 1;flex-direction:column;justify-content: flex-start; 
position: relative;width: calc(25% - 2em);max-width:calc(14% - 2em);margin: 0 2em 3em 0rem;} 
.main2_maystry li img{ }
.main2_maystry .titlebox{} 
.main2_maystry .title{display:block; font-size:.95rem; font-weight:bold; padding:10px 0; } 
.main2_maystry .cat{font-size:.85rem; color:#ac8c00; line-height:1.3rem;} 
.main2_maystry .cat a{text-decoration:none;font-family:"Open Sans", sans-serif;color:#85732d;padding-right:3px;} 
.main2_maystry .cat a:before{color:#bca23d;text-decoration:none;white-space:nowrap; display: inherit;}   
.main2_maystry .maystry_region::before {font: var(--fa-font-regular); content: "\f279"; margin-right:5px;} 
.main2_maystry .maystry_cat{padding-left:1px;padding-right:0; }
.main2_maystry .maystry_cat::before {/* position:relative; *//* left:-4px; */font-size:1.1rem;margin-left:-2px;} 
    
    
@media screen and (min-width: 67em) {
 
.main2_maystry li:nth-child(7n) {margin-right:0;}
.main2_maystry li:nth-child(8),.main2_maystry li:nth-child(9), .main2_maystry li:nth-child(10) {display:none;} 
.main2_maystry .list{margin-left:-1em;margin-right:-1em;}
} 

@media screen and (max-width: 67em) and (min-width: 45em) {
  .main2_maystry li{width: calc(20% - 2em); max-width:calc(20% - 2em);}  
  .main2_maystry li:nth-child(5n) {margin-right:0;}
  .main2_maystry li:nth-child(6), .main2_maystry li:nth-child(7), .main2_maystry li:nth-child(8),
  .main2_maystry li:nth-child(9), .main2_maystry li:nth-child(10){display:none;}   
}
@media screen and (max-width: 45em) and (min-width: 32em) {
  .main2_maystry li{width: calc(25% - 1em); margin-right:1rem; max-width:calc(25% - 1em);} 
  .main2_maystry li:nth-child(4n) {margin-right:0;} 
  .main2_maystry li:nth-child(9),.main2_maystry li:nth-child(10) {display:none;} 
  
}
@media screen and (max-width: 32em) {
  .main2_maystry li{width: calc(33.3% - 2em); margin-right:1rem; max-width:calc(33.3% - 0em);} 
  .main2_maystry li:nth-child(3n) {margin-right:0;} 
  .main2_maystry li .image img{height:auto;} 
  .main2_maystry li:nth-child(10) {display:none;} 
  .main2_maystry .list{margin-left:0rem;margin-right:0rem;}
} 
 
.main_maystry_cat{padding-bottom:40px;}
.main_maystry_cat li{list-style:none; position:relative; padding:8px 0;}
.main_maystry_cat li span{display:inline-block; margin:0 0 0 5px; color:#c1a011;}
.main_maystry_cat li a{ padding:7px 0 7px 27px;}
.main_maystry_cat li:before{font-size:1.7rem; position:absolute; top:3px; left:0; color:#ac8c00;}
 
   

/* full screen image */

.new_post .alignfull {margin-left: calc(-100vw / 2 + 100% / 2) !important; margin-right: calc(-100vw / 2 + 100% / 2) !important; max-width: 100vw;}
.new_post .alignfull img {width: 100vw;}
/*.alignwide {margin-left: -80px; margin-right: -80px; max-width: 100vw;}*/
.alignwide {margin-left: calc(-100vw / 2 + 100% / 2); margin-right: calc(-100vw / 2 + 100% / 2); max-width: 100vw;} 
@media screen and (min-width: 64em) {
  .alignwide {width: 100%; margin: 2rem 0;}
}  

.mayster_block{display: flow-root; margin:50px 0;}
.mayster_block .img{ float:left;}
.mayster_block img{object-fit: cover; border-radius:100%; width:200px; height:200px;}
.mayster_block .info{text-align:left; font-size:1rem; margin-left:230px; color:#6d6339;} 
.mayster_block h2{text-align:left; } 
.mayster_block .info .desc{font-style:italic; line-height:1.7rem;}   
.mayster_block .info .link{margin:20px 0; font-size:.9rem;}

@media screen and (max-width: 34em) {
 .mayster_block, .mayster_block h2, .mayster_block .info{text-align:center;}
 .mayster_block .img{float:none; display:inline-block;}
 .mayster_block .info{ margin-left:0;}
 .mayster_block .info .desc{margin:30px 0;} 
} 

.mainimage{text-align:center; width:100%;}
.mainimage{display:inline-block;}

.newlightbox{margin:0 0 10px; width:100%; text-align:center; display:block;}
.newlightbox img{display:inline-block;}    
  


#maystry_filter{position:absolute; top:45px; right:17px; color:#ffd270; font-size:1.0rem; border:0px solid; padding:10px; cursor:pointer; }
#maystry_filter i{margin:0 8px 0 0; }

#filterbox{display:none; min-height:200px;}

 
#m_categories{min-height:40px; }  
#m_categories ul{text-align:left; padding:10px 0 3px 0px;position: relative; text-align:center;}
#m_categories ul > li{/* position:relative; */display:inline-block;background: #ffefaad1;/* color: #feeda3; */font-size:1rem;padding:6px 10px;margin: 0 2px;border-radius:3px;cursor:pointer;/* box-shadow:0px 0px 2px rgba(0, 0, 0, 0.14); */margin-bottom:8px;}
#m_categories ul > li::after{content:'\f0d7';font-family:'Font Awesome 5 Free';font-weight:900;font-size:.8rem;color: rgb(137 117 28);margin:0 0 0 3px;}
#m_categories ul > li > i{margin:0 2px 0 0; color: #ead05e;}
#m_categories ul ul{display:none; position:absolute; max-height:90vh; min-width:250px; overflow-y:scroll;  border-radius:3px; box-shadow:1px 2px 6px rgba(91, 69, 14, 0.68); z-index:1000; top: 50px; left:auto; margin-left:-10px; padding:10px 0; background:rgb(254 237 163); }
#m_categories ul ul::-webkit-scrollbar{width: .8em;} 
#m_categories ul ul::-webkit-scrollbar-track {}
#m_categories ul ul::-webkit-scrollbar-thumb {background-color: #ebc774;} 
#m_categories ul > li i{color:#bda640; margin-right:3px;}


#m_categories ul ul li{text-align:left; white-space:nowrap; position:relative; display:block; background:none; box-shadow:none; padding:0 10px 0 0; border-radius:0; margin-bottom:0;}
#m_categories ul ul li:hover, #categorybox ul ul li:focus{background:#fff0cf; }
#m_categories ul ul li span{display:inline;position:absolute;top:-2px;right:9px;font-size:.7rem;background:rgb(178 152 42);padding:1px 4px;border-radius:2px;color:#fae0a3;font-family: sans-serif;}
#m_categories ul ul li::after{content:'';}
#m_categories ul ul li a{display:inline-block; border:0px solid; padding:5px 29px 5px 12px; font-size:.85rem; text-decoration:none; } 

#m_categories ul > li.menuitem > span{position:relative;}
#m_categories ul > li.nocl::after{opacity:0;}
#m_categories ul > li .close{display:none; z-index:2000; border:0px solid; width:24px; position:absolute; right:-23px; height:23px; top:-1px; }
#m_categories ul > li .close::before {font: var(--fa-font-solid); content: "\f00d"; margin-right:1px;}
#m_categories ul > li.nocl .close{display:inline-block;}



/* Unavailable (0 results) item in dropdown - kept visible only if active */
#m_categories ul ul li.term-unavailable { opacity: .4; font-style: italic; }
#m_categories ul ul li.term-unavailable.filter-item-active { opacity: .7; }

/* Active item inside dropdown */
#m_categories ul ul li.filter-item-active { background: #fff0cf; }
#m_categories ul ul li.filter-item-active > a { font-weight: bold; }
#m_categories ul ul li.filter-item-active > a::before {
    font: var(--fa-font-solid);
    content: "\f00c";
    color: #7a6010;
    margin-right: 6px;
    font-size: .75rem;
}

/* Filter chips strip */
.filter-chips {
    text-align: center;
    margin: 4px 0 12px;
    min-height: 0;
}
.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: transparent;
    color: #524404;
    border: 1.5px solid #b8960a;
    border-radius: 4px;
    padding: 4px 9px 4px 12px;
    font-size: .82rem;
    font-family: var(--merry);
    margin: 3px 4px;
    vertical-align: middle;
}
.filter-chip .chip-label { opacity: .65; font-size: .75rem; color: #7a6010; }
.filter-chip .chip-name  { font-weight: bold; color: #302405; }
.chip-remove {
    background: none;
    border: none;
    color: #b8960a;
    cursor: pointer;
    padding: 0 0 0 4px;
    font-size: .8rem;
    opacity: .7;
    line-height: 1;
    transition: opacity .15s;
}
.chip-remove:hover { opacity: 1; }

.filter-reset-all {
    background: none;
    border: 1px solid #b8960a;
    color: #7a6010;
    border-radius: 4px;
    padding: 5px 12px;
    font-size: .8rem;
    cursor: pointer;
    margin: 3px 4px;
    vertical-align: middle;
    transition: background .15s, color .15s;
}
.filter-reset-all:hover { background: #b8960a; color: #fff3c0; }

/* Result count line */
.filter-count {
    text-align: center;
    font-size: .82rem;
    color: #7a6010;
    margin: 0 0 10px;
    font-family: var(--merry);
}

/* Loading overlay on archive grid */
#posts_archive.mf-loading {
    position: relative;
    min-height: 200px;
    opacity: .45;
    pointer-events: none;
    transition: opacity .2s;
}
#posts_archive.mf-loading::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='20' r='16' fill='none' stroke='%23b8960a' stroke-width='4' stroke-dasharray='80' stroke-dashoffset='60'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 20 20' to='360 20 20' dur='.8s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/svg%3E") center 60px no-repeat;
    z-index: 10;
}

/* AJAX pagination — стиль успадковується від wp-pagenavi */
.ajax-paged {
    text-align: center;
    margin: 30px 0 10px;
    clear: both;
}
.ajax-page-btn {
    display: inline-block;
    padding: 5px 10px;
    margin: 0 4px;
    background: transparent;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 1rem;
    text-decoration: none;
    color: #524404;
    transition: background .15s, color .15s;
    user-select: none;
    min-width: 30px;
    text-align: center;
}
.ajax-page-btn:hover   { background: rgba(82,68,4,.08); }
.ajax-page-btn.current { background: #3b2e00; color: #fff8dc; cursor: default; font-weight: bold; }
.ajax-page-btn.prev-page,
.ajax-page-btn.next-page { letter-spacing: .5px; }
.ajax-dots { display: inline-block; padding: 5px 2px; color: #9c8a5a; font-size: 1rem; }


@media screen and (max-width: 48em) {
 #m_categories ul ul{left:20vw; width:60vw; top:auto; margin-top:14px;}
 #m_categories ul ul li{text-align:left;}
}
@media screen and (max-width: 27em) {
 #m_categories ul ul{left:5vw; width:90vw;}
}
.maystry_archive .meta{margin-bottom:20px; font-size:.8rem; line-height:1.3rem;} 
.maystry_archive .meta span{margin-right:5px;}
.maystry_archive .meta i{margin-right:3px; display:none;}      
/*.maystry_archive .meta .tag::before {font: var(--fa-font-regular); content: "\f07b"; margin-right:1px;}*/
.maystry_archive .meta .region::before {font: var(--fa-font-regular); content: "\f279"; margin-right:3px;}
 

.mayster_new h1{margin:30px 0 30px;}
.mayster_new .main_img{text-align:center;max-width:46rem;margin: 0 auto;/* border:1px solid; */}  
.mayster_new .main_img img{width:100%;}

.mayster_new .meta{text-align:center; margin:30px 0 40px; font-size:.9rem; line-height:1.3rem;}
.mayster_new .meta span{margin:0 7px;}
.mayster_new .meta span i{margin-right:5px; display:none;}      
.mayster_new .meta .tag::before {font: var(--fa-font-regular); content: "\f07b"; margin-right:1px;}
.mayster_new .meta .region::before {font: var(--fa-font-regular); content: "\f279"; margin-right:3px;}
.mayster_new .meta .pt::before {font: var(--fa-font-regular); content: "\f007"; margin-right:3px;}  
 

@media screen and (max-width: 34em) { 
 .mayster_new h1{margin:30px 0 20px;}
 .mayster_new .meta{text-align:center; margin:10px 20px 30px; font-size:.8rem;}
 .mayster_new .meta span{margin:0 5px;}
} 


.icon::before {display: inline-block;text-rendering: auto;-webkit-font-smoothing: antialiased;}
.account::before {font: var(--fa-font-solid); content: "\f007";}

.mayster_new .content{font-size:1.1rem;font-family: Merriweather, Lato, sans-serif;margin-top:50px;margin-bottom: 23px;max-width: 46rem;margin-left:auto;margin-right:auto;line-height: 2.1rem;}
.mayster_new .content p{margin-top:1.9rem;margin-bottom:1.9rem;  line-height: 2.0rem;}
.mayster_new .content .fulltxt{display:none;}  
.mayster_new .content h3{font-family:"Merriweather","Lato", sans-serif;}
.mayster_new .shorttxt{line-height: 2.0rem;}
.mayster_new .txtbuttons{font-size:.95rem;text-decoration:underline;cursor:pointer;text-align: center;}
.mayster_new .openfull{margin:0 0 0 10px; display:inline-block;} 
@media screen and (max-width: 34em) { 
  .mayster_new .content{font-size:.95rem; } 
 .mayster_new .shorttxt{text-align:center;} 
}
       
/*
.masonrysingle{margin: 0 auto; text-align: justify; padding: 15px 0px; }
.masonrysingle:after {content:""; display:table; clear:both;}

.masonrysingle ul{margin:0; padding:0; list-style:none;}
.masonrysingle li{width:33.3%; padding:0 6px 4px; opacity:1;}
.masonrysingle li img{width:100%;}

.masonrysingle .grid-sizer{width:33.3%;}*/
 
.masonrysingle {display:flex;flex-wrap: wrap;margin-top:20px;margin-bottom:70px; justify-content: center;} 
.masonrysingle li{border:0px solid;display: flex; flex-grow: 1; flex-direction:column;
justify-content: flex-start; position: relative; width: calc(33.3% - .6em);  max-width:calc(33.3% - 0em); margin: 0 .3em .5em; } 

.new_post .ngg-masonry-gallery{display:flex;flex-wrap:wrap;align-items:flex-start;max-width:64rem;margin:3rem auto 3.5rem;padding:0;list-style:none;}
.new_post .ngg-masonry-gallery li{display:block;list-style:none;padding:0;width:calc(33.3% - .6em);max-width:calc(33.3% - .6em);margin:0 .3em .6em;background:none;}
.new_post .ngg-masonry-gallery .image{display:block;background:#fff;text-decoration:none;}
.new_post .ngg-masonry-gallery .image img{display:block;width:100%;height:auto;}
.new_post .ngg-masonry-gallery:after{content:"";display:table;clear:both;}


@media screen and (max-width: 54em) {   
 .masonrysingle li{width: calc(50% - .6em);max-width:calc(50% - 0em); margin: 0 .3em .6em;}  
 .new_post .ngg-masonry-gallery li{width:calc(50% - .6em);max-width:calc(50% - .6em);}
} 
 
@media screen and (max-width: 34em) {   
 .masonrysingle li{width: calc(100% - .6em);max-width:calc(100% - 0em); margin: 0 .3em .6em;}  
 .new_post .ngg-masonry-gallery{margin:2rem auto 3rem;}
 .new_post .ngg-masonry-gallery li{width:100%;max-width:100%;margin:0 0 .7rem;}
}           

.mayster_info{display:flex;width:100%;max-width:46rem;font-size:.9rem;margin: 30px auto 39px;flex-wrap: wrap;justify-content: center;}
.mayster_info .item{width:33%; text-align:center; }
.mayster_info .item .icon{text-decoration: none; margin-bottom:13px;}
.mayster_info .item i, .mayster_info .item a{display:block;}
.mayster_info .item a{display:block; margin:0px; padding:5px; font-family:Lato, sans-serif;}
.mayster_info .item i{margin: 2px 0 0px;font-size:1.7rem;} 
.mayster_info .address .box{margin-top:0px; line-height:1.4rem; display:block;} 
    
@media screen and (max-width: 34em) {   
 .mayster_info{font-size:.85rem; margin:30px auto 0;} 
 .mayster_info .item{width:33.3%; text-align:center; margin-bottom:10px;}
 .mayster_info .item i{margin:30px 0 5px; font-size:1.4rem;}  
 .mayster_info .item a, .mayster_info .address .box{/* display:none; */}
 .mayster_info .item .icon{display:block;} 
}       
  
@media screen and (max-width: 24em) {  
 .mayster_info{font-size:.75rem; margin:10px auto 0;} 
 .mayster_info .item{width:50%; } 
 .mayster_info .item i{font-size:1.1rem;} 
 .mayster_info .item .icon{margin:0;}
}   

  
 

/* ===== LIVE SEARCH ===== */

#open-search { cursor: pointer; margin: 4px 8px 0 0; }
#open-search i { font-size: 1.1rem; opacity: .8; transition: opacity .2s; }
#open-search:hover i { opacity: 1; }

.searchisopen { overflow: hidden; }

.searchoverlay {
    display: none;
    position: fixed;
    z-index: 200;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: var(--bg);
    padding: 110px 20px 60px;
    overflow-y: auto;
}

.searchoverlay-inner {
    max-width: 720px;
    margin: 0 auto;
}

.search-form-live {
    display: flex;
    align-items: center;
    border-bottom: 3px solid #524404;
    margin-bottom: 30px;
    gap: 12px;
}

.search-form-icon {
    font-size: 1.4rem;
    color: #524404;
    opacity: .6;
    flex-shrink: 0;
}

#live-search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 1.8rem;
    font-family: var(--merry);
    padding: 12px 0;
    outline: none;
    color: #302405;
    min-width: 0;
}

#live-search-input:focus,
.searchoverlay #live-search-input:focus { outline: none !important; box-shadow: none !important; border: none !important; border-color: transparent !important; }
#live-search-input::placeholder { color: #9c8a5a; }

.search-submit {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.3rem;
    color: #524404;
    padding: 8px;
    flex-shrink: 0;
    opacity: .7;
    transition: opacity .2s;
}
.search-submit:hover { opacity: 1; }

.close-search {
    position: fixed;
    top: 30px;
    right: 16px;
    font-size: 1.8rem;
    padding: 20px;
    z-index: 500;
    cursor: pointer;
    opacity: .7;
    transition: opacity .2s;
}
.close-search:hover { opacity: 1; }

.search-loading {
    text-align: center;
    padding: 30px;
    font-size: 1.8rem;
    color: #524404;
    opacity: .5;
}

.search-noresults {
    text-align: center;
    padding: 30px;
    font-size: 1.1rem;
    color: #7a6835;
    font-family: var(--merry);
}

.search-result-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 14px 12px;
    border-radius: 6px;
    text-decoration: none;
    color: #302405;
    transition: background .15s;
    margin-bottom: 4px;
}
.search-result-item:hover { background: rgba(82,68,4,.08); color: #302405; }

.sri-thumb {
    width: 72px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
    background: #e8d98a;
}
.sri-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sri-thumb-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #9c8a5a;
}

.sri-content { flex: 1; min-width: 0; }
.sri-title { font-family: var(--merry); font-weight: bold; font-size: 1.0rem; line-height: 1.4; margin-bottom: 4px; }
.sri-excerpt { font-size: .85rem; color: #7a6835; line-height: 1.4; }

/* Search button in mobile menu */
.search-mobile-btn {
    text-align: center;
    font-size: 1.1rem;
    font-family: var(--merry);
    padding: 12px 20px;
    cursor: pointer;
    color: #524404;
    margin: 0 0 10px;
    opacity: .8;
}
.search-mobile-btn:hover { opacity: 1; }
.search-mobile-btn i { margin-right: 8px; }

@media screen and (max-width: 39.9375em) {
    .searchoverlay { padding: 80px 16px 40px; }
    #live-search-input { font-size: 1.3rem; }
    .sri-thumb { width: 56px; height: 44px; }
    .close-search { top: 18px; right: 4px; }
}

/* ===== END LIVE SEARCH ===== */

.footer{margin-top: 45px;padding: 90px 0 62px;background: url(../images/new/rukotvory_bg4.svg);/* background: #f5e18c; */background-size:cover;text-align:center;font-family: Merriweather, sans-serif;}  
.footer .grid-container{max-width:80rem;}

.footer .site_desc{text-align:center; margin:10px auto 60px; max-width:50rem; line-height:1.7rem; font-size:1rem;}   

.footer .social{padding:20px 0 0;}  
.footer .social li{display:inline-block; font-size:1.3rem; padding:0 8px;}  

.footer .footer_menu{padding:20px 0 30px; }
.footer .footer_menu li{list-style:none; display:inline-block; padding:0 8px;}

.footer .footer_menu .main_m{font-size:1rem; margin-bottom: 20px; font-weight:bold; line-height:1.8rem; text-align:center; margin-left: auto; margin-right:auto;}
.footer .footer_menu .second_m{font-size:.9rem; line-height:1.6rem; max-width:40rem; text-align:center;  margin-left: auto; margin-right:auto;} 
 
/* HERO SECTION */
.main2_hero {
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto 3rem;
    max-width: 80rem;
    gap: 2rem;
}

.main2_hero .news-image-column {
    flex: 1 1 calc(50% - 1rem);
    width: calc(50% - 1rem);
}
.main2_hero .image { width: 100%; }
.main2_hero .image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 500px;
}

.main2_hero .content {
    flex: 1 1 calc(50% - 1rem);
    width: calc(50% - 1rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 1rem;
}

.main2_hero .cat {
    margin-bottom: 0.5rem;
    color: #b38e40;
    font-family: "Open Sans", sans-serif;
    font-size: 0.9rem;
}

.main2_hero .title {
    font-family: Merriweather, sans-serif;
    font-size: 2.2rem;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #302405;
    text-decoration: none;
}

.main2_hero .text {
    font-family: "Open Sans", sans-serif;
    font-size: 1.05rem;
    line-height: 1.6;

    margin-bottom: 1.5rem;
}

@media screen and (max-width: 63.938rem) {
    .main2_hero {
        flex-direction: column;
        gap: 1rem;
    }
    .main2_hero .news-image-column {
        width: 100%;
        flex: auto;
    }
    .main2_hero .content {
        width: calc(100% - 1rem);
        padding: 0 1rem;
    }
    .main2_hero .title {
        font-size: 1.8rem;
    }
}

/* Avatar overlay for maystry cards */
.image-bg { position: relative; }

.master-mini-thumb {
  position: absolute;
  bottom: 12px; /* sit inside the image bottom-left */
  left: 8px;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 3px solid white;
  background-image: var(--avatar-url);
  background-size: cover;
  background-position: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  z-index: 20;
}
.item { position: relative; }
.item .image { position: relative; display: block; overflow: hidden; }

/* Mobile tweak: slightly smaller avatar */
@media (max-width: 480px) {
  .master-mini-thumb { width:64px; height:64px; left:8px; bottom:8px; }
}

/* Equal-height maystry cards and clamped excerpts */
.maystry { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; align-items: stretch; }
.maystry .item { display: flex; flex-direction: column; box-sizing: border-box; }
.maystry .item .content { flex: 1 1 auto; display: flex; flex-direction: column; }
/* Header (title + meta) keep natural size; JS will set per-row spacer to align text starts */
.maystry .item .title {display:block;font-weight:700;font-size:1.15rem;line-height:1.15;margin: 1.2rem 0 .6rem;}
.maystry .item .meta { flex: none; margin-top: 0; line-height:1.4rem; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* Spacer inserted between meta and text; JS adjusts its height per-row */
.header-spacer { height:0; transition: height .06s linear; }

/* Text / excerpt stays clamped (desktop: 4 lines) */
.maystry .item .text {margin-top: 0;overflow: hidden;display: -webkit-box;-webkit-line-clamp: 4;-webkit-box-orient: vertical;text-overflow: ellipsis;line-height: 1.4rem;max-height: calc(1.6rem * 4);word-break: break-word;hyphens: auto;box-sizing: border-box;}

@media (max-width: 800px) {
  .maystry { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  /* Narrower cards need more lines to show similar amount of text */
  .maystry .item .text { -webkit-line-clamp: 9; max-height: calc(1.6rem * 9); }
}

@media (max-width: 480px) {
  .maystry { grid-template-columns: repeat(auto-fit, minmax(100%, 1fr)); }
  .maystry .item .text { -webkit-line-clamp: 11; max-height: calc(1.6rem * 11); }
}

/* desktop overrides removed — using base text size and line-height */

/* ===== 404 page ===== */
.page-404 { text-align: center; padding: 2rem 1rem 3rem; }
.page-404-inner { max-width: 540px; margin: 0 auto; }
.page-404-code { font-family: var(--merry); font-size: 9rem; font-weight: 900; color: #c1ae81; line-height: 1; margin: 0 0 0.2rem; opacity: .6; }
.page-404-title { font-family: var(--merry); font-size: 1.8rem; font-weight: bold; color: #302405; margin: 0 0 1rem; line-height: 1.3; }
.page-404-hint { color: #6b5a35; font-size: 1.05rem; line-height: 1.8rem; margin-bottom: 2.5rem; font-style: italic; }
/* Search button — opens the site-wide overlay */
.page-404-search-btn { display: inline-flex; align-items: center; gap: 0.6rem; background: transparent; border: 2px solid #524404; color: #524404; font-family: var(--merry); font-size: 1.2rem; padding: 0.9rem 2.4rem; border-radius: 0.3rem; cursor: pointer; margin-top: 0.5rem; }
.page-404-search-btn:hover { background: #524404; color: #feeda3; }
.page-404-home { display: block; margin-top: 2.5rem; color: #6b5a35; font-family: var(--merry); font-size: 1rem; text-decoration: none; }
.page-404-home:hover { color: #302405; text-decoration: underline; }
.page-404-home:visited { color: #6b5a35; }
