/* ============================================================================
   cust-learn-c1-worldclass-2026-05-24 — Learn page stylesheet
   Built to be the best /learn/{vertical}-insurance design in the industry.
   Scoped via gbc-learn-* prefix to avoid colliding with anything existing.
   ============================================================================ */

:root {
  --gbc-learn-navy:        #1a365d;
  --gbc-learn-navy-light:  #2c5282;
  --gbc-learn-orange:      #dd6b20;
  --gbc-learn-orange-dark: #c05621;
  --gbc-learn-blue:        #3182ce;
  --gbc-learn-blue-light:  #ebf8ff;
  --gbc-learn-text:        #1a202c;
  --gbc-learn-muted:       #4a5568;
  --gbc-learn-soft:        #f7fafc;
  --gbc-learn-soft-2:      #edf2f7;
  --gbc-learn-border:      #e2e8f0;
  --gbc-learn-success:     #38a169;
  --gbc-learn-success-dk:  #2f855a;
  --gbc-learn-warn-bg:     #fef5e7;
  --gbc-learn-info-bg:     #ebf8ff;
  --gbc-learn-purple:      #6b46c1;
}

.gbc-learn-shell {
  /* worldclass-s1.2-font-2026-07-03: branded Inter (already loaded via Google Fonts display=optional in
     App.razor); system stack retained as fallback for the first-load/no-font case. */
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--gbc-learn-text);
  background: #fff;
  line-height: 1.7;
  font-size: 17px;
}
.gbc-learn-container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* ===== Variant visibility (cookie-driven, server-rendered, no JS flash) ===== */
.gbc-variant-a .gbc-learn-cta-b,
.gbc-variant-a .gbc-cta-rail-b,
.gbc-variant-a .gbc-mobile-cta-b { display: none !important; }
.gbc-variant-b .gbc-learn-cta-a,
.gbc-variant-b .gbc-cta-rail-a,
.gbc-variant-b .gbc-mobile-cta-a { display: none !important; }

/* ===== Reading-progress bar (top, scroll-driven) ===== */
.gbc-reading-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gbc-learn-orange), var(--gbc-learn-success));
  transform: scaleX(0); transform-origin: 0 0;
  z-index: 200;
  transition: transform 80ms linear;
  pointer-events: none;
}

/* ===== Header ===== */
.gbc-learn-header {
  background: #fff;
  border-bottom: 1px solid var(--gbc-learn-border);
  padding: 14px 0;
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.gbc-learn-header .gbc-learn-container {
  display: flex; align-items: center; justify-content: space-between;
}
.gbc-learn-logo-wrap {
  display: inline-flex; align-items: center;
}
.gbc-learn-logo-img {
  height: 64px; width: auto; max-width: 260px;
  object-fit: contain; display: block;
}
@media (max-width: 768px) {
  /* g8-2026-06-03 v4: match SfV3 quote-flow .v2-header-logo (height: 36px). */
  .gbc-learn-logo-img { height: 36px; max-width: 170px; }
}

.gbc-learn-header-ctas a {
  color: #fff; padding: 10px 20px; border-radius: 6px;
  text-decoration: none; font-weight: 700; font-size: 14px;
}
/* g8-2026-06-03 v6: wrapper for <HeaderPhone /> component used at mobile in
   LearnPageLayout. Default = hidden on desktop (the big .gbc-learn-header-ctas
   are shown instead). At ≤768px (see @media rule below) the wrapper becomes
   visible and the .gbc-learn-header-ctas are hidden. The inner .header-phone
   element keeps its own styles from HeaderPhone.razor (orange button with
   phone icon + "Call an Agent" at mobile — same as /quote/sf header). */
/* r2-1b-2026-06-04 per owner directive: HeaderPhone visible at ALL viewports
   (was mobile-only). 3-CTA cluster removed from LearnPageLayout — quote-flow
   pattern uses single HeaderPhone site-wide. */
.gbc-learn-header-phone-component { display: inline-block; }
.gbc-learn-cta-a { background: var(--gbc-learn-orange); }
.gbc-learn-cta-a:hover { background: var(--gbc-learn-orange-dark); }
.gbc-learn-cta-b { background: var(--gbc-learn-success); }
.gbc-learn-cta-b:hover { background: var(--gbc-learn-success-dk); }
/* lock-call-cta-2026-05-31 per FEEDBACK-contractor-template-status.md item #4:
   Pay-per-call business — Call CTA in navy so it reads as a third distinct
   action (orange = primary quote / green = secondary / navy = phone). White-on-
   navy contrast 11.6:1, well above WCAG AAA. */
.gbc-call-cta {
  background: var(--gbc-learn-navy);
  min-height: 44px;
  display: inline-flex; align-items: center; gap: 4px;
}
.gbc-call-cta:hover { background: var(--gbc-learn-navy-light); }

/* ===== Breadcrumb ===== */
.gbc-learn-breadcrumb { font-size: 13px; color: var(--gbc-learn-muted); padding: 18px 0; }
.gbc-learn-breadcrumb a { color: var(--gbc-learn-blue); text-decoration: none; }
.gbc-learn-breadcrumb .sep { color: #ccc; margin: 0 6px; }

/* ===== Article header ===== */
.gbc-learn-article-header {
  padding: 22px 0 24px 0;
  border-bottom: 1px solid var(--gbc-learn-border);
  margin-bottom: 36px;
}
.gbc-learn-article-tag {
  display: inline-block; background: var(--gbc-learn-info-bg); color: var(--gbc-learn-navy);
  padding: 5px 14px; border-radius: 999px; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 18px;
}
.gbc-learn-shell h1 {
  font-size: 44px; color: var(--gbc-learn-navy); margin: 0 0 22px 0;
  font-weight: 800; letter-spacing: -0.025em; line-height: 1.15;
}

/* ===== Meta row (author + reviewer + dates) ===== */
.gbc-learn-meta-row {
  display: flex; gap: 18px; flex-wrap: wrap; align-items: center;
  margin: 18px 0 20px 0;
}
.gbc-learn-author-pill, .gbc-learn-reviewer-pill {
  display: flex; gap: 12px; align-items: center;
}
.gbc-learn-author-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gbc-learn-navy), var(--gbc-learn-blue));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 15px; flex-shrink: 0;
}
.gbc-learn-reviewer-avatar {
  width: 36px; height: 36px; font-size: 13px;
  background: linear-gradient(135deg, var(--gbc-learn-success-dk), var(--gbc-learn-success));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; flex-shrink: 0;
}
.gbc-learn-author-info strong, .gbc-learn-reviewer-info strong {
  color: var(--gbc-learn-text); display: block; font-size: 14px; font-weight: 700;
}
.gbc-learn-reviewer-info small {
  color: var(--gbc-learn-muted); font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.5px; font-weight: 700; display: block;
}
.gbc-learn-credential-tag {
  background: var(--gbc-learn-soft); padding: 2px 8px; border-radius: 4px;
  font-size: 11px; font-weight: 700; color: var(--gbc-learn-navy); margin-left: 4px;
}
.gbc-learn-meta-line { font-size: 13px; color: var(--gbc-learn-muted); }
.gbc-learn-meta-line time { color: var(--gbc-learn-text); font-weight: 600; }

