/* Energetico Frontend Header 0.2.1 — private/opt-in, scoped to homepage. */
body.enbh-active #td-outer-wrap > .td-header-template-wrap,
body.enbh-active #td-outer-wrap > .td-header-wrap,
body.enbh-active #td-outer-wrap > .tdc-header-wrap {display:none!important}

body.enbh-active .enbh-header{--en-navy:#102f3f;--en-dark:#0d2938;--en-cyan:#12a8bb;--en-paper:#f6f8f9;--en-line:#dbe5e9;position:relative;z-index:8;width:100%;font-family:Arial,"Helvetica Neue",sans-serif;line-height:1.4;color:var(--en-navy);background:var(--en-paper);box-sizing:border-box}
body.enbh-active .enbh-header *,body.enbh-active .enbh-header *:before,body.enbh-active .enbh-header *:after{box-sizing:border-box}
body.enbh-active .enbh-header a{text-decoration:none}
body.enbh-active .enbh-container{max-width:1400px;margin:0 auto;padding-left:30px;padding-right:30px}
body.enbh-active .enbh-utility{background:#0e2b3c;border-bottom:1px solid #274958;color:#d1e0e5}
body.enbh-active .enbh-utility-inner{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:31px;font-size:10px;text-transform:uppercase;font-weight:800;letter-spacing:.11em}
body.enbh-active .enbh-utility-center{color:#fff;letter-spacing:.2em}
body.enbh-active .enbh-utility-right{font-size:10px;letter-spacing:.07em}
body.enbh-active .enbh-utility-right span{color:#8fd6b4;padding:0 5px}
body.enbh-active .enbh-masthead{background:#f7f9fa;border-bottom:1px solid #dce6e9}
body.enbh-active .enbh-masthead-inner{display:grid;grid-template-columns:minmax(320px,37%) minmax(0,63%);gap:18px;padding-top:19px;padding-bottom:19px;min-height:235px;align-items:stretch}
body.enbh-active .enbh-brand{min-width:0;display:flex;flex-direction:column;justify-content:center;padding:4px 12px 4px 0}
body.enbh-active .enbh-brand-label{font-size:10px;letter-spacing:.17em;font-weight:900;color:#4a7d88;margin:0 0 8px}
body.enbh-active .enbh-logo{display:block;width:min(100%,405px);line-height:0}
body.enbh-active .enbh-logo img{display:block;width:100%;height:auto;max-height:124px;object-fit:contain;object-position:left center}
body.enbh-active .enbh-logo-fallback{font-size:42px;line-height:1.1;font-weight:900;letter-spacing:-.055em;color:#102f3f}
body.enbh-active .enbh-tagline{font-size:13px;font-weight:600;line-height:1.55;color:#4a6470;margin:7px 0 12px;max-width:400px}
body.enbh-active .enbh-quicklinks{display:flex;flex-wrap:wrap;align-items:center;gap:9px 17px;margin-top:2px}
body.enbh-active .enbh-quicklinks a{color:#176978;font-size:12px;font-weight:800;letter-spacing:.005em;border-bottom:1px solid #b2d5d8;padding:3px 0;white-space:nowrap}
body.enbh-active .enbh-quicklinks a:hover{border-color:#176978;color:#0c4253}
body.enbh-active .enbh-quicklinks span{padding-left:4px;color:#1a98a9;font-size:14px}
body.enbh-active .enbh-industry{display:grid;grid-template-columns:1.06fr 1.08fr .92fr;gap:4px;min-width:0;min-height:195px;height:214px;background:#d7e1e5;overflow:hidden}
body.enbh-active .enbh-industry-card{position:relative;display:block;min-width:0;overflow:hidden;background:#123c4c}
body.enbh-active .enbh-industry-image{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:center center;transition:transform .22s ease;filter:saturate(.93)}
body.enbh-active .enbh-industry-card-1 .enbh-industry-image{object-position:50% 47%}
body.enbh-active .enbh-industry-card-2 .enbh-industry-image{object-position:53% 35%}
body.enbh-active .enbh-industry-card-3 .enbh-industry-image{object-position:55% 50%}
body.enbh-active .enbh-industry-card:hover .enbh-industry-image{transform:scale(1.025)}
body.enbh-active .enbh-industry-gradient{position:absolute;inset:0;background:linear-gradient(180deg,rgba(11,34,48,.03) 28%,rgba(8,29,41,.88) 100%)}
body.enbh-active .enbh-industry-caption{position:absolute;bottom:0;left:0;right:0;min-height:45px;display:flex;align-items:flex-end;padding:12px 12px 14px;color:#fff;font-size:10px;line-height:1.25;font-weight:900;letter-spacing:.07em;text-transform:uppercase}
body.enbh-active .enbh-industry-caption:before{content:"";position:absolute;width:23px;height:3px;top:3px;left:12px;background:#7bc7a4}
body.enbh-active .enbh-navigation{background:#14394a;border-bottom:3px solid #52a6a7}
body.enbh-active .enbh-navigation-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:48px}
body.enbh-active .enbh-links{display:flex;gap:2px;min-width:0;align-items:center;overflow-x:auto;scrollbar-width:none;overscroll-behavior-x:contain}
body.enbh-active .enbh-links::-webkit-scrollbar{display:none}
body.enbh-active .enbh-links a{display:flex;align-items:center;justify-content:center;flex:0 0 auto;min-height:47px;padding:13px 13px;color:#edf5f6;font-size:12px;letter-spacing:.045em;text-transform:uppercase;font-weight:800;white-space:nowrap}
body.enbh-active .enbh-links a:hover{color:#fff;background:rgba(255,255,255,.12)}
body.enbh-active .enbh-search{display:flex;align-items:center;min-width:142px;max-width:185px;flex:0 0 185px;height:30px;padding:0 0 0 10px;border-radius:3px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.15);overflow:hidden}
body.enbh-active .enbh-search input{display:block;flex:1;min-width:0;width:100%;height:100%;padding:0;border:0;background:transparent!important;box-shadow:none!important;color:#fff!important;font-size:12px;outline:0}
body.enbh-active .enbh-search input::placeholder{color:#bdd4dc}
body.enbh-active .enbh-search button{flex:0 0 32px;display:grid;place-items:center;height:30px;padding:0;border:0;border-radius:0;background:transparent;color:#fff;cursor:pointer}
body.enbh-active .enbh-header :is(a,input,button):focus-visible{outline:2px solid #83dabb;outline-offset:3px}

/* The existing page's radar starts under the separately injected WP body-open header.
   Give the first content module a real vertical offset without changing the radar plugin. */
body.enbh-active.home .td-main-content-wrap .energetico-radar{margin-top:43px!important;position:relative;z-index:1}
body.enbh-active.home #td-outer-wrap .energetico-radar{scroll-margin-top:18px}
@media(max-width:1150px){
 body.enbh-active .enbh-container{padding-left:22px;padding-right:22px}
 body.enbh-active .enbh-masthead-inner{grid-template-columns:minmax(270px,37%) minmax(0,63%);gap:14px;min-height:212px}
 body.enbh-active .enbh-logo{max-width:350px}
 body.enbh-active .enbh-industry{height:195px;min-height:175px}
 body.enbh-active .enbh-industry-caption{font-size:9px;padding:10px}
 body.enbh-active .enbh-industry-caption:before{left:10px}
 body.enbh-active .enbh-links a{font-size:11px;padding-left:9px;padding-right:9px}
 body.enbh-active .enbh-search{flex-basis:140px;min-width:140px}
}
@media(max-width:850px){
 body.enbh-active .enbh-utility-center{display:none}
 body.enbh-active .enbh-masthead-inner{grid-template-columns:minmax(235px,40%) minmax(0,60%);min-height:190px;gap:10px}
 body.enbh-active .enbh-logo{max-width:300px}
 body.enbh-active .enbh-brand-label{font-size:9px}
 body.enbh-active .enbh-tagline{font-size:11px}
 body.enbh-active .enbh-quicklinks{gap:5px 9px}
 body.enbh-active .enbh-quicklinks a{font-size:10px}
 body.enbh-active .enbh-industry{height:169px;min-height:150px;grid-template-columns:1fr 1fr}
 body.enbh-active .enbh-industry-card-3{display:none}
 body.enbh-active .enbh-navigation-inner{display:block;padding-top:0;padding-bottom:7px}
 body.enbh-active .enbh-links a{min-height:40px;padding:11px 12px}
 body.enbh-active .enbh-search{margin-left:auto;width:190px;max-width:190px;height:30px}
}
@media(max-width:600px){
 body.enbh-active .enbh-container{padding-left:14px;padding-right:14px}
 body.enbh-active .enbh-utility-inner{min-height:26px;justify-content:center;font-size:9px}
 body.enbh-active .enbh-date{display:none}
 body.enbh-active .enbh-utility-right{font-size:9px}
 body.enbh-active .enbh-masthead-inner{display:flex;flex-direction:column;gap:10px;padding-top:13px;padding-bottom:13px;min-height:0}
 body.enbh-active .enbh-brand{padding:0 0 0 2px}
 body.enbh-active .enbh-brand-label{margin:0 0 2px;font-size:9px}
 body.enbh-active .enbh-logo{width:275px;max-width:75%}
 body.enbh-active .enbh-logo img{max-height:83px}
 body.enbh-active .enbh-tagline{font-size:11px;margin:3px 0 8px}
 body.enbh-active .enbh-quicklinks{gap:9px}
 body.enbh-active .enbh-quicklinks a{font-size:10px}
 body.enbh-active .enbh-industry{height:122px;min-height:122px;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px}
 body.enbh-active .enbh-industry-card-3{display:block}
 body.enbh-active .enbh-industry-caption{font-size:8px;line-height:1.18;padding:12px 5px 7px;min-height:43px}
 body.enbh-active .enbh-industry-caption:before{left:5px;top:6px;width:17px;height:2px}
 body.enbh-active .enbh-navigation-inner{padding:0 0 8px}
 body.enbh-active .enbh-links a{font-size:10px;min-height:38px;padding:11px 10px}
 body.enbh-active .enbh-search{margin-top:2px;width:100%;max-width:none;height:32px}
 body.enbh-active .enbh-search button{height:32px}
 body.enbh-active.home .td-main-content-wrap .energetico-radar{margin-top:35px!important}
}
@media(prefers-reduced-motion:reduce){body.enbh-active .enbh-header *{transition:none!important}}


/* v0.2.1 — approved editorial adjustments: bigger aligned logo, centered desktop navigation. */
body.enbh-active .enbh-brand{padding-left:0;padding-right:0;align-items:flex-start}
body.enbh-active .enbh-logo{width:min(calc(100% + 12px),480px);max-width:none;margin-left:-12px;margin-top:0;margin-bottom:4px}
body.enbh-active .enbh-logo img{width:100%;height:auto;max-height:none;object-fit:contain;object-position:left center}
body.enbh-active .enbh-tagline{margin-left:0}
body.enbh-active .enbh-quicklinks{padding-left:0;margin-left:0}
@media(min-width:1261px){
  body.enbh-active .enbh-navigation-inner{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:12px;justify-content:normal;align-items:center}
  body.enbh-active .enbh-links{grid-column:2;justify-content:center;overflow:visible}
  body.enbh-active .enbh-search{grid-column:3;justify-self:end;min-width:140px;max-width:185px;width:185px}
}
@media(min-width:851px) and (max-width:1260px){
  body.enbh-active .enbh-navigation-inner{display:flex;flex-wrap:wrap;justify-content:center;gap:0 12px}
  body.enbh-active .enbh-links{justify-content:center;flex:1 1 100%}
  body.enbh-active .enbh-search{margin-left:auto;margin-bottom:7px;flex:0 0 185px}
}
@media(max-width:850px){
  body.enbh-active .enbh-links{justify-content:flex-start}
  body.enbh-active .enbh-logo{width:min(calc(100% + 9px),360px);margin-left:-9px}
}
@media(max-width:600px){
  body.enbh-active .enbh-logo{width:min(calc(100% + 8px),305px);max-width:none;margin-left:-8px}
  body.enbh-active .enbh-logo img{max-height:none}
  body.enbh-active .enbh-search{margin-left:0}
}
