/* Stylesheet for the Dompdf-rendered PDF export. Loaded by render_pdf() via a <link> in the PDF document (Dompdf base path), never enqueued on a WordPress page. Kept to CSS Dompdf supports: real @page margins, no flexbox, no custom properties, bundled DejaVu fonts. */
@page { margin: 20mm 18mm 22mm 18mm; }
body { margin: 0; padding: 0; color: #23232a; font-family: "DejaVu Serif", serif; font-size: 11.5px; line-height: 1.7; }

/* ---- Cover ---- */
.cover { text-align: center; }
.cover h1 { font-family: "DejaVu Sans", sans-serif; font-size: 26px; font-weight: bold; color: #16161a; margin: 0 0 6px; }
.cover .birth { font-family: "DejaVu Sans", sans-serif; font-size: 11px; color: #7a7a82; margin: 0 0 18px; }
.facts { margin: 0 auto 9mm; text-align: center; }
.fact { display: inline-block; vertical-align: top; border: 1px solid #e7e7ea; border-radius: 8px; padding: 7px 14px; margin: 4px; text-align: center; }
.fact .k { display: block; font-family: "DejaVu Sans", sans-serif; font-size: 8px; letter-spacing: 0.08em; text-transform: uppercase; color: #7a7a82; }
.fact .v { display: block; font-family: "DejaVu Sans", sans-serif; font-size: 12px; font-weight: bold; color: #16161a; margin-top: 3px; }
.chart { text-align: center; margin: 0 auto; }
.chart svg { width: 95mm; height: auto; }
.chart img { width: 95mm; height: auto; }

/* ---- Readings ---- */
.readings.page-break { page-break-before: always; }
.reading { page-break-before: always; }
.reading:first-child { page-break-before: avoid; }
.reading h2 { font-family: "DejaVu Sans", sans-serif; font-size: 19px; font-weight: bold; color: #16161a; margin: 0 0 11px; padding-bottom: 6px; border-bottom: 2px solid #2f6b4f; }
.reading-body h1, .reading-body h2, .reading-body h3, .reading-body h4 { font-family: "DejaVu Sans", sans-serif; color: #2f6b4f; line-height: 1.3; margin: 16px 0 5px; }
.reading-body h1 { font-size: 15px; }
.reading-body h2 { font-size: 14px; }
.reading-body h3, .reading-body h4 { font-size: 12.5px; }
.reading-body p { margin: 0 0 10px; }
.reading-body ul, .reading-body ol { margin: 0 0 10px 18px; padding: 0; }
.reading-body li { margin: 0 0 5px; }
.reading-body strong { color: #16161a; }
.reading-body hr { border: 0; border-top: 1px solid #e7e7ea; margin: 13px 0; }
.reading-body blockquote { margin: 0 0 10px; padding: 2px 0 2px 12px; border-left: 3px solid #e7e7ea; color: #4a4a52; }

/* ---- Footer ---- */
.doc-foot { margin-top: 14mm; padding-top: 7mm; border-top: 1px solid #e7e7ea; text-align: center; }
.doc-foot .pb { font-family: "DejaVu Sans", sans-serif; font-size: 14px; color: #555; vertical-align: middle; }
.doc-foot .pb-logo { height: 46px; vertical-align: middle; margin-left: 10px; }
.doc-foot .pb-name { font-family: "DejaVu Sans", sans-serif; font-size: 15px; font-weight: bold; color: #444; vertical-align: middle; margin-left: 8px; }
.doc-foot .pb-url { margin-top: 7px; }
.doc-foot .pb-url a { font-family: "DejaVu Sans", sans-serif; font-size: 11px; color: #2f6b4f; text-decoration: none; }
