/* ===========================================================
   CO2 Locator — co2.css (Polish Layer)
   Loads AFTER /assets/hl.css
   Goal: make existing pages look more “alive” without redoing HTML
   =========================================================== */

:root{
  --co2-max: 1140px;
  --co2-gap: 12px;

  /* If hl.css already defines these, we won't fight it */
  --co2-card-border: rgba(106,209,255,.16);
  --co2-card-bg1: rgba(10,16,24,.86);
  --co2-card-bg2: rgba(10,16,24,.74);
  --co2-glow-a: rgba(106,209,255,.10);
  --co2-glow-b: rgba(102,255,190,.08);
}

/* =========================
   Global page vibe
   ========================= */
.hl-page{
  background:
    radial-gradient(900px 420px at 12% 8%, rgba(67,240,198,.14), transparent 60%),
    radial-gradient(900px 520px at 92% 10%, rgba(106,209,255,.12), transparent 58%),
    linear-gradient(180deg,var(--bg) 0%, var(--bg2) 55%, var(--bg3) 100%);
  color: var(--ink);
  min-height: 100vh;
}

/* A safe max width wrapper for app pages that use .wrap */
.wrap{
  max-width: var(--co2-max);
  margin: 0 auto;
  padding: 18px 14px 42px;
}

/* =========================
   Make existing HL blocks “alive”
   These selectors already exist on your pages
   ========================= */

/* All HL cards get a nicer finish automatically */
.hl-card{
  position: relative;
  overflow: hidden;
  border-radius: 18px; /* unify */
  border: 1px solid var(--co2-card-border);
  background: linear-gradient(180deg, var(--co2-card-bg1), var(--co2-card-bg2));
  box-shadow: 0 12px 34px rgba(0,0,0,.38);
}

/* Soft top glow on cards, no HTML changes required */
.hl-card::before{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(900px 240px at 20% 0%, var(--co2-glow-a), transparent 60%),
    radial-gradient(900px 280px at 80% 20%, var(--co2-glow-b), transparent 60%);
  pointer-events:none;
  opacity: .95;
}

/* Hover polish (desktop only; touch devices ignore hover anyway) */
@media (hover:hover){
  .hl-card:hover{
    transform: translateY(-2px);
    border-color: rgba(106,209,255,.28);
    box-shadow: 0 18px 46px rgba(0,0,0,.46), 0 0 28px rgba(106,209,255,.10);
  }
}
@media (prefers-reduced-motion: no-preference){
  .hl-card{
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  }
}

/* The “bg mesh” utility you like: apply it automatically to your wrap-bg sections
   (This makes your existing “guides”/special sections look richer without edits) */
.hl-wrap-bg{
  position: relative;
  border-radius: 18px;
  background:
    radial-gradient(800px 240px at 15% 10%, rgba(102,255,190,.14), transparent 60%),
    radial-gradient(700px 220px at 80% 15%, rgba(106,209,255,.12), transparent 62%),
    radial-gradient(900px 300px at 50% 120%, rgba(66,255,120,.08), transparent 55%),
    linear-gradient(180deg, rgba(9,16,24,.94), rgba(9,16,24,.86));
  border: 1px solid rgba(106,209,255,.18);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}

/* Buttons: remove underline everywhere + add a controlled glow on primary */
.hl-btn{ text-decoration: none !important; }

.hl-btn.primary{
  position: relative;
  box-shadow: 0 10px 24px rgba(0,0,0,.35);
}
@media (hover:hover){
  .hl-btn.primary:hover{
    transform: translateY(-1px);
    box-shadow:
      0 14px 34px rgba(0,0,0,.50),
      0 0 0 1px rgba(106,209,255,.28),
      0 0 26px rgba(106,209,255,.22),
      0 0 18px rgba(102,255,190,.12);
  }
}
@media (prefers-reduced-motion: no-preference){
  .hl-btn.primary{ transition: box-shadow .18s ease, transform .18s ease; }
}

/* =========================
   Logo mark (optional)
   If you change HTML later, these are ready
   ========================= */
.co2-mark{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-weight: 900;
  letter-spacing: .2px;
}
.co2-dot{
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.9), rgba(255,255,255,0) 45%),
    radial-gradient(circle at 60% 65%, rgba(106,209,255,.85), rgba(106,209,255,0) 60%),
    radial-gradient(circle at 35% 75%, rgba(102,255,190,.65), rgba(102,255,190,0) 60%),
    rgba(20,28,40,.9);
  box-shadow:
    0 0 0 1px rgba(106,209,255,.35),
    0 10px 22px rgba(0,0,0,.35),
    0 0 22px rgba(106,209,255,.18);
}

/* =========================
   App UI polish (your existing selectors)
   ========================= */

.logo{
  display:flex;
  align-items:center;
  gap:10px;
  margin: 4px 0 12px;
}
.logo strong{ font-size: 18px; letter-spacing:.2px; }
.logo small{ display:block; color: var(--muted); margin-top:2px; }

.toolbar{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  align-items:center;
  margin: 10px 0 14px;
}
.toolbar .spacer{ flex: 1 1 auto; }
.copy-msg{
  margin-left: 6px;
  font-size: 13px;
  color: var(--muted);
  opacity: 0;
  transform: translateY(-1px);
  transition: opacity .15s ease, transform .15s ease;
}
.copy-msg.on{ opacity: 1; transform: translateY(0); }

/* App cards (.card) */
.card{
  background: linear-gradient(180deg, rgba(18,26,37,.72) 0%, rgba(12,18,28,.74) 100%);
  border: 1px solid rgba(140,170,200,.14);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 10px 26px rgba(0,0,0,.35);
}

/* Controls layout */
.controls{ margin: 10px 0 14px; }

.control-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap: 12px;
  align-items:end;
}
.two{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

label{
  display:block;
  font-size: 13px;
  font-weight: 800;
  color: rgba(230,245,255,.88);
  margin: 0 0 6px;
}

#q, select{
  width:100%;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(140,170,200,.18);
  background: rgba(255,255,255,.03);
  color: var(--ink);
  padding: 0 12px;
  outline: none;
  box-shadow: inset 0 -1px 0 rgba(0,0,0,.18);
}
#q::placeholder{ color: rgba(200,220,240,.55); }
#q:focus, select:focus{
  border-color: rgba(67,240,198,.32);
  box-shadow: 0 0 0 3px rgba(67,240,198,.10);
}

/* Filter rows */
.checkrow{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
}

/* Pill labels */
label.chip{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(140,170,200,.16);
  background: rgba(255,255,255,.03);
  color: var(--ink);
  cursor: pointer;
  user-select:none;
  transition: transform .12s ease, background .12s ease, border-color .12s ease, box-shadow .12s ease;
  line-height: 1.1;
}
label.chip:hover{
  transform: translateY(-1px);
  border-color: rgba(67,240,198,.28);
  background: rgba(67,240,198,.08);
}
label.chip input{
  accent-color: var(--accent);
  transform: translateY(1px);
}
label.chip:has(input:checked){
  border-color: rgba(67,240,198,.45);
  background: rgba(67,240,198,.12);
  box-shadow: 0 10px 24px rgba(0,0,0,.28);
}

