/* A drill's formatted text (utils/drill_text.py's format_drill_text): its
   paragraphs, subheadings and lists. Used by the drill page and by the
   admin drill form's "How it looks" preview, so the two match. Sizes are
   in em, so it fits whatever box it's in. */
.dt { white-space: normal; overflow-wrap: anywhere; }
.dt p { margin: 0 0 0.8em; }

/* A line on its own in bold - a subheading, bold and underlined */
.dt .dt-h {
    margin: 1.15em 0 0.3em; font-weight: 700; color: var(--dmtx-111827, #111827); letter-spacing: 0.01em;
    text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 0.22em;
}

/* Bullet and numbered lists - the bullets and numbers in the site's orange */
.dt .dt-list { margin: 0 0 0.8em; padding-left: 1.35em; }
.dt ul.dt-list { list-style: disc; }
.dt ol.dt-list { list-style: decimal; }
.dt .dt-list li { margin: 0.25em 0; padding-left: 0.2em; }
.dt .dt-list li::marker { color: #ff6b00; font-weight: 700; }
.dt .dt-list .dt-list { margin: 0.25em 0 0.35em; }       /* points under a point */
.dt ul.dt-list ul.dt-list { list-style: circle; }

.dt strong { font-weight: 700; color: var(--dmtx-111827, #111827); }

/* No gap above the first thing in the box, or below the last */
.dt > :first-child { margin-top: 0; }
.dt > :last-child { margin-bottom: 0; }
