/*
Theme Name: Maroon Tribune
Theme URI: https://themaroontribune.org
Author: The Maroon Tribune
Description: Editorial block theme for The Maroon Tribune.
Version: 0.2.0
Text Domain: maroon-tribune
*/

:root {
	--mt-maroon: #6b1422;
	--mt-maroon-dark: #3e0b13;
	--mt-ink: #171717;
	--mt-muted: #6d6861;
	--mt-paper: #fffdf8;
	--mt-soft: #f3efe7;
	--mt-rule: #d8d1c6;
	--mt-rule-dark: #aaa197;
	--mt-max: 1240px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--mt-paper);
	color: var(--mt-ink);
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

a {
	transition: color 140ms ease, opacity 140ms ease;
}

a:hover {
	color: var(--mt-maroon);
}

.mt-preview-bar {
	background: #111;
	color: #fff;
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-align: center;
	text-transform: uppercase;
	padding: 0.48rem 1rem;
}

.mt-utility {
	background: var(--mt-maroon-dark);
	color: #fff;
}

.mt-utility a,
.mt-utility p {
	color: #fff !important;
}

.mt-utility-inner {
	min-height: 36px;
}

.mt-schoolline {
	font-size: 0.72rem;
	font-weight: 750;
	letter-spacing: 0.085em;
	text-transform: uppercase;
}

.site-header {
	background: var(--mt-paper);
	border-bottom: 1px solid var(--mt-rule-dark);
}

.masthead {
	text-align: center;
	padding-top: 1.5rem;
	padding-bottom: 1.15rem;
}

.masthead .wp-block-site-title {
	margin: 0;
	letter-spacing: -0.055em;
}

.masthead .wp-block-site-title a {
	color: var(--mt-ink);
}