/* Use-case chips row */
.usecase-wrap{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  margin-top: 6px;
}

.usecase-chip{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(140,170,200,.16);
  background: rgba(255,255,255,.03);
  cursor: pointer;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.usecase-chip:hover{
  transform: translateY(-1px);
  border-color: rgba(106,209,255,.30);
  background: rgba(106,209,255,.08);
}
.usecase-chip input{
  accent-color: var(--accent-2);
  transform: translateY(1px);
}
.usecase-chip:has(input:checked){
  border-color: rgba(106,209,255,.48);
  background: rgba(106,209,255,.12);
}

/* Results */
.result-count{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  margin: 8px 0 12px;
  color: var(--muted);
  font-size: 13px;
}

#list{
  display:grid;
  gap: 12px;
  margin-top: 10px;
}

/* listing cards generated by JS */
.listing{
  background: linear-gradient(180deg, rgba(18,26,37,.70) 0%, rgba(12,18,28,.72) 100%);
  border: 1px solid rgba(140,170,200,.14);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 10px 26px rgba(0,0,0,.30);
}

.listing h3{
  margin: 0 0 4px;
  font-size: 18px;
  letter-spacing: .15px;
}
.listing small{
  display:block;
  color: var(--muted);
  margin-bottom: 8px;
}

.meta{
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
  margin: 8px 0 12px;
}

.tag{
  display:inline-flex;
  align-items:center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(140,170,200,.16);
  background: rgba(255,255,255,.03);
  color: rgba(230,245,255,.90);
  font-size: 12px;
  font-weight: 800;
}

.actions{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
}

/* Empty state */
.empty-state{
  padding: 14px;
  border-radius: 18px;
  border: 1px dashed rgba(140,170,200,.18);
  background: rgba(255,255,255,.02);
}
.empty-state h3{ margin: 0 0 6px; }
.empty-state p{ margin: 0; color: var(--muted); }

/* Helper box */
.helper-box{
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(140,170,200,.14);
  background: rgba(255,255,255,.02);
  color: var(--muted);
  line-height: 1.55;
}
.helper-box strong{ color: var(--ink); }

/* Misc */
.divider{
  height:1px;
  background: rgba(140,170,200,.14);
  margin: 10px 0;
}
.note{ color: var(--muted); font-size: 13px; line-height: 1.5; }

button.chip{
  appearance:none;
  border: 1px solid rgba(140,170,200,.16);
  background: rgba(255,255,255,.03);
  color: var(--ink);
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
button.chip:hover{
  transform: translateY(-1px);
  border-color: rgba(67,240,198,.28);
  background: rgba(67,240,198,.08);
}

/* Clear button */
.clear-btn{
  width:100%;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(140,170,200,.18);
  background: rgba(255,255,255,.03);
  color: var(--ink);
  font-weight: 900;
  cursor:pointer;
  transition: background .12s ease, border-color .12s ease, transform .12s ease;
}
.clear-btn:hover{
  transform: translateY(-1px);
  background: rgba(106,209,255,.08);
  border-color: rgba(106,209,255,.28);
}

/* Sort */
.sort-controls label{ margin: 0 8px 0 0; }
.sort-select{ max-width: 220px; }

/* Subtle entry animation */
@keyframes fadeIn { from{opacity:0; transform:translateY(4px)} to{opacity:1; transform:translateY(0)} }
.fade-in{ animation: fadeIn .18s ease both; }

/* Mobile */
@media (max-width: 820px){
  .control-grid{ grid-template-columns: 1fr; }
  .two{ grid-template-columns: 1fr; }
  .toolbar{ gap: 8px; }
  #q, select{ height: 44px; }
}
.co2-hero-photo .hl-head h1{ letter-spacing:-.3px; }
.co2-hero-photo .hl-head p{ font-size:1.05rem; opacity:.92; }
/* ===========================================================
   CO2 Homepage (moved from inline <style>)
   =========================================================== */

/* =========================
   HERO background system (no per-page overrides)
   ========================= */

.co2-hero-photo{
  position:relative;
  border-radius:22px;
  overflow:hidden;
  padding:34px 22px;
  border:1px solid rgba(255,255,255,.10);
  box-shadow: 0 20px 60px rgba(0,0,0,.35);

  /* Default hero image if none is provided */
  --co2-hero-img: url('/assets/co2/img/home/hero-bg.png');

  background:
    linear-gradient(180deg, rgba(7,10,18,.68), rgba(7,10,18,.82)),
    var(--co2-hero-img) center/cover no-repeat;
}

.co2-hero-photo .hl-head h1{ margin-top:0; }
.co2-hero-photo .hl-head p{ max-width: 62ch; }
/* Use-case hero images */
.co2-hero-aquarium{  --co2-hero-img: url('/assets/co2/img/use-cases/aquarium-hero.png'); }
.co2-hero-homebrew{  --co2-hero-img: url('/assets/co2/img/use-cases/homebrew-hero.png'); }
.co2-hero-paintball{ --co2-hero-img: url('/assets/co2/img/use-cases/paintball-hero.png'); }
.co2-hero-welding{
  --co2-hero-img: url('/assets/co2/img/use-cases/welding-hero.png');
}
.co2-hero-lasers{ --co2-hero-img: url('/assets/co2/img/use-cases/lasers-hero.png'); }



/* Big search bar */
.co2-searchbar{
  margin-top:14px;
  padding:14px;
  border-radius:16px;
  background: rgba(10,14,24,.55);
  border:1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
}
.co2-searchbar .hl-grid{
  grid-template-columns: 1.6fr 1fr 1fr auto;
  gap:10px;
  align-items:end;
}

/* Tiles */
.co2-tile-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:12px;
}
@media (max-width: 900px){
  .co2-tile-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .co2-searchbar .hl-grid{ grid-template-columns: 1fr; }
}

.co2-tile{
  position:relative;
  border-radius:18px;
  overflow:hidden;
  min-height: 140px;
  border:1px solid rgba(255,255,255,.10);
  background:
    /* subtle “premium” highlight + vignette */
    radial-gradient(900px 400px at 20% 10%, rgba(120,255,220,.14), rgba(0,0,0,0) 55%),
    linear-gradient(180deg, rgba(6,10,18,.22), rgba(6,10,18,.88)),
    var(--bg) center/cover no-repeat;
  box-shadow: 0 18px 40px rgba(0,0,0,.30);
}
.co2-tile .co2-tile-inner{
  position:relative;
  padding:14px;
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:10px;
}
.co2-tile .co2-tile-title{
  font-weight:900;
  letter-spacing:.2px;
  font-size:16px;

  /* icon + title layout */
  display:flex;
  align-items:center;
  gap:10px;
}
.co2-tile .co2-tile-sub{
  opacity:.9;
  line-height:1.35;
  max-width: 34ch;
}
.co2-tile .co2-tile-actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.co2-tile .hl-btn{
  padding:8px 10px;
  border-radius:12px;
}

