/* Print stylesheet: used by the build to render each post's PDF with headless Chromium (Batch B5) and
   by browsers that print a page. Letter, printed backgrounds on, the site's chrome hidden. */
@font-face { font-family: 'Inter'; src: url('/fonts/Inter-Variable.ttf') format('truetype'); font-weight: 100 900; font-style: normal; }
@font-face { font-family: 'Sora'; src: url('/fonts/Sora-Variable.ttf') format('truetype'); font-weight: 100 900; font-style: normal; }

@page { size: Letter; margin: 0.75in 0.6in 0.7in 0.6in; }

html, body { background: #fff !important; }
body { -webkit-print-color-adjust: exact; print-color-adjust: exact; }

/* Chrome of the site: never printed */
nav, footer, .skip, .nav-toggle, .cta-strip,
.guide .viewer-sidebar, .guide .article-zones, .guide .related-solution, .guide .back-to-insights, .guide .article-breadcrumb, .guide .fab,
.related-box, .article-wrap > p:has(> a[href="/blog/"]), .crumbs, .article-dl-link { display: none !important; }

/* Print-only blocks (rendered hidden on screen) */
.print-only { display: block !important; }

/* ---- Guide layout ---- */
.guide .article-header { display: none; }                 /* the cover page carries the title */
.guide .viewer-layout { display: block; max-width: none; padding: 0; margin: 0; }
.guide .viewer-main { min-width: 0; }
.guide .viewer-wrap { background: none; padding: 0; }
.guide .viewer-pages { display: block; }
.guide .pdf-page { box-shadow: none !important; border: none !important; border-radius: 0; margin: 0 !important; break-after: page; page-break-after: always; }
.guide .pdf-page:last-child { break-after: auto; page-break-after: auto; }
.guide .doc-cover { min-height: 8.6in; display: flex; align-items: center; justify-content: center; }
.guide .doc-page-inner { padding: 0.1in 0.15in; }
.guide .doc-map-row, .guide .doc-overview-row, .guide .doc-approach-row, .guide .doc-callout, .guide .doc-zone-header { break-inside: avoid; page-break-inside: avoid; }
.guide .doc-map-table, .guide .doc-overview-table, .guide .doc-approach-table { font-size: 8.6pt; line-height: 1.35; }
.guide .doc-map-row span, .guide .doc-overview-row span, .guide .doc-approach-row span { padding: 5px 8px 5px 0; }
.guide .doc-map-header span, .guide .doc-overview-header span, .guide .doc-approach-header span { padding: 6px 8px 6px 0; font-size: 7.5pt; }
.guide .doc-zone-header { padding: 12px 16px; margin-bottom: 10px; }
.guide .doc-zone-header h2 { font-size: 13pt; }
.guide .doc-zone-header p { font-size: 9pt; }
.guide .doc-callout { padding: 9px 13px; margin: 10px 0 0; }
.guide .doc-callout p { font-size: 9pt; }
.guide .doc-h2 { font-size: 14pt; }
.guide .doc-page-inner p, .guide .doc-list li { font-size: 10pt; }
.guide .doc-map-header, .guide .doc-overview-header, .guide .doc-approach-header { break-after: avoid; }

/* ---- Article layout ---- */
.article-wrap { max-width: none; padding: 0; }
.blog-article-content h2 { break-after: avoid; page-break-after: avoid; }
.blog-article-content table, .blog-article-content blockquote { break-inside: avoid; }
.blog-article-content thead { display: table-header-group; }
a { color: inherit; text-decoration: none; }
.blog-article-content a, .guide a { color: #0369A1; }

/* Links and about blocks at the end */
.print-links { margin-top: 0.4in; padding-top: 0.15in; border-top: 1px solid #E2E6ED; font-size: 8.5pt; color: #5F6B7A; line-height: 1.5; break-inside: avoid; }
.print-links h3, .print-about h3 { font-family: 'Inter', sans-serif; font-size: 8.5pt; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #5F6B7A; margin: 0 0 6px; }
.print-links ol { margin: 0; padding-left: 1.2em; }
.print-links li { margin: 0 0 3px; word-break: break-all; }
.print-about { margin-top: 0.3in; padding: 0.18in 0.22in; border: 1px solid #E2E6ED; border-radius: 8px; font-size: 9.5pt; line-height: 1.55; color: #1A1A2E; break-inside: avoid; }
.print-about p { margin: 0 0 4px; }
.print-about strong { color: #0369A1; }
