/* ============================================================
   NEBA Inc. — public marketing site
   Hand-written CSS. No framework, no build step.
   ============================================================ */

:root {
  /* Brand palette matched to the original nebainc.com site:
     navy #003562, gold #FBA61A, body gray #545454, Montserrat type. */
  --navy: #003562;
  --navy-2: #0a4576;
  --navy-3: #0b5a9e;
  --blue: #0a5aa0;
  --blue-dark: #003562;
  --blue-soft: #e6eef7;
  --gold: #fba61a;
  --gold-soft: #fdf1da;
  --ink: #4a4a4a;
  --muted: #6b6b6b;
  --bg: #f5f7fa;
  --card: #ffffff;
  --line: #e2e8f0;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(0, 53, 98, 0.06), 0 8px 24px rgba(0, 53, 98, 0.08);
  --shadow-lg: 0 4px 12px rgba(0, 53, 98, 0.10), 0 20px 48px rgba(0, 53, 98, 0.14);
  --font: "Montserrat", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--blue-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  line-height: 1.26;
  letter-spacing: 0.02em;
  color: var(--navy);
  margin: 0 0 0.5em;
  font-weight: 400;
  text-transform: uppercase;
}

h1 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 300; }
h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 400; }
h3 { font-size: 1.14rem; font-weight: 600; letter-spacing: 0.03em; }

p { margin: 0 0 1em; }

.container {
  width: min(1160px, 100% - 3rem);
  margin-inline: auto;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-dark);
  margin-bottom: 0.9rem;
}

.section { padding: 4.5rem 0; }
.section.alt { background: #fff; border-block: 1px solid var(--line); }

.section-head { max-width: 720px; margin-bottom: 2.6rem; }
.section-head p { color: var(--muted); font-size: 1.06rem; }

.lead { font-size: 1.13rem; color: var(--muted); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.78rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.97rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }

.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #ffbe3f; }

.btn-ghost { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); color: #fff; }

.btn-outline { border-color: var(--line); color: var(--navy); background: #fff; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue-dark); }

/* ---------- Top bar ---------- */

.topbar { background: var(--navy); color: #dbe7f5; font-size: 0.85rem; }
.topbar-inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
}
.tb-link { color: #dbe7f5; display: inline-flex; align-items: center; gap: 0.4rem; }
.tb-link:hover { color: #fff; text-decoration: none; }
.tb-link svg { width: 15px; height: 15px; color: var(--gold); }
.tb-sep { color: rgba(255, 255, 255, 0.35); }
@media (max-width: 620px) {
  .topbar-inner { justify-content: center; flex-wrap: wrap; gap: 0.5rem; font-size: 0.8rem; }
  .tb-sep { display: none; }
}

/* ---------- Navbar ---------- */

.navbar {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.navbar-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 72px;
}

.brand { display: inline-flex; align-items: center; gap: 0.65rem; }
.brand:hover { text-decoration: none; }
.brand-logo { height: 52px; width: auto; }
.brand-logo-footer { height: 64px; }
@media (max-width: 480px) { .brand-logo { height: 42px; } }
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--navy-3), var(--blue));
  display: grid;
  place-items: center;
  color: #fff;
  flex: none;
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-text { line-height: 1.1; }
.brand-text strong {
  display: block;
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--navy);
}
.brand-text span { font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

.nav-links {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  margin: 0 0 0 auto;
  padding: 0;
}
.nav-links a {
  display: block;
  padding: 0.5rem 0.7rem;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  position: relative;
}
.nav-links a:hover { color: var(--blue); text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--navy); }
.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: -0.15rem;
  height: 3px;
  background: #1ab0c6;
  border-radius: 2px;
}

.nav-cta { flex: none; }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.5rem 0.6rem;
  cursor: pointer;
  color: var(--navy);
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 0.75rem 1.25rem 1.25rem;
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
}

/* ---------- Hero ---------- */

.hero {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(37, 99, 235, 0.35), transparent 65%),
    radial-gradient(700px 380px at -5% 110%, rgba(245, 183, 61, 0.18), transparent 60%),
    linear-gradient(150deg, var(--navy) 35%, var(--navy-2) 100%);
  color: #dce7f5;
  padding: 5.5rem 0 6rem;
  position: relative;
  overflow: hidden;
}
.hero h1 { color: #fff; max-width: 17ch; }
.hero .eyebrow { color: var(--gold); }
.hero p { max-width: 56ch; font-size: 1.13rem; color: #b9c9de; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }

.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 4rem; align-items: center; }
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; } }

