/* Content pages (districts, topics, word lists). Tokens come from style.css. */
.doc { max-width: 920px; margin: 0 auto; padding: 22px var(--gutter) 70px; }
.crumbs-seo { font-size: 0.88rem; color: var(--muted); margin-bottom: 18px; }
.crumbs-seo a { color: var(--muted); text-underline-offset: 3px; }
.crumbs-seo a:hover { color: var(--text); }
.crumbs-seo span[aria-current] { color: var(--text); }
.doc h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 400; margin-bottom: 18px; }
.doc .lead { font-size: 1.12rem; color: var(--muted); margin-bottom: 30px; max-width: 68ch; }
.doc section { margin-top: 42px; }
.doc h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 400; margin-bottom: 14px; }
.doc h2::before { content: ""; display: block; width: 36px; height: 2px; background: var(--gold); margin-bottom: 14px; }
.doc h3 { font-size: 1.1rem; font-weight: 600; font-family: var(--sans); letter-spacing: 0; margin: 28px 0 10px; }
.doc h3 span { color: var(--muted); font-weight: 500; }
.doc p, .doc li { color: var(--muted); }
.doc p { max-width: 70ch; }
.doc a { color: var(--text); text-underline-offset: 3px; text-decoration-color: var(--gold); }
.doc strong, .doc b { color: var(--text); }

.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; max-width: 72ch; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 14px; height: 2px; background: var(--gold); }
.steps-seo { margin: 0; padding-left: 22px; display: grid; gap: 10px; max-width: 72ch; }
.steps-seo li::marker { color: var(--gold-text); font-weight: 700; }

.terms { width: 100%; border-collapse: collapse; margin: 6px 0 4px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.terms th { text-align: left; font-size: 0.78rem; font-weight: 600; color: var(--muted); padding: 10px 14px; border-bottom: 1px solid var(--gold); background: var(--bg-2); }
.terms td { padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--text); }
.terms td:last-child { font-family: var(--serif); font-style: italic; color: var(--muted); font-size: 1.05rem; }
.terms td em { font-family: var(--serif); color: var(--muted); font-size: 0.92rem; margin-left: 6px; }
.terms tr:last-child td { border-bottom: 0; }
.doc .art { font-family: var(--sans); font-weight: 700; font-size: 0.8rem; }
.sample { margin: 18px 0 0; padding: 18px 22px; border-left: 2px solid var(--gold); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; }
.sample p { margin: 0; }
.sample p:first-child { font-family: var(--serif); font-size: 1.35rem; color: var(--text); margin-bottom: 6px; }
.sample p:last-child { font-style: italic; }

.chips2 { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips2 li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 5px 14px; font-size: 0.9rem; }
.chips2 span { font-family: var(--serif); font-style: italic; color: var(--muted); }
.exams { margin: 0; display: grid; gap: 0; }
.exams dt { font-family: var(--serif); font-size: 1.3rem; color: var(--text); padding-top: 16px; border-top: 1px solid var(--line); }
.exams dd { margin: 4px 0 14px; color: var(--muted); max-width: 70ch; }
.skills4 { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.skills4 li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.skills4 b { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; display: block; }
.skills4 em { font-family: var(--serif); color: var(--gold-text); }
.skills4 span { display: block; font-size: 0.88rem; margin-top: 6px; color: var(--muted); }

.rels { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px; }
.doc a.rel { display: flex; flex-direction: column; gap: 4px; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; transition: border-color .15s; }
.doc a.rel:hover { border-color: var(--gold); }
.rel strong { font-family: var(--serif); font-weight: 500; font-size: 1.2rem; line-height: 1.2; }
.rel span { font-size: 0.85rem; color: var(--muted); line-height: 1.45; }

.faq-block .faq-list { border-top: 1px solid var(--gold); }
.faq-block details { border-bottom: 1px solid var(--line); }
.faq-block summary { font-family: var(--serif); font-size: 1.2rem; color: var(--text); padding: 18px 40px 18px 0; cursor: pointer; list-style: none; position: relative; }
.faq-block summary::-webkit-details-marker { display: none; }
.faq-block summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); color: var(--gold); font-size: 1.6rem; font-family: var(--sans); font-weight: 300; }
.faq-block details[open] summary::after { content: "\2212"; }
.faq-block details p { padding-bottom: 18px; margin: 0; }

.cta-box { margin-top: 56px; padding: clamp(22px, 4vw, 38px); background: linear-gradient(160deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); border-top: 2px solid var(--gold); border-radius: var(--radius); }
.cta-box h2::before { display: none; }
.cta-box h2 { margin-bottom: 8px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.doc .cta-actions a { text-decoration: none; }
.doc .btn-primary { color: var(--gold-ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 24px; max-width: none; }
.doc a.btn { text-decoration: none; padding: 12px 22px; }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin-top: 26px; }
.toc h2 { font-size: 1.1rem; margin-bottom: 8px; }
.toc h2::before { display: none; }
.toc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.toc span { color: var(--gold-text); font-weight: 700; }

@media (max-width: 600px) { .terms th, .terms td { padding: 9px 10px; } }
