/* Journal essays — shared extras (namespaced ja-; minimal, builds on core .art styles) */

/* In-body photo plates: asymmetric, slightly narrower than the text measure,
   caption kept inside the plate's padding so it aligns with the photo. */
.art__body .plate { width: 80%; margin-left: auto; }
.art__body .plate:nth-of-type(even) { margin-left: 0; margin-right: auto; }
.art__body .plate .plate__cap { margin-top: 0; padding: 0 clamp(10px, 1.6vw, 22px) clamp(12px, 1.4vw, 18px); }
.art__body .plate .plate__cap .code { color: var(--ink); }

/* Note boxes: lists sit tidily inside the ice panel */
.art__body .note-box ul { margin-top: .4em; }
.art__body .note-box > * + * { margin-top: .6em; }

/* Pull lines breathe a little more inside long-form essays */
.art__body blockquote { margin-block: 1.8em; }

@media (max-width: 700px) {
  .art__body .plate { width: 100%; }
  .art__body .plate .plate__cap { flex-direction: column; gap: 4px; }
}

/* Mobile: keep the outline essay numeral clear of the headline so the h1 stays legible */
@media (max-width: 900px) {
  .art__no { margin-bottom: .06em; }
}