/* Tile hover */
@media (hover:hover){
  .co2-tile{
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  }
  .co2-tile:hover{
    transform: translateY(-2px);
    border-color: rgba(255,255,255,.18);
    box-shadow: 0 22px 55px rgba(0,0,0,.42);
  }
}

/* Trust strip */
.co2-trust-strip{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}
.co2-trust-strip a{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  text-decoration:none;
  font-weight:800;
}

/* Mini links grid */
.co2-mini-links{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:12px;
}
@media (max-width: 900px){
  .co2-mini-links{ grid-template-columns: 1fr; }
}

/* ===========================================================
   SVG icon styling (used in tiles + trust strip)
   =========================================================== */
.co2-ico{
  width:18px;
  height:18px;
  flex:0 0 18px;
  opacity:.95;
  color: currentColor;
}
.co2-ico.lg{
  width:20px;
  height:20px;
  flex-basis:20px;
}
/* ===========================================================
   CO2 Claim / Update Form
   =========================================================== */

.co2-claim-card{
  max-width: 760px;
  margin: 0 auto;
}
.co2-claim-title{
  margin: 0;
}
.co2-claim-lede{
  margin-top: 6px;
}

/* Form layout */
.co2-form{
  margin-top: 14px;
}
.co2-form label{
  display:block;
  font-size: 13px;
  font-weight: 800;
  color: var(--muted);
  margin: 0 0 6px;
}

/* Use hl.css inputs, just spacing helpers */
.co2-row2{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 12px;
}
@media (min-width: 720px){
  .co2-row2{ grid-template-columns: 1fr 1fr; }
}

.co2-block{
  margin-top: 12px;
}

.co2-checklist{
  display:grid;
  gap: 8px;
  margin-top: 6px;
  font-size: 14px;
  color: var(--ink);
}
.co2-checklist label{
  display:flex;
  align-items:center;
  gap: 10px;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}
.co2-checklist input[type="checkbox"]{
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.co2-form-actions{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  align-items:center;
  margin-top: 16px;
}

.co2-inline-note{
  margin-top: 10px;
  line-height: 1.45;
  color: var(--muted);
}

/* Messages */
.co2-msg{
  border-radius: 14px;
  padding: 12px 12px;
  font-size: 14px;
  line-height: 1.45;
  margin-top: 12px;
  display:none;
  border: 1px solid transparent;
}
.co2-msg.success{
  background: rgba(81,207,102,.10);
  border-color: rgba(81,207,102,.25);
  color: #7ef49a;
}
.co2-msg.error{
  background: rgba(255,107,107,.10);
  border-color: rgba(255,107,107,.25);
  color: #ff9a9a;
}

.co2-inline-link{
  color: var(--accent);
  font-weight: 900;
  text-decoration: none;
}

/* Honeypot */
.co2-hp{
  position:absolute;
  left:-9999px;
  width:1px;
  height:1px;
  overflow:hidden;
}
.co2-help{
  margin-top: 8px;
  opacity: .9;
}
/* ===========================================================
   CO2 Homepage helpers (removes inline styles)
   =========================================================== */

.co2-hero-actions{ margin-top: 12px; }

/* Searchbar small lede line */
.co2-search-lede{
  margin-bottom: 10px;
  opacity: .92;
}

/* Make labels block + spacing (no inline styles) */
.co2-searchbar label{
  display:block;
  margin: 0 0 6px;
}

/* Make inputs/selects fill column */
.co2-searchbar .hl-input,
.co2-searchbar .hl-select{
  width: 100%;
}

/* Search button nowrap */
.co2-search-btn{
  white-space: nowrap;
}

/* Search tip */
.co2-search-tip{
  margin-top: 10px;
  opacity: .85;
}

/* Trust strip spacing */
.co2-trust-wrap{ margin-top: 14px; }

/* Premium trust pills */
.co2-trust-strip a{
  position:relative;
  border-color: rgba(255,255,255,.12);
  background:
    radial-gradient(900px 200px at 15% 0%, rgba(120,255,220,.12), rgba(0,0,0,0) 55%),
    rgba(255,255,255,.03);
  box-shadow: 0 12px 28px rgba(0,0,0,.22);
}

@media (hover:hover){
  .co2-trust-strip a{
    transition: transform .15s ease, border-color .15s ease, background .15s ease, box-shadow .15s ease;
  }
  .co2-trust-strip a:hover{
    transform: translateY(-1px);
    border-color: rgba(255,255,255,.20);
    background:
      radial-gradient(900px 200px at 15% 0%, rgba(120,255,220,.18), rgba(0,0,0,0) 58%),
      rgba(255,255,255,.045);
    box-shadow: 0 18px 40px rgba(0,0,0,.34);
  }
}

/* Icon bubble (subtle, not childish) */
.co2-pill-ico{
  width: 26px;
  height: 26px;
  border-radius: 10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
}

/* “Most-used pages” note + actions spacing */
.co2-note-top{ margin-top: 14px; }
.co2-note-actions{ margin-top: 10px; }

/* Supplier CTA paragraph spacing */
.co2-supplier-lede{ margin: 0 0 12px 0; }

/* ===========================================================
   CO2 Claim page textarea sizing fix
   =========================================================== */

/* Only on the claim page, make the textarea actually usable */
body.co2-claim .hl-textarea,
body.co2-claim textarea.hl-textarea{
  min-height: 160px;     /* bigger box */
  height: auto;          /* don't force tiny */
  resize: vertical;      /* allow expanding if they want */
  line-height: 1.45;
}
/* ===========================================================
   CO2 MAP PAGE (no inline styles)
   =========================================================== */

/* Only clamp overflow on the map page (prevents horizontal jiggle) */
body.co2-map,
body.co2-map html{
  overflow-x: hidden;
}


.co2-map .co2-map-controls{
  margin:12px 0 14px;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid var(--line);
  background:linear-gradient(135deg,rgba(10,18,28,.90),rgba(11,16,24,.90));
  display:flex;
  flex-wrap:wrap;
  gap:10px 16px;
  align-items:flex-end;
}

.co2-map .co2-map-controls-group{
  display:flex;
  flex-direction:column;
  gap:6px;
  font-size:13px;
  color:var(--muted);
  min-width: 190px;
}

.co2-map .co2-map-toggle-row{
  display:flex;
  flex-wrap:wrap;
  gap:8px 14px;
  font-size:13px;
  color:var(--muted);
}
.co2-map .co2-map-toggle-row label{
  display:inline-flex;
  align-items:center;
  gap:6px;
  cursor:pointer;
  user-select:none;
}
.co2-map .co2-map-toggle-row input[type="checkbox"]{
  width:14px;
  height:14px;
  accent-color:var(--accent);
}

.co2-map .co2-map-select{
  -webkit-appearance:none;
  appearance:none;
  background:#0e131b !important;
  color:var(--ink) !important;
  border:1px solid var(--line) !important;
  border-radius:8px;
  padding:10px 12px;
  font-size:14px;
  min-width:180px;
}
.co2-map .co2-map-select:focus{
  outline:none;
  border-color:var(--accent) !important;
  box-shadow:0 0 0 3px var(--accentGlow);
}

.co2-map .co2-map-reset{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:10px;
}
@media (max-width: 780px){
  .co2-map .co2-map-reset{ margin-left:0; width:100%; justify-content:flex-start; }
  .co2-map .co2-map-controls-group{ min-width:auto; }
}

.co2-map .co2-map-layout{
  display:flex;
  gap:12px;
  margin:8px 0 18px;
  align-items:stretch;
}
@media (max-width: 950px){
  .co2-map .co2-map-layout{ flex-direction:column; }
}

.co2-map .co2-map-panel{
  flex:1 1 62%;
  border-radius:14px;
  border:1px solid var(--line);
  overflow:hidden;
  background:#05070b;
  min-height: 62vh;
}
.co2-map #co2-map{
  width:100%;
  height:100%;
  min-height: 62vh;
}
@media (max-width: 950px){
  .co2-map .co2-map-panel{ min-height: 52vh; }
  .co2-map #co2-map{ min-height: 52vh; }
}