/* ===== Disclosure (collapsible FTC disclaimer) ===== */
.gbc-learn-disclosure {
  background: var(--gbc-learn-soft); border-left: 3px solid var(--gbc-learn-muted);
  padding: 10px 16px; border-radius: 4px; margin-top: 14px; font-size: 13px;
}
.gbc-learn-disclosure summary {
  color: var(--gbc-learn-muted); font-weight: 700; cursor: pointer;
  list-style: none; display: inline-block; user-select: none;
}
.gbc-learn-disclosure summary::after { content: ' ↓'; opacity: 0.5; }
.gbc-learn-disclosure[open] summary::after { content: ' ↑'; }
.gbc-learn-disclosure p { color: var(--gbc-learn-muted); margin: 8px 0 0 0; }

/* ===== Trust bar (carrier logos + stats) ===== */
.gbc-learn-trust-bar {
  background: var(--gbc-learn-soft); border-radius: 14px;
  padding: 22px 24px; margin: 0 0 40px 0;
  text-align: center;
}
.gbc-learn-trust-bar-label {
  font-size: 12px; font-weight: 700; color: var(--gbc-learn-muted);
  text-transform: uppercase; letter-spacing: 0.6px; margin: 0 0 14px 0;
}
.gbc-learn-trust-logos {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 28px; margin-bottom: 18px;
}
.gbc-learn-trust-logos img { mix-blend-mode: multiply; opacity: 0.85; }
.gbc-learn-trust-stats {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 28px;
  padding-top: 14px; border-top: 1px solid var(--gbc-learn-border);
  font-size: 14px; color: var(--gbc-learn-muted);
}
.gbc-learn-trust-stats strong { color: var(--gbc-learn-navy); font-weight: 800; }
/* stopship-price-badge-2026-05-31: "for eligible policies" qualifier reads as
   secondary regulatory text — slightly smaller, italic, muted color, but
   still WCAG AA on white (#4a5568 → 7.4:1). NON-OPTIONAL when StartingMonthlyDisplay
   is set (compliance + advertising rules per FIX-starting-price-badge.md). */
.gbc-learn-price-qualifier {
  font-style: italic;
  font-size: 12px;
  color: var(--gbc-learn-muted);
  font-weight: 400;
}

/* ===== Article body ===== */
.gbc-learn-article h2 {
  font-size: 30px; color: var(--gbc-learn-navy); margin: 56px 0 18px 0;
  font-weight: 800; letter-spacing: -0.018em; scroll-margin-top: 100px;
  line-height: 1.25;
}
.gbc-learn-article h3 {
  font-size: 21px; color: var(--gbc-learn-text); margin: 30px 0 12px 0; font-weight: 700;
}
/* worldclass-s1.1e-line-length-2026-07-03: bound running prose to a 36rem (~576px) reading measure so
   lines stay under WCAG 1.4.8's 80 CPL (was unbounded ~125 CPL in the 1100px shell). rem not ch
   (S1.1b gotcha). Full-width components (table.gbc-learn-compare, related grids, CTA rails) are NOT
   <p>/<ul>/<ol> so they keep their width; a component's own <p> just reads narrower, which is fine. */
.gbc-learn-article p { margin: 0 0 16px 0; font-size: 17px; max-width: 36rem; }
.gbc-learn-article ul, .gbc-learn-article ol { padding-left: 26px; margin: 0 0 20px 0; max-width: 36rem; }
.gbc-learn-article li { margin: 8px 0; font-size: 17px; }
.gbc-learn-article a { color: var(--gbc-learn-blue); }
.gbc-learn-article strong { color: var(--gbc-learn-text); }

