/* Editorial rhythm follows the preview's color and type roles. */
.editorial .top { border-bottom-color: var(--line); }
.editorial footer { padding-bottom: var(--s-7); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: var(--s-2); color: var(--muted); font-size: var(--fs-small); padding-top: var(--s-6); }
.breadcrumb a { min-height: 32px; }
.breadcrumb span { overflow-wrap: anywhere; }
.article-head { max-width: 960px; padding-block: var(--s-7) var(--s-7); }
.article-head h1, .page-head h1 { font-size: var(--fs-display); line-height: var(--lh-display); letter-spacing: var(--ls-display); max-width: 19ch; }
.article-deck { max-width: 58ch; font-size: var(--fs-lead); color: var(--muted); margin-top: var(--s-5); }
.article-meta { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); font-size: var(--fs-small); color: var(--muted); margin-top: var(--s-5); }
.article-layout { display: grid; gap: var(--s-6); padding-block: 0 var(--s-8); }
.article-body { max-width: 68ch; min-width: 0; font-size: var(--fs-body); line-height: 1.75; }
.article-body > * + *, .article-body .prose > * + * { margin-top: var(--s-5); }
.article-body .prose > h2 { margin-top: var(--s-8); }
.article-body h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); letter-spacing: var(--ls-h2); scroll-margin-top: 120px; }
.article-body h3 { font-size: var(--fs-h3); line-height: var(--lh-h3); margin-top: var(--s-6); }
.article-body ul, .article-body ol { padding-left: var(--s-5); list-style: revert; }
.article-body li + li { margin-top: var(--s-3); }
.article-body a { overflow-wrap: anywhere; }
.article-body blockquote { margin-inline: 0; border-left: 3px solid var(--saffron); padding: var(--s-2) 0 var(--s-2) var(--s-5); font-size: var(--fs-lead); }
.article-body code { background: var(--grey); padding: 2px var(--s-2); font-size: .9em; overflow-wrap: anywhere; }
.article-body pre { overflow-x: auto; padding: var(--s-4); background: var(--grey); }
.takeaways { background: var(--warm); border-top: 3px solid var(--saffron); padding: var(--s-5); margin-bottom: var(--s-6); }
.takeaways h2 { font-family: var(--body); font-weight: 600; font-size: var(--fs-h3); line-height: 1.4; letter-spacing: 0; margin-bottom: var(--s-4); }
.contents { border-block: 1px solid var(--line); }
.contents summary { font-size: var(--fs-h3); font-weight: 600; }
.contents ol { display: grid; gap: var(--s-1); padding-bottom: var(--s-4); }
.contents a { display: block; font-size: var(--fs-small); line-height: 1.4; padding-block: var(--s-2); color: var(--muted); text-decoration: none; }
.contents a:hover, .contents a[aria-current] { color: var(--night); text-decoration: underline; }
.table-scroll { overflow-x: auto; max-width: 100%; border-block: 1px solid var(--line); }
.table-scroll table { border-collapse: collapse; min-width: 100%; width: max-content; max-width: 900px; font-size: var(--fs-body); }
.table-scroll th, .table-scroll td { padding: var(--s-4); border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; min-width: 140px; max-width: 380px; overflow-wrap: anywhere; }
.table-scroll th { background: var(--grey); }
.inline-cta { margin-block: var(--s-6); padding: var(--s-6) var(--s-5); border-left: 3px solid var(--saffron); background: var(--grey); }
.inline-cta p { font-size: var(--fs-lead); line-height: 1.5; }
.inline-cta .btn { margin-top: var(--s-5); }
.article-faq, .article-sources { padding-top: var(--s-6); }
.article-faq h2, .article-sources h2 { margin-bottom: var(--s-5); }
.article-sources ol { padding-left: var(--s-5); }
.article-sources li { padding-left: var(--s-2); }
.source-meta { display: block; color: var(--muted); font-size: var(--fs-small); }
.article-disclaimer { color: var(--muted); border-top: 1px solid var(--line); padding-top: var(--s-5); font-size: var(--fs-small); }
.end-cta { color: var(--white); background: var(--night); padding-block: var(--s-7); }
.end-cta .in { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--s-5); }
.end-cta h2 { font-size: var(--fs-h2); max-width: 23ch; line-height: var(--lh-h2); }
.end-cta p { margin-top: var(--s-4); max-width: 55ch; }
.related-guides { padding-block: var(--s-8); }
.related-guides h2 { font-size: var(--fs-h2); margin-bottom: var(--s-6); }
.reading-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; background: var(--saffron); z-index: 100; transform: scaleX(0); transform-origin: left; }
.page-head { padding-block: var(--s-8) var(--s-6); }
.page-head p { margin-top: var(--s-5); font-size: var(--fs-lead); color: var(--muted); max-width: 60ch; }
.index-guides { min-height: 250px; padding-bottom: var(--s-8); }
.plain-page { padding-bottom: var(--s-8); }
.plain-page .article-body h2 { margin-top: var(--s-6); }
@media (min-width: 1000px) {
  .article-layout { grid-template-columns: minmax(180px, 240px) minmax(0, 68ch); gap: var(--s-8); }
  .contents-rail { min-width: 0; }
  .contents { position: sticky; top: 112px; max-height: calc(100vh - 140px); overflow-y: auto; }
  .contents summary { cursor: default; pointer-events: none; }
  .contents summary::after { display: none; }
}
@media (max-width: 700px) {
  .article-head { padding-top: var(--s-6); }
  .article-meta { display: grid; gap: var(--s-2); }
  .takeaways, .inline-cta { padding: var(--s-5) var(--s-4); }
  .article-layout { padding-bottom: var(--s-7); }
  .end-cta .btn { width: 100%; }
  .page-head { padding-top: var(--s-7); }
}
@media (prefers-reduced-motion: no-preference) { .guide-card a { transition: color .16s; } }
/* Table of contents highlight and CTA under it (2026-09-27) */
.contents a { padding-left: var(--s-3); box-shadow: inset 2px 0 0 transparent; }
.contents a[aria-current] { color: var(--night); font-weight: 600; text-decoration: none; box-shadow: inset 2px 0 0 var(--saffron); }
.rail-cta { margin-top: var(--s-4); padding: var(--s-4); background: var(--warm); border-top: 3px solid var(--saffron); }
.rail-cta p { font-size: var(--fs-small); line-height: 1.45; }
.rail-cta .btn { display: flex; width: 100%; justify-content: center; text-align: center; white-space: normal; margin-top: var(--s-4); }
@media (min-width: 1000px) {
  .rail-stick { position: sticky; top: 112px; max-height: calc(100vh - 140px); display: flex; flex-direction: column; }
  .rail-stick .contents { position: static; max-height: none; min-height: 0; flex: 0 1 auto; overflow-y: auto; }
  .rail-cta { flex: none; }
}
/* Improvements 2026-09-30: guide image (A8), clinic questions checklist by email (B3) */
.article-figure { margin: 0 0 var(--s-6); }
.article-figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-md); }
.checklist-box { padding: var(--s-6) var(--s-5); background: var(--warm); border-top: 3px solid var(--saffron); }
.checklist-box h2 { font-family: var(--body); font-weight: 600; font-size: var(--fs-h3); line-height: 1.3; letter-spacing: 0; margin: 0 0 var(--s-3); }
.checklist-box > p { color: var(--muted); font-size: var(--fs-body); }
.checklist-form { margin-top: var(--s-5); }
.checklist-form .field { margin-bottom: var(--s-4); }
.checklist-form .consent { margin-block: var(--s-4); }
.checklist-form .btn { width: 100%; justify-content: center; }
.checklist-status { margin-top: var(--s-5); font-weight: 600; }
.checklist-error { margin-top: var(--s-4); border-left: 3px solid #A32721; padding: var(--s-3) var(--s-4); background: #FFF2EF; font-size: var(--fs-small); }
@media (max-width: 700px) {
  .checklist-box { padding: var(--s-5) var(--s-4); }
}
/* Blog overview redesign (2026-09-30): intro head, featured guide, photo grid, end CTA. Same tokens as the home page. */
.index-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--s-6) var(--s-9); align-items: end; padding-block: var(--s-8) var(--s-7); }
.index-head h1 { font-size: var(--fs-display); line-height: var(--lh-display); letter-spacing: var(--ls-display); max-width: 14ch; }
.index-intro { color: var(--muted); font-size: var(--fs-lead); line-height: var(--lh-lead); max-width: 44ch; }
.featured-guide { display: grid; grid-template-columns: 1.15fr .85fr; gap: var(--s-7); align-items: center; padding: var(--s-6); background: var(--warm); border-top: 3px solid var(--saffron); border-radius: var(--r-md); }
.featured-media, .guide-tile-media { display: block; min-width: 0; }
.featured-media img, .guide-tile-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-md); }
.featured-copy { min-width: 0; }
.featured-copy h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); letter-spacing: var(--ls-h2); }
.featured-copy h2 a, .guide-tile h2 a { text-decoration: none; }
.featured-copy h2 a:hover, .guide-tile h2 a:hover { text-decoration: underline; }
.featured-copy > p { margin-top: var(--s-4); color: var(--muted); }
.featured-copy .btn { margin-top: var(--s-5); }
.guide-meta { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); font-size: var(--fs-small); color: var(--muted); }
.index-grid-h { font-size: var(--fs-h3); line-height: var(--lh-h3); letter-spacing: var(--ls-h3); margin: var(--s-8) 0 var(--s-6); padding-top: var(--s-6); border-top: 1px solid var(--line); }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-7) var(--s-6); }
.guide-tile { min-width: 0; }
.guide-tile-copy { padding-top: var(--s-4); }
.guide-tile h2 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -.02em; }
.guide-tile-copy > p { margin-top: var(--s-3); color: var(--muted); }
.guide-tile .guide-meta { margin-top: var(--s-3); }
main > .in > .index-guides { min-height: 0; padding-bottom: var(--s-9); }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .featured-media img, .guide-tile-media img { transition: transform .55s; }
  .featured-media:hover img, .guide-tile-media:hover img { transform: scale(1.02); }
  .featured-media, .guide-tile-media { overflow: hidden; border-radius: var(--r-md); }
}
@media (max-width: 1000px) {
  .index-head { grid-template-columns: 1fr; align-items: start; gap: var(--s-5); }
  .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .index-head { padding-block: var(--s-7) var(--s-6); gap: var(--s-4); }
  .index-intro { font-size: var(--fs-body); }
  .featured-guide { grid-template-columns: 1fr; gap: var(--s-5); padding: var(--s-4); }
  .featured-copy .btn { width: 100%; }
  .index-grid-h { margin-top: var(--s-7); }
  .guide-grid { grid-template-columns: 1fr; gap: var(--s-6); }
  main > .in > .index-guides { padding-bottom: var(--s-8); }
}
