/* Off-screen A4 sheet used only while generating a PDF from the page. */
.pdf-sheet {
    position: fixed;
    top: 0;
    left: -20000px;
    width: 694px;
    min-height: 1008px;
    padding: 26px 0 22px;
    background: #fff;
    box-sizing: border-box;
    direction: rtl;
    text-align: right;
    color: #222;
    z-index: -1;
    pointer-events: none;
}
.pdf-sheet *, .pdf-sheet *::before, .pdf-sheet *::after { box-sizing: border-box; }
.pdf-sheet .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
.pdf-sheet .container { max-width: none; width: auto; padding: 0; }
.pdf-sheet .print-brand { display: block; margin: 0 0 10px; font-size: 11px; letter-spacing: .08em; color: #666; }
.pdf-sheet .page-hero-inner { max-width: none; padding: 0 0 16px; border-bottom: 2px solid var(--gold-500); }
.pdf-sheet .page-hero h1 { color: #111; font-size: 32px; margin: 0 0 8px; line-height: 1.3; }
.pdf-sheet .page-hero p { color: #444; font-size: 13px; margin: 0; }
.pdf-sheet .person-hero { display: grid; grid-template-columns: 166px minmax(0, 1fr); gap: 30px; align-items: center; margin: 24px 0 0; }
.pdf-sheet .person-seal { width: 166px; height: 166px; font-size: 44px; box-shadow: none; }
.pdf-sheet .person-seal::before { inset: 10px; }
.pdf-sheet .person-facts { display: flex; flex-wrap: wrap; gap: 1px; background: #fff; border: 1px solid #e3dcc8; margin-top: 0; }
.pdf-sheet .person-fact { flex: 1 1 31%; padding: 12px 16px; outline: 1px solid #e3dcc8; background: #fff; }
.pdf-sheet .person-fact span { color: #666; }
.pdf-sheet .person-fact strong { color: #000; }
.pdf-sheet .relation-line, .pdf-sheet .article-aside { display: none; }
.pdf-sheet .article-layout { display: block; margin-top: 26px; }
.pdf-sheet .prose { max-width: none; font-size: 15.5px; line-height: 1.95; color: #222; }
.pdf-sheet .prose > p:first-of-type { font-size: 17px; color: #000; }
.pdf-sheet .prose h2 { font-size: 24px; margin: 1.2em 0 .45em; }
.pdf-sheet .prose a, .pdf-sheet a { color: #000; text-decoration: none; }
.pdf-sheet .person-chip { padding: 4px 12px; font-size: 13px; background: #fff; }
.pdf-sheet .person-avatar { display: none; }
.pdf-sheet .print-foot { display: block; margin: 34px 0 0; padding-top: 12px; border-top: 1px solid #ccc; font-size: 11px; color: #666; }
.pdf-sheet .person-docs { gap: 8px; margin: 12px 0 4px; }
.pdf-sheet .person-doc { padding: 10px 12px; background: #fff; border-color: #ddd; box-shadow: none; }
.pdf-sheet .person-doc-mark { display: none; }
.pdf-sheet .person-doc-body strong { font-size: 14px; color: #000; }
.pdf-sheet .person-doc-body small, .pdf-sheet .person-doc-body span { color: #555; }

.pdf-sheet-doc .doc-hero-body { display: block; margin-top: 0; }
.pdf-sheet-doc .doc-kicker { color: #6b5315; border-color: #c9a24b; }
.pdf-sheet-doc .doc-hero h1 { color: #111; font-size: 30px; margin: 12px 0 10px; }
.pdf-sheet-doc .doc-meta, .pdf-sheet-doc .doc-intro { color: #333; }
.pdf-sheet-doc .doc-meta-link { color: #6b5315; }
.pdf-sheet-doc .doc-people { color: #333; margin-top: 10px; }
.pdf-sheet-doc .doc-people-label { color: #555; }
.pdf-sheet-doc .doc-people a { color: #333; border-color: #c9a24b; }
.pdf-sheet-doc .doc-sheets { max-width: none; margin: 18px 0 0; gap: 14px; }
.pdf-sheet-doc .doc-sheet { border: 1px solid #ddd; border-radius: 0; padding: 0; box-shadow: none; background: #fff; }
.pdf-sheet-doc .doc-sheet-frame { border-radius: 0; background: #fff; }
.pdf-sheet-doc .doc-sheet-frame img { width: 100%; height: auto; }
.pdf-sheet-doc .doc-sheet figcaption { font-size: 11px; color: #555; padding: 6px 2px 0; }
.pdf-sheet-doc .doc-modern-paper { border: 0; border-radius: 0; padding: 0; background: #fff; box-shadow: none; }
.pdf-sheet-doc .doc-empty { padding: 30px 20px; border-radius: 0; }