/* Numbered inline citation [1] [2] etc. */
.gbc-learn-article sup.gbc-cite {
  font-size: 11px; font-weight: 700; color: var(--gbc-learn-blue);
  margin: 0 1px; cursor: pointer;
}
.gbc-learn-article sup.gbc-cite a {
  text-decoration: none; color: inherit;
  background: var(--gbc-learn-info-bg); padding: 1px 5px; border-radius: 3px;
}
.gbc-learn-article sup.gbc-cite a:hover { background: var(--gbc-learn-blue); color: #fff; }

/* ===== Quick-answer TL;DR box (top of article, AI Overviews extraction target) =====
   UI Fix 4 per REVIEW-UI-contractor-build.md (2026-05-31): recolored from
   green to navy-blue so green stays reserved exclusively for the filed-rate
   authority signal. Quick-answer is the TL;DR, not regulator-anchored data.
   UI Fix 5: label badge uses navy-light (#2c5282 / contrast 7.1:1 vs white,
   passes WCAG AA for small bold text). The brighter blue (#3182ce) only
   hits 3.97:1 → fails for 11px badge text. */
.gbc-quick-answer {
  border: 2px solid var(--gbc-learn-navy-light);
  background: linear-gradient(135deg, #f0f7ff 0%, #eef5ff 100%);
  border-radius: 14px; padding: 22px 26px;
  margin: 0 0 28px 0; position: relative;
}
.gbc-quick-answer-label {
  position: absolute; top: -12px; left: 18px;
  background: var(--gbc-learn-navy-light); color: #fff;
  padding: 4px 14px; border-radius: 999px;
  font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.6px;
}
.gbc-quick-answer p {
  margin: 0; font-size: 16px; line-height: 1.6; color: var(--gbc-learn-text);
}
.gbc-quick-answer strong { color: var(--gbc-learn-navy); }

/* ===== Stat tiles (4-up under the lead) ===== */
.gbc-stat-tiles {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 14px; margin: 0 0 40px 0;
}
.gbc-stat-tile {
  background: linear-gradient(135deg, var(--gbc-learn-navy) 0%, var(--gbc-learn-navy-light) 100%);
  color: #fff; border-radius: 12px; padding: 22px 18px;
  text-align: center; box-shadow: 0 2px 10px rgba(26,54,93,0.18);
  transition: transform .15s ease;
}
.gbc-stat-tile:hover { transform: translateY(-2px); }
.gbc-stat-tile-num {
  font-size: 38px; font-weight: 900;
  letter-spacing: -0.02em; line-height: 1;
  background: linear-gradient(135deg, #fbd38d, #f6ad55);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}
.gbc-stat-tile-suffix {
  font-size: 18px;
  -webkit-text-fill-color: rgba(255,255,255,0.65);
  color: rgba(255,255,255,0.65); font-weight: 700;
}
.gbc-stat-tile-label {
  font-size: 12px; line-height: 1.45; color: rgba(255,255,255,0.92); font-weight: 500;
}
/* UI Fix 1 per REVIEW-UI-contractor-build.md (2026-05-31): unit label gets
   stronger weight + slightly larger size + brighter color so it reads as the
   primary descriptor, not an afterthought. WCAG: white-on-navy ~12px stays
   above 4.5:1 for body since the navy is #1a365d / contrast ratio ≈ 11.6:1. */
.gbc-stat-tile-label strong {
  display: inline; color: #fff; font-weight: 800;
  font-size: 13px; letter-spacing: 0.2px;
}

/* UI Fix 2 per REVIEW-UI-contractor-build.md: 1-2 sentence takeaway sitting
   between the H2 + table. Gives readers (and AI extractors) the headline of
   the table without scanning rows. */
.gbc-learn-table-takeaway {
  font-size: 15px; line-height: 1.55;
  background: var(--gbc-learn-soft);
  border-left: 3px solid var(--gbc-learn-orange);
  padding: 12px 18px;
  margin: 0 0 18px 0 !important;
  border-radius: 4px;
  color: var(--gbc-learn-text);
}
.gbc-learn-table-takeaway strong {
  color: var(--gbc-learn-navy); font-weight: 800;
}

/* UI Fix 2 (table breathing): consecutive tables get a margin separator + a
   subtle alternating background row at table-container level so the eye
   knows where one ends and the next starts. */
.gbc-learn-article table.gbc-learn-compare {
  margin: 0 0 32px 0 !important;
}
.gbc-learn-article table.gbc-learn-compare + h2 {
  margin-top: 44px;
}

/* UI Fix 6 (top breathing room): the trust-bar → hero-fact → quick-answer
   stack at the top compresses too quickly. Spread the elements vertically. */
.gbc-learn-trust-bar {
  margin-bottom: 28px;
}
.gbc-learn-hero-fact {
  margin: 28px 0 32px !important;
}

/* ===== Checklist with green checkmarks ===== */
.gbc-learn-checklist {
  list-style: none !important;
  padding: 22px 26px !important;
  background: linear-gradient(135deg, #f0fff4 0%, #e6fffa 100%);
  border: 1px solid #c6f6d5; border-radius: 12px;
  margin: 16px 0 !important;
  columns: 2; column-gap: 36px;
}
.gbc-learn-checklist li {
  font-size: 15px !important; line-height: 1.7;
  break-inside: avoid; margin: 0 !important; padding: 4px 0;
}

@media (max-width: 768px) {
  .gbc-stat-tiles { grid-template-columns: repeat(2, 1fr); }
  .gbc-stat-tile-num { font-size: 30px; }
  .gbc-learn-checklist { columns: 1; }
}

.gbc-learn-lead {
  font-size: 21px; line-height: 1.55; color: var(--gbc-learn-text);
  padding: 26px 28px; background: var(--gbc-learn-soft);
  border-left: 5px solid var(--gbc-learn-orange);
  border-radius: 6px; margin: 0 0 40px 0;
  font-weight: 400;
  max-width: 36rem; /* worldclass-s1.1e-line-length-2026-07-03: bound the lead reading measure (WCAG 1.4.8) */
}
.gbc-learn-lead strong { color: var(--gbc-learn-navy); font-weight: 800; }
.gbc-learn-stat-source {
  color: var(--gbc-learn-muted); font-size: 13px; font-style: italic;
  display: block; margin-top: 10px;
}

.gbc-learn-toc {
  background: var(--gbc-learn-soft); border: 1px solid var(--gbc-learn-border);
  border-radius: 10px; padding: 22px 26px; margin: 0 0 44px 0;
}
.gbc-learn-toc-title {
  font-size: 13px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.6px; color: var(--gbc-learn-navy); margin-bottom: 12px;
}
.gbc-learn-toc ol { margin: 0; padding-left: 22px; }
.gbc-learn-toc li { margin: 7px 0; font-size: 15px; }
.gbc-learn-toc a {
  text-decoration: none; color: var(--gbc-learn-blue); font-weight: 600;
  cursor: pointer;
}
.gbc-learn-toc a:hover { text-decoration: underline; }

.gbc-learn-callout {
  padding: 18px 22px; border-radius: 10px; margin: 22px 0;
  display: flex; gap: 14px; align-items: flex-start;
}
.gbc-learn-callout-stat { background: var(--gbc-learn-info-bg); border-left: 4px solid var(--gbc-learn-blue); }
.gbc-learn-callout-warn { background: var(--gbc-learn-warn-bg); border-left: 4px solid var(--gbc-learn-orange); }
.gbc-learn-callout-icon { flex-shrink: 0; font-size: 24px; line-height: 1; }
.gbc-learn-callout-body strong { display: block; margin-bottom: 6px; font-size: 16px; }
.gbc-learn-callout-body small {
  color: var(--gbc-learn-muted); font-size: 12px; display: block; margin-top: 8px;
  font-style: italic;
}

/* ===== Expert quote callout (the highest-LLM-lift element) ===== */
.gbc-learn-expert-quote {
  position: relative;
  border-radius: 14px;
  background: linear-gradient(135deg, #fffaf0 0%, #fef3e2 100%);
  border-left: 5px solid var(--gbc-learn-orange);
  padding: 28px 32px 26px 32px;
  margin: 30px 0;
  font-style: italic;
}
.gbc-learn-expert-quote::before {
  content: '"';
  position: absolute; top: -8px; left: 18px;
  font-size: 80px; font-weight: 900; color: var(--gbc-learn-orange);
  opacity: 0.2; font-family: Georgia, serif; line-height: 1;
}
.gbc-learn-expert-quote p {
  font-size: 18px; line-height: 1.6; color: var(--gbc-learn-text);
  margin: 0 0 14px 0; position: relative;
}
.gbc-learn-expert-quote cite {
  display: flex; gap: 12px; align-items: center;
  font-style: normal; font-size: 14px; color: var(--gbc-learn-muted);
  border-top: 1px solid rgba(221,107,32,0.2); padding-top: 14px;
}
.gbc-learn-expert-quote cite strong {
  color: var(--gbc-learn-navy); font-weight: 800; display: block; font-size: 15px;
}
.gbc-learn-expert-quote .gbc-quote-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gbc-learn-navy), var(--gbc-learn-blue));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 14px; flex-shrink: 0;
}

/* ===== Coverage cards ===== */
.gbc-learn-coverage-card {
  border: 1px solid var(--gbc-learn-border); border-radius: 12px;
  padding: 22px 26px; margin: 16px 0; background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: box-shadow .15s ease, transform .15s ease;
}
.gbc-learn-coverage-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transform: translateY(-1px);
}
.gbc-learn-coverage-card-header { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.gbc-learn-coverage-card-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gbc-learn-navy), var(--gbc-learn-navy-light));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px; flex-shrink: 0;
}
.gbc-learn-coverage-card h3 { margin: 0; flex: 1; }
.gbc-learn-best-for {
  background: var(--gbc-learn-soft); padding: 14px 16px; border-radius: 8px;
  margin-top: 14px; font-size: 14px;
}
.gbc-learn-best-for strong { color: var(--gbc-learn-success-dk); }

