/* Greenjob REV06.34 — responsive navigation and fixed/sticky header.
   Loaded last. Deliberately scoped to the public g-header components. */
:root{--gj34-header-bottom:76px;--gj34-safe-bottom:env(safe-area-inset-bottom,0px)}
html{scroll-padding-top:88px!important}
body:has(> .g-header)>.g-header{
  position:sticky!important;top:0!important;left:0;right:0;width:100%;z-index:1300!important;
  background:#fff!important;border-bottom:1px solid #dfe9df!important;
  box-shadow:0 4px 16px rgba(12,43,28,.08);height:auto!important;padding:0!important;
  isolation:isolate;
}
body:has(> .g-header)>.g-header .g-nav{
  display:flex!important;flex-wrap:nowrap!important;align-items:center!important;
  justify-content:space-between!important;height:78px!important;min-height:78px!important;
  padding:0!important;gap:clamp(12px,1.5vw,24px)!important;
}
body:has(> .g-header)>.g-header .g-nav>a:first-child{display:flex;align-items:center;flex:none;min-width:0}
body:has(> .g-header)>.g-header .g-logo{display:block;width:clamp(152px,15vw,190px)!important;height:auto!important;max-height:62px!important;object-fit:contain}
body:has(> .g-header)>.g-header .g-links{gap:clamp(10px,1.15vw,18px)!important;align-items:center!important;min-width:0}
body:has(> .g-header)>.g-header .g-nav-toggle,
body:has(> .g-header)>.g-header .g-links>a,
body:has(> .g-header)>.g-header .g-institution>summary{font-size:13px!important;line-height:1.35!important;white-space:nowrap}
body:has(> .g-header)>.g-header .g-nav>.g-btn{flex:none;padding:11px 13px!important;white-space:nowrap}
body:has(> .g-header)>.g-header .g-dropdown-panel{z-index:1350!important}
body:has(> .g-header)>.g-header .g-dropdown-panel[hidden]{display:none!important}
body:has(> .g-header)>.g-header .g-dropdown-panel a span[aria-hidden]{font-family:inherit;font-size:13px}
.gj34-menu-shade{display:none}
/* Compact breadcrumb: removes unnecessary white space over the first hero on mobile. */
body>.g-breadcrumb{padding:10px 0!important;font-size:12px!important;line-height:1.5!important;white-space:normal}
body>.g-breadcrumb a{color:#287246}
/* Avoid clipped/cropped layout assets in cards. Hero images remain intentional crops. */
body.gj30-site .gj30-segment-card .gj30-segment-photo{object-position:center 43%}
@media(max-width:1060px){
 html{scroll-padding-top:82px!important}
 body:has(> .g-header)>.g-header .g-nav{height:69px!important;min-height:69px!important;gap:12px!important;width:calc(100% - 40px)!important;max-width:1280px!important;margin-inline:auto!important}
 body:has(> .g-header)>.g-header .g-logo{width:clamp(143px,39vw,176px)!important;max-height:52px!important}
 body:has(> .g-header)>.g-header .g-nav>.g-btn{display:none!important}
 body:has(> .g-header)>.g-header .g-menu{display:flex!important;align-items:center;justify-content:center;
   width:44px;height:44px;min-width:44px;min-height:44px;padding:5px!important;margin-left:auto;
   border:1px solid #d9e5dc!important;border-radius:8px!important;background:#f8fbf8!important;
   color:#16432d!important;font-size:27px!important;line-height:1!important;cursor:pointer;z-index:1305}
 body:has(> .g-header)>.g-header .g-links{
   position:fixed!important;top:var(--gj34-header-bottom,69px)!important;left:0!important;right:0!important;bottom:0!important;
   display:none!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;
   width:100%!important;max-width:none!important;max-height:none!important;
   background:#fff!important;padding:10px max(20px,calc((100vw - 720px)/2)) calc(34px + var(--gj34-safe-bottom))!important;
   overflow-y:auto!important;overscroll-behavior:contain;scrollbar-gutter:stable;
   box-shadow:0 12px 36px rgba(0,0,0,.12);border-top:1px solid #e0e9e2;
   z-index:1302!important;box-sizing:border-box;
 }
 body:has(> .g-header)>.g-header .g-links.open{display:flex!important}
 body:has(> .g-header)>.g-header .g-links>a,
 body:has(> .g-header)>.g-header .g-institution>summary,
 body:has(> .g-header)>.g-header .g-nav-toggle{
   display:flex!important;align-items:center!important;justify-content:space-between!important;
   width:100%!important;min-height:49px!important;padding:13px 2px!important;
   border-bottom:1px solid #e4ece5!important;font-size:15px!important;line-height:1.35!important;
   font-weight:650!important;color:#214a36!important;white-space:normal!important;
   background:none!important;text-align:left!important;box-sizing:border-box;
 }
 body:has(> .g-header)>.g-header .g-dropdown{position:static!important;width:100%!important;display:block!important}
 body:has(> .g-header)>.g-header .g-dropdown-panel{
   position:static!important;width:100%!important;max-width:none!important;max-height:none!important;
   overflow:visible!important;box-shadow:none!important;background:#f5f8f5!important;
   margin:0 0 8px!important;border:1px solid #dce9dd!important;border-radius:8px!important;
 }
 body:has(> .g-header)>.g-header .g-dropdown-panel[hidden]{display:none!important}
 body:has(> .g-header)>.g-header .g-dropdown-panel>div{
   display:grid!important;grid-template-columns:1fr!important;gap:0!important;
   padding:8px 16px 2px!important;
 }
 body:has(> .g-header)>.g-header .g-dropdown-panel .g-eyebrow{grid-column:auto!important;margin:9px 0 8px!important;font-size:10px!important}
 body:has(> .g-header)>.g-header .g-dropdown-panel a{
   display:flex!important;justify-content:space-between!important;align-items:center!important;
   gap:15px!important;min-height:43px!important;padding:11px 0!important;
   border-bottom:1px solid #dfe8df!important;font-size:14px!important;line-height:1.4!important;
   font-weight:500!important;white-space:normal!important;text-decoration:none!important;
 }
 body:has(> .g-header)>.g-header .g-dropdown-panel .g-menu-all{padding:13px 16px!important;min-height:43px!important;background:#e9f1e9!important;font-weight:750!important}
 body:has(> .g-header)>.g-header .g-institution{position:static!important;width:100%!important;margin:0!important}
 body:has(> .g-header)>.g-header .g-institution>div{
   position:static!important;width:100%!important;min-width:0!important;max-height:none!important;
   box-shadow:none!important;border:1px solid #dce9dd!important;border-radius:8px!important;
   margin:0 0 8px!important;padding:7px 16px!important;background:#f5f8f5!important;
 }
 body:has(> .g-header)>.g-header .g-institution>div>a{
   display:block!important;min-height:42px!important;padding:10px 0!important;
   border-bottom:1px solid #e0e9e1!important;font-size:14px!important;line-height:1.4!important;
 }
 body:has(> .g-header)>.g-header .g-institution>div>a:last-child{border:0!important}
 .gj34-menu-shade{position:fixed;inset:var(--gj34-header-bottom,69px) 0 0;
   z-index:1250;background:rgba(5,26,15,.28);border:0;padding:0;cursor:pointer}
 .gj34-menu-shade:not([hidden]){display:block!important}
 body>.g-breadcrumb{padding:8px 0!important;font-size:12px!important;width:calc(100% - 40px)!important;max-width:1280px!important;margin-inline:auto!important}
 body:has(> .g-header) .gj28-hero-inner{padding:36px 0 44px!important}
 body:has(> .g-header) .gj28-hero{min-height:0!important}
 body:has(> .g-header) .gj28-hero-inner h1{font-size:clamp(31px,8vw,41px)!important;line-height:1.14!important;overflow-wrap:break-word}
 body:has(> .g-header) .gj28-hero-description{font-size:15px!important;line-height:1.55!important}
 body:has(> .g-header) .gj28-hero-actions{gap:10px!important}
 body:has(> .g-header) .gj28-hero-actions>a{max-width:100%;min-width:0;white-space:normal!important}
 body:has(> .g-header) .gj27-slide-copy h1{font-size:clamp(31px,8vw,42px)!important;overflow-wrap:break-word}
 body.gj30-site .gj30-segment-card .gj30-segment-photo{height:170px!important;object-position:center!important}
 .gj34-wa-overlay{padding:10px!important;align-items:center!important;overflow:hidden!important}
 .gj34-wa-panel{width:min(100%,480px)!important;max-height:calc(100dvh - 22px)!important;overflow-y:auto!important;
  padding:18px!important;border-radius:13px!important;overscroll-behavior:contain}
 .gj34-wa-panel h2{font-size:25px!important;line-height:1.15!important}
 .gj34-wa-panel input,.gj34-wa-panel textarea{font-size:16px!important;padding:10px!important}
 .gj34-wa-panel form{gap:10px!important}
}
@media(max-width:420px){
 body:has(> .g-header)>.g-header .g-nav{height:65px!important;min-height:65px!important}
 body:has(> .g-header)>.g-header .g-logo{width:143px!important}
 body:has(> .g-header) .gj28-hero-inner h1{font-size:31px!important}
 body:has(> .g-header) .gj28-hero-description{font-size:14px!important}
 .g-wa{right:12px!important;bottom:calc(12px + var(--gj34-safe-bottom))!important;font-size:11px!important;padding:11px 14px!important}
}
@media(min-width:1061px){
 body:has(> .g-header)>.g-header .g-menu{display:none!important}
 body:has(> .g-header)>.g-header .g-links{display:flex!important;position:static!important}
 body:has(> .g-header)>.g-header .g-dropdown-panel{max-height:calc(100dvh - 95px)!important;overflow-y:auto!important}
}
