/* T07/T08: server content in the approved editorial layout. */
.news-body > .block-heading h2 { margin-top: 36px; }
.news-body .rich-text p, .news-body blockquote p { margin-bottom: 22px; }
.news-body ul, .news-body ol { padding-left: 1.5em; }
.news-body blockquote { margin: 32px 0; padding-left: 24px; border-left: 3px solid var(--accent); }
.news-body cite { font-style: normal; color: var(--muted); }
.news-body .news-back { margin-top: 42px; }
.news-without-image { grid-template-columns: 140px 1fr; }
.hide-images .d3-post-row > .image-alternative { grid-column: 1/-1; }
.d3-pagination > span { min-height: 44px; padding: 10px; }
.d3-feature img { height: auto; }
@media (max-width:760px) {
  .news-without-image { grid-template-columns: 1fr; }
}
.news-gallery figure { margin: 0; min-width: 0; }
.news-gallery a { display: block; }
.news-gallery .image-alternative { display: none; }
.hide-images .news-gallery .image-alternative { display: block; }
.news-gallery img { display: block; height: 160px; width: 100%; object-fit: cover; }
.news-gallery figcaption { font-size: 1rem; line-height: 1.5; margin-top: 12px; overflow-wrap: anywhere; }
.news-gallery-dialog { width: min(1000px, calc(100vw - 32px)); max-width: calc(100vw - 32px); max-height: calc(100dvh - 32px); overflow: auto; }
.news-gallery-dialog > img { width: 100%; max-height: 60dvh; object-fit: contain; }
.news-gallery-dialog .gallery-controls { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }
.news-gallery-dialog [data-gallery-status] { margin: 16px 0; }
@media (max-width:760px) {
  .news-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
  .news-gallery img { height: 130px; }
  .news-gallery-dialog .gallery-controls .btn { flex: 1; padding: 12px; }
  .news-gallery-dialog .dialog-heading { flex-wrap: wrap; gap: 12px; }
  .news-gallery-dialog .dialog-close { order: -1; margin-left: auto; }
  .news-gallery-dialog .dialog-heading h2 { flex-basis: 100%; font-size: calc(25px * var(--reading-scale, 1)); }
}
@media (max-width:380px) { .news-gallery { grid-template-columns: 1fr; } }
.d3-post-row > picture { display: block; }
@media (max-width:760px) {
  .d3-post-row > picture { grid-column: 1/-1; }
  .d3-post-row > picture img { width: 100%; height: auto; max-height: 300px; object-fit: contain; }
}

.information-body .news-gallery { grid-template-columns: 1fr; }
.information-body .news-gallery img { height: auto; object-fit: contain; }
