/* ═══════════════════════════════════════════════════════════════
   LUNAR — BLOG / GUIDE ARTICLE LAYER  (editorial long-form)
   Extends site-core.css. Reusable detail-page template that marries
   the variation-03-editorial type treatment (Fraunces serif, chapter
   marks, drop cap, pull quotes, byline) with the source-template
   blog-details structure (article body + sticky sidebar: search,
   recent posts, categories, tags; plus TOC, share, author, related).
   All colors reference site-core tokens.
   ═══════════════════════════════════════════════════════════════ */

:root { --font-editorial: 'Fraunces', 'Playfair Display', Georgia, serif; }

.ed-narrow { max-width: 780px; }

/* ─── Editorial hero ────────────────────────────────────────── */
.article-hero { position: relative; padding: clamp(30px, 5vw, 56px) 0 clamp(28px, 4vw, 44px); overflow: hidden; border-bottom: 1px solid var(--border-subtle); }
.article-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(circle at 18% 24%, rgba(66,133,244,0.12) 0%, transparent 52%),
    radial-gradient(circle at 82% 68%, rgba(34,211,238,0.07) 0%, transparent 52%),
    var(--bg-deep);
}
.article-hero > .container { position: relative; z-index: 1; }

.ed-chapter {
  display: inline-block;
  font-family: var(--font-primary);
  font-size: 11px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--accent-cyan);
  margin: 18px 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}

.ed-h1 { line-height: 1.03; margin: 0 0 20px; max-width: 900px; }
.ed-h1 .ed-h1-sup {
  display: block;
  font-family: var(--font-primary);
  font-size: clamp(0.72rem, 1.3vw, 0.85rem);
  font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 14px;
}
.ed-h1 .ed-h1-main {
  display: block;
  font-family: var(--font-editorial);
  font-size: clamp(2.1rem, 5.2vw, 3.8rem);
  font-weight: 600; letter-spacing: -0.02em; line-height: 1.02;
  color: var(--text-primary);
}
.ed-h1 em {
  font-style: italic; font-weight: 400;
  background: linear-gradient(135deg, #8ab4f8 0%, #22d3ee 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.ed-hero-sub {
  font-family: var(--font-primary);
  font-size: clamp(1.05rem, 1.6vw, 1.22rem); line-height: 1.65;
  color: var(--text-secondary);
  max-width: 720px; margin: 0 0 26px;
}

/* Byline + meta row */
.article-meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 18px 26px;
  padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.08);
}
.ed-byline { display: flex; align-items: center; gap: 13px; }
.ed-byline img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,0.14); }
.ed-byline-name { font-family: var(--font-editorial); font-size: 16px; color: var(--text-primary); font-weight: 600; letter-spacing: -0.01em; }
.ed-byline-role { font-size: 12.5px; color: var(--text-tertiary); margin-top: 2px; }
.article-meta .am-item { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--text-tertiary); }
.article-meta .am-item i { color: var(--accent-light); }

.article-hero-media { margin: 26px 0 0; }
.article-hero-media picture, .article-hero-media img {
  display: block; width: 100%; height: auto; border-radius: 18px; overflow: hidden;
  box-shadow: 0 34px 90px rgba(0,0,0,0.55);
}
/* Guide standard: all article media renders 16:9 widescreen */
.article-hero-media img { aspect-ratio: 16 / 9; object-fit: cover; }
.article-hero-media figcaption {
  margin-top: 12px; font-family: var(--font-editorial); font-style: italic;
  font-size: 13.5px; color: var(--text-tertiary); text-align: center;
}

/* ─── Two-column article shell ──────────────────────────────── */
.article-wrap { padding: clamp(40px, 5vw, 64px) 0 clamp(48px, 6vw, 80px); }
.article-grid { display: grid; grid-template-columns: minmax(0,1fr) 312px; gap: 56px; align-items: start; }
@media (max-width: 1000px) { .article-grid { grid-template-columns: 1fr; gap: 40px; } }
.article-main { min-width: 0; max-width: 760px; }

