/* Article pages share the existing lesson type and navigation; rules stay local. */
.reading-body section{margin-top:42px}
.reading-body section>h2{display:block;font-size:25px}
.reading-body p,.reading-body ul,.reading-body ol,.reading-body blockquote,.reading-body .reading-table{margin-bottom:20px}
.reading-body h3{margin-top:34px}
.reading-body blockquote{margin:24px 0;padding:16px 22px;border-left:4px solid var(--blue);background:var(--soft)}
.reading-body blockquote p:last-child{margin-bottom:0}
.reading-table{max-width:100%;overflow-x:auto;border:1px solid var(--line);margin-top:22px}
.reading-table:focus-visible{outline:3px solid #d47712;outline-offset:3px}
.reading-table table{border-collapse:collapse;width:100%;min-width:440px;font-size:16px;line-height:1.8}
.reading-table th,.reading-table td{padding:12px 14px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line);border-right:1px solid var(--line)}
.reading-table th{background:var(--soft);font-weight:700}
.reading-table tr:last-child td{border-bottom:0}
.reading-table th:last-child,.reading-table td:last-child{border-right:0}
.reading-table.cols-4 table{min-width:580px}
.reading-table.cols-5 table{min-width:660px}
.reading-body video{display:block;width:100%;height:auto;aspect-ratio:16/9;background:#163b68}
.overview-video{margin:26px 0;padding-top:10px;scroll-margin-top:24px}
.overview-video figcaption{font-size:14px;color:var(--muted);margin-top:10px}
.reading-terms{border-top:1px solid var(--line);margin-top:48px;padding-top:22px;font-size:14px}
.toc-inner{max-height:calc(100vh - 48px);overflow-y:auto;padding-right:8px}
.toc-mobile{display:none}
@media(max-width:900px){.toc-inner{display:none}.toc-mobile{display:block}.toc-mobile ol{display:block}.toc-mobile li{margin:8px 0}.site-header nav{flex-wrap:wrap}.toc-mobile summary{cursor:pointer}}
@media(max-width:520px){.reading-body section>h2{font-size:22px}.reading-body blockquote{padding:14px 16px}.reading-table th,.reading-table td{padding:10px 12px}.reading-table table{font-size:16px}.site-header nav{gap:10px 20px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
@media print{.overview-video{display:none}.reading-table{overflow:visible}.reading-table table{min-width:0!important;font-size:9pt}.reading-table th,.reading-table td{padding:5px}.toc-mobile{display:none}}