.hero-panel {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 1.8rem;
  backdrop-filter: blur(6px);
}
.hero-panel h3 { color: #fff; display: flex; align-items: center; gap: 0.6rem; }
.hero-panel h3 svg { width: 20px; height: 20px; color: var(--gold); }
.hero-panel ul { margin: 0.6rem 0 0; padding: 0; list-style: none; }
.hero-panel li { padding: 0.42rem 0; display: flex; gap: 0.6rem; align-items: baseline; color: #c8d6ea; font-size: 0.97rem; }
.hero-panel li::before { content: "•"; color: var(--gold); font-weight: 800; }

/* Page hero (interior pages) */
.page-hero {
  background:
    radial-gradient(800px 360px at 90% -20%, rgba(37, 99, 235, 0.35), transparent 65%),
    linear-gradient(150deg, var(--navy) 35%, var(--navy-2) 100%);
  color: #c8d6ea;
  padding: 3.8rem 0 4.2rem;
}
.page-hero h1 { color: #fff; }
.page-hero p { max-width: 62ch; color: #b9c9de; font-size: 1.1rem; margin-bottom: 0; }
.page-hero .eyebrow { color: var(--gold); }

/* ---------- Stat strip ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}
.stat { background: #fff; padding: 1.9rem 1.5rem; text-align: center; }
.stat strong { display: block; font-size: 1.9rem; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; }
.stat span { color: var(--muted); font-size: 0.93rem; }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */

.grid { display: grid; gap: 1.4rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
a.card { color: inherit; }
a.card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card p { color: var(--muted); font-size: 0.97rem; margin-bottom: 0; }
.card .card-link { display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 1rem; font-weight: 600; color: var(--blue-dark); font-size: 0.95rem; }

.icon-chip {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--blue-dark);
  margin-bottom: 1.1rem;
}
.icon-chip svg { width: 24px; height: 24px; }
.icon-chip.gold { background: var(--gold-soft); color: #b07c14; }

/* ---------- Feature rows (alternating) ---------- */

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  padding: 3rem 0;
}
.feature-row + .feature-row { border-top: 1px solid var(--line); }
.feature-row.flip > .feature-media { order: 2; }
@media (max-width: 860px) {
  .feature-row { grid-template-columns: 1fr; gap: 1.8rem; }
  .feature-row.flip > .feature-media { order: 0; }
}
.feature-media {
  border-radius: var(--radius);
  min-height: 260px;
  background: linear-gradient(145deg, var(--blue-soft), #f0f5ff);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--navy-3);
}
.feature-media svg { width: 96px; height: 96px; opacity: 0.85; }
.feature-row p { color: var(--muted); }

.check-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.check-list li { display: flex; gap: 0.65rem; padding: 0.34rem 0; align-items: baseline; }
.check-list li::before {
  content: "✓";
  flex: none;
  font-weight: 800;
  color: var(--blue);
}

/* ---------- Service detail blocks ---------- */

.service-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.6rem;
  scroll-margin-top: 100px;
}
.service-block h3 { display: flex; align-items: center; gap: 0.8rem; font-size: 1.35rem; }
.service-block .cols { columns: 2; column-gap: 3rem; margin-top: 0.4rem; }
@media (max-width: 720px) { .service-block .cols { columns: 1; } }

/* ---------- CTA band ---------- */

.cta-band {
  background:
    radial-gradient(700px 300px at 15% 120%, rgba(245, 183, 61, 0.22), transparent 60%),
    linear-gradient(135deg, var(--navy-3), var(--navy));
  color: #dce7f5;
  border-radius: var(--radius);
  padding: 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}
.cta-band h2 { color: #fff; margin: 0 0 0.3rem; }
.cta-band p { margin: 0; color: #b9c9de; }

/* ---------- Forms ---------- */

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem;
  box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.35rem; color: var(--navy); }
.req { color: #c2410c; }

input[type="text"], input[type="email"], input[type="tel"],
input[type="number"], input[type="date"], input[type="month"], input[type="password"],
select, textarea, input[type="file"] {
  width: 100%;
  padding: 0.72rem 0.9rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 0.97rem;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.12s ease, box-shadow 0.12s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
textarea { resize: vertical; min-height: 120px; }

/* Clover hosted card fields mount into these; style the container to match
   our inputs since the card text itself renders inside the gateway iframe. */
.cc-field {
  width: 100%;
  height: 46px;
  padding: 0 0.75rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  display: flex;
  align-items: center;
  overflow: hidden;
}
/* Clover injects an <iframe> into each .cc-field — make it fill the field at a
   normal input height instead of rendering oversized. */
.cc-field iframe {
  width: 100% !important;
  height: 42px !important;
  border: 0 !important;
}
.cc-errors { color: #991b1b; font-size: 0.9rem; margin-bottom: 0.6rem; }
.cc-errors:empty { display: none; }

/* ---------- Payment page (self-pay contribution) ---------- */

.page-hero.full-intro p { max-width: none; }

/* Joint-sponsor fund logos, shown under the Payment Amount card. */
.fund-logos {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-evenly;
  align-items: center;
  gap: 1rem;
  margin-top: 1.4rem;
}
.fund-logo { height: 92px; width: auto; flex: 0 0 auto; }
@media (max-width: 560px) { .fund-logo { height: 72px; } }

.pay-cols { display: grid; grid-template-columns: 1.6fr 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 820px) { .pay-cols { grid-template-columns: 1fr; gap: 1.8rem; } }

.pay-h { font-size: 1.18rem; margin: 1.6rem 0 0.4rem; }
.pay-h:first-child { margin-top: 0; }
.pay-h.sm { font-size: 1rem; }

.radio-row {
  display: flex; align-items: center; gap: 0.65rem;
  padding: 0.6rem 0.85rem; margin-bottom: 0.5rem;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-weight: 500; cursor: pointer; transition: border-color 0.12s ease, background 0.12s ease;
}
.radio-row:hover { border-color: var(--blue); }
.radio-row input { width: auto; margin: 0; accent-color: var(--blue); }
.radio-row span { font-size: 0.97rem; }

.method-block { margin-top: 0.4rem; padding-top: 0.4rem; }

/* Card Information is revealed only after a payment method is chosen — give it
   clear separation (divider + spacing) from the calculation step above it.
   Needed because its heading is the wrapper's first child, which otherwise
   zeroes the .pay-h top margin. */
[data-card-section] {
  margin-top: 1.8rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
[data-card-section] .pay-h:first-child { margin-top: 0; }

/* Calculate-Payment options as inline, button-like cards (no visible radio). */
.method-options { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.method-options .radio-row {
  flex: 1 1 0;
  margin-bottom: 0;
  justify-content: center;
  text-align: center;
}
/* Keep the radio in the DOM (functional + focusable for required validation)
   but visually hidden — the card itself is the control. */
.method-options .radio-row input {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}
.method-options .radio-row:has(input:checked) {
  border-color: var(--blue);
  background: var(--blue-soft);
  font-weight: 700;
  color: var(--blue-dark);
}
@media (max-width: 560px) { .method-options { flex-direction: column; } }

.amount-panel {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.6rem; position: static;
}
.amount-lines { margin: 0.6rem 0 0; }
.amount-lines > div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.45rem 0; }
.amount-lines dt { color: var(--muted); margin: 0; }
.amount-lines dd { margin: 0; font-weight: 600; }
.amount-total { border-top: 1px solid var(--line); margin-top: 0.3rem; padding-top: 0.7rem !important; }
.amount-total dt { color: var(--navy); font-weight: 700; }
.amount-total dd { font-size: 1.25rem; font-weight: 800; color: var(--navy); }
.amount-desc { font-size: 0.88rem; color: var(--muted); margin: 0.5rem 0 1rem; }
.amount-desc:empty { display: none; }

.gateway-frame-wrap { width: 100%; }
#pay-frame {
  width: 100%; min-height: 720px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: #fff;
}

.checkbox-row { display: flex; gap: 0.65rem; align-items: flex-start; font-size: 0.88rem; color: var(--muted); }
.checkbox-row input { margin-top: 0.25rem; }
.checkbox-row label { font-weight: 400; color: var(--muted); margin: 0; }

.form-note { font-size: 0.86rem; color: var(--muted); }

/* Post-payment confirmation (thank-you) page */
.result-card { text-align: center; max-width: 640px; margin: 0 auto; }
.result-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 68px; height: 68px; border-radius: 50%; margin-bottom: 1.1rem;
}
.result-icon svg { width: 34px; height: 34px; }
.result-icon .ic-ok { display: none; }
[data-status="success"] .result-icon { background: #dcfce7; color: #166534; }
[data-status="success"] .result-icon .ic-ok { display: block; }
[data-status="pending"] .result-icon { background: var(--gold-soft); color: var(--muted); }
[data-status="pending"] .result-icon .ic-ok { display: block; }
.result-title { font-size: 1.6rem; margin: 0 0 0.5rem; color: var(--navy); }
.result-message { font-size: 1.02rem; color: var(--navy); margin: 0 auto 0.4rem; max-width: 32rem; }
.result-note { max-width: 32rem; margin: 0 auto; }
.result-note:empty { display: none; }
.result-actions { margin: 1.5rem 0 0.25rem; }
.result-help { margin-top: 1.25rem; }

.form-success {
  display: none;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  margin-top: 1rem;
  font-size: 0.95rem;
}

/* The upload limit: a gold notice so nobody misses the 25 MB total. */
.file-hint {
  background: var(--gold-soft);
  border: 1px solid var(--gold);
  border-left: 5px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  font-size: 0.95rem;
  color: var(--ink);
  margin-top: 0.5rem;
}
.file-hint strong { color: var(--navy); font-weight: 700; }

/* ---------- Notice / info boxes ---------- */

.notice {
  border-left: 4px solid var(--gold);
  background: var(--gold-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.1rem 1.4rem;
  font-size: 0.97rem;
}

/* ---------- Contact / locations ---------- */

.location-card h3 { display: flex; gap: 0.6rem; align-items: center; }
.location-card h3 svg { width: 19px; height: 19px; color: var(--blue); flex: none; }
.location-card address { font-style: normal; color: var(--muted); font-size: 0.97rem; }
.location-card .tel { font-weight: 700; color: var(--navy); display: inline-block; margin-top: 0.5rem; }

.holiday-list { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 3rem; }
.holiday-list li { padding: 0.45rem 0; border-bottom: 1px solid var(--line); break-inside: avoid; display: flex; justify-content: space-between; gap: 1rem; font-size: 0.96rem; }
.holiday-list li span { color: var(--muted); }
@media (max-width: 640px) { .holiday-list { columns: 1; } }

/* ---------- Quote ---------- */

.quote-card {
  background: linear-gradient(150deg, var(--navy) 35%, var(--navy-2) 100%);
  color: #dce7f5;
  border-radius: var(--radius);
  padding: 3rem;
  position: relative;
}
.quote-card blockquote { margin: 0; font-size: 1.3rem; font-weight: 600; line-height: 1.5; color: #fff; }
.quote-card figcaption { margin-top: 1.2rem; color: #b9c9de; font-size: 0.95rem; }

/* ---------- Footer ---------- */

.site-footer { background: var(--navy); color: #e4ecf5; margin-top: 4.5rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.3fr 1.1fr;
  gap: 2rem;
  padding: 3.5rem 0 2.5rem;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-links { list-style: none; margin: 1rem 0 0; padding: 0; }

.site-footer h4 { color: #fff; font-size: 1rem; font-weight: 400; text-transform: none; letter-spacing: normal; margin-bottom: 0.9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 0.45rem 0; }
.site-footer a { color: #e4ecf5; font-size: 0.94rem; }
.site-footer a:hover { color: #fff; }
.site-footer address { font-style: normal; font-size: 0.94rem; line-height: 1.95; }
.footer-brand .brand-text strong { color: #fff; }
.footer-brand .brand-text span { color: #8da4c0; }
.footer-tagline { font-size: 0.92rem; margin-top: 1rem; max-width: 34ch; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.3rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.86rem;
  color: #8da4c0;
}
.footer-bottom a { color: #8da4c0; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Utilities ---------- */

.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.text-center { text-align: center; }

::selection { background: var(--blue); color: #fff; }

/* ============================================================
   HOME — original nebainc.com look (rebuilt clean)
   Scoped so interior pages are untouched until converted.
   ============================================================ */

.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); color: #fff; }

/* ---- Hero slider (person cut-out + headline + copy, flips sides) ---- */
.home-hero {
  position: relative;
  width: 100%;
  height: clamp(420px, 48vw, 707px);
  overflow: hidden;
  background: var(--navy);
}
.hslide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease;
}
.hslide.is-active { opacity: 1; visibility: visible; }
.hslide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.hslide-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,53,98,0.15), rgba(0,53,98,0.35));
}
/* Person + copy are locked into a centered ~1200px zone (like the WP slider's
   fixed-width container), so on wide screens they stay grouped near the middle
   with even margins, instead of hugging the far edges. */
.hperson {
  position: absolute;
  bottom: 0;
  height: 100%;
  width: auto;
  z-index: 2;
  pointer-events: none;
  left: calc(50% - 700px);
}
.hcopy {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  left: calc(50% + 100px);
  right: calc(50% - 575px);
  color: #fff;
  text-align: center;
  text-shadow: 0 1px 10px rgba(0,0,0,0.35);
}
.hcopy .hhead { width: 100%; max-width: 420px; height: auto; margin: 0 auto 1.1rem; }
.hcopy p { font-size: 1rem; line-height: 1.6; margin: 0 0 1.4rem; color: #fff; }
.btn-slider {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  padding: 0.8rem 2.1rem;
  border-radius: 3px;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.btn-slider:hover { background: var(--navy-2); color: #fff; text-decoration: none; }
.hnav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0);
  border: none;
  color: #fff;
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}
.hnav:hover { opacity: 1; }
.hprev { left: 0.5rem; }
.hnext { right: 0.5rem; }
@media (max-width: 760px) {
  .home-hero { height: clamp(360px, 90vw, 460px); }
  .hperson { opacity: 0.3; height: 88%; left: 50% !important; transform: translateX(-50%); }
  .hcopy { left: 7% !important; right: 7% !important; text-align: center; }
  .hcopy .hhead { margin-left: auto; margin-right: auto; }
}

/* ---- Headline band (navy uppercase + intro + badge) ---- */
.headline-band { background: #fff; padding: 4rem 0 3.5rem; text-align: center; }
.headline-band h1 {
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--navy);
  font-size: clamp(1.3rem, 2.3vw, 1.95rem);
  line-height: 1.3;
  max-width: none;
  margin: 0 auto 1.3rem;
}
.headline-band .intro {
  max-width: 1080px;
  margin: 0 auto 2rem;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.7;
}
.headline-band .badge { max-width: 420px; margin: 0 auto 1.8rem; border-radius: 10px; }

/* ---- NEBA SERVICES (parallax photo + bordered boxes) ---- */
.svc {
  position: relative;
  padding: 4.5rem 0;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("/assets/services-bg.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  color: #fff;
}
.svc h2 {
  color: #fff;
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 1.2rem;
}
.svc .svc-intro {
  max-width: 78ch;
  margin: 0 auto 2.6rem;
  text-align: center;
  color: #e8eef5;
  line-height: 1.8;
}
.svc { overflow: hidden; }
.svc .container { position: relative; z-index: 1; }
.svc::after {
  content: "";
  position: absolute;
  right: -70px;
  top: 50%;
  transform: translateY(-50%);
  width: 580px;
  height: 580px;
  background: url("/assets/neba-mark.png") center/contain no-repeat;
  opacity: 0.3;
  z-index: 0;
  pointer-events: none;
}
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
@media (max-width: 900px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .svc-grid { grid-template-columns: 1fr; } }
.svc-box {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 140px;
  padding: 1.4rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.98rem;
  line-height: 1.5;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.svc-box .svc-label { transition: transform 0.35s ease; }
/* On hover the box fills navy and the N mark slides up from the bottom (WP). */
.svc-box::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -100px;
  transform: translateX(-50%);
  width: 78px;
  height: 78px;
  background: url("/assets/neba-mark.png") center/contain no-repeat;
  opacity: 0;
  transition: bottom 0.4s ease, opacity 0.4s ease;
  pointer-events: none;
}
.svc-box:hover { background: var(--navy); border-color: var(--navy); text-decoration: none; color: #fff; }
.svc-box:hover .svc-label { transform: translateY(-36px); }
.svc-box:hover::after { bottom: 10px; opacity: 1; }

/* ---- ONLINE MEMBER ACCESS (stacked icon rows) ---- */
.member { background: #fff; padding: 4rem 0; }
.member-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: stretch;
}
@media (max-width: 860px) { .member-grid { grid-template-columns: 1fr; gap: 2rem; } }
.member-pic { display: flex; }
.member-pic img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; display: block; }
@media (max-width: 860px) { .member-pic img { height: auto; max-height: 380px; } }
.member-list h2 {
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--navy);
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  margin-bottom: 1.6rem;
}
.onlineItem {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
}
.onlineItem:first-of-type { border-top: 0; padding-top: 0; }
.onlineItem img { width: 46px; height: auto; flex: none; margin-top: 0.1rem; }
.onlineItem h4 {
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--navy);
  font-size: 1.02rem;
  margin: 0 0 0.25rem;
}
.onlineItem p { color: var(--muted); margin: 0; font-size: 0.97rem; }
.onlineItem a { color: inherit; font-weight: inherit; }
.onlineItem a:hover { color: var(--navy); }

/* ============================================================
   INTERIOR PAGE TEMPLATE (photo banner + content) — matches WP
   ============================================================ */
.page-banner {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  /* Same as the WordPress theme's #pageBanner: photo at natural size, anchored top-center, no tint.
     All banner photos are 2560px wide, so this fills the bar on any normal screen. */
  background-repeat: no-repeat;
  background-size: auto;
  background-position: center top;
  background-color: var(--navy);
}
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 {
  color: #fff;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: clamp(2rem, 5vw, 3.75rem);
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
  margin: 0;
}
@media (max-width: 640px) { .page-banner { min-height: 200px; } }

.page-content { max-width: 1000px; }
.page-content > h2:first-child, .page-content .content-head {
  text-align: center;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--navy);
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  line-height: 1.3;
  margin: 0 auto 1.6rem;
  max-width: 24ch;
}
.page-content p { color: var(--ink); line-height: 1.85; margin: 0 0 1.1rem; }
.page-content h3 { text-transform: uppercase; font-weight: 600; color: var(--navy); letter-spacing: 0.02em; font-size: 1.15rem; margin: 2rem 0 0.6rem; }
.page-content ul.bullets { margin: 0 0 1.2rem; padding-left: 1.2rem; }
.page-content ul.bullets li { padding: 0.25rem 0; color: var(--ink); }
.page-content a { color: var(--blue); font-weight: 600; }
.page-content .lead { font-size: 1.08rem; color: var(--ink); }
/* Highlight band (e.g. "We pride ourselves on...") */
.highlight-band {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 3rem 0;
  margin: 2.5rem 0;
}
.highlight-band p { color: #fff; font-size: 1.15rem; max-width: 60ch; margin: 0 auto; line-height: 1.7; }
.highlight-band .eyebrow { color: var(--gold); display: block; margin-bottom: 0.6rem; }

/* Document-examples / routing guide table */
.doc-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.doc-table th, .doc-table td { text-align: left; padding: 0.8rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 0.95rem; }
.doc-table thead th { background: var(--navy); color: #fff; text-transform: uppercase; letter-spacing: 0.03em; font-weight: 600; font-size: 0.85rem; }
.doc-table td:first-child { font-weight: 600; color: var(--navy); white-space: nowrap; }
.doc-table tr:last-child td { border-bottom: 0; }
@media (max-width: 620px) { .doc-table td:first-child { white-space: normal; } .doc-table th, .doc-table td { padding: 0.6rem 0.7rem; } }

/* ---- Footer brand mark (gold N) + gold labels ---- */
.footer-mark { width: 165px; height: auto; margin-bottom: 1rem; }
.footer-brand .footer-mark { display: block; }
.footer-label { color: var(--gold); }
.site-footer h4 { color: var(--gold); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover, a.card:hover { transform: none; }
  .home-hero .slide { transition: none; }
}

/* Required-field asterisk on rebuilt interior forms */
.form-card .req, .page-content .req { color: #d64545; font-weight: 600; }

/* Contact-info boxes (Corporate HQ / Phone / Email / Hours) */
.contact-info { margin: 0 0 1.6rem; }
.contact-info .ci { padding: 0.5rem 0 1rem; border-bottom: 1px solid #ececec; }
.contact-info .ci h3 { margin: 0 0 0.25rem; }
.contact-info .ci p { margin: 0; color: #4a4a4a; line-height: 1.6; }

/* ---- Centered intro + "We pride ourselves on" band (About, etc.) ---- */
.narrow-copy { max-width: none; margin: 0 auto; text-align: center; }
.content-head.center { text-align: center; }
.narrow-copy p { text-align: center; line-height: 1.8; }

.pride-band { background: var(--navy); color: #fff; text-align: center; padding: 2.6rem 1rem; }
.pride-band h3 { color: var(--gold); text-transform: uppercase; letter-spacing: 0.02em; font-weight: 300; font-size: 2.05rem; margin: 0 0 0.4rem; }
.pride-band p { color: #fff; max-width: 1040px; margin: 0 auto; font-size: 1.55rem; line-height: 1.35; }

/* ---- "Need More Information?" form over a photo (About/Services/Plan Participants/Providers) ---- */
.need-info { position: relative; background-size: cover; background-position: center top; padding: 4rem 0;
  min-height: 640px; display: flex; align-items: center; }
.need-info > .container { width: min(1160px, 100% - 3rem); }
/* Same even 50% black overlay as the WordPress theme (#needMoreInfoInner) */
.need-info::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.5); }
.need-info .container { position: relative; z-index: 1; }
.need-info-inner { max-width: 560px; }
.need-info-inner h2 { color: #fff; text-transform: uppercase; margin: 0 0 0.6rem; }
.need-info-inner > p { color: #eef3f8; margin: 0 0 1.4rem; line-height: 1.6; }
.need-info-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.need-info-form .full { grid-column: 1 / -1; }
.need-info-form input, .need-info-form select, .need-info-form textarea {
  width: 100%; padding: 0.7rem 0.8rem; background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.55); border-radius: 4px; color: #fff;
  font-family: var(--font); font-size: 0.95rem;
}
.need-info-form ::placeholder { color: rgba(255,255,255,0.85); }
.need-info-form select option { color: #1a1a1a; }
.need-info-form button { background: var(--navy); color: #fff; border: 0; }

/* ---- Rebuilt WordPress default-template pages (builder v2) ---- */
.wp-section { padding: 3.2rem 0 3.6rem; }
.wp-content { color: var(--ink); line-height: 1.75; }
.wp-content > *:first-child { margin-top: 0; }
.wp-content p { margin: 0 0 1rem; }
.wp-content h2, .wp-content h3, .wp-content h4 { color: var(--navy); margin: 1.6rem 0 0.7rem; line-height: 1.35; }
/* Matches the WordPress theme: #contentWrap h2 = light, uppercase, centered */
.wp-content h2 { font-size: 2rem; font-weight: 300; text-transform: uppercase; text-align: center; letter-spacing: 0.02em; }
/* Content inside WordPress's #hcpContent wrapper is centered by default */
.wp-content.is-centered { text-align: center; }
.wp-content.is-centered ul, .wp-content.is-centered ol { display: inline-block; text-align: left; margin-left: auto; margin-right: auto; }
.wp-content .left { text-align: left; }
.wp-content.is-centered ul.left, .wp-content.is-centered ol.left { display: block; margin-left: 0; }
.wp-content .wp-form, .wp-content .wp-form * { text-align: left; }
.wp-content h3 { font-size: 1.2rem; text-transform: none; color: var(--ink); }
.wp-content h4, .wp-content h5, .wp-content h6 { font-size: 1.05rem; text-transform: none; color: var(--ink); }
/* A content <h1> on the old site kept normal case (only <h2> is uppercased by the theme) */
.wp-content h2.wp-h1 { text-transform: none; font-size: 1.9rem; font-weight: 400; }
/* WordPress block-editor size steps (has-*-font-size) */
.wp-content .fs-small { font-size: 0.85rem; }
.wp-content .fs-medium { font-size: 1.3rem; line-height: 1.45; }
.wp-content .fs-large { font-size: 1.9rem; line-height: 1.25; }
.wp-content .fs-huge { font-size: 2.4rem; line-height: 1.2; }
.wp-content ul, .wp-content ol { margin: 0 0 1rem; padding-left: 1.4rem; }
.wp-content li { margin-bottom: 0.3rem; }
.wp-content a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.wp-content a.btn-slider { text-decoration: none; display: inline-block; margin: 0.4rem 0.3rem; }
.wp-content a.btn-slider, .wp-content a.btn-slider:hover { color: #fff; }
/* a link inside text that has its own color keeps that color (old-site styled headings) */
.wp-content [style*="color"] > a, .wp-content [style*="color"] > a > strong { color: inherit; }
/* old-site "bllink" link lists: larger navy links, gold on hover */
.wp-content a.bllink { color: var(--navy); text-decoration: none; font-size: 1.25rem; }
.wp-content a.bllink:hover { color: var(--gold); }
.wp-content hr { border: 0; border-top: 1px solid var(--line); margin: 1.6rem 0; }
.wp-content img { max-width: 100%; height: auto; }
.wp-content img.center, .wp-content .center img { display: block; margin-left: auto; margin-right: auto; }
.wp-content table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.4rem; font-size: 0.95rem; }
.wp-content th, .wp-content td { border: 1px solid var(--line); padding: 0.6rem 0.8rem; text-align: left; vertical-align: top; }
.wp-content th { background: var(--blue-soft); color: var(--navy); }
/* tables inside centered (old #hcpContent) pages: compact, centered, blue header like the old site */
.wp-content.is-centered table { width: auto; max-width: 640px; margin: 1rem auto 1.4rem; font-size: 0.85rem; }
.wp-content.is-centered th { background: #1e6fd0; color: #fff; text-align: center; }
.wp-content.is-centered td { text-align: center; border-color: #9aa6b2; }
.wp-content .center, .wp-content p.center, .wp-content h2.center, .wp-content h3.center, .wp-content li.center { text-align: center; }
.wp-content .right { text-align: right; }
.video-wrap { position: relative; max-width: 860px; margin: 1.4rem auto; aspect-ratio: 16 / 9; }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.wp-form { max-width: 860px; margin: 2rem auto 0.5rem; }
.wp-content .wp-form a { text-decoration: none; }
.form-inline-note { font-size: 0.85rem; color: var(--muted); }
.noscript-note { background: #fff7e6; border-top: 1px solid #f3d9a4; color: #5b4300; padding: 0.9rem 1rem; text-align: center; font-size: 0.95rem; }
.form-inline-note.warn { color: #d42020; }   /* old site showed required-choice notes in red */
.choices { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; }
.choices .choice { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 400; }
/* "form p.form-actions" outranks ".page-content p", ".wp-content p" and ".need-info-form p", which zeroed the
   top margin and glued the button to the box above it. */
.form-actions, form p.form-actions { margin: 1.25rem 0 0.25rem; }
/* WordPress block-editor layouts: columns, button rows, media-and-text */
.wp-content .wp-cols { display: flex; flex-wrap: wrap; gap: 1.5rem 2rem; margin: 1rem 0 1.5rem; }
.wp-content .wp-col { flex: 1 1 0; min-width: 240px; }
.wp-content.is-centered .wp-col { text-align: left; }
/* theme centers every content h2, even ones marked left in the editor */
.wp-content h2.left { text-align: center; }
/* blog-archive pages (Media, News): plain left heading, like the old theme's #newsWrap */
.wp-content.is-news h2 { text-align: left; color: var(--ink); font-size: 1.6rem; }
.wp-content .wp-buttons { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0 0 1.4rem; }
.wp-content .wp-buttons .btn-slider { flex: 1 1 0; min-width: 160px; text-align: center; margin: 0; }
.wp-content .wp-media-text { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; padding: 1.2rem 0; }
.wp-content .wp-media-text.media-right .wp-mt-media { order: 2; }
.wp-content .wp-mt-media img { width: 100%; height: auto; }
.wp-content .wp-mt-content { padding: 0 1.5rem; }
@media (max-width: 760px) {
  .wp-content .wp-media-text { grid-template-columns: 1fr; }
  .wp-content .wp-media-text.media-right .wp-mt-media { order: 0; }
}
/* "Need more information" with no photo: navy fallback */
.need-info:not([style*="url('/"]) { background: #fff; }   /* no photo: overlay over white = WordPress gray */

/* Full-bleed photo sections sit flush against the footer (no white strip) */
main:has(> .need-info:last-child) + .site-footer,
main:has(> .locations-band ~ .section:last-child) + .site-footer { margin-top: 0; }

/* Feature rows: text + button left, photo right (Plan Participants) */
.feature-rows { max-width: none; }
.feature-row {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 2.2rem; align-items: start;
  padding: 2.2rem 0; border-bottom: 1px solid var(--line);
}
.feature-row:first-child { padding-top: 0.5rem; }
.feature-row:last-child { border-bottom: 0; }
.feature-text h2 { color: var(--navy-2); text-transform: uppercase; font-weight: 400; font-size: 1.3rem; letter-spacing: 0.02em; margin: 0 0 0.5rem; }
.feature-text p { margin: 0 0 0.8rem; color: var(--ink); line-height: 1.7; }
.feature-text ul { margin: 0.3rem 0 0.9rem; padding-left: 1.2rem; color: var(--ink); line-height: 1.7; }
.feature-text ul ul { margin: 0.1rem 0 0.2rem; list-style: circle; }
.feature-text ul ul ul { list-style: square; }
.feature-text .btn-slider { display: inline-block; margin-top: 0.4rem; }
.feature-img img { width: 100%; height: auto; display: block; border-radius: 2px; }
@media (max-width: 760px) {
  .feature-row { grid-template-columns: 1fr; gap: 1.2rem; }
  .feature-img { order: -1; }
}

/* Accordion drop-downs (Services / Health Care Providers) */
.accordion { max-width: none; margin: 0 auto; }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item > summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 1.55rem 2.5rem 1.55rem 0; color: var(--navy-2);
  text-transform: uppercase; font-weight: 400; font-size: 1.22rem; letter-spacing: 0.02em;
}
.acc-item > summary::-webkit-details-marker { display: none; }
.acc-item > summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px;
  border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy);
  transform: translateY(-70%) rotate(45deg); transition: transform 0.2s;
}
.acc-item[open] > summary::after { transform: translateY(-30%) rotate(-135deg); }
.acc-body { padding: 0 0 1.5rem; color: var(--ink); line-height: 1.7; }
.acc-body p { margin: 0 0 0.8rem; }
.acc-body ul { margin: 0.3rem 0 0.8rem; padding-left: 1.2rem; }
.acc-body ul ul { margin: 0.2rem 0 0.6rem; }
.acc-body > ul > li { margin-bottom: 0.3rem; }
.need-info-form p { margin: 0; }
@media (max-width: 680px) {
  .need-info-form { grid-template-columns: 1fr; }
  .need-info-inner { max-width: none; }
}

/* ---- Contact page (hand-built to match) ---- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.05fr; gap: 2.5rem; align-items: start; }
.contact-info-col .cinfo { display: flex; gap: 1rem; padding: 0 0 1.1rem; margin-bottom: 1.1rem; border-bottom: 1px solid var(--line); }
.contact-info-col .cinfo:last-child { border-bottom: 0; }
.cinfo-ic { flex: 0 0 auto; color: var(--gold); }
.cinfo-ic svg { width: 30px; height: 30px; display: block; margin-top: 0.35rem; }
/* theme: #contactLeft .contactItem h3 = 30px light uppercase */
.contact-info-col h3 { margin: 0 0 0.2rem; color: var(--navy); font-size: 1.85rem; font-weight: 300; letter-spacing: 0.01em; text-transform: uppercase; }
.contact-info-col p { margin: 0; color: var(--ink); line-height: 1.6; }
.contact-info-col a { color: var(--blue); }
.holiday-list { margin: 0.2rem 0 0; padding-left: 1.1rem; color: var(--ink); line-height: 1.7; font-size: 0.95rem; columns: 1; column-count: 1; display: block; list-style: disc; }

.contact-form-col { background: var(--navy); border-radius: var(--radius-sm); padding: 1.8rem; }
.contact-form > div { margin-bottom: 1rem; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 0.8rem 0.9rem; border: 1px solid #cdd7e3; border-radius: 6px;
  font-family: var(--font); font-size: 0.95rem; background: #fff; color: var(--ink);
}
.contact-form .checkbox-row { color: #dce6f2; font-size: 0.78rem; margin-bottom: 1rem; }
.contact-form .checkbox-row a { color: var(--gold); }
.contact-form button { background: var(--gold); color: #1a1a1a; border: 0; }

/* Full-width map */
.map-embed { line-height: 0; }
.map-embed iframe { width: 100%; height: 550px; border: 0; display: block; }

/* Other NEBA locations */
.locations-band { background: var(--navy); padding: 1.1rem 0; text-align: center; }
.locations-band h2 { margin: 0; color: var(--gold); text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; }
.locations-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem 3rem; }
.loc-card h3 { display: flex; align-items: center; gap: 0.4rem; color: var(--navy); text-transform: uppercase; margin: 0 0 0.8rem; font-size: 1.85rem; font-weight: 300; }
.loc-card .loc-pin { color: var(--gold); }
.loc-card .loc-pin svg { width: 26px; height: 26px; display: block; }
.loc-card img { width: 100%; height: auto; border-radius: 4px; display: block; margin-bottom: 0.9rem; }
.loc-card p { margin: 0 0 0.5rem; color: var(--ink); line-height: 1.6; font-size: 0.95rem; }
.loc-card .loc-map { color: var(--blue); font-size: 0.9rem; }

@media (max-width: 820px) {
  .contact-layout { grid-template-columns: 1fr; gap: 1.8rem; }
  .locations-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* Multi-file attachment rows */
.file-list .file-row { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.6rem; }
.add-file {
  margin-top: 0.6rem; background: none; border: 0; padding: 0.2rem 0;
  color: var(--blue); font: inherit; font-size: 0.9rem; font-weight: 600; cursor: pointer;
}
.add-file:hover { text-decoration: underline; }
.rm-file {
  background: none; border: 0; color: #d64545; font-size: 1.3rem; line-height: 1;
  cursor: pointer; padding: 0 0.3rem;
}

/* SMS consent checkbox row on rebuilt interior forms */
.form-card .checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #4a4a4a;
  font-weight: 400;
}
.form-card .checkbox-row input[type="checkbox"] { margin-top: 0.2rem; flex: 0 0 auto; }

/* Content image gallery on rebuilt interior pages (WordPress in-body photos) */
.page-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
  margin: 1.8rem 0;
}
.page-gallery .pg-item { margin: 0; }
.page-gallery .pg-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

/* EmployerXG training page: three steps, video beside the form */
.xg { padding-top: 3rem; }
.xg-intro { max-width: 760px; margin: 0 auto 2rem; text-align: center; }
.xg-intro h2 { margin: 0.25rem 0 0.75rem; color: var(--navy); font-size: clamp(1.45rem, 2.6vw, 2rem); line-height: 1.25; }
.xg-intro p { margin: 0; font-size: 1.05rem; }
.xg-eyebrow { color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; margin: 0; }
.xg-steps { list-style: none; margin: 0 0 2.5rem; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.xg-steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.25rem 1.1rem; box-shadow: var(--shadow); position: relative; }
.xg-steps h3 { margin: 0.65rem 0 0.25rem; color: var(--navy); font-size: 1.05rem; }
.xg-steps p { margin: 0; font-size: 0.93rem; color: var(--muted); }
.xg-step-num { display: inline-grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 700; }
.xg-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 1.75rem; align-items: start; }
.xg-left, .xg-right { display: grid; gap: 1.25rem; }
.xg-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem; box-shadow: var(--shadow); }
.xg-card h3, .xg-form h3 { margin: 0 0 0.9rem; color: var(--navy); font-size: 1.15rem; display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.xg-tag { background: var(--gold-soft); color: var(--navy); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 0.2rem 0.55rem; border-radius: 999px; }
.xg-video { margin: 0; border-radius: var(--radius-sm); overflow: hidden; }
.xg-small { font-size: 0.85rem; color: var(--muted); margin: 0.75rem 0 0; }
.xg-form .xg-small { margin: -0.4rem 0 1rem; }
.xg-need ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.5rem; }
.xg-need li { position: relative; padding-left: 1.6rem; font-size: 0.95rem; }
.xg-need li::before { content: ""; position: absolute; left: 0.2rem; top: 0.5em; width: 0.55rem; height: 0.9rem; border: solid var(--gold); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.xg-form { margin: 0; }
.xg-confirm { background: var(--blue-soft); border-radius: var(--radius-sm); padding: 0.9rem 1rem; }
.xg-confirm .checkbox-row { color: var(--navy); font-size: 0.95rem; }
.xg-legal { margin: 0.6rem 0 0; font-size: 0.78rem; line-height: 1.55; color: var(--muted); }
.xg-help { background: var(--navy); border-color: var(--navy); color: #dbe7f5; }
.xg-help h3 { color: #fff; margin-bottom: 0.35rem; }
.xg-help p { margin: 0; }
.xg-help a { color: var(--gold); font-weight: 600; }
@media (max-width: 960px) { .xg-grid { grid-template-columns: 1fr; } }
@media (max-width: 680px) { .xg-steps { grid-template-columns: 1fr; } .xg-card { padding: 1.15rem 1.1rem; } }
