/* Content print preset — driven by `.app[data-content-print]` on the layout shell. */

@media print {
  .app[data-content-print='article'] [data-block-type='shareBar'],
  .app[data-content-print='article'] [data-block-type='relatedDocs'],
  .app[data-content-print='article'] [data-block-type='docNav'],
  .app[data-content-print='article'] .docNavStickyBar,
  .app[data-content-print='article'] .readingProgress,
  .app[data-content-print='article'] .gatePanel,
  .app[data-content-print='article'] .dlRow--gate,
  .app[data-content-print='article'] .VisitorThemeProfileSwitcher {
    display: none !important;
  }

  .app[data-content-print='article'] .detailTocSidebar {
    grid-template-columns: 1fr !important;
  }

  .app[data-content-print='article'] .detailTocSidebar__aside {
    position: static !important;
    max-height: none !important;
    break-after: avoid;
  }

  .app[data-content-print='article'] .documentBody {
    max-width: none !important;
  }

  .app[data-content-print='article'] .segFigure--breakout,
  .app[data-content-print='article'] .segFigure--wide {
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
  }

  .app[data-content-print='article'] .segCta--band {
    background: #f3f4f6 !important;
    color: #111 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .app[data-content-print='channel'] .channelList .toolbar,
  .app[data-content-print='channel'] [data-block-type='filterBar'],
  .app[data-content-print='channel'] .channelList .pager,
  .app[data-content-print='channel'] .channelList .loadMore {
    display: none !important;
  }

  .app[data-content-print='channel'] .featuredLeadCover img,
  .app[data-content-print='channel'] .feedCover img {
    max-height: 120px;
    object-fit: contain;
  }
}
