/* ==========================================================================
   Blog (home.php index, single.php article, archive.php category/tag)
   ========================================================================== */

.blog-hero {
	padding: clamp(3rem, 6vw, 5rem) 0 2.5rem;
	text-align: center;
}

.blog-wrap {
	padding-bottom: 5rem;
}

.post-card--featured {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	align-items: stretch;
}

.post-card--featured .post-card__thumb {
	height: 100%;
}

.post-card--featured .post-card__thumb img {
	height: 100%;
	min-height: 280px;
}

.post-card--featured .post-card__body {
	padding: 2rem 2.25rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.post-card--featured .post-card__title {
	font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.post-card--featured .post-card__excerpt {
	font-size: 1rem;
}

.post-card__read-more {
	display: inline-block;
	margin-top: 1rem;
	color: var(--mr-gold);
	font-size: 0.88rem;
}

/* -------------------------------------------------------------------- */
/* Article body typography                                              */
/* -------------------------------------------------------------------- */

.page-content__header {
	max-width: 760px;
	margin: 0 auto 2rem;
	text-align: center;
}

.page-content__header .post-card__cat {
	justify-content: center;
	display: flex;
}

.page-content__header .section-title {
	margin-bottom: 0.75rem;
}

.page-content__thumb {
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
}

.page-content__body {
	margin: 0 auto;
	font-size: 1.05rem;
	line-height: 1.8;
}

.page-content__body h2,
.page-content__body h3,
.page-content__body h4 {
	font-family: var(--mr-font-display);
	color: var(--mr-white);
	margin: 2.2rem 0 1rem;
	line-height: 1.3;
}

.page-content__body h2 {
	font-size: 1.6rem;
}

.page-content__body h3 {
	font-size: 1.3rem;
}

.page-content__body p {
	margin: 0 0 1.3rem;
}

.page-content__body ul,
.page-content__body ol {
	margin: 0 0 1.3rem;
	padding-left: 1.4rem;
}

.page-content__body li {
	margin-bottom: 0.5rem;
}

.page-content__body blockquote {
	margin: 1.8rem 0;
	padding: 1rem 1.5rem;
	border-left: 3px solid var(--mr-violet);
	background: var(--mr-surface);
	border-radius: 0 12px 12px 0;
	font-style: italic;
	color: var(--mr-white);
}

.page-content__body img {
	max-width: 100%;
	height: auto;
	border-radius: var(--mr-radius);
	margin: 1.5rem 0;
}

.page-content__body figcaption {
	font-size: 0.85rem;
	color: var(--mr-muted);
	text-align: center;
	margin-top: -1rem;
	margin-bottom: 1.5rem;
}

.page-content__body hr {
	border: none;
	border-top: 1px solid var(--mr-surface-border);
	margin: 2.5rem 0;
}

.page-content__body code {
	background: var(--mr-surface);
	border: 1px solid var(--mr-surface-border);
	border-radius: 4px;
	padding: 0.15em 0.4em;
	font-size: 0.9em;
}

.page-content__tags {
	max-width: 760px;
	margin: 2.5rem auto 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.tag-pill {
	border: 1px solid var(--mr-surface-border);
	border-radius: 999px;
	padding: 0.4rem 0.9rem;
	font-size: 0.8rem;
	color: var(--mr-muted);
	transition: border-color 0.2s ease, color 0.2s ease;
}

.tag-pill:hover {
	color: var(--mr-white);
	border-color: var(--mr-violet);
}

@media (max-width: 780px) {
	.post-card--featured {
		grid-template-columns: 1fr;
	}

	.post-card--featured .post-card__thumb img {
		min-height: 200px;
	}
}
