/* ============================================================
   Internal Pages
   Coastal-luxury aesthetic matching the home page.
   Cormorant Garamond display + Manrope body, brand cyan, warm
   cream paper (light) / deep navy (dark), watercolor ribbon
   accents, paper grain. Single look, both themes.
   ============================================================ */

.le {
  /* ---- DARK (default) tokens ---- */
  --le-bg: var(--cb-page-bg, #02060F);
  --le-bg-soft: #050A1A;
  --le-bg-deep: #010308;
  --le-surface: rgba(8, 18, 36, 0.42);
  --le-surface-soft: rgba(8, 18, 36, 0.22);
  --le-surface-deep: rgba(6, 14, 30, 0.72);

  --le-hairline: rgba(190, 220, 250, 0.12);
  --le-hairline-mid: rgba(190, 220, 250, 0.20);
  --le-hairline-strong: rgba(190, 220, 250, 0.32);

  --le-ink: rgb(236, 246, 255);
  --le-ink-soft: rgb(216, 228, 244);
  --le-ink-mute: rgb(186, 206, 232);
  --le-ink-faint: rgb(150, 174, 210);

  --le-brand: rgb(140, 220, 255);
  --le-brand-soft: rgb(190, 230, 255);
  --le-brand-deep: rgb(60, 160, 230);
  --le-coral: rgb(255, 180, 160);
  --le-coral-deep: rgb(220, 130, 110);
  --le-gold: rgb(255, 200, 120);

  --le-grad-cyan: linear-gradient(95deg, rgb(180, 220, 255) 0%, rgb(120, 160, 230) 100%);
  --le-grad-cta: linear-gradient(110deg, rgb(120, 200, 255) 0%, rgb(80, 140, 220) 100%);
  --le-grad-warm: linear-gradient(110deg, rgb(255, 200, 175) 0%, rgb(255, 160, 130) 100%);

  --le-shadow-text: 0 2px 6px rgba(0, 8, 24, 0.85), 0 8px 36px rgba(0, 10, 30, 0.75);
  --le-shadow-soft: 0 1px 3px rgba(0, 8, 24, 0.70);

  --le-ribbon-blend: screen;
  --le-ribbon-opacity: 0.78;
  --le-grain-blend: screen;
  --le-grain-opacity: 0.07;
  --le-vignette-strength: 0.40;

  width: min(1280px, 100%);
  margin-inline: auto;
  background: var(--le-bg);
  color: var(--le-ink);
  font-family: 'Manrope', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.le[data-theme="light"] {
  /* ---- LIGHT (warm parchment) tokens ---- */
  --le-bg: var(--cb-page-bg, #F4EFE2);
  --le-bg-soft: #EBE5D2;
  --le-bg-deep: #DFD8C2;
  --le-surface: rgba(255, 252, 244, 0.65);
  --le-surface-soft: rgba(255, 252, 244, 0.42);
  --le-surface-deep: rgba(245, 240, 226, 0.85);

  --le-hairline: rgba(40, 30, 20, 0.10);
  --le-hairline-mid: rgba(40, 30, 20, 0.18);
  --le-hairline-strong: rgba(40, 30, 20, 0.28);

  --le-ink: rgb(20, 36, 60);
  --le-ink-soft: rgb(50, 64, 88);
  --le-ink-mute: rgb(82, 98, 124);
  --le-ink-faint: rgb(124, 138, 160);

  --le-brand: rgb(26, 111, 168);
  --le-brand-soft: rgb(42, 138, 200);
  --le-brand-deep: rgb(14, 78, 128);
  --le-coral: rgb(194, 104, 73);
  --le-coral-deep: rgb(160, 76, 50);
  --le-gold: rgb(184, 138, 50);

  --le-grad-cyan: linear-gradient(95deg, rgb(14, 78, 128) 0%, rgb(42, 138, 200) 100%);
  --le-grad-cta: linear-gradient(110deg, rgb(42, 138, 200) 0%, rgb(14, 78, 128) 100%);
  --le-grad-warm: linear-gradient(110deg, rgb(194, 104, 73) 0%, rgb(160, 76, 50) 100%);

  --le-shadow-text: 0 1px 2px rgba(40, 30, 20, 0.05), 0 4px 14px rgba(40, 30, 20, 0.08);
  --le-shadow-soft: 0 1px 2px rgba(40, 30, 20, 0.06);

  --le-ribbon-blend: multiply;
  --le-ribbon-opacity: 0.60;
  --le-grain-blend: multiply;
  --le-grain-opacity: 0.13;
  --le-vignette-strength: 0.0;
}

.le.le-template-category.has-coastal-page-bg,
.le.le-template-article.has-coastal-page-bg,
.le.le-shell.has-coastal-page-bg {
  background: transparent;
}

/* Interior pages that DON'T open with an editorial cover get a small top offset
   so content clears the nav. Category roots use a full-fold parallax hero; article
   pages use a compact editorial cover that starts at top:0 and clears the fixed
   nav with internal padding. */
body.cb-role-internal .site-content:not(:has(.le-cover)) {
  padding-top: clamp(10px, 2.5vh, 30px) !important;
}
body.cb-role-internal .site-content:has(.le-cover) {
  padding-top: 0 !important;
}
/* During streamed parsing the `.le-shell` arrives before its `.le-cover`;
   keep shell pages at top:0 so the later cover does not flip padding and cause CLS. */
body.cb-role-internal .site-content:has(.le-shell) {
  padding-top: 0 !important;
}
/* Article opening: cover, facts, and cross-navigation form one complete
   viewport threshold before article prose. The flexible first row lets the
   editorial cover breathe; the compact rails retain their normal flow at its
   lower edge instead of becoming unrelated post-cover fragments. */
body.cb-role-internal .le.le-template-article .le-article-abf {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto auto;
  min-height: 100vh;
  min-height: 100dvh;
}

body.cb-role-internal .le.le-template-article .le-article-abf > .le-cover {
  height: 100% !important;
  min-height: 0 !important;
  align-items: center !important;
  /* Horizontal = --le-abf-pad-x so the article foreground centers within --le-abf-max
     (1280) globally, matching the category cover + the prototype. */
  padding: calc(var(--nav-h, 104px) + 28px) var(--le-abf-pad-x) clamp(28px, 5vh, 56px) !important;
}

body.cb-role-internal .le.le-template-article .le-entry--tool .le-article-abf {
  grid-template-rows: auto auto auto auto;
  min-height: auto !important;
  height: auto !important;
}

body.cb-role-internal .le.le-template-article .le-article-abf > .le-cover.le-cover--tool,
:is(.home-page, .le-template-category, .le-template-article) .le-entry--tool .parallax-hero.le-cover {
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: auto !important;
  align-content: start !important;
  align-items: start !important;
  justify-content: stretch !important;
  gap: 0 !important;
  height: auto !important;
  min-height: auto !important;
  padding: calc(var(--nav-h, 104px) + 12px) var(--le-abf-pad-x) 24px !important;
}

.le-cover-split--tool {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 2.5vw, 2.5rem);
  width: 100%;
  max-width: 86rem;
  margin-inline: auto;
  align-items: start !important;
}

@media (min-width: 1024px) {
  .le-cover-split--tool {
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 420px);
    gap: clamp(2rem, 3.5vw, 3.5rem);
    align-items: start !important;
  }

  body.cb-role-internal .le.le-template-article .le-cover--tool .le-cover-text {
    max-width: none !important;
    margin-inline: 0 !important;
  }
}

body.cb-role-internal .le.le-template-article .le-cover--tool .le-cover-text,
.le-cover-split--tool .le-cover-text {
  width: 100%;
  max-width: 68rem;
  margin-inline: auto;
  align-self: start !important;
}

.le-cover-aside--tool {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 1023px) {
  .le-cover-aside--tool {
    justify-content: stretch;
  }
}

body.cb-role-internal .le.le-template-article .le-cover--tool .le-diagram {
  display: none !important;
}

body.cb-role-internal .le.le-template-article .le-cover--tool h1,
body.cb-role-internal .le.le-template-article .le-cover--tool .le-cover-h1--tool {
  font-family: 'Cormorant Garamond', var(--font-display-serif, serif) !important;
  font-size: clamp(34px, 4.2vw, 54px) !important;
  font-weight: 500 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.015em !important;
  text-wrap: balance !important;
  margin-bottom: 0.35em !important;
  color: var(--le-ink, #0e2038) !important;
  text-shadow: none !important;
  -webkit-text-stroke: 0 !important;
}

:root[data-theme="light"] body.cb-role-internal .le.le-template-article .le-cover--tool :is(h1, .le-cover-h1--tool) {
  color: #12283a !important;
}

body.cb-role-internal .le.le-template-article .le-cover--tool .lede,
body.cb-role-internal .le.le-template-article .le-cover--tool .lede--tool {
  font-family: var(--font-sans, "Plus Jakarta Sans", sans-serif) !important;
  font-style: normal !important;
  font-size: clamp(15.5px, 1.3vw, 17.5px) !important;
  line-height: 1.55 !important;
  font-weight: 400 !important;
  max-width: 66ch !important;
  margin-bottom: 14px !important;
  -webkit-text-stroke: 0 !important;
  paint-order: normal !important;
  color: #334e68 !important;
  text-shadow: none !important;
}

:root[data-theme="dark"] body.cb-role-internal .le.le-template-article .le-cover--tool .lede,
:root[data-theme="dark"] body.cb-role-internal .le.le-template-article .le-cover--tool .lede--tool {
  color: rgba(255, 255, 255, 0.88) !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4) !important;
}

body.cb-role-internal .le.le-template-article .le-cover--tool .le-crumbs {
  margin-bottom: 12px;
}

.le-figure-tag--tool {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 9999px;
  font-family: var(--font-sans, "Plus Jakarta Sans", sans-serif);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(8, 107, 148, 0.1);
  border: 1px solid rgba(8, 107, 148, 0.25);
  color: var(--cb-navy, #086b94);
}

:root[data-theme="dark"] .le-figure-tag--tool {
  background: rgba(225, 194, 113, 0.16);
  border-color: rgba(225, 194, 113, 0.38);
  color: var(--cb-gold, #e1c271);
}

body.cb-role-internal .le.le-template-article .le-cover--tool .le-cover-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-top: 14px;
  border-top: 1px solid rgba(8, 107, 148, 0.12);
}

:root[data-theme="dark"] body.cb-role-internal .le.le-template-article .le-cover--tool .le-cover-meta {
  border-top-color: rgba(225, 194, 113, 0.16);
}

body.cb-role-internal .le.le-template-article .le-cover--tool .le-cover-rule {
  display: none;
}

body.cb-role-internal .le.le-template-article .le-entry--tool .le-spec {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px 24px !important;
  padding: 16px 28px !important;
  margin-block: 16px 20px !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, 0.72) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(8, 107, 148, 0.14) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03), 0 1px 3px rgba(0, 0, 0, 0.02) !important;
}

:root[data-theme="dark"] body.cb-role-internal .le.le-template-article .le-entry--tool .le-spec {
  background: rgba(14, 28, 48, 0.65) !important;
  border-color: rgba(225, 194, 113, 0.22) !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35) !important;
}

@media (max-width: 640px) {
  body.cb-role-internal .le.le-template-article .le-entry--tool .le-spec {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px 16px !important;
    padding: 14px 18px !important;
  }
}

body.cb-role-internal .le.le-template-article .le-entry--tool .le-spec-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

