/*
 * Print. Black on white, whatever the palette or the reader's dark mode;
 * no navigation, no buttons, no photographs behind text. An obituary prints
 * as the notice itself: name, dates, photograph, the text, and the services
 * with their times and places, which is what a family actually takes to the
 * printer. The obituary's own page belongs to console-app; the `.ob-*`
 * selectors below are its classes.
 */

@page { margin: 18mm 16mm; }

html, body { background: #fff !important; color: #000 !important; }
body { font-size: 11.5pt; line-height: 1.5; display: block; }
* { box-shadow: none !important; text-shadow: none !important; }
h1, h2, h3, h4, a, p, li, dt, dd, th, td, span, figcaption, blockquote { color: #000 !important; }
a { text-decoration: none; }

/* Where a link goes, where it is not obvious. */
main a[href^="http"]:not(.obit__link)::after { content: " (" attr(href) ")"; font-size: 9pt; word-break: break-all; }

/* Chrome and furniture. */
.skip-link, .nav-toggle, .primary-nav, .site-header__phone, .footer-widgets,
.btn, .button-row, .cta, .closing-cta, .contact-bar, .hero__actions, .hero__overlay,
.page-hero__overlay, .obituary-filters, .pagination, .segmented, .contact-map, .form,
.with-sidebar__aside, .page-sidebar, .widget, #wpadminbar, .no-js-only, .is-missing {
	display: none !important;
}

.site-header { position: static !important; background: none !important; border-bottom: 1pt solid #000; }
.site-name-link, .site-name { color: #000 !important; }
.site-logo { max-height: 18mm; }

.section, .section--tint, .section--brand, .page-hero, .hero, .notice-bar, .call-band, .panel, .card, .obit__inner, .price-glance__item, .testimonial {
	background: none !important;
	background-image: none !important;
	border-color: #999 !important;
	padding-top: 6mm !important;
	padding-bottom: 6mm !important;
	min-height: 0 !important;
}
.page-hero { text-align: left; border-bottom: 1pt solid #000 !important; }
.container { max-width: none; padding: 0; }

.obits, .obits--grid { display: block; }
.obit { break-inside: avoid; margin-bottom: 4mm; }
.obit__photo { display: none; }

.price-table thead th { background: none !important; border-bottom: 1.5pt solid #000; }
.table-wrap { overflow: visible; border: 0; }
tr, .step, .resource-group, .service-day { break-inside: avoid; }

.site-footer { background: none !important; border-top: 1pt solid #000; }
.footer-bottom { padding: 3mm 0 0; }

/* console-app's single obituary page. */
.ob-layout { display: block !important; }
.ob-page-header { background: none !important; padding: 0 0 4mm !important; border-bottom: 1pt solid #000; }
.ob-sidebar { float: none; width: auto; margin: 6mm 0 0; border: 0 !important; background: none !important; }
.ob-sidebar__photo img { max-width: 50mm; height: auto; }
.ob-sidebar__photo--placeholder { display: none !important; }
.ob-condolences, .ob-visitors, .ob-flowers, #ob-flowers, #ob-stream-section, .ob-candle,
.ob-condolences__write-btn, .ob-visitors__add, .ob-back-link, .ob-sidebar__contact-link,
.ob-calendar-link, .ob-live-now-btn, .ob-sidebar__media-link, [data-modal], [role="dialog"] {
	display: none !important;
}
.ob-body { font-size: 11.5pt; }
.ob-details-list { break-inside: avoid; }
