/* Keep academy copy visible and readable across every curriculum page. */
.content-panel.highlight-panel p:nth-of-type(n+3) { display: block; }
body,
main,
.content-panel { color: #102033; }
.page-title h1,
.section-head h2,
.content-panel h2,
.content-panel h3,
.lesson-card h3 { color: #0d1b2a; }
.page-title p,
.section-head p,
.content-panel p,
.content-panel li,
.lesson-card p { color: #526479; }
.content-panel strong { color: #152b42; }
.content-panel a { color: #145fc0; text-decoration: underline; text-underline-offset: 3px; }
.search-input { color: #102033; }
.search-input::placeholder { color: #718096; opacity: 1; }

.lesson-visual { margin: 0 0 32px; overflow: hidden; border: 1px solid #dce5e2; border-radius: 24px; background: #10382f; box-shadow: 0 18px 42px rgba(13, 43, 37, 0.13); }
.lesson-visual img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.lesson-visual figcaption { display: flex; gap: 12px; align-items: center; padding: 14px 18px; color: #28453e; background: #f6faf8; }
.lesson-visual figcaption strong { color: #176a55; }
.academy-reference { margin-bottom: 32px; }
.academy-reference .back-link { display: inline-flex; margin-top: 6px; }
@media (max-width: 640px) {
  .lesson-visual { margin-bottom: 22px; border-radius: 17px; }
  .lesson-visual figcaption { align-items: flex-start; flex-direction: column; gap: 2px; }
}
