.site-header .brand img{width:378px;height:252px;object-fit:contain}
.site-header .header-inner{min-height:252px}
html:has(.site-header){scroll-padding-top:278px}
.site-footer .brand img,.footer-brand .brand img{width:360px;height:auto;aspect-ratio:3/2;object-fit:contain;background:#fff;border-radius:8px}
.adler-legal-brand img{width:360px;height:240px;object-fit:contain}
.nav:has(.adler-legal-brand){height:auto;min-height:264px;padding-block:12px;flex-wrap:wrap}
.adler-site-brand{gap:12px!important}
.adler-site-brand img{width:378px;height:252px;object-fit:contain;flex-shrink:0}
.adler-site-brand .logo{display:none}
.adler-site-brand small{display:block;font-size:10px;letter-spacing:.06em}
header nav.wrap:has(.adler-site-brand){display:grid;grid-template-columns:378px minmax(0,1fr);align-items:center;gap:24px;width:min(1360px,calc(100% - 48px));max-width:none;height:auto;min-height:276px;margin-inline:auto;padding:12px 0}
header:has(.adler-site-brand) .navlinks{width:auto;min-width:0;margin:0;flex-wrap:wrap;justify-content:flex-end;gap:12px 20px}
header:has(.adler-site-brand) .navlinks a{display:inline-flex;align-items:center;min-height:44px}
.adler-energy-card{display:flex;align-items:center;justify-content:center;gap:clamp(16px,4vw,56px);padding:28px;background:#fff;border:1px solid #dbe7eb;border-radius:14px;text-align:left;color:#102149}
.adler-energy-card img{width:clamp(110px,24vw,240px);height:auto;object-fit:contain}
.adler-energy-card strong{display:block;font-size:clamp(24px,4vw,46px);line-height:1.15}
.adler-energy-card small{display:block;margin-top:12px;font-size:16px}
@media(min-width:1041px) and (max-width:1240px){
 .site-header .header-inner{flex-wrap:wrap}
 .site-header .main-nav{order:3;width:100%;margin:0;justify-content:center;padding-bottom:14px}
 .site-header .header-cta{margin-left:auto}
 html:has(.site-header){scroll-padding-top:296px}
}
@media(max-width:1040px){
 .site-header .main-nav{top:100%;max-height:calc(100dvh - 264px);overflow-y:auto}
}
@media(max-width:1000px){
 header nav.wrap:has(.adler-site-brand){grid-template-columns:minmax(0,1fr);gap:0;min-height:0}
 header nav.wrap:has(.adler-site-brand)>.adler-site-brand{justify-self:center;justify-content:center}
 header:has(.adler-site-brand) .navlinks{width:100%;flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;overscroll-behavior-inline:contain;padding:8px 0 0;gap:24px}
 header:has(.adler-site-brand) .navlinks a{flex:0 0 auto;white-space:nowrap;font-size:13px}
 header:has(.adler-site-brand) .navlinks .btn{display:none}
}
@media(max-width:620px){
 .site-header .brand img{width:min(315px,calc(100vw - 20px));height:auto}
 .site-header .header-inner{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:8px;min-height:0;width:calc(100% - 10px);padding-bottom:10px}
 .site-header .brand{grid-column:1 / -1;grid-row:1;width:100%;justify-self:stretch}
 .site-header .menu-toggle{grid-column:2;grid-row:2;margin:0;justify-self:end}
 .site-header .header-cta{grid-column:1;grid-row:2;width:100%}
 .site-header .main-nav{max-height:calc(100dvh - 286px)}
 html:has(.site-header){scroll-padding-top:300px}
 .adler-site-brand img{width:min(315px,calc(100vw - 68px));height:auto}
 header .adler-site-brand .logo{display:none}
 header:has(.adler-site-brand) .navlinks{flex-wrap:wrap;justify-content:center;overflow:visible;overscroll-behavior-inline:auto;padding:8px 0 0;gap:4px 14px}
 header:has(.adler-site-brand) .navlinks a{min-height:38px}
 .nav:has(.adler-legal-brand){gap:8px}
 .adler-energy-card{padding:18px;gap:16px}
 .adler-energy-card small{font-size:13px}
}
.calculator-scroll.calculator-mobile{overscroll-behavior-y:auto!important;touch-action:pan-y!important}

/* VE Adler navigation: compact link-buttons with a distinct primary action. */
header:has(.adler-site-brand) .navlinks{gap:9px;align-items:center}
header:has(.adler-site-brand) .navlinks a:not(.btn){min-height:42px;padding:0 13px;border:1px solid #e2ece7;border-radius:999px;background:#f7faf7;color:#173b48;transition:background .18s ease,color .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease}
header:has(.adler-site-brand) .navlinks a:not(.btn):hover{background:#e9f4ed;border-color:#c8e2d6;color:#0c5c5d;transform:translateY(-1px)}
header:has(.adler-site-brand) .navlinks a:focus-visible,footer .footlinks a:focus-visible{outline:3px solid #f4bd47;outline-offset:3px}
header:has(.adler-site-brand) .navlinks .btn{min-height:48px;padding:0 20px;border:1px solid #147b78;border-radius:13px;background:linear-gradient(135deg,#198d7e,#0d6869);box-shadow:0 8px 20px #0d686926;transition:transform .18s ease,box-shadow .18s ease,filter .18s ease}
header:has(.adler-site-brand) .navlinks .btn:hover{background:linear-gradient(135deg,#147b78,#084f54);box-shadow:0 11px 24px #0d68693b;transform:translateY(-2px)}

/* Footer: logo left, destination links arranged as clear buttons on the right. */
footer .foot{display:grid;grid-template-columns:minmax(235px,290px) minmax(0,1fr);align-items:start;gap:clamp(28px,5vw,72px)}
footer .foot>div:first-child{min-width:0;display:flex;flex-direction:column;align-items:flex-start}
footer .foot>div:first-child .adler-site-brand{width:100%;max-width:270px;justify-content:flex-start;gap:0!important}
footer .foot>div:first-child .adler-site-brand img{display:block;width:min(250px,100%);height:auto;aspect-ratio:3/2;object-fit:contain;padding:8px;background:#fff;border:1px solid #ffffffa8;border-radius:15px;box-shadow:0 12px 28px #061f2526}
footer .foot>div:first-child p{max-width:270px;margin:14px 0 0;color:#c8dcda}
footer .footlinks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-content:start;gap:11px}
footer .footlinks a{display:flex;min-width:0;min-height:48px;align-items:center;justify-content:center;padding:10px 13px;border:1px solid #ffffff30;border-radius:12px;background:#ffffff0c;color:#f2faf7;text-align:center;font-size:13px;font-weight:700;line-height:1.35;transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease,box-shadow .18s ease}
footer .footlinks a:hover{background:#e9f4ed;border-color:#e9f4ed;color:#0c5c5d;box-shadow:0 8px 18px #041d2028;transform:translateY(-2px)}
footer .bottom{align-items:center}

@media(max-width:1000px){
 header nav.wrap:has(.adler-site-brand){gap:0}
 header:has(.adler-site-brand) .navlinks{flex-wrap:wrap;justify-content:center;overflow:visible;overscroll-behavior-inline:auto;padding:14px 0 8px;gap:8px}
 header:has(.adler-site-brand) .navlinks a{flex:0 1 auto;white-space:nowrap}
 header:has(.adler-site-brand) .navlinks .btn{display:inline-flex}
}
@media(max-width:800px){
 footer .foot{grid-template-columns:minmax(0,1fr);gap:25px}
 footer .foot>div:first-child .adler-site-brand{max-width:230px}
 footer .foot>div:first-child .adler-site-brand img{width:min(210px,100%)}
 footer .footlinks{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
}
@media(max-width:620px){
 header:has(.adler-site-brand) .navlinks{padding:12px 0 10px;gap:7px}
 header:has(.adler-site-brand) .navlinks a:not(.btn){min-height:39px;padding:0 11px;font-size:12px}
 header:has(.adler-site-brand) .navlinks .btn{flex:1 0 100%;width:100%;max-width:280px;min-height:46px;margin-top:3px}
 footer .foot{gap:20px}
 footer .footlinks a{min-height:46px;padding:9px 10px;font-size:12px}
 footer .bottom{gap:12px;flex-wrap:wrap}
}
@media(min-width:1235px){
 header:has(.adler-site-brand) .navlinks{flex-wrap:nowrap;gap:3px}
 header:has(.adler-site-brand) .navlinks a:not(.btn){padding-inline:8px;font-size:12.5px}
 header:has(.adler-site-brand) .navlinks .btn{padding-inline:12px;white-space:nowrap;flex:0 0 auto}
}