.masthead .wp-block-site-tagline {
	margin: 0.45rem auto 0;
	color: var(--mt-muted);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
	font-size: 0.82rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.mt-section-nav {
	border-top: 1px solid var(--mt-rule);
}

.mt-section-nav .wp-block-navigation {
	gap: 0;
	justify-content: center;
}

.mt-section-nav .wp-block-navigation-item__content {
	color: var(--mt-ink);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.055em;
	padding: 0.78rem 0.78rem;
	text-transform: uppercase;
}

.mt-section-nav .wp-block-navigation-item__content:hover {
	color: var(--mt-maroon);
}

.mt-home {
	padding-top: 2rem;
	padding-bottom: 4rem;
}

.mt-eyebrow,
.section-kicker,
.mt-story-category {
	color: var(--mt-maroon);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
	font-size: 0.72rem !important;
	font-weight: 800;
	letter-spacing: 0.12em;
	line-height: 1.2;
	text-transform: uppercase;
}

.mt-home-heading {
	border-bottom: 2px solid var(--mt-ink);
	margin-bottom: 1rem;
	padding-bottom: 0.55rem;
}

.mt-hero {
	border-bottom: 1px solid var(--mt-rule-dark);
	padding-bottom: 2rem;
}

.mt-lead-story {
	padding-right: 1.5rem;
}

.mt-lead-story .wp-block-post-title {
	font-size: clamp(2.3rem, 5vw, 4.65rem) !important;
	letter-spacing: -0.045em;
	line-height: 0.98;
	margin: 0.5rem 0 0.7rem;
}

.mt-lead-story .wp-block-post-excerpt {
	color: #393632;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.1rem;
	line-height: 1.55;
	max-width: 50rem;
}

.mt-lead-story .wp-block-post-featured-image {
	margin-bottom: 1rem;
}

.mt-side-rail {
	border-left: 1px solid var(--mt-rule-dark);
	padding-left: 1.5rem;
}

.mt-side-story {
	border-bottom: 1px solid var(--mt-rule);
	padding-bottom: 1.25rem;
	margin-bottom: 1.25rem;
}

.mt-side-story:last-child {
	border-bottom: 0;
}

.mt-side-story .wp-block-post-title {
	font-size: clamp(1.35rem, 2vw, 1.85rem) !important;
	line-height: 1.04;
	margin: 0.35rem 0;
}

.mt-story-meta {
	color: var(--mt-muted);
	font-size: 0.78rem;
	gap: 0.65rem;
}

.mt-latest {
	padding-top: 2.35rem;
}

.mt-story-grid {
	column-gap: 1.4rem;
	row-gap: 2rem;
}

.mt-card {
	border-top: 3px solid var(--mt-ink);
	padding-top: 0.75rem;
}

.mt-card .wp-block-post-featured-image {
	margin-bottom: 0.8rem;
	overflow: hidden;
}

.mt-card .wp-block-post-featured-image img {
	transition: transform 220ms ease;
}

.mt-card:hover .wp-block-post-featured-image img {
	transform: scale(1.015);
}

.mt-card .wp-block-post-title {
	font-size: 1.45rem !important;
	line-height: 1.06;
	margin: 0.4rem 0 0.5rem;
}

.mt-card .wp-block-post-excerpt {
	color: #45413c;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 0.98rem;
	line-height: 1.5;
}

.mt-sections {
	background: var(--mt-soft);
	border-top: 1px solid var(--mt-rule);
	border-bottom: 1px solid var(--mt-rule);
	margin-top: 3rem;
	padding: 2rem;
}

.mt-section-links {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0;
	border-top: 1px solid var(--mt-rule-dark);
	border-left: 1px solid var(--mt-rule-dark);
}

.mt-section-link {
	border-right: 1px solid var(--mt-rule-dark);
	border-bottom: 1px solid var(--mt-rule-dark);
	margin: 0 !important;
	padding: 1.1rem 1.2rem;
}

.mt-section-link a {
	color: var(--mt-ink);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.35rem;
	font-weight: 700;
}

.mt-section-link a:hover {
	color: var(--mt-maroon);
}

.mt-archive-header {
	border-bottom: 2px solid var(--mt-ink);
	margin-bottom: 1.6rem;
	padding-bottom: 0.8rem;
}

.mt-archive-list .wp-block-post-template {
	gap: 0 !important;
}

.mt-archive-row {
	border-bottom: 1px solid var(--mt-rule);
	padding: 1.4rem 0;
}

.mt-archive-row:first-child {
	border-top: 1px solid var(--mt-rule);
}

.mt-archive-row .wp-block-post-title {
	font-size: clamp(1.55rem, 2.7vw, 2.3rem) !important;
	margin: 0.35rem 0 0.55rem;
}

.mt-archive-row .wp-block-post-excerpt {
	color: #45413c;
	font-family: Georgia, "Times New Roman", serif;
	line-height: 1.5;
}

.mt-single {
	padding-top: 2.4rem;
	padding-bottom: 4rem;
}

.mt-article-header {
	max-width: 980px;
	margin-left: auto;
	margin-right: auto;
}

.mt-article-title {
	font-size: clamp(2.8rem, 7vw, 5.8rem) !important;
	letter-spacing: -0.05em;
	line-height: 0.97;
	margin: 0.5rem 0 1rem;
}

.mt-deck {
	color: #3c3935;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.15rem, 2vw, 1.45rem);
	line-height: 1.48;
	margin-top: 0;
	max-width: 54rem;
}

.mt-byline {
	border-top: 1px solid var(--mt-rule);
	padding-top: 0.8rem;
	margin-top: 1.2rem;
}

.mt-article-hero {
	margin-top: 1.7rem !important;
	margin-bottom: 2rem !important;
}

.mt-article-body {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.16rem;
	line-height: 1.78;
}

.mt-article-body > p:first-child::first-letter {
	color: var(--mt-maroon);
	float: left;
	font-size: 4.25rem;
	font-weight: 700;
	line-height: 0.82;
	padding-right: 0.42rem;
	padding-top: 0.16rem;
}

.mt-article-body h2,
.mt-article-body h3 {
	margin-top: 2.4rem;
}

.mt-article-footer {
	border-top: 1px solid var(--mt-rule-dark);
	margin-top: 2.5rem;
	padding-top: 1rem;
}

.mt-page {
	padding-top: 2.6rem;
	padding-bottom: 4rem;
}

.mt-page-title {
	border-bottom: 2px solid var(--mt-ink);
	padding-bottom: 0.8rem;
}

.mt-page .wp-block-post-content {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.08rem;
	line-height: 1.72;
}

.site-footer {
	background: var(--mt-ink);
	color: #eee9df;
	margin-top: 4rem;
	padding-top: 2.7rem;
	padding-bottom: 2.7rem;
}

.site-footer a,
.site-footer .wp-block-site-title a {
	color: #fff;
}

.site-footer .wp-block-navigation-item__content {
	font-size: 0.82rem;
	padding: 0.12rem 0;
}

.mt-footer-label {
	color: #c8c1b7;
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.mt-footer-copy {
	color: #c8c1b7;
	font-size: 0.86rem;
	max-width: 30rem;
}

.wp-block-post-featured-image img {
	display: block;
	width: 100%;
	object-fit: cover;
}

.wp-block-query-pagination {
	border-top: 1px solid var(--mt-rule-dark);
	margin-top: 2rem;
	padding-top: 1rem;
}

@media (max-width: 980px) {
	.mt-lead-story {
		padding-right: 0;
	}

	.mt-side-rail {
		border-left: 0;
		border-top: 1px solid var(--mt-rule-dark);
		padding-left: 0;
		padding-top: 1.5rem;
	}

	.mt-section-links {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 781px) {
	.mt-utility-inner {
		justify-content: center !important;
		text-align: center;
	}

	.mt-utility .wp-block-navigation {
		display: none;
	}

	.masthead {
		padding-top: 1.1rem;
		padding-bottom: 0.9rem;
	}

	.mt-section-nav .wp-block-navigation {
		justify-content: flex-start;
	}

	.mt-section-nav {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.mt-section-nav .wp-block-navigation__container {
		flex-wrap: nowrap !important;
		width: max-content;
	}

	.mt-home {
		padding-top: 1.25rem;
	}

	.mt-lead-story .wp-block-post-title {
		font-size: clamp(2.25rem, 12vw, 3.5rem) !important;
	}

	.mt-story-grid {
		grid-template-columns: 1fr !important;
	}

	.mt-section-links {
		grid-template-columns: 1fr;
	}

	.mt-sections {
		padding: 1.25rem;
	}

	.mt-archive-row .wp-block-columns {
		gap: 1rem;
	}

	.mt-article-title {
		font-size: clamp(2.55rem, 13vw, 4rem) !important;
	}

	.mt-article-body {
		font-size: 1.08rem;
		line-height: 1.7;
	}

	.site-footer .wp-block-columns {
		gap: 2rem;
	}
}