body.cb-role-internal .le.le-template-article .le-entry--tool .le-spec-k {
  font-family: var(--font-sans, "Plus Jakarta Sans", sans-serif) !important;
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: var(--cb-gold, #a88438) !important;
}

body.cb-role-internal .le.le-template-article .le-entry--tool .le-spec-v {
  font-family: var(--font-sans, "Plus Jakarta Sans", sans-serif) !important;
  font-style: normal !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  color: var(--le-ink, #12283a) !important;
}

:root[data-theme="dark"] body.cb-role-internal .le.le-template-article .le-entry--tool .le-spec-v {
  color: #e6f0fa !important;
}

body.cb-role-internal .le.le-template-article .le-entry--tool .le-spec-sep {
  display: none !important;
}

/* Precision spec data plate jump anchor */
.cb-spec-jump-tag {
  color: var(--cb-navy, #086b94);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

:root[data-theme="dark"] .cb-spec-jump-tag {
  color: var(--cb-gold, #e1c271);
}

.cb-spec-jump-tag:hover {
  color: #0b8ec5;
}

/* Interactive Data Plate Locator Accordion / Grid (#find-unit-tag) */
.cb-tag-finder {
  margin: 2.25rem 0;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  background: var(--cb-surface-soft, rgba(8, 107, 148, 0.04));
  border: 1px solid var(--cb-card-border, rgba(8, 107, 148, 0.18));
  border-radius: 14px;
}

.cb-tag-finder__intro {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.6;
}

.cb-tag-finder__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
    align-items: start;
}

@media (min-width: 768px) {
  .cb-tag-finder__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .cb-tag-finder__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.cb-tag-card {
  background: var(--cb-card-bg, #ffffff);
  border: 1px solid var(--cb-card-border, rgba(8, 107, 148, 0.18));
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

:root[data-theme="dark"] .cb-tag-card {
  background: rgba(14, 32, 56, 0.85);
  border-color: rgba(225, 194, 113, 0.2);
}

.cb-tag-card[open] {
  border-color: var(--cb-navy, #086b94);
  box-shadow: 0 4px 14px rgba(8, 107, 148, 0.12);
}

:root[data-theme="dark"] .cb-tag-card[open] {
  border-color: var(--cb-gold, #e1c271);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.cb-tag-card__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.15rem;
  font-family: var(--font-sans, "Plus Jakarta Sans", sans-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--cb-navy, #086b94);
  cursor: pointer;
  user-select: none;
  background: rgba(8, 107, 148, 0.05);
  transition: background 0.15s ease;
}

:root[data-theme="dark"] .cb-tag-card__summary {
  color: var(--cb-gold, #e1c271);
  background: rgba(225, 194, 113, 0.08);
}

.cb-tag-card__summary:hover {
  background: rgba(8, 107, 148, 0.1);
}

:root[data-theme="dark"] .cb-tag-card__summary:hover {
  background: rgba(225, 194, 113, 0.14);
}

.cb-tag-card__summary::-webkit-details-marker {
  display: none;
}

.cb-tag-card__icon {
  font-size: 1.15rem;
  transition: transform 0.2s ease;
}

.cb-tag-card[open] .cb-tag-card__icon {
  transform: rotate(90deg);
}

.cb-tag-card__body {
  padding: 1.15rem;
  font-size: 0.92rem;
  line-height: 1.55;
  border-top: 1px solid var(--cb-card-border, rgba(8, 107, 148, 0.12));
}

.cb-tag-card__section {
  margin-bottom: 0.85rem;
}

.cb-tag-card__section:last-child {
  margin-bottom: 0;
}

.cb-tag-card__section strong {
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--cb-navy, #086b94);
  margin-bottom: 0.25rem;
}

:root[data-theme="dark"] .cb-tag-card__section strong {
  color: var(--cb-gold, #e1c271);
}

.cb-tag-card__deviant {
  background: rgba(217, 119, 6, 0.08);
  border: 1px solid rgba(217, 119, 6, 0.25);
  border-radius: 6px;
  padding: 0.65rem 0.85rem;
  margin-top: 0.75rem;
  font-size: 0.86rem;
}

.cb-tag-card__deviant strong {
  color: #b45309;
}

:root[data-theme="dark"] .cb-tag-card__deviant {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.3);
}

:root[data-theme="dark"] .cb-tag-card__deviant strong {
  color: #fbbf24;
}

/* Master VIN-style table responsive wrapper */
.cb-vin-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.75rem 0 2.25rem 0;
  border-radius: 10px;
  border: 1px solid var(--cb-card-border, rgba(8, 107, 148, 0.18));
}

.cb-vin-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  font-size: 0.92rem;
  line-height: 1.5;
  background: var(--cb-card-bg, #ffffff);
}

:root[data-theme="dark"] .cb-vin-table {
  background: rgba(14, 32, 56, 0.9);
}

.cb-vin-table th,
.cb-vin-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--cb-card-border, rgba(8, 107, 148, 0.12));
}

.cb-vin-table thead th {
  position: sticky;
  top: var(--nav-h, 104px);
  z-index: 4;
  background: #f1f7fa;
  color: var(--cb-navy, #086b94);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid rgba(8, 107, 148, 0.25);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

:root[data-theme="dark"] .cb-vin-table thead th {
  background: #112236;
  color: var(--cb-gold, #e1c271);
  border-bottom-color: rgba(225, 194, 113, 0.35);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.cb-vin-table code {
  font-family: var(--font-mono, monospace);
  font-size: 0.85rem;
  padding: 0.15rem 0.35rem;
  background: rgba(8, 107, 148, 0.08);
  border-radius: 4px;
  color: var(--cb-navy, #086b94);
}

:root[data-theme="dark"] .cb-vin-table code {
  background: rgba(225, 194, 113, 0.15);
  color: var(--cb-gold, #e1c271);
}

/* Precision Specification Data Plate (Hero Cover Right Column) */
body.cb-role-internal .le.le-template-article .le-entry--tool .le-spec--tool-hero {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  padding: 22px 24px !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 440px !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, 0.88) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(8, 107, 148, 0.22) !important;
  box-shadow: 0 10px 32px rgba(8, 107, 148, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}

:root[data-theme="dark"] body.cb-role-internal .le.le-template-article .le-entry--tool .le-spec--tool-hero {
  background: rgba(14, 30, 52, 0.82) !important;
  border-color: rgba(225, 194, 113, 0.32) !important;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.45) !important;
}

.le-spec-hero-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(8, 107, 148, 0.16);
  padding-bottom: 10px;
}

:root[data-theme="dark"] .le-spec-hero-header {
  border-bottom-color: rgba(225, 194, 113, 0.22);
}

.le-spec-hero-tag {
  font-family: var(--font-sans, "Plus Jakarta Sans", sans-serif);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cb-navy, #086b94);
}

:root[data-theme="dark"] .le-spec-hero-tag {
  color: var(--cb-gold, #e1c271);
}

.le-spec-hero-standard {
  font-family: var(--font-mono, monospace);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #64748b;
}

:root[data-theme="dark"] .le-spec-hero-standard {
  color: #94a3b8;
}

.le-spec-hero-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px 18px !important;
}

.le-spec--tool-hero .le-spec-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.le-spec--tool-hero .le-spec-k {
  font-family: var(--font-sans, "Plus Jakarta Sans", sans-serif) !important;
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: #64748b !important;
}

:root[data-theme="dark"] .le-spec--tool-hero .le-spec-k {
  color: var(--cb-gold, #e1c271) !important;
}

.le-spec--tool-hero .le-spec-v {
  font-family: var(--font-sans, "Plus Jakarta Sans", sans-serif) !important;
  font-size: 0.92rem !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  color: var(--le-ink, #12283a) !important;
}

:root[data-theme="dark"] .le-spec--tool-hero .le-spec-v {
  color: #f1f5f9 !important;
}

/* Wide-Format Reference Table Breakout (1280px Desktop ABF Width) */
@media (min-width: 1024px) {
  .cb-table-breakout {
    width: min(1280px, calc(100vw - 48px)) !important;
    max-width: 1280px !important;
    position: relative !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin-inline: 0 !important;
  }
}

@media (max-width: 1023px) {
  .cb-table-breakout {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* Brand quick jump / filter tabs */
.cb-brand-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 1.5rem;
  padding: 0;
  list-style: none;
}

.cb-brand-tab {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-sans, "Plus Jakarta Sans", sans-serif);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--cb-navy, #086b94);
  background: rgba(8, 107, 148, 0.08);
  border: 1px solid rgba(8, 107, 148, 0.2);
  border-radius: 50px;
  padding: 0.35rem 0.85rem;
  text-decoration: none;
  transition: all 0.15s ease;
}

:root[data-theme="dark"] .cb-brand-tab {
  color: var(--cb-gold, #e1c271);
  background: rgba(225, 194, 113, 0.1);
  border-color: rgba(225, 194, 113, 0.25);
}

.cb-brand-tab:hover {
  background: var(--cb-navy, #086b94);
  color: #ffffff;
  border-color: var(--cb-navy, #086b94);
}

:root[data-theme="dark"] .cb-brand-tab:hover {
  background: var(--cb-gold, #e1c271);
  color: #0d1724;
  border-color: var(--cb-gold, #e1c271);
}

/* Due Diligence Grid & Cards */
.cb-diligence-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin: 1.75rem 0 2.25rem;
}

@media (min-width: 768px) {
  .cb-diligence-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.cb-diligence-card {
  display: flex;
  flex-direction: column;
  background: var(--cb-card-bg, #ffffff);
  border: 1px solid var(--cb-card-border, rgba(8, 107, 148, 0.18));
  border-radius: 12px;
  padding: 1.35rem 1.45rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

:root[data-theme="dark"] .cb-diligence-card {
  background: rgba(14, 30, 52, 0.85);
  border-color: rgba(225, 194, 113, 0.22);
}

.cb-diligence-card:hover {
  border-color: var(--cb-navy, #086b94);
  box-shadow: 0 4px 16px rgba(8, 107, 148, 0.1);
}

:root[data-theme="dark"] .cb-diligence-card:hover {
  border-color: var(--cb-gold, #e1c271);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.cb-diligence-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(8, 107, 148, 0.12);
}

:root[data-theme="dark"] .cb-diligence-card__header {
  border-bottom-color: rgba(225, 194, 113, 0.18);
}

.cb-diligence-card__title {
  font-family: var(--font-sans, "Plus Jakarta Sans", sans-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--cb-navy, #086b94);
  margin: 0;
}

:root[data-theme="dark"] .cb-diligence-card__title {
  color: #f1f5f9;
}

.cb-diligence-card__badge {
  font-family: var(--font-sans, "Plus Jakarta Sans", sans-serif);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  background: rgba(217, 119, 6, 0.12);
  color: #b45309;
  border: 1px solid rgba(217, 119, 6, 0.3);
  white-space: nowrap;
}

:root[data-theme="dark"] .cb-diligence-card__badge {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.35);
}

.cb-diligence-card__body {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--le-ink-soft, #334155);
  margin-bottom: 0.85rem;
}

:root[data-theme="dark"] .cb-diligence-card__body {
  color: #cbd5e1;
}

.cb-diligence-card__footer {
  margin-top: auto;
  padding-top: 0.65rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--cb-navy, #086b94);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

:root[data-theme="dark"] .cb-diligence-card__footer {
  color: var(--cb-gold, #e1c271);
}

/* Format Exceptions Grid */
.cb-exceptions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
  margin: 1.75rem 0 2.25rem;
}

@media (min-width: 768px) {
  .cb-exceptions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.cb-exception-card {
  background: var(--cb-surface-soft, rgba(8, 107, 148, 0.03));
  border: 1px solid var(--cb-card-border, rgba(8, 107, 148, 0.15));
  border-radius: 10px;
  padding: 1.15rem 1.25rem;
  font-size: 0.92rem;
  line-height: 1.55;
}

:root[data-theme="dark"] .cb-exception-card {
  background: rgba(14, 28, 48, 0.6);
  border-color: rgba(225, 194, 113, 0.18);
}

.cb-exception-card__tag {
  display: inline-block;
  font-family: var(--font-sans, "Plus Jakarta Sans", sans-serif);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cb-navy, #086b94);
  margin-bottom: 0.4rem;
}

:root[data-theme="dark"] .cb-exception-card__tag {
  color: var(--cb-gold, #e1c271);
}

/* Callout Box */
.cb-callout-box {
  margin: 1.75rem 0;
  padding: 1.15rem 1.4rem;
  border-radius: 10px;
  background: rgba(8, 107, 148, 0.05);
  border-left: 4px solid var(--cb-navy, #086b94);
  font-size: 0.95rem;
  line-height: 1.6;
}

:root[data-theme="dark"] .cb-callout-box {
  background: rgba(14, 30, 52, 0.7);
  border-left-color: var(--cb-gold, #e1c271);
}

.cb-callout-box--warning {
  background: rgba(217, 119, 6, 0.08);
  border-left-color: #d97706;
}

:root[data-theme="dark"] .cb-callout-box--warning {
  background: rgba(245, 158, 11, 0.1);
  border-left-color: #f59e0b;
}

/* Clear / Reset button on tools */
.cb-tool-btn-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-sans, "Plus Jakarta Sans", sans-serif);
  font-size: 0.84rem;
  font-weight: 700;
  color: #64748b;
  background: transparent;
  border: 1px solid rgba(100, 116, 139, 0.3);
  border-radius: 6px;
  padding: 0.45rem 0.95rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.cb-tool-btn-reset:hover {
  color: #dc2626;
  border-color: #dc2626;
  background: rgba(220, 38, 38, 0.05);
}

:root[data-theme="dark"] .cb-tool-btn-reset {
  color: #94a3b8;
  border-color: rgba(148, 163, 184, 0.3);
}

:root[data-theme="dark"] .cb-tool-btn-reset:hover {
  color: #f87171;
  border-color: #f87171;
  background: rgba(248, 113, 113, 0.1);
}

/* Phone table scroll note & manual tag */
.cb-table-scroll-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  color: #64748b;
  margin: 0.5rem 0 0.75rem;
}

:root[data-theme="dark"] .cb-table-scroll-note {
  color: #94a3b8;
}

.cb-table-scroll-note .cb-scroll-icon {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cb-navy, #086b94);
}

:root[data-theme="dark"] .cb-table-scroll-note .cb-scroll-icon {
  color: var(--cb-gold, #e1c271);
}

.cb-vin-table-wrap:focus-visible {
  outline: 2px solid var(--cb-navy, #086b94);
  outline-offset: 2px;
}

:root[data-theme="dark"] .cb-vin-table-wrap:focus-visible {
  outline-color: var(--cb-gold, #e1c271);
}

.cb-pill-manual {
  display: inline-block;
  font-family: var(--font-sans, "Plus Jakarta Sans", sans-serif);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  background: rgba(100, 116, 139, 0.12);
  color: #475569;
  border: 1px solid rgba(100, 116, 139, 0.25);
  margin-top: 0.35rem;
}

:root[data-theme="dark"] .cb-pill-manual {
  background: rgba(148, 163, 184, 0.15);
  color: #cbd5e1;
  border-color: rgba(148, 163, 184, 0.3);
}

body.cb-role-internal .le.le-template-article .le-article-abf > .le-cover:not(.le-cover--has-brief):not(.le-cover--tool) .le-cover-text,
body.cb-role-internal .le.le-template-article .le-article-abf > .le-cover:not(.le-cover--has-brief):not(.le-cover--tool) .le-diagram {
  align-self: center !important;
}

body.cb-role-internal .le.le-template-article .le-article-abf > :is(.le-spec, .category-strip, .le-nav--secondary) {
  position: relative;
  z-index: 4;
}

/* Category hero (le-cover on category templates) — enforced 100dvh for fold alignment. */
.le.le-template-category .le-cover {
  display: grid !important;
  min-height: 100dvh !important;
  align-items: center !important;
  padding: calc(var(--nav-h, 104px) + 28px) var(--le-abf-pad-x) 56px !important;
}

/* Category hero — the BACKGROUND must fill from the very top (under the
   translucent menu) down to the first menu, while the CONTENT sits in the band
   between the top menu and the first menu. The full-height box (633 rule,
   height:100dvh, top:0) lets the background layers (inset:0) bleed under the
   menu; grid row 1 = var(--nav-h) reserves the menu space so the content (row 2)
   stays in the visible band. So we DON'T margin-top the box (that pushed the
   background off the top, leaving a dark seam under the menu) — the grid already
   accounts for the menu for the content. */

body.cb-role-internal .le.le-template-category,
body.cb-role-internal .le.le-template-article {
  width: 100%;
  max-width: none;
  min-height: 100vh;
  margin-inline: auto;
  overflow: visible;
  --le-abf-max: 1280px;   /* ABF FOREGROUND width = the article-services prototype's .le
                             container (1280px → ~1088 content after gutters). Was 1600,
                             which let the cover text+diagram sprawl ~1400px wide. The
                             background scene stays full-bleed; only the foreground is capped. */
  --le-section-max: 1180px;
  --le-copy-max: 960px;
  --le-min-page-gutter: 18px;
  --le-abf-gutter: clamp(18px, 6.666vw, 96px);
  --le-abf-pad-x: max(var(--le-abf-gutter), calc((100vw - var(--le-abf-max)) / 2 + var(--le-min-page-gutter)));
  --le-section-pad-x: clamp(18px, 5vw, 96px);
  --le-editorial-max: var(--le-section-max);
  --le-fold-pad-x: var(--le-abf-pad-x);
}

.le.le-template-category.has-coastal-page-bg .le-shell__inner,
.le.le-template-article.has-coastal-page-bg .le-shell__inner,
.le.le-shell.has-coastal-page-bg .le-shell__inner {
  position: relative;
  z-index: 1;
}

/* Home text contrast carryover for internal role/category templates.
   Softened version of the home outline stack so type stays readable
   without the harsher edge on light paper sections. */
.le.le-template-category,
.le.le-template-article {
  --le-home-outline-soft:
    0 2px 10px rgba(0, 10, 30, 0.42),
    0 12px 34px rgba(0, 10, 30, 0.24);
  /* Body copy shadow strengthened (TAG-20260620-ARTICLE-PARA) toward the heading's
     legibility over the busy interior background — a crisp near-edge + a soft depth
     halo. Kept a hair lighter than headings so dense paragraphs stay readable. */
  --le-home-outline-soft-body:
    0 1px 2px rgba(0, 8, 24, 0.62),
    0 2px 9px rgba(0, 10, 30, 0.42);
}

.le.le-template-category[data-theme="light"],
.le.le-template-article[data-theme="light"] {
  /* Match the HOME content/post-area light text treatment (a subtle navy depth-
     drop, not the old `none`) so interior section headings read with the same
     deliberate lift the home has — no harsh white halo. Mirrors the de-washed
     home hero values (content-templates.css ~1129/1135). */
  --le-home-outline-soft: 0 2px 12px rgba(10, 30, 60, 0.16);
  --le-home-outline-soft-body: 0 1px 4px rgba(10, 30, 60, 0.12);
}

.le.le-template-category h1,
.le.le-template-article h1,
.le.le-template-category .le-divider-h2,
.le.le-template-article .le-divider-h2,
.le.le-template-category .le-section-h2,
.le.le-template-article .le-section-h2,
.le.le-template-category .le-schedule-head h2,
.le.le-template-article .le-schedule-head h2,
.le.le-template-category .le-seocopy h2,
.le.le-template-article .le-seocopy h2,
.le.le-template-category .le-mag-body h3,
.le.le-template-article .le-mag-body h3,
.le.le-template-category .le-cover-index .label,
.le.le-template-article .le-cover-index .label,
.le.le-template-category .le-mag-tag,
.le.le-template-article .le-mag-tag {
  text-shadow: var(--le-home-outline-soft);
}

.le.le-template-category :is(
  .le-cover .lede,
  .le-mag-body > p,
  .le-seocopy p,
  .le-article p,
  .le-article li,
  .faq-block__question,
  .faq-block__answer,
  .category-strip__link,
  .le-place-strip .label,
  .le-nav-links a,
  .le-combo-half,
  .le-pill
),
.le.le-template-article :is(
  .le-cover .lede,
  .le-mag-body > p,
  .le-seocopy p,
  .le-article p,
  .le-article li,
  .faq-block__question,
  .faq-block__answer,
  .category-strip__link,
  .le-place-strip .label,
  .le-nav-links a,
  .le-combo-half,
  .le-pill
) {
  text-shadow: var(--le-home-outline-soft-body);
}

/* NOTE (TAG-20260620-HALO-PARITY): the former "below-fold editorial text must be
   FLAT like the prototype" rule was REMOVED per direction — interior category +
   article text now wears the home page's 5-layer text-shadow halo for legibility
   parity over the atmospheric background. See the HOME TEXT HALO block near the
   end of this file. The cover h1 / .le-cover .lede keep their own refined
   prototype-parity treatment (higher-specificity rules above). */

/* Editorial Heading Hierarchy: h1, h2, h3, h4, h5, h6 styled consistently in Cormorant Garamond display serif */
:is(.le-template-article, .le-template-category, .cb-role-internal) :is(.le-article, .rich-text) :is(h1, h2, h3, h4, h5, h6),
:is(.le-template-article, .le-template-category, .cb-role-internal) .le-article-shell :is(h1, h2, h3, h4, h5, h6) {
  font-family: 'Cormorant Garamond', var(--font-display-serif, serif) !important;
  color: var(--le-ink, #ffffff) !important;
  text-wrap: balance !important;
}

:root[data-theme="light"] :is(.le-template-article, .le-template-category, .cb-role-internal) :is(.le-article, .rich-text) :is(h1, h2, h3, h4, h5, h6),
:root[data-theme="light"] :is(.le-template-article, .le-template-category, .cb-role-internal) .le-article-shell :is(h1, h2, h3, h4, h5, h6) {
  color: #12283a !important;
}

:is(.le-template-article, .le-template-category, .cb-role-internal) :is(.le-article, .rich-text) h2 {
  font-size: clamp(28px, 3.2vw, 38px) !important;
  line-height: 1.15 !important;
  font-weight: 500 !important;
  letter-spacing: -0.015em !important;
  margin-top: 52px !important;
  margin-bottom: 18px !important;
}

:is(.le-template-article, .le-template-category, .cb-role-internal) :is(.le-article, .rich-text) h3 {
  font-size: clamp(22px, 2.3vw, 28px) !important;
  line-height: 1.22 !important;
  font-weight: 500 !important;
  letter-spacing: -0.01em !important;
  margin-top: 38px !important;
  margin-bottom: 14px !important;
}

:is(.le-template-article, .le-template-category, .cb-role-internal) :is(.le-article, .rich-text) h4 {
  font-size: clamp(19px, 1.7vw, 23px) !important;
  line-height: 1.28 !important;
  font-weight: 600 !important;
  letter-spacing: -0.005em !important;
  margin-top: 28px !important;
  margin-bottom: 12px !important;
}

:is(.le-template-article, .le-template-category, .cb-role-internal) :is(.le-article, .rich-text) h5 {
  font-size: clamp(17px, 1.3vw, 20px) !important;
  line-height: 1.32 !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  margin-top: 22px !important;
  margin-bottom: 10px !important;
}

:is(.le-template-article, .le-template-category, .cb-role-internal) :is(.le-article, .rich-text) h6 {
  font-size: clamp(15px, 1.1vw, 17px) !important;
  line-height: 1.36 !important;
  font-weight: 600 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  margin-top: 18px !important;
  margin-bottom: 8px !important;
}

:is(.le-template-article, .le-template-category, .cb-role-internal) :is(.le-article, .rich-text) :is(h1, h2, h3, h4, h5, h6) em {
  font-style: italic !important;
  color: var(--cb-gold, #e1c271) !important;
}

:root[data-theme="light"] :is(.le-template-article, .le-template-category, .cb-role-internal) :is(.le-article, .rich-text) :is(h1, h2, h3, h4, h5, h6) em {
  color: var(--cb-navy, #086b94) !important;
}

/* Congruence polish: article body section headings are plain serif h2s in
   .le-article.rich-text — flat next to the interior eyebrow/divider system. Give each a
   restrained short brand hairline above it so they carry the same editorial accent. No
   layout change (just a 38px rule + a little top padding). Article-scoped so the
   category service entries are untouched; theme-aware (--le-brand-deep = navy on cream
   / cyan on night). */
.le-template-article .le-article.rich-text > h2 {
  position: relative;
  padding-top: 0.55em;
}
.le-template-article .le-article.rich-text > h2::before {
  content: "";
  display: block;
  width: 38px;
  height: 2px;
  margin-bottom: 0.5em;
  border-radius: 2px;
  background: var(--le-brand-deep, rgb(14, 78, 128));
  opacity: 0.72;
}

/* General/legal articles keep the same editorial shell as guides, but their
   information note creates a quiet document boundary without asserting any
   unverified privacy, consent, retention, or service-policy practice. */
.le-entry--general .le-general-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  max-width: var(--le-copy-max);
  margin: 0 auto clamp(26px, 4vw, 46px);
  padding: 16px 18px;
  color: var(--le-ink-soft);
  background: var(--le-surface-soft);
  border: 1px solid var(--le-hairline-mid);
  border-inline-start: 3px solid var(--le-brand-deep);
}
.le-entry--general .le-general-note__mark {
  color: var(--le-brand-deep);
  font: 700 1.35rem/1 'Cormorant Garamond', Georgia, serif;
}
.le-entry--general .le-general-note p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
}

.le-entry--general .le-article.rich-text > h2::before {
  width: 26px;
  height: 1px;
  opacity: 0.58;
}

/* ── Feather ALL interior decorative/diagram graphic edges ───────────────────
   Below the fold on category/article the diagram frame + per-section motifs had hard
   rectangular edges (the .le-diagram-frame 1px border; the .le-*-motif / .le-mag-mark
   SVGs reaching their box edges) that did not dissolve into the page. Drop the hard
   frame border and feather every edge to full transparency (dual-linear intersect, 12%
   per axis — corners = product of both fades). Interior-scoped, both themes. */
:is(.le-template-category, .le-template-article) :is(
  .le-diagram-frame, .le-mag-mark, .le-section-motif, .le-deco-motif, .le-heading-motif
) {
  border-color: transparent !important;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0, #000 12%, #000 88%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0, #000 12%, #000 88%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%);
  mask-composite: intersect;
}

/* ── Interior LIGHT: flip the dark FAQ + review cards to the cream surface ───
   The faq-block + testimonials-block ship a single dark coastal surface
   (rgba(14,28,58,0.65)) that assumes the dark theme. On interior LIGHT pages it never
   flips, so the category/article bottom (FAQ accordion + "Service review pulse" cards)
   reads as dark navy slabs clashing with the cream page — the "unstyled toward the
   bottom" issue. Flip the SURFACE to the warm light card + hairline (matching the
   scoreboard re-skin) and force ink text so it reads. Light only; dark keeps its navy. */
:root[data-theme="light"] :is(.le-template-category, .le-template-article) :is(
  .faq-block__item, .faq-block, .testimonial-card, .testimonials-block__grid-item, .cs-card
) {
  background: var(--le-surface-soft, rgba(255, 252, 244, 0.55)) !important;
  border: 1px solid var(--le-hairline-mid, rgba(40, 30, 20, 0.16)) !important;
  box-shadow: none !important;
}
:root[data-theme="light"] :is(.le-template-category, .le-template-article) :is(
  .faq-block__question, .faq-block__answer, .testimonial-card, .testimonial-card__quote,
  .testimonial-card p, .cs-card, .cs-card p
) {
  color: var(--le-ink-soft, rgb(50, 64, 88)) !important;
}
/* The scoreboard block (stats-block.htm → .scoreboard-block/.scoreboard-card)
   uses the GENERIC theme tokens (--generic-surface / --generic-shadow-card),
   which on the cream interior pages render as washed grey-blue boxes with a
   heavy drop shadow ("hideous coloring"). Re-skin to the prototype's clean
   editorial containers using the THEME-AWARE --le-* tokens (warm cream in light,
   navy-translucent in dark) + a warm hairline + no heavy shadow. The
   icon/number/description content (an integrated improvement) is preserved. */
:is(.le-template-category, .le-template-article) .scoreboard-block,
:is(.le-template-category, .le-template-article) .scoreboard-block--light,
:is(.le-template-category, .le-template-article) .scoreboard-block--primary {
  background: transparent !important;
  border-color: var(--le-hairline, rgba(40, 30, 20, 0.10)) !important;
  box-shadow: none !important;
}
:is(.le-template-category, .le-template-article) .scoreboard-block--primary::before {
  display: none !important; /* kill the cool-blue radial blur wash */
}
:is(.le-template-category, .le-template-article) .scoreboard-card {
  background: var(--le-surface-soft, rgba(255, 252, 244, 0.42)) !important;
  border: 1px solid var(--le-hairline-mid, rgba(40, 30, 20, 0.18)) !important;
  box-shadow: none !important;
  padding: 1.4rem 1.25rem !important; /* tighten from the shared scale (was loose) */
}
:is(.le-template-category, .le-template-article) .scoreboard-card:hover {
  border-color: var(--le-brand-soft, rgba(42, 138, 200, 0.9)) !important;
  background: var(--le-surface-deep, rgba(245, 240, 226, 0.85)) !important;
}
:root[data-theme="light"] .le-template-category .scoreboard-card,
:root[data-theme="light"] .le-template-category .scoreboard-card:hover {
  background: transparent !important;
  box-shadow: none !important;
}
/* WHITESPACE FIX (the "Why ... " band): blocks.css gives .scoreboard-block
   `padding: 5rem 0` (80px) which STACKS on the 48px interior block-wrapper padding =
   ~128px of air each side, plus a 48px title→grid gap — so the section header read as
   marooned a screen above its 3 cards. Bind the title to its cards: cut the block
   padding and the title margin. Interior-scoped (home "Why" band untouched). */
:is(.le-template-category, .le-template-article) .scoreboard-block {
  padding-top: 2rem !important;
  padding-bottom: 2.25rem !important;
}
:is(.le-template-category, .le-template-article) .scoreboard-block__title {
  margin-bottom: 1.6rem !important;
}
/* Dark interior stat strip (.le-spec): make the trust VALUES (license, reviews,
   response, coverage) confident — bright cream, full opacity — so credentials pop
   instead of receding into the navy. The faint labels stay the muted tier (hierarchy).
   Premium HVAC reads its credentials at a glance; budget sites bury them. */
:root[data-theme="dark"] :is(.le-template-category, .le-template-article) .le-spec-v {
  color: rgb(245, 249, 255) !important;
  opacity: 1 !important;
}
/* The credentials/detailed block wrapped ~120px of content in ~152px of internal
   padding (blocks.css .detailed-block = 4.75rem = a home hero-scale value). On the
   interior editorial column that double-counts against the block-wrapper rhythm and
   reads as a dead band. Halve it; interior-scoped so home/other roles keep 4.75rem. */
:is(.le-template-category, .le-template-article) .detailed-block {
  padding-top: 2.5rem !important;
  padding-bottom: 2.5rem !important;
}

/* Category archives use the illustrated parchment as their one light-mode
   surface. Generic builder defaults otherwise repaint each major block as a
   white card, hiding the page field and breaking the editorial continuity. */
:root[data-theme="light"] body.cb-role-internal .le-template-category .builder-blocks
  > .block-wrapper:not(.block-wrapper--width-full)
  > :is(.detailed-block, .scoreboard-block, .section-list, .faq-block, .paragraph-block) {
  background: transparent !important;
  box-shadow: none !important;
}


/* ── GENERAL READABILITY: interior LIGHT block text ─────────────────────────
   blocks.css (~2882-2914) paints the DARK coastal-page-bg block treatment on a big
   list of block types — `--block-heading/body/muted-color` + `color: rgb(232,244,255)`
   (near-white) `!important` — and does NOT flip it for light theme. So on the cream
   light interior pages, block text (spec K/V, strip labels, stars, body copy) renders
   near-white = INVISIBLE. Flip the block text tokens + inherited color to the navy
   ink for interior LIGHT pages. Specificity (body.cb-role-internal + :root[light] +
   role + .builder-blocks + :is(block)) beats the blocks.css rule; the --le-* tokens
   are theme-aware so DARK is untouched. Element-specific accents (cyan scoreboard
   numbers, links, em-gradient) keep their own color rules. */
:root[data-theme="light"] body.cb-role-internal :is(.le-template-category, .le-template-article) .builder-blocks :is(
  .stats-block, .scoreboard-block, .scoreboard-block--primary, .scoreboard-block--light, .scoreboard-block--dark,
  .testimonials-block, .case-studies-block, .detailed-block, .detailed-block--light, .detailed-block--category,
  .le-spec-block, .features-grid-block, .featurette-block, .paragraph-block, .headline-block,
  .category-block, .pricing-table-block, .faq-block, .section-list-block, .research-block
) {
  --block-heading-color: var(--le-ink, #14243c) !important;
  --block-body-color: var(--le-ink-soft, #324058) !important;
  --block-muted-color: var(--le-ink-faint, #7c8aa0) !important;
  color: var(--le-ink-soft, #324058) !important;
}
/* Spec strip K/V + strip labels: explicit ink so they read in light. */
:root[data-theme="light"] :is(.le-template-category, .le-template-article) :is(.le-spec-v, .le-spec-k, .category-strip__label, .home-post-strip__label) {
  color: var(--le-ink, #14243c) !important;
}
:root[data-theme="light"] :is(.le-template-category, .le-template-article) :is(.le-spec-k, .category-strip__label) {
  color: var(--le-ink-mute, #52627c) !important;
}
/* Rating stars: warm gold accent in light (were near-white = invisible). */
:root[data-theme="light"] :is(.le-template-category, .le-template-article) .stars {
  color: var(--le-gold, #b88a32) !important;
}
/* Case-studies cross-strip (.cs-strip, on articles) used var(--cb-heading,#e8f4fd) /
   var(--cb-muted, rgba(232,244,253,.6)) — those tokens are undefined for interior
   light, so the near-white fallback rendered = invisible on cream. Ink it. */
:root[data-theme="light"] :is(.le-template-category, .le-template-article) :is(.cs-strip__title, .cs-strip__heading, .cs-strip__label) {
  color: var(--le-ink, #14243c) !important;
}
:root[data-theme="light"] :is(.le-template-category, .le-template-article) .cs-strip__excerpt {
  color: var(--le-ink-soft, #324058) !important;
}
/* Interior SERVICE-AREA cross-strip was near-opaque WHITE (rgba(255,255,255,0.92)) in
   light — a stark bar breaking the warm-cream cohesion. Soften to a translucent warm
   surface so it blends like the prototype's faded strip (navy links stay readable).
   Scoped interior light; dark (deep-night) + the HOME marquee strips are untouched. */
/* Testimonial author/role meta is #4b5563 (blocks.css !important) — a dark grey that
   reads at only ~2.2:1 on the dark interior bg (hard to read). Theme-aware ink-faint
   for interior pages: light navy-grey on cream, light-blue on night. Scoped interior
   (home testimonials untouched). */
:is(.le-template-category, .le-template-article) .testimonial-card__meta {
  color: var(--le-ink-faint, #7c8aa0) !important;
}

/* ── Schedule CTA button (item 4) ────────────────────────────────────────────
   Unified interior SEND/Schedule button palette (Brass Gradient) is handled
   below in the luxury elevation section. Removed technical blue/navy overrides.
   ────────────────────────────────────────────────────────────────────────── */

/* ── Psychrometric ambient background field (item 2) ─────────────────────────
   Category-page background scene (hvac.psychScene()). The grid/curves use the
   theme-aware .le-hvac-scene currentColor (cyan on night / navy on cream); the
   outdoor (hot) + indoor (cold) annotation points carry the brand coral / cyan-soft
   accents so the cool→dehumidify process reads. Mirrors the foreground chart's
   .le-psych-hot/.le-psych-cold colors but scoped to the background scene. */
.le-hvac-scene--psych .le-psych-hot  { color: var(--le-coral, #c26849); fill: var(--le-coral, #c26849); }
.le-hvac-scene--psych .le-psych-cold { color: var(--le-brand-soft, #2a8ac8); fill: var(--le-brand-soft, #2a8ac8); }

/* Foul Fix: Strip axis labels, tooltips, and markers from the ambient background chart.
   Category backgrounds should be architectural textures, not data visualizations. */
.le-hvac-scene--psych circle,
.le-hvac-scene--psych text {
    display: none !important;
}

/* ── Editorial Motifs Cleanup ─────────────────────────────────────────────── */
/* Foul Fix: Hide the 'vent' (grey bars) motif on interior editorial templates.
   It reads as an unloaded skeleton/placeholder on services and article pages. */
:is(.le-template-category, .le-template-article) .le-section-motif--reviews {
    display: none !important;
}

/* Foul Fix: Center single case-study cards on interior pages.
   Switch auto-fill (which leaves empty cells) to auto-fit + justify-content: center. */
.cs-strip__list {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
    justify-content: center !important;
}
/* Verified directly against design/internal-pages-split/category-areas-dark.html
   (the actual prototype for this scene): the psychrometric grid is NOT a crisp
   normal-blend overlay — it uses the same subtle blended treatment as every
   other .le-hvac-scene, screen/0.55 in dark and multiply/0.42 in light. A prior
   pass here assumed the prototype wanted the grid crisp and forced normal blend,
   which reads noticeably more prominent/less atmospheric than the reference.
   Let this variant inherit the base .le-hvac-scene rule instead of overriding it. */

/* Internal role pages are long-form editorial surfaces, not promo reveals.
   Keep content visible immediately so sections never appear "blank" while
   waiting for reveal observers/timers. */
.le.le-template-category .reveal-init,
.le.le-template-article .reveal-init {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
  transition: none !important;
}

/* Role templates use the editorial cover layout, not the global full-bleed
   parallax hero contract used by generic builder pages. */
.le.le-template-category .builder-blocks > .block-wrapper--parallax-hero-block {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding-left: clamp(10px, 2.5vh, 30px) !important;
  padding-right: clamp(10px, 2.5vh, 30px) !important;
}
.le.le-template-category .builder-blocks > .block-wrapper--parallax-hero-block > .le-cover.builder-block.parallax-hero {
  display: grid !important;
  width: 100vw !important;
  max-width: 100vw !important;
  /* FIX (de-crook): was margin-inline: clamp(10px,2.5vh,30px) = +22.5px, which ADDED
     to the parent block-wrapper's 22.5px padding → the 100vw cover started at 45px and
     overflowed the right (whole hero read ~90px right-shifted). The correct full-bleed
     breakout pulls the 100vw cover back to flush [0 → 100vw]; the symmetric --le-fold-pad-x
     padding (below) then centres the foreground. */
  margin-inline: calc(50% - 50vw) !important;
  min-height: clamp(10px, 2.5vh, 30px) !important;
  align-items: start;
  justify-content: initial;
  padding: 48px var(--le-fold-pad-x) 64px !important;
}
/* Lift animation layer out of grid flow so text/diagram columns are unobstructed
   — matches prototype's `position:absolute;inset:0` on .le-hvac-scene.
   height:100% pins the container to the .le-cover fold height (relative parent),
   so it can't be stretched taller by intrinsic child sizing (the iframe used to
   force it to ~633px even though .le-cover is ~515px). Internal pages render the
   inline-SVG fallback directly — no iframe — exactly like the prototype. */
.le.le-template-category .le-cover .parallax-hero__animation-container,
.le.le-template-article .le-entry > .le-cover .parallax-hero__animation-container {
  position: absolute !important;
  inset: 0;
  height: 100% !important;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
/* Stretch the animation iframe to fill the fold container so waves reach 100vw */
.le.le-template-category .le-cover .parallax-hero__animation-frame,
.le.le-template-article .le-entry > .le-cover .parallax-hero__animation-frame {
  width: 100% !important;
  height: 100% !important;
  border: none;
  background: transparent;
}

/* Interior cover is TRANSPARENT (prototype .le-cover has no background): the
   .le wrapper (--le-bg deep-navy dark / cream light) + .le-breeze-field supply
   the themed backdrop. The shared .builder-block.parallax-hero dark bg from
   blocks.css otherwise forces a dark cover even in LIGHT mode. Interior-scoped
   (.le.le-template-*) so the HOME hero keeps its own opaque treatment —
   shared block, alternate styling. */
.le.le-template-category .le-cover.builder-block.parallax-hero,
.le.le-template-article .le-cover.builder-block.parallax-hero {
  background: transparent !important;
}
.le.le-template-category .le-cover.builder-block.parallax-hero::after,
.le.le-template-article .le-cover.builder-block.parallax-hero::after {
  display: none !important; /* kill the blocks.css fade-to-dark overlay on interior */
}

/* Interior LIGHT mode block surfaces. blocks.css (~2828) paints every
   .has-coastal-page-bg section as dark-night glass (rgba(8,18,38,.55)) with
   light text "regardless of page theme" — correct for the HOME deep-night
   atmosphere, wrong for interior role pages in LIGHT mode (dark navy panels on
   cream paper). Re-skin to the editorial light surface + dark ink. Scoped to
   .le[data-theme="light"] so HOME and interior-DARK are untouched (shared
   block, alternate styling). */
.le[data-theme="light"].has-coastal-page-bg .builder-blocks > .block-wrapper:not(.block-wrapper--width-full) > section:not(.hero-block):not(.video-hero-block):not(.parallax-hero) {
  background: var(--le-surface) !important;
  border-color: var(--le-hairline) !important;
  --block-heading-color: var(--le-ink);
  --block-body-color: var(--le-ink-soft);
  --block-muted-color: var(--le-ink-mute);
  --block-accent-color: var(--le-brand-deep);
  --block-surface-color: var(--le-surface);
  color: var(--le-ink-soft) !important;
}
.le[data-theme="light"].has-coastal-page-bg .builder-blocks > .block-wrapper:not(.block-wrapper--width-full) > section:not(.hero-block):not(.video-hero-block):not(.parallax-hero) :is(h1, h2, h3, h4, h5, h6) {
  color: var(--le-ink) !important;
}
.le[data-theme="light"].has-coastal-page-bg .builder-blocks > .block-wrapper:not(.block-wrapper--width-full) > section:not(.hero-block):not(.video-hero-block):not(.parallax-hero) :is(p, li, blockquote) {
  color: var(--le-ink-soft) !important;
}

/* ──────────────────────────────────────────────────────────────────────────
   INTERIOR RESPONSIVE RETROFIT (the prototype is desktop-only — 1280 artboards,
   no mobile rules — so this is an ad-hoc retrofit preserving the editorial look).
   Interior-scoped (body.cb-role-internal / .le-template-*) so HOME is untouched.
   ────────────────────────────────────────────────────────────────────────── */
/* Below the desktop breakpoint the prototype's two-column editorial hero
   (headline | right-side diagram) and its horizontal section nav both break:
   the section links spread across the top and the diagram stacks over the
   headline. Collapse to a clean single-column text fold at <=1100 (matching
   where the home nav collapses), and remove the overlapping editorial diagram —
   it's desktop-only decoration and is illegible at these widths. */
@media (max-width: 900px) {
  /* Interior hero STACKS (single column, diagram decoupled) only below 901px —
     above that the 2-col side-by-side layout takes over (see min-width:901px).
     [Legacy .le-nav rules below are dead since the global nav replaced it, but
     harmless.] Interior section nav: long horizontal section links move into a
     burger dropdown. The top bar stays a SINGLE non-wrapping row. */
  body.cb-role-internal .le-nav, .le .le-nav {
    flex-wrap: nowrap !important;
    gap: 8px 12px !important;
    padding: 10px clamp(14px, 4vw, 28px) !important;
    align-items: center !important;
    min-height: 0 !important;
  }
  /* Section links collapse into the burger dropdown (hidden until toggled). */
  body.cb-role-internal .le-nav-links, .le .le-nav-links {
    position: absolute !important;
    top: 100% !important; right: clamp(14px, 4vw, 28px) !important;
    flex-direction: column !important;
    align-items: stretch !important;
    min-width: 220px !important;
    max-width: min(86vw, 320px) !important;
    padding: 8px !important;
    margin: 6px 0 0 !important;
    background: color-mix(in srgb, var(--le-bg, #02060f) 96%, transparent) !important;
    border: 1px solid var(--le-hairline, rgba(190,230,255,0.16)) !important;
    border-radius: 14px !important;
    box-shadow: 0 24px 64px -16px rgba(0,8,24,0.7) !important;
    backdrop-filter: var(--glass-blur-lg) saturate(var(--glass-saturate)) !important;
    -webkit-backdrop-filter: var(--glass-blur-lg) saturate(var(--glass-saturate)) !important;
    will-change: transform;
    z-index: 60 !important;
    display: none !important;
  }
  body.cb-role-internal .le-nav.is-open .le-nav-links,
  .le .le-nav.is-open .le-nav-links { display: flex !important; }
  /* Secondary in-page nav: column stack (label then items), never a burger dropdown. */
  body.cb-role-internal .le-nav--secondary,
  .le .le-nav--secondary {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  body.cb-role-internal .le-nav--secondary .le-nav-links,
  .le .le-nav--secondary .le-nav-links {
    display: flex !important;
    position: static !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 4px 0 !important;
    margin: 0 !important;
    z-index: auto !important;
    flex: unset !important;
    gap: 4px 20px !important;
  }
  /* The single-row scroll-strip collapse for this nav lives in the <=1099 block
     below (after the desktop wrap rule), so it wins by source order. */
  body.cb-role-internal .le-nav-actions, .le .le-nav-actions {
    margin-left: auto !important; gap: 8px !important;
    flex-wrap: nowrap !important; justify-content: flex-end !important;
    align-items: center !important;
  }
  /* Burger toggle visible only at these widths (added in le-header.htm). */
  body.cb-role-internal .le-nav__burger, .le .le-nav__burger { display: inline-flex !important; }
  /* Small view: single COLUMN (flex). Hero text sits in the upper/middle of the
     fold; the editorial diagram "breaks" to the BOTTOM of the fold, centered and
     more visible (a distinct complementary element, not a faint backdrop), above
     the SCROLL indicator. margin-top:auto pushes the diagram to the bottom. */
  /* Neutralize the desktop 100vw "breakout" (width:100vw + margin-inline /
     negative margins) which mis-centers and overflows at small widths — use a
     simple full-width box so the content centers in the viewport. */
  .le.le-template-category .builder-blocks > .block-wrapper--parallax-hero-block,
  .le.le-template-article .builder-blocks > .block-wrapper--parallax-hero-block {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .le.le-template-category .builder-blocks > .block-wrapper--parallax-hero-block > .le-cover.builder-block.parallax-hero,
  .le.le-template-article .le-cover.builder-block.parallax-hero {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important; /* text + diagram centered vertically as a group */
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
    padding-top: calc(var(--nav-h, 68px) + 16px) !important;
    padding-bottom: clamp(52px, 8vh, 92px) !important; /* clear the SCROLL indicator */
    padding-left: clamp(16px, 5vw, 32px) !important;
    padding-right: clamp(16px, 5vw, 32px) !important;
    gap: clamp(20px, 4vh, 40px) !important;
  }
  .le.le-template-category .le-cover .parallax-hero__content,
  .le.le-template-article .le-cover .parallax-hero__content {
    width: 100% !important;
    align-self: center !important;
    align-items: center !important;   /* center the column contents */
    text-align: center !important;
    position: relative !important;
    z-index: 10 !important;
    padding-bottom: 0 !important;
  }
  /* Center the eyebrow/crumbs, headline, lede, index + diagram as a centered column. */
  .le.le-template-category .le-cover .parallax-hero__content > *,
  .le.le-template-article .le-cover .parallax-hero__content > * {
    margin-left: auto !important;
    margin-right: auto !important;
  }
  /* Diagram → bottom of the fold, centered, increased opacity. */
  /* Diagram decoupled (absolute) and dropped LOW toward the SCROLL indicator, so
     the text can center vertically on its own while the diagram favors the lower
     fold. Faint so the centered text reads cleanly over it. */
  .le.le-template-category .le-cover .le-diagram,
  .le.le-template-article .le-cover .le-diagram {
    display: block !important;
    position: absolute !important;
    left: 50% !important;
    bottom: clamp(40px, 7vh, 84px) !important;
    transform: translateX(-50%) !important;
    margin: 0 !important;
    width: min(78vw, 420px) !important;
    max-width: none !important;
    opacity: 0.42 !important;
    z-index: 0 !important;
    animation: none !important;
    pointer-events: none !important;
  }
}

@media (max-width: 900px) {
  /* Cover: keep the flex column from the <=1100 block; clear the nav up top and
     the SCROLL indicator at the bottom (this padding rule would otherwise
     override the <=1100 nav-clearing padding and overlap the nav). */
  .le.le-template-category .builder-blocks > .block-wrapper--parallax-hero-block > .le-cover.builder-block.parallax-hero {
    gap: 22px !important;
    padding: calc(var(--nav-h, 68px) + 16px) clamp(18px, 5vw, 40px) clamp(72px, 12vh, 130px) !important;
  }
  .le .le-cover h1, .le .le-cover-category h1 { font-size: var(--fluid-h1) !important; line-height: 1.02 !important; }
  .le .le-cover .lede { font-size: var(--fluid-lede) !important; }
  .le .le-spec { flex-wrap: wrap !important; gap: 16px 24px !important; padding: 20px var(--fluid-pad-x) !important; }
  .le .le-place-strip { padding: 18px var(--fluid-pad-x) !important; }
}

@media (max-width: 767px) {
  /* Interior nav at phone widths is handled by the <=1100 block (single
     non-wrapping row + burger dropdown). Keep only the phone-size type tweak. */
  .le .le-pill, .le .le-combo { font-size: 12px !important; }
  /* Tighten the logo + action gaps so the single row fits the narrowest phones. */
  .le .le-logo, .le .le-logo img { height: 40px !important; }
  body.cb-role-internal .le-nav-actions, .le .le-nav-actions { gap: 6px !important; }
  body.cb-role-internal .le-combo, .le .le-combo { gap: 2px !important; }

  /* Section content padding tighten across interior blocks using fluid foundation. */
  .le .le-section, .le .le-why, .le .section-list, .le .le-reviews,
  .le .testimonials-block, .le .faq-block, .le .le-seocopy, .le .le-schedule,
  body.cb-role-internal .builder-blocks > .block-wrapper > section {
    padding-left: var(--fluid-pad-x) !important;
    padding-right: var(--fluid-pad-x) !important;
    padding-top: var(--fluid-pad-y) !important;
    padding-bottom: var(--fluid-pad-y) !important;
  }

  /* Magazine cards / index rows stack to a single column on phones. */
  .le .le-mag-grid, .le .le-mag-grid-large { grid-template-columns: 1fr !important; }
  /* The article's sibling-card section (.le-related, "More in …") keeps the
     prototype's 96px desktop gutters on both the section and its grid, which
     left 32px-wide cards at 320px once the section started rendering. Use the
     same fluid gutter as every other interior section. */
  .le .le-related { padding-left: var(--fluid-pad-x) !important; padding-right: var(--fluid-pad-x) !important; }
  .le .le-related .le-mag-grid { padding-left: 0 !important; padding-right: 0 !important; }
  .le .le-mag-card { grid-template-columns: 1fr !important; gap: 12px !important; }
  .le .le-mag-mark { display: none !important; }   /* drop the decorative side motif on phones */

  /* The interior place/area strip ("Serving 30A · Seaside · …") is a single
     nowrap row that overruns the viewport on phones. Make it a contained,
     touch-scrollable rail instead of pushing page width. */
  .le .le-place-strip, .le .category-strip, body.cb-role-internal .category-strip {
    overflow: hidden !important;
    max-width: 100% !important;
  }
  .le .le-place-strip .places, .le .category-strip__items {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .le .le-place-strip .places::-webkit-scrollbar,
  .le .category-strip__items::-webkit-scrollbar { display: none; }

  /* Belt-and-braces: clip residual horizontal overflow at the interior shell
     (overflow-x:clip keeps vertical scroll intact) and the body. */
  body.cb-role-internal { overflow-x: hidden !important; }
  body.cb-role-internal .le-shell,
  body.cb-role-internal .le.le-template-category,
  body.cb-role-internal .le.le-template-article { overflow-x: clip !important; }
}

/* Cover index (i–vi volume list) must shrink to fit narrow screens rather than
   clip its labels at the right edge. minmax(0,1fr) lets columns compress; drop
   to 2 columns on phones. */
.le .le-cover-index {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
@media (max-width: 600px) {
  .le .le-cover-index {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px 18px !important;
  }
}

/* ── Interior nav burger (reveals the section links on small screens) ──────── */
.le-nav__burger {
  display: none;               /* shown <=1100 via the interior responsive block */
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  flex: 0 0 auto;
  background: transparent;
  border: 1px solid var(--le-hairline, rgba(190, 230, 255, 0.30));
  border-radius: 10px;
  color: inherit;
  cursor: pointer;
  padding: 0;
}
.le-nav__burger-bar {
  display: block; width: 18px; height: 2px;
  background: currentColor; border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.le-nav__burger-bar + .le-nav__burger-bar { margin-top: 4px; }
.le-nav.is-open .le-nav__burger-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.le-nav.is-open .le-nav__burger-bar:nth-child(2) { opacity: 0; }
.le-nav.is-open .le-nav__burger-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Smallest screens: Text + Schedule consolidate to icon-only (hide labels) so
   the top bar stays a single row. */
@media (max-width: 560px) {
  .le-nav-actions .le-combo-half[href^="sms"] span,
  .le-nav-actions .le-pill.primary .cb-nav__cta-label { display: none !important; }
  .le-nav-actions .le-pill.primary {
    padding-left: 10px !important; padding-right: 10px !important;
  }
}
/* Very small: also drop the phone number to its icon. */
@media (max-width: 430px) {
  .le-nav-actions .le-combo-half .num { display: none !important; }
  .le-nav-actions { gap: 4px !important; }
}

@media (max-width: 320px) {
  .le-nav-actions { gap: 2px !important; }
  .le-combo { gap: 1px !important; }
}

/* Narrow phones: shrink the interior hero headline so it doesn't clip at the
   right edge (the desktop --hero-text-driver is too large here). */
@media (max-width: 480px) {
  .le.le-template-category .le-cover .le-cover-h1,
  .le.le-template-article .le-cover .le-cover-h1,
  .le .le-cover h1 {
    font-size: clamp(26px, 8.2vw, 38px) !important;
    line-height: 1.06 !important;
  }
}

/* Short viewports (e.g. landscape phones): a forced 100vh fold can't hold the
   editorial hero content, so the headline collides with the nav. Let the interior
   cover grow to content height (scrollable), top-align below the nav, and drop
   the diagram (no room). Interior-scoped — home is untouched. */
@media (max-height: 560px) {
  .le.le-template-category .builder-blocks > .block-wrapper--parallax-hero-block > .le-cover.builder-block.parallax-hero,
  .le.le-template-article .le-cover.builder-block.parallax-hero,
  body.cb-role-internal .le.le-template-article .le-cover {
    height: auto !important;
    min-height: 0 !important;
    justify-content: flex-start !important;
    align-content: start !important;
    align-items: start !important;
    padding-top: calc(var(--nav-h, 68px) + 14px) !important;
    padding-bottom: 36px !important;
  }
  .le.le-template-category .le-cover .parallax-hero__content,
  .le.le-template-article .le-cover .parallax-hero__content {
    align-self: stretch !important;
    justify-content: flex-start !important;
  }
  .le.le-template-category .le-cover .le-diagram,
  .le.le-template-article .le-cover .le-diagram { display: none !important; }
  .le .le-cover-scroll-indicator { display: none !important; }
  /* Category link grid / area grid in hero eats 117px+ — hide so title+lede fit in ~264px */
  .le.le-template-category .le-cover .le-cover-meta,
  .le.le-template-article .le-cover .le-cover-meta { display: none !important; }
  body.cb-role-internal .le.le-template-article .le-cover .le-crumbs { display: none !important; }
}

/* Only phone-landscape covers need to drop the action. Tablet and split-screen
   layouts keep the labelled schedule pill while the cover grows to fit it. */
@media (max-height: 560px) and (max-width: 767px) {
  body.cb-role-internal .le.le-template-article .le-cover .le-cover-cta { display: none !important; }
}

:root[data-theme="light"] :is(.le-template-category, .le-template-article) .parallax-hero__lede,
:root[data-theme="light"] :is(.le-template-category, .le-template-article) .parallax-hero__lede::before {
  -webkit-text-stroke: 0 !important;
  text-shadow: none !important;
  box-shadow: none !important;
  outline: 0 !important;
}

:root[data-theme="light"] :is(.le-template-category, .le-template-article) .section-list {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(rgb(2 40 108 / .11) 1px, transparent 1px),
    linear-gradient(90deg, rgb(2 40 108 / .11) 1px, transparent 1px),
    linear-gradient(118deg, rgb(247 244 235 / .78), rgb(226 235 232 / .62)) !important;
  background-size: 26px 26px, 26px 26px, 100% 100% !important;
  border-block: 1px solid rgb(14 44 79 / .16) !important;
}

:root[data-theme="light"] :is(.le-template-category, .le-template-article) .section-list .le-mag-card {
  background: rgb(247 244 235 / .66) !important;
  border: 1px solid rgb(14 44 79 / .14) !important;
  border-left: 3px solid rgb(14 44 79 / .72) !important;
  box-shadow: 0 14px 28px rgb(14 44 79 / .08) !important;
  padding: clamp(20px, 3vw, 34px) !important;
}

:root[data-theme="light"] :is(.le-template-category, .le-template-article) .section-list .le-mag-body h3 {
  color: rgb(7 24 43) !important;
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-weight: 600 !important;
  letter-spacing: -.015em !important;
  text-shadow: none !important;
}

:root[data-theme="light"] :is(.le-template-category, .le-template-article) .section-list .le-mag-body > p {
  color: rgb(36 59 79) !important;
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-style: italic !important;
}

:root[data-theme="light"] :is(.le-template-category, .le-template-article) .section-list .le-mag-mark {
  /* Keep the terminal drawing legible on the pale drafting surface. The SVG's
     internal construction lines remain low-alpha and the existing dual-axis
     mask feathers its edges, so a stronger navy parent layer reads as a motif
     rather than a second action or a card border. */
  opacity: .74 !important;
  color: rgb(2 40 108 / .90) !important;
  z-index: 2 !important;
}

/* Section-list summaries are discovery copy, not display typography. Keep the
   editorial serif in the entry title and use a stable, low-glare reading voice
   across the split-art cards in both themes. */
body.cb-role-internal :is(.le-template-category, .le-template-article) :is(.section-list, .le-related) .le-mag-body > p {
  font-family: 'Manrope', 'Avenir Next', sans-serif !important;
  font-style: normal !important;
  font-weight: 500 !important;
  font-size: clamp(17px, 1.35vw, 20px) !important;
  letter-spacing: 0.005em !important;
  line-height: 1.58 !important;
  opacity: 1 !important;
  text-shadow: none !important;
  margin-top: 0 !important;
  margin-bottom: clamp(12px, 1.5vw, 18px) !important;
}

:root[data-theme="light"] body.cb-role-internal :is(.le-template-category, .le-template-article) :is(.section-list, .le-related) .le-mag-body > p {
  color: rgb(36 59 79) !important;
  text-shadow: 0 1px 0 rgb(255 255 255 / .78), 0 2px 6px rgb(14 44 79 / .10) !important;
}

:root[data-theme="dark"] body.cb-role-internal :is(.le-template-category, .le-template-article) :is(.section-list, .le-related) .le-mag-body > p {
  color: rgb(232 244 255) !important;
  text-shadow: 0 1px 0 rgb(7 24 43 / .72), 0 2px 7px rgb(7 24 43 / .28) !important;
}

/* The shared template bundle loads after this file. This precise route root
   deliberately wins its legacy light italic declaration without affecting any
   article body or hero prose. */
html:root[data-theme="light"] body.cb-role-internal .le.le-template-category .section-list .le-mag-body > p,
html:root[data-theme="light"] body.cb-role-internal .le.le-template-article :is(.section-list, .le-related) .le-mag-body > p {
  font-family: 'Manrope', 'Avenir Next', sans-serif !important;
  font-style: normal !important;
  color: rgb(36 59 79) !important;
}

/* ------------------------------------------------------------------
   Internal-linking modules (partials/linking/*): sentence lists rendered on
   service, town and hub pages. Loaded here because hubs (pages/page.htm) do
   not load article-content.css.
   ------------------------------------------------------------------ */
.cb-linking {
    margin: 2.25rem 0 0;
    padding: 1.75rem 2rem;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(8, 107, 148, 0.18);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 10, 30, 0.04);
}
:root[data-theme="dark"] .cb-linking {
    background: rgba(8, 18, 36, 0.75);
    border-color: rgba(110, 220, 255, 0.18);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}
.cb-linking__heading {
    font-family: var(--font-heading, "Cinzel", "Playfair Display", Georgia, serif);
    font-size: 1.25rem;
    line-height: 1.35;
    letter-spacing: 0.02em;
    font-weight: 600;
    margin: 0 0 0.5rem;
    color: #0b2545;
}
:root[data-theme="dark"] .cb-linking__heading {
    color: #e2f1ff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}
.cb-linking__copy,
.cb-linking__lead {
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 1.25rem;
    color: #4a5d6e;
}
:root[data-theme="dark"] .cb-linking__copy,
:root[data-theme="dark"] .cb-linking__lead {
    color: #a0b6cd;
}
.cb-linking__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
}
.cb-linking__chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.95rem;
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.25;
    color: #0056b3 !important;
    background: #f0f7fb;
    border: 1px solid rgba(0, 86, 179, 0.22) !important;
    border-radius: 9999px;
    text-decoration: none !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.cb-linking__chip:hover,
.cb-linking__chip:focus {
    color: #003d80 !important;
    background: #e2f0f9;
    border-color: #0056b3 !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 86, 179, 0.15);
}
.cb-linking__chip::after {
    content: " \2192";
    opacity: 0.7;
    margin-left: 0.35rem;
    font-size: 0.85em;
    transition: transform 0.2s ease, opacity 0.2s ease;
    display: inline-block;
}
.cb-linking__chip:hover::after {
    opacity: 1;
    transform: translateX(2px);
}
.cb-linking__chip--all {
    background: rgba(8, 107, 148, 0.08);
    font-weight: 600;
    border-color: rgba(8, 107, 148, 0.35) !important;
}
:root[data-theme="dark"] .cb-linking__chip {
    color: #7dd3fc !important;
    background: rgba(14, 30, 55, 0.85);
    border-color: rgba(125, 211, 252, 0.25) !important;
}
:root[data-theme="dark"] .cb-linking__chip:hover,
:root[data-theme="dark"] .cb-linking__chip:focus {
    color: #bae6fd !important;
    background: rgba(20, 45, 80, 0.95);
    border-color: #38bdf8 !important;
    box-shadow: 0 2px 10px rgba(56, 189, 248, 0.2);
}
:root[data-theme="dark"] .cb-linking__chip--all {
    background: rgba(56, 189, 248, 0.12);
    border-color: rgba(56, 189, 248, 0.4) !important;
}
.cb-linking__all { white-space: nowrap; font-weight: 600; margin-left: 0.25rem; }

.cb-linking-wrap--hub {
    margin: 3.5rem auto 4.5rem;
    max-width: 1200px;
    padding: 2.25rem 2.75rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(8, 107, 148, 0.22);
    border-radius: 14px;
    box-shadow: 0 4px 28px rgba(0, 10, 30, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
:root[data-theme="dark"] .cb-linking-wrap--hub {
    background: rgba(5, 14, 28, 0.78);
    border-color: rgba(110, 220, 255, 0.2);
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.45);
}
.cb-linking-wrap--hub .cb-linking {
    margin: 0;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(8, 107, 148, 0.14);
}
.cb-linking-wrap--hub .cb-linking:first-child {
    padding-top: 0;
}
.cb-linking-wrap--hub .cb-linking:last-child {
    padding-bottom: 0;
    border-bottom: none;
}
:root[data-theme="dark"] .cb-linking-wrap--hub .cb-linking {
    border-bottom-color: rgba(110, 220, 255, 0.12);
}
.cb-linking-wrap--hub .cb-linking__heading { text-align: left; }
/* Generated links sit outside .rich-text, so they would inherit the theme's
   accent anchor colour (#2a8ac8: 3.5:1 on the cream ground — fails AA) and the
   entry's legibility text-shadow (axe reads a 1px unblurred shadow as an
   outline). Match the body-copy link treatment instead. */
/* .le-article p a (prototype/internal.css) outranks .cb-linking a; match it. */
.cb-linking a,
.cb-linking p a,
.le-article .cb-linking a {
    color: #0056b3;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 86, 179, 0.4);
    text-shadow: none;
    transition: color 0.2s ease, border-color 0.2s ease;
}
.cb-linking a:hover,
.cb-linking a:focus,
.le-article .cb-linking a:hover,
.le-article .cb-linking a:focus {
    color: #003d80;
    border-bottom-color: #003d80;
}
:root[data-theme="dark"] .cb-linking a,
:root[data-theme="dark"] .cb-linking p a,
:root[data-theme="dark"] .le-article .cb-linking a {
    color: rgb(140, 220, 255);
    border-bottom-color: rgba(140, 220, 255, 0.5);
}
:root[data-theme="dark"] .cb-linking a:hover,
:root[data-theme="dark"] .cb-linking a:focus,
:root[data-theme="dark"] .le-article .cb-linking a:hover,
:root[data-theme="dark"] .le-article .cb-linking a:focus {
    color: rgb(190, 230, 255);
    border-bottom-color: rgb(190, 230, 255);
}
/* Hub pages apply a legibility text-shadow to every descendant in dark mode
   (content-templates.css, .le-template-category *); outrank it here. */
:root[data-theme="dark"] .cb-linking-wrap .cb-linking a,
:root[data-theme="dark"] .cb-linking-wrap .cb-linking p a {
    text-shadow: none;
}
/* The sibling-cards eyebrow ("More Service Areas") is 11px accent text on the
   cream ground (3.5:1). Use the body-link blue in light mode. */
.le-related .le-eyebrow { color: #0056b3; }
:root[data-theme="dark"] .le-related .le-eyebrow { color: var(--le-brand-soft); }

/* Town Pages Careers Recruitment Note */
.cb-town-careers-note {
    margin: 2.25rem 0 0;
    padding: 1.25rem 1.5rem;
    border-radius: 6px;
    background: var(--le-panel-bg, rgba(2, 40, 108, 0.04));
    border: 1px solid var(--le-hairline-strong, rgba(2, 40, 108, 0.12));
}

:root[data-theme="dark"] .cb-town-careers-note {
    background: rgba(14, 28, 54, 0.65);
    border-color: rgba(225, 194, 113, 0.18);
}

.cb-town-careers-note__badge {
    display: inline-block;
    font-family: var(--le-mono, monospace);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--le-brand-gold, #c49a2c);
    background: rgba(196, 154, 44, 0.12);
    border: 1px solid rgba(196, 154, 44, 0.28);
    padding: 0.15rem 0.5rem;
    border-radius: 3px;
    margin-bottom: 0.5rem;
}

:root[data-theme="dark"] .cb-town-careers-note__badge {
    color: #e1c271;
    background: rgba(225, 194, 113, 0.12);
    border-color: rgba(225, 194, 113, 0.24);
}

.cb-town-careers-note__title {
    font-family: var(--le-serif, Georgia, serif);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 0.35rem;
    color: var(--le-ink, #001f3f);
}

:root[data-theme="dark"] .cb-town-careers-note__title {
    color: #f7f3ea;
}

.cb-town-careers-note__desc {
    font-size: 0.88rem;
    line-height: 1.5;
    margin: 0 0 0.75rem;
    color: var(--le-ink-soft, rgba(0, 31, 63, 0.75));
}

:root[data-theme="dark"] .cb-town-careers-note__desc {
    color: rgba(247, 243, 234, 0.75);
}

.cb-town-careers-note__link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--le-brand-deep, #02286c);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cb-town-careers-note__link:hover {
    color: var(--le-brand-gold, #c49a2c);
}

:root[data-theme="dark"] .cb-town-careers-note__link {
    color: #e1c271;
}

:root[data-theme="dark"] .cb-town-careers-note__link:hover {
    color: #f7f3ea;
}

/* Category Hub Directory Intro Lede */
.section-list__role-intro {
    max-width: 54rem;
    margin: 1.75rem auto 2.75rem;
    padding: 0 1.25rem;
    text-align: center;
}

.section-list__role-intro .lede {
    font-size: clamp(1.02rem, 1.4vw, 1.18rem);
    line-height: 1.7;
    color: var(--le-ink-soft, rgba(0, 31, 63, 0.8));
    margin: 0;
}

.section-list__role-intro a {
    color: var(--le-brand-deep, #02286c);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
}

.section-list__role-intro a:hover {
    color: var(--le-brand-gold, #c49a2c);
}

:root[data-theme="dark"] .section-list__role-intro .lede {
    color: rgba(247, 243, 234, 0.85);
}

:root[data-theme="dark"] .section-list__role-intro a {
    color: #e1c271;
}

:root[data-theme="dark"] .section-list__role-intro a:hover {
    color: #f7f3ea;
}

/* ============================================================
   Authoritative Coastal Standards & Canonical Topics
   ============================================================ */
.cb-canonical-topics {
  margin: 3.5rem 0 2rem;
  padding: 2.25rem;
  border-radius: 12px;
  background: var(--le-surface-soft);
  border: 1px solid var(--le-hairline-mid);
  position: relative;
  overflow: hidden;
}

.cb-canonical-topics__header {
  margin-bottom: 2rem;
}

.cb-canonical-topics__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--le-brand);
  margin-bottom: 0.5rem;
}

:root[data-theme="light"] .cb-canonical-topics__eyebrow {
  color: var(--le-brand-deep);
}

.cb-canonical-topics__title {
  margin: 0 0 0.75rem;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--le-ink);
}

.cb-canonical-topics__intro {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--le-ink-soft);
  max-width: 68ch;
}

.cb-canonical-topics__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.cb-canonical-topic-card {
  padding: 1.5rem;
  border-radius: 8px;
  background: var(--le-surface);
  border: 1px solid var(--le-hairline);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.cb-canonical-topic-card:hover {
  transform: translateY(-2px);
  border-color: var(--le-hairline-strong);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.cb-canonical-topic-card__header {
  margin-bottom: 0.75rem;
}

.cb-canonical-topic-card__category {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--le-coral);
  margin-bottom: 0.35rem;
}

:root[data-theme="light"] .cb-canonical-topic-card__category {
  color: var(--le-coral-deep);
}

.cb-canonical-topic-card__title {
  margin: 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--le-ink);
}

.cb-canonical-topic-card__summary {
  margin: 0.5rem 0 1.25rem;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--le-ink-mute);
  flex-grow: 1;
}

.cb-canonical-topic-card__action {
  margin-top: auto;
}

.cb-canonical-topic-card__link {
  display: inline-flex;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--le-brand-soft);
  text-decoration: none;
  transition: color 0.2s ease;
}

:root[data-theme="light"] .cb-canonical-topic-card__link {
  color: #0056b3;
}

.cb-canonical-topic-card__link:hover {
  text-decoration: underline;
}

/* E-E-A-T Technical Reviewer Plate */
.cb-eeat-reviewer {
  margin: 0 auto 2.5rem;
  max-width: var(--le-article-measure, 48rem);
  padding: 1.25rem 1.5rem;
  border-radius: 8px;
  background: var(--cb-panel-bg, rgba(14, 40, 58, 0.45));
  border: 1px solid var(--cb-card-border, rgba(225, 194, 113, 0.25));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

:root[data-theme="light"] .cb-eeat-reviewer {
  background: rgba(240, 245, 250, 0.85);
  border-color: rgba(8, 107, 148, 0.2);
}

.cb-eeat-reviewer__inner {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.cb-eeat-reviewer__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--cb-font-mono, monospace);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cb-gold, #e1c271);
}

:root[data-theme="light"] .cb-eeat-reviewer__badge {
  color: var(--cb-navy, #086b94);
}

.cb-eeat-reviewer__title {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--cb-text-primary, #ffffff);
}

:root[data-theme="light"] .cb-eeat-reviewer__title {
  color: #0b1f2d;
}

.cb-eeat-reviewer__license {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  background: rgba(225, 194, 113, 0.15);
  border: 1px solid rgba(225, 194, 113, 0.35);
  font-family: var(--cb-font-mono, monospace);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: var(--cb-gold, #e1c271);
}

:root[data-theme="light"] .cb-eeat-reviewer__license {
  background: rgba(8, 107, 148, 0.1);
  border-color: rgba(8, 107, 148, 0.25);
  color: var(--cb-navy, #086b94);
}

.cb-eeat-reviewer__text {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--cb-text-muted, rgba(255, 255, 255, 0.75));
}

:root[data-theme="light"] .cb-eeat-reviewer__text {
  color: #4a5d6e;
}

/* =========================================================================
   HOA & Architectural Compliance Tables & Badges
   ========================================================================= */

.cb-hoa-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  background: rgba(225, 194, 113, 0.12);
  border: 1px solid rgba(225, 194, 113, 0.3);
  font-family: var(--cb-font-mono, monospace);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cb-gold, #e1c271);
}

:root[data-theme="light"] .cb-hoa-badge {
  background: rgba(8, 107, 148, 0.08);
  border-color: rgba(8, 107, 148, 0.22);
  color: var(--cb-navy, #086b94);
}

.cb-specs-table-wrap,
.cb-hoa-table-wrap,
.cb-serial-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.75rem 0;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(11, 31, 45, 0.4);
}

:root[data-theme="light"] :is(.cb-specs-table-wrap, .cb-hoa-table-wrap, .cb-serial-table-wrap) {
  background: #f8fafc;
  border-color: rgba(8, 107, 148, 0.18);
}

.cb-specs-table,
.cb-hoa-table,
.cb-serial-table {
  width: 100%;
  min-width: 580px;
  border-collapse: collapse;
  font-size: 0.92rem;
  line-height: 1.5;
  text-align: left;
}

.cb-specs-table th,
.cb-hoa-table th,
.cb-serial-table th,
.cb-hoa-th {
  padding: 0.85rem 1rem;
  font-family: var(--cb-font-mono, monospace);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--cb-gold, #e1c271);
}

:root[data-theme="light"] :is(.cb-specs-table th, .cb-hoa-table th, .cb-serial-table th, .cb-hoa-th) {
  background: rgba(8, 107, 148, 0.08);
  border-bottom-color: rgba(8, 107, 148, 0.2);
  color: var(--cb-navy, #086b94);
}

.cb-specs-table td,
.cb-hoa-table td,
.cb-serial-table td,
.cb-hoa-td {
  padding: 0.85rem 1rem;
  vertical-align: top;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--cb-text-primary, #ffffff);
}

:root[data-theme="light"] :is(.cb-specs-table td, .cb-hoa-table td, .cb-serial-table td, .cb-hoa-td) {
  border-bottom-color: rgba(0, 0, 0, 0.08);
  color: #1a2a36;
}

.cb-specs-table tr:last-child td,
.cb-hoa-table tr:last-child td,
.cb-serial-table tr:last-child td {
  border-bottom: none;
}

.cb-specs-table tr:hover,
.cb-hoa-table tr:hover,
.cb-serial-table tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

:root[data-theme="light"] :is(.cb-specs-table tr:hover, .cb-hoa-table tr:hover, .cb-serial-table tr:hover) {
  background: rgba(8, 107, 148, 0.03);
}

/* ============================================================
   Category Children & Interior Article Vertical Rhythm & Spacing
   Refines vertical whitespace across all category child templates
   (Services, Areas, Articles, Case Studies, Tools), collapses doubled
   sibling gaps, and aligns Recent Projects container width.
   ============================================================ */

/* 1. Article body prose and generic article containers */
body.cb-role-internal .le-template-article .le-article {
  padding: clamp(24px, 3.5vw, 36px) 0;
}

@media (max-width: 600px) {
  body.cb-role-internal .le-template-article .le-article {
    padding: clamp(16px, 3vw, 24px) 16px;
  }
}

/* Collapse doubled spacing between consecutive .le-article containers */
body.cb-role-internal .le-template-article .le-article + .le-article {
  padding-top: 0;
}

/* 2. Top decorative ornament between fold cover and body */
body.cb-role-internal .le-template-article .le-ornament {
  padding: clamp(14px, 2vw, 22px) clamp(24px, 4vw, 64px);
}

/* 3. EEAT reviewer badge */
body.cb-role-internal .le-template-article .cb-eeat-reviewer {
  margin-bottom: clamp(14px, 2vw, 22px);
}

/* 4. Interactive Tools (Calculators & Serial Decoder) — consistent 1100px container */
body.cb-role-internal .le-template-article .le-article.cb-tool-wrap {
  max-width: 1100px !important;
  margin-inline: auto !important;
  padding-inline: clamp(1rem, 3vw, 2rem) !important;
  padding-top: clamp(10px, 1.5vw, 18px);
  padding-bottom: clamp(14px, 2vw, 24px);
}

body.cb-role-internal .le-template-article .cb-calc-container {
  margin-top: clamp(0.5rem, 1vw, 1rem) !important;
  margin-bottom: clamp(1rem, 2vw, 1.5rem) !important;
}

/* 5. Recent Projects (Case Studies Strip) — consistent 1100px regular container */
body.cb-role-internal .le-template-article .cb-case-studies-wrap {
  max-width: 1100px !important;
  margin-inline: auto !important;
  padding-inline: clamp(1rem, 3vw, 2rem) !important;
  margin-top: clamp(1.25rem, 2.5vw, 2rem);
  margin-bottom: clamp(0.75rem, 1.5vw, 1.25rem);
  padding-top: 0;
  padding-bottom: 0;
}

body.cb-role-internal .le-template-article .cb-case-studies-wrap .cs-strip {
  max-width: 100% !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-inline: 0 !important;
  padding-top: clamp(16px, 2vw, 24px) !important;
  border-top: 1px solid var(--le-hairline, rgba(255, 255, 255, 0.1));
}

/* 6. FAQ Block on category children / article pages — consistent 1100px container */
body.cb-role-internal .le-template-article .builder-block.faq-block {
  padding-block: clamp(1.5rem, 3vw, 2.5rem) !important;
}

body.cb-role-internal .le-template-article .builder-block.faq-block .container {
  max-width: 1100px !important;
  margin-inline: auto !important;
  padding-inline: clamp(1rem, 3vw, 2rem) !important;
}

body.cb-role-internal .le-template-article .faq-block__header {
  margin-bottom: clamp(1rem, 1.8vw, 1.5rem) !important;
}

body.cb-role-internal .le-template-article :is(.cb-case-studies-wrap + .faq-block, .le-article + .faq-block) {
  margin-top: 0;
}

/* 7. Canonical Topics — follows 760px article reading measure */
body.cb-role-internal .le-template-article .le-article.cb-canonical-topics-wrap {
  padding-top: clamp(12px, 1.8vw, 20px);
  padding-bottom: clamp(12px, 1.8vw, 20px);
}

body.cb-role-internal .le-template-article .cb-canonical-topics {
  margin-top: clamp(0.75rem, 1.5vw, 1.25rem);
  margin-bottom: clamp(0.75rem, 1.5vw, 1.25rem);
  padding: clamp(1.25rem, 2.5vw, 1.85rem);
}

body.cb-role-internal .le-template-article .cb-canonical-topics__header {
  margin-bottom: clamp(0.85rem, 1.8vw, 1.35rem);
}

/* 8. Linking Modules — follows 760px article reading measure */
body.cb-role-internal .le-template-article .le-article.cb-linking-wrap {
  padding-top: clamp(12px, 1.8vw, 20px);
  padding-bottom: clamp(18px, 2.5vw, 28px);
}

/* 9. Prev / Next Navigation — consistent 1100px container */
body.cb-role-internal .le-template-article .le-prevnext {
  max-width: 1100px !important;
  margin-inline: auto !important;
  padding-inline: clamp(1rem, 3vw, 2rem) !important;
}

body.cb-role-internal .le-template-article .le-prevnext a {
  padding-top: clamp(14px, 2vw, 20px);
  padding-bottom: clamp(14px, 2vw, 20px);
}

/* 10. Related Pages Strip — consistent 1100px container */
body.cb-role-internal .le-template-article .le-related {
  max-width: 1100px !important;
  margin-inline: auto !important;
  padding-inline: clamp(1rem, 3vw, 2rem) !important;
  padding-block: clamp(20px, 3vw, 32px) !important;
}

body.cb-role-internal .le-template-article .le-related .le-mag-grid {
  max-width: 100% !important;
  padding-inline: 0 !important;
}

body.cb-role-internal .le-template-article .le-related .le-heading-cluster {
  margin-bottom: clamp(1rem, 2vw, 1.75rem);
}

/* Related cards & motif hover behavior:
   Do NOT physically shift card padding, letter-spacing, or displace layout on hover.
   Zoom in-place, adjust color/opacity without changing geometric bounds. */
body.cb-role-internal :is(.le-related, .section-list) .le-mag-card:hover {
  padding-left: 0 !important;
  transform: none !important;
}

body.cb-role-internal :is(.le-related, .section-list) .le-mag-card .le-mag-mark {
  position: absolute !important;
  right: clamp(16px, 3vw, 36px) !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  pointer-events: none !important;
  transition: opacity 0.3s ease, color 0.3s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

body.cb-role-internal :is(.le-related, .section-list) .le-mag-card:hover .le-mag-mark {
  transform: translateY(-50%) scale(1.06) !important;
  opacity: 0.88 !important;
  color: var(--cb-gold, #c19a54) !important;
}

:root[data-theme="light"] body.cb-role-internal :is(.le-related, .section-list) .le-mag-card:hover .le-mag-mark {
  color: var(--brand-blue, #003366) !important;
  opacity: 0.82 !important;
}

body.cb-role-internal :is(.le-related, .section-list) .le-mag-card:hover .le-mag-arrow {
  letter-spacing: inherit !important;
}

/* 11. Schedule / Contact Form Section — consistent 1100px container */
body.cb-role-internal .le-template-article .contact-cta.cb-luxe-contact {
  padding-block: clamp(2.5rem, 4.5vw, 3.75rem) clamp(2.5rem, 4.5vw, 3.75rem) !important;
}

body.cb-role-internal .le-template-article .contact-cta .contact-cta__inner {
  max-width: 1100px !important;
  margin-inline: auto !important;
  padding-inline: clamp(1rem, 3vw, 2rem) !important;
}

body.cb-role-internal .le-template-article .contact-cta__header {
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

body.cb-role-internal .le-template-article .contact-cta__trust {
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

/* =========================================================================
   Coastal Intelligence Brief & In-Guide Quick Navigation
   ========================================================================= */

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Scroll clearance beneath sticky navigation header */
body.cb-role-internal h2[id],
body.cb-role-internal #article-brief,
body.cb-role-internal #coastal-serial-decoder,
body.cb-role-internal #coastal-tonnage-calculator,
body.cb-role-internal #coastal-lifespan-calculator,
body.cb-role-internal .cb-eeat-reviewer {
  scroll-margin-top: calc(var(--nav-h, 104px) + 24px);
}

body.cb-role-internal .le-entry--tool [data-cb-tool]:focus {
  outline: 3px solid var(--cb-gold, #e1c271);
  outline-offset: 4px;
}

:root[data-theme="light"] body.cb-role-internal .le-entry--tool [data-cb-tool]:focus {
  outline-color: var(--cb-navy, #086b94);
}

/* In-Guide Quick-Jump Anchor Rail (Cover ABF) */
.cb-brief-rail {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 1.15rem 0 1.25rem 0;
  position: relative;
  z-index: 3;
}

.cb-brief-rail__label {
  display: inline-block;
  font-family: var(--cb-font-mono, monospace);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cb-gold, #e1c271);
  white-space: nowrap;
  padding-top: 0.28rem;
  flex-shrink: 0;
}

:root[data-theme="light"] .cb-brief-rail__label {
  color: var(--cb-navy, #086b94);
}

.cb-brief-rail__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.55rem;
  align-items: center;
}

.cb-brief-rail__link {
  display: inline-flex;
  align-items: center;
  font-family: var(--cb-font-mono, monospace);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--cb-text-subtle, rgba(255, 255, 255, 0.85));
  text-decoration: none;
  line-height: 1.35;
  transition: all 0.18s ease;
}

.cb-brief-rail__link:hover {
  background: rgba(225, 194, 113, 0.18);
  border-color: rgba(225, 194, 113, 0.5);
  color: var(--cb-gold, #e1c271);
  transform: translateY(-1px);
}

:root[data-theme="light"] .cb-brief-rail__link {
  background: rgba(8, 107, 148, 0.06);
  border-color: rgba(8, 107, 148, 0.22);
  color: #24384c;
}

:root[data-theme="light"] .cb-brief-rail__link:hover {
  background: rgba(8, 107, 148, 0.14);
  border-color: var(--cb-navy, #086b94);
  color: var(--cb-navy, #086b94);
}

.cb-brief-rail__link--brief {
  background: rgba(225, 194, 113, 0.14);
  border-color: rgba(225, 194, 113, 0.4);
  color: var(--cb-gold, #e1c271);
  font-weight: 600;
}

:root[data-theme="light"] .cb-brief-rail__link--brief {
  background: rgba(8, 107, 148, 0.12);
  border-color: rgba(8, 107, 148, 0.35);
  color: var(--cb-navy, #086b94);
  font-weight: 600;
}

.cb-brief-rail--tool {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-block: 10px 14px !important;
}

.cb-brief-rail--tool .cb-brief-rail__label {
  font-family: var(--font-sans, "Plus Jakarta Sans", sans-serif) !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: var(--cb-gold, #a88438) !important;
  padding-top: 0 !important;
}

:root[data-theme="light"] .cb-brief-rail--tool .cb-brief-rail__label {
  color: #086b94 !important;
}

.cb-brief-rail__link--tool {
  font-family: var(--font-sans, "Plus Jakarta Sans", sans-serif) !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.03em !important;
  text-transform: uppercase !important;
  padding: 5px 14px !important;
  border-radius: 9999px !important;
  background: rgba(225, 194, 113, 0.22) !important;
  border: 1px solid rgba(225, 194, 113, 0.5) !important;
  color: var(--cb-gold, #e1c271) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) !important;
  transition: all 0.18s ease !important;
}

:root[data-theme="light"] .cb-brief-rail__link--tool {
  background: rgba(8, 107, 148, 0.1) !important;
  border-color: rgba(8, 107, 148, 0.3) !important;
  color: var(--cb-navy, #086b94) !important;
  box-shadow: 0 2px 6px rgba(8, 107, 148, 0.1) !important;
}

.cb-brief-rail--tool .cb-brief-rail__details > summary {
  font-family: var(--font-sans, "Plus Jakarta Sans", sans-serif) !important;
  font-size: 0.78rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.02em !important;
  padding: 4px 10px !important;
  cursor: pointer;
  color: var(--cb-text-subtle, rgba(255, 255, 255, 0.85));
  line-height: 1.35;
}

:root[data-theme="light"] .cb-brief-rail--tool .cb-brief-rail__details > summary {
  color: #24384c;
}

.cb-brief-rail__details > summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.cb-brief-rail__details[open] {
  flex-basis: 100%;
}

.cb-brief-rail__guide-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.55rem;
  margin-top: 0.55rem;
}

@media (max-width: 640px) {
  .cb-brief-rail {
    flex-direction: column;
    gap: 0.45rem;
    margin: 0.85rem 0 1rem 0;
  }
}

/* Coastal Intelligence Brief (Card in Article Shell) */
.cb-brief {
  margin: 0 auto clamp(20px, 3vw, 32px) auto;
  width: 100%;
  max-width: var(--le-measure, 760px);
  border-radius: 8px;
  border: 1px solid rgba(225, 194, 113, 0.32);
  background: rgba(14, 25, 38, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  position: relative;
  z-index: 3;
}

:root[data-theme="light"] .cb-brief {
  border-color: rgba(8, 107, 148, 0.28);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 30px rgba(8, 107, 148, 0.08);
}

.cb-brief__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid rgba(225, 194, 113, 0.22);
  background: rgba(225, 194, 113, 0.08);
}

:root[data-theme="light"] .cb-brief__header {
  border-bottom-color: rgba(8, 107, 148, 0.16);
  background: rgba(8, 107, 148, 0.06);
}

.cb-brief__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--cb-font-mono, monospace);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cb-gold, #e1c271);
}

:root[data-theme="light"] .cb-brief__badge {
  color: var(--cb-navy, #086b94);
}

.cb-brief__icon {
  flex-shrink: 0;
}

.cb-brief__meta {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  font-family: var(--cb-font-mono, monospace);
  font-size: 0.72rem;
  color: var(--cb-text-muted, rgba(255, 255, 255, 0.68));
}

:root[data-theme="light"] .cb-brief__meta {
  color: #556c7d;
}

.cb-brief__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.cb-brief__meta-item--standard strong {
  color: var(--cb-gold, #e1c271);
  font-weight: 600;
}

:root[data-theme="light"] .cb-brief__meta-item--standard strong {
  color: var(--cb-navy, #086b94);
}

.cb-brief__body {
  padding: clamp(1.1rem, 2.2vw, 1.6rem) clamp(1.2rem, 2.5vw, 1.75rem);
}

.cb-brief__heading {
  font-family: var(--cb-font-serif, "Cinzel", Georgia, serif);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0 0 1.1rem 0;
  color: #ffffff;
  line-height: 1.35;
}

:root[data-theme="light"] .cb-brief__heading {
  color: #0b1a26;
}

.cb-brief__takeaways {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.cb-brief__item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--cb-text-muted, rgba(255, 255, 255, 0.82));
}

:root[data-theme="light"] .cb-brief__item {
  color: #334454;
}

.cb-brief__bullet {
  color: var(--cb-gold, #e1c271);
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
  padding-top: 0.15rem;
}

:root[data-theme="light"] .cb-brief__bullet {
  color: var(--cb-navy, #086b94);
}

.cb-brief__item-text strong {
  color: #ffffff;
  font-weight: 600;
}

:root[data-theme="light"] .cb-brief__item-text strong {
  color: #0b1a26;
}

/* Tool & Action Bridge inside Brief */
.cb-brief__bridge {
  margin-top: 1.35rem;
  padding-top: 1.2rem;
  border-top: 1px dashed rgba(225, 194, 113, 0.28);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}

:root[data-theme="light"] .cb-brief__bridge {
  border-top-color: rgba(8, 107, 148, 0.22);
}

.cb-brief__bridge-content {
  flex: 1 1 300px;
}

.cb-brief__bridge-eyebrow {
  display: block;
  font-family: var(--cb-font-mono, monospace);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cb-gold, #e1c271);
  margin-bottom: 0.3rem;
}

:root[data-theme="light"] .cb-brief__bridge-eyebrow {
  color: var(--cb-navy, #086b94);
}

.cb-brief__bridge-title {
  margin: 0 0 0.3rem 0;
  font-size: 0.98rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.35;
}

:root[data-theme="light"] .cb-brief__bridge-title {
  color: #0b1a26;
}

.cb-brief__bridge-desc {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--cb-text-muted, rgba(255, 255, 255, 0.72));
  max-width: 460px;
}

:root[data-theme="light"] .cb-brief__bridge-desc {
  color: #4f6373;
}

.cb-brief__bridge-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.15rem;
  border-radius: 5px;
  background: linear-gradient(135deg, rgba(225, 194, 113, 0.22) 0%, rgba(225, 194, 113, 0.1) 100%);
  border: 1px solid rgba(225, 194, 113, 0.45);
  color: var(--cb-gold, #e1c271);
  font-family: var(--cb-font-mono, monospace);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.cb-brief__bridge-btn:hover {
  background: linear-gradient(135deg, rgba(225, 194, 113, 0.35) 0%, rgba(225, 194, 113, 0.18) 100%);
  border-color: var(--cb-gold, #e1c271);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(225, 194, 113, 0.25);
}

:root[data-theme="light"] .cb-brief__bridge-btn {
  background: linear-gradient(135deg, rgba(8, 107, 148, 0.12) 0%, rgba(8, 107, 148, 0.05) 100%);
  border-color: rgba(8, 107, 148, 0.35);
  color: var(--cb-navy, #086b94);
}

:root[data-theme="light"] .cb-brief__bridge-btn:hover {
  background: var(--cb-navy, #086b94);
  border-color: var(--cb-navy, #086b94);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(8, 107, 148, 0.2);
}

@media (max-width: 640px) {
  .cb-brief__bridge {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .cb-brief__bridge-btn {
    justify-content: center;
    width: 100%;
    padding: 0.75rem 1rem;
  }
}

/* ==========================================================================
   Restored Full-Width ABF Hero Layout & Scaling (Interior, Category & Role Templates)
   Spans full hero width matching category templates, with TOC/index breaking to aside
   ========================================================================== */

/* Full-width 2-column grid layout for interior article le-cover elements */
body.cb-role-internal .le.le-template-article .le-article-abf > .le-cover:not(.le-cover--tool),
:is(.le-template-article, .cb-career-role) .le-cover:not(.le-cover--tool) {
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr) !important;
  column-gap: clamp(32px, 4.5vw, 64px) !important;
  row-gap: 20px !important;
  align-items: center !important;
  justify-content: stretch !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-inline: 0 !important;
  box-sizing: border-box !important;
  padding: calc(var(--nav-h, 104px) + 28px) var(--le-abf-pad-x) clamp(28px, 5vh, 56px) !important;
}

:is(.le-template-article, .cb-career-role) .le-cover:not(.le-cover--tool) .le-cover-text {
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: clamp(12px, 1.6vh, 20px) !important;
  align-self: center !important;
  z-index: 4 !important;
}

:is(.le-template-article, .cb-career-role) .le-cover:not(.le-cover--tool) .le-cover-text .le-cover-cta {
  margin: 0 !important;
}

:is(.le-template-article, .cb-career-role) .le-cover:not(.le-cover--tool) .le-cover-text .le-cover-meta {
  padding-top: 14px !important;
  border-top: 1px solid var(--le-hairline) !important;
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
  flex-wrap: wrap !important;
}

:is(.le-template-article, .cb-career-role) .le-cover:not(.le-cover--tool) .le-cover-aside {
  min-width: 0 !important;
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  gap: clamp(12px, 1.6vh, 20px) !important;
  align-self: center !important;
  z-index: 4 !important;
}

/* Adaptive Headline Scaling across Article and Category Templates */
:is(.le-template-article, .le-template-category) .le-cover:not(.le-cover--tool) :is(.le-cover-h1, h1) {
  font-family: 'Cormorant Garamond', var(--font-display-serif, serif) !important;
  font-weight: 400 !important;
  line-height: 1.02 !important;
  letter-spacing: -0.02em !important;
  margin: 0 0 clamp(8px, 1.2vh, 16px) !important;
  text-wrap: balance !important;
  color: var(--le-ink, #ffffff) !important;
  text-shadow: var(--le-home-outline-soft) !important;
}

:root[data-theme="light"] :is(.le-template-article, .le-template-category) .le-cover:not(.le-cover--tool) :is(.le-cover-h1, h1) {
  color: #12283a !important;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8) !important;
}

/* Baseline / Short Titles (< 36 characters) */
:is(.le-template-article, .le-template-category) .le-cover:not(.le-cover--tool) :is(.le-cover-h1, h1) {
  font-size: clamp(38px, 4.6vw, 68px) !important;
}

/* Medium Titles (36 - 60 characters) */
:is(.le-template-article, .le-template-category) .le-cover:not(.le-cover--tool) :is(.le-cover-h1.le-cover-h1--medium, h1.le-cover-h1--medium) {
  font-size: clamp(30px, 3.8vw, 54px) !important;
  line-height: 1.04 !important;
}

/* Long Titles (> 60 characters, e.g. Geothermal 86 chars) */
:is(.le-template-article, .le-template-category) .le-cover:not(.le-cover--tool) :is(.le-cover-h1.le-cover-h1--long, h1.le-cover-h1--long) {
  font-size: clamp(20px, 2.25vw, 32px) !important;
  line-height: 1.15 !important;
  letter-spacing: -0.015em !important;
  margin-bottom: 12px !important;
}

/* Articles with In-Guide Quick Jump Rail (e.g. Geothermal): Full-width header, 2-column split with paragraph on left and TOC over blueprint diagram on right */
body.cb-role-internal .le.le-template-article .le-article-abf > .le-cover.le-cover--has-brief,
:is(.le-template-article, .cb-career-role) .le-cover.le-cover--has-brief,
:is(.le-template-article, .cb-career-role) .le-cover:has(.cb-brief-rail) {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: clamp(24px, 3.5vh, 36px) !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-inline: 0 !important;
  padding: calc(var(--nav-h, 104px) + 20px) var(--le-abf-pad-x) 24px !important;
  box-sizing: border-box !important;
}

.le-cover--has-brief .le-cover-header {
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

.le-cover--has-brief .le-cover-header .le-crumbs {
  margin-bottom: 0 !important;
}

:is(.le-template-article, .cb-career-role) .le-cover.le-cover--has-brief .le-cover-header .le-cover-h1,
.le-cover--has-brief .le-cover-header :is(.le-cover-h1, h1) {
  font-family: 'Cormorant Garamond', var(--font-display-serif, serif) !important;
  font-size: clamp(38px, 4.4vw, 56px) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.02em !important;
  font-weight: 400 !important;
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  text-wrap: balance !important;
  color: var(--le-ink, #ffffff) !important;
}

:root[data-theme="light"] :is(.le-template-article, .cb-career-role) .le-cover.le-cover--has-brief .le-cover-header .le-cover-h1,
:root[data-theme="light"] .le-cover--has-brief .le-cover-header :is(.le-cover-h1, h1) {
  color: #12283a !important;
}

/* 2-Column Split: Both columns start at the exact same top guideline */
.le-cover--has-brief .le-cover-split {
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.15fr) !important;
  column-gap: clamp(36px, 4.5vw, 64px) !important;
  align-items: start !important;
  width: 100% !important;
}

/* Left column */
body.cb-role-internal .le.le-template-article .le-article-abf > .le-cover.le-cover--has-brief .le-cover-text,
:is(.le-template-article, .cb-career-role) .le-cover.le-cover--has-brief .le-cover-text,
.le-cover--has-brief .le-cover-split .le-cover-text {
  align-self: start !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 22px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.le-cover--has-brief .le-cover-split .lede {
  margin: 0 !important;
  padding: 0 !important;
  font-size: clamp(17px, 1.25vw, 21px) !important;
  line-height: 1.48 !important;
  color: var(--le-ink-dim, rgba(255, 255, 255, 0.85)) !important;
}

:root[data-theme="light"] .le-cover--has-brief .le-cover-split .lede {
  color: #24425a !important;
}

.le-cover--has-brief .le-cover-split .le-cover-meta {
  margin-top: 0 !important;
  padding-top: 16px !important;
  border-top: 1px solid var(--le-hairline) !important;
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
  flex-wrap: wrap !important;
}

/* Right column: Blueprint diagram background with Table of Contents in front */
body.cb-role-internal .le.le-template-article .le-article-abf > .le-cover.le-cover--has-brief .le-cover-aside,
:is(.le-template-article, .cb-career-role) .le-cover.le-cover--has-brief .le-cover-aside,
.le-cover--has-brief .le-cover-split .le-cover-aside {
  align-self: start !important;
  position: relative !important;
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Blueprint Diagram Frame & SVG as Background */
.le-cover--has-brief .le-cover-split .le-cover-aside .le-diagram {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  z-index: 1 !important;
  opacity: 0.60 !important;
  pointer-events: none !important;
  overflow: hidden !important;
  border-radius: 14px !important;
}

.le-cover--has-brief .le-cover-split .le-cover-aside .le-diagram .le-diagram-frame {
  width: 100% !important;
  height: 100% !important;
  border-radius: 14px !important;
  border: 1px dashed rgba(8, 107, 148, 0.35) !important;
  background: rgba(255, 252, 244, 0.25) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}

:root[data-theme="dark"] .le-cover--has-brief .le-cover-split .le-cover-aside .le-diagram .le-diagram-frame {
  border-color: rgba(255, 255, 255, 0.20) !important;
  background: rgba(12, 38, 64, 0.25) !important;
}

.le-cover--has-brief .le-cover-split .le-cover-aside .le-diagram .le-diagram-svg {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  opacity: 0.75 !important;
  display: block !important;
}

/* Roomy, unsquashed Table of Contents card */
.le-cover--has-brief .le-cover-split .le-cover-aside .cb-brief-rail {
  position: relative !important;
  top: 0 !important;
  left: 0 !important;
  transform: none !important;
  z-index: 2 !important;
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  background: rgba(255, 252, 244, 0.65) !important;
  border: 1px solid rgba(8, 107, 148, 0.25) !important;
  border-radius: 14px !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  box-shadow: 0 10px 32px rgba(8, 107, 148, 0.10), 0 2px 8px rgba(0, 0, 0, 0.04) !important;
  padding: 18px 24px 20px !important;
  box-sizing: border-box !important;
}

:root[data-theme="dark"] .le-cover--has-brief .le-cover-split .le-cover-aside .cb-brief-rail {
  background: rgba(12, 38, 64, 0.65) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  box-shadow: 0 10px 32px rgba(0, 8, 24, 0.50) !important;
}

.le-cover--has-brief .le-cover-split .le-cover-aside .cb-brief-rail .cb-brief-rail__head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  padding-bottom: 8px !important;
  margin-bottom: 12px !important;
  border-bottom: 1px solid rgba(8, 107, 148, 0.18) !important;
}

:root[data-theme="dark"] .le-cover--has-brief .le-cover-split .le-cover-aside .cb-brief-rail .cb-brief-rail__head {
  border-bottom-color: rgba(255, 255, 255, 0.15) !important;
}

.le-cover--has-brief .le-cover-split .le-cover-aside .cb-brief-rail .cb-brief-rail__label {
  font-family: var(--font-sans, "Plus Jakarta Sans", sans-serif) !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--cb-navy, #086b94) !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
}

:root[data-theme="dark"] .le-cover--has-brief .le-cover-split .le-cover-aside .cb-brief-rail .cb-brief-rail__label {
  color: var(--cb-gold, #e1c271) !important;
}

.le-cover--has-brief .le-cover-split .le-cover-aside .cb-brief-rail .cb-brief-rail__links {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  column-gap: 24px !important;
  row-gap: 8px !important;
  width: 100% !important;
}

.le-cover--has-brief .le-cover-split .le-cover-aside .cb-brief-rail .cb-brief-rail__link {
  font-family: var(--font-sans, "Plus Jakarta Sans", sans-serif) !important;
  font-size: 0.78rem !important;
  line-height: 1.38 !important;
  font-weight: 500 !important;
  color: #12283a !important;
  text-decoration: none !important;
  background: transparent !important;
  border: none !important;
  padding: 3px 6px !important;
  border-radius: 4px !important;
  display: flex !important;
  align-items: baseline !important;
  gap: 7px !important;
  transition: background 0.15s ease, color 0.15s ease !important;
}

.le-cover--has-brief .le-cover-split .le-cover-aside .cb-brief-rail .cb-brief-rail__link .cb-brief-rail__num {
  font-family: 'Cormorant Garamond', var(--font-display-serif, serif) !important;
  font-style: italic !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  line-height: 1 !important;
  color: var(--cb-navy, #086b94) !important;
  flex-shrink: 0 !important;
  min-width: 1.3em !important;
}

:root[data-theme="dark"] .le-cover--has-brief .le-cover-split .le-cover-aside .cb-brief-rail .cb-brief-rail__link .cb-brief-rail__num {
  color: var(--cb-gold, #e1c271) !important;
}

.le-cover--has-brief .le-cover-split .le-cover-aside .cb-brief-rail .cb-brief-rail__link .cb-brief-rail__text {
  flex: 1 1 auto !important;
}

:root[data-theme="light"] .le-cover--has-brief .le-cover-split .le-cover-aside .cb-brief-rail .cb-brief-rail__link {
  color: #12283a !important;
  background: transparent !important;
  border: none !important;
}

.le-cover--has-brief .le-cover-split .le-cover-aside .cb-brief-rail .cb-brief-rail__link:hover {
  color: var(--cb-navy, #086b94) !important;
  background: rgba(8, 107, 148, 0.08) !important;
  text-decoration: none !important;
}

:root[data-theme="dark"] .le-cover--has-brief .le-cover-split .le-cover-aside .cb-brief-rail .cb-brief-rail__link {
  color: rgba(255, 255, 255, 0.88) !important;
  background: transparent !important;
  border: none !important;
}

:root[data-theme="dark"] .le-cover--has-brief .le-cover-split .le-cover-aside .cb-brief-rail .cb-brief-rail__link:hover {
  color: var(--cb-gold, #e1c271) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  text-decoration: none !important;
}

.le-cover--has-brief .le-cover-split .le-cover-aside .cb-brief-rail .cb-brief-rail__link--brief {
  grid-column: 1 / -1 !important;
  margin-top: 6px !important;
  padding: 6px 8px !important;
  border-top: 1px dashed rgba(8, 107, 148, 0.20) !important;
  border-bottom: none !important;
  border-left: none !important;
  border-right: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  font-weight: 600 !important;
  justify-content: center !important;
  color: var(--cb-navy, #086b94) !important;
}

:root[data-theme="light"] .le-cover--has-brief .le-cover-split .le-cover-aside .cb-brief-rail .cb-brief-rail__link--brief {
  color: var(--cb-navy, #086b94) !important;
  background: transparent !important;
  border-top: 1px dashed rgba(8, 107, 148, 0.20) !important;
}

:root[data-theme="dark"] .le-cover--has-brief .le-cover-split .le-cover-aside .cb-brief-rail .cb-brief-rail__link--brief {
  border-top-color: rgba(255, 255, 255, 0.15) !important;
  color: var(--cb-gold, #e1c271) !important;
  background: transparent !important;
}

/* Mobile & Tablet Responsiveness for Brief Articles */
@media (max-width: 900px) {
  .le-cover--has-brief .le-cover-split {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .le-cover--has-brief .le-cover-split .le-cover-aside {
    display: block !important;
  }
  .le-cover--has-brief .le-cover-split .le-cover-aside .le-diagram {
    display: none !important;
  }
  .le-cover--has-brief .le-cover-split .le-cover-aside .cb-brief-rail {
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 16px 18px !important;
  }
  .le-cover--has-brief .le-cover-split .le-cover-aside .cb-brief-rail .cb-brief-rail__links {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
}

/* Category Volume Index in Right Column */
.le-cover-aside .le-cover-meta {
  padding-top: 0 !important;
  border-top: none !important;
  width: 100% !important;
}

.le-cover-aside .le-cover-index {
  margin: 0 !important;
  padding: 10px 14px !important;
  background: rgba(12, 38, 64, 0.55) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 8px !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  box-shadow: 0 4px 20px rgba(0, 8, 24, 0.35) !important;
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 6px 12px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

:root[data-theme="light"] .le-cover-aside .le-cover-index {
  background: rgba(255, 255, 255, 0.85) !important;
  border-color: rgba(8, 107, 148, 0.22) !important;
  box-shadow: 0 4px 18px rgba(8, 107, 148, 0.08) !important;
}

/* Technical Diagram in Right Column */
.le-cover-aside .le-diagram {
  margin: 0 !important;
  width: 100% !important;
}

/* Mobile & Tablet Responsiveness */
@media (max-width: 900px) {
  body.cb-role-internal .le.le-template-article .le-article-abf > .le-cover:not(.le-cover--tool),
  :is(.le-template-article, .cb-career-role) .le-cover:not(.le-cover--tool) {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   Same-Day Dispatch Badges & Notes (Content & Tool Widgets)
   ───────────────────────────────────────────────────────────────────────────── */

/* Article Cover Dispatch Chip */
.le-cover-cta {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
}

.le-cover-dispatch-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--cb-font-mono, monospace);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 5px 11px;
  border-radius: 9999px;
  background: rgba(14, 44, 79, 0.07);
  color: #0e2c4f;
  border: 1px solid rgba(14, 44, 79, 0.16);
  white-space: normal;
  line-height: 1.35;
  text-wrap: balance;
}

.le-cover-dispatch-chip svg {
  flex-shrink: 0;
}

:root[data-theme="dark"] .le-cover-dispatch-chip {
  background: rgba(240, 210, 140, 0.1);
  color: #f0d28c;
  border-color: rgba(240, 210, 140, 0.25);
}

/* Homeowner Serial Tool Dispatch Banner */
.cb-tool-dispatch-banner {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(8, 107, 148, 0.06);
  border-left: 3px solid #086b94;
  border-radius: 6px;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--cb-text-secondary, #334155);
}

.cb-tool-dispatch-banner svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #086b94;
}

:root[data-theme="dark"] .cb-tool-dispatch-banner {
  background: rgba(110, 220, 255, 0.08);
  border-left-color: #6edcff;
  color: #cbd5e1;
}

:root[data-theme="dark"] .cb-tool-dispatch-banner svg {
  color: #6edcff;
}

/* Tonnage & Lifespan Calculator Action Card Dispatch Note */
.cb-action-cta-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cb-calc-dispatch-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--cb-text-muted, #64748b);
  line-height: 1.35;
}

.cb-calc-dispatch-note svg {
  flex-shrink: 0;
  color: #086b94;
}

:root[data-theme="dark"] .cb-calc-dispatch-note {
  color: #94a3b8;
}

:root[data-theme="dark"] .cb-calc-dispatch-note svg {
  color: #6edcff;
}

/* Tool guide tables expose keyboard scrolling and a theme-safe focus indicator. */
.cb-specs-table-wrap:focus-visible, .cb-serial-table-wrap:focus-visible {
  outline: 3px solid var(--cb-gold, #e1c271);
  outline-offset: 3px;
}
:root[data-theme="light"] :is(.cb-specs-table-wrap, .cb-serial-table-wrap):focus-visible {
  outline-color: var(--cb-navy, #086b94);
}
.cb-quick-summary-box {
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  border: 1px solid currentColor;
  border-radius: 8px;
}

/* Career opening: reserve the category strip at the foot of the viewport;
   the in-page menu starts the reading flow below that opening. */
body.cb-role-internal .le.le-template-article .le-entry--career .le-article-abf {
  grid-template-rows: minmax(0, 1fr) auto;
}
body.cb-role-internal .le.le-template-article .le-entry--career .le-article-abf > .le-cover {
  align-content: center !important;
}

/* Center the links as a group, including an incomplete final desktop row. */
@media (min-width: 1100px) {
  body.cb-role-internal .le .category-strip__items {
    display: flex !important;
    flex-wrap: wrap !important;
  }
  body.cb-role-internal .le .category-strip__item {
    flex: 0 0 auto !important;
    width: auto !important;
  }
}
body.cb-role-internal .le .category-strip__items:not([data-marquee-active="true"]) {
  justify-content: center !important;
  margin-inline: auto !important;
}
@media (max-width: 1099px) {
  body.cb-role-internal .le .category-strip__label {
    padding-top: 14px !important;
  }
}

/* Winter check: scoped HTML hidden wins over theme display utilities. */
/* Keep the reading surface stable while shared ornamental bands resize at load. */
:root:has(head link[rel="canonical"][href$="/heat-pump-winter-check"]) .coastal-page-bg { display: none; }
#cb-winter-check [hidden] { display: none !important; }
#cb-winter-check {
  background: var(--le-bg-soft, #f4efe2);
  color: var(--le-ink, #14243c);
  border: 1px solid var(--le-hairline-strong, #687586);
  border-radius: 12px;
  padding: clamp(16px, 3vw, 32px);
  max-width: 100%;
  box-sizing: border-box;
  font-size: 16px;
  line-height: 1.6;
  overflow-wrap: anywhere;
  scroll-margin-top: calc(var(--nav-h, 104px) + 20px);
}
#cb-winter-check *, #cb-winter-check *::before, #cb-winter-check *::after { box-sizing: border-box; }
#cb-winter-check p, #cb-winter-check label, #cb-winter-check legend, #cb-winter-check select,
#cb-winter-check input, #cb-winter-check button, #cb-winter-check li { font-size: 16px; line-height: 1.6; }
/* The sitewide form typography reset in content-templates.css (:root :is(... label, legend) with
   font-size: 0.92rem !important) also reached these safety and question labels, shrinking them to
   14.72px. The ID-scoped !important keeps this widget's 16px reading size without changing that reset. */
#cb-winter-check label, #cb-winter-check legend { font-size: 16px !important; }
#cb-winter-check h2, #cb-winter-check h3 { color: inherit; line-height: 1.25; }
#cb-winter-check h2 { font-size: clamp(26px, 4vw, 36px); margin: 0 0 16px; }
#cb-winter-check h3 { font-size: 23px; margin: 0 0 16px; }
#cb-winter-check p { margin: 0 0 16px; }
#cb-winter-check a { color: var(--le-brand, #075a80); text-decoration: underline; text-underline-offset: 3px; }
#cb-winter-check fieldset { min-width: 0; margin: 24px 0; border: 0; padding: 0; }
#cb-winter-check legend, #cb-winter-check .whc-field > label { display: block; font-weight: 700; margin-bottom: 8px; }
#cb-winter-check .whc-field { margin-bottom: 20px; }
#cb-winter-check .whc-field select, #cb-winter-check .whc-field input {
  display: block; width: 100%; max-width: 100%; min-width: 0; min-height: 48px;
  background: var(--le-bg-deep, #fff); color: var(--le-ink, #14243c);
  border: 1px solid var(--le-ink-faint, #687586); border-radius: 6px; padding: 10px 12px;
}
#cb-winter-check .whc-radio-label { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 0; cursor: pointer; }
#cb-winter-check input[type="radio"], #cb-winter-check input[type="checkbox"] { flex: 0 0 auto; width: 22px; height: 22px; accent-color: #07668e; }
#cb-winter-check .whc-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
#cb-winter-check .btn { min-height: 48px; max-width: 100%; white-space: normal; display: inline-flex; align-items: center; justify-content: center; padding: 10px 18px; margin: 4px 0; background: #075a80; color: #fff; border: 2px solid #075a80; border-radius: 6px; font-weight: 700; line-height: 1.4; cursor: pointer; }
#cb-winter-check .btn.whc-secondary { background: transparent; color: var(--le-ink, #14243c); border-color: var(--le-ink-faint, #687586); }
#cb-winter-check .whc-notice, #cb-winter-check .whc-result, #cb-winter-check .whc-cost,
#cb-winter-check .whc-danger, #cb-winter-check .whc-error-summary { border: 1px solid var(--le-ink-faint, #687586); padding: clamp(14px, 2vw, 24px); border-radius: 8px; margin: 20px 0; }
#cb-winter-check .whc-danger { background: #fff0ed; color: #6e180e; border: 2px solid #922312; }
#cb-winter-check .whc-error-summary { background: #fff0ed; color: #6e180e; border: 2px solid #922312; }
#cb-winter-check .whc-error-summary a { color: #6e180e; }
#cb-winter-check :is(.whc-danger, .whc-error-summary) { --le-ink: #6e180e; --le-ink-soft: #6e180e; }
:root[data-theme="light"] #cb-winter-check a { color: #075a80; }
body:has(#cb-winter-check) .cb-blueprint-spec[data-preview-tool="winter_heating_check"] .cb-blueprint-spec__clear { min-height: 32px; min-width: 44px; }
/* An opaque winter summary keeps its labels and controls readable over the page art. */
body:has(#cb-winter-check) .cb-blueprint-spec[data-preview-tool="winter_heating_check"] { background: var(--le-bg-soft, #ebe5d2); box-shadow: none; }
body:has(#cb-winter-check) .cb-blueprint-spec[data-preview-tool="winter_heating_check"] :is(.cb-blueprint-spec__subtitle, .cb-blueprint-spec__ref, .cb-blueprint-spec__label, .cb-blueprint-spec__note, .cb-blueprint-spec__clear) { color: var(--le-ink-soft, #324058); }
body:has(#cb-winter-check) .cb-blueprint-spec[data-preview-tool="winter_heating_check"] .cb-blueprint-spec__header { flex-wrap: wrap; }
body:has(#cb-winter-check) .cb-blueprint-spec[data-preview-tool="winter_heating_check"] :is(.cb-blueprint-spec__stamp, .cb-blueprint-spec__meta) { min-width: 0; max-width: 100%; flex-wrap: wrap; overflow-wrap: anywhere; }
body:has(#cb-winter-check) .cb-blueprint-spec[data-preview-tool="winter_heating_check"] .cb-blueprint-spec__stamp > div { min-width: 0; }
#cb-winter-check .whc-error { font-weight: 700; }
#cb-winter-check [aria-invalid="true"] { border: 2px solid #b72c18; }
#cb-winter-check :focus-visible, #cb-winter-check [tabindex="-1"]:focus { outline: 3px solid var(--le-ink, #14243c); outline-offset: 4px; }
#cb-winter-check .whc-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.cb-blueprint-spec__title[tabindex="-1"]:focus { outline: 3px solid currentColor; outline-offset: 4px; }
@media (max-width: 480px) { #cb-winter-check .whc-actions { display: grid; } #cb-winter-check .btn { width: 100%; } }
@media (prefers-reduced-motion: reduce) {
  #cb-winter-check *, #cb-winter-check *::before, #cb-winter-check *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  /* The unsent preview lives outside the widget. Its inherited entrance must
     also respect reduced motion before its title receives Include focus. */
  body:has(#cb-winter-check) .cb-blueprint-spec[data-preview-tool="winter_heating_check"] { animation: none !important; transition: none !important; }
}
@media (forced-colors: active) { #cb-winter-check, #cb-winter-check .btn, #cb-winter-check .whc-danger, #cb-winter-check .whc-error-summary { background: Canvas; color: CanvasText; border-color: CanvasText; } #cb-winter-check a { color: LinkText; } }
@media (forced-colors: active) { #cb-winter-check :is(.whc-danger, .whc-error-summary) { --le-ink: CanvasText; --le-ink-soft: CanvasText; } }
@media (forced-colors: active) { body:has(#cb-winter-check) .cb-blueprint-spec[data-preview-tool="winter_heating_check"] { --le-bg-soft: Canvas; --le-ink-soft: CanvasText; } }
@media print {
  /* Fixed page chrome repeats over printed guidance; keep this route-only. */
  body:has(#cb-winter-check) :is(.cb-nav, .cb-mobile-cro-bar) { display: none !important; }
  /* Screen text halos otherwise create repeated PDF text and obscure limits. */
  body:has(#cb-winter-check) * { text-shadow: none !important; filter: none !important; }
  #cb-winter-check, #cb-winter-check .whc-danger, #cb-winter-check .whc-error-summary { background: #fff !important; color: #000 !important; border-color: #000 !important; }
  #cb-winter-check a { color: #000 !important; }
  #cb-winter-check .btn, #cb-winter-check #whc-conflict { display: none !important; }
  #cb-winter-check h2, #cb-winter-check h3 { break-after: avoid; }
}

/* Align homeowner-tool page sections to the existing article hero foreground.
   The public comparator guide is a sibling; the local one is nested in the tool. */
body.cb-role-internal .le.le-template-article .le-entry--tool :is(
  .le-article.cb-tool-wrap,
  .le-article.rich-text,
  .le-article.cb-canonical-topics-wrap,
  .le-article.cb-linking-wrap,
  .cb-case-studies-wrap,
  .faq-block .container,
  .le-prevnext,
  .le-related,
  .le-article-abf > .hsc-guide
),
body.cb-role-internal .le.le-template-article .le-entry--tool ~ .contact-cta .contact-cta__inner {
  box-sizing: border-box;
  min-width: 0;
  width: 100% !important;
  max-width: calc(100vw - var(--le-abf-pad-x) - var(--le-abf-pad-x)) !important;
  margin-inline: auto !important;
  padding-inline: 0 !important;
}

body.cb-role-internal .le.le-template-article .le-entry--tool ~ .contact-cta {
  box-sizing: border-box;
  padding-inline: var(--le-abf-pad-x) !important;
}

@media (max-width: 360px) {
  .le-entry--tool #calc-mode {
    padding-inline-start: 8px;
    padding-inline-end: 24px;
  }
}

/* ==========================================================================
   Resources & Engineering Library Hub (/resources)
   ========================================================================== */

body.cb-role-internal .le.le-template-article .le-entry--resources .le-article-abf {
  min-height: auto !important;
  height: auto !important;
}

body.cb-role-internal .le.le-template-article .le-entry--resources .cb-resources-jump,
body.cb-role-internal .le.le-template-article .le-entry--resources .cb-resources-tools-section,
body.cb-role-internal .le.le-template-article .le-entry--resources .cb-resources-section,
body.cb-role-internal .le.le-template-article .le-entry--resources .le-article.cb-linking-wrap {
  max-width: 1100px !important;
  width: 100% !important;
  margin-inline: auto !important;
  padding-inline: clamp(1rem, 3vw, 2rem) !important;
  box-sizing: border-box !important;
}

/* Quick-Jump Section Bar */
.cb-resources-jump {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  margin-block: 0.5rem 2rem;
  padding-block: 0.9rem !important;
  background: var(--le-surface, rgba(8, 18, 36, 0.42));
  border: 1px solid var(--le-hairline-mid, rgba(190, 220, 250, 0.2));
  border-radius: 12px;
  position: relative;
  z-index: 3;
}

:root[data-theme="light"] .cb-resources-jump {
  background: rgba(255, 252, 244, 0.82);
  border-color: rgba(8, 107, 148, 0.22);
}

.cb-resources-jump__label {
  font-family: var(--cb-font-mono, monospace);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cb-gold, #e1c271);
}

:root[data-theme="light"] .cb-resources-jump__label {
  color: var(--cb-navy, #086b94);
}

.cb-resources-jump__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cb-resources-jump__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none !important;
  color: var(--le-ink, #ecf6ff) !important;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.cb-resources-jump__pill span {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 700;
  color: var(--cb-gold, #e1c271);
}

:root[data-theme="light"] .cb-resources-jump__pill {
  color: #12283a !important;
  background: rgba(8, 107, 148, 0.06);
  border-color: rgba(8, 107, 148, 0.2);
}

:root[data-theme="light"] .cb-resources-jump__pill span {
  color: var(--cb-navy, #086b94);
}

.cb-resources-jump__pill:hover {
  border-color: var(--cb-gold, #e1c271);
  background: rgba(225, 194, 113, 0.16);
}

:root[data-theme="light"] .cb-resources-jump__pill:hover {
  border-color: var(--cb-navy, #086b94);
  background: rgba(8, 107, 148, 0.14);
}

/* Section Headers */
.cb-resources-section {
  padding-block: clamp(2rem, 4vw, 3.25rem);
  border-top: 1px solid var(--le-hairline, rgba(190, 220, 250, 0.12));
  position: relative;
  z-index: 3;
  scroll-margin-top: calc(var(--nav-h, 104px) + 20px);
}

.cb-resources-tools-section {
  padding-top: 0.5rem !important;
  padding-bottom: clamp(2rem, 4vw, 3rem) !important;
  position: relative;
  z-index: 3;
  scroll-margin-top: calc(var(--nav-h, 104px) + 20px);
}

.cb-resources-section-head {
  margin-bottom: clamp(1.5rem, 2.5vw, 2.25rem);
}

.cb-resources-section-head .le-heading-cluster {
  margin-bottom: 0.65rem;
}

.cb-resources-section-head .le-section-h2 {
  margin: 0 !important;
}

.cb-resources-section-head .le-section-h2::before {
  display: none !important;
}

.cb-resources-section-lede {
  width: 100%;
  margin: 0 auto !important;
  max-width: 85ch !important;
  text-align: center !important;
  font-size: clamp(0.96rem, 1.15vw, 1.06rem);
  line-height: 1.65;
  color: var(--le-ink-soft, #d8e4f4);
}

@media (max-width: 700px) {
  html body.cb-role-internal .le.le-template-article .le-entry--resources .le-cover-text .le-cover-meta {
    align-items: flex-start !important;
    width: 100%;
  }
}

:root[data-theme="light"] .cb-resources-section-lede {
  color: #324058;
}

/* Section I: Interactive Homeowner Tools Grid */
.cb-resources-tool-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.35rem;
}

@media (min-width: 768px) {
  .cb-resources-tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cb-resources-tool-card--wide {
    grid-column: 1 / -1;
  }
}

.cb-resources-tool-card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  border-radius: 12px;
  background: var(--le-surface-deep, rgba(6, 14, 30, 0.78));
  border: 1px solid var(--le-hairline-mid, rgba(190, 220, 250, 0.22));
  box-shadow: 0 8px 24px rgba(0, 8, 24, 0.25);
  box-sizing: border-box;
  min-width: 0;
}

:root[data-theme="light"] .cb-resources-tool-card {
  background: rgba(255, 252, 244, 0.9);
  border-color: rgba(8, 107, 148, 0.22);
  box-shadow: 0 6px 20px rgba(8, 107, 148, 0.06);
}

.cb-resources-tool-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.cb-resources-tool-card__num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--cb-gold, #e1c271);
}

:root[data-theme="light"] .cb-resources-tool-card__num {
  color: var(--cb-navy, #086b94);
}

.cb-resources-tool-card__badge {
  font-family: var(--cb-font-mono, monospace);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  background: rgba(225, 194, 113, 0.14);
  border: 1px solid rgba(225, 194, 113, 0.35);
  color: var(--cb-gold, #e1c271);
}

:root[data-theme="light"] .cb-resources-tool-card__badge {
  background: rgba(8, 107, 148, 0.08);
  border-color: rgba(8, 107, 148, 0.24);
  color: var(--cb-navy, #086b94);
}

.cb-resources-tool-card h2.cb-resources-tool-card__title {
  margin: 0 0 0.6rem !important;
  padding: 0 !important;
  font-size: clamp(1.35rem, 2vw, 1.65rem) !important;
  line-height: 1.2 !important;
}

.cb-resources-tool-card h2.cb-resources-tool-card__title::before {
  display: none !important;
}

.cb-resources-tool-card__desc {
  margin: 0 0 1rem !important;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--le-ink-soft, #d8e4f4);
  flex-grow: 1;
}

:root[data-theme="light"] .cb-resources-tool-card__desc {
  color: #24384c;
}

.cb-resources-tool-card__meta {
  display: grid;
  gap: 0.35rem;
  padding: 0.75rem 0.9rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--le-hairline, rgba(190, 220, 250, 0.14));
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--le-ink-mute, #bacee8);
}

:root[data-theme="light"] .cb-resources-tool-card__meta {
  background: rgba(8, 107, 148, 0.04);
  border-color: rgba(8, 107, 148, 0.14);
  color: #475569;
}

.cb-resources-tool-card__actions {
  list-style: none !important;
  padding: 0 !important;
  margin: auto 0 0 !important;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  align-items: center;
}

.cb-resources-tool-card__actions li {
  margin: 0 !important;
  padding: 0 !important;
}

.cb-resources-tool-card__actions li::before {
  display: none !important;
}

.cb-resources-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  border-radius: 6px;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none !important;
  background: rgba(225, 194, 113, 0.18);
  border: 1px solid rgba(225, 194, 113, 0.48);
  color: var(--cb-gold, #e1c271) !important;
  transition: background 0.15s ease, border-color 0.15s ease;
}

:root[data-theme="light"] .cb-resources-btn-primary {
  background: var(--cb-navy, #086b94);
  border-color: var(--cb-navy, #086b94);
  color: #ffffff !important;
}

.cb-resources-btn-primary:hover {
  background: rgba(225, 194, 113, 0.28);
}

:root[data-theme="light"] .cb-resources-btn-primary:hover {
  background: #065273;
}

.cb-resources-btn-secondary {
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--le-brand, #8cdcff) !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

:root[data-theme="light"] .cb-resources-btn-secondary {
  color: var(--cb-navy, #086b94) !important;
}

/* Section II & V: Magazine Grid overrides on /resources */
.cb-resources-mag-grid {
  max-width: 100% !important;
  padding-inline: 0 !important;
}

/* Owner, 2026-11-12 6:33 PM CST: guide titles and summaries on /resources wrapped
   mid-line. The shared large-grid card gives the text a fixed track beside a 200px
   motif and balances titles into two short lines. Here only: hand the reading column
   the motif's spare width, let titles fill their lines, and use the same sans
   reading voice as section-list summaries (content-internal.css "discovery copy"). */
@media (min-width: 1100px) {
  .le-mag-grid-large.cb-resources-mag-grid .le-mag-card {
    grid-template-columns: 120px minmax(0, 1fr) 150px !important;
    gap: 36px !important;
  }
  .le-mag-grid-large.cb-resources-mag-grid .le-mag-mark {
    width: 150px !important;
    height: 150px !important;
  }
}
/* Rail labels such as REPLACEMENT or DEHUMIDIFICATION are wider than the shared
   80-96px numeral column and ran into the summary; size the column to them. */
@media (min-width: 601px) and (max-width: 1099px) {
  .le-mag-grid-large.cb-resources-mag-grid .le-mag-card {
    grid-template-columns: 120px minmax(0, 1fr) !important;
    gap: 28px !important;
  }
}
.le-mag-grid-large.cb-resources-mag-grid .le-mag-body h3 {
  text-wrap: pretty !important;
}
body.cb-role-internal .le-mag-grid-large.cb-resources-mag-grid .le-mag-body > p {
  font-family: 'Manrope', 'Avenir Next', sans-serif !important;
  font-style: normal !important;
  font-weight: 500 !important;
  font-size: clamp(16px, 1.25vw, 19px) !important;
  letter-spacing: 0.005em !important;
  line-height: 1.6 !important;
  max-width: 64ch !important;
  text-wrap: wrap !important; /* 'pretty' pulled words down and left lines short mid-column */
}
html:root[data-theme="light"] body.cb-role-internal .le-mag-grid-large.cb-resources-mag-grid .le-mag-body > p {
  color: rgb(36 59 79) !important;
}

/* Section III: Storm & Surge Protocols Grid */
.cb-resources-storm-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.35rem;
}

@media (min-width: 768px) {
  .cb-resources-storm-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.cb-resources-storm-card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.35rem, 2.5vw, 1.85rem);
  border-radius: 12px;
  background: var(--le-surface-deep, rgba(6, 14, 30, 0.78));
  border: 1px solid var(--le-hairline-mid, rgba(190, 220, 250, 0.22));
  border-inline-start: 4px solid var(--le-coral, #ffb4a0);
  box-sizing: border-box;
  min-width: 0;
}

:root[data-theme="light"] .cb-resources-storm-card {
  background: rgba(255, 252, 244, 0.92);
  border-color: rgba(8, 107, 148, 0.22);
  border-inline-start-color: var(--le-coral-deep, #a04c32);
}

.cb-resources-storm-card__header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.cb-resources-storm-card__phase {
  font-family: var(--cb-font-mono, monospace);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--le-coral, #ffb4a0);
}

:root[data-theme="light"] .cb-resources-storm-card__phase {
  color: var(--le-coral-deep, #a04c32);
}

.cb-resources-storm-card__std {
  font-family: var(--cb-font-mono, monospace);
  font-size: 0.7rem;
  color: var(--le-ink-faint, #96aed2);
}

:root[data-theme="light"] .cb-resources-storm-card__std {
  color: #64748b;
}

.cb-resources-storm-card__title {
  margin: 0 0 0.65rem !important;
  font-size: clamp(1.28rem, 1.8vw, 1.55rem) !important;
  line-height: 1.25 !important;
}

.cb-resources-storm-card__title a {
  color: inherit !important;
  text-decoration: none !important;
}

.cb-resources-storm-card__title a:hover {
  text-decoration: underline !important;
}

.cb-resources-storm-card__excerpt {
  margin: 0 0 0.9rem;
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--le-ink-soft, #d8e4f4);
}

:root[data-theme="light"] .cb-resources-storm-card__excerpt {
  color: #24384c;
}

.cb-resources-storm-card__list {
  margin: 0 0 1.25rem;
  padding-inline-start: 1.15rem;
  display: grid;
  gap: 0.45rem;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--le-ink-mute, #bacee8);
  flex-grow: 1;
}

:root[data-theme="light"] .cb-resources-storm-card__list {
  color: #475569;
}

.cb-resources-storm-card__footer {
  margin-top: auto;
}

/* Section IV: Coastal Standards & Reference Briefs Grid */
.cb-resources-standards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .cb-resources-standards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.cb-resources-standard-card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.2rem, 2.2vw, 1.6rem);
  border-radius: 12px;
  background: var(--le-surface-deep, rgba(6, 14, 30, 0.75));
  border: 1px solid var(--le-hairline-mid, rgba(190, 220, 250, 0.2));
  box-sizing: border-box;
  min-width: 0;
}

:root[data-theme="light"] .cb-resources-standard-card {
  background: rgba(255, 252, 244, 0.9);
  border-color: rgba(8, 107, 148, 0.2);
}

.cb-resources-standard-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}

.cb-resources-standard-card__cat {
  font-family: var(--cb-font-mono, monospace);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cb-gold, #e1c271);
}

:root[data-theme="light"] .cb-resources-standard-card__cat {
  color: var(--cb-navy, #086b94);
}

.cb-resources-standard-card__num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--le-ink-faint, #96aed2);
}

.cb-resources-standard-card__title {
  margin: 0 0 0.55rem !important;
  font-size: clamp(1.18rem, 1.6vw, 1.38rem) !important;
  line-height: 1.25 !important;
}

.cb-resources-standard-card__summary {
  margin: 0 0 0.6rem;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.55;
  color: var(--le-ink, #ecf6ff);
}

:root[data-theme="light"] .cb-resources-standard-card__summary {
  color: #12283a;
}

.cb-resources-standard-card__detail {
  margin: 0 0 0.85rem;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--le-ink-mute, #bacee8);
  flex-grow: 1;
}

:root[data-theme="light"] .cb-resources-standard-card__detail {
  color: #475569;
}

.cb-resources-standard-card__faq {
  margin-top: 0.25rem;
  margin-bottom: 0.85rem;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--le-hairline, rgba(190, 220, 250, 0.14));
}

:root[data-theme="light"] .cb-resources-standard-card__faq {
  background: rgba(8, 107, 148, 0.04);
  border-color: rgba(8, 107, 148, 0.15);
}

.cb-resources-standard-card__faq summary {
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--le-ink, #ecf6ff);
}

:root[data-theme="light"] .cb-resources-standard-card__faq summary {
  color: #12283a;
}

.cb-resources-standard-card__faq p {
  margin: 0.55rem 0 0;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--le-ink-soft, #d8e4f4);
}

:root[data-theme="light"] .cb-resources-standard-card__faq p {
  color: #334155;
}

.cb-resources-standard-card__footer {
  margin-top: auto;
  padding-top: 0.4rem;
}

.cb-resources-standard-card__link {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--cb-gold, #e1c271) !important;
  text-decoration: none !important;
}

:root[data-theme="light"] .cb-resources-standard-card__link {
  color: var(--cb-navy, #086b94) !important;
}

.cb-resources-standard-card__link:hover {
  text-decoration: underline !important;
}

