/* Shared by public articles and their in-app views. */
.trail-photograph { margin: 0; min-width: 0; }
.trail-photograph img { display: block; width: 100%; height: 100%; max-height: 620px; object-fit: cover; object-position: 70% center; aspect-ratio: 1; }
.trail-photograph figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 18px; padding-top: 12px; color: var(--muted); font: 9px/1.6 var(--font-label); }
.trail-photograph figcaption a { text-decoration: none; }
.trail-photograph figcaption a:hover { text-decoration: underline; }
.editorial-site .guide-page .why-hero, .dashboard .why-hero, .article-photo-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px 5vw; align-items: start; padding: 48px 0; background: transparent; color: var(--ink); border: 0; border-bottom: 1px solid var(--line); }
.editorial-site .guide-page .why-hero > div, .dashboard .why-hero > div { grid-column: 1; grid-row: 1; }
.editorial-site .guide-page .why-hero .trail-photograph, .dashboard .why-hero .trail-photograph { grid-column: 2; grid-row: 1 / span 2; align-self: stretch; padding-bottom: 30px; }
.editorial-site .guide-page .why-hero aside, .dashboard .why-hero aside { grid-column: 1; grid-row: 2; padding: 20px 0 0; border: 0; border-top: 1px solid var(--line); background: transparent; color: var(--ink); }
.editorial-site .guide-page .why-hero h1, .dashboard .why-hero h1 { font-size: clamp(40px, 4.8vw, 68px); color: var(--ink); }
.editorial-site .guide-page .why-hero :is(p, aside p), .dashboard .why-hero :is(p, aside p) { color: var(--muted); font-size: 14px; line-height: 1.85; }
.dashboard .why-hero .eyebrow, .dashboard .why-hero aside strong { color: var(--accent); }
.article-photo-hero .article-hero-copy { min-width: 0; align-self: center; }
.editorial-site .article-photo-hero h1 { font-size: clamp(42px, 5.3vw, 74px); }
.editorial-site .article-photo-hero .lead { font-size: 15px; }
.editorial-site .article-photo-hero .cta { font-size: 11px; }
.editorial-site .article-photo-hero .article-hero-copy > p:last-child:not(.lead) { font-size: 12px; }
.reading-layout { display: grid; grid-template-columns: 190px minmax(0, 1fr); align-items: start; gap: 5vw; margin-top: 38px; }
.reading-content { min-width: 0; }
.editorial-site .reading-layout > nav, .reading-layout > :is(.why-index, .glossary-index, .legal-nav) { position: sticky; top: 30px; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 0; margin: 0; border: 0; counter-reset: chapters; }
.dashboard .reading-layout > nav { top: 120px; }
.editorial-site .reading-layout > nav a, .reading-layout > nav :is(a, button) { display: flex; align-items: baseline; gap: 14px; margin: 0; padding: 18px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); font: 500 11px/1.8 var(--font-body); text-align: left; text-decoration: none; counter-increment: chapters; }
.reading-layout > nav :is(a, button)::before { content: counter(chapters, decimal-leading-zero); flex-shrink: 0; color: var(--accent); font: 9px var(--font-label); }
.reading-layout > nav :is(a, button):hover { text-decoration: underline; text-underline-offset: 5px; }
.reading-layout > nav :is(.active, [aria-current="page"]) { color: var(--accent); font-weight: 700; }
.editorial-site .reading-content > section:first-child, .dashboard .reading-content > section:first-child { padding-top: 0; }
.reading-content > section { scroll-margin-top: 32px; }
.dashboard .reading-content > section { scroll-margin-top: 120px; }
.editorial-site .reading-content h2 { font-size: clamp(32px, 3.3vw, 44px); }
.editorial-site .reading-content :is(p, li, dd), .dashboard .reading-content :is(p, li, dd) { font-size: 14px; line-height: 1.95; }
.editorial-site .reading-content :is(.grid, .why-columns, .evidence-grid, .risk-grid, .guide-columns), .dashboard .reading-content :is(.why-columns, .evidence-grid, .risk-grid) { grid-template-columns: minmax(0, 1fr); gap: 18px; }
.reading-content .why-section { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-inline: 0; }
.reading-content .why-section > .why-number { display: none; }
.reading-content .why-section.dark { background: var(--navy); color: var(--paper); padding: 32px; }
.reading-content .why-section.dark :is(p, h2, h3, .eyebrow) { color: var(--paper); }
.editorial-site .reading-content .why-section.dark :is(p, li) { color: #d1e3ef; }
.reading-content .why-section.dark .why-callout { background: #254e6b; }
.reading-content .why-callout, .reading-content .why-takeaway { border-radius: 0; }
.reading-content .glossary-group, .reading-content .group { padding-block: 38px; border-bottom: 0; }
.editorial-site .reading-content :is(.glossary-group, .group) dl > div, .dashboard .glossary-group dl > div { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); gap: 28px; padding-block: 24px; border-bottom: 1px solid var(--line); }
.editorial-site .reading-content :is(.glossary-group, .group) dt, .dashboard .glossary-group dt { font: 500 25px/1.2 var(--font-editorial); color: var(--ink); margin: 0; }
.editorial-site .reading-content :is(.glossary-group, .group) dd, .dashboard .glossary-group dd { margin: 0; }
.reading-layout .legal-document { padding-top: 0; }
.editorial-site .legal-view > .view-heading, .editorial-site .glossary-view > .view-heading { padding-block: 44px 38px; margin-bottom: 0; border-bottom: 1px solid var(--line); }
.editorial-site .legal-view > .view-heading h1 { font-size: clamp(42px, 5.3vw, 70px); }
@media (max-width: 1000px) {
  .reading-layout { grid-template-columns: 150px minmax(0, 1fr); gap: 32px; }
  .editorial-site .reading-content :is(.glossary-group, .group) dl > div, .dashboard .glossary-group dl > div { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 750px) {
  .editorial-site .guide-page .why-hero, .dashboard .why-hero, .article-photo-hero { grid-template-columns: minmax(0, 1fr); padding-block: 32px; gap: 24px; }
  .editorial-site .guide-page .why-hero .trail-photograph, .dashboard .why-hero .trail-photograph { grid-column: 1; grid-row: 2; padding: 0; }
  .editorial-site .guide-page .why-hero aside, .dashboard .why-hero aside { grid-row: 3; }
  .trail-photograph img { height: auto; aspect-ratio: 1.35; }
  .reading-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 28px; }
  .editorial-site .reading-layout > nav, .reading-layout > :is(.why-index, .glossary-index, .legal-nav) { position: static; flex-direction: row; flex-wrap: wrap; gap: 0 24px; }
  .editorial-site .reading-layout > nav a, .reading-layout > nav :is(a, button) { padding: 12px 0; font-size: 10px; gap: 8px; }
  .reading-content .why-section.dark { padding: 26px; }
  .editorial-site .reading-content h2 { font-size: 34px; }
  .editorial-site .article-photo-hero h1, .editorial-site .guide-page .why-hero h1, .dashboard .why-hero h1 { font-size: clamp(40px, 10vw, 62px); }
}