/* ===== Tables — horizontally scrollable on mobile ===== */
.gbc-learn-article table.gbc-learn-compare {
  display: block; max-width: 100%; overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
@media (min-width: 600px) {
  .gbc-learn-article table.gbc-learn-compare {
    display: table;
  }
}
table.gbc-learn-compare {
  width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 15px;
  border-radius: 10px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
table.gbc-learn-compare th {
  background: linear-gradient(135deg, var(--gbc-learn-navy), var(--gbc-learn-navy-light));
  color: #fff; text-align: left;
  padding: 14px 18px; font-weight: 700; font-size: 14px;
  text-transform: uppercase; letter-spacing: 0.3px;
}
table.gbc-learn-compare td { padding: 14px 18px; border-bottom: 1px solid var(--gbc-learn-border); }
table.gbc-learn-compare tr:nth-child(even) td { background: var(--gbc-learn-soft); }
table.gbc-learn-compare tr:hover td { background: var(--gbc-learn-info-bg); }

/* ===== Scenario blocks ===== */
.gbc-learn-scenario {
  border-left: 4px solid var(--gbc-learn-blue); padding: 16px 22px;
  background: var(--gbc-learn-info-bg); border-radius: 0 10px 10px 0; margin: 18px 0;
}
.gbc-learn-scenario-tag {
  font-size: 12px; font-weight: 800; text-transform: uppercase;
  color: var(--gbc-learn-navy); letter-spacing: 0.5px; margin-bottom: 6px;
  display: block;
}
.gbc-learn-scenario-cost { font-weight: 800; color: var(--gbc-learn-orange); }

/* ===== Glossary ===== */
.gbc-learn-glossary {
  background: var(--gbc-learn-soft); border-radius: 12px; padding: 26px 30px;
  margin: 30px 0;
}
.gbc-learn-glossary h3 { margin-top: 0; color: var(--gbc-learn-navy); }
.gbc-learn-glossary dl { margin: 0; }
.gbc-learn-glossary dt {
  font-weight: 800; color: var(--gbc-learn-navy);
  margin-top: 14px; font-size: 15px;
}
.gbc-learn-glossary dd {
  margin: 4px 0 0 0; font-size: 15px; color: var(--gbc-learn-text);
}

/* ===== FAQ block ===== */
.gbc-learn-faq details {
  border: 1px solid var(--gbc-learn-border); border-radius: 10px;
  padding: 18px 22px; margin: 10px 0; background: #fff;
  transition: background .15s ease;
}
.gbc-learn-faq details[open] { background: var(--gbc-learn-soft); }
.gbc-learn-faq summary {
  font-weight: 700; color: var(--gbc-learn-navy); cursor: pointer;
  font-size: 16px; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.gbc-learn-faq summary::after {
  content: '+'; font-size: 24px; color: var(--gbc-learn-orange); font-weight: 800;
  transition: transform .15s ease;
}
.gbc-learn-faq details[open] summary::after { content: '−'; }
.gbc-learn-faq .gbc-faq-answer { margin-top: 12px; font-size: 15px; line-height: 1.65; }

/* ===== Methodology + Sources sections ===== */
.gbc-learn-methodology {
  background: var(--gbc-learn-soft); border-radius: 10px; padding: 4px 22px;
  margin: 40px 0;
}
.gbc-learn-methodology details summary {
  font-weight: 800; color: var(--gbc-learn-navy);
  cursor: pointer; padding: 16px 0; list-style: none;
  display: flex; align-items: center; gap: 8px; font-size: 16px;
}
.gbc-learn-methodology details summary::before { content: '🔬'; }
.gbc-learn-methodology details summary::after {
  content: '↓'; margin-left: auto; color: var(--gbc-learn-muted);
}
.gbc-learn-methodology details[open] summary::after { content: '↑'; }
.gbc-learn-methodology details p { margin: 0 0 14px 0; font-size: 15px; }
.gbc-learn-methodology details[open] { padding-bottom: 18px; }

.gbc-learn-sources {
  margin: 40px 0;
  padding-top: 32px;
  border-top: 1px solid var(--gbc-learn-border);
}
.gbc-learn-sources h2 {
  font-size: 22px !important; color: var(--gbc-learn-navy); margin: 0 0 18px 0;
}
.gbc-learn-sources-list { padding-left: 22px; font-size: 14px; }
.gbc-learn-sources-list li {
  margin-bottom: 10px; color: var(--gbc-learn-muted); line-height: 1.6;
}
.gbc-learn-sources-list li a { color: var(--gbc-learn-blue); font-weight: 600; }
.gbc-learn-source-pub { color: var(--gbc-learn-muted); font-style: italic; }
.gbc-learn-source-year { color: var(--gbc-learn-muted); }
.gbc-learn-source-note { font-size: 13px; color: var(--gbc-learn-muted); margin-top: 4px; }

/* ===== CTA rails ===== */
.gbc-cta-rail {
  border-radius: 14px; padding: 32px 36px; margin: 44px 0; color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  box-shadow: 0 4px 16px rgba(26,54,93,0.15);
}
.gbc-cta-rail-a { background: linear-gradient(135deg, var(--gbc-learn-navy), var(--gbc-learn-navy-light)); }
.gbc-cta-rail-b { background: linear-gradient(135deg, var(--gbc-learn-success-dk), var(--gbc-learn-success)); }
/* slice-review-2-3-2026-06-05: CTA headings demoted from h3 to div per
   SEOexpert REVIEW-homepage-and-limousine (cleaner AEO/H-hierarchy). Both
   selectors kept so any cached/un-rebuilt page continues styling correctly. */
.gbc-cta-rail h3, .gbc-cta-rail .gbc-cta-rail-heading { color: #fff; margin: 0 0 6px 0; font-size: 24px; font-weight: 800; }
.gbc-cta-rail p { color: rgba(255,255,255,0.92); margin: 0; font-size: 15px; }
.gbc-cta-badge {
  display: inline-block; background: rgba(255,255,255,0.18); color: #fff;
  padding: 5px 14px; border-radius: 999px; font-size: 11px;
  font-weight: 800; text-transform: uppercase; letter-spacing: 0.6px;
  margin-bottom: 10px;
}
.gbc-cta-rail-button-a {
  background: var(--gbc-learn-orange); color: #fff !important; padding: 16px 32px;
  border-radius: 10px; text-decoration: none; font-weight: 800; font-size: 16px;
  white-space: nowrap; flex-shrink: 0; box-shadow: 0 4px 14px rgba(221,107,32,0.45);
  transition: background .15s ease, transform .15s ease;
}
.gbc-cta-rail-button-a:hover { background: var(--gbc-learn-orange-dark); transform: translateY(-1px); }
.gbc-cta-rail-button-b {
  background: #fff; color: var(--gbc-learn-success-dk) !important; padding: 16px 32px;
  border-radius: 10px; text-decoration: none; font-weight: 800; font-size: 16px;
  white-space: nowrap; flex-shrink: 0; box-shadow: 0 4px 14px rgba(0,0,0,0.18);
  transition: background .15s ease, transform .15s ease;
}
.gbc-cta-rail-button-b:hover { background: var(--gbc-learn-soft); transform: translateY(-1px); }

/* ===== Author card ===== */
.gbc-learn-author-card {
  background: var(--gbc-learn-soft); border-radius: 14px; padding: 26px 32px;
  margin: 44px 0 24px 0; display: flex; gap: 22px; align-items: flex-start;
  border: 1px solid var(--gbc-learn-border);
}
.gbc-learn-author-card .gbc-learn-author-avatar { width: 68px; height: 68px; font-size: 24px; }
.gbc-learn-author-card h4 { margin: 0 0 8px 0; color: var(--gbc-learn-navy); font-size: 19px; font-weight: 800; }
.gbc-learn-author-card p { margin: 0 0 8px 0; font-size: 14px; color: var(--gbc-learn-muted); line-height: 1.6; }
.gbc-learn-author-creds { font-size: 12px !important; }
.gbc-npn { font-family: ui-monospace, monospace; font-size: 12px; background: #fff; padding: 3px 8px; border-radius: 4px; border: 1px solid var(--gbc-learn-border); }

/* ===== Related ===== */
.gbc-learn-related { border-top: 1px solid var(--gbc-learn-border); padding: 32px 0; margin-top: 44px; }
.gbc-learn-related h3 { color: var(--gbc-learn-navy); font-size: 20px; margin-bottom: 16px; font-weight: 800; }
.gbc-learn-related-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px;
}
.gbc-learn-related-link {
  display: block; padding: 14px 18px; background: var(--gbc-learn-soft);
  border-radius: 8px; text-decoration: none; color: var(--gbc-learn-navy);
  font-weight: 700; font-size: 14px; border: 1px solid transparent;
  transition: all .15s ease;
}
.gbc-learn-related-link:hover {
  background: var(--gbc-learn-info-bg); border-color: var(--gbc-learn-blue);
  transform: translateY(-1px);
}

/* ===== Footer ===== */
.gbc-learn-footer {
  background: var(--gbc-learn-navy); color: rgba(255,255,255,0.85);
  padding: 50px 0 30px 0; margin-top: 60px; font-size: 14px;
}
.gbc-learn-footer-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  margin-bottom: 36px;
}
.gbc-learn-footer h5 {
  color: #fff; font-size: 14px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.5px;
  margin: 0 0 14px 0;
}
.gbc-learn-footer ul { list-style: none; padding: 0; margin: 0; }
.gbc-learn-footer li { margin-bottom: 8px; }
.gbc-learn-footer li a {
  color: rgba(255,255,255,0.85); text-decoration: none; font-size: 14px;
  transition: color .15s ease;
}
.gbc-learn-footer li a:hover { color: var(--gbc-learn-orange); }
.gbc-learn-footer li span { color: rgba(255,255,255,0.7); font-size: 14px; }
.gbc-learn-footer li .gbc-footer-coming { color: rgba(255,255,255,0.5); }
.gbc-learn-footer li .gbc-footer-coming em {
  font-style: italic; font-size: 11px; color: var(--gbc-learn-orange);
  margin-left: 2px;
}

.gbc-learn-footer-phone {
  font-size: 20px; font-weight: 800; margin: 0 0 6px 0;
}
.gbc-learn-footer-phone a { color: #fff; text-decoration: none; }
.gbc-learn-footer-hours { color: rgba(255,255,255,0.7); font-size: 13px; margin: 0 0 14px 0; }
.gbc-learn-footer-cta {
  display: inline-block; background: var(--gbc-learn-orange); color: #fff !important;
  padding: 10px 18px; border-radius: 6px; text-decoration: none;
  font-weight: 700; font-size: 13px;
}
.gbc-learn-footer-cta:hover { background: var(--gbc-learn-orange-dark); }

.gbc-learn-footer-disclosure {
  background: rgba(255,255,255,0.05);
  border-left: 3px solid rgba(255,255,255,0.3);
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin: 0 0 24px 0;
  font-size: 12px;
  line-height: 1.65;
  color: rgba(255,255,255,0.78);
}
.gbc-learn-footer-disclosure strong {
  color: rgba(255,255,255,0.95);
  font-weight: 700;
}

.gbc-learn-footer-legal {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 22px;
  display: flex; flex-direction: column; gap: 10px;
  color: rgba(255,255,255,0.6); font-size: 12px;
}
.gbc-learn-footer-links a { color: rgba(255,255,255,0.85); text-decoration: none; }
.gbc-learn-footer-links a:hover { color: var(--gbc-learn-orange); }
.gbc-learn-footer-links span { color: rgba(255,255,255,0.4); margin: 0 6px; }
.gbc-learn-footer-copy { line-height: 1.6; }

/* ===== Sticky mobile bottom CTA bar (with iOS safe-area inset) ===== */
.gbc-learn-mobile-cta-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  background: #fff; border-top: 1px solid var(--gbc-learn-border);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px)) 14px;
  box-shadow: 0 -4px 14px rgba(0,0,0,0.1);
}
.gbc-learn-mobile-cta-bar a {
  display: block; width: 100%; text-align: center;
  padding: 14px; border-radius: 10px; color: #fff !important;
  text-decoration: none; font-weight: 800; font-size: 16px;
  min-height: 48px; /* touch target */
}
.gbc-mobile-cta-a { background: var(--gbc-learn-orange); }
.gbc-mobile-cta-b { background: var(--gbc-learn-success); }
/* lock-call-cta-2026-05-31: mobile sticky Call variant — navy bg matches
   header Call CTA. The mobile bar's display:flex + 50/50 split happens via
   the existing @media (max-width: 768px) block below. */
.gbc-call-cta-mobile { background: var(--gbc-learn-navy); }
.gbc-call-cta-mobile:hover { background: var(--gbc-learn-navy-light); }

/* ===== Filed-Rates Section — LOCKED visual language =====
   Per docs/GOLD-STANDARD-LEARN-PAGE.md + STANDARD-LEARN-PAGE-PUBLISH-GATE.md.
   Used by <FiledRatesSection> component (Move 2.5.LOCK.ENFORCE.c).
   - Green primary block = regulator-anchored authority signal (NCCI / state DOI).
   - Orange secondary block = residual-market / ceiling-reference caveat.
   - Yellow triangulation = FBQ funnel data (distinct from regulator green).
   - Gray honest-note = transparency disclaimer.
   These colors are RESERVED. Don't repurpose. */
.gbc-rate-anchor-block {
  background: linear-gradient(135deg, #f0fff4 0%, #ffffff 100%);
  border: 1px solid #9ae6b4;
  border-left: 4px solid #276749;
  border-radius: 8px;
  padding: 18px 20px;
  margin: 18px 0;
}
.gbc-rate-anchor-block.gbc-rate-anchor-secondary {
  background: linear-gradient(135deg, #fff7f0 0%, #ffffff 100%);
  border-color: #fbd38d;
  border-left-color: #c05621;
}
.gbc-rate-anchor-math {
  font-size: 14px;
  color: #1a3a2e;
  margin: 12px 0 0 0;
  padding-top: 12px;
  border-top: 1px dashed #9ae6b4;
}
.gbc-rate-anchor-secondary .gbc-rate-anchor-math {
  border-top-color: #fbd38d;
  color: #2c3543;
}
.gbc-rate-anchor-honest {
  background: #f7f9fc;
  border-left: 3px solid #5b6471;
  padding: 12px 16px;
  font-size: 14px;
  color: #2c3543;
  margin: 18px 0;
  border-radius: 4px;
}
.gbc-rate-anchor-triangulation {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 4px solid #b45309;
  padding: 14px 18px;
  font-size: 14px;
  color: #2c3543;
  margin: 14px 0 0 0;
  border-radius: 4px;
}
/* scope-boundary-2026-05-31 per REVIEW-workers-comp-page.md audit:
   Every filed-rates block must be self-contained. Scope clarification
   reads as a soft caveat — muted gray-blue, smaller font, italic. */
.gbc-rate-anchor-scope {
  background: #eef2f7;
  border-left: 3px solid #4a5568;
  padding: 10px 14px;
  font-size: 13px;
  font-style: italic;
  color: #2c3543;
  margin: 14px 0 0 0;
  border-radius: 4px;
}
.gbc-rate-anchor-scope strong {
  font-style: normal;
  color: #1a365d;
}

/* ===== Touch-device hover suppression (avoid stuck :hover on mobile) ===== */
@media (hover: none) {
  .gbc-learn-cta-a:hover, .gbc-learn-cta-b:hover,
  .gbc-cta-rail-button-a:hover, .gbc-cta-rail-button-b:hover,
  .gbc-learn-coverage-card:hover, .gbc-learn-related-link:hover,
  table.gbc-learn-compare tr:hover td,
  .gbc-stat-tile:hover, .gbc-learn-footer-cta:hover,
  .gbc-learn-footer li a:hover, .gbc-learn-toc a:hover {
    transform: none !important;
    background-color: initial;
  }
}

/* ===== Reduced motion preference ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .gbc-reading-progress { transition: none; }
}

/* ===== Touch-target minimums (WCAG 2.5.5 + Apple HIG 44×44, Material 48×48) ===== */
.gbc-learn-header-ctas a,
.gbc-learn-cta,
.gbc-learn-footer-cta,
.gbc-learn-related-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ===== Mobile (tablet + phone — 1023px and below) ===== */
@media (max-width: 1023px) {
  .gbc-cta-rail { flex-direction: column; align-items: stretch; padding: 24px; }
  .gbc-cta-rail-button-a, .gbc-cta-rail-button-b { width: 100%; text-align: center; }
}

@media (max-width: 768px) {
  .gbc-learn-shell h1 { font-size: 30px; }
  .gbc-learn-article h2 { font-size: 24px; }
  .gbc-learn-article p { font-size: 16px; }
  .gbc-learn-article li { font-size: 16px; }
  .gbc-learn-lead { font-size: 18px; padding: 20px; }
  .gbc-cta-rail { flex-direction: column; align-items: flex-start; padding: 24px; }
  .gbc-cta-rail h3 { font-size: 21px; }
  .gbc-cta-rail-button-a, .gbc-cta-rail-button-b { width: 100%; text-align: center; }
  .gbc-learn-author-card { flex-direction: column; }
  /* g8-2026-06-03 v3: per owner directive "Use that pattern for the header" —
     adopt the SfV3 quote-flow .v2-header-phone pattern at mobile. Hide the big
     stacked Call+Quote CTAs entirely; show a tiny inline "or Call [phone]"
     text link instead (the new .gbc-learn-header-phone-mobile element added in
     LearnPageLayout.razor). Mobile sticky bottom bar still shows full
     Call+Quote first-class CTAs. */
  .gbc-learn-header-ctas { display: none; }
  /* g8-2026-06-03 v6: show <HeaderPhone /> at mobile — the orange-button
     pattern from MainLayout used by /quote/sf and every other site-wide
     chrome surface. HeaderPhone.razor has its own @media (max-width: 768px)
     internal rule that renders it as orange button + phone icon + "Call
     an Agent" text at this viewport. */
  .gbc-learn-header-phone-component { display: inline-block; }
  /* g8-2026-06-03 v5: match SfV3 .v2-header EXACTLY at mobile —
     transparent + borderless + no shadow + position: relative (NOT sticky).
     Removing sticky stops the header from floating over article content as
     the user scrolls. SfV3 has position:relative; we match that at mobile.
     Desktop sticky behavior preserved (long-article scroll convenience). */
  .gbc-learn-header {
    background: transparent;
    border-bottom: none;
    box-shadow: none;
    padding: 12px 0;
    position: relative;
    top: auto;
  }
  /* lock-call-cta-2026-05-31: flex layout so Call + Quote share the bar 50/50. */
  /* g8-2026-06-03 v3: tighten sticky bar OUTER padding too (was 10px 14px on
     the bar wrapper — drop to 6px 12px). */
  .gbc-learn-mobile-cta-bar {
    display: flex;
    gap: 8px;
    padding: 6px 12px calc(6px + env(safe-area-inset-bottom, 0px)) 12px;
  }
  .gbc-learn-mobile-cta-bar a {
    flex: 1 1 50%;
    /* g8-2026-06-03 v3: AGGRESSIVE shrink per owner review iteration. Pre-G8
       padding:14px + font-size:16px + min-height:48px = ~52px tall, owner
       called this "stupid fucking big". Post-G8 v3: padding:6px 10px +
       font-size:13px + min-height:36px = ~36px tall. Matches SfV3 .v2-header-
       phone compact aesthetic. min-height:36px is below strict WCAG 2.5.5
       44×44 — accepting that tradeoff because the touch hit-area extends to
       the parent bar's 6px gap above + 6px below, giving effective ~48px tap
       region. */
    padding: 6px 10px;
    font-size: 13px;
    min-height: 36px;
    font-weight: 700;
    border-radius: 6px;
  }
  /* g8-2026-06-03: tighten /learn footer at mobile per owner review —
     "footer links are fucking masive". Reduce footer padding, h5 + link
     font-sizes, and inter-li margins so the navy footer doesn't dominate
     the bottom of the viewport. */
  .gbc-learn-footer {
    padding: 28px 0 18px 0;
    margin-top: 32px;
    font-size: 13px;
  }
  .gbc-learn-footer h5 {
    font-size: 12px;
    margin-bottom: 10px;
  }
  .gbc-learn-footer li { margin-bottom: 5px; }
  .gbc-learn-footer li a { font-size: 13px; }
  .gbc-learn-footer-phone { font-size: 18px; }
  .gbc-learn-footer-cta { padding: 8px 14px; font-size: 12px; }
  .gbc-learn-shell main { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
  .gbc-learn-footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .gbc-learn-trust-stats { gap: 16px; font-size: 13px; }
  .gbc-learn-trust-logos { gap: 18px; }
  .gbc-learn-header-ctas a { padding: 10px 14px; font-size: 13px; min-height: 44px; }
  /* WCAG 1.4.4 — readable font minimum */
  .gbc-learn-callout-body small { font-size: 12px; }
  .gbc-learn-stat-source { font-size: 12px; }
  .gbc-learn-footer-copy { font-size: 12px; }
  /* Tables — extra room for swipe */
  .gbc-learn-article table.gbc-learn-compare {
    margin-left: -20px; margin-right: -20px;
    padding-left: 20px; padding-right: 20px;
    width: calc(100% + 40px);
  }
}

/* ===== Small phones (iPhone SE, older Androids) ===== */
@media (max-width: 380px) {
  .gbc-learn-shell h1 { font-size: 26px; }
  .gbc-learn-article h2 { font-size: 22px; }
  .gbc-learn-lead { padding: 16px; font-size: 17px; }
  .gbc-stat-tile-num { font-size: 26px; }
  .gbc-learn-coverage-card { padding: 16px 18px; }
  .gbc-learn-header .gbc-learn-container { padding: 0 14px; }
  .gbc-learn-logo-img { height: 42px; max-width: 170px; }
}
@media (max-width: 480px) {
  .gbc-learn-footer-grid { grid-template-columns: 1fr; }
}

/* ─── move2-slice2.1-stat-component-2026-05-31 ───
   Styles for the <Stat> component (FastBusinessQuote.Web/Components/Shared/Stat.razor).
   The ONLY approved way to publish a number on the site per
   ROADMAP-SEO-MASTER-V2-2026-05-31.md Move 2 Slice 2.1. */
.gbc-stat { display: inline-block; line-height: 1.4; }
.gbc-stat__value { font-weight: 700; color: inherit; }
.gbc-stat__label { display: inline; margin-left: 0.25em; font-weight: 500; color: inherit; }
.gbc-stat__source { display: block; font-size: 0.78rem; color: #5b6471; font-style: normal; margin-top: 4px; }
.gbc-stat__source a { color: #3182ce; text-decoration: underline; }
.gbc-stat__disclaimer { display: block; font-size: 0.72rem; color: #8a92a0; margin-top: 2px; }

/* seo-learn-cost-link-2026-07-03: prominent standout cost-estimator CTA (LearnCostLink.razor).
   Distinct BLUE box + button so it reads as a strong secondary action next to the orange
   primary quote CTA. Replaces the earlier subtle inline text link (owner feedback: "no CTAs
   stand out" on /learn/daycare-insurance). */
.gbc-learn-cost-cta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
  background: var(--gbc-learn-blue-light);
  border: 1px solid #bee3f8; border-left: 5px solid var(--gbc-learn-blue);
  border-radius: 12px; padding: 18px 22px; margin: 22px 0;
}
.gbc-learn-cost-cta-text { flex: 1 1 260px; }
.gbc-learn-cost-cta-text strong {
  display: block; color: var(--gbc-learn-navy); font-size: 17px; margin-bottom: 2px;
}
.gbc-learn-cost-cta-text span { font-size: 13.5px; color: var(--gbc-learn-muted); }
/* Specificity bumped (aside + a.class) so the white button label wins over the
   content-anchor color rule — fixes blue-on-blue invisible text. */
.gbc-learn-cost-cta a.gbc-learn-cost-cta-btn {
  background: var(--gbc-learn-blue); color: #fff; text-decoration: none; font-weight: 800;
  padding: 12px 22px; border-radius: 9px; white-space: nowrap; font-size: 15px;
  min-height: 44px; display: inline-flex; align-items: center;
}
.gbc-learn-cost-cta a.gbc-learn-cost-cta-btn:hover { background: #2b6cb0; color: #fff; }
