/*
Theme Name: Enfold Child - Gorna Malina Tourism
Theme URI: https://gornamalina.bg/
Description: Child theme for the Gorna Malina tourism portal, based on Enfold.
Author: Gorna Malina / Tourism Portal
Template: enfold
Version: 1.3.1
Text Domain: enfold-child-gorna-malina
*/
.gm-brand-wrap{position:relative;height:100%;width:100%}
.gm-brand-wrap .logo{position:relative!important;z-index:2}
.gm-tourism-title{position:absolute;left:85px;top:50%;transform:translateY(-50%);white-space:nowrap;line-height:1.15;z-index:3}
.gm-tourism-title-main{display:block;font-size:20px;font-weight:600;color:#17392f;letter-spacing:.2px}
.gm-tourism-title-sub{display:block;margin-top:4px;font-size:13px;font-weight:400;color:#66766d}
#header_main .av-logo-container{height:112px!important;line-height:112px!important}
.gm-programme-logo{position:absolute;right:0;top:50%;transform:translateY(-50%);display:block;width:350px;max-width:42%;line-height:0;z-index:4;background:#fff}
.gm-programme-logo img{display:block;width:100%;height:auto;max-height:none!important}
.gmhs-feature-3 .gmhs-feature-copy strong,.gmhs-feature-3 .gmhs-feature-copy>span{color:#fff!important}
#footer,#socket{display:none}
.gm-project-footer{clear:both;background:#fff;color:#17392f;font-family:Arial,sans-serif}
.gm-footer-inner{max-width:1210px;padding:24px 30px;margin:0 auto}
.gm-project-summary{background:#f2f6f0;border-radius:20px;padding:32px 36px;margin:0 0 26px}
.gm-project-code{font-size:12px;letter-spacing:1.4px;font-weight:bold;color:#426e55}
.gm-project-summary h2{font-size:28px;line-height:1.35;margin:12px 0;color:#17392f;max-width:820px;text-transform:none;letter-spacing:0}
.gm-project-summary p{font-size:15px;line-height:1.8;margin:10px 0;color:#425b4e}
.gm-contact-row{display:flex;justify-content:space-between;flex-wrap:wrap;gap:22px;font-size:14px;line-height:1.9;padding:0 0 20px}
.gm-contact-row a{color:#17392f}
.gm-funding-disclaimer{border-top:1px solid #dfe7e3;padding-top:20px;margin:0;color:#617269;font-size:12px;line-height:1.8}
.gm-about-links{padding:8px 0 30px}
.gm-about-links h2{font-size:26px;text-transform:none;letter-spacing:0;color:#17392f}
.gm-about-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:20px 0}
.gm-about-grid a{display:block;border:1px solid #dfe7e3;border-radius:14px;padding:22px;color:#17392f;text-decoration:none;background:#fff}
.gm-about-grid strong{display:block;font-size:19px;margin-bottom:6px;color:#17392f}
.gm-about-grid span{display:block;font-size:14px;line-height:1.6;color:#617269}
@media(max-width:1100px){.gm-tourism-title-main{font-size:18px}.gm-tourism-title-sub{font-size:12px}.gm-tourism-title{left:75px}.gm-programme-logo{width:310px}}
@media(max-width:767px){#header_main .av-logo-container{height:182px!important;line-height:normal!important}.gm-brand-wrap .logo{height:70px!important;max-height:70px!important;float:left}.gm-brand-wrap .logo img{max-height:64px!important;width:auto}.gm-tourism-title{display:block;left:65px;top:34px;white-space:normal;max-width:calc(100% - 100px)}.gm-tourism-title-main{font-size:17px}.gm-tourism-title-sub{font-size:12px}.gm-programme-logo{left:0;right:auto;top:78px;transform:none;width:310px;max-width:100%}.gm-footer-inner{padding:20px}.gm-project-summary{padding:24px}.gm-project-summary h2{font-size:23px}.gm-about-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gm-contact-row{display:block}.gm-contact-row>div{margin-bottom:18px}}
@media(max-width:420px){.gm-about-grid{grid-template-columns:1fr}.gm-tourism-title-main{font-size:15px}}

@media(min-width:768px){.html_header_top.html_header_sticky #main{padding-top:165px!important}.gm-brand-wrap .logo img{max-height:84px!important;width:auto}}
@media(max-width:767px){.html_header_top.html_header_sticky #main{padding-top:0!important}}
.wpml-ls-statics-post_translations{display:none}

/* Refined shared layout — approved compact portal presentation. */
#top #header .container,#top #main .container{width:100%;max-width:1264px;margin-left:auto;margin-right:auto;padding-left:32px;padding-right:32px}
#top .gmhs-wrap{max-width:1200px;padding-left:0;padding-right:0}
#top .gm-footer-inner{max-width:1264px;padding-left:32px;padding-right:32px}
#top .gm-about-links{padding-top:28px;padding-bottom:34px;scroll-margin-top:190px}
#top .gm-about-links h2{font-size:24px;line-height:1.4;font-weight:500;letter-spacing:0;text-transform:none;margin:0 0 22px}
#top .gm-about-grid{gap:18px;margin:0}
#top .gm-about-grid a{padding:24px 20px;min-height:132px;transition:border-color .2s,box-shadow .2s,transform .2s}
#top .gm-about-grid a:hover,#top .gm-about-grid a:focus-visible{border-color:#91ad98;box-shadow:0 10px 24px #17392f0d;transform:translateY(-2px)}
#top .gm-about-grid strong{font-size:20px;font-weight:600}
#top #header_main{border-bottom:0}
#top #header_main_alternate{border-top:0;border-bottom:0;background:#fff;box-shadow:none}
#top #header_main_alternate>.container{position:relative}
#top #header_main_alternate>.container:before{content:'';position:absolute;left:32px;right:32px;top:0;height:1px;background:#e3eae5}
#top #header_main_alternate .main_menu{width:100%}
#top #header_main_alternate .avia-menu{width:100%}
#top #header_main_alternate .av-main-nav>li>a{font-family:Arial,sans-serif;font-size:14px;font-weight:400;letter-spacing:0;line-height:56px;height:56px;color:#27493d;padding:0 15px;border:0;transition:color .2s,background .2s}
#top #header_main_alternate .av-main-nav>li:first-child>a{padding-left:0;padding-right:22px}
#top #header_main_alternate .av-main-nav>li>a:hover,#top #header_main_alternate .av-main-nav>li>a:focus-visible{color:#376f50;background:#f3f7f2}
#top #header_main_alternate .av-main-nav>.current-menu-item>a{color:#376f50;font-weight:600}
#top #header_main_alternate .avia-menu-fx{display:none}
#top #header_main_alternate .av-main-nav ul{padding:9px;background:#fff;border:1px solid #e1e9e3;border-radius:13px;box-shadow:0 14px 40px #17392f14;width:230px}
#top #header_main_alternate .av-main-nav ul li a{background:#fff;border:0!important;border-radius:7px;padding:12px 14px;font-size:14px;line-height:1.4;letter-spacing:0;font-weight:400;color:#27493d}
#top #header_main_alternate .av-main-nav ul li a:hover,#top #header_main_alternate .av-main-nav ul li a:focus-visible{background:#f0f5ef;color:#376f50}
#top #header_main_alternate .av-language-switch-item>a{padding:0 10px;font-size:12px;letter-spacing:1.3px;font-weight:400;min-width:35px;text-align:center}
#top #header_main_alternate .av-language-switch-item img{display:none}
#top #header_main_alternate .language_bg>a:after{content:'BG'}
#top #header_main_alternate .language_en-us>a:after{content:'EN'}
#top #header_main_alternate .language_de>a:after{content:'DE'}
#top #header_main_alternate .language_sr>a:after{content:'SR'}
#top #header_main_alternate .avia_current_lang>a{color:#376f50;font-weight:700}
/* News archives: readable text and restrained imagery, including the municipal crest. */
#top.category #main .content{padding-top:42px;padding-bottom:44px}
#top.category .slide-entry-wrap{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;margin:0}
#top.category .slide-entry{width:auto!important;margin:0!important;float:none;overflow:hidden;background:#fff;border:1px solid #e1e9e3;border-radius:18px;box-shadow:0 12px 30px #17392f08}
#top.category .slide-image{height:220px;margin:0;background:#f3f6f0;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:0}
#top.category .slide-image img{height:100%;width:100%;object-fit:contain;padding:24px}
#top.category .slide-content{padding:26px 28px 30px}
#top.category .slide-entry-title{font-size:24px;line-height:1.35;text-transform:none;letter-spacing:0;margin:0 0 14px;font-weight:600}
#top.category .slide-entry-title a{color:#17392f}
#top.category .slide-meta{font-size:12px;letter-spacing:.3px;color:#718175;margin:0 0 14px}
#top.category .slide-entry-excerpt{font-size:16px;line-height:1.75;color:#50675a;margin:0}
#top.category .slide-entry-wrap:has(>article:only-child){grid-template-columns:1fr}
#top.category .slide-entry-wrap>article:only-child{display:grid;grid-template-columns:290px 1fr;align-items:center;max-width:960px;width:100%!important;margin:0 auto!important}
#top.category .slide-entry-wrap>article:only-child .slide-image{height:280px}
#top.category .slide-entry-wrap>article:only-child .slide-content{padding:32px 36px}
#top.category .slide-entry-wrap>article:only-child .entry-footer{display:none}
@media(min-width:768px){
 #top #header_main_alternate .av-main-nav{display:flex;width:100%;align-items:center;float:none}
 #top #header_main_alternate .av-main-nav>li{float:none;flex:0 0 auto}
 #top #header_main_alternate .av-main-nav>.language_bg{margin-left:auto}
 #top #header_main_alternate .av-main-nav>.av-language-switch-item{order:10}
 #top #header_main_alternate .av-main-nav>#menu-item-search{order:20;margin-left:12px}
 #top #header_main_alternate .av-main-nav>#menu-item-search>a{padding-right:0}
 .html_header_top.html_header_sticky #main{padding-top:168px!important}
 #top .gm-brand-wrap .logo img{max-height:76px!important}
}
@media(max-width:989px) and (min-width:768px){#top #header_main_alternate .av-main-nav>li>a{font-size:13px;padding:0 10px}#top #header_main_alternate .av-language-switch-item>a{padding:0 7px;min-width:30px}}
@media(max-width:767px){
 #top #header .container,#top #main .container{padding-left:22px;padding-right:22px;max-width:100%}
 #top .gm-footer-inner{padding-left:22px;padding-right:22px}
 #top .gm-about-links{scroll-margin-top:22px;padding-top:24px}
 #top .gm-about-links h2{font-size:22px}
 #top .gm-about-grid a{min-height:0;padding:20px}
 #top.category .slide-entry-wrap{grid-template-columns:1fr}
 #top.category .slide-entry-wrap>article:only-child{display:block}
 #top.category .slide-entry-wrap>article:only-child .slide-image{height:220px}
 #top.category .slide-content,#top.category .slide-entry-wrap>article:only-child .slide-content{padding:24px}
 #top.category .slide-entry-title{font-size:22px}
}

#top.category .slide-entry:before,#top.category .slide-entry:after{display:none!important;content:none!important}
#top.category #wrap_all .slide-entry-title{font-size:24px;line-height:1.4}
#top .header-reading-progress{display:none}
@media(min-width:768px){#top.category .slide-entry-wrap>article:only-child>.slide-image{grid-column:1;grid-row:1}#top.category .slide-entry-wrap>article:only-child>.slide-content{grid-column:2;grid-row:1}}
@media(max-width:767px){#top.category #wrap_all .slide-entry-title{font-size:22px}}

#top #header .header_bg{opacity:1!important}#top #header_main{background:#fff}

/* Municipal information pages. */
#top.gm-about-page #main .content{padding-top:32px;padding-bottom:50px}
#top .gm-detail-breadcrumb{display:flex;gap:12px;align-items:center;color:#718276;font-size:12px;margin-bottom:22px;line-height:1.6}
#top .gm-detail-breadcrumb a{color:#426b52;text-decoration:none}
#top .gm-detail-hero{display:grid;grid-template-columns:1fr 1.12fr;background:#f0f5ed;border:1px solid #e0e8dd;border-radius:24px;overflow:hidden;margin-bottom:24px;min-height:330px}
#top .gm-detail-intro{padding:48px 44px;align-self:center}
#top .gm-detail-eyebrow{display:block;font-size:11px;letter-spacing:1.8px;text-transform:uppercase;font-weight:600;color:#567962;margin-bottom:17px}
#top #wrap_all .gm-detail-hero h1{font-size:clamp(32px,4vw,52px);line-height:1.1;font-weight:600;letter-spacing:-1px;text-transform:none;color:#17392f;margin:0 0 22px}
#top .gm-detail-hero p{font-size:18px;line-height:1.75;color:#47634f;margin:0;max-width:460px}
#top .gm-detail-hero figure{margin:0;min-width:0;min-height:330px;height:100%}
#top .gm-detail-hero figure img{display:block;width:100%;height:100%;min-height:330px;max-height:440px;object-fit:cover}
#top .gm-detail-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:0 0 38px}
#top .gm-detail-facts>div{padding:21px 26px;border:1px solid #dfe8df;background:#fff;border-radius:14px}
#top .gm-detail-facts strong{display:block;font-size:28px;line-height:1.2;font-weight:600;letter-spacing:-.4px;color:#376c4d;margin:0 0 7px}
#top .gm-detail-facts span{display:block;color:#65796b;font-size:13px;line-height:1.5}
#top .gm-detail-columns{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:64px;align-items:start}
#top .gm-detail-copy{min-width:0;font-size:16px;line-height:1.9;color:#3f574a}
#top .gm-detail-copy p,#top .gm-detail-copy ul,#top .gm-detail-copy li{text-align:left!important;font-size:16px;line-height:1.9;color:#3f574a}
#top .gm-detail-copy p{margin:0 0 22px}
#top .gm-detail-copy>p:first-of-type{font-size:18px;line-height:1.85;color:#244535}
#top #wrap_all .gm-detail-copy h2{font-size:25px;line-height:1.4;font-weight:600;text-transform:none;letter-spacing:0;color:#17392f;margin:34px 0 16px;padding-top:20px;border-top:1px solid #e2eae2}
#top #wrap_all .gm-detail-copy h3{font-size:21px;line-height:1.4;color:#17392f;text-transform:none;letter-spacing:0;margin:28px 0 12px}
#top .gm-detail-copy ul{margin:14px 0 28px;padding:20px 24px 20px 42px;background:#f7f9f5;border-radius:14px;border:1px solid #e7ede3;columns:2;column-gap:36px}
#top .gm-detail-copy li{break-inside:avoid;padding:4px 0;margin:0}
#top .gm-detail-copy a.alignleft{float:none!important}
#top .gm-detail-copy .alignleft{float:none;margin:0}
#top .gm-detail-aside{position:sticky;top:190px;background:#f5f8f2;border:1px solid #e0e8dc;border-radius:18px;padding:24px}
#top #wrap_all .gm-detail-aside h2{font-size:17px;font-weight:600;line-height:1.4;text-transform:none;letter-spacing:0;margin:0 0 16px;color:#17392f}
#top .gm-detail-aside nav{display:grid;gap:5px}
#top .gm-detail-aside a{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 12px;border-radius:8px;text-decoration:none;font-size:14px;line-height:1.4;color:#42644d;transition:background .2s,color .2s}
#top .gm-detail-aside a.is-current{background:#376c4d;color:white;font-weight:600}
#top .gm-detail-aside a:not(.is-current):hover,#top .gm-detail-aside a:focus-visible{background:#e6eee1;color:#17392f}
@media(max-width:989px){#top .gm-detail-columns{grid-template-columns:minmax(0,1fr) 220px;gap:30px}#top .gm-detail-intro{padding:34px 28px}#top .gm-detail-copy ul{columns:1}#top .gm-detail-facts>div{padding:20px}}
@media(max-width:767px){#top.gm-about-page #main .content{padding-top:24px}#top .gm-detail-hero{grid-template-columns:1fr;border-radius:18px}#top .gm-detail-intro{padding:30px 26px}#top .gm-detail-hero figure,#top .gm-detail-hero figure img{min-height:0;height:230px}#top #wrap_all .gm-detail-hero h1{font-size:36px}#top .gm-detail-hero p{font-size:17px}#top .gm-detail-facts{gap:10px;margin-bottom:28px;grid-template-columns:repeat(2,minmax(0,1fr))}#top .gm-detail-facts>div{padding:17px}#top .gm-detail-facts strong{font-size:24px}#top .gm-detail-columns{display:flex;flex-direction:column;gap:24px}#top .gm-detail-copy{width:100%}#top .gm-detail-aside{position:static;order:-1;width:100%;padding:18px}#top .gm-detail-aside nav{grid-template-columns:repeat(2,minmax(0,1fr))}#top .gm-detail-aside a{padding:11px 10px}#top .gm-detail-copy ul{columns:1}}

#top .gm-detail-facts:has(>div:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}

/* Keep the municipal crest intact when Enfold's shrink script changes inline heights. */
@media(min-width:768px){
 #top #header .gm-brand-wrap>.logo{height:112px!important;line-height:112px!important;overflow:visible!important}
 #top #header .gm-brand-wrap>.logo>a{height:112px!important;max-height:none!important;line-height:112px!important;overflow:visible!important;display:flex;align-items:center}
 #top #header .gm-brand-wrap>.logo>a>img{height:76px!important;max-height:76px!important;width:auto!important;position:static!important;transform:none!important}
}
@media(max-width:767px){
 .responsive #top #header_main>.av-logo-container{height:auto!important;min-height:0!important;line-height:normal!important;padding-top:0;padding-bottom:0}
 .responsive #top #header_main .inner-container{height:auto!important;position:relative}
 .responsive #top #header_main .gm-brand-wrap{height:auto!important;min-height:190px;padding-top:78px;padding-bottom:44px;position:relative;line-height:normal}
 .responsive #top #header .gm-brand-wrap>.logo{position:absolute!important;left:0;top:7px;float:none!important;width:54px!important;height:64px!important;max-height:none!important;line-height:64px!important;overflow:visible!important}
 .responsive #top #header .gm-brand-wrap>.logo>a{display:flex;align-items:center;width:54px!important;height:64px!important;max-height:none!important;line-height:64px!important;overflow:visible!important}
 .responsive #top #header .gm-brand-wrap>.logo img{position:static!important;height:64px!important;max-height:64px!important;width:auto!important;transform:none!important}
 .responsive #top #header .gm-tourism-title{left:64px;right:42px;top:37px;max-width:none;transform:translateY(-50%);white-space:normal}
 .responsive #top #header .gm-tourism-title-main{font-size:15px;line-height:1.2}
 .responsive #top #header .gm-tourism-title-sub{font-size:11px;line-height:1.35;margin-top:4px}
 .responsive #top #header .gm-programme-logo{display:block;position:relative;left:auto;right:auto;top:auto;bottom:auto;transform:none;width:100%;max-width:310px;margin:0 auto 4px;background:#fff;z-index:2}
 .responsive #top #header .gm-programme-logo img{width:100%;height:auto!important;max-height:none!important;object-fit:contain}
 .responsive #top #header .gm-brand-wrap>.main_menu{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;margin:0;pointer-events:none;z-index:5}
 .responsive #top #header .gm-brand-wrap>.main_menu .avia-menu{position:static;width:100%;height:100%;margin:0;border:0}
 .responsive #top #header .gm-brand-wrap>.main_menu .av-main-nav{position:static;width:100%;height:100%;margin:0;padding:0}
 .responsive #top #header .gm-brand-wrap .av-burger-menu-main{position:absolute!important;right:0;top:0;bottom:auto;height:74px!important;margin:0;pointer-events:auto}
 .responsive #top #header .gm-brand-wrap .av-burger-menu-main>a{height:74px!important;line-height:74px!important;padding:0!important;width:36px}
 .responsive #top #header .gm-brand-wrap .av-hamburger-box{width:28px}
 .responsive #top #header .gm-brand-wrap .av-hamburger-inner,.responsive #top #header .gm-brand-wrap .av-hamburger-inner:before,.responsive #top #header .gm-brand-wrap .av-hamburger-inner:after{width:28px}
 .responsive #top #header .gm-brand-wrap .av-language-switch-item{display:block!important;position:absolute!important;bottom:0;top:auto;float:none;margin:0!important;width:44px;height:36px;pointer-events:auto}
 .responsive #top #header .gm-brand-wrap .av-language-switch-item>a{display:block;height:36px!important;line-height:36px!important;padding:0!important;font:500 12px/36px Arial,sans-serif!important;letter-spacing:1px;text-align:center;color:#42644d;border-radius:6px}
 .responsive #top #header .gm-brand-wrap .av-language-switch-item img{display:none!important}
 .responsive #top #header .gm-brand-wrap .language_bg{left:calc(50% - 88px)}
 .responsive #top #header .gm-brand-wrap .language_en-us{left:calc(50% - 44px)}
 .responsive #top #header .gm-brand-wrap .language_de{left:50%}
 .responsive #top #header .gm-brand-wrap .language_sr{left:calc(50% + 44px)}
 .responsive #top #header .gm-brand-wrap .language_bg>a:after{content:'BG'}
 .responsive #top #header .gm-brand-wrap .language_en-us>a:after{content:'EN'}
 .responsive #top #header .gm-brand-wrap .language_de>a:after{content:'DE'}
 .responsive #top #header .gm-brand-wrap .language_sr>a:after{content:'SR'}
 .responsive #top #header .gm-brand-wrap .avia_current_lang>a{background:#edf3e9;color:#17392f;font-weight:700!important}
 .responsive #top #header_main_alternate{display:none!important}
 .responsive #top #header_main{border-bottom:1px solid #e3eae5}
 .responsive #top #main{padding-top:0!important}
}

@media(max-width:767px){.responsive #top #header .gm-brand-wrap>.main_menu{z-index:101}.responsive #top #av-burger-menu-ul{padding:84px 0 24px!important;vertical-align:top}.responsive.av-burger-overlay-active #top #header .gm-brand-wrap .av-language-switch-item{visibility:hidden}}

@media(max-width:767px){.responsive #top #header .gm-brand-wrap .av-burger-menu-main{z-index:200!important}.responsive #top #header .gm-brand-wrap .av-burger-overlay{pointer-events:auto}}

@media(max-width:767px){.responsive #top #header .gm-brand-wrap #menu-item-search{position:absolute;right:46px;top:0;width:32px;height:74px;pointer-events:auto}.responsive #top #header .gm-brand-wrap #menu-item-search>a{height:74px!important;line-height:74px!important;width:32px;padding:0!important}.responsive #top #header .gm-brand-wrap #menu-item-search svg{width:17px}}

@media(max-width:480px){.responsive #top #header .gm-brand-wrap #menu-item-search{display:none!important}}
