/* Article print sheet: title, lead, date, body, images with captions, source URL. Unlayered on purpose, so it wins over every layer. */
@media print {
  @page { margin: 18mm 16mm; }
  html { font-size: 11pt; }
  body { display: block; background: none; color: var(--ink); }
  .c-skip, .c-header, .c-nav, .c-menu, .c-footer, .c-cookie, .c-preview, .c-breadcrumbs, .c-share, .c-related, .c-pagination, .l-sidebar, .ad-slot, .blk-embed__play, .c-article__tags { display: none; }
  .l-container { max-width: none; padding: 0; }
  .l-main { padding: 0; }
  .l-with-sidebar { display: block; }
  .article-body > * { max-width: none; }
  a { color: inherit; text-decoration: none; }
  .article-body a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.85em; word-break: break-all; }
  h1, h2, h3, h4 { break-after: avoid; }
  figure, blockquote, table, li { break-inside: avoid; }
  img { max-height: 110mm; width: auto; }
  .blk-gallery__items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4mm; }
  .blk-gallery__items img { width: 100%; max-height: none; }
  /* Slider: print the photos as a 3-column grid, without controls. */
  .blk-gallery__controls, .blk-gallery__counter, .blk-gallery__zoom, .blk-gallery__strip, .blk-gallery__carousel [role="status"], .blk-gallery__carousel::after { display: none; }
  .blk-gallery__track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4mm; aspect-ratio: auto; overflow: visible; background: none; }
  .blk-gallery__slide { order: 0; }
  .blk-gallery__slide img { width: 100%; height: auto; max-height: none; }
  .blk-html table { display: table; overflow: visible; }
  .blk-table { overflow: visible; }
  .blk-table table { break-inside: auto; }
  .blk-table thead { display: table-header-group; }
  .blk-table tr { break-inside: avoid; }
  .blk-table th, .blk-table td { min-inline-size: 0; }
  .u-print-only { display: block !important; margin-top: 8mm; padding-top: 4mm; border-top: 1px solid var(--ink); font-size: 0.9em; word-break: break-all; }
}