.co2-map .co2-map-sidebar{
  flex:1 1 38%;
  border-radius:14px;
  border:1px solid var(--line);
  background:#0e131b;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  max-height: 62vh;
}
@media (max-width: 950px){
  .co2-map .co2-map-sidebar{ max-height: 44vh; }
}

.co2-map .co2-map-sidebar-head{
  padding:10px 12px;
  border-bottom:1px solid var(--line);
  font-size:13px;
  color:var(--muted);
  display:flex;
  justify-content:space-between;
  gap:8px;
  align-items:center;
}

.co2-map .co2-map-sidebar-list{
  flex:1 1 auto;
  overflow-y:auto;
  padding:10px 10px 12px;
}

.co2-map .co2-map-card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:12px;
  padding:10px 10px;
  margin-bottom:10px;
  cursor:pointer;
  transition:border .12s ease, background .12s ease, transform .12s ease, box-shadow .12s ease;
}
.co2-map .co2-map-card:hover{
  border-color:var(--accent);
  background:#121d2b;
  transform:translateY(-1px);
  box-shadow:0 8px 22px rgba(0,0,0,.45);
}
.co2-map .co2-map-card h3{ margin:0 0 3px; font-size:14px; color:var(--ink); }
.co2-map .co2-map-card .hl-small{ margin:0 0 4px; font-size:12px; color:var(--muted); }

.co2-map .co2-tag-row{ display:flex; flex-wrap:wrap; gap:6px; margin-top:6px; }
.co2-map .co2-tag{
  font-size:11px;
  border:1px solid var(--line);
  padding:2px 8px;
  border-radius:999px;
  color:var(--muted);
  white-space:nowrap;
  background:#0b111a;
}

.co2-map .co2-map-empty{ padding:12px; font-size:13px; color:var(--muted); }

/* Leaflet background */
.co2-map .leaflet-container{ background:#05070b; color:var(--ink); }

/* ===========================================================
   CO2 HUB PAGES (states + cities)
   =========================================================== */

.co2-hub-card{
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.03);
  padding:14px;
}

.co2-hub-controls{
  display:grid;
  grid-template-columns: 1.6fr 1fr auto;
  gap:10px;
  align-items:end;
  margin-top:12px;
}
@media (max-width: 900px){
  .co2-hub-controls{ grid-template-columns: 1fr; }
}

.co2-hub-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap:10px;
  margin-top:12px;
}
@media (max-width: 1000px){
  .co2-hub-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px){
  .co2-hub-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.co2-chip{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(10,14,24,.55);
  text-decoration:none;
  color:var(--ink);
  font-weight:800;
}
.co2-chip:hover{
  border-color: var(--accent);
  box-shadow:0 10px 24px rgba(0,0,0,.35);
  transform: translateY(-1px);
}
.co2-chip small{
  font-weight:800;
  color:var(--muted);
}

.co2-hub-note{
  margin-top:12px;
  color:var(--muted);
  font-size:13px;
  line-height:1.45;
}
/* ==========================
   CO2 Icons + Trust Pills
   ========================== */

.co2-ico{
  width:18px;
  height:18px;
  display:inline-block;
  vertical-align:-.18em;
  color: rgba(220,235,255,.92);
}

.co2-pill-ico{
  width:28px;
  height:28px;
  border-radius:10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
}

.co2-trust-strip{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  margin-top:14px;
}

.co2-trust-strip a{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  text-decoration:none;
  font-weight:900;
  letter-spacing:.2px;
  color: var(--ink);
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
}

.co2-trust-strip a:hover{
  transform: translateY(-1px);
  border-color: rgba(106,209,255,.35);
  background: rgba(106,209,255,.08);
}

/* Tile title alignment with icons */
.co2-tile-title{
  display:flex;
  align-items:center;
  gap:10px;
}
/* Footer polish (CO2) */
.co2-footer{ margin-top: 26px; }
.co2-footer .site-footer-nav{ margin-top: 10px; }
.co2-footer .site-footer-nav a{ white-space: nowrap; }

/* =========================
   Use-case pages (Aquarium, etc.)
   ========================= */

.co2-usecase .co2-uc-hero{
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  padding: 34px 22px;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
  background:
    linear-gradient(180deg, rgba(7,10,18,.62), rgba(7,10,18,.84)),
    var(--co2-hero-bg, radial-gradient(900px 420px at 12% 8%, rgba(67,240,198,.12), transparent 60%)) center/cover no-repeat;
}

.co2-usecase .co2-uc-hero .hl-head h1{ margin-top:0; }
.co2-usecase .co2-uc-hero .hl-head p{ max-width: 70ch; }

.co2-uc-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top: 12px;
}

.co2-uc-quicknav{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top: 14px;
}

.co2-uc-quicknav a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  text-decoration:none;
  font-weight:800;
  color: var(--ink);
}

.co2-uc-quicknav a:hover{
  border-color: rgba(106,209,255,.28);
  background: rgba(106,209,255,.08);
}

.co2-figure{
  margin: 12px 0 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
}

.co2-figure img{
  display:block;
  width:100%;
  height:auto;
}

.co2-figure figcaption{
  padding: 10px 12px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}

.co2-kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
}

/* Simple accordions */
.co2-faq details{
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  background: rgba(255,255,255,.02);
  padding: 10px 12px;
  margin: 10px 0;
}

.co2-faq summary{
  cursor:pointer;
  font-weight: 900;
  color: var(--ink);
}

.co2-faq summary::-webkit-details-marker{ display:none; }
.co2-faq details[open]{ border-color: rgba(106,209,255,.22); background: rgba(106,209,255,.06); }

.co2-faq p{ margin: 8px 0 0; color: var(--muted); }

/* ===========================================================
   Aquarium FOREGROUND bubbles (very visible, screensaver vibe)
   Scope: .co2-aquarium only
   =========================================================== */

