.aligned-math .cycle-intro { display: block; }
.aligned-math .cycle-intro h2 { margin-bottom: 16px; }
/* One reading sequence for each mathematical problem, inside Aligned's frame. */
.aligned-math .problem-question { display: block; max-width: 48rem; margin: 0 0 28px; }
.aligned-math .problem-question h2 { max-width: 30ch; margin: 0 0 16px; color: var(--flagship-ink); font: 650 clamp(1.5rem, 3vw, 2.25rem)/1.16 var(--flagship-ui); letter-spacing: -.03em; text-wrap: balance; }
.aligned-math .problem-question p { max-width: 74ch; margin: 12px 0 0; color: var(--flagship-secondary); font: 400 16px/1.7 var(--flagship-ui); }
.aligned-math .problem-question strong { color: var(--flagship-ink); font-weight: 600; }
.aligned-math .problem-play-heading { margin: 32px 0 8px; color: var(--flagship-ink); font: 600 17px/1.3 var(--flagship-ui); letter-spacing: -.01em; }
.aligned-math .problem-challenge { max-width: 72ch; margin: 0 0 24px; color: var(--flagship-secondary); font: 400 15px/1.65 var(--flagship-ui); }
.aligned-math .problem-challenge strong { color: var(--flagship-ink); font-weight: 600; }
.aligned-math .problem-answer { max-width: 48rem; margin: 32px 0 0; padding-top: 24px; border-top: 1px solid var(--flagship-rule); color: var(--flagship-ink); }
.aligned-math .problem-answer h3 { margin: 0 0 12px; color: var(--flagship-ink); font: 600 22px/1.3 var(--flagship-ui); letter-spacing: -.02em; }
.aligned-math .problem-answer p { max-width: 76ch; margin: 12px 0; padding: 0; border: 0; color: var(--flagship-secondary); font: 400 15px/1.7 var(--flagship-ui); }
.aligned-math .problem-answer strong { color: var(--flagship-ink); font-weight: 600; }
.aligned-math .problem-answer .problem-credit { margin-top: 20px; color: var(--flagship-muted); font-size: 13px; line-height: 1.7; }
.aligned-math .problem-credit > strong:first-child { display: block; font-size: 14px; margin-bottom: 4px; }
.aligned-math .problem-answer a, .aligned-math .problem-question a { color: var(--flagship-link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.aligned-math .problem-answer details { max-width: 76ch; margin: 18px 0; padding: 0; border: 0; }
.aligned-math .problem-answer summary { width: fit-content; min-height: 44px; padding: 10px 0; cursor: pointer; color: var(--flagship-ink); font: 500 14px/1.65 var(--flagship-ui); }
.aligned-math .problem-answer ol, .aligned-math .problem-answer ul { padding-left: 24px; color: var(--flagship-secondary); font: 400 14px/1.7 var(--flagship-ui); }
.aligned-math .problem-answer li { margin: 12px 0; }
.aligned-math .problem-answer .math-result-note { margin-top: 0; border: 0; padding: 0; }
.aligned-math .problem-answer code { overflow-wrap: anywhere; }
@media (max-width: 700px) {
  .aligned-math .problem-question { margin-bottom: 24px; }
  .aligned-math .problem-question h2 { font-size: 26px; }
  .aligned-math .problem-question p { font-size: 15px; }
  .aligned-math .problem-play-heading { margin-top: 26px; font-size: 16px; }
  .aligned-math .problem-challenge { font-size: 14px; margin-bottom: 20px; }
  .aligned-math .problem-answer { margin-top: 26px; padding-top: 22px; }
  .aligned-math .problem-answer h3 { font-size: 20px; }
  .aligned-math .problem-answer p { font-size: 14px; }
}
