/*
 * themes/alder/css/alder-study-guide.css
 * Alder's layer over themes/oregonhealing/css/learn-study-guide.css on the
 * study-guide pages, linked by partials/_study-guide-head. Scoped to the
 * study-guide classes (.sg and .sg-*): the Alder gutter and max width so the
 * body shares the header's container and the logo's left line, the hero's
 * h1 back at the reading size (the wide hero would print it at poster
 * size), Golos for the headings (the serif token keeps the italic numerals),
 * the pill button, and the one fill the wireframe figures use (a faint green
 * tint). The body.al-theme prefix outranks the base file whatever the order.
 */
body.al-theme .sg-wrap { width: min(100% - 2 * var(--al-gutter), var(--al-max)); }
body.al-theme .sg .al-chead__h { font-size: clamp(2rem, 5.2vw, 3.5rem); line-height: 1.04; max-width: none; }
body.al-theme .sg .al-chead { padding-bottom: 24px; }
body.al-theme :is(.sg-h2, .sg-group__h, .sg-card__h, .sg-sec__h) { font-family: var(--al-display); letter-spacing: -.018em; }
body.al-theme .sg-sec__n { font-family: var(--al-serif); }
body.al-theme .sg-card { background: var(--al-sand); }
body.al-theme .sg-btn { background: var(--al-pill, var(--al-ink)); }
body.al-theme .sg-doc__link { border-color: rgba(14, 42, 27, .14); }
/* alder-learn.css lifts the lesson prose cap (body.al-theme .lrn .ocd-prose
   { max-width: none }); below 921px nothing else holds the guide's measure,
   so it is restated here at the winning specificity. Keep the value in step
   with learn-study-guide.css. */
body.al-theme .lrn .sg-sec .ocd-prose { max-width: 33.5rem; }

/* The wireframe figures: the slot fills its column, and the tint is the only fill. */
.al-fig--sg .tint { fill: rgba(61, 136, 80, .12); stroke: none; }
:is(.sg-card__fig, .sg-fig, .sg-sec__fig) .al-fig { max-width: none; }
