/* School-scoped editorial cards; native audio stays unloaded until playback. */
.school-editorial { background: #faf8ff; }
.school-editorial--podcasts { background: #f2f8fb; }
.school-editorial .section-heading { margin-bottom: 24px; }
.editorial-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.editorial-card { min-width: 0; overflow: hidden; border: 1px solid #e9e5f1; border-radius: 20px; background: #fff; box-shadow: 0 5px 20px #352b5310; }
.editorial-card__cover { display: grid; place-items: center; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, #eee7fa, #e4ecfa); color: #7560ae; font-size: 58px; }
.editorial-card__cover img { width: 100%; height: 100%; object-fit: cover; }
.editorial-card--podcast .editorial-card__cover { background: linear-gradient(135deg, #ddf1ee, #e6eafa); color: #3d7b88; }
.editorial-card__body { padding: 20px; }
.editorial-card__body h3 { margin: 0 0 8px; font-size: 19px; line-height: 1.7; overflow-wrap: anywhere; }
.editorial-card__body h3 a { color: inherit; }
.editorial-card__body p { margin: 0 0 16px; color: #687285; font-size: 14px; line-height: 1.9; }
.editorial-card__body small { display: block; color: #687285; margin-bottom: 8px; }
.editorial-card audio { display: block; width: 100%; height: 40px; margin-top: 14px; }
.editorial-article__content { margin: 18px 0 24px; overflow-wrap: anywhere; line-height: 2; }
.editorial-article__content img, .editorial-article__content table { max-width: 100%; }
.editorial-article__content img { height: auto; }
.editorial-article__content { overflow-x: auto; }
@media (max-width: 760px) {
    .editorial-grid { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 4px; padding: 4px 4px 16px; overscroll-behavior-inline: contain; scrollbar-width: thin; }
    .editorial-card { flex: 0 0 min(82vw, 330px); scroll-snap-align: start; border-radius: 16px; }
    .editorial-card__body { padding: 16px; }
    .editorial-card__body h3 { font-size: 17px; }
}
