/*
Theme Name: Value Added Distributors
Theme URI: https://vadtek.com
Author: SCM Marketing Solutions
Author URI: https://scmmarketing.com
Description: Custom theme for Value Added Distributors, a Parker Hannifin Certified Hose Assembler. Built on the VAD family component system in the VAD green palette (#2e654a / #231f20). All content editable via Advanced Custom Fields.
Version: 2.4.3
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: Proprietary
Text Domain: vad
*/

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Neutrals */
  --ink: #231f20;
  --ink-2: #4a4a4a;
  --ink-3: #7a7a7a;
  --line: #e4e4e4;
  --line-2: #d0d0d0;
  --bg: #ffffff;
  --bg-2: #f5f6f8;
  --bg-3: #eaecf1;

  /* Brand: VAD ink (matching logo black) */
  --brand: #231f20;
  --brand-dark: #151213;
  --brand-light: #f5f7f6;
  --brand-contrast: #ffffff;

  /* VAD green (matching updated logo) */
  --accent: #2e654a;
  --accent-dark: #204936;
  --accent-soft: #e9f1ec;
  --accent-on-dark: #9ec7b0;

  /* Highlight band (soft green wash) */
  --accent-bg: #e9f1ec;
  --accent-text: #231f20;
  --accent-btn: #2e654a;

  /* Hero / banner backgrounds: deep green */
  --hero-bg-1: #163325;
  --hero-bg-2: #2e654a;
}

html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }

