/*
 * Tribute page (resources/views/pages/tribute.blade.php). Loaded only by
 * that template. Independent of mourning.css so the page reads the same
 * whether or not mourning mode is on.
 */

.tribute-page .page-breadcrumb-section {
	margin-bottom: 0;
}

.tribute__header {
	padding: var(--space-12) 0 var(--space-8);
	text-align: center;
}

.tribute__eyebrow {
	margin: 0 0 var(--space-3);
	font-size: var(--font-size-xs);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--color-text-muted);
}

.tribute__name {
	max-width: 760px;
	margin: 0 auto;
	font-family: var(--font-heading);
	font-size: var(--font-size-3xl);
	font-weight: 400;
	line-height: 1.25;
	color: var(--color-text);
}

.tribute__nowrap {
	white-space: nowrap;
}

.tribute__dates {
	margin: var(--space-3) 0 0;
	font-family: var(--font-heading);
	font-size: var(--font-size-lg);
	color: var(--color-text-muted);
}

/* The photograph is shown whole: never cropped to a banner shape. */
.tribute__photo {
	max-width: 760px;
	margin: 0 auto var(--space-10);
	padding: 0 var(--container-padding);
}

.tribute__photo img {
	display: block;
	width: 100%;
	height: auto;
}

.tribute__body {
	padding-bottom: var(--space-16);
}

/* A reading column, not the full container width. */
.tribute__body .block-rich-text .container {
	max-width: 680px;
}

.tribute__body .block-rich-text__prose {
	font-family: var(--font-heading);
	font-size: var(--font-size-md);
	line-height: 1.75;
	color: var(--color-text);
}

.tribute__body .block-rich-text__prose p {
	margin: 0 0 var(--space-5);
}

/* The byline: the first block, set apart from the text beneath it. */
.tribute__body .block-rich-text:first-child .block-rich-text__prose {
	font-family: var(--font-body);
	font-size: var(--font-size-sm);
	color: var(--color-text-muted);
	text-align: center;
	padding-bottom: var(--space-6);
	margin-bottom: var(--space-8);
	border-bottom: 1px solid var(--color-border);
}

.tribute__body .block-rich-text:first-child .block-rich-text__prose p {
	margin: 0;
}

.tribute__body .block-rich-text:first-child strong {
	color: var(--color-text);
}

@media (max-width: 640px) {
	.tribute__header {
		padding: var(--space-8) 0 var(--space-6);
	}

	.tribute__name {
		font-size: var(--font-size-2xl);
	}
}