/* ─── Editorial prose ───────────────────────────────────────── */
.ed-prose { font-size: 17px; line-height: 1.78; color: var(--text-secondary); }
.ed-prose > p { margin: 0 0 20px; }
.ed-prose > p:last-child { margin-bottom: 0; }
.ed-lede { font-size: 19px; line-height: 1.66; color: var(--text-primary); }
.ed-dropcap {
  float: left; font-family: var(--font-editorial); font-size: 66px; font-weight: 600;
  line-height: 0.85; padding: 6px 10px 0 0; color: var(--accent-light); font-style: italic;
}
@media (max-width: 600px) { .ed-dropcap { font-size: 52px; } }

.ed-prose h2 {
  font-family: var(--font-editorial);
  font-size: clamp(1.6rem, 3.2vw, 2.15rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.14;
  color: var(--text-primary);
  margin: 46px 0 18px; scroll-margin-top: calc(var(--header-height) + 20px);
}
.ed-prose h2 em { font-style: italic; font-weight: 400; color: var(--accent-light); }
.ed-prose h3 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.4rem); font-weight: 600; letter-spacing: -0.01em;
  color: var(--text-primary); margin: 32px 0 12px; scroll-margin-top: calc(var(--header-height) + 20px);
}
.ed-prose a { color: var(--accent-light); text-decoration: underline; text-underline-offset: 3px; }
.ed-prose a:hover { color: var(--text-primary); }
.ed-prose ul, .ed-prose ol { margin: 0 0 20px; padding-left: 22px; }
.ed-prose ul:not([class]) { list-style: disc; }
.ed-prose ul:not([class]) li::marker { color: var(--accent-light); }
.ed-prose ol:not([class]) { list-style: decimal; }
.ed-prose ol:not([class]) li::marker { color: var(--accent-light); font-weight: 600; }
.ed-prose li { margin-bottom: 10px; line-height: 1.65; }
.ed-prose strong { color: var(--text-primary); font-weight: 600; }
.ed-prose figure { margin: 30px 0; }
.ed-prose figure img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--border-card); aspect-ratio: 16 / 9; object-fit: cover; }
.ed-prose figure figcaption { margin-top: 10px; font-family: var(--font-editorial); font-style: italic; font-size: 13.5px; color: var(--text-tertiary); text-align: center; }

/* Chapter mark inside prose */
.ed-chapter-mark { display: flex; align-items: center; gap: 18px; margin: 44px 0 22px; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,0.10); scroll-margin-top: calc(var(--header-height) + 20px); }
.ed-cm-num { font-family: var(--font-editorial); font-size: 40px; font-weight: 400; font-style: italic; line-height: 1; background: linear-gradient(135deg, var(--accent) 0%, var(--accent-cyan) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.ed-cm-label { font-family: var(--font-primary); font-size: 11px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--text-tertiary); }

/* Pull quote — full-column editorial band with large quote glyph
   (echoes variation-03-editorial .ed-pullquote). */
.ed-pullquote { margin: 44px 0; padding: 52px 24px; text-align: center; position: relative; background: linear-gradient(180deg, transparent 0%, rgba(66,133,244,0.06) 50%, transparent 100%); }
.ed-pullquote::before { content: "\201C"; display: block; font-family: var(--font-editorial); font-size: 116px; line-height: 0.5; color: rgba(66,133,244,0.26); margin-bottom: 6px; }
.ed-pullquote p { font-family: var(--font-editorial); font-size: clamp(1.4rem, 3vw, 2.1rem); font-weight: 400; font-style: italic; line-height: 1.34; color: var(--text-primary); letter-spacing: -0.01em; margin: 0 0 20px; }
.ed-pullquote cite { display: block; font-family: var(--font-primary); font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-cyan); font-style: normal; }

