/* Shared logo treatment; retain the owner's original, transparent artwork. */
.qf-image-brand,header.header-sidebar .custom-logo-link,header.header-sidebar .dark-custom-logo-link{box-sizing:border-box;background:#fff!important;border:1px solid #dce5da;border-radius:14px;padding:10px 14px;box-shadow:0 3px 15px #183c2b08;forced-color-adjust:none;color:#17382e!important;text-decoration:none!important}
.qf-image-brand{display:inline-flex!important;flex-direction:column;align-items:center;justify-content:center;flex-shrink:0;gap:2px!important;width:clamp(190px,21vw,260px);max-width:100%;line-height:1}
.qf-image-brand .qf-header-logo{display:block!important;width:100%!important;height:auto!important;max-height:none!important;object-fit:contain;filter:none!important;margin:0!important}
.qf-logo-caption{font:650 12px/1.2 system-ui,sans-serif;letter-spacing:.08em;color:#245c49}
header.header-sidebar .spnc-header{flex-shrink:0;display:flex;align-items:center}
header.header-sidebar .spnc-navbar>.spnc-container>.spnc-header{width:auto!important;max-width:none!important;flex:0 0 auto!important}
/* Both configured theme variants use this same artwork; show one framed image in either mode. */
header.header-sidebar .spnc-header>.custom-logo-link{display:inline-flex!important;align-items:center;justify-content:center}
header.header-sidebar .spnc-header>.dark-custom-logo-link{display:none!important}
header.header-sidebar .spnc-header img.custom-logo{display:block!important}
header.header-sidebar .custom-logo-link,header.header-sidebar .dark-custom-logo-link{max-width:260px;line-height:1}
header.header-sidebar img.custom-logo,header.header-sidebar img.dark-custom-logo{width:220px!important;max-width:100%!important;height:auto!important;max-height:none!important;object-fit:contain;filter:none!important}
.qf-header-language{box-sizing:border-box;display:inline-flex!important;align-items:center;justify-content:center;gap:6px;min-height:42px;padding:8px 16px!important;border:1px solid #245c49!important;border-radius:9px;background:#245c49!important;color:#fff!important;font:650 14px/1.5 system-ui,sans-serif!important;white-space:nowrap;text-decoration:none!important;flex-shrink:0;vertical-align:middle}
.qf-header-language:hover{background:#173e31!important;color:#fff!important;text-decoration:underline!important;text-underline-offset:4px}
.qf-header-language:focus-visible,.qf-image-brand:focus-visible{outline:3px solid #b07b22!important;outline-offset:4px}
.qf-main-nav{align-items:center;flex-wrap:wrap}
.qf-site-header .qf-header-inner{column-gap:24px;row-gap:14px;min-height:116px;padding-block:12px}
header.header-sidebar .spnc-navbar>.spnc-container>.qf-header-language{margin-inline:12px}
header.header-sidebar .spnc-collapse>.qf-header-language{margin:12px 20px;align-self:flex-start}
.site-header .header-inner{min-height:116px}
@media(max-width:1100px){header.header-sidebar .spnc-navbar>.spnc-container{flex-wrap:wrap}header.header-sidebar img.custom-logo,header.header-sidebar img.dark-custom-logo{width:190px!important}.qf-site-header .qf-header-inner{column-gap:16px}.qf-main-nav{gap:16px}}
@media(max-width:600px){.qf-image-brand{width:190px;border-radius:11px;padding:8px 10px}.qf-site-header .qf-header-inner{min-height:102px}.qf-header-language{min-height:40px;padding:7px 12px!important;font-size:13px!important}header.header-sidebar .custom-logo-link,header.header-sidebar .dark-custom-logo-link{padding:7px 9px;border-radius:10px}header.header-sidebar img.custom-logo,header.header-sidebar img.dark-custom-logo{width:150px!important}header.header-sidebar .spnc-navbar>.spnc-container>.qf-header-language{margin-inline:6px}.site-header .header-inner{gap:16px}}
@media(max-width:360px){header.header-sidebar img.custom-logo,header.header-sidebar img.dark-custom-logo{width:128px!important}.qf-image-brand{width:170px}}
@media print{.qf-header-language{display:none!important}}
/* One compact action group opposite the logo: tools above, language below. */
header.header-sidebar .spnc-head-wrap.qf-header-actions{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:10px;flex:0 0 auto;margin-inline-start:auto;padding:12px 0;min-width:88px}
header.header-sidebar .qf-header-actions .spnc-header-right{display:flex;align-items:center;justify-content:center;gap:14px;margin:0!important;padding:0!important;border:0!important;width:auto}
header.header-sidebar .qf-header-actions>.qf-header-language{margin:0!important;min-height:36px;padding:6px 13px!important;font-size:12px!important;border-radius:8px;box-shadow:0 2px 8px #173e3110}
@media(max-width:600px){header.header-sidebar .spnc-head-wrap.qf-header-actions{gap:7px;min-width:76px;padding-block:5px}header.header-sidebar .qf-header-actions .spnc-header-right{gap:10px}header.header-sidebar .qf-header-actions>.qf-header-language{min-height:34px;padding:5px 10px!important;font-size:11px!important}}
/* Editorial navigation: one balanced desktop row, native drawer on small screens. */
header.header-sidebar{background:#fafcf8;border-bottom:1px solid #e1e8dd;box-shadow:0 3px 18px #203b3205}
header.header-sidebar .spnc-topbar:empty{display:none}
header.header-sidebar .spnc-navbar>.spnc-container{box-sizing:border-box;max-width:1240px;padding-inline:24px}
header.header-sidebar .spnc-header,header.header-sidebar .spnc-collapse,header.header-sidebar .spnc-head-wrap{border:0!important}
header.header-sidebar .custom-logo-link{box-shadow:none;border-color:#e6ebe1;border-radius:12px}
header.header-sidebar .qf-header-actions .spnc-header-right>ul{padding:0!important;margin:0!important}
header.header-sidebar .qf-header-actions .spnc-header-right .search-icon,header.header-sidebar .qf-header-actions .spnc-dark-icon{display:flex;align-items:center;justify-content:center;width:34px;height:34px;line-height:1;padding:0!important;border-radius:9px;color:#315b47}
header.header-sidebar .qf-header-actions .search-icon:hover,header.header-sidebar .qf-header-actions .spnc-dark-icon:hover{background:#eaf1e5}
@media(min-width:992px){
 header.header-sidebar .spnc-navbar>.spnc-container::before,header.header-sidebar .spnc-navbar>.spnc-container::after{display:none!important;content:none!important}
 header.header-sidebar .spnc-navbar>.spnc-container>.spnc-header{grid-column:1;grid-row:1}
 header.header-sidebar .spnc-navbar>.spnc-container>.spnc-collapse{grid-column:2;grid-row:1}
 header.header-sidebar .spnc-navbar>.spnc-container>.spnc-head-wrap{grid-column:3;grid-row:1}
 header.header-sidebar .spnc-navbar>.spnc-container{display:grid!important;grid-template-columns:200px minmax(0,1fr) 88px;align-items:center;gap:24px;min-height:118px;padding-block:14px;flex-wrap:nowrap!important}
 header.header-sidebar .spnc-navbar>.spnc-container>.spnc-header{width:200px!important;min-width:0;padding:0!important;margin:0!important}
 header.header-sidebar img.custom-logo{width:176px!important}
 header.header-sidebar .custom-logo-link{padding:8px 11px;max-width:200px}
 header.header-sidebar .spnc-navbar>.spnc-container>.spnc-menu-open{display:none!important}
 header.header-sidebar .spnc-navbar>.spnc-container>.spnc-collapse{display:flex!important;position:static!important;width:auto!important;min-width:0;height:auto!important;padding:0!important;margin:0!important;float:none;align-items:center;justify-content:center;background:transparent;box-shadow:none;overflow:visible;transform:none}
 header.header-sidebar .spnc-collapse>.spnc-header,header.header-sidebar .spnc-collapse>.spnc-menu-close{display:none!important}
 header.header-sidebar .spnc-collapse>.ml-auto{width:100%;margin:0!important;padding:0!important}
 header.header-sidebar .spnc-collapse .nav.spnc-nav{display:flex!important;align-items:center;justify-content:center;flex-wrap:nowrap!important;gap:4px;width:100%;margin:0!important;padding:0!important}
 header.header-sidebar .spnc-collapse .nav.spnc-nav>li{float:none!important;flex:0 0 auto;margin:0!important;padding:0!important;border:0!important}
 header.header-sidebar .spnc-collapse .nav.spnc-nav>li>a{display:flex;align-items:center;justify-content:center;white-space:nowrap;font-size:14px!important;font-weight:600;line-height:1.7!important;padding:11px 10px!important;border-radius:8px;text-decoration:none;letter-spacing:0}
 header.header-sidebar .spnc-collapse .nav.spnc-nav>li>a:hover,header.header-sidebar .spnc-collapse .nav.spnc-nav>.current-menu-item>a,header.header-sidebar .spnc-collapse .nav.spnc-nav>.current-menu-parent>a{background:#eaf1e5;color:#245c49}
 header.header-sidebar .spnc-collapse li.search_exists:empty{display:none!important}
 header.header-sidebar .spnc-head-wrap.qf-header-actions{margin:0!important;padding:0!important;min-width:88px;gap:6px}
 .qf-site-header .qf-main-nav{flex-wrap:nowrap;white-space:nowrap;justify-content:center}
 .site-header .header-inner nav{display:flex;flex-wrap:nowrap;align-items:center;white-space:nowrap}
}
@media(min-width:992px) and (max-width:1120px){
 header.header-sidebar .spnc-navbar>.spnc-container{grid-template-columns:170px minmax(0,1fr) 80px;gap:12px;padding-inline:18px}
 header.header-sidebar .spnc-navbar>.spnc-container>.spnc-header{width:170px!important}
 header.header-sidebar img.custom-logo{width:146px!important}
 header.header-sidebar .spnc-collapse .nav.spnc-nav>li>a{font-size:12px!important;padding:10px 7px!important}
}
@media(max-width:991px){header.header-sidebar .spnc-navbar>.spnc-container{padding-inline:16px}header.header-sidebar .spnc-header{border:0!important}header.header-sidebar .spnc-head-wrap.qf-header-actions{margin-inline-start:auto!important}}