.co2-aquarium{
  position: relative;
  overflow: hidden;
}

/* Foreground bubble field */
.co2-aquarium::before{
  content:"";
  position: absolute;            /* stays consistent while scrolling */
  inset: -20vh -10vw;
  pointer-events:none;
  z-index: 999;               /* on top of everything */
  opacity: .85;

  /* big/medium/small bubbles with bright edges */
  background:
    radial-gradient(circle at 20% 120%, rgba(255,255,255,.70) 0 2px, rgba(255,255,255,.18) 6px, transparent 12px),
    radial-gradient(circle at 60% 140%, rgba(120,255,240,.60) 0 2px, rgba(120,255,240,.16) 7px, transparent 14px),
    radial-gradient(circle at 85% 160%, rgba(190,110,255,.55) 0 2px, rgba(190,110,255,.14) 6px, transparent 12px),
    radial-gradient(circle at 35% 130%, rgba(255,255,255,.55) 0 1px, rgba(255,255,255,.14) 4px, transparent 9px),

    radial-gradient(circle at 10% 150%, rgba(106,209,255,.55) 0 2px, rgba(106,209,255,.14) 6px, transparent 13px),
    radial-gradient(circle at 45% 170%, rgba(67,240,198,.55) 0 2px, rgba(67,240,198,.14) 6px, transparent 13px),
    radial-gradient(circle at 75% 155%, rgba(255,255,255,.50) 0 1px, rgba(255,255,255,.12) 4px, transparent 9px);

  background-repeat: repeat;

  /* smaller sizes = more bubbles */
  background-size:
    220px 220px,
    260px 260px,
    240px 240px,
    180px 180px,
    210px 210px,
    230px 230px,
    160px 160px;

  background-position: 0 120%, 0 140%, 0 160%, 0 130%, 0 150%, 0 170%, 0 155%;

  mix-blend-mode: screen;
  filter: blur(.15px);
  animation: co2AquaBubblesFloat 18s linear infinite;
}

/* Extra micro-bubbles shimmer */
.co2-aquarium::after{
  content:"";
  position: fixed;
  inset: -20vh -10vw;
  pointer-events:none;
  z-index: 1000;
  opacity: .45;

  background:
    radial-gradient(circle, rgba(255,255,255,.45) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(120,255,240,.35) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(190,110,255,.30) 0 1px, transparent 2px);

  background-size: 120px 120px, 140px 140px, 110px 110px;
  background-repeat: repeat;
  background-position: 0 120%, 0 140%, 0 130%;

  mix-blend-mode: screen;
  filter: blur(.2px);
  animation: co2AquaBubblesFloat 10s linear infinite;
}

/* Slow rise + drift */
@keyframes co2AquaBubblesFloat{
  0%{
    transform: translate3d(0, 22vh, 0);
    background-position: 0 120%, 0 140%, 0 160%, 0 130%, 0 150%, 0 170%, 0 155%;
  }
  50%{
    transform: translate3d(2.5vw, 0, 0);
  }
  100%{
    transform: translate3d(-2.5vw, -26vh, 0);
    background-position: 0 -50%, 0 -70%, 0 -90%, 0 -60%, 0 -80%, 0 -100%, 0 -85%;
  }
}

@media (prefers-reduced-motion: reduce){
  .co2-aquarium::before,
  .co2-aquarium::after{
    animation:none;
    transform:none;
  }
}
/* =========================
   CO2 Use Case Pages (Gold Standard Skeleton)
   ========================= */

.co2-hero-kicker{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:900;
  letter-spacing:.2px;
  color:var(--muted);
  margin: 0 0 8px;
}

.co2-hero-kicker .co2-ico{
  width:18px;
  height:18px;
  opacity:.95;
}



.co2-jumplinks{
  margin-top:14px;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.co2-jumplinks a{
  display:inline-flex;
  align-items:center;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  text-decoration:none;
  font-weight:800;
  color:var(--ink);
}

.co2-jumplinks a:hover{
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accentGlow);
}

.co2-two-col{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}

@media (max-width: 950px){
  .co2-two-col{ grid-template-columns: 1fr; }
}

.co2-gear-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:12px;
}

@media (max-width: 950px){
  .co2-gear-grid{ grid-template-columns: 1fr; }
}

.co2-h3{
  margin:0 0 8px 0;
  font-size: 16px;
  font-weight: 900;
}