/* Key-takeaways / callout box */
.ed-callout { margin: 30px 0; padding: 22px 24px; background: linear-gradient(135deg, rgba(66,133,244,0.12) 0%, rgba(34,211,238,0.05) 100%), var(--bg-card-solid); border: 1px solid var(--border-light); border-radius: var(--radius-lg); }
.ed-callout h3 { font-family: var(--font-display); font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-light); margin: 0 0 12px; }
.ed-callout ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ed-callout li { display: flex; gap: 11px; font-size: 15px; line-height: 1.55; color: var(--text-secondary); }
.ed-callout li i { color: var(--accent); margin-top: 3px; flex-shrink: 0; }
.ed-callout li strong { color: var(--text-primary); }

/* Inline CTA band inside prose */
.ed-inline-cta { margin: 36px 0; padding: 26px 28px; background: var(--bg-card); border: 1px solid var(--border-card); border-radius: var(--radius-lg); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.ed-inline-cta .ic-copy strong { display: block; font-family: var(--font-display); font-size: 1.1rem; color: var(--text-primary); margin-bottom: 4px; }
.ed-inline-cta .ic-copy span { font-size: 14px; color: var(--text-tertiary); }

/* ─── Share row + author + related ──────────────────────────── */
.article-share { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 40px 0 0; padding-top: 26px; border-top: 1px solid var(--border-subtle); }
.article-share .sh-label { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-tertiary); }
.article-share a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--border-light); color: var(--text-secondary); background: var(--bg-glass); transition: color var(--transition-fast), border-color var(--transition-fast); }
.article-share a:hover { color: var(--text-primary); border-color: var(--accent); }

.article-author { margin-top: 34px; padding: 26px; background: var(--bg-card); border: 1px solid var(--border-card); border-radius: var(--radius-lg); display: flex; gap: 20px; align-items: flex-start; }
@media (max-width: 520px) { .article-author { flex-direction: column; } }
.article-author img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,0.14); flex-shrink: 0; }
.article-author .aa-name { font-family: var(--font-editorial); font-size: 1.25rem; font-weight: 600; color: var(--text-primary); letter-spacing: -0.01em; }
.article-author .aa-role { font-size: 13px; color: var(--accent-light); margin: 3px 0 10px; }
.article-author p { font-size: 14.5px; line-height: 1.65; color: var(--text-secondary); margin: 0; }
.article-author p a { color: var(--accent-light); text-decoration: underline; text-underline-offset: 2px; }

/* ─── Sticky sidebar widgets ────────────────────────────────── */
.article-aside { position: sticky; top: calc(var(--header-height) + 20px); display: flex; flex-direction: column; gap: 22px; }
@media (max-width: 1000px) { .article-aside { position: static; } }
.aside-widget { background: var(--bg-card); border: 1px solid var(--border-card); border-radius: var(--radius-md); padding: 20px; }
.aside-widget h2, .aside-widget h3 { font-family: var(--font-primary); font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-tertiary); margin: 0 0 14px; }

/* TOC */
.toc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.toc-list a { display: block; padding: 8px 12px; border-left: 2px solid transparent; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--text-secondary); font-size: 13.5px; line-height: 1.4; text-decoration: none; transition: color var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast); }
.toc-list a:hover { color: var(--text-primary); background: var(--bg-glass); }
.toc-list a.is-active { color: var(--text-primary); border-left-color: var(--accent); background: var(--bg-glass); font-weight: 600; }

