.lj-image { margin: 0 0 16px; }
.lj-image[hidden] { display: none; }
.lj-image img { display: block; width: 100%; height: auto; object-fit: cover; border-radius: 10px; }
/* a full-width figure is a mood picture, not the lesson: keep it a band so
   the first word stays near the top (tap still opens the whole image) */
figure.lj-image img { aspect-ratio: 21 / 9; }
/* on a wide screen 21:9 is a second hero (872x375): cap it to a slim band */
@media (min-width: 601px) { figure.lj-image img { aspect-ratio: auto; height: 220px; } }
.lj-image--compact { flex: 0 0 80px; width: 80px; margin: 0; }
.lj-image--compact img { aspect-ratio: 8 / 5; }
.lj-ai-note { margin: 8px 0 0; color: var(--muted); font-size: .72rem; text-align: center; letter-spacing: 0; text-transform: none; }
@media (max-width: 420px) { .lj-image--compact { flex-basis: 64px; width: 64px; } }
