/* ECSONS Boutique Header - light, accessible, responsive */
:root{
  --ebh-ann-bg:#547765;--ebh-ann-color:#f7f8f3;
  --ebh-pill-bg:#729277;--ebh-pill-color:#fff;
  --ebh-solid-bg:#1d2926;--ebh-brand-color:#fff;--ebh-accent:#c0a67b;
  --ebh-logo-width:230px;--ebh-header-height:94px;--ebh-header-max-width:1420px;
  --ebh-pill-radius:60px;--ebh-hero-min-height:590px;--ebh-overlay-background:transparent;--ebh-page-banner-height:280px;
  --ebh-mobile-logo-width:160px;--ebh-menu-gap:25px;--ebh-nav-font-size:10px;--ebh-pill-horizontal-padding:24px;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:#27322d;background:#fff;font-family:'DM Sans',Arial,sans-serif;font-size:16px;line-height:1.7;-webkit-font-smoothing:antialiased}
body.admin-bar .ebh-header-sticky{top:32px}
a{color:inherit}
img{max-width:100%;height:auto}
button,input{font:inherit}
button{cursor:pointer}
:focus-visible{outline:2px solid #f4c37d;outline-offset:4px}
.screen-reader-text,.ebh-skip-link:not(:focus){position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap;clip-path:inset(50%);padding:0;margin:-1px;border:0}
.ebh-skip-link:focus{position:fixed;top:10px;left:10px;z-index:9999;display:block;color:#101818;background:#fff;padding:12px 18px}
/* Slim announcement, following the reference's typography and scale */
.ebh-announcement{min-height:26px;background:var(--ebh-ann-bg);color:var(--ebh-ann-color);display:flex;align-items:center;justify-content:center;text-align:center;padding:5px 15px;font:500 10px/1.45 'DM Sans',Arial,sans-serif;letter-spacing:.048em;position:relative;z-index:60}
.ebh-announcement a{color:inherit;text-decoration:none}
.ebh-announcement a:hover{text-decoration:underline;text-underline-offset:2px}
.ebh-ann-left{justify-content:flex-start;padding-left:max(22px,calc((100vw - var(--ebh-header-max-width))/2 + 24px))}
.ebh-ann-right{justify-content:flex-end;padding-right:max(22px,calc((100vw - var(--ebh-header-max-width))/2 + 24px))}
/* Header and logo */
.ebh-site-header{width:100%;z-index:50;transition:background-color .2s ease;}
.ebh-header-overlay{position:absolute;left:0;right:0;background:var(--ebh-overlay-background)}
.ebh-header-solid{background:var(--ebh-solid-bg);position:relative}
.ebh-header-sticky{position:sticky;top:0;background:var(--ebh-solid-bg);box-shadow:0 4px 20px rgba(0,0,0,.12)}
.ebh-header-inner{width:min(calc(100% - 64px),var(--ebh-header-max-width));margin:0 auto;min-height:var(--ebh-header-height);display:flex;align-items:center;justify-content:space-between;gap:32px;position:relative}
.ebh-brand{min-width:0;flex:0 1 auto;position:relative;z-index:2}
.ebh-brand-text{text-decoration:none;color:var(--ebh-brand-color);font-family:'Manrope','DM Sans',Arial,sans-serif;letter-spacing:.105em;font-size:clamp(24px,2.65vw,38px);font-weight:600;line-height:1;white-space:nowrap;text-shadow:0 1px 15px rgba(0,0,0,.13)}
.ebh-brand-text:hover{opacity:.93}
.ebh-brand .custom-logo-link{display:block;line-height:0;max-width:100%}
.ebh-brand .custom-logo{display:block;width:min(var(--ebh-logo-width),38vw);max-width:100%;height:auto;max-height:calc(var(--ebh-header-height) - 14px);object-fit:contain;object-position:left center}
.ebh-navigation-wrap{position:relative;margin-left:auto;flex:0 1 auto;min-width:0;z-index:3}
/* Rounded capsule */
.ebh-pill{display:flex;align-items:center;justify-content:center;gap:16px;min-height:49px;background:var(--ebh-pill-bg);border-radius:var(--ebh-pill-radius);padding:7px var(--ebh-pill-horizontal-padding);color:var(--ebh-pill-color);box-shadow:0 6px 26px rgba(0,0,0,.06);position:relative;max-width:100%}
.ebh-menu-list,.ebh-menu-list ul{list-style:none;padding:0;margin:0}
.ebh-menu-list{display:flex;align-items:center;gap:var(--ebh-menu-gap)}
.ebh-menu-list>li{position:relative}
.ebh-menu-list>li>a{display:inline-block;text-transform:uppercase;font-size:var(--ebh-nav-font-size);line-height:1.5;letter-spacing:.06em;text-decoration:none;white-space:nowrap;font-weight:600;color:var(--ebh-pill-color);padding:7px 0;transition:opacity .15s ease}
.ebh-menu-list a:hover,.ebh-menu-list .current-menu-item>a{opacity:.75}
.ebh-menu-list .sub-menu{position:absolute;left:-15px;top:100%;min-width:190px;padding:12px;border-radius:13px;background:var(--ebh-pill-bg);box-shadow:0 8px 24px rgba(0,0,0,.18);display:none;z-index:12}
.ebh-menu-list .sub-menu a{display:block;text-decoration:none;padding:7px 8px;font-size:12px;line-height:1.5;color:var(--ebh-pill-color)}
.ebh-menu-list li:hover>.sub-menu,.ebh-menu-list li:focus-within>.sub-menu{display:block}
.ebh-icons{display:flex;align-items:center;gap:10px;margin-left:0}
.ebh-icon-button{flex-shrink:0;width:22px;height:28px;border:0;background:transparent;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;color:var(--ebh-pill-color);padding:0;transition:transform .15s ease,opacity .15s ease}
.ebh-icon-button:hover{opacity:.75;transform:translateY(-1px)}
.ebh-icon-button svg{width:17px;height:17px;stroke:currentColor;stroke-width:1.5;fill:none;stroke-linecap:round;stroke-linejoin:round}
.ebh-menu-trigger{display:none}
.ebh-search-panel{position:absolute;top:calc(100% + 12px);right:0;width:min(360px,calc(100vw - 28px));background:#fff;border-radius:14px;padding:15px;box-shadow:0 16px 44px rgba(9,22,15,.18);color:#253329;z-index:15}
.ebh-search-panel[hidden]{display:none}
.ebh-search-form{display:flex;gap:6px;width:100%}
.ebh-search-form input{border:1px solid #d4ded8;border-radius:8px;padding:11px;min-width:0;flex:1;font-size:13px;width:100%}
.ebh-search-form button{border:0;border-radius:8px;background:var(--ebh-pill-bg);color:var(--ebh-pill-color);padding:10px 15px;font-size:12px;font-weight:700}
/* Alternate positions */
@media(min-width:961px){
 .ebh-nav-center.ebh-brand-left .ebh-navigation-wrap{position:absolute;left:50%;transform:translateX(-50%);margin-left:0}
 .ebh-brand-center .ebh-header-inner{flex-direction:column;justify-content:center;gap:17px;min-height:max(150px,var(--ebh-header-height));padding:16px 0}
 .ebh-brand-center .ebh-navigation-wrap{margin:0;position:relative;left:auto;transform:none}
}
/* A visual introduction makes the transparent header actually overlay an image */
.ebh-hero{position:relative;isolation:isolate;min-height:var(--ebh-hero-min-height);display:flex;align-items:center;overflow:hidden;color:#fff;background-color:#283330;background-image:linear-gradient(90deg,rgba(7,13,12,.56),rgba(8,12,11,.29) 50%,rgba(5,10,7,.13)),var(--ebh-hero-image);background-position:center;background-size:cover;background-repeat:no-repeat}
.ebh-hero::after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(5,12,10,.08) 0%,transparent 44%,rgba(9,17,14,.3) 100%)}
.ebh-hero-inner{width:min(calc(100% - 96px),var(--ebh-header-max-width));margin:0 auto;padding:170px 0 75px;position:relative;z-index:1}
.ebh-hero h1{font-family:'Manrope',Arial,sans-serif;max-width:690px;margin:0 0 20px;font-size:clamp(36px,5.1vw,72px);line-height:1.13;letter-spacing:-.035em;font-weight:500;text-wrap:balance;text-shadow:0 3px 23px rgba(0,0,0,.15)}
.ebh-hero p{max-width:540px;font-size:clamp(15px,1.6vw,19px);line-height:1.6;margin:0 0 29px;color:rgba(255,255,255,.93)}
.ebh-hero-cta{display:inline-flex;align-items:center;gap:20px;text-decoration:none;background:var(--ebh-pill-bg);color:var(--ebh-pill-color);border-radius:40px;padding:13px 21px;line-height:1.2;font-size:12px;font-weight:600;transition:transform .18s ease,filter .18s ease}
.ebh-hero-cta:hover{transform:translateY(-2px);filter:brightness(1.09)}
.ebh-hero-cta span{font-size:18px}
.ebh-header-solid + .ebh-hero .ebh-hero-inner,.ebh-header-sticky + .ebh-hero .ebh-hero-inner{padding-top:90px}
/* Main content */
.ebh-main{min-height:25vh;padding:76px 0 94px;background:#fff}
.ebh-front-main{padding-top:64px}
.ebh-content-container{max-width:1180px;margin:0 auto;padding:0 32px}
.ebh-page-content:after{content:'';display:table;clear:both}
.ebh-page-content:empty{display:none}
.ebh-page-title,.ebh-section-title{font-family:'Manrope',Arial,sans-serif;font-size:clamp(31px,4vw,52px);font-weight:500;line-height:1.2;letter-spacing:-.03em;color:#1c332c;margin:0 0 35px}
.ebh-prose{max-width:980px}.ebh-prose p{margin:0 0 1.3em}
.ebh-prose h2,.ebh-prose h3{line-height:1.35;margin:1.5em 0 .7em;font-family:'Manrope',Arial,sans-serif}
.ebh-prose img,.ebh-featured-image img{height:auto;max-width:100%;border-radius:9px}
.ebh-featured-image{margin-bottom:30px}
.ebh-post-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:26px}
.ebh-post-card{border:1px solid #e6ece8;border-radius:15px;overflow:hidden;transition:box-shadow .2s ease}
.ebh-post-card:hover{box-shadow:0 12px 36px rgba(0,0,0,.07)}
.ebh-post-image img{width:100%;height:230px;object-fit:cover;display:block}
.ebh-post-body{padding:23px}.ebh-post-body time,.ebh-post-date{color:#71867b;font-size:12px}
.ebh-post-body h2{font-size:22px;line-height:1.35;font-weight:600;margin:8px 0 10px}
.ebh-post-body h2 a,.ebh-read-more{text-decoration:none}
.ebh-read-more{font-weight:600;color:#456e55;font-size:13px}
.ebh-pagination{margin:40px 0}
.ebh-not-found{max-width:640px;text-align:center}
.ebh-comments{margin:65px 0}.ebh-comments input,.ebh-comments textarea{max-width:100%}
/* Tablet and touch: collapse nav to controlled mobile drawer */
@media(max-width:960px){
 body.admin-bar .ebh-header-sticky{top:46px}
 .ebh-header-inner{width:calc(100% - 40px);min-height:76px;gap:15px}
 .ebh-brand-text{font-size:clamp(22px,4.3vw,32px);letter-spacing:.07em}
 .ebh-brand .custom-logo{width:min(var(--ebh-logo-width),36vw);max-height:60px}
 .ebh-navigation-wrap{margin-left:auto;flex:0 0 auto}
 .ebh-pill{padding:7px 13px;gap:0;min-height:45px}
 .ebh-icons{gap:10px}
 .ebh-icon-button{height:28px;width:24px}
 .ebh-menu-trigger{display:inline-flex}
 .ebh-menu{display:none;position:absolute;top:calc(100% + 12px);right:0;width:min(318px,calc(100vw - 40px));background:var(--ebh-pill-bg);border-radius:17px;padding:15px 21px;box-shadow:0 12px 32px rgba(0,0,0,.18);z-index:20;max-height:min(65vh,540px);overflow-y:auto}
 .ebh-menu.is-open{display:block}
 .ebh-menu-list{display:flex;align-items:stretch;flex-direction:column;gap:2px}
 .ebh-menu-list>li>a{display:block;font-size:13px;line-height:1.4;padding:13px 4px;white-space:normal}
 .ebh-menu-list>li+li{border-top:1px solid rgba(255,255,255,.17)}
 .ebh-menu-list .sub-menu{display:block;position:static;box-shadow:none;border-radius:0;padding:0 0 7px 13px;min-width:0;background:transparent}
 .ebh-menu-list .sub-menu a{padding:6px;font-size:12px}
 .ebh-hero{min-height:max(520px,var(--ebh-hero-min-height))}
 .ebh-hero-inner{width:calc(100% - 60px);padding:150px 0 75px}
 .ebh-brand-center .ebh-header-inner{flex-direction:row;min-height:76px}
 .ebh-nav-center .ebh-navigation-wrap{position:relative;left:auto;transform:none}
}
@media(max-width:600px){
 .ebh-announcement{font-size:9px;min-height:28px;padding:6px 12px;line-height:1.3}
 .ebh-header-inner{width:calc(100% - 32px);min-height:69px;gap:8px}
 .ebh-brand-text{font-size:clamp(21px,5.5vw,28px);letter-spacing:.05em}
 .ebh-brand .custom-logo{width:min(var(--ebh-logo-width),34vw);max-height:49px}
 .ebh-pill{padding:6px 10px;min-height:42px}
 .ebh-icons{gap:7px}
 .ebh-icon-button{width:23px;height:29px}
 .ebh-icon-button svg{width:18px;height:18px}
 .ebh-account-link{display:none}
 .ebh-search-panel{right:0}
 .ebh-hero{min-height:500px}
 .ebh-hero-inner{padding:143px 0 72px;width:calc(100% - 38px)}
 .ebh-hero h1{font-size:clamp(33px,9vw,53px);max-width:500px;line-height:1.15}
 .ebh-hero p{font-size:15px}
 .ebh-hero-cta{font-size:12px}
 .ebh-main{padding:44px 0 58px}
 .ebh-content-container{padding:0 20px}
}
@media(max-width:350px){
 .ebh-brand-text{font-size:20px}
 .ebh-icons{gap:3px}
 .ebh-pill{padding:5px 7px}
 .ebh-header-inner{width:calc(100% - 24px)}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}

/* ===========================================================
   ECSONS v1.2.0 — six configurable desktop layouts.
   These affect only >=861px. Mobile is designed separately.
   =========================================================== */
@media (min-width:961px){
  /* Preset 1: classic deliberately preserves pre-existing layout controls. */
  .ebh-layout-classic .ebh-navigation-wrap{max-width:calc(100% - 100px)}
  /* Preset 2: reverse: capsule left, identity right */
  .ebh-layout-reverse .ebh-header-inner{flex-direction:row-reverse}
  .ebh-layout-reverse .ebh-navigation-wrap{margin-left:0;margin-right:auto}
  .ebh-layout-reverse .ebh-brand{margin-left:auto;text-align:right}
  .ebh-layout-reverse .ebh-brand .custom-logo{object-position:right center;margin-left:auto}
  /* Preset 3: compact centered logo over a floating pill. */
  .ebh-layout-stacked .ebh-header-inner{flex-direction:column;justify-content:center;gap:15px;min-height:max(154px,var(--ebh-header-height));padding:17px 0 21px}
  .ebh-layout-stacked .ebh-brand{margin:0 auto;text-align:center}
  .ebh-layout-stacked .ebh-brand .custom-logo{margin:0 auto;object-position:center center}
  .ebh-layout-stacked .ebh-navigation-wrap{margin:0 auto}
  /* Preset 4: a three-zone balance; menu pill / centered logo / icon pill. */
  .ebh-layout-split .ebh-header-inner{display:grid;grid-template-columns:1fr auto 1fr;gap:12px;min-height:max(var(--ebh-header-height),104px)}
  .ebh-layout-split .ebh-brand{grid-column:2;grid-row:1;justify-self:center;text-align:center}
  .ebh-layout-split .ebh-brand .custom-logo{margin:auto;object-position:center}
  .ebh-layout-split .ebh-navigation-wrap{grid-column:1 / 4;grid-row:1;width:100%;margin:0;z-index:1}
  .ebh-layout-split .ebh-pill{width:100%;background:transparent;box-shadow:none;padding:0;justify-content:space-between;gap:12px}
  .ebh-layout-split .ebh-menu,.ebh-layout-split .ebh-icons{background:var(--ebh-pill-bg);color:var(--ebh-pill-color);border-radius:var(--ebh-pill-radius);min-height:49px;display:flex;align-items:center;padding:8px clamp(10px,1.3vw,22px);box-shadow:0 5px 18px rgba(0,0,0,.08)}
  .ebh-layout-split .ebh-menu{max-width:calc(50% - 6px)}
  .ebh-layout-split .ebh-menu-list{gap:clamp(9px,1.2vw,var(--ebh-menu-gap))}
  .ebh-layout-split .ebh-icons{margin-left:auto}
  /* Preset 5: editorial two rows, logo above full-width flat-ish nav. */
  .ebh-layout-studio .ebh-header-inner{flex-direction:column;justify-content:center;gap:14px;padding:18px 0 21px;min-height:max(162px,var(--ebh-header-height))}
  .ebh-layout-studio .ebh-brand{text-align:center}
  .ebh-layout-studio .ebh-brand .custom-logo{margin:0 auto;object-position:center}
  .ebh-layout-studio .ebh-navigation-wrap{width:100%;margin:0}
  .ebh-layout-studio .ebh-pill{width:100%;justify-content:space-between;border-radius:min(16px,var(--ebh-pill-radius));padding:9px max(18px,var(--ebh-pill-horizontal-padding))}
  .ebh-layout-studio .ebh-menu-list{gap:clamp(14px,2vw,var(--ebh-menu-gap))}
  /* Preset 6: minimalist editorial navigation without the green capsule. */
  .ebh-layout-minimal .ebh-pill{background:transparent;box-shadow:none;border-radius:0;padding:0;gap:22px}
  .ebh-layout-minimal .ebh-menu-list>li>a{padding:12px 0;position:relative}
  .ebh-layout-minimal .ebh-menu-list>li>a::after{content:'';height:2px;background:var(--ebh-accent);bottom:5px;left:0;right:100%;position:absolute;transition:right .2s}
  .ebh-layout-minimal .ebh-menu-list>li>a:hover::after,.ebh-layout-minimal .ebh-menu-list .current-menu-item>a::after{right:0}
  .ebh-layout-minimal .ebh-icon-button{border:1px solid currentColor;border-radius:50%;width:34px;height:34px}
  .ebh-layout-minimal .ebh-icons{gap:8px}
  .ebh-layout-minimal .ebh-menu-list .sub-menu{background:var(--ebh-solid-bg)}
  .ebh-layout-minimal .ebh-menu-list>li>a,.ebh-layout-minimal .ebh-icon-button{color:var(--ebh-brand-color)}
  .ebh-layout-minimal .ebh-search-panel .ebh-search-form button{background:var(--ebh-pill-bg)}
  /* Extra breathing room for hero headline beneath two-tier transparent headers. */
  .ebh-layout-stacked.ebh-header-overlay + .ebh-hero .ebh-hero-inner,
  .ebh-layout-studio.ebh-header-overlay + .ebh-hero .ebh-hero-inner{padding-top:225px}
}
/* Respect screen width when menus would approach the centered brand. */
@media (min-width:961px) and (max-width:1180px){
  .ebh-layout-split .ebh-header-inner{width:calc(100% - 40px)}
  .ebh-layout-split .ebh-brand-text{font-size:clamp(23px,2.8vw,32px)}
  .ebh-layout-split .ebh-brand .custom-logo{width:min(var(--ebh-logo-width),20vw)}
  .ebh-layout-split .ebh-menu-list{gap:10px}
  .ebh-layout-split .ebh-menu-list>li>a{font-size:min(var(--ebh-nav-font-size),10px)}
}
/* Shared mobile behavior: no layout is permitted to push the logo off-screen. */
@media (max-width:960px){
  .ebh-ann-mobile-hidden{display:none}
  .ebh-site-header:not(.ebh-mobile-account-visible) .ebh-account-link{display:none}
  .ebh-site-header.ebh-mobile-account-visible .ebh-account-link{display:inline-flex}
  .ebh-site-header .ebh-header-inner{display:flex;flex-direction:row;justify-content:space-between;align-items:center;gap:10px;min-height:76px;padding:0}
  .ebh-site-header .ebh-brand{order:0;position:relative;left:auto;right:auto;transform:none;margin:0;text-align:left;flex:0 1 auto;max-width:calc(100% - 88px)}
  .ebh-site-header .ebh-brand .custom-logo{width:min(var(--ebh-mobile-logo-width),100%);max-width:100%;height:auto;max-height:60px;object-position:left}
  .ebh-site-header .ebh-brand-text{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis}
  .ebh-site-header .ebh-navigation-wrap{order:1;position:relative;left:auto;right:auto;transform:none;margin-left:auto;margin-right:0;width:auto;min-width:0;flex:0 0 auto;z-index:4}
  .ebh-site-header .ebh-pill{display:flex;width:auto;min-height:45px;align-items:center;justify-content:center;gap:0;background:var(--ebh-pill-bg);border-radius:var(--ebh-pill-radius);padding:7px 13px;box-shadow:0 6px 22px rgba(0,0,0,.08)}
  .ebh-site-header .ebh-icons{position:static;display:flex;align-items:center;gap:9px;padding:0;background:none;box-shadow:none;min-height:auto;margin:0;width:auto}
  .ebh-site-header .ebh-icon-button{width:24px;height:28px;border:none;border-radius:0;color:var(--ebh-pill-color)}
  .ebh-site-header .ebh-menu-trigger{display:inline-flex}
  .ebh-site-header .ebh-menu{display:none;position:absolute;top:calc(100% + 12px);right:0;left:auto;transform:none;width:min(318px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:min(65vh,540px);background:var(--ebh-pill-bg);border-radius:17px;box-shadow:0 12px 32px rgba(0,0,0,.18);padding:15px 21px;overflow-y:auto;z-index:20}
  .ebh-site-header .ebh-menu.is-open{display:block}
  .ebh-site-header .ebh-menu-list{display:flex;flex-direction:column;align-items:stretch;gap:2px}
  .ebh-site-header .ebh-menu-list>li>a{font-size:13px;color:var(--ebh-pill-color);text-transform:uppercase;padding:13px 4px;white-space:normal}
  .ebh-site-header .ebh-menu-list>li>a::after{content:none}
  .ebh-site-header .ebh-menu-list .sub-menu{background:transparent}
  .ebh-site-header .ebh-search-panel{right:0;left:auto;max-width:calc(100vw - 28px)}
  /* Right logo puts the controls on the left of the row. */
  .ebh-site-header.ebh-mobile-logo-right .ebh-brand{order:2;margin-left:auto;text-align:right}
  .ebh-site-header.ebh-mobile-logo-right .ebh-brand .custom-logo{margin-left:auto;object-position:right}
  .ebh-site-header.ebh-mobile-logo-right .ebh-navigation-wrap{order:0;margin-left:0;margin-right:auto}
  .ebh-site-header.ebh-mobile-logo-right .ebh-menu,.ebh-site-header.ebh-mobile-logo-right .ebh-search-panel{left:0;right:auto}
  /* Center logo is truly centered while keeping the controls reachable. */
  .ebh-site-header.ebh-mobile-logo-center .ebh-brand{position:absolute;left:50%;transform:translateX(-50%);text-align:center;max-width:min(var(--ebh-mobile-logo-width),32vw)}
  .ebh-site-header.ebh-mobile-logo-center .ebh-brand .custom-logo{margin:0 auto;object-position:center}
  .ebh-site-header.ebh-mobile-logo-center .ebh-brand-text{font-size:clamp(17px,4.1vw,27px)}
  .ebh-site-header.ebh-mobile-logo-center .ebh-navigation-wrap{margin-left:auto}
  .ebh-site-header.ebh-mobile-logo-center .ebh-header-inner{justify-content:flex-end}
  .ebh-layout-stacked .ebh-hero-inner,.ebh-layout-studio .ebh-hero-inner{padding-top:150px}
}
@media (max-width:600px){
  .ebh-ann-mobile-hidden{display:none}
  .ebh-site-header .ebh-header-inner{min-height:69px}
  .ebh-site-header .ebh-brand{max-width:calc(100% - 90px)}
  .ebh-site-header .ebh-brand .custom-logo{width:min(var(--ebh-mobile-logo-width),100%);max-height:49px}
  .ebh-site-header .ebh-pill{min-height:42px;padding:6px 10px}
  .ebh-site-header .ebh-icons{gap:6px}
  .ebh-site-header .ebh-icon-button{width:23px;height:29px}
  .ebh-site-header:not(.ebh-mobile-account-visible) .ebh-account-link{display:none}
  .ebh-site-header.ebh-mobile-account-visible .ebh-account-link{display:inline-flex}
  .ebh-site-header.ebh-mobile-logo-center .ebh-brand{max-width:min(var(--ebh-mobile-logo-width),31vw)}
}
@media (max-width:380px){
  .ebh-site-header .ebh-icons{gap:3px}
  .ebh-site-header .ebh-pill{padding:5px 7px}
  .ebh-site-header .ebh-brand{max-width:calc(100% - 80px)}
  .ebh-site-header.ebh-mobile-logo-center .ebh-brand{max-width:28vw}
}


/* =============================================================
   ECSONS 1.2.0: distinct phone/tablet presets. All six can be
   selected independently of desktop, regardless of desktop theme.
   ============================================================= */
@media (min-width:961px) and (max-width:1230px){
  .ebh-site-header .ebh-header-inner{width:calc(100% - 36px);gap:14px}
  .ebh-site-header .ebh-brand .custom-logo{width:min(var(--ebh-logo-width),22vw)}
  .ebh-site-header .ebh-menu-list{gap:clamp(8px,1.2vw,var(--ebh-menu-gap))}
  .ebh-site-header .ebh-pill{gap:9px;padding:7px clamp(10px,1.2vw,var(--ebh-pill-horizontal-padding))}
  .ebh-layout-split .ebh-header-inner{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}
  .ebh-layout-split .ebh-brand .custom-logo{width:min(var(--ebh-logo-width),20vw)}
  .ebh-layout-split .ebh-menu-list{gap:8px}
  .ebh-layout-split .ebh-menu-list>li>a{font-size:9px}
}
@media (max-width:960px){
  .ebh-site-header .ebh-header-inner{width:calc(100% - 30px);position:relative;min-height:72px}
  /* Force any desktop variant to use predictable mobile positioning. */
  .ebh-site-header .ebh-header-inner{display:flex;flex-direction:row;justify-content:space-between;align-items:center;gap:10px;max-width:100%}
  .ebh-site-header .ebh-brand{position:relative;order:0;left:auto;right:auto;top:auto;transform:none;flex:0 1 auto;min-width:0;max-width:calc(100% - 95px);margin:0;text-align:left;z-index:2}
  .ebh-site-header .ebh-brand .custom-logo{display:block;box-sizing:border-box;width:min(var(--ebh-mobile-logo-width),100%);max-width:100%;max-height:var(--ebh-mobile-logo-maxheight);height:auto;object-fit:contain;object-position:left center;margin:0}
  .ebh-site-header .ebh-navigation-wrap{order:1;flex:0 0 auto;position:relative;left:auto;right:auto;top:auto;transform:none;margin:0 0 0 auto;width:auto;z-index:6}
  .ebh-site-header .ebh-pill{display:flex;min-height:44px;max-width:100%;padding:7px 12px;background:var(--ebh-pill-bg);border-radius:var(--ebh-pill-radius);color:var(--ebh-pill-color);box-shadow:0 6px 20px rgba(0,0,0,.1);gap:0}
  .ebh-site-header .ebh-icons{display:flex;align-items:center;gap:6px;max-width:100%;margin:0}
  .ebh-site-header .ebh-icon-button{display:inline-flex;color:var(--ebh-pill-color);width:25px;height:28px;border:0;border-radius:0;padding:0;background:transparent}
  .ebh-site-header .ebh-menu-trigger{display:inline-flex}
  .ebh-site-header .ebh-menu{display:none;position:absolute;top:calc(100% + 12px);right:0;left:auto;transform:none;max-height:min(65vh,540px);width:min(320px,calc(100vw - 30px));max-width:calc(100vw - 30px);overflow-y:auto;background:var(--ebh-pill-bg);border-radius:15px;box-shadow:0 15px 40px rgba(0,0,0,.25);padding:14px 20px;z-index:20}
  .ebh-site-header .ebh-menu.is-open{display:block}
  .ebh-site-header .ebh-menu-list{display:flex;flex-direction:column;align-items:stretch;gap:0}
  .ebh-site-header .ebh-menu-list>li>a{display:block;padding:12px 5px;font-size:13px;color:var(--ebh-pill-color);white-space:normal}
  .ebh-site-header .ebh-menu-list .sub-menu{position:static;display:block;box-shadow:none;background:transparent;padding:0 0 8px 12px;min-width:0}
  .ebh-site-header .ebh-search-panel{right:0;left:auto;transform:none}
  .ebh-site-header.ebh-mobile-search-hidden .ebh-search-trigger{display:none}
  .ebh-site-header:not(.ebh-mobile-account-visible) .ebh-account-link{display:none}
  .ebh-site-header.ebh-mobile-account-visible .ebh-account-link{display:inline-flex}
  /* Style selection applies in every mobile preset. */
  .ebh-site-header.ebh-mobile-style-outline .ebh-pill{background:transparent;border:1px solid var(--ebh-pill-bg);box-shadow:none}
  .ebh-site-header.ebh-mobile-style-outline .ebh-icon-button{color:var(--ebh-brand-color)}
  .ebh-site-header.ebh-mobile-style-plain .ebh-pill{background:transparent;box-shadow:none;padding-inline:0}
  .ebh-site-header.ebh-mobile-style-plain .ebh-icon-button{color:var(--ebh-brand-color)}
  /* 1 Logo left - menu right */
  .ebh-site-header.ebh-mobile-layout-left .ebh-brand{text-align:left}
  /* 2 Logo center with nav pinned to right; available width is reserved for menu. */
  .ebh-site-header.ebh-mobile-layout-center .ebh-brand{position:absolute;left:50%;transform:translateX(-50%);margin:0;text-align:center;width:min(var(--ebh-mobile-logo-width),calc(100% - 165px));max-width:calc(100% - 165px)}
  .ebh-site-header.ebh-mobile-layout-center .ebh-brand .custom-logo{margin:auto;object-position:center}
  .ebh-site-header.ebh-mobile-layout-center .ebh-header-inner{justify-content:flex-end}
  /* 3 Logo right - menu left */
  .ebh-site-header.ebh-mobile-layout-right .ebh-brand{order:2;margin-left:auto;text-align:right}
  .ebh-site-header.ebh-mobile-layout-right .ebh-brand .custom-logo{margin-left:auto;object-position:right}
  .ebh-site-header.ebh-mobile-layout-right .ebh-navigation-wrap{order:0;margin:0 auto 0 0}
  .ebh-site-header.ebh-mobile-layout-right .ebh-menu,.ebh-site-header.ebh-mobile-layout-right .ebh-search-panel{left:0;right:auto}
  /* 4 Wide logo across first row, menu in its own second row. */
  .ebh-site-header.ebh-mobile-layout-wide .ebh-header-inner{flex-direction:column;align-items:stretch;gap:4px;min-height:0;padding:12px 0 10px}
  .ebh-site-header.ebh-mobile-layout-wide .ebh-brand{order:0;max-width:100%;width:100%;text-align:center;display:flex;justify-content:center;align-items:center;min-height:42px}
  .ebh-site-header.ebh-mobile-layout-wide .ebh-brand .custom-logo{width:var(--ebh-mobile-wide-logo-percent);max-width:100%;max-height:var(--ebh-mobile-logo-maxheight);height:auto;object-position:center;margin:0 auto}
  .ebh-site-header.ebh-mobile-layout-wide .ebh-brand-text{font-size:clamp(29px,9vw,56px);overflow:visible}
  .ebh-site-header.ebh-mobile-layout-wide .ebh-navigation-wrap{order:1;width:100%;display:flex;margin:0;justify-content:flex-end}
  /* 5 Centered spacious logo, menu centered below. */
  .ebh-site-header.ebh-mobile-layout-centerstack .ebh-header-inner{flex-direction:column;align-items:center;gap:7px;min-height:0;padding:16px 0 12px}
  .ebh-site-header.ebh-mobile-layout-centerstack .ebh-brand{max-width:100%;width:100%;text-align:center;order:0;display:flex;align-items:center;justify-content:center}
  .ebh-site-header.ebh-mobile-layout-centerstack .ebh-brand .custom-logo{width:var(--ebh-mobile-wide-logo-percent);max-width:100%;max-height:var(--ebh-mobile-logo-maxheight);height:auto;object-position:center;margin:0 auto}
  .ebh-site-header.ebh-mobile-layout-centerstack .ebh-brand-text{font-size:clamp(27px,8vw,44px)}
  .ebh-site-header.ebh-mobile-layout-centerstack .ebh-navigation-wrap{order:1;width:100%;display:flex;justify-content:center;margin:0}
  /* 6 Logo left over full-width menu strip. */
  .ebh-site-header.ebh-mobile-layout-bar .ebh-header-inner{flex-direction:column;align-items:stretch;gap:11px;min-height:0;padding:13px 0 12px}
  .ebh-site-header.ebh-mobile-layout-bar .ebh-brand{order:0;max-width:100%;text-align:left}
  .ebh-site-header.ebh-mobile-layout-bar .ebh-navigation-wrap{order:1;width:100%;display:block;margin:0}
  .ebh-site-header.ebh-mobile-layout-bar .ebh-pill{width:100%;justify-content:flex-end}
  .ebh-site-header.ebh-mobile-layout-bar .ebh-menu{width:100%;max-width:100%;right:0}
  /* Alignment preference for two-row menus. */
  .ebh-site-header.ebh-mobile-layout-wide.ebh-mobile-controls-left .ebh-navigation-wrap,
  .ebh-site-header.ebh-mobile-layout-centerstack.ebh-mobile-controls-left .ebh-navigation-wrap{justify-content:flex-start}
  .ebh-site-header.ebh-mobile-layout-wide.ebh-mobile-controls-center .ebh-navigation-wrap,
  .ebh-site-header.ebh-mobile-layout-centerstack.ebh-mobile-controls-center .ebh-navigation-wrap{justify-content:center}
  .ebh-site-header.ebh-mobile-layout-wide.ebh-mobile-controls-right .ebh-navigation-wrap,
  .ebh-site-header.ebh-mobile-layout-centerstack.ebh-mobile-controls-right .ebh-navigation-wrap{justify-content:flex-end}
  .ebh-site-header.ebh-mobile-layout-bar.ebh-mobile-controls-left .ebh-pill{justify-content:flex-start}
  .ebh-site-header.ebh-mobile-layout-bar.ebh-mobile-controls-center .ebh-pill{justify-content:center}
  .ebh-site-header.ebh-mobile-layout-bar.ebh-mobile-controls-right .ebh-pill{justify-content:flex-end}
  /* Keep dropdown anchored within the available viewport. */
  .ebh-site-header.ebh-mobile-layout-wide .ebh-menu,.ebh-site-header.ebh-mobile-layout-centerstack .ebh-menu{right:0;left:auto}
  .ebh-site-header.ebh-mobile-layout-bar .ebh-menu{right:0;left:0}
  /* No preset may shrink hero content or collide with header in overlay mode. */
  .ebh-site-header.ebh-header-overlay.ebh-mobile-layout-wide + .ebh-hero .ebh-hero-inner,
  .ebh-site-header.ebh-header-overlay.ebh-mobile-layout-centerstack + .ebh-hero .ebh-hero-inner,
  .ebh-site-header.ebh-header-overlay.ebh-mobile-layout-bar + .ebh-hero .ebh-hero-inner{padding-top:190px}
}
@media (max-width:380px){
 .ebh-site-header.ebh-mobile-layout-center .ebh-brand{width:min(var(--ebh-mobile-logo-width),calc(100% - 137px));max-width:calc(100% - 137px)}
 .ebh-site-header.ebh-mobile-layout-center .ebh-brand-text{font-size:clamp(17px,6vw,24px)}
 .ebh-site-header .ebh-icons{gap:3px}
 .ebh-site-header .ebh-pill{padding:6px 9px}
}
@media (max-width:600px){
 .ebh-site-header .ebh-brand .custom-logo{max-height:var(--ebh-mobile-logo-maxheight)}
 .ebh-site-header.ebh-mobile-layout-wide .ebh-brand .custom-logo,
 .ebh-site-header.ebh-mobile-layout-centerstack .ebh-brand .custom-logo{max-height:var(--ebh-mobile-logo-maxheight)}
}

/* v1.4 transparent header can overlay an actual page-banner image as well as the home hero. */
.ebh-page-banner{height:var(--ebh-page-banner-height);position:relative;background-color:#273933;background-image:linear-gradient(90deg,rgba(10,20,17,.28),rgba(10,20,17,.14)),var(--ebh-hero-image);background-position:center;background-size:cover;background-repeat:no-repeat}
.ebh-page-banner:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(2,15,10,.18),transparent 74%,rgba(2,15,10,.08));pointer-events:none}
@media(max-width:600px){.ebh-page-banner{height:max(200px,calc(var(--ebh-page-banner-height) * .7))}}

/* A full-width mobile logo must take the available row width even if WP
 * outputs an inline-sized custom-logo-link container. */
@media (max-width:960px){
 .ebh-site-header.ebh-mobile-layout-wide .ebh-brand .custom-logo-link,
 .ebh-site-header.ebh-mobile-layout-centerstack .ebh-brand .custom-logo-link{width:100%;display:flex;justify-content:center}
 .ebh-site-header.ebh-mobile-layout-wide .ebh-brand .custom-logo,
 .ebh-site-header.ebh-mobile-layout-centerstack .ebh-brand .custom-logo{width:var(--ebh-mobile-wide-logo-percent);max-width:100%;height:auto}
}
