/* News listing + single post: reuses Three Column Grid / article-card styles. */
@import url("../three-column-grid/three-column-grid.css");

/* —— Single post —— */
.single-post .site-main--post-single {
	padding-bottom: clamp(3rem, 5vw, 5rem);
}

.section--post-single {
	padding-top: clamp(2rem, 4vw, 3.5rem);
	padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.single-post .post-single {
	max-width: 48rem;
	margin-left: auto;
	margin-right: auto;
}

.single-post .post-single__header {
	margin-bottom: clamp(1.25rem, 2vw, 1.75rem);
	text-align: left;
}

/* .l-title__primary styles h2 in the design system; mirror for single h1 */
.single-post .post-single__header.l-title__primary h1.post-single__title {
	word-break: break-word;
	color: #252b69;
	margin: 0 0 0.625rem;
	font-family: "Roboto Condensed", sans-serif;
	font-size: clamp(2.25rem, 2vw + 1.5rem, 2.75rem);
	font-weight: 500;
	line-height: 1.2;
	max-width: 67.6875rem;
}

/* Featured image */
.single-post .post-single__media {
	position: relative;
	margin: 0 0 clamp(1.75rem, 3vw, 2.5rem);
	overflow: hidden;
	border-radius: 0.4375rem;
	aspect-ratio: 16 / 9;
}

.single-post .post-single__media img,
.single-post .post-single__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Body (matches news / headline reading column: Roboto, navy accents) */
.single-post .post-single__content {
	max-width: none;
	color: #181817;
	font-family: Roboto, sans-serif;
	font-size: 1rem;
	line-height: 1.75;
	word-break: break-word;
	overflow-wrap: break-word;
}

.single-post .post-single__content > *:first-child {
	margin-top: 0;
}

.single-post .post-single__content > *:last-child {
	margin-bottom: 0;
}

.single-post .post-single__content p {
	margin-bottom: 1rem;
}

.single-post .post-single__content h2,
.single-post .post-single__content h3,
.single-post .post-single__content h4 {
	color: #252b69;
	font-family: "Roboto Condensed", sans-serif;
	font-weight: 500;
	text-transform: uppercase;
	margin-top: 1.75rem;
	margin-bottom: 0.75rem;
	line-height: 1.2;
}

.single-post .post-single__content h2 {
	font-size: clamp(1.375rem, 0.37736vw + 1.2853775rem, 1.625rem);
}

.single-post .post-single__content h3 {
	font-size: clamp(1.25rem, 0.37736vw + 1.1603775rem, 1.5rem);
}

.single-post .post-single__content ul,
.single-post .post-single__content ol {
	margin: 0 0 1rem 1.25rem;
	padding: 0;
}

.single-post .post-single__content li {
	margin-bottom: 0.5rem;
}

.single-post .post-single__content a {
	color: #0e3156;
	text-decoration: underline;
	text-underline-offset: 0.125em;
}

.single-post .post-single__content a:hover,
.single-post .post-single__content a:focus-visible {
	color: #ce202f;
}

.single-post .post-single__content .page-links {
	margin-top: 1.5rem;
	font-weight: 500;
}

.single-post .post-single__footer {
	margin-top: clamp(2rem, 4vw, 3rem);
	padding-top: 1.5rem;
	border-top: 1px solid #e0e0e0;
	font-size: 0.9375rem;
	color: #414042;
}

.single-post .post-single__footer .cat-links,
.single-post .post-single__footer .tags-links {
	display: block;
	margin-bottom: 0.5rem;
}

/* Prev / next aligned with article column */
.single-post .post-single__sub {
	max-width: 48rem;
	margin-left: auto;
	margin-right: auto;
}

.single-post .post-single__sub .post-navigation {
	margin-top: clamp(1.5rem, 3vw, 2.5rem);
	padding-top: 1.5rem;
	border-top: 1px solid #e0e0e0;
}

.single-post .post-single__sub .post-navigation .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 1rem;
}

.single-post .post-single__sub .post-navigation a {
	color: #0e3156;
	font-weight: 500;
	text-decoration: none;
}

.single-post .post-single__sub .post-navigation a:hover,
.single-post .post-single__sub .post-navigation a:focus-visible {
	text-decoration: underline;
	color: #ce202f;
}

.single-post .post-single__sub .nav-subtitle {
	display: block;
	font-size: 0.8125rem;
	font-weight: 400;
	color: #6d6e71;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}
