/* Print the complete current page; the homepage also exposes its full bio. */
@page { margin: 0.6in; }
:root, :root[data-bs-theme] {
    color-scheme: light !important;
    --bg: #fff;
    --surface: #fff;
    --border: #ccc;
    --text: #111;
    --muted: #333;
    --accent: #111;
    --accent-lt: #fff;
    --body-text: #111;
}
body, body.modal-open {
    display: block !important;
    height: auto !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 10.5pt;
}
body, body * { color: #111 !important; background: transparent !important; box-shadow: none !important; text-shadow: none !important; }
nav, footer, .page-actions, .theme-toggle, .print-page, .modal-backdrop,
.hero .pill, button, input, select, textarea, .search-bar, .btn-close, .modal-footer, .post-nav, .search-wrap, .e-footer { display: none !important; }
a { text-decoration: underline !important; }
.container, article.blog-post, main { width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; }
.hero { padding: 0 0 12pt !important; border: 0 !important; }
.hero .row { display: flex; flex-wrap: nowrap; gap: 14pt !important; }
.hero .col-auto { width: auto; padding: 0; }
.profile-img { width: 70pt !important; height: 70pt !important; }
.hero-name { font-family: sans-serif !important; font-size: 22pt !important; }
.hero-title { font-size: 12pt !important; }
.hero-meta { font-size: 10pt !important; }
.content { padding: 0 !important; }
.content > .container > .row { display: block !important; margin: 0 !important; }
.content > .container > .row > [class*="col-"] { width: 100% !important; max-width: none !important; padding: 0 !important; margin: 0 0 12pt !important; }
.card, .post-card { height: auto !important; border: 0 !important; margin: 0 !important; padding: 0 !important; break-inside: avoid; }
.card-body { padding: 0 !important; }
.card-heading { font-size: 11pt !important; margin-bottom: 5pt !important; }
h1, h2, h3, h4, h5 { break-after: avoid; }
p { orphans: 3; widows: 3; }
.item-list li, .social-link { font-size: 10pt !important; padding: 3pt 0 !important; }
pre { white-space: pre-wrap !important; overflow: visible !important; }
img { max-width: 100% !important; }
#bioModal {
    display: block !important;
    position: static !important;
    opacity: 1 !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    padding: 0 !important;
    margin: 0 0 14pt !important;
}
#bioModal .modal-dialog { display: block !important; max-width: none !important; min-height: 0 !important; margin: 0 !important; transform: none !important; }
#bioModal .modal-content { display: block !important; border: 0 !important; }
#bioModal .modal-header { border: 0 !important; padding: 0 0 7pt !important; }
#bioModal .modal-title { font-size: 12pt !important; }
#bioModal .modal-body { padding: 0 !important; font-size: 10.5pt !important; line-height: 1.45 !important; }
#bioModal p { margin-bottom: 8pt !important; }
