/* ==========================================================================
   ECOSTEP SERVICE PAGES
   Shared stylesheet for every page the plugin renders.

   Scope: every rule is namespaced under .es-pg so nothing here can reach the
   rest of the site. The THEME LOCK block at the bottom exists because a
   WordPress theme or Elementor's global typography sets colors and fonts
   directly on bare h1 / h2 / p / a / span elements, and a direct rule on an
   element always beats a value that element merely inherited from an
   ancestor, however specific the ancestor selector is. Anywhere this
   stylesheet relied on inheritance the theme would win. So every text color
   and typeface is declared on the element itself, forced, and the selectors
   double the .es-pg class to outrank Elementor's two-class global rules.
   ========================================================================== */

.es-pg{
  --white:#FFFFFF;--bg:#F4F6F7;--bg-2:#E9EDEF;--ink:#10161B;--ink-2:#3D4952;--ink-3:#6B7780;
  --line:#DCE2E6;--line-2:#C4CDD3;--orange:#F0802C;--orange-ink:#B45E13;--orange-soft:#FEF3E8;
  --graphite:#141A1F;
  --display:'Archivo',system-ui,-apple-system,sans-serif;
  --body:'Instrument Sans',system-ui,-apple-system,sans-serif;
  --mono:'IBM Plex Mono',ui-monospace,monospace;
  --max:1240px;
}
.es-pg *{box-sizing:border-box}
.es-pg{font-family:var(--body);font-size:17.5px;line-height:1.6;color:var(--ink);-webkit-font-smoothing:antialiased}
.es-pg img{max-width:100%;height:auto;display:block}
.es-wrap{max-width:var(--max);margin:0 auto;padding:0 32px}
.es-narrow{max-width:800px;margin:0 auto;padding:0 32px}

/* ---------- type ---------- */
.es-pg h1,.es-pg h2,.es-pg h3,.es-pg h4{font-family:var(--display);letter-spacing:-.028em;margin:0}
.es-pg h2{font-weight:700;font-size:clamp(27px,3.3vw,39px);line-height:1.08;margin-bottom:20px}
.es-pg h3{font-weight:700;font-size:21px;line-height:1.2;margin-bottom:10px}
.es-pg h4{font-weight:700;font-size:17.5px;line-height:1.25;margin-bottom:8px}
.es-pg p{margin:0 0 20px}
.es-pg p:last-child{margin-bottom:0}
.es-eyebrow{font-family:var(--mono);font-size:11.5px;font-weight:500;letter-spacing:.2em;
  text-transform:uppercase;color:var(--orange-ink);margin:0 0 20px;display:flex;align-items:center;gap:14px}
.es-eyebrow::before{content:"";width:26px;height:2px;background:var(--orange);flex-shrink:0}
.es-lede{font-size:clamp(18px,1.9vw,21px);line-height:1.52;color:var(--ink-2);max-width:66ch}
.es-pg .es-body{max-width:72ch}
.es-pg .es-body p{font-size:17.5px;line-height:1.68;color:var(--ink-2)}
.es-pg .es-body h2{margin-top:52px}
.es-pg .es-body h3{margin-top:36px}
.es-pg .es-body h2:first-child,.es-pg .es-body h3:first-child{margin-top:0}
.es-pg .es-body strong{color:var(--ink);font-weight:600}
.es-pg .es-body ul,.es-pg .es-body ol{margin:0 0 22px;padding-left:22px}
.es-pg .es-body li{margin-bottom:9px;color:var(--ink-2);line-height:1.62}

/* ---------- utility bar ---------- */
.es-util{background:var(--bg-2);border-bottom:1px solid var(--line);font-family:var(--mono)}
.es-util .es-wrap{display:flex;justify-content:space-between;align-items:center;gap:18px;
  padding-top:9px;padding-bottom:9px;font-size:11.5px;letter-spacing:.07em;color:var(--ink-2);flex-wrap:wrap}
