/* Shared header/footer from the approved mockup; original WP menu/widgets retained. */
body.sb-site-chrome{--sb-chrome-green:#1fa67a;--sb-chrome-ink:#202a27;--sb-chrome-muted:#52605a;--sb-chrome-line:#dce4df}
body.sb-site-chrome .header_area{background:#fff!important;border:0!important;box-shadow:none!important;padding-top:0!important;position:relative!important}
body.sb-site-chrome .header_area .top_menu{background:#fff;border:0;margin:0}
body.sb-site-chrome .header_area .top_menu>.container,
body.sb-site-chrome .header_area .navbar>.container{width:calc(100% - 60px);max-width:1140px;padding-left:0;padding-right:0}
body.sb-site-chrome .header_area .top_menu>.container{padding-top:10px;padding-bottom:10px}
body.sb-site-chrome .header_area .top_menu .right_side{display:flex;gap:28px;margin:0;padding:0;list-style:none}
body.sb-site-chrome .header_area .top_menu .right_side li{margin:0!important}
body.sb-site-chrome .header_area .top_menu .right_side li a{font-size:13px;color:var(--sb-chrome-muted);white-space:nowrap;line-height:22px!important;min-height:22px!important}
body.sb-site-chrome .header_area .top_menu .right_side li a i{color:var(--sb-chrome-green)}
body.sb-site-chrome .header_area .navbar{padding:12px 0 22px}
body.sb-site-chrome .header_area .navbar>.container{position:relative;min-height:64px;border-bottom:1px solid var(--sb-chrome-line);padding-bottom:22px;margin-bottom:-22px}
body.sb-site-chrome .header_area .navbar-brand{margin:0;padding:0;line-height:1}
body.sb-site-chrome .header_area .navbar-brand img{height:64px!important;width:64px!important;object-fit:contain}
body.sb-site-chrome .header_area .navbar .nav{gap:19px}
body.sb-site-chrome .header_area .navbar .nav .nav-item{margin:0}
body.sb-site-chrome .header_area .navbar .nav .nav-item>.nav-link{font-size:12px;font-weight:500;line-height:64px;padding:0;color:var(--sb-chrome-ink)}
body.sb-site-chrome .header_area .navbar .nav .nav-item.active>.nav-link,
body.sb-site-chrome .header_area .navbar .nav .nav-item>.nav-link:hover{color:var(--sb-chrome-ink);text-decoration:underline;text-decoration-color:var(--sb-chrome-green);text-underline-offset:5px}
body.sb-site-chrome .header_area .navbar .nav .dropdown-menu{border:1px solid var(--sb-chrome-line);border-top:3px solid var(--sb-chrome-green);box-shadow:none;border-radius:0;background:#fff}
body.sb-site-chrome .header_area .navbar .nav .dropdown-menu .nav-link{font-size:14px;line-height:1.5;padding:12px 16px;color:var(--sb-chrome-ink);white-space:normal}
body.sb-site-chrome .header_area .navbar .nav .dropdown-menu .nav-link:hover,
body.sb-site-chrome .header_area .navbar .nav .dropdown-menu .nav-link:focus{background:#f4f6f5;color:var(--sb-chrome-ink)}
body.sb-site-chrome .header_area :is(a,button):focus-visible,
body.sb-site-chrome .footer-area a:focus-visible{outline:3px solid var(--sb-chrome-green)!important;outline-offset:4px}
body.sb-site-chrome .footer-area{padding:0 0 20px!important;background:#fff!important;border:0!important;color:var(--sb-chrome-muted)}
body.sb-site-chrome .footer-area>.container{width:calc(100% - 60px);max-width:1140px;padding:45px 0 0;border-top:1px solid var(--sb-chrome-line)}
body.sb-site-chrome .footer-area>.container>.row:first-child{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:50px;margin:0}
body.sb-site-chrome .footer-area>.container>.row:first-child>div{width:auto;max-width:none;flex:none;padding:0}
body.sb-site-chrome .footer-area :is(p,li,a){color:var(--sb-chrome-muted);font-size:14px;line-height:1.8}
body.sb-site-chrome .footer-area p{margin:0 0 20px}
body.sb-site-chrome .footer-area a{text-decoration:underline;text-decoration-color:var(--sb-chrome-green);text-underline-offset:4px}
body.sb-site-chrome .footer-area a:hover{color:var(--sb-chrome-ink);text-decoration-thickness:2px}
body.sb-site-chrome .footer-area .sb-site-footer-brand{display:inline-block;margin:0 0 15px}
body.sb-site-chrome .footer-area .sb-site-footer-logo{display:block;width:55px!important;height:55px!important;object-fit:contain;margin:0}
body.sb-site-chrome .footer-area .sb-site-footer-heading{font-size:17px;line-height:1.4;font-weight:500;color:var(--sb-chrome-ink);margin:20px 0 25px}
body.sb-site-chrome .footer-area>.container>.row:last-child{margin:0;justify-content:center;font-size:12px;color:var(--sb-chrome-muted)}
body.sb-site-chrome .footer-area .sb-cookie-footer{padding-top:15px}
body.sb-site-chrome .footer-area .sb-cookie-footer a{color:var(--sb-chrome-ink)!important;text-decoration-color:var(--sb-chrome-green)}
@media(max-width:1199px) and (min-width:992px){body.sb-site-chrome .header_area .navbar .nav{gap:13px}body.sb-site-chrome .header_area .navbar .nav .nav-item>.nav-link{font-size:11px}}
@media(max-width:991px){
body.sb-site-chrome .header_area .top_menu>.container,body.sb-site-chrome .header_area .navbar>.container{width:calc(100% - 40px)}
body.sb-site-chrome .header_area .top_menu>.container{padding-top:8px;padding-bottom:8px}
body.sb-site-chrome .header_area .top_menu .right_side{gap:20px}
body.sb-site-chrome .header_area .top_menu .right_side li a{font-size:12px}
body.sb-site-chrome .header_area .navbar-brand img{height:55px!important;width:55px!important}
body.sb-site-chrome .header_area .navbar>.container{min-height:55px;padding-bottom:18px;margin-bottom:-18px}
body.sb-site-chrome .header_area .navbar{padding:12px 0 18px}
body.sb-site-chrome .header_area .navbar-toggler{width:auto;margin:0;padding:9px 12px;border:1px solid var(--sb-chrome-line)!important;border-radius:0;background:#fff!important;color:var(--sb-chrome-ink)!important;font-size:14px;min-height:44px}
body.sb-site-chrome .header_area .navbar-toggler .icon-bar{display:none}
body.sb-site-chrome .header_area .navbar-toggler:after{content:'Izvēlne +';font-size:14px;font-weight:500}
body.sb-site-chrome .header_area .navbar-toggler[aria-expanded=true]:after{content:'Izvēlne −'}
body.sb-site-chrome .header_area .navbar-collapse{position:absolute;left:0;right:0;top:calc(100% + 14px);z-index:1000;background:#fff;border:1px solid var(--sb-chrome-line);width:100%;padding:14px 20px}
body.sb-site-chrome .header_area .navbar-collapse>.row{width:100%!important;margin:0!important}
body.sb-site-chrome .header_area .navbar-collapse>.row>div{padding:0!important}
body.sb-site-chrome .header_area .navbar .nav{display:flex;float:none;flex-direction:column;gap:0;max-height:calc(100dvh - 170px);overflow:auto;margin:0}
body.sb-site-chrome .header_area .navbar .nav .nav-item>.nav-link{line-height:1.5!important;font-size:14px;padding:12px 0}
body.sb-site-chrome .header_area .navbar .nav .dropdown-menu{position:static;float:none;margin:0 0 8px;border:0;border-left:2px solid var(--sb-chrome-green);padding:0 0 0 12px}
body.sb-site-chrome .header_area .navbar .nav .dropdown-menu .nav-link{padding:10px 0}
}
@media(max-width:800px){
body.sb-site-chrome .footer-area>.container{width:calc(100% - 40px);padding-top:35px}
body.sb-site-chrome .footer-area>.container>.row:first-child{grid-template-columns:1fr 1fr;gap:25px}
body.sb-site-chrome .footer-area>.container>.row:first-child>div:first-child{grid-column:1/-1}
body.sb-site-chrome .footer-area>.container>.row:first-child>div:first-child .widget-area{display:flex;gap:25px;align-items:flex-start}
body.sb-site-chrome .footer-area .sb-site-footer-brand{margin:0;flex:none}
body.sb-site-chrome .footer-area .sb-site-footer-heading{margin:0 0 15px}
body.sb-site-chrome .footer-area :is(p,li,a){font-size:14px;overflow-wrap:anywhere}
}
@media(max-width:360px){body.sb-site-chrome .header_area .top_menu .right_side{gap:14px}body.sb-site-chrome .footer-area :is(p,li,a){font-size:13px}}

/* Header regression correction: full-width divider, centered logo/nav and explicit disclosures. */
body.sb-site-chrome .header_area{border-bottom:1px solid var(--sb-chrome-line)!important;z-index:1000;overflow:visible}
body.sb-site-chrome .header_area .navbar{padding:18px 0!important}
body.sb-site-chrome .header_area .navbar>.container{display:flex;align-items:center;justify-content:space-between;min-height:64px;border:0;padding:0;margin-top:0;margin-bottom:0;overflow:visible}
body.sb-site-chrome .header_area .navbar-brand img{display:block}
body.sb-site-chrome .header_area .navbar .nav{overflow:visible}
body.sb-site-chrome .header_area .navbar .nav>.nav-item>.nav-link{display:flex;align-items:center;line-height:1.5!important;min-height:44px;padding:12px 0!important}
body.sb-site-chrome .header_area .navbar .nav>.menu-item-has-children{position:relative}
body.sb-site-chrome .header_area .navbar .nav .dropdown-menu{position:absolute;top:100%!important;left:0!important;right:auto;transform:none!important;width:260px;max-width:calc(100vw - 40px);margin:0;padding:6px 0;z-index:1100}
body.sb-site-chrome .header_area .navbar .nav .dropdown-menu .nav-item{width:100%;margin:0;padding:0}
body.sb-site-chrome .header_area .navbar .nav .dropdown-menu .nav-item>.nav-link{display:block!important;font-size:14px!important;font-weight:400!important;line-height:1.5!important;min-height:44px;height:auto!important;padding:10px 16px!important;white-space:normal;text-transform:none}
body.sb-site-chrome .header_area .navbar .nav .menu-item-has-children>.dropdown-menu[hidden]{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important}
body.sb-site-chrome .header_area .navbar .nav .menu-item-has-children.sb-dropdown-open>.dropdown-menu:not([hidden]){display:block!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important}
body.sb-site-chrome .footer-area{background:#f7f8f7!important;border-top:1px solid var(--sb-chrome-line)!important}
body.sb-site-chrome .footer-area>.container{padding-top:40px;border:0}
@media(min-width:992px){
body.sb-site-chrome .header_area .navbar-collapse{display:flex!important;flex-grow:0;flex-basis:auto;width:auto;overflow:visible}
body.sb-site-chrome .header_area .navbar-collapse>.row{width:auto!important;margin:0!important}
body.sb-site-chrome .header_area .navbar-collapse>.row>div{padding:0!important}
}
@media(max-width:991px){
body.sb-site-chrome .header_area .navbar{padding:16px 0!important}
body.sb-site-chrome .header_area .navbar>.container{min-height:55px;padding:0;margin-bottom:0}
body.sb-site-chrome .header_area .navbar-toggler:after{font-weight:400}
body.sb-site-chrome .header_area .navbar-collapse:not(.show){display:none!important}
body.sb-site-chrome .header_area .navbar-collapse.show{display:block!important}
body.sb-site-chrome .header_area .navbar .nav{overflow:auto}
body.sb-site-chrome .header_area .navbar .nav>.nav-item>.nav-link{font-size:14px;padding:12px 0!important}
body.sb-site-chrome .header_area .navbar .nav .dropdown-menu{position:static;float:none;width:100%;max-width:none;margin:0 0 8px;border:0;border-left:2px solid var(--sb-chrome-green);padding:0 0 0 12px}
body.sb-site-chrome .header_area .navbar .nav .dropdown-menu .nav-item>.nav-link{padding:10px 0!important}
}
