/* AP student notes: one reading column, plain emphasis and hand-drawable sketches. */
html:has(body.ap-board-page) { scroll-behavior: auto; }
.ap-board-page .site-header { background: #fff; }
.ap-board-page .lesson-main { max-width: 820px; margin-inline: auto; }
.ap-board-page .lesson-layout { display: flex; flex-direction: column; gap: 20px; }
.ap-board-page .lesson-sidebar { width: 100%; position: static; max-height: none; padding: 0; }
.ap-board-page .back-to-course { display: none; }
.ap-board-page .lesson-toc { margin: 0; padding: 0; background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.ap-board-page .lesson-toc summary { padding: 6px 0 12px; border: 0; cursor: pointer; justify-content: flex-start; gap: 12px; color: var(--muted); font-weight: 400; }
.ap-board-page .lesson-toc summary::after { content: "+"; font-size: 18px; color: var(--green); }
.ap-board-page .lesson-toc[open] summary::after { content: "−"; }
.ap-board-page .lesson-toc ol { display: block; margin: 0 0 16px; padding: 0; }
.ap-board-page .lesson-toc a { padding: 6px 0; background: none; font-size: 14px; }
.ap-board-page .lesson-toc a:hover { color: var(--green); text-decoration: underline; }
.ap-board-page .lesson-reading { max-width: none; width: 100%; }
.ap-board-page .lesson-heading { padding: 6px 0 22px; margin-bottom: 22px; }
.ap-board-page .lesson-heading h1 { font-size: clamp(26px, 3.2vw, 34px); line-height: 1.3; font-weight: 600; letter-spacing: -.02em; }
.ap-board-page .lesson-subtitle { font-size: 17px; margin: 8px 0 0; }
.ap-board-page .lesson-meta { justify-content: flex-end; margin-top: 8px; }
.ap-board-page .print-lesson { margin: 0; }
.ap-board-page .lesson-content { font-size: 18px; line-height: 1.85; color: var(--ink); }
.ap-board-page .lesson-content h2 { margin: 48px 0 18px; padding: 0; border: 0; font-size: 23px; font-weight: 600; line-height: 1.5; letter-spacing: -.01em; }
.ap-board-page .lesson-content h2:first-of-type { margin-top: 36px; }
.ap-board-page .lesson-content p { margin-bottom: 17px; }
.ap-board-page .lesson-content strong { font-weight: 650; }
.ap-board-page .math-block { padding: 3px 0; }
.ap-board-page .board-sketch { margin: 26px auto 30px; width: 100%; max-width: 470px; }
.ap-board-page .board-sketch img { display: block; width: 100%; height: auto; }
.ap-board-page .lesson-end { margin-top: 42px; }
@media (max-width: 760px) {
  .ap-board-page .lesson-layout { gap: 18px; }
  .ap-board-page .lesson-content { font-size: 17px; line-height: 1.9; }
  .ap-board-page .lesson-content h2 { font-size: 21px; margin-top: 38px; }
  .ap-board-page .lesson-breadcrumb { gap: 6px; }
}
@media print {
  .ap-board-page .lesson-layout { display: block; }
  .ap-board-page .lesson-main { max-width: none; }
  .ap-board-page .lesson-content { font-size: 11pt; line-height: 1.65; }
  .ap-board-page .lesson-content h2 { font-size: 14pt; margin-top: 25px; break-after: avoid; }
  .ap-board-page .lesson-heading h1 { font-size: 20pt; }
  .ap-board-page .board-sketch { max-width: 105mm; break-inside: avoid; }
  .ap-board-page .math-block { overflow: visible; }
}

/* Supplemental problem-solving lessons. */
.ap-psl-page .answer-disclosure { font-size: 1rem; }
@media (max-width: 600px) {
  .ap-psl-page .lesson-content h2 { scroll-margin-top: 210px; }
}