/* Search */
.aside-search { display: flex; gap: 8px; }
.aside-search input { flex: 1; min-width: 0; padding: 10px 12px; background: var(--bg-deep); border: 1px solid var(--border-light); border-radius: var(--radius-sm); color: var(--text-primary); font-family: var(--font-primary); font-size: 14px; }
.aside-search input::placeholder { color: var(--text-muted); }
.aside-search button { flex-shrink: 0; width: 42px; border: 1px solid var(--border-light); border-radius: var(--radius-sm); background: var(--accent); color: #fff; cursor: pointer; }

/* Recent posts */
.recent-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.recent-list a { display: grid; grid-template-columns: 54px 1fr; gap: 12px; text-decoration: none; align-items: center; }
.recent-thumb { width: 54px; height: 54px; border-radius: var(--radius-sm); display: grid; place-items: center; background: linear-gradient(135deg, var(--bg-card-solid) 0%, var(--bg-deep) 100%); border: 1px solid var(--border-subtle); color: var(--accent-light); font-size: 18px; }
.recent-list .rc-t { display: block; font-size: 13.5px; font-weight: 600; color: var(--text-secondary); line-height: 1.35; }
.recent-list a:hover .rc-t { color: var(--text-primary); }
.recent-list .rc-d { display: block; font-size: 11.5px; color: var(--text-muted); margin-top: 4px; }

/* Categories + tags */
.cat-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.cat-list a { display: flex; align-items: center; justify-content: space-between; padding: 9px 12px; border-radius: var(--radius-sm); color: var(--text-secondary); font-size: 14px; font-weight: 500; text-decoration: none; transition: color var(--transition-fast), background var(--transition-fast); }
.cat-list a:hover { color: var(--text-primary); background: var(--bg-glass); }
.cat-list .n { color: var(--text-muted); font-size: 12px; font-weight: 600; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a { padding: 6px 12px; border: 1px solid var(--border-light); border-radius: var(--radius-pill); color: var(--text-secondary); font-size: 12.5px; font-weight: 500; text-decoration: none; background: var(--bg-glass); transition: color var(--transition-fast), border-color var(--transition-fast); }
.tag-cloud a:hover { color: var(--text-primary); border-color: var(--accent); }

/* Sidebar CTA */
.aside-cta { background: linear-gradient(135deg, rgba(66,133,244,0.16) 0%, rgba(34,211,238,0.06) 100%), var(--bg-card-solid); border-color: var(--border-light); text-align: center; }
.aside-cta h3 { color: var(--accent-light); }
.aside-cta p { font-size: 14px; line-height: 1.55; color: var(--text-secondary); margin: 0 0 16px; }

/* ─── Related articles ──────────────────────────────────────── */
.related-band { border-top: 1px solid var(--border-subtle); background: var(--bg-deep); padding: clamp(40px, 5vw, 64px) 0; }
.related-head { font-family: var(--font-editorial); font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 600; letter-spacing: -0.01em; color: var(--text-primary); margin: 0 0 24px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .related-grid { grid-template-columns: 1fr; } }
.related-card { display: flex; flex-direction: column; background: var(--bg-card); border: 1px solid var(--border-card); border-radius: var(--radius-md); overflow: hidden; transition: border-color var(--transition-fast), transform var(--transition-fast); }
.related-card:hover { border-color: var(--border-light); transform: translateY(-3px); }
.related-card .rl-thumb { height: 104px; display: grid; place-items: center; background: radial-gradient(120% 130% at 75% 15%, rgba(66,133,244,0.22) 0%, transparent 60%), linear-gradient(135deg, var(--bg-card-solid) 0%, var(--bg-deep) 100%); border-bottom: 1px solid var(--border-subtle); color: var(--accent-light); font-size: 26px; }
.related-card .rl-body { padding: 16px 18px 18px; }
.related-card .rl-cat { font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-tertiary); }
.related-card h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; margin: 8px 0 0; }
.related-card h3 a { color: var(--text-primary); text-decoration: none; }
.related-card h3 a:hover { color: var(--accent-light); }

/* ═══════════════════════════════════════════════════════════════
   REFERENCE-CHART EXTENSIONS  (life-expectancy & spec-table guides)
   Dark-theme data tables, Florida flags, climate note, jump-to TOC.
   Reusable by any long-form chart/reference article on this layer.
   ═══════════════════════════════════════════════════════════════ */

/* Jump-to table of contents */
.ed-prose .life-toc { margin: 28px 0; padding: 22px 24px; background: var(--bg-card); border: 1px solid var(--border-card); border-left: 3px solid var(--accent); border-radius: var(--radius-md); }
.ed-prose .life-toc h2, .ed-prose .life-toc h4 { font-family: var(--font-primary); font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-tertiary); margin: 0 0 14px; }
.ed-prose .life-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: lt; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 28px; }
@media (max-width: 560px) { .ed-prose .life-toc ol { grid-template-columns: 1fr; } }
.ed-prose .life-toc li { counter-increment: lt; margin: 0; }
.ed-prose .life-toc a { display: flex; align-items: baseline; gap: 10px; padding: 4px 0; font-size: 14.5px; color: var(--text-secondary); text-decoration: none; }
.ed-prose .life-toc a::before { content: counter(lt, decimal-leading-zero); font-family: var(--font-display); font-size: 12px; font-weight: 600; color: var(--accent-light); font-variant-numeric: tabular-nums; }
.ed-prose .life-toc a:hover { color: var(--text-primary); }