.co2-steps{
  margin:0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.co2-bullets{
  margin:0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.co2-muted{
  color: var(--muted);
}

.co2-note{
  margin-top:12px;
}

.co2-faq{
  display:grid;
  gap:10px;
}

.co2-faq details > summary{
  cursor:pointer;
  font-weight:900;
  list-style:none;
}

.co2-faq details > summary::-webkit-details-marker{
  display:none;
}

.co2-faq-body{
  margin-top:10px;
  color: var(--muted);
  line-height: 1.7;
}

.co2-cta-card{
  border-color: rgba(255,255,255,.12);
}

.co2-cta-title{
  margin:0 0 8px 0;
}

/* Jump-link chips (internal section nav) */
.co2-jumplinks{
  margin-top:14px;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.co2-jumplinks a{
  appearance:none;
  -webkit-appearance:none;
  display:inline-flex;
  align-items:center;
  gap:8px;

  padding:7px 10px;
  border-radius:999px;

  font-size:12px;
  font-weight:900;
  letter-spacing:.2px;

  color:var(--ink) !important;
  text-decoration:none !important;

  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(8px);

  transition: transform .12s ease, border-color .12s ease, background .12s ease, box-shadow .12s ease;
}

.co2-jumplinks a:hover{
  transform: translateY(-1px);
  border-color: var(--accent);
  background: rgba(255,255,255,.06);
  box-shadow: 0 0 0 3px var(--accentGlow);
}

.co2-jumplinks a:active{
  transform: translateY(0px);
}

.co2-jumplinks a:focus-visible{
  outline:none;
  box-shadow: 0 0 0 3px var(--accentGlow);
}

/* Optional: make the current section chip look "selected" if you ever add JS later */
.co2-jumplinks a.is-active{
  border-color: var(--accent);
  background: rgba(106,209,255,.10);
}

.co2-faq{
  border:1px solid rgba(255,255,255,.10);
  border-radius:14px;
  background: rgba(255,255,255,.03);
  padding:10px 12px;
  margin:0 0 10px;
}
.co2-faq summary{
  cursor:pointer;
  user-select:none;
}
.co2-faq p{ margin:10px 0 0; }

/* Soda hero image */
.co2-hero-soda{
  --co2-hero-img: url('/assets/co2/img/use-cases/soda-hero.png');
}

/* If soda is too bright, darken JUST that hero */
.co2-hero-photo.co2-hero-soda{
  background:
    linear-gradient(180deg, rgba(7,10,18,.82), rgba(7,10,18,.92)),
    var(--co2-hero-img) center/cover no-repeat;
}

/* =========================================================
   CO2 Locator — GLOBAL BASE + UPGRADES (clean, non-duplicated)
   - Normal hero images sitewide (no aurora tint)
   - Sitewide h2 underline glow
   - Sitewide collapsible FAQ (wrapper system: .hl-faq details)
   - Laser page keeps its special beam/scan only
   ========================================================= */


/* ============================
   0) Normal Sitewide Hero Base
   Uses: .co2-hero-photo + --co2-hero-img
   Example per page:
     .co2-hero-welding{ --co2-hero-img:url('/assets/co2/img/use-cases/welding-hero.png'); }
   ============================ */

.co2-hero-photo{
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(7,10,18,.68), rgba(7,10,18,.82)),
    var(--co2-hero-img, none) center/cover no-repeat;
}


/* ============================
   1) Sitewide Section Header Glow Underline
   ============================ */

.hl-section > h2{
  position: relative;
}

.hl-section > h2::after{
  content:"";
  display:block;
  height:2px;
  width:min(420px, 68%);
  margin-top:10px;
  border-radius:999px;
  background: linear-gradient(90deg,
    rgba(120,255,240,.00),
    rgba(120,255,240,.20),
    rgba(190,110,255,.22),
    rgba(255,120,205,.12),
    rgba(120,255,240,.00)
  );
  opacity:.75;
}


/* ============================
   2) Accent underline for section intros / callouts
   (this was your “biggest upgrade” so it stays)
   ============================ */

.co2-underline,
.hl-section > p.hl-small:first-of-type{
  position: relative;
  padding-bottom: 10px;
}

.co2-underline::after,
.hl-section > p.hl-small:first-of-type::after{
  content:"";
  display:block;
  height:2px;
  width:min(520px, 92%);
  margin-top:10px;
  border-radius:999px;
  background: linear-gradient(90deg,
    var(--accent),
    rgba(255,255,255,0.0)
  );
  opacity:.85;
}


/* ============================
   3) FAQ (collapsible) — wrapper system
   Markup:
     <div class="hl-faq">
       <details><summary>Q</summary><p class="hl-small">A</p></details>
     </div>
   ============================ */

.hl-faq{
  margin-top: 12px;
}

.hl-faq details{
  border:1px solid rgba(255,255,255,.10);   /* slightly “glowy” sitewide */
  background: rgba(14,19,27,.72);
  border-radius: 14px;
  padding: 10px 12px;
  margin: 10px 0;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.hl-faq details[open]{
  border-color: rgba(190,110,255,.18);
  box-shadow: 0 10px 26px rgba(0,0,0,.35), 0 0 0 3px rgba(190,110,255,.06);
}

.hl-faq summary{
  cursor:pointer;
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  font-weight: 750;
  color: var(--ink);
}

.hl-faq summary::-webkit-details-marker{ display:none; }

.hl-faq summary::after{
  content:"+";
  font-weight:900;
  opacity:.85;
  border:1px solid rgba(255,255,255,.12);
  width:26px;
  height:26px;
  border-radius: 999px;
  display:grid;
  place-items:center;
  background: rgba(11,17,26,.72);
}

.hl-faq details[open] summary::after{
  content:"–";
}

.hl-faq summary:hover{
  text-shadow:
    0 0 10px rgba(190,110,255,.16),
    0 0 14px rgba(120,255,240,.10);
}

.hl-faq .hl-small{
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
}


/* =========================================================
   CO2 LASERS (mild laser vibe) — ONLY on laser page
   Scope: add .co2-lasers-page to <body> (or wrapper)
   Keeps: beam/scan + extra neon touches
   ========================================================= */

.co2-lasers-page{
  --laser-glow: rgba(190,110,255,.30);
  --laser-glow-2: rgba(120,255,240,.22);
}

/* Hero: subtle scan + angled glow */
.co2-lasers-page .co2-hero-photo{
  position: relative;
  overflow: hidden;
}

.co2-lasers-page .co2-hero-photo::before{
  content:"";
  position:absolute; inset:0;
  pointer-events:none;
  background:
    radial-gradient(900px 420px at 75% 18%, var(--laser-glow-2), transparent 62%),
    radial-gradient(760px 380px at 18% 28%, var(--laser-glow), transparent 60%),
    repeating-linear-gradient(
      to bottom,
      rgba(255,255,255,.03) 0px,
      rgba(255,255,255,.03) 1px,
      transparent 3px,
      transparent 7px
    );
  mix-blend-mode: screen;
  opacity: .55;
}

/* Moving beam */
.co2-lasers-page .co2-hero-photo::after{
  content:"";
  position:absolute;
  top:-30%; left:-60%;
  width:120%; height:120%;
  pointer-events:none;
  background: linear-gradient(
    115deg,
    transparent 42%,
    rgba(190,110,255,.12) 49%,
    rgba(255,120,205,.10) 52%,
    transparent 60%
  );
  filter: blur(0.5px);
  opacity: .75;
  transform: rotate(2deg);
  animation: laserSweep 8s ease-in-out infinite;
}

@keyframes laserSweep{
  0%   { transform: translateX(-10%) rotate(2deg); opacity:.25; }
  45%  { opacity:.75; }
  100% { transform: translateX(55%) rotate(2deg); opacity:.20; }
}

@media (prefers-reduced-motion: reduce){
  .co2-lasers-page .co2-hero-photo::after{ animation: none; }
}

/* Laser page extras you liked */
.co2-lasers-page .co2-dot{
  box-shadow:
    0 0 0 1px rgba(255,255,255,.10),
    0 0 16px rgba(120,255,240,.35),
    0 0 28px rgba(190,110,255,.25);
}

.co2-lasers-page .co2-jumplinks a{
  border: 1px solid rgba(120,255,240,.18);
  background: linear-gradient(180deg, rgba(10,14,22,.55), rgba(10,14,22,.30));
  box-shadow:
    0 0 0 1px rgba(255,255,255,.05) inset,
    0 10px 28px rgba(0,0,0,.25);
}

.co2-lasers-page .co2-jumplinks a:hover{
  border-color: rgba(190,110,255,.28);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.06) inset,
    0 0 0 3px rgba(120,255,240,.06),
    0 16px 36px rgba(0,0,0,.30);
  transform: translateY(-1px);
}

.co2-lasers-page .hl-card:hover{
  box-shadow:
    0 0 0 1px rgba(120,255,240,.10) inset,
    0 0 0 1px rgba(190,110,255,.08),
    0 18px 48px rgba(0,0,0,.35);
}

/* Laser page: optionally punch up table header a bit */
.co2-lasers-page .hl-table thead th{
  background: linear-gradient(180deg, rgba(12,18,30,.85), rgba(12,18,30,.55));
  border-bottom: 1px solid rgba(120,255,240,.14);
}

/* Laser page: FAQ gets extra glow, using WRAPPER system */
.co2-lasers-page .hl-faq details{
  border-color: rgba(120,255,240,.14);
  background: rgba(10,14,22,.38);
}

.co2-lasers-page .hl-faq details[open]{
  border-color: rgba(190,110,255,.18);
  box-shadow: 0 10px 26px rgba(0,0,0,.35), 0 0 0 3px rgba(120,255,240,.05);
}

.co2-lasers-page .hl-faq summary:hover{
  color: rgba(255,255,255,.96);
  text-shadow:
    0 0 10px rgba(120,255,240,.18),
    0 0 14px rgba(190,110,255,.12);
}

/* States hub hero image hook */
.co2-hero-states{
  background:
    linear-gradient(180deg, rgba(7,10,18,.68), rgba(7,10,18,.84)),
    url('/assets/co2/img/states/states-hub-hero.png') center/cover no-repeat;
}

.co2-state-tile{
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
}
.co2-state-tile:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.16);
  background: rgba(10,14,22,.35);
}
.co2-state-grid{
  align-items: stretch;
}



