/*
 * Obituary print layout, loaded with media="print" on single obituaries only. style.css is screen-only, so print
 * starts from unstyled markup plus normalize.css (black text, transparent backgrounds, link URLs after links).
 *
 * The page reads like the printed notice: the name and years over a hairline, the photo floated beside the opening
 * paragraphs, serif body text, and the page's address at the end. Site chrome, ads, sharing, and the Tribute
 * Store buttons drop out.
 */

@page {
	margin: 0.6in 0.7in;
}

div#masthead-container,
div.masthead-navigation-menu,
div.screenOpacityFilter,
div.opscoad-1x1-1,
.page_type-obit .one_by_one_group,
.page_type-obit #article_info,
.page_type-obit .single-sidebar-container,
.page_type-obit .right_rule,
.page_type-obit .share_buttons_group,
.page_type-obit .cmg-tribute-store-links,
.page_type-obit .thumbnail-container,
.page_type-obit .slide-caption-container,
.page_type-obit #mainImageContainer > .slide:not(:first-child),
.page_type-obit .story_photo_item:has(img[src*="obituary-default-photo"]),
.page_type-obit .page-link {
	display: none !important;
}

body {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
}

.page_type-obit .obits_info h1.headline {
	margin: 18pt 0 0;
	padding: 0 0 4pt;
	font-size: 24pt;
	font-weight: 700;
	line-height: 1.15;
	text-wrap: balance;
	break-after: avoid;
}
.page_type-obit .obits_info h4.years_of_life {
	margin: 0;
	padding: 0 0 4pt;
	font-size: 12pt;
	font-weight: 400;
	break-after: avoid;
}
/* Hairline under the name, or under the years when there are some. */
.page_type-obit .obits_info h1.headline:not(:has(+ .years_of_life)),
.page_type-obit .obits_info h4.years_of_life {
	margin-bottom: 14pt;
	padding-bottom: 8pt;
	border-bottom: 0.75pt solid #000;
}

.page_type-obit .obits_info .slides-container,
.page_type-obit .obits_info .story_photo_item {
	float: left;
	width: 2.1in;
	margin: 2pt 16pt 10pt 0;
}
.page_type-obit .obits_info .story_photo_item dt {
	margin: 0;
}
.page_type-obit .obits_info .story_photo_item dd {
	display: none;
}
.page_type-obit .obits_info .slides-container img,
.page_type-obit .obits_info .story_photo_item img {
	display: block;
	width: 100% !important;
	height: auto !important;
	max-height: 2.9in;
	object-fit: cover;
	object-position: top;
}

.page_type-obit .obits_details {
	font-size: 11pt;
	line-height: 1.5;
}
.page_type-obit .obits_details p.pubStamp {
	margin: 0 0 8pt;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 8pt;
}
.page_type-obit #article_content .bwleft,
.page_type-obit #article_content .bwjustify,
.page_type-obit #article_content p {
	margin: 0 0 0.65em;
	orphans: 3;
	widows: 3;
}
.page_type-obit #article_content .bwbold {
	font-weight: 700;
}
.page_type-obit #article_content .bwitalic {
	font-style: italic;
}
/* Links in a notice are almost always the address itself, so don't repeat it after the text. */
.page_type-obit .obits_details a,
.page_type-obit .obits_details a:visited {
	text-decoration: none;
}
.page_type-obit .obits_details a[href]:after,
.page_type-obit #article_content a[href]:after {
	content: none;
}

.page_type-obit .cmg-tribute-store-events {
	clear: both;
	margin-top: 18pt;
	font-size: 10pt;
}
.page_type-obit .cmg-tribute-store-events__title {
	break-after: avoid;
}
.page_type-obit .cmg-tribute-store-event {
	break-inside: avoid;
}

.page_type-obit .obit-print-source {
	display: block;
	clear: both;
	margin: 18pt 0 0;
	padding-top: 6pt;
	border-top: 0.75pt solid #000;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 8pt;
	break-inside: avoid;
}