/* Florida climate note */
.ed-prose .fl-climate-note { margin: 26px 0; padding: 18px 22px; font-size: 15px; line-height: 1.62; color: var(--text-secondary); background: linear-gradient(135deg, rgba(232,119,34,0.10) 0%, rgba(232,119,34,0.03) 100%), var(--bg-card-solid); border: 1px solid rgba(232,119,34,0.30); border-left: 3px solid #e87722; border-radius: var(--radius-md); }
.ed-prose .fl-climate-note strong { color: var(--text-primary); }

/* Florida "shorter life" / warning flags */
.fl-badge { display: inline-block; font-family: var(--font-primary); font-size: 10px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: #ffcf9e; background: rgba(232,119,34,0.16); border: 1px solid rgba(232,119,34,0.45); padding: 1px 7px; border-radius: var(--radius-pill); margin-left: 7px; vertical-align: middle; white-space: nowrap; }
.fl-badge.warn-badge { color: #ffb0a6; background: rgba(192,57,43,0.18); border-color: rgba(192,57,43,0.52); }
.ed-prose .fl-climate-note .fl-badge { margin-left: 2px; }

/* Data tables */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 22px 0 30px; border: 1px solid var(--border-card); border-radius: var(--radius-md); }
.ed-prose .life-table { width: 100%; min-width: 460px; border-collapse: collapse; font-family: var(--font-primary); font-size: 15px; margin: 0; }
.ed-prose .life-table thead th { background: linear-gradient(135deg, rgba(66,133,244,0.18) 0%, rgba(34,211,238,0.07) 100%), var(--bg-card-solid); color: var(--text-primary); text-align: left; font-weight: 600; letter-spacing: 0.02em; padding: 13px 18px; border-bottom: 1px solid var(--border-light); }
.ed-prose .life-table tbody td { padding: 12px 18px; border-bottom: 1px solid var(--border-subtle); color: var(--text-secondary); vertical-align: middle; line-height: 1.45; }
.ed-prose .life-table tbody tr:last-child td { border-bottom: 0; }
.ed-prose .life-table tbody tr:nth-child(even) { background: rgba(255,255,255,0.018); }
.ed-prose .life-table tbody tr:hover { background: rgba(66,133,244,0.06); }
.ed-prose .life-table tbody td:last-child { font-family: var(--font-display); font-weight: 600; color: var(--accent-light); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Scroll-margin for chart section anchors under the sticky header */
.chart-section-anchor { scroll-margin-top: calc(var(--header-height) + 20px); }

/* FAQ block */
.ed-prose .ed-faq { margin: 20px 0 0; display: flex; flex-direction: column; gap: 0; }
.ed-prose .ed-faq details { border-top: 1px solid var(--border-subtle); }
.ed-prose .ed-faq details:last-child { border-bottom: 1px solid var(--border-subtle); }
.ed-prose .ed-faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font-family: var(--font-display); font-size: 1.06rem; font-weight: 600; color: var(--text-primary); line-height: 1.4; }
.ed-prose .ed-faq summary::-webkit-details-marker { display: none; }
.ed-prose .ed-faq summary::after { content: "\002B"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-family: var(--font-primary); font-size: 22px; font-weight: 400; color: var(--accent-light); transition: transform var(--transition-fast); }
.ed-prose .ed-faq details[open] summary::after { content: "\2212"; }
.ed-prose .ed-faq summary:hover { color: var(--accent-light); }
.ed-prose .ed-faq details > p { margin: 0 0 18px; color: var(--text-secondary); }

/* ═══════════════════════════════════════════════════════════════
   GUIDE TEMPLATE EXTENSIONS  (BASE-style editorial layout)
   Amber note boxes, tinted heading bars, icon-led headings,
   accent-band sections — added for the guide template standard.
   ═══════════════════════════════════════════════════════════════ */

/* Amber note / tip box — "Did you know?" callouts */
.ed-note {
  margin: 30px 0; padding: 22px 24px;
  background: linear-gradient(135deg, rgba(232,158,52,0.08) 0%, rgba(232,158,52,0.02) 100%), var(--bg-card-solid);
  border: 1px solid rgba(232,158,52,0.28); border-left: 3px solid #e89e34;
  border-radius: var(--radius-lg);
}
.ed-note .note-label {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--font-primary); font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: #ffcf9e; margin: 0 0 10px;
}
.ed-note .note-label i { font-size: 14px; }
.ed-note p { font-size: 15px; line-height: 1.62; color: var(--text-secondary); margin: 0 0 8px; }
.ed-note p:last-child { margin-bottom: 0; }
.ed-note strong { color: var(--text-primary); }
.ed-note a { color: var(--accent-light); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* Tinted heading bar — accent-bordered section heading block */
.ed-bar-heading {
  margin: 40px 0 20px; padding: 16px 22px;
  background: linear-gradient(135deg, rgba(66,133,244,0.08) 0%, rgba(34,211,238,0.03) 100%), var(--bg-card-solid);
  border-left: 3px solid var(--accent); border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.ed-bar-heading h2, .ed-bar-heading h3 { margin: 0; }

/* Icon-prefixed heading row */
.ed-icon-heading {
  display: flex; align-items: center; gap: 14px; margin: 40px 0 14px;
}
.ed-icon-heading .ih-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  display: grid; place-items: center; border-radius: 50%;
  background: linear-gradient(135deg, rgba(66,133,244,0.16) 0%, rgba(34,211,238,0.06) 100%);
  border: 1px solid rgba(66,133,244,0.26); color: var(--accent-light); font-size: 15px;
}
.ed-icon-heading h2, .ed-icon-heading h3 { margin: 0; }

/* Dark accent band within prose */
.ed-accent-band {
  margin: 40px calc(-1 * clamp(16px, 3vw, 24px)); padding: 36px clamp(16px, 3vw, 24px);
  background:
    radial-gradient(120% 130% at 20% 40%, rgba(66,133,244,0.10), transparent 60%),
    var(--bg-deep);
  border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}
.ed-accent-band h2:first-child, .ed-accent-band h3:first-child { margin-top: 0; }

/* Styled definition list for guide feature breakdowns */
.ed-feature-list { margin: 24px 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 0; }
.ed-feature-list li {
  display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start;
  padding: 18px 0; border-bottom: 1px solid var(--border-subtle);
}
.ed-feature-list li:first-child { padding-top: 0; }
.ed-feature-list li:last-child { border-bottom: 0; }
.ed-feature-list .fl-num {
  font-family: var(--font-editorial); font-size: 22px; font-weight: 400; font-style: italic;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-cyan) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  line-height: 1.3; text-align: center;
}
.ed-feature-list h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; color: var(--text-primary); margin: 0 0 4px; letter-spacing: -0.01em; }
.ed-feature-list p { margin: 0; font-size: 15px; line-height: 1.62; color: var(--text-secondary); }

/* Quote block on dark accent background (BASE-style bordered quote) */
.ed-quote-block {
  margin: 30px 0; padding: 28px 26px;
  background: var(--bg-card); border: 1px solid var(--border-card);
  border-left: 3px solid var(--accent-cyan); border-radius: var(--radius-lg);
}
.ed-quote-block p {
  font-family: var(--font-editorial); font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 400; font-style: italic; line-height: 1.45;
  color: var(--text-primary); letter-spacing: -0.005em; margin: 0 0 12px;
}
.ed-quote-block p:last-of-type { margin-bottom: 0; }
.ed-quote-block cite {
  display: block; margin-top: 14px;
  font-family: var(--font-primary); font-size: 12px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-tertiary); font-style: normal;
}