/* ===========================
   STATE HERO (shared)
   Use per-page CSS variable:
   style="--co2-hero-img: url('/assets/co2/img/states/tn.png')"
   =========================== */

.co2-state-page .co2-hero-state{
  /* fallback if a page forgets to set the variable */
  --co2-hero-img: url('/assets/co2/img/states/_default.png');

  background:
    linear-gradient(180deg, rgba(7,10,18,.66), rgba(7,10,18,.86)),
    var(--co2-hero-img) center/cover no-repeat;
}

/* optional: if you want state pages to feel consistent */
.co2-state-page .co2-chip-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.co2-state-page .co2-chip{
  padding-left:12px;
  padding-right:12px;
}

/* Listing card image strip and pills */
.co2-card-media{
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 10px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
}

.co2-card-media img{
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.02);
  opacity: .95;
}

.co2-pill-row{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.co2-pill{
  display:inline-flex;
  align-items:center;
  padding:4px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  font-size:12px;
  line-height:1;
  letter-spacing:.02em;
  white-space:nowrap;
  user-select:none;
}
.co2-pill--meta{
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  opacity: .95;
}

/* ===========================================================
   HEADER + FOOTER (shared partials) — CLEAN + STABLE
   =========================================================== */

/* Sticky header */
.co2-site-header{
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(10,14,22,.70);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.10);
}

/* subtle aurora line under header */
.co2-site-header::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:-1px;
  height:2px;
  background: linear-gradient(90deg,
    rgba(67,240,198,0),
    rgba(67,240,198,.45),
    rgba(106,209,255,.45),
    rgba(190,110,255,.35),
    rgba(67,240,198,0)
  );
  opacity:.65;
  pointer-events:none;
}

.co2-site-header .hl-shell{
  position: relative;
  padding: 10px var(--hl-pad);
}
@media (min-width:1024px){
  .co2-site-header .hl-shell{
    padding-left: var(--hl-pad-lg);
    padding-right: var(--hl-pad-lg);
  }
}

/* Row layout */
.co2-header-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}

/* Brand */
.hl-logo.co2-mark{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  min-width:0;
}

/* Logo badge */
.co2-logo-img{
  width:84px;
  height:84px;
  display:block;
  border-radius:14px;

  /* Fill the badge */
  object-fit: cover;
  object-position: center;

  /* Kill weird img inline spacing + keep it centered */
  background: transparent;
  padding:0;
  margin:0;

  box-shadow:
    0 0 0 1px rgba(255,255,255,.14),
    0 12px 40px rgba(0,0,0,.45),
    0 0 34px rgba(67,240,198,.10),
    0 0 34px rgba(106,209,255,.12);
}

/* Brand text */
.co2-logo-text{
  display:flex;
  flex-direction:column;
  line-height:1.05;
  font-weight:900;
  letter-spacing:.2px;
  font-size:18px;
  color: rgba(255,255,255,.96);
  white-space:nowrap;
}

.co2-logo-sub{
  font-weight:700;
  font-size:12px;
  letter-spacing:.15px;
  opacity:.72;
  margin-top:4px;
  white-space:nowrap;
}

/* Nav */
.co2-nav{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
}

/* clean text-link nav */
.co2-nav a{
  text-decoration:none;
  font-weight:800;
  font-size:14px;
  color: rgba(255,255,255,.90);
  padding:8px 8px;
  border-radius:12px;
  border:none;
  background:transparent;
  opacity:.88;
}

.co2-nav a:hover{
  opacity:1;
  background: rgba(10,16,24,.25);
  box-shadow: 0 0 0 1px rgba(106,209,255,.10), 0 0 18px rgba(67,240,198,.08);
}

/* CTA (Map button) */
.co2-nav-cta{
  white-space:nowrap;
  margin-left:12px;
  box-shadow: 0 0 0 1px rgba(106,209,255,.14), 0 0 28px rgba(106,209,255,.10);
}

/* =========================
   Mobile reflow (properly closed, no duplicates)
   ========================= */
@media (max-width: 860px){
  .co2-header-row{
    flex-wrap:wrap;
    align-items:flex-start;
    gap:10px 12px;
  }

  .co2-logo-img{
    width:72px;
    height:72px;
    border-radius:14px;
  }

  .co2-logo-text{
    font-size:20px;
    white-space:normal;
  }

  .co2-logo-sub{
    display:none;
  }

  /* keep CTA on top row, right aligned */
  .co2-nav-cta{
    margin-left:auto;
    order:2;
  }

  /* nav becomes its own row */
  .co2-nav{
    width:100%;
    order:3;
    margin-top:6px;
    gap:8px;
  }

  .co2-nav a{
    padding:10px 10px;
    font-size:14px;
  }
}

/* ===========================================================
   FOOTER
   =========================================================== */
.co2-footer{
  border-top: 1px solid rgba(255,255,255,.10);
  background: rgba(10,14,22,.55);
  backdrop-filter: blur(8px);
}

.co2-footer .hl-shell{
  padding: 18px var(--hl-pad);
  display:flex;
  flex-wrap:wrap;
  gap: 10px 18px;
  justify-content:space-between;
  align-items:center;
}

@media (min-width:1024px){
  .co2-footer .hl-shell{
    padding-left: var(--hl-pad-lg);
    padding-right: var(--hl-pad-lg);
  }
}
@media (max-width: 860px){
  .co2-footer .hl-shell{
    align-items:flex-start;
  }
}

.site-footer-nav{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  opacity:.92;
}

.site-footer-nav a{
  text-decoration:none;
  font-weight:700;
}

.site-footer-nav span{
  opacity:.35;
}

/* ===========================================================
   Small global fixes
   =========================================================== */

/* Reduce the initial top gap under the sticky header */
body.co2-page #content > .hl-fullbleed > .hl-shell{
  padding-top: 10px;
}

/* Make the in-hero brand badge look like a deliberate chip, not random text */
.co2-mark.hl-chip-link{
  position: relative;
  top: 0;
  left: 0;
  padding: 6px 12px;
  font-weight: 900;
  letter-spacing: .2px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(8px);
}