.es-util a{color:var(--ink);text-decoration:none;font-weight:500}
.es-util a:hover{color:var(--orange-ink)}

/* ---------- header ---------- */
.es-header{background:var(--white);border-bottom:1px solid var(--line);position:relative;z-index:30}
.es-header .es-wrap{display:flex;align-items:center;gap:26px;padding-top:15px;padding-bottom:15px}
.es-brand{display:flex;align-items:center;flex-shrink:0;text-decoration:none;line-height:0}
.es-brand img{height:52px!important;width:auto!important;max-width:200px;object-fit:contain}
.es-brand-word{font-family:var(--display);font-weight:800;font-size:22px;letter-spacing:.13em;color:var(--ink)}
.es-nav{margin-left:auto;display:flex;align-items:center;gap:7px}
.es-nav>a,.es-nav .es-drop>button{font-family:var(--body);font-size:14.5px;font-weight:500;color:var(--ink-2);
  text-decoration:none;padding:9px 11px;background:none;border:0;cursor:pointer;line-height:1.2;
  display:inline-flex;align-items:center;gap:6px;border-bottom:2px solid transparent}
.es-nav>a:hover,.es-nav .es-drop>button:hover{color:var(--ink);border-bottom-color:var(--orange)}
.es-nav a.es-cta{background:var(--orange);color:#1A1005;font-weight:600;padding:11px 18px;border-bottom:0}
.es-nav a.es-cta:hover{background:#DA6F1D;color:#1A1005;border-bottom:0}
.es-drop{position:relative}
.es-drop>button svg{width:11px;height:11px;flex-shrink:0;transition:transform .18s ease}
.es-drop.open>button svg{transform:rotate(180deg)}
.es-menu{display:none;position:absolute;top:calc(100% + 9px);left:0;min-width:286px;background:var(--white);
  border:1px solid var(--line);box-shadow:0 18px 44px rgba(16,22,27,.14);padding:8px;z-index:40}
.es-drop.open .es-menu{display:block}
.es-menu a{display:block;padding:10px 13px;font-size:14.5px;color:var(--ink-2);text-decoration:none;line-height:1.35}
.es-menu a:hover{background:var(--bg);color:var(--ink)}
.es-menu a span{display:block;font-family:var(--mono);font-size:10.5px;letter-spacing:.09em;
  text-transform:uppercase;color:var(--ink-3);margin-top:3px}
.es-toggle{display:none;background:none;border:1.5px solid var(--line-2);color:var(--ink);
  padding:10px 15px;font-family:var(--body);font-size:14px;font-weight:600;cursor:pointer;margin-left:auto}

/* ---------- hero ---------- */
.es-hero{background:var(--graphite);color:#fff;position:relative;overflow:hidden}
/* The hero photo comes in as --es-hero-img, set inline on .es-hero by the
   renderer, so no per-page <style> block is needed. */
.es-hero::before{content:"";position:absolute;inset:0;background-image:var(--es-hero-img);
  background-size:cover;background-position:center;
  opacity:.19;animation:esDrift 46s ease-in-out infinite alternate}
@keyframes esDrift{from{transform:scale(1.06) translate(-1%,.5%)}to{transform:scale(1.15) translate(1%,-1.2%)}}
.es-hero .es-wrap{position:relative;z-index:2;padding-top:76px;padding-bottom:76px}
.es-hero .es-eyebrow{color:var(--orange)}
.es-hero h1{font-weight:800;font-size:clamp(32px,4.6vw,54px);line-height:1.03;letter-spacing:-.036em;
  margin-bottom:20px;max-width:19ch}
.es-hero h1 em{font-style:normal;color:var(--orange)}
.es-hero p{color:#B9C5CE;font-size:clamp(17px,1.8vw,19.5px);line-height:1.55;max-width:58ch;margin:0}
.es-hero-cta{display:flex;gap:13px;flex-wrap:wrap;margin-top:30px}
.es-btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;text-decoration:none;
  font-family:var(--body);font-size:15.5px;font-weight:600;padding:15px 26px;border:1.5px solid transparent;
  transition:background .18s ease,color .18s ease,border-color .18s ease;cursor:pointer}
.es-btn-primary{background:var(--orange);color:#1A1005;border-color:var(--orange)}
.es-btn-primary:hover{background:#DA6F1D;border-color:#DA6F1D;color:#1A1005}
.es-btn-ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.4)}
.es-btn-ghost:hover{background:#fff;color:var(--ink);border-color:#fff}
.es-btn-dark{background:var(--ink);color:#fff;border-color:var(--ink)}
.es-btn-dark:hover{background:var(--orange);border-color:var(--orange);color:#1A1005}

/* ---------- breadcrumb ---------- */
.es-crumb{background:var(--bg);border-bottom:1px solid var(--line);font-family:var(--mono);font-size:11.5px;
  letter-spacing:.06em}
.es-crumb .es-wrap{padding-top:11px;padding-bottom:11px;display:flex;gap:9px;flex-wrap:wrap;align-items:center}
.es-crumb a{color:var(--ink-2);text-decoration:none}
.es-crumb a:hover{color:var(--orange-ink)}
.es-crumb span{color:var(--ink-3)}

/* ---------- sections ---------- */
.es-sec{padding:80px 0}
.es-sec-sm{padding:56px 0}
.es-tint{background:var(--bg)}
.es-dark{background:var(--graphite)}
.es-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:60px;align-items:start}
.es-split>*{min-width:0}
.es-split-wide{grid-template-columns:minmax(0,1.35fr) minmax(0,.65fr)}
.es-sticky{position:sticky;top:26px}

/* ---------- key facts strip ---------- */
.es-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:0;border:1px solid var(--line);
  background:var(--white)}
.es-facts>div{padding:26px 24px;border-right:1px solid var(--line);min-width:0}
.es-facts>div:last-child{border-right:0}
.es-facts b{display:block;font-family:var(--display);font-weight:800;font-size:30px;letter-spacing:-.03em;
  color:var(--ink);line-height:1;margin-bottom:9px}
.es-facts span{font-family:var(--mono);font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-3);
  line-height:1.5;display:block}

/* ---------- scope cards ---------- */
.es-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(282px,1fr));gap:1px;background:var(--line);
  border:1px solid var(--line)}
.es-cards>div{background:var(--white);padding:30px 28px;min-width:0}
.es-cards .es-num{font-family:var(--mono);font-size:11.5px;letter-spacing:.12em;color:var(--orange-ink);
  display:block;margin-bottom:13px}
.es-cards p{color:var(--ink-2);font-size:16px;line-height:1.6;margin:0}

/* ---------- chips ---------- */
.es-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
.es-chips li{font-family:var(--mono);font-size:11.5px;letter-spacing:.05em;text-transform:uppercase;
  color:var(--ink-2);border:1px solid var(--line-2);background:var(--white);padding:7px 13px}

/* ---------- spec table ---------- */
.es-table{width:100%;border-collapse:collapse;margin:0 0 24px;font-size:16px}
.es-table th,.es-table td{text-align:left;padding:14px 16px;border-bottom:1px solid var(--line);vertical-align:top;
  line-height:1.55}
.es-table thead th{font-family:var(--mono);font-size:10.5px;letter-spacing:.13em;text-transform:uppercase;
  color:var(--ink-3);border-bottom:2px solid var(--line-2);font-weight:500}
.es-table td:first-child{font-weight:600;color:var(--ink);width:36%}
.es-table td{color:var(--ink-2)}
.es-table tbody tr:last-child td{border-bottom:0}
.es-tablewrap{overflow-x:auto;border:1px solid var(--line);background:var(--white);margin-bottom:24px}
.es-tablewrap .es-table{margin:0}

/* ---------- callout ---------- */
.es-note{background:var(--orange-soft);border-left:5px solid var(--orange);padding:24px 28px;margin:30px 0}
.es-note p{margin:0;color:var(--ink);font-size:16.5px;line-height:1.58}
.es-note p+p{margin-top:12px}

/* ---------- figure ---------- */
.es-fig{margin:0}
.es-fig img{width:100%;object-fit:cover}
.es-fig figcaption{font-family:var(--mono);font-size:11px;letter-spacing:.08em;text-transform:uppercase;
  color:var(--ink-3);padding:11px 2px 0;line-height:1.55}
.es-fig-tall img{aspect-ratio:4/5}
.es-fig-wide img{aspect-ratio:16/9}
.es-fig-sq img{aspect-ratio:1/1}

/* ---------- gallery ---------- */
.es-gal{display:grid;grid-template-columns:repeat(auto-fit,minmax(258px,1fr));gap:18px}
.es-gal>figure{min-width:0}

/* ---------- Q blocks (PAA answered in prose) ---------- */
.es-q{border-top:1px solid var(--line);padding:30px 0}
.es-q:last-of-type{border-bottom:1px solid var(--line)}
.es-q h3{margin-bottom:11px;font-size:19.5px}
.es-q p{color:var(--ink-2);font-size:16.5px;line-height:1.65;margin-bottom:14px}
.es-q p:last-child{margin-bottom:0}

/* ---------- related ---------- */
.es-rel{display:grid;grid-template-columns:repeat(auto-fit,minmax(248px,1fr));gap:1px;background:var(--line);
  border:1px solid var(--line)}
.es-rel a{background:var(--white);padding:24px 24px;text-decoration:none;display:block;min-width:0;
  transition:background .16s ease}
.es-rel a:hover{background:var(--bg)}
.es-rel b{display:block;font-family:var(--display);font-weight:700;font-size:17px;color:var(--ink);margin-bottom:7px;
  letter-spacing:-.02em}
.es-rel span{font-size:15px;color:var(--ink-2);line-height:1.5;display:block}

/* ---------- CTA band ---------- */
.es-band{background:var(--graphite);color:#fff;padding:68px 0}
.es-band h2{color:#fff;max-width:19ch;margin-bottom:16px}
.es-band p{color:#B9C5CE;max-width:56ch;font-size:18px;margin-bottom:28px}
.es-band .es-hero-cta{margin-top:0}

/* ---------- footer ---------- */
.es-footer{background:var(--graphite);color:#94A0A9;font-size:15px;border-top:1px solid rgba(255,255,255,.1)}
.es-footer .es-wrap{padding-top:58px;padding-bottom:28px}
.es-foot-top{display:grid;grid-template-columns:minmax(0,1.5fr) repeat(auto-fit,minmax(150px,1fr));gap:42px;
  padding-bottom:34px;border-bottom:1px solid rgba(255,255,255,.13)}
.es-foot-top>div{min-width:0}
.es-foot-logo{background:#fff;padding:13px 17px;display:inline-block;line-height:0}
.es-foot-logo img{height:56px!important;width:auto!important}
.es-foot-blurb{margin:17px 0 0;max-width:36ch;line-height:1.55}
.es-footer h4{font-family:var(--mono);font-size:10.5px;letter-spacing:.17em;text-transform:uppercase;color:#fff;
  margin:0 0 15px;font-weight:500}
.es-footer ul{list-style:none;padding:0;margin:0;line-height:2}
.es-footer a{color:#94A0A9;text-decoration:none}
.es-footer a:hover{color:var(--orange)}
.es-foot-bottom{display:flex;justify-content:space-between;gap:18px;padding-top:24px;font-family:var(--mono);
  font-size:11px;letter-spacing:.09em;flex-wrap:wrap}

/* ---------- motion ---------- */
@media (prefers-reduced-motion:reduce){.es-hero::before{animation:none}}

/* ---------- responsive ---------- */
@media(max-width:1040px){
  .es-split,.es-split-wide{grid-template-columns:1fr;gap:44px}
  .es-sticky{position:static}
}
@media(max-width:960px){
  .es-nav{display:none}
  .es-toggle{display:block}
  .es-nav.open{display:flex;flex-direction:column;align-items:stretch;gap:0;width:100%;padding:8px 0 4px;
    margin-left:0;order:3;border-top:1px solid var(--line)}
  .es-nav.open>a,.es-nav.open .es-drop>button{padding:13px 0;border-bottom:1px solid var(--line);width:100%;
    justify-content:space-between;text-align:left}
  .es-nav.open a.es-cta{margin-top:13px;justify-content:center;border-bottom:0}
  .es-nav.open .es-menu{position:static;border:0;box-shadow:none;padding:0 0 10px 14px;min-width:0;background:var(--bg)}
  .es-nav.open .es-drop{width:100%}
  .es-header .es-wrap{flex-wrap:wrap}
  .es-facts>div{border-right:0;border-bottom:1px solid var(--line)}
  .es-facts>div:last-child{border-bottom:0}
}
@media(max-width:760px){
  .es-wrap,.es-narrow{padding-left:22px;padding-right:22px}
  .es-sec{padding:54px 0}
  .es-sec-sm{padding:40px 0}
  .es-hero .es-wrap{padding-top:52px;padding-bottom:52px}
  .es-util .es-wrap{flex-direction:column;align-items:flex-start;gap:5px;line-height:1.5}
  .es-brand img{height:42px!important}
  .es-band{padding:50px 0}
  .es-foot-top{grid-template-columns:1fr;gap:28px}
  .es-cards>div{padding:26px 22px}
  .es-note{padding:20px 20px}
  /* stack the hero buttons to equal width rather than letting them size to
     their own text, which left the two looking mismatched on a phone */
  .es-hero-cta{flex-direction:column;align-items:stretch}
  .es-hero-cta .es-btn{width:100%}
}

/* ==========================================================================
   THEME LOCK
   Everything below restates color and typeface on the element itself and
   doubles the .es-pg class for specificity. Order inside this block matters:
   the generic rules come first, the mono and display exceptions after, so the
   exceptions win on document order. Edit with that in mind.
   ========================================================================== */
.es-pg.es-pg,
.es-pg.es-pg p,.es-pg.es-pg li,.es-pg.es-pg span,.es-pg.es-pg div,
.es-pg.es-pg strong,.es-pg.es-pg b,.es-pg.es-pg em,.es-pg.es-pg small,
.es-pg.es-pg td,.es-pg.es-pg th{color:var(--ink)}
.es-pg.es-pg h1,.es-pg.es-pg h2,.es-pg.es-pg h3,.es-pg.es-pg h4{
  color:var(--ink)!important;font-family:var(--display)!important}
.es-pg.es-pg p,.es-pg.es-pg li,.es-pg.es-pg span,.es-pg.es-pg a,.es-pg.es-pg div,
.es-pg.es-pg b,.es-pg.es-pg strong,.es-pg.es-pg em,.es-pg.es-pg small,
.es-pg.es-pg button,.es-pg.es-pg td,.es-pg.es-pg th,
.es-pg.es-pg label,.es-pg.es-pg input,.es-pg.es-pg select,
.es-pg.es-pg textarea,.es-pg.es-pg figcaption{font-family:var(--body)!important}
.es-pg.es-pg a{text-decoration:none!important}

/* body copy */
.es-pg.es-pg .es-lede,.es-pg.es-pg .es-body p,.es-pg.es-pg .es-body li{color:var(--ink-2)!important}
.es-pg.es-pg .es-body strong{color:var(--ink)!important}
.es-pg.es-pg .es-body a{color:var(--ink)!important;border-bottom:2px solid var(--orange)}
.es-pg.es-pg .es-body a:hover{color:var(--orange-ink)!important}

/* mono elements */
.es-pg.es-pg .es-eyebrow{color:var(--orange-ink)!important;font-family:var(--mono)!important}
.es-pg.es-pg .es-util .es-wrap,.es-pg.es-pg .es-util .es-wrap div{color:var(--ink-2)!important;font-family:var(--mono)!important}
.es-pg.es-pg .es-util a{color:var(--ink)!important;font-family:var(--mono)!important}
.es-pg.es-pg .es-util a:hover{color:var(--orange-ink)!important}
.es-pg.es-pg .es-crumb,.es-pg.es-pg .es-crumb a,.es-pg.es-pg .es-crumb span,
.es-pg.es-pg .es-crumb div{font-family:var(--mono)!important}
.es-pg.es-pg .es-crumb a{color:var(--ink-2)!important}
.es-pg.es-pg .es-crumb span{color:var(--ink-3)!important}
.es-pg.es-pg .es-chips li{color:var(--ink-2)!important;font-family:var(--mono)!important}
.es-pg.es-pg .es-facts span{color:var(--ink-3)!important;font-family:var(--mono)!important}
.es-pg.es-pg .es-facts b{color:var(--ink)!important;font-family:var(--display)!important}
.es-pg.es-pg .es-cards .es-num{color:var(--orange-ink)!important;font-family:var(--mono)!important}
.es-pg.es-pg .es-cards p{color:var(--ink-2)!important}
.es-pg.es-pg .es-fig figcaption{color:var(--ink-3)!important;font-family:var(--mono)!important}
.es-pg.es-pg .es-table thead th{color:var(--ink-3)!important;font-family:var(--mono)!important}
.es-pg.es-pg .es-table td{color:var(--ink-2)!important}
.es-pg.es-pg .es-table td:first-child{color:var(--ink)!important}
.es-pg.es-pg .es-note p{color:var(--ink)!important}
.es-pg.es-pg .es-q p{color:var(--ink-2)!important}
.es-pg.es-pg .es-rel b{color:var(--ink)!important;font-family:var(--display)!important}
.es-pg.es-pg .es-rel span{color:var(--ink-2)!important}

/* header */
.es-pg.es-pg .es-brand-word{color:var(--ink)!important;font-family:var(--display)!important}
.es-pg.es-pg .es-nav>a,.es-pg.es-pg .es-nav .es-drop>button{color:var(--ink-2)!important}
.es-pg.es-pg .es-nav>a:hover,.es-pg.es-pg .es-nav .es-drop>button:hover{color:var(--ink)!important}
.es-pg.es-pg .es-nav a.es-cta,.es-pg.es-pg .es-nav a.es-cta:hover{color:#1A1005!important}
.es-pg.es-pg .es-menu a{color:var(--ink-2)!important}
.es-pg.es-pg .es-menu a:hover{color:var(--ink)!important}
.es-pg.es-pg .es-menu a span{color:var(--ink-3)!important;font-family:var(--mono)!important}
.es-pg.es-pg .es-toggle{color:var(--ink)!important}

/* hero and dark bands */
.es-pg.es-pg .es-hero,.es-pg.es-pg .es-hero .es-wrap,.es-pg.es-pg .es-hero div{color:#fff!important}
.es-pg.es-pg .es-hero h1{color:#fff!important}
.es-pg.es-pg .es-hero h1 em{color:var(--orange)!important;font-family:var(--display)!important}
.es-pg.es-pg .es-hero p{color:#B9C5CE!important}
.es-pg.es-pg .es-hero .es-eyebrow{color:var(--orange)!important}
.es-pg.es-pg .es-band,.es-pg.es-pg .es-band div{color:#fff!important}
.es-pg.es-pg .es-band h2{color:#fff!important}
.es-pg.es-pg .es-band p{color:#B9C5CE!important}
.es-pg.es-pg .es-band .es-eyebrow{color:var(--orange)!important}

/* buttons */
.es-pg.es-pg .es-btn-primary,.es-pg.es-pg .es-btn-primary:hover{color:#1A1005!important}
.es-pg.es-pg .es-btn-ghost{color:#fff!important}
.es-pg.es-pg .es-btn-ghost:hover{color:var(--ink)!important}
.es-pg.es-pg .es-btn-dark{color:#fff!important}
.es-pg.es-pg .es-btn-dark:hover{color:#1A1005!important}

/* footer */
.es-pg.es-pg .es-footer,.es-pg.es-pg .es-footer p,.es-pg.es-pg .es-footer li,
.es-pg.es-pg .es-footer div,.es-pg.es-pg .es-footer span{color:#94A0A9!important}
.es-pg.es-pg .es-footer h4{color:#fff!important;font-family:var(--mono)!important}
.es-pg.es-pg .es-footer a{color:#94A0A9!important}
.es-pg.es-pg .es-footer a:hover{color:var(--orange)!important}
.es-pg.es-pg .es-foot-bottom,.es-pg.es-pg .es-foot-bottom div{font-family:var(--mono)!important}

/* ==========================================================================
   PROJECT GALLERY
   Filter bar, grid and lightbox. All of it namespaced .es-gal so it cannot
   reach the rest of the page, and the theme lock below covers its text.
   ========================================================================== */
.es-galfilter{display:flex;flex-wrap:wrap;gap:8px;margin:34px 0 28px}
.es-galbtn{font-family:var(--mono);font-size:11.5px;letter-spacing:.07em;text-transform:uppercase;
  color:var(--ink-2);background:var(--white);border:1px solid var(--line-2);padding:9px 14px;cursor:pointer;
  display:inline-flex;align-items:center;gap:8px;line-height:1;
  transition:background .16s ease,border-color .16s ease,color .16s ease}
.es-galbtn span{font-size:10px;color:var(--ink-3);background:var(--bg-2);padding:3px 6px}
.es-galbtn:hover{border-color:var(--ink-3);color:var(--ink)}
.es-galbtn.is-on{background:var(--ink);border-color:var(--ink);color:#fff}
.es-galbtn.is-on span{background:rgba(255,255,255,.18);color:#fff}

.es-galgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(232px,1fr));gap:14px}
.es-galcell{position:relative;padding:0;border:0;background:var(--bg-2);cursor:zoom-in;overflow:hidden;
  aspect-ratio:4/3;display:block;min-width:0}
.es-galcell img{width:100%;height:100%;object-fit:cover;transition:transform .5s cubic-bezier(.2,.7,.3,1)}
.es-galcell:hover img{transform:scale(1.05)}
.es-galcell:focus-visible{outline:3px solid var(--orange);outline-offset:2px}
.es-galtag{position:absolute;left:0;bottom:0;font-family:var(--mono);font-size:10px;letter-spacing:.09em;
  text-transform:uppercase;color:#fff;background:rgba(16,22,27,.74);padding:6px 10px;
  opacity:0;transition:opacity .2s ease;pointer-events:none}
.es-galcell:hover .es-galtag,.es-galcell:focus-visible .es-galtag{opacity:1}
.es-galcell[hidden]{display:none}
.es-galempty{font-family:var(--mono);font-size:12px;letter-spacing:.08em;text-transform:uppercase;
  color:var(--ink-3);padding:40px 0;text-align:center}

/* lightbox */
.es-gallightbox{position:fixed;inset:0;z-index:9999;background:rgba(10,14,17,.95);
  display:flex;align-items:center;justify-content:center;padding:36px}
.es-gallightbox[hidden]{display:none}
.es-gallightbox figure{margin:0;max-width:min(1180px,92vw);max-height:88vh;display:flex;
  flex-direction:column;gap:12px}
.es-gallightbox img{max-width:100%;max-height:80vh;object-fit:contain;display:block;margin:0 auto}
.es-gallightbox figcaption{font-family:var(--mono);font-size:11px;letter-spacing:.11em;
  text-transform:uppercase;color:#B9C5CE;text-align:center}
.es-galclose,.es-galprev,.es-galnext{position:absolute;background:none;border:0;color:#fff;cursor:pointer;
  font-size:40px;line-height:1;padding:12px 18px;opacity:.72;transition:opacity .16s ease}
.es-galclose:hover,.es-galprev:hover,.es-galnext:hover{opacity:1}
.es-galclose{top:14px;right:18px;font-size:34px}
.es-galprev{left:6px;top:50%;transform:translateY(-50%)}
.es-galnext{right:6px;top:50%;transform:translateY(-50%)}

@media(max-width:760px){
  .es-galgrid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
  .es-gallightbox{padding:14px}
  .es-galprev,.es-galnext{font-size:32px;padding:10px 10px}
  .es-galtag{opacity:1}
}

/* theme lock for the gallery */
.es-pg.es-pg .es-galbtn{color:var(--ink-2)!important;font-family:var(--mono)!important}
.es-pg.es-pg .es-galbtn span{color:var(--ink-3)!important;font-family:var(--mono)!important}
.es-pg.es-pg .es-galbtn.is-on,.es-pg.es-pg .es-galbtn.is-on span{color:#fff!important}
.es-pg.es-pg .es-galtag{color:#fff!important;font-family:var(--mono)!important}
.es-pg.es-pg .es-galempty{color:var(--ink-3)!important;font-family:var(--mono)!important}
.es-pg.es-pg .es-gallightbox figcaption{color:#B9C5CE!important;font-family:var(--mono)!important}
.es-pg.es-pg .es-galclose,.es-pg.es-pg .es-galprev,.es-pg.es-pg .es-galnext{color:#fff!important}

/* ==========================================================================
   FULL BLEED INSIDE A THEME CONTAINER

   These pages draw their own full-width hero, tinted bands and footer bands,
   so the theme's centered content column has to get out of the way. The
   .ecostep-sp-page class is set by the plugin on its own pages (see
   ECOSTEP_SP_Renderer::body_class), which makes this independent of the page
   template, of Astra's own template classes, and of whether Elementor is
   rendering the page.

   Width and padding are cleared rather than using a negative-margin breakout,
   because a breakout computed from viewport units disagrees with the document
   width whenever a scrollbar is present and produces horizontal scrolling.
   ========================================================================== */
body.ecostep-sp-page .site-content > .ast-container,
body.ecostep-sp-page .ast-container,
body.ecostep-sp-page .entry-content,
body.ecostep-sp-page .ast-article-single,
body.ecostep-sp-page #primary,
body.ecostep-sp-page #content .ast-container{
  max-width:none !important;
  width:auto !important;
  padding-left:0 !important;
  padding-right:0 !important;
  margin-left:0 !important;
  margin-right:0 !important;
}
body.ecostep-sp-page .site-content,
body.ecostep-sp-page #primary,
body.ecostep-sp-page .ast-article-single{
  padding-top:0 !important;
  padding-bottom:0 !important;
  margin-top:0 !important;
  margin-bottom:0 !important;
}
/* Astra draws a border and background on the single article wrapper in some
   presets, which would show as a line across every section band. */
body.ecostep-sp-page .ast-article-single{border:0 !important;background:transparent !important}
/* The page supplies its own gutters through .es-wrap, so nothing above should
   add more. Entry title and meta belong to the theme's template, not here. */
body.ecostep-sp-page .entry-header,
body.ecostep-sp-page .ast-single-post-order,
body.ecostep-sp-page .entry-title{display:none !important}