body {
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ===== SWITCHER (top family bar, logo version) ===== */
.switcher {
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.switcher-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 7px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.switcher-brands { display: flex; align-items: center; gap: 8px; }
.switcher-brands a {
  padding: 4px 12px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  transition: background 0.15s;
}
.switcher-brands a:hover { background: #fff; box-shadow: 0 1px 4px rgba(20,30,25,0.1); }
.switcher-brands a.active { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.switcher-brands img { height: 22px; width: auto; display: block; }
.switcher-brands .sep { color: var(--line-2); font-size: 11px; padding: 0 2px; }
.switcher-family {
  color: var(--ink-3);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-right: 20px;
  border-right: 1px solid var(--line-2);
}

/* ===== MAIN NAV ===== */
.nav {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo img { height: 64px; width: auto; display: block; }
.nav-rows {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  margin-left: auto;
}
.nav-top {
  display: flex;
  gap: 26px;
  list-style: none;
  align-items: center;
}
.nav-top a {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 0;
  transition: color 0.15s;
}
.nav-top a:hover, .nav-top a.current { color: var(--accent); }
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}
.nav-links > li { position: relative; }
.nav-links a {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a.current { color: var(--accent); }
.nav-links a.current::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--accent);
}
.nav-caret {
  width: 7px; height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  display: inline-block;
  opacity: 0.6;
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: -16px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 2px solid var(--accent);
  padding: 14px 0;
  min-width: 260px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  box-shadow: 0 12px 28px rgba(20, 32, 50, 0.08);
  z-index: 50;
  list-style: none;
}
.nav-links li:hover .dropdown,
.nav-links li:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown li { list-style: none; }
.dropdown a {
  display: block;
  padding: 10px 22px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
  border-left: 2px solid transparent;
  transition: all .15s ease;
}
.dropdown a:hover {
  color: var(--accent);
  background: var(--bg-2);
  border-left-color: var(--accent);
}
.dropdown-sub {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  font-weight: 500;
  display: block;
  margin-top: 3px;
  text-transform: none;
}

/* Mobile nav toggle */
.nav-toggle { display: none; width: 28px; height: 24px; position: relative; background: transparent; }
.nav-toggle span {
  position: absolute; left: 0; width: 100%; height: 2px;
  background: var(--brand); transition: all .25s ease;
}
.nav-toggle span:nth-child(1) { top: 2px; }
.nav-toggle span:nth-child(2) { top: 11px; }
.nav-toggle span:nth-child(3) { top: 20px; }
.nav-toggle.open span:nth-child(1) { top: 11px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 11px; transform: rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(rgba(15, 26, 20, 0.88), rgba(22, 51, 37, 0.88)), url("assets/img/hose-products.jpg") var(--hero-bg-1);
  background-position: center;
  background-size: cover;
  color: #fff;
  padding: 96px 24px 100px;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-content { max-width: 800px; }
.hero-tag {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  font-weight: 600;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-tag::before { content: ""; width: 28px; height: 2px; background: var(--accent-on-dark); }
.hero-h1 {
  font-size: clamp(38px, 4.6vw, 62px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 22px;
}
.hero-h1 .hl { color: var(--accent-on-dark); white-space: nowrap; }
.hero-sub {
  font-size: 19px;
  line-height: 1.6;
  color: rgba(255,255,255,0.88);
  max-width: 620px;
  margin-bottom: 38px;
}
.hero-note {
  font-size: 15px;
  font-style: italic;
  color: rgba(255,255,255,0.6);
  max-width: 620px;
  margin-bottom: 38px;
  padding-left: 18px;
  border-left: 2px solid rgba(255,255,255,0.2);
}
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-art {
  position: relative;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-mono {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  user-select: none;
}
.hero-mono img { max-width: 100%; height: auto; opacity: 0.1; }

.btn-primary {
  display: inline-block;
  background: #fff;
  color: var(--accent);
  padding: 14px 28px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: transform 0.1s, background 0.15s;
}
.btn-primary:hover { transform: translateY(-1px); }
.btn-outline {
  display: inline-block;
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.5);
  padding: 12.5px 28px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-solid {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 14px 28px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: background 0.15s, transform 0.1s;
}
.btn-solid:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  padding: 12.5px 28px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: all 0.15s;
}
.btn-ghost:hover { background: var(--accent); color: #fff; }

/* ===== STATS BAR ===== */
.stats { background: var(--bg-2); padding: 32px 24px; border-bottom: 1px solid var(--line); }
.stats-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stat { text-align: center; }
.stat-n {
  font-size: 40px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.stat-l {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  font-weight: 600;
}

/* ===== SECTION BASE ===== */
section { padding: 80px 24px; }
.section-inner { max-width: 1280px; margin: 0 auto; }
.section-tag {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 12px;
}
.section-h {
  font-size: clamp(30px, 3.5vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 14px;
  letter-spacing: -0.015em;
  color: var(--brand);
}
.section-sub {
  font-size: 17px;
  color: var(--ink-2);
  max-width: 680px;
  margin-bottom: 48px;
  line-height: 1.6;
}
.section-cta { margin-top: 40px; }

/* ===== PRODUCT / SERVICE CARDS ===== */
.pgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.pgrid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.pgrid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.pcard {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 36px 32px;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
  display: block;
}
.pcard:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(46, 101, 74, 0.12);
}
.pcard-num {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  font-weight: 600;
  margin-bottom: 18px;
}
.pcard-t {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
  color: var(--brand);
}
.pcard-tag {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  font-weight: 600;
  margin-bottom: 18px;
}
.pcard-d { font-size: 15px; color: var(--ink-2); line-height: 1.6; margin-bottom: 22px; }
.pcard-link {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.pcard-link::after { content: "\2192"; transition: transform .15s ease; }
.pcard:hover .pcard-link::after { transform: translateX(4px); }

/* ===== VALUES / SERVICES GRID (checkmarks) ===== */
.why { background: var(--accent-dark); }
.why .section-tag { color: var(--accent-on-dark); }
.why .section-h { color: #fff; }
.why .section-sub { color: rgba(255,255,255,0.82); }
.why .wcard-t { color: #fff; }
.why .wcard-t::before { background: var(--accent-on-dark); }
.why .wcard-d { color: rgba(255,255,255,0.75); }
.why .btn-solid { background: #fff; color: var(--accent); }
.why .btn-solid:hover { background: var(--accent-soft); }
.why .btn-ghost { border-color: rgba(255,255,255,0.55); color: #fff; }
.why .btn-ghost:hover { background: #fff; color: var(--accent); border-color: #fff; }
.why .loc-division { color: rgba(255,255,255,0.75); border-bottom-color: rgba(255,255,255,0.25); }
.wgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 40px; }
.wcard-t {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--brand);
}
.wcard-t::before {
  content: "";
  width: 24px;
  height: 24px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-flex;
  flex-shrink: 0;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/16px no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/16px no-repeat;
}
.wcard-d { font-size: 15px; color: var(--ink-2); line-height: 1.6; padding-left: 36px; }

/* ===== MARKET SECTOR CARDS ===== */
.mgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mcard {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px 24px;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.mcard:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(46,101,74,.12);
}
.mcard-ico {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.mcard-t { font-size: 16px; font-weight: 700; color: var(--brand); margin-bottom: 6px; letter-spacing: -0.01em; }
.mcard-d { font-size: 13.5px; color: var(--ink-2); line-height: 1.55; }

/* ===== DIVISION LOGO GRID (hover reveal) ===== */
.cgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 4px;
  overflow: hidden;
}
.ccard {
  position: relative;
  background: #fff;
  aspect-ratio: 16 / 10;
  display: block;
  overflow: hidden;
  color: inherit;
}
.ccard-logo {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 32px;
  transition: opacity .28s ease;
}
.ccard-logo-fallback {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  color: var(--brand);
  letter-spacing: -0.01em;
  text-align: center;
}
.ccard-overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-bg-1);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 30px;
  opacity: 0;
  transition: opacity .28s ease;
}
.ccard:hover .ccard-overlay { opacity: 1; }
.ccard:hover .ccard-logo { opacity: 0; }
.ccard-name { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 4px; color: #fff; }
.ccard-tag {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-on-dark);
  font-weight: 700;
  margin-bottom: 14px;
}
.ccard-desc { font-size: 14.5px; line-height: 1.55; color: rgba(255,255,255,0.82); margin-bottom: 18px; }
.ccard-link {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--accent-on-dark);
}
.ccard-link::after { content: "\2192"; transition: transform .15s ease; }
.ccard:hover .ccard-link::after { transform: translateX(4px); }

/* ===== NEWS / GROWTH CARDS ===== */
.ngrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ncard {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px 30px;
  border-top: 3px solid var(--accent);
}
.ncard-tag {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 14px;
}
.ncard-t { font-size: 19px; font-weight: 700; color: var(--brand); margin-bottom: 10px; letter-spacing: -0.01em; line-height: 1.25; }
.ncard-d { font-size: 14.5px; color: var(--ink-2); line-height: 1.6; }

/* ===== FEATURE BAND ===== */
.feature-band { background: var(--accent-bg); }
.feature-band.dark { background: var(--hero-bg-1); }
.feature { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.feature-tag {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 10px;
}
.feature-h {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  color: var(--accent-text);
}
.feature-d { font-size: 16px; color: var(--ink-2); line-height: 1.6; max-width: 640px; }
.feature-band.dark .feature-tag { color: var(--accent-on-dark); }
.feature-band.dark .feature-h { color: #fff; }
.feature-band.dark .feature-d { color: rgba(255,255,255,0.8); }
.feature-band.dark .btn-solid { background: #fff; color: var(--accent); }
.feature-band.dark .btn-solid:hover { background: var(--accent-soft); }


/* ===== BLOCK EXTRAS (VAD Section blocks) ===== */
.split-rev > div:first-child { order: 2; }
.split-rev > .collage, .split-rev > .split-photo { order: 1; }
.split-photo { display: flex; align-items: center; justify-content: center; }
.split-photo img { width: auto; max-width: 100%; max-height: 340px; height: auto; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 10px; }
/* Trim tall intro sections: when the split sits on a white background
   (CPT intro sections), tighten the vertical padding so a short text
   column is not surrounded by empty space. */
section:not(.why):not(.feature-band):has(> .section-inner > .split) { padding-top: 48px; padding-bottom: 48px; }
.split-body p { margin-bottom: 14px; }
.split-body p:last-child { margin-bottom: 0; }
.split-body img { border-radius: 6px; margin: 10px 0; }
.why .split-body { color: rgba(255,255,255,0.82); }
.vgal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.vgal.cols-2 { grid-template-columns: repeat(2, 1fr); }
.vgal.cols-4 { grid-template-columns: repeat(4, 1fr); }
.vgal-item { margin: 0; overflow: hidden; border-radius: 8px; aspect-ratio: 4 / 3; }
.vgal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.vgal-item:hover img { transform: scale(1.04); }
.pcard-body-stack { flex-direction: column; align-items: flex-start; gap: 8px; }
.pcard-desc { font-size: 14px; color: var(--ink-2); line-height: 1.55; margin: 0; }
.pcard-btn { margin-top: 6px; }
@media (max-width: 760px) {
  .vgal, .vgal.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .split-rev > div:first-child { order: 0; }
  .split-rev > .collage, .split-rev > .split-photo { order: 0; }
}

/* ===== PAGE BANNER (light-to-dark green gradient; optional image via Customizer) ===== */
.banner {
  background: linear-gradient(140deg, var(--hero-bg-2) 0%, #234f3a 45%, var(--hero-bg-1) 100%);
  background-position: center;
  background-size: cover;
  color: #fff;
  padding: 70px 24px 80px;
  position: relative;
  overflow: hidden;
}
.banner-inner { max-width: 1280px; margin: 0 auto; position: relative; z-index: 2; }
.banner-tag {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  font-weight: 700;
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.banner-tag::before { content: ""; width: 28px; height: 2px; background: var(--accent-on-dark); }
.banner h1 {
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
  max-width: 800px;
  margin-bottom: 18px;
}
.banner-sub { font-size: 18px; line-height: 1.55; max-width: 660px; color: rgba(255,255,255,0.85); }
.banner-mono { display: none; }

/* ===== MISSION + VISION CARDS ===== */
.mv-block { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mv-card {
  padding: 40px 36px;
  border-radius: 8px;
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.mv-card.dark { background: var(--accent); border-color: var(--accent); color: #fff; }
.mv-card-tag {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 18px;
}
.mv-card.dark .mv-card-tag { color: rgba(255,255,255,0.75); }
.mv-card h2 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 18px;
  color: var(--brand);
}
.mv-card.dark h2 { color: #fff; }
.mv-card p { font-size: 15.5px; line-height: 1.65; color: var(--ink-2); }
.mv-card p + p { margin-top: 12px; }
.mv-card.dark p { color: rgba(255,255,255,0.85); }

/* ===== CONTACT ===== */
.contact-solo { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; }
.contact-details { display: grid; gap: 0; }
.contact-info h2 {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: var(--brand);
  margin-bottom: 18px;
}
.contact-info p { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); margin-bottom: 30px; }
.contact-detail { margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.contact-detail:last-child { border-bottom: none; }
.contact-detail-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 600;
  margin-bottom: 8px;
}
.contact-detail-value { font-size: 16px; color: var(--brand); font-weight: 600; }
.contact-detail-value a { border-bottom: 1px solid var(--accent); padding-bottom: 1px; }



/* ===== LOCATIONS ===== */
.loc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
/* Interactive US locations map */
.vadmap {
  position: relative;
  background: #fff;
  border-radius: 12px;
  padding: 10px 10px 2px;
  margin: 0;
  border: 1px solid var(--line);
}
.vadmap-svg { display: block; width: 100%; height: auto; }
.vadmap-state { fill: #e9ece9; stroke: #fff; stroke-width: 0.7; }
.vadmap-state.is-active { fill: #b5cdbf; }
.vadmap-pin { cursor: pointer; outline: none; }
.vadmap-ring { fill: #fff; opacity: 0.92; }
.vadmap-dot { fill: var(--accent); transition: fill 0.15s, r 0.15s; }
.vadmap-pin:hover .vadmap-dot,
.vadmap-pin:focus .vadmap-dot,
.vadmap-pin.is-open .vadmap-dot { fill: var(--accent-dark); r: 5.6; }
.vadmap-pin.is-coming .vadmap-dot { fill: #fff; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 3 2.2; }
.vadmap-hint {
  font-size: 12.5px;
  color: var(--ink-3);
  text-align: center;
  padding-top: 14px;
}
.vadmap-pop {
  position: absolute;
  width: 258px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: 10px;
  padding: 16px 18px 15px;
  box-shadow: 0 14px 36px rgba(15, 26, 20, 0.25);
  z-index: 6;
}
.vadmap-pop-x {
  position: absolute;
  top: 6px; right: 10px;
  font-size: 20px;
  line-height: 1;
  color: var(--ink-3);
  padding: 4px;
}
.vadmap-pop-x:hover { color: var(--ink); }
.vadmap-pop-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 4px;
  padding: 3px 8px;
  margin-bottom: 9px;
}
.vadmap-pop-city { font-size: 17px; font-weight: 700; color: var(--brand); letter-spacing: -0.01em; }
.vadmap-pop-note { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.vadmap-pop-addr { font-size: 13.5px; color: var(--ink-2); line-height: 1.5; margin-top: 8px; }
.vadmap-pop-phone { margin-top: 6px; font-size: 13.5px; }
.vadmap-pop-phone a { color: var(--accent); font-weight: 700; }
.vadmap-pop-coming { margin-top: 8px; font-size: 12px; font-weight: 700; color: var(--accent); }
.loc-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px 26px 24px;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.loc-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(46,101,74,.12);
}
.loc-state {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--brand);
  margin-bottom: 10px;
}
.loc-abbr {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  color: #fff;
  background: var(--accent);
  border-radius: 5px;
  padding: 4px 8px;
  line-height: 1;
}
.loc-cities { font-size: 14.5px; color: var(--ink-2); line-height: 1.65; }
.loc-cities a { color: var(--accent); font-weight: 600; }
.loc-cities a.loc-addr { color: var(--ink-2); font-weight: 500; border-bottom: 1px dotted var(--line-2); transition: color .15s, border-color .15s; }
.loc-cities a.loc-addr:hover { color: var(--accent); border-bottom-color: var(--accent); }
.vadmap-pop-addr a { border-bottom: 1px dotted var(--line-2); }
.vadmap-pop-addr a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.loc-coming {
  margin-top: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--accent);
}
.loc-division {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 48px 0 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.loc-division:first-of-type { margin-top: 0; }

/* ===== FOOTER ===== */
.footer {
  background: var(--brand-dark);
  color: rgba(255,255,255,0.75);
  padding: 64px 24px 32px;
  border-top: 3px solid var(--accent);
}
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand img { height: 64px; width: auto; margin-bottom: 20px; }
.footer-about { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.6); max-width: 340px; }
.footer-col h4 {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  font-weight: 700;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col li { font-size: 14px; color: rgba(255,255,255,0.7); }
.footer-col a { font-size: 14px; color: rgba(255,255,255,0.7); transition: color 0.15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}
.footer-bottom a { color: rgba(255,255,255,0.65); margin-left: 16px; }
.footer-bottom a:hover { color: #fff; }

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-art { max-width: 420px; margin: 0 auto; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .pgrid, .pgrid.cols-3, .pgrid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .cgrid { grid-template-columns: 1fr; }
  .wgrid { grid-template-columns: 1fr; gap: 24px; }
  .mgrid { grid-template-columns: repeat(2, 1fr); }
  .ngrid { grid-template-columns: 1fr; }
  .mv-block { grid-template-columns: 1fr; }
  .contact-solo { grid-template-columns: 1fr; gap: 36px; }
  .feature { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .loc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .switcher-family { display: none; }
  .switcher-brands a { padding: 4px 8px; font-size: 11px; }
  .nav-inner { padding: 14px 20px; }
  .nav-logo img { height: 44px; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 16px 20px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links > li { width: 100%; border-bottom: 1px solid var(--line); }
  .nav-links > li:last-child { border-bottom: none; }
  .nav-links a { padding: 14px 0; width: 100%; justify-content: space-between; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding: 0 0 12px 16px; min-width: 0; }
  .dropdown a { padding: 8px 0; border-left: none; }
  .nav-toggle { display: block; }
  .hero { padding: 56px 20px 64px; }
  section { padding: 56px 20px; }
  .banner { padding: 48px 20px 56px; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .pgrid, .pgrid.cols-3, .pgrid.cols-4 { grid-template-columns: 1fr; }
  .mgrid { grid-template-columns: 1fr; }
  .loc-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .mv-card { padding: 32px 24px; }
  .pcard { padding: 30px 22px; }
}

/* ============================================
   V2 COMPONENTS (green refresh)
   ============================================ */

/* ===== CHA HIGHLIGHT BAND (under hero) ===== */
.band-cha {
  background: var(--accent);
  color: #fff;
  padding: 44px 24px;
}
.band-cha-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  align-items: center;
}
.band-cha-tag {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  font-weight: 700;
  margin-bottom: 10px;
}
.band-cha-h {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 8px;
}
.band-cha-d { font-size: 15.5px; color: rgba(255,255,255,0.85); line-height: 1.6; max-width: 620px; }
.band-cha-stat { text-align: right; }
.band-cha-stat .n {
  font-size: clamp(48px, 5vw, 68px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
}
.band-cha-stat .l {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  font-weight: 700;
  margin-top: 8px;
}

/* ===== SECTION HEADING WITH LOGO ===== */
.section-head-flex {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
.section-head-logo img { height: 56px; width: auto; border-radius: 4px; }

/* ===== PHOTO PRODUCT CARDS ===== */
.pcard.photo { padding: 0; overflow: hidden; }
.pcard-photo {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
}
.pcard-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.pcard.photo:hover .pcard-photo img { transform: scale(1.04); }
.pcard-body { padding: 20px 24px 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pcard-body .pcard-t { font-size: 19px; margin-bottom: 0; }
.pcard-arrow {
  color: var(--accent);
  font-size: 18px;
  font-weight: 700;
  transition: transform .15s ease;
}
.pcard.photo:hover .pcard-arrow { transform: translateX(4px); }

/* ===== SPLIT SECTION (Wire Harness) ===== */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.split .btn-solid { margin-top: 28px; }
.collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.collage img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}
/* Three images: the first spans both rows so no cell sits empty. */
.collage img:first-child:nth-last-child(3) {
  grid-row: span 2;
  height: 100%;
  aspect-ratio: auto;
}

/* ===== NEWS & UPDATES PANELS ===== */
.news-head { max-width: 1280px; margin: 0 auto; padding: 0 24px 36px; }
.news-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.news-panel {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 8vw 56px 56px;
  color: #fff;
  position: relative;
  background-size: cover;
  background-position: center;
}
.news-panel-tag {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  font-weight: 700;
  margin-bottom: 14px;
}
.news-panel h3 {
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin-bottom: 26px;
  max-width: 480px;
}
.news-panel .btn-primary { align-self: flex-start; }
.news-section { padding: 80px 0 0; }

/* ===== TRUST BAND ===== */
.trust {
  background: linear-gradient(rgba(15, 26, 20, 0.88), rgba(22, 51, 37, 0.9)), url("assets/img/cha-barcoded.jpg") var(--hero-bg-1);
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 110px 24px;
  text-align: center;
}
.trust-tag {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-on-dark);
  font-weight: 700;
  margin-bottom: 18px;
}
.trust h2 {
  font-size: clamp(34px, 4.5vw, 54px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin-bottom: 20px;
}
.trust p {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  max-width: 640px;
  margin: 0 auto 36px;
}

/* ===== CASE STUDIES ===== */
.cs-list { display: flex; flex-direction: column; gap: 28px; }
.cs-card {
  display: grid;
  grid-template-columns: 440px 1fr;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color .15s, box-shadow .15s;
}
.cs-card:hover { border-color: var(--accent); box-shadow: 0 8px 24px rgba(46,101,74,.12); }
.cs-photo { min-height: 280px; background: var(--bg-2); position: relative; overflow: hidden; }
.cs-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cs-body { padding: 36px 40px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.cs-tag {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 10px;
}
.cs-t { font-size: 24px; font-weight: 700; color: var(--brand); letter-spacing: -0.01em; line-height: 1.2; margin-bottom: 12px; }
.cs-d { font-size: 15px; color: var(--ink-2); line-height: 1.6; margin-bottom: 22px; }

/* ===== LITERATURE LIBRARY ===== */
.lit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lit-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.lit-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(46,101,74,.12); }
.lit-type {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--accent);
  border-radius: 4px;
  padding: 4px 8px;
  margin-bottom: 16px;
}
.lit-t { font-size: 18px; font-weight: 700; color: var(--brand); line-height: 1.25; margin-bottom: 8px; letter-spacing: -0.01em; }
.lit-d { font-size: 14px; color: var(--ink-2); line-height: 1.55; margin-bottom: 18px; }
.lit-link {
  margin-top: auto;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.lit-link::after { content: " \2193"; }

/* ===== V2 RESPONSIVE ===== */
@media (max-width: 1100px) {
  .band-cha-inner { grid-template-columns: 1fr; gap: 24px; }
  .band-cha-stat { text-align: left; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .news-panels { grid-template-columns: 1fr; }
  .news-panel { padding: 48px 32px; min-height: 300px; }
  .cs-card { grid-template-columns: 1fr; }
  .cs-photo { min-height: 220px; aspect-ratio: 16/8; }
  .lit-grid { grid-template-columns: repeat(2, 1fr); }
  .section-head-flex { flex-direction: column; }
}
@media (max-width: 760px) {
  .nav-top { display: none; }
  .nav-rows { flex-direction: row; align-items: center; }
  .switcher-brands img { height: 16px; }
  .switcher-brands a { padding: 3px 7px; }
  .lit-grid { grid-template-columns: 1fr; }
  .collage { grid-template-columns: 1fr 1fr; }
  .news-panel h3 { font-size: 24px; }
  .trust { padding: 72px 20px; }
}

/* Photo-top product cards (products page) */
.pcard.photo-top { padding: 0; overflow: hidden; }
.pcard.photo-top .pcard-photo { aspect-ratio: 16 / 8; }
.pcard.photo-top .pcard-inner { padding: 28px 32px 32px; }

/* ============================================
   INDUSTRIES (ported from VAC Markets plugin)
   ============================================ */

/* ===== MARKET INTRO ===== */
.market-intro { font-size: 18px; line-height: 1.7; color: var(--ink-2); }
.market-intro p { margin-bottom: 22px; }
.market-intro p:last-child { margin-bottom: 0; }
.market-intro strong { color: var(--brand); }

/* ===== MARKET INTRO BLOCK (two-column with image) ===== */
.market-intro-block { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: stretch; }
.market-intro-block .market-intro { display: flex; flex-direction: column; justify-content: center; }
.market-intro-image { position: relative; min-height: 380px; border-radius: 8px; overflow: hidden; background: var(--bg-2); }
.market-intro-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.market-intro-image .market-card-image-placeholder { position: absolute; inset: 0; }
@media (max-width: 900px) {
	.market-intro-block { grid-template-columns: 1fr; gap: 32px; }
	.market-intro-image { min-height: 0; aspect-ratio: 4 / 3; }
}

/* ===== STANDARDS STRIP ===== */
.standards-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.standard-item { padding: 28px 26px; border-right: 1px solid var(--line); background: var(--bg); position: relative; }
.standard-item:last-child { border-right: none; }
.standard-item::before { content: ""; position: absolute; top: 0; left: 0; width: 36px; height: 3px; background: var(--accent); }
.standard-name { font-size: 16px; font-weight: 700; color: var(--brand); letter-spacing: -0.005em; margin-bottom: 6px; }
.standard-desc { font-size: 14px; color: var(--ink-2); line-height: 1.55; }
@media (max-width: 900px) {
	.standards-strip { grid-template-columns: 1fr; }
	.standard-item { border-right: none; border-bottom: 1px solid var(--line); }
	.standard-item:last-child { border-bottom: none; }
}

/* ===== MARKETS ARCHIVE GRID ===== */
.markets-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.market-card { display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s; text-decoration: none; color: inherit; }
.market-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(46, 101, 74, 0.1); }
.market-card-image { aspect-ratio: 16 / 10; background: var(--bg-2); position: relative; overflow: hidden; }
.market-card-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.market-card:hover .market-card-image img { transform: scale(1.04); }
.market-card-image-placeholder { position: absolute; inset: 0; background: linear-gradient(135deg, var(--bg-3) 0%, var(--bg-2) 100%); }
.market-card-image-placeholder::after { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 60px; height: 60px; border: 2px dashed var(--line-2); border-radius: 50%; }
.market-card-body { padding: 24px 26px 26px; flex: 1; display: flex; flex-direction: column; }
.market-card-title { font-size: 22px; font-weight: 700; color: var(--brand); letter-spacing: -0.01em; line-height: 1.2; margin-bottom: 8px; }
.market-card-tagline { font-size: 14.5px; color: var(--ink-2); line-height: 1.55; margin-bottom: 18px; flex: 1; }
.market-card-link { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand); display: inline-flex; align-items: center; gap: 8px; }
.market-card-link::after { content: "\2192"; transition: transform 0.15s ease; }
.market-card:hover .market-card-link::after { transform: translateX(4px); }
@media (max-width: 980px) { .markets-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .markets-grid { grid-template-columns: 1fr; } }

/* ============================================
   V3: nav-top dropdowns, footer companies,
   leadership grid + modal, news list
   ============================================ */

.nav-top > li { position: relative; }
.nav-top li:hover .dropdown,
.nav-top li:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-top .dropdown { left: auto; right: -16px; }

/* ===== FOOTER COMPANIES ROW ===== */
.footer-companies {
  margin-top: 40px;
  padding: 26px 0 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  gap: 34px;
  flex-wrap: wrap;
}
.footer-companies-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  font-weight: 700;
}
.footer-companies img {
  height: 26px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.7;
  transition: opacity .15s ease;
}
.footer-companies a:hover img { opacity: 1; }

/* ===== LEADERSHIP GRID ===== */
.leadership { background: var(--bg-2); }
.lgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.lcard {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  text-align: left;
  width: 100%;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
  display: flex;
  flex-direction: column;
}
.lcard:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(46, 101, 74, 0.12); }
.lcard-photo { aspect-ratio: 4/5; background: var(--bg-2); position: relative; overflow: hidden; }
.lcard-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lcard-photo-inner {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--bg-3) 0%, var(--bg-2) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 56px; font-weight: 700; color: var(--line-2); letter-spacing: -0.02em;
}
.lcard-plus {
  position: absolute; bottom: 14px; right: 14px;
  width: 36px; height: 36px;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 300; border-radius: 50%;
  transition: background .15s ease, transform .15s ease;
}
.lcard:hover .lcard-plus { background: var(--accent-dark); transform: scale(1.1); }
.lcard-body { padding: 22px 22px 26px; }
.lcard-name { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; color: var(--brand); line-height: 1.2; margin-bottom: 4px; }
.lcard-title { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }

/* Modal */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(20, 35, 27, 0.85);
  z-index: 1000;
  opacity: 0; visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
  display: flex; align-items: center; justify-content: center;
  padding: 40px 24px;
}
.modal-backdrop.open { opacity: 1; visibility: visible; }
.modal {
  background: var(--bg); border-radius: 8px;
  max-width: 880px; width: 100%; max-height: 88vh; overflow-y: auto;
  position: relative;
  display: grid; grid-template-columns: 1fr 1.4fr;
  transform: translateY(20px); transition: transform .3s ease;
}
.modal-backdrop.open .modal { transform: translateY(0); }
.modal-photo { background: var(--bg-2); position: relative; min-height: 460px; }
.modal-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.modal-photo-inner {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--bg-3) 0%, var(--bg-2) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 88px; font-weight: 700; color: var(--line-2); letter-spacing: -0.02em;
}
.modal-body { padding: 44px 40px 40px; }
.modal-tag { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; margin-bottom: 12px; }
.modal-body h2 { font-size: 30px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.1; color: var(--brand); margin-bottom: 6px; }
.modal-role { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; margin-bottom: 24px; }
.modal-bio { font-size: 15px; line-height: 1.7; color: var(--ink-2); }
.modal-bio p { margin-bottom: 14px; }
.modal-bio p:last-child { margin-bottom: 0; }
.modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px;
  background: var(--bg); color: var(--brand);
  border: 1px solid var(--line); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 300; z-index: 5;
  transition: all .15s ease;
}
.modal-close:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ===== NEWS / BLOG LIST ===== */
.post-list { display: flex; flex-direction: column; gap: 28px; }
.post-date {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 600;
  margin-bottom: 8px;
}
.post-body { font-size: 17px; line-height: 1.75; color: var(--ink-2); }
.post-body p { margin-bottom: 20px; }
.post-body h2 { font-size: 26px; font-weight: 700; color: var(--brand); letter-spacing: -0.01em; margin: 36px 0 14px; }
.post-body ul { margin: 0 0 20px 22px; }
.post-body li { margin-bottom: 8px; }

/* ===== OUR COMPANIES LOGO CARDS ===== */
.company-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.company-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 40px 34px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.company-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(46,101,74,.12); }
.company-card-logo { height: 64px; display: flex; align-items: center; margin-bottom: 24px; }
.company-card-logo img { max-height: 64px; width: auto; max-width: 240px; }
.company-card-tag {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 10px;
}
.company-card-d { font-size: 15px; color: var(--ink-2); line-height: 1.6; margin-bottom: 22px; }
.company-card .btn-ghost { margin-top: auto; }

@media (max-width: 1100px) {
  .lgrid { grid-template-columns: repeat(2, 1fr); }
  .modal { grid-template-columns: 1fr; }
  .modal-photo { min-height: 260px; }
  .company-cards { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .lgrid { grid-template-columns: 1fr; }
  .modal-body { padding: 30px 22px; }
  .footer-companies { gap: 22px; }
}

/* ============================================
   V4: sidebar layout (case studies, blog posts)
   ============================================ */
.with-sidebar {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 56px;
  align-items: start;
}
.sidebar { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 20px; }
.side-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px 24px;
}
.side-card-h {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 16px;
}
.side-list { list-style: none; display: flex; flex-direction: column; }
.side-list li { border-bottom: 1px solid var(--line); }
.side-list li:last-child { border-bottom: none; }
.side-list a { display: block; padding: 12px 0; }
.side-list a:hover .side-list-t { color: var(--accent); }
.side-list-tag {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 700;
  margin-bottom: 3px;
}
.side-list-t { font-size: 14.5px; font-weight: 600; color: var(--brand); line-height: 1.35; transition: color .15s; }
.side-cta {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.side-cta .side-card-h { color: rgba(255,255,255,0.75); }
.side-cta-t { font-size: 19px; font-weight: 700; line-height: 1.25; margin-bottom: 10px; }
.side-cta-d { font-size: 14px; color: rgba(255,255,255,0.85); line-height: 1.55; margin-bottom: 18px; }
.side-cta .btn-primary { padding: 11px 20px; font-size: 12px; }
.article-image { border-radius: 8px; overflow: hidden; margin-bottom: 32px; }
.article-image img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
@media (max-width: 1100px) {
  .with-sidebar { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}

/* ===== CORE BLOCK BRANDING (text content areas) =====
   Zero-specificity (:where) typography for free-form content. On Blocks
   Canvas pages anything inside a section component is excluded entirely,
   so section styling (including inherited colors) always wins. */
:where(.canvas-content) :where(h1):where(:not(section *):not(.band-cha *)), :where(.canvas-content) :where(h2):where(:not(section *):not(.band-cha *)), :where(.canvas-content) :where(h3):where(:not(section *):not(.band-cha *)), :where(.canvas-content) :where(h4):where(:not(section *):not(.band-cha *)), :where(.canvas-content) :where(h5):where(:not(section *):not(.band-cha *)), :where(.canvas-content) :where(h6):where(:not(section *):not(.band-cha *)),
:where(.post-body, .market-intro) :where(h1), :where(.post-body, .market-intro) :where(h2), :where(.post-body, .market-intro) :where(h3), :where(.post-body, .market-intro) :where(h4), :where(.post-body, .market-intro) :where(h5), :where(.post-body, .market-intro) :where(h6) { font-weight: 700; color: var(--brand); letter-spacing: -0.01em; line-height: 1.2; margin: 40px 0 14px; }
:where(.canvas-content) :where(h1):where(:not(section *):not(.band-cha *)),
:where(.post-body, .market-intro) :where(h1) { font-size: 38px; }
:where(.canvas-content) :where(h2):where(:not(section *):not(.band-cha *)),
:where(.post-body, .market-intro) :where(h2) { font-size: 30px; }
:where(.canvas-content) :where(h3):where(:not(section *):not(.band-cha *)),
:where(.post-body, .market-intro) :where(h3) { font-size: 23px; }
:where(.canvas-content) :where(h4):where(:not(section *):not(.band-cha *)),
:where(.post-body, .market-intro) :where(h4) { font-size: 18px; }
:where(.canvas-content) :where(h1):where(:not(section *):not(.band-cha *)):first-child, :where(.canvas-content) :where(h2):where(:not(section *):not(.band-cha *)):first-child, :where(.canvas-content) :where(h3):where(:not(section *):not(.band-cha *)):first-child,
:where(.post-body, .market-intro) :where(h1):first-child, :where(.post-body, .market-intro) :where(h2):first-child, :where(.post-body, .market-intro) :where(h3):first-child { margin-top: 0; }
:where(.canvas-content) :where(p):where(:not(section *):not(.band-cha *)),
:where(.post-body, .market-intro) :where(p) { font-size: 16.5px; line-height: 1.7; color: var(--ink-2); margin: 0 0 18px; }
:where(.canvas-content) :where(a:not([class])):where(:not(section *):not(.band-cha *)),
:where(.post-body, .market-intro) :where(a:not([class])) { color: var(--accent); font-weight: 600; border-bottom: 1px solid rgba(46,101,74,0.35); transition: border-color .15s; }
:where(.canvas-content) :where(a:not([class])):where(:not(section *):not(.band-cha *)):hover,
:where(.post-body, .market-intro) :where(a:not([class])):hover { border-bottom-color: var(--accent); }
:where(.canvas-content) :where(ul:not([class])):where(:not(section *):not(.band-cha *)), :where(.canvas-content) :where(ol:not([class])):where(:not(section *):not(.band-cha *)),
:where(.post-body, .market-intro) :where(ul:not([class])), :where(.post-body, .market-intro) :where(ol:not([class])) { margin: 0 0 20px 24px; color: var(--ink-2); font-size: 16.5px; line-height: 1.65; }
:where(.canvas-content) :where(li):where(:not(section *):not(.band-cha *)),
:where(.post-body, .market-intro) :where(li) { margin-bottom: 8px; }
:where(.canvas-content) :where(li):where(:not(section *):not(.band-cha *))::marker,
:where(.post-body, .market-intro) :where(li)::marker { color: var(--accent); font-weight: 700; }
:where(.canvas-content) :where(figcaption):where(:not(section *):not(.band-cha *)),
:where(.post-body, .market-intro) :where(figcaption) { font-size: 13px; color: var(--ink-3); text-align: center; margin-top: 10px; }
:where(.canvas-content) :where(blockquote:not([class])):where(:not(section *):not(.band-cha *)),
:where(.post-body, .market-intro) :where(blockquote:not([class])) { border-left: 3px solid var(--accent); background: var(--accent-soft); padding: 18px 26px; border-radius: 0 8px 8px 0; margin: 0 0 20px; }
:where(.canvas-content) :where(blockquote:not([class]) p):where(:not(section *):not(.band-cha *)),
:where(.post-body, .market-intro) :where(blockquote:not([class]) p) { margin-bottom: 0; color: var(--ink); }
:where(.canvas-content) :where(hr:not([class])):where(:not(section *):not(.band-cha *)),
:where(.post-body, .market-intro) :where(hr:not([class])) { border: none; height: 1px; background: var(--line); margin: 40px 0; }

/* ===== CORE BLOCK BRANDING (all block markup) ===== */
/* Columns & groups */
.wp-block-columns { gap: 36px; margin-bottom: 20px; }
.wp-block-column > :first-child { margin-top: 0; }
.wp-block-column > :last-child { margin-bottom: 0; }
.wp-block-group.has-background { padding: 40px 36px; border-radius: 10px; margin-bottom: 20px; }
.wp-block-group.has-background > :first-child { margin-top: 0; }
.wp-block-group.has-background > :last-child { margin-bottom: 0; }

/* Media */
.wp-block-image { margin: 0 0 22px; }
.wp-block-image img { border-radius: 8px; }
.wp-block-gallery { gap: 14px; margin-bottom: 22px; }
.wp-block-gallery img { border-radius: 8px; width: 100%; object-fit: cover; }
.wp-block-cover { border-radius: 10px; overflow: hidden; margin-bottom: 22px; }
.wp-block-media-text { grid-column-gap: 40px; margin-bottom: 22px; }
.wp-block-media-text .wp-block-media-text__media img { border-radius: 8px; }
.wp-block-video video, .wp-block-embed iframe { border-radius: 8px; max-width: 100%; }
.wp-block-embed { margin: 0 0 22px; }

/* Buttons */
.wp-block-buttons { gap: 12px; margin-bottom: 20px; }
.wp-block-button__link {
  background: var(--accent);
  color: #fff;
  border-radius: 4px;
  padding: 13px 28px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background .15s, transform .15s;
}
.wp-block-button__link:hover { background: var(--accent-dark); transform: translateY(-1px); color: #fff; }
.is-style-outline .wp-block-button__link, .wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
  padding: 11px 26px;
}
.is-style-outline .wp-block-button__link:hover { background: var(--accent); color: #fff; }

/* Quotes & separators */
.wp-block-quote { border-left: 3px solid var(--accent); background: var(--accent-soft); padding: 20px 28px; border-radius: 0 8px 8px 0; margin: 0 0 22px; }
.wp-block-quote p { color: var(--ink); font-size: 18px; margin-bottom: 8px; }
.wp-block-quote cite { font-size: 13px; color: var(--ink-3); font-style: normal; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; }
.wp-block-pullquote { border-top: 3px solid var(--accent); border-bottom: 3px solid var(--accent); padding: 28px 0; margin-bottom: 22px; }
.wp-block-pullquote blockquote p { font-size: 24px; font-weight: 700; color: var(--brand); letter-spacing: -0.01em; }
.wp-block-separator { border: none; height: 2px; background: var(--accent); width: 72px; margin: 44px auto; opacity: 1; }
.wp-block-separator.is-style-wide { width: 100%; height: 1px; background: var(--line); }

/* Tables */
.wp-block-table { margin: 0 0 22px; overflow-x: auto; }
.wp-block-table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.wp-block-table th { background: var(--accent-dark); color: #fff; text-align: left; padding: 12px 16px; font-weight: 700; letter-spacing: 0.03em; }
.wp-block-table td { padding: 11px 16px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.wp-block-table tr:nth-child(even) td { background: var(--bg-2); }
.wp-block-table figcaption { margin-top: 8px; }

/* Lists & details */
.wp-block-details { border: 1px solid var(--line); border-radius: 8px; padding: 16px 22px; margin-bottom: 14px; }
.wp-block-details summary { font-weight: 700; color: var(--brand); cursor: pointer; }
.wp-block-details[open] summary { margin-bottom: 10px; }

/* Files & downloads */
.wp-block-file { display: flex; align-items: center; gap: 14px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; padding: 14px 18px; margin: 0 0 20px; }
.wp-block-file > a:first-child { font-weight: 700; color: var(--brand); }
.wp-block-file > a:first-child:hover { color: var(--accent); }
.wp-block-file .wp-block-file__button { background: var(--accent); color: #fff; border-radius: 4px; padding: 9px 18px; font-size: 13px; font-weight: 700; margin-left: auto; text-decoration: none; }
.wp-block-file .wp-block-file__button:hover { background: var(--accent-dark); color: #fff; }

/* Code, preformatted & verse */
.wp-block-code, pre.wp-block-preformatted { background: var(--brand); color: #e9e7e7; border-radius: 8px; padding: 20px 24px; font-size: 14px; line-height: 1.6; overflow-x: auto; margin: 0 0 22px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.wp-block-code code { background: none; color: inherit; font-family: inherit; }
.wp-block-verse { background: var(--accent-soft); color: var(--ink); border-left: 3px solid var(--accent); border-radius: 0 8px 8px 0; padding: 20px 26px; font-family: inherit; font-style: italic; margin: 0 0 22px; }

/* Audio */
.wp-block-audio { margin: 0 0 22px; }
.wp-block-audio audio { width: 100%; }

/* Social icons */
.wp-block-social-links { gap: 10px; margin: 0 0 20px; }
.wp-block-social-links .wp-social-link { background: var(--accent) !important; color: #fff !important; border-radius: 50%; transition: background .15s, transform .15s; }
.wp-block-social-links .wp-social-link:hover { background: var(--accent-dark) !important; transform: translateY(-2px); }

/* Widget lists: latest posts, categories, archives, RSS, comments */
.wp-block-latest-posts, .wp-block-categories, .wp-block-archives, .wp-block-rss, .wp-block-latest-comments { list-style: none; padding: 0; margin: 0 0 22px; }
.wp-block-latest-posts > li, .wp-block-categories li, .wp-block-archives li, .wp-block-rss > li, .wp-block-latest-comments > li { padding: 12px 0; border-bottom: 1px solid var(--line); margin: 0; }
.wp-block-latest-posts > li > a, .wp-block-rss .wp-block-rss__item-title a { font-weight: 700; color: var(--brand); font-size: 17px; border: none; }
.wp-block-latest-posts > li > a:hover, .wp-block-rss .wp-block-rss__item-title a:hover { color: var(--accent); }
.wp-block-latest-posts__post-date, .wp-block-rss__item-publish-date { display: block; font-size: 12.5px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 4px; }
.wp-block-latest-posts__post-excerpt, .wp-block-rss__item-excerpt { font-size: 14.5px; color: var(--ink-2); line-height: 1.6; margin: 8px 0 0; }
.wp-block-latest-posts__featured-image { margin-bottom: 12px; }
.wp-block-latest-posts__featured-image img { border-radius: 8px; width: 100%; }
.wp-block-latest-posts.is-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.wp-block-latest-posts.is-grid > li { border: 1px solid var(--line); border-radius: 8px; padding: 24px 22px; transition: border-color .15s, transform .15s; }
.wp-block-latest-posts.is-grid > li:hover { border-color: var(--accent); transform: translateY(-2px); }
.wp-block-categories a, .wp-block-archives a { color: var(--ink-2); font-weight: 600; }
.wp-block-categories a:hover, .wp-block-archives a:hover { color: var(--accent); }

/* Search */
.wp-block-search { margin: 0 0 22px; }
.wp-block-search__label { font-weight: 700; color: var(--brand); margin-bottom: 8px; display: block; }
.wp-block-search__input { border: 1.5px solid var(--line-2); border-radius: 4px; padding: 11px 14px; font-family: inherit; font-size: 15px; color: var(--ink); }
.wp-block-search__input:focus { outline: none; border-color: var(--accent); }
.wp-block-search__button { background: var(--accent); color: #fff; border: none; border-radius: 4px; padding: 11px 20px; font-size: 14px; font-weight: 700; cursor: pointer; font-family: inherit; transition: background .15s; }
.wp-block-search__button:hover { background: var(--accent-dark); }
.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper { border: 1.5px solid var(--line-2); border-radius: 4px; }

@media (max-width: 900px) {
  .wp-block-latest-posts.is-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .wp-block-latest-posts.is-grid { grid-template-columns: 1fr; }
}

/* Brand color classes (editor palette) */
.has-vad-green-color { color: var(--accent) !important; }
.has-vad-green-background-color { background-color: var(--accent) !important; color: #fff; }
.has-vad-dark-green-color { color: var(--accent-dark) !important; }
.has-vad-dark-green-background-color { background-color: var(--accent-dark) !important; color: #fff; }
.has-vad-deep-green-color { color: var(--hero-bg-1) !important; }
.has-vad-deep-green-background-color { background-color: var(--hero-bg-1) !important; color: #fff; }
.has-vad-soft-green-color { color: var(--accent-soft) !important; }
.has-vad-soft-green-background-color { background-color: var(--accent-soft) !important; }
.has-vad-ink-color { color: var(--brand) !important; }
.has-vad-ink-background-color { background-color: var(--brand) !important; color: #fff; }
.has-vad-gray-background-color { background-color: var(--bg-2) !important; }
.has-white-color { color: #fff !important; }
.has-white-background-color { background-color: #fff !important; }
.has-vad-green-background-color p, .has-vad-dark-green-background-color p, .has-vad-deep-green-background-color p, .has-vad-ink-background-color p { color: rgba(255,255,255,0.85); }
.has-vad-green-background-color h1, .has-vad-green-background-color h2, .has-vad-green-background-color h3, .has-vad-green-background-color h4,
.has-vad-dark-green-background-color h1, .has-vad-dark-green-background-color h2, .has-vad-dark-green-background-color h3, .has-vad-dark-green-background-color h4,
.has-vad-deep-green-background-color h1, .has-vad-deep-green-background-color h2, .has-vad-deep-green-background-color h3, .has-vad-deep-green-background-color h4,
.has-vad-ink-background-color h1, .has-vad-ink-background-color h2, .has-vad-ink-background-color h3, .has-vad-ink-background-color h4 { color: #fff; }

/* Blocks Canvas layout: core blocks constrained to the content column,
   VAD Section blocks and alignfull run full width. */
.canvas-content > * { max-width: 1280px; margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }
.canvas-content > :not(section):not(.band-cha) { margin-top: 28px; margin-bottom: 28px; }
.canvas-content > section, .canvas-content > .band-cha { max-width: none; margin-top: 0; margin-bottom: 0; }
.canvas-content > .alignfull, .canvas-content > .news-section { max-width: none; padding-left: 0; padding-right: 0; margin-top: 0; margin-bottom: 0; }
.canvas-content > h1, .canvas-content > h2, .canvas-content > h3 { margin-top: 52px; }
.canvas-content > :first-child:not(section):not(.band-cha) { margin-top: 48px; }
.canvas-content > :last-child:not(section):not(.band-cha) { margin-bottom: 64px; }

/* Editor content on the Locations page (map embeds etc.) */
.canvas-content-slim > :first-child:not(section):not(.band-cha) { margin-top: 44px; }
.canvas-content-slim > :last-child:not(section):not(.band-cha) { margin-bottom: 44px; }
.canvas-content > iframe, .canvas-content .wp-block-html iframe, .canvas-content .wp-block-embed iframe {
  display: block;
  width: 100%;
  min-height: 480px;
  border: 0;
  border-radius: 10px;
}

/* Full-width images on canvas pages: treated as photo bands, not raw dumps. */
.canvas-content > .wp-block-image.alignfull { max-width: none; padding: 0; margin-top: 0; margin-bottom: 0; }
.canvas-content > .wp-block-image.alignfull img { width: 100%; max-height: 560px; object-fit: cover; border-radius: 0; }
.canvas-content > .wp-block-image.alignfull figcaption { padding: 10px 24px 0; }
.canvas-content > .wp-block-image.alignwide img { width: 100%; max-height: 520px; object-fit: cover; }
.canvas-content > .wp-block-cover.alignfull { max-width: none; padding: 0; margin-top: 0; margin-bottom: 0; border-radius: 0; }