/* Hide WP skip link on CO2 pages */
body.co2-page .skip-link,
body.co2-page a.skip-link{
  display:none !important;
}
.co2-hero-tools{
  background:
    linear-gradient(180deg, rgba(7,10,18,.70), rgba(7,10,18,.86)),
    url('/assets/co2/img/tools-hero.png') center/cover no-repeat;
}

/* underline junk */

a.hl-chip-link,
a.hl-chip-link:visited{
  text-decoration: none !important;
}
a.hl-chip-link:hover,
a.hl-chip-link:focus{
  text-decoration: none !important;
}

/* glow junk for chhips */

a.hl-chip-link{
  box-shadow:
    0 0 0 1px rgba(120,255,240,.10),
    0 0 14px rgba(190,110,255,.10),
    0 10px 26px rgba(0,0,0,.22);
}

a.hl-chip-link:hover{
  box-shadow:
    0 0 0 1px rgba(120,255,240,.18),
    0 0 22px rgba(190,110,255,.14),
    0 0 16px rgba(120,255,240,.10),
    0 14px 34px rgba(0,0,0,.28);
}

/*wp page hero images */

.co2-hero-101{
  background:
    linear-gradient(180deg, rgba(7,10,18,.68), rgba(7,10,18,.86)),
    url('/assets/co2/img/co2-101-hero.png') center/cover no-repeat;
}

.co2-hero-start{
  background:
    linear-gradient(180deg, rgba(7,10,18,.68), rgba(7,10,18,.86)),
    url('/assets/co2/img/start-hero.png') center/cover no-repeat;
}

.co2-hero-call{
  background:
    linear-gradient(180deg, rgba(7,10,18,.68), rgba(7,10,18,.86)),
    url('/assets/co2/img/call-hero.png') center/cover no-repeat;
}

.co2-hero-refill-exchange{
  background:
    linear-gradient(180deg, rgba(7,10,18,.68), rgba(7,10,18,.86)),
    url('/assets/co2/img/refill-exchange-hero.png') center/cover no-repeat;
}
.co2-hero-safety{
  background:
    linear-gradient(180deg, rgba(7,10,18,.68), rgba(7,10,18,.86)),
    url('/assets/co2/img/safety-hero.png') center/cover no-repeat;
}


.co2-hero-tank-sizes{
  background:
    linear-gradient(180deg, rgba(7,10,18,.72), rgba(7,10,18,.88)),
    url('/assets/co2/img/tank-sizes-hero.png') center/cover no-repeat;
}

.co2-guide-tank-sizes .hl-grid.cols-4{
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 900px){
  .co2-guide-tank-sizes .hl-grid.cols-4{
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Troubleshooting hero background */
.co2-hero-troubleshooting{
  background:
    linear-gradient(180deg, rgba(7,10,18,.70), rgba(7,10,18,.88)),
    radial-gradient(900px 420px at 80% 10%, rgba(120,255,240,.14), transparent 60%),
    radial-gradient(720px 360px at 10% 0%, rgba(190,110,255,.16), transparent 60%),
    url('/assets/co2/img/troubleshooting-hero.png') center/cover no-repeat;
}

/* ===========================================================
   CO2 Directory Mobile UX Fixes
   - Adds a "Browse listings" jump button (mobile)
   - Centers directory nicely below sticky header
   - Optional "Directory Mode" scroll lock on mobile
   - Adds a simple topbar for close/link controls
   =========================================================== */

/* Tweak this number if the jump lands under your sticky header */
:root{
  --co2-sticky-header-offset: 84px;  /* try 74px, 84px, 96px */
}

/* Make the anchor jump land below your sticky header */
body.page-id-33 #co2-directory{
  scroll-margin-top: var(--co2-sticky-header-offset);
}

/* -------- Mobile jump button -------- */
body.page-id-33 .co2-dir-mode-btn{
  display:none; /* only on mobile */
  max-width:1100px;
  margin: 10px auto 8px auto;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(10,14,22,.22);
  color: rgba(255,255,255,.92);
  text-decoration: none;
  font-weight: 850;
  letter-spacing: .1px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.05);
}

/* Hover (desktop doesn't show it but harmless) */
body.page-id-33 .co2-dir-mode-btn:hover{
  background: rgba(10,14,22,.40);
  border-color: rgba(106,209,255,.18);
  box-shadow: 0 0 0 1px rgba(106,209,255,.12), 0 0 22px rgba(67,240,198,.10);
  transform: translateY(-1px);
}

/* -------- Directory wrapper / iframe baseline -------- */
body.page-id-33 .co2-app-bleed{
  position: relative;
}

body.page-id-33 .co2-app-iframe{
  display:block;
  width:100%;
  border:0;
  background:#0b0f14;
  /* iOS Safari scroll vibes */
  -webkit-overflow-scrolling: touch;
}

/* -------- Topbar (only matters on mobile / locked mode) -------- */
body.page-id-33 .co2-app-topbar{
  display:none; /* mobile only */
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding: 10px 12px;
  background: rgba(10,14,22,.78);
  border-bottom: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(10px);
}

body.page-id-33 .co2-app-topbar-left{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}

body.page-id-33 .co2-app-topbar-title{
  font-weight: 900;
  letter-spacing: .1px;
  color: rgba(255,255,255,.92);
  white-space:nowrap;
}

body.page-id-33 .co2-app-topbar-link{
  text-decoration:none;
  font-weight: 850;
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 12px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(10,14,22,.22);
  color: rgba(255,255,255,.88);
}

body.page-id-33 .co2-app-close{
  border:1px solid rgba(255,255,255,.12);
  background: rgba(10,14,22,.22);
  color: rgba(255,255,255,.90);
  border-radius: 12px;
  padding: 8px 10px;
  font-weight: 900;
  cursor:pointer;
}

/* -------- Mobile behavior: make the directory easier to “catch” -------- */
@media (max-width: 720px){

  body.page-id-33 .co2-dir-mode-btn{
    display:block;
  }

  /* Make the iframe taller and less “boxy” before lock mode triggers */
  body.page-id-33 .co2-app-iframe{
    height: 80dvh;          /* better than calc(100vh - 240px) */
    min-height: 560px;      /* prevents tiny iframe on shorter screens */
    overscroll-behavior: contain; /* reduce scroll chaining weirdness */
  }

  /* Show topbar only when locked (directory mode) */
  body.page-id-33.co2-dir-locked .co2-app-topbar{
    display:flex;
    position: sticky;
    top: 0;
    z-index: 10;
  }

  /* Directory mode: ONE scroll context */
  body.page-id-33.co2-dir-locked{
    height: 100%;
    overflow: hidden;
    touch-action: pan-y; /* let vertical panning work smoothly */
  }

  /* Make the directory fill the viewport in locked mode */
  body.page-id-33.co2-dir-locked #co2-directory{
    height: 100dvh;
  }

  body.page-id-33.co2-dir-locked .co2-app-iframe{
    height: calc(100dvh - 48px); /* subtract topbar height */
    min-height: calc(100dvh - 48px);
    border-radius: 0;
  }
}
