/* Focused reading layout for historic site publications. */
.farab-legacy-post {
	background: #f3f6fa;
	padding: clamp(2.25rem, 5vw, 5rem) 1.25rem clamp(3.75rem, 7vw, 7rem);
}

.farab-legacy-post__wrap {
	max-width: 64rem;
	margin: 0 auto;
}

.farab-legacy-post__article {
	overflow: hidden;
	background: #fff;
	border: 1px solid #dbe4ef;
	border-radius: 1.5rem;
	box-shadow: 0 1.25rem 3.75rem rgba(11, 32, 59, .08);
}

.farab-legacy-post__header {
	padding: clamp(2rem, 5vw, 4.25rem) clamp(1.5rem, 6vw, 5rem) clamp(1.5rem, 3vw, 2.75rem);
	background: linear-gradient(135deg, #f9fbfe 0%, #edf3fa 100%);
	border-bottom: 1px solid #e0e8f1;
}

.farab-legacy-post__eyebrow {
	margin: 0 0 .8rem;
	color: #b98522;
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .12em;
}

.farab-legacy-post__title {
	max-width: 15ch;
	margin: 0;
	color: #09203d;
	font-family: var(--farab-serif, Georgia, serif);
	font-size: clamp(2rem, 5vw, 4rem);
	line-height: 1.05;
}

.farab-legacy-post__date {
	display: block;
	margin-top: 1.25rem;
	color: #68788e;
	font-size: .92rem;
}

.farab-legacy-post__cover {
	width: 100%;
	margin: 0;
	aspect-ratio: 16 / 9;
	background: #dbe4ed;
}

.farab-legacy-post__cover img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.farab-legacy-post__content {
	max-width: 52rem;
	margin: 0 auto;
	padding: clamp(2rem, 5vw, 4.5rem) clamp(1.5rem, 6vw, 5rem);
	color: #26384f;
	font-size: clamp(1rem, 1.2vw, 1.12rem);
	line-height: 1.8;
}

.farab-legacy-post__content > :first-child { margin-top: 0; }
.farab-legacy-post__content > :last-child { margin-bottom: 0; }
.farab-legacy-post__content h2,
.farab-legacy-post__content h3,
.farab-legacy-post__content h4 { color: #09203d; font-family: var(--farab-serif, Georgia, serif); line-height: 1.2; }
.farab-legacy-post__content a { color: #9a6d15; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.farab-legacy-post__content img { max-width: 100%; height: auto; border-radius: .9rem; }

.farab-legacy-post__footer {
	padding: 1.5rem clamp(1.5rem, 6vw, 5rem) clamp(1.75rem, 4vw, 2.75rem);
	border-top: 1px solid #e0e8f1;
}

.farab-legacy-post__home { color: #0d2849; font-size: .9rem; font-weight: 700; text-decoration: none; }
.farab-legacy-post__home:hover { color: #a97819; }

.farab-legacy-post__navigation {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	margin-top: 1.5rem;
}

.farab-legacy-post__navigation a {
	min-width: 0;
	padding: 1rem 1.1rem;
	color: #102b4c;
	background: #f6f8fb;
	border: 1px solid #dbe4ef;
	border-radius: .8rem;
	text-decoration: none;
}

.farab-legacy-post__navigation a:hover { border-color: #c79b3b; background: #fffaf0; }
.farab-legacy-post__navigation small,
.farab-legacy-post__navigation span { display: block; }
.farab-legacy-post__navigation small { margin-bottom: .35rem; color: #8a99aa; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.farab-legacy-post__navigation span { overflow: hidden; font-size: .9rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.farab-legacy-post__navigation .farab-legacy-post__next { text-align: right; }

@media (max-width: 42rem) {
	.farab-legacy-post { padding-right: 1rem; padding-left: 1rem; }
	.farab-legacy-post__article { border-radius: 1rem; }
	.farab-legacy-post__navigation { grid-template-columns: 1fr; }
	.farab-legacy-post__navigation .farab-legacy-post__next { text-align: left; }
}
