/*
 * Perspekt editorial grid pass.
 * Loaded after the compiled Newspaper X stylesheet to tighten scanability
 * without depending on the legacy Sass build chain.
 */

:root {
	--perspekt-ink: #071326;
	--perspekt-ink-soft: #253246;
	--perspekt-line: #d8dde5;
	--perspekt-paper: #f7f5ef;
	--perspekt-red: #c63b32;
	--perspekt-blue: #173f73;
	--perspekt-radius: 3px;
}

.site-content {
	background: #fff;
}

.section-title,
.page-title {
	border-left: 0;
	border-bottom: 2px solid var(--perspekt-ink);
	margin-top: 42px;
	margin-bottom: 22px;
	padding: 0 0 10px;
	letter-spacing: 0;
}

.section-title > span,
.page-title > span {
	background: transparent;
	color: var(--perspekt-ink);
	display: inline-block;
	font-size: 22px;
	font-weight: 700;
	padding: 0;
}

.section-title:after,
.page-title:after {
	display: none;
}

.newspaper-x-image,
.newspaper-x-blog-post-layout-a,
.newspaper-x-blog-post-layout-b,
.newspaper-x-blog-post-layout-c,
.newspaper-x-related-posts,
.author-description {
	border-radius: var(--perspekt-radius);
}

.newspaper-x-image {
	background: #e8ebef;
	border: 1px solid rgba(7, 19, 38, 0.08);
}

.newspaper-x-image > img,
.newspaper-x-image > a > img {
	aspect-ratio: 16 / 9;
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

.newspaper-x-image:hover > img,
.newspaper-x-image:focus-within > img,
.newspaper-x-image:hover > a > img,
.newspaper-x-image:focus-within > a > img {
	transform: none;
}

.newspaper-x-recent-posts > ul {
	display: grid;
	gap: 2px;
}

.newspaper-x-recent-posts > ul > li,
.newspaper-x-recent-posts > ul > li#newspaper-x-recent-post-0,
.newspaper-x-recent-posts > ul > li#newspaper-x-recent-post-1,
.newspaper-x-recent-posts > ul > li#newspaper-x-recent-post-2 {
	float: none;
	height: 280px;
	width: 100%;
}

.newspaper-x-recent-posts > ul > li {
	background-size: cover !important;
	border-radius: var(--perspekt-radius);
	overflow: hidden;
}

.newspaper-x-recent-posts > ul > li:after,
.newspaper-x-recent-posts > ul > li#newspaper-x-recent-post-0:after,
.newspaper-x-recent-posts > ul > li#newspaper-x-recent-post-1:after,
.newspaper-x-recent-posts > ul > li#newspaper-x-recent-post-2:after {
	background: linear-gradient(180deg, rgba(7, 19, 38, 0.1), rgba(7, 19, 38, 0.82));
	height: 100%;
}

.newspaper-x-recent-posts > ul > li .newspaper-x-post-info {
	bottom: 22px;
	left: 22px;
	max-height: none;
	right: 22px;
}

.newspaper-x-recent-posts > ul > li h3 {
	font-size: 20px;
	line-height: 1.12;
	margin-bottom: 0;
	text-transform: none;
}

.newspaper-x-recent-posts > ul > li#newspaper-x-recent-post-3 h3 a,
.newspaper-x-recent-posts > ul > li#newspaper-x-recent-post-4 h3 a,
.newspaper-x-recent-posts > ul > li#newspaper-x-recent-post-5 h3 a,
.newspaper-x-recent-posts > ul > li#newspaper-x-recent-post-6 h3 a {
	font-size: inherit;
}

.newspaper-x-category,
.newspaper-x-post-meta .newspaper-x-category {
	background: var(--perspekt-blue);
	border-radius: 0;
	display: inline-block;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1;
	padding: 7px 9px;
	text-transform: uppercase;
}

.newspaper-x-date,
.newspaper-x-post-meta > ul > li {
	color: #687383;
	font-family: "IBM Plex Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.newspaper_x_widgets .newspaper-x-blog-post-layout-a,
.newspaper_x_widgets .newspaper-x-blog-post-layout-b,
.newspaper_x_widgets .newspaper-x-blog-post-layout-c,
.newspaper-x-archive-page article,
.newspaper-x-archive-first-posts article {
	border: 1px solid var(--perspekt-line);
	background: #fff;
	margin-bottom: 28px;
	padding: 0;
}

.newspaper_x_widgets .newspaper-x-blog-post-layout-a .newspaper-x-title,
.newspaper_x_widgets .newspaper-x-blog-post-layout-b .newspaper-x-title,
.newspaper_x_widgets .newspaper-x-blog-post-layout-c .newspaper-x-title,
.newspaper_x_widgets .newspaper-x-content,
.newspaper_x_widgets .newspaper-x-content-a,
.newspaper-x-archive-page .entry-title,
.newspaper-x-archive-page .entry-content,
.newspaper-x-archive-page .newspaper-x-post-meta {
	padding-left: 16px;
	padding-right: 16px;
}

.newspaper_x_widgets .newspaper-x-blog-post-layout-a .newspaper-x-image,
.newspaper_x_widgets .newspaper-x-blog-post-layout-b .newspaper-x-image,
.newspaper_x_widgets .newspaper-x-blog-post-layout-c .newspaper-x-image {
	border: 0;
	border-bottom: 1px solid var(--perspekt-line);
	border-radius: 0;
	margin-bottom: 14px;
	max-height: none;
}

.newspaper_x_widgets .newspaper-x-title h3,
.newspaper_x_widgets .newspaper-x-title h4,
.newspaper-x-archive-page .entry-title {
	line-height: 1.13;
	margin-top: 12px;
	text-transform: none;
}

.newspaper_x_widgets .newspaper-x-title h3 a,
.newspaper_x_widgets .newspaper-x-title h4 a,
.newspaper-x-archive-page .entry-title a {
	color: var(--perspekt-ink);
	font-weight: 700;
}

.newspaper_x_widgets .newspaper-x-content,
.newspaper_x_widgets .newspaper-x-content-a,
.newspaper-x-archive-page .entry-content p {
	color: var(--perspekt-ink-soft);
	font-family: "IBM Plex Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 14px;
	line-height: 1.45;
}

.newspaper-x-layout-a-row,
.newspaper-x-layout-c-row {
	margin-bottom: 18px;
}

.newspaper-x-after-content-sidebar .newspaper-x-layout-c-row {
	margin-bottom: 18px;
}

.single-post .newspaper-x-single-layout {
	max-width: 1060px;
	margin-left: auto;
	margin-right: auto;
}

.single-post .entry-header {
	margin: 34px 0 24px;
}

.single-post .newspaper-x-editorial-title {
	color: var(--perspekt-ink);
	font-family: "Cormorant Garamond", "Source Serif 4", Georgia, serif;
	font-size: clamp(34px, 5vw, 64px);
	font-weight: 700;
	letter-spacing: 0;
	line-height: 0.98;
	margin: 0 0 16px;
	max-width: 960px;
}

.single-post .entry-content,
.single-post .perspekt-article-body {
	color: #202936;
	font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
	font-size: 21px;
	font-weight: 400;
	line-height: 1.72;
	margin-left: auto;
	margin-right: auto;
	max-width: 860px;
}

.single-post .entry-content p,
.single-post .perspekt-article-body p {
	color: inherit;
	font-family: inherit;
	font-size: inherit;
	font-weight: 400;
	line-height: inherit;
	margin-bottom: 1.65em;
	margin-top: 0;
}

.single-post .entry-content p:first-of-type,
.single-post .perspekt-article-body p:first-of-type {
	border-bottom: 0;
	color: inherit;
	font-family: inherit;
	font-size: inherit;
	font-weight: 400;
	line-height: inherit;
	padding-bottom: 0;
}

.single-post .entry-content strong,
.single-post .perspekt-article-body strong {
	color: #111827;
	font-weight: 700;
}

.single-post .entry-content h2,
.single-post .entry-content h3,
.single-post .entry-content h4,
.single-post .perspekt-article-body h2,
.single-post .perspekt-article-body h3,
.single-post .perspekt-article-body h4 {
	color: var(--perspekt-ink);
	font-family: "Cormorant Garamond", "Source Serif 4", Georgia, serif;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.08;
	margin: 1.8em 0 0.55em;
}

.single-post .entry-content h2,
.single-post .perspekt-article-body h2 {
	font-size: 42px;
}

.single-post .entry-content h3,
.single-post .perspekt-article-body h3 {
	font-size: 32px;
}

.single-post .entry-content ul,
.single-post .entry-content ol,
.single-post .perspekt-article-body ul,
.single-post .perspekt-article-body ol {
	color: inherit;
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
	margin-bottom: 1.65em;
}

.single-post .entry-content li,
.single-post .perspekt-article-body li {
	color: inherit;
	font-family: inherit;
	font-size: inherit;
	font-weight: 400;
	line-height: inherit;
	margin-bottom: 0.55em;
}

.single-post .entry-content blockquote,
.single-post .perspekt-article-body blockquote {
	border-left: 3px solid #bf554b;
	color: #182437;
	font-family: "Cormorant Garamond", "Source Serif 4", Georgia, serif;
	font-size: 30px;
	font-style: italic;
	line-height: 1.28;
	margin: 2em 0;
	padding-left: 24px;
}

.single-post .entry-content blockquote p,
.single-post .perspekt-article-body blockquote p,
.single-post article.post .entry-content blockquote p {
	color: inherit;
	font-family: inherit;
	font-size: inherit;
	font-style: inherit;
	font-weight: inherit;
	line-height: inherit;
	margin: 0;
}

.single-post .entry-header .newspaper-x-post-meta {
	border-bottom: 1px solid var(--perspekt-line);
	border-top: 0;
	margin: 0 0 22px;
	padding: 0 0 12px;
}

.single-post .entry-header .newspaper-x-post-meta .newspaper-x-category,
.single-post .perspekt-article-header__meta .newspaper-x-category {
	background: #eef3f7;
	border: 1px solid #cbd6e2;
	color: var(--perspekt-ink);
	display: inline-flex;
	line-height: 1.1;
	padding: 6px 9px;
}

.single-post .entry-header .newspaper-x-post-meta .newspaper-x-category a,
.single-post .perspekt-article-header__meta .newspaper-x-category a {
	color: var(--perspekt-ink);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0;
}

.single-post .entry-header .newspaper-x-post-meta .newspaper-x-category:hover,
.single-post .entry-header .newspaper-x-post-meta .newspaper-x-category:focus-within,
.single-post .perspekt-article-header__meta .newspaper-x-category:hover,
.single-post .perspekt-article-header__meta .newspaper-x-category:focus-within {
	background: #dde8f2;
}

.single-post article.post > .entry-header > .newspaper-x-image,
.single-post .entry-header .newspaper-x-image,
.single-post .perspekt-article-header__hero-media {
	background: #06101f;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	font-size: 0;
	line-height: 0;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	max-width: none;
	overflow: hidden;
	position: relative;
	width: 100vw;
}

.single-post article.post > .entry-header > .newspaper-x-image > img,
.single-post article.post > .entry-header > .newspaper-x-image > a > img,
.single-post .entry-header .newspaper-x-image > img,
.single-post .entry-header .newspaper-x-image > a > img,
.single-post .perspekt-article-header__hero-media > img {
	aspect-ratio: auto;
	display: block;
	height: auto;
	margin: 0 auto;
	max-width: 1440px;
	object-fit: contain;
	object-position: center;
	transform: none;
	vertical-align: top;
	width: min(100%, 1440px);
}

.single-post .entry-content img {
	border-radius: var(--perspekt-radius);
}

.single-post .perspekt-article-engine.article-mode--cinematic {
	margin-top: 0;
}

.single-post .perspekt-article-engine.article-mode--cinematic .perspekt-article-header {
	background: #fff;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	margin-top: 0;
	min-height: 0;
	overflow: hidden;
	padding-bottom: 0;
	position: relative;
}

.single-post .perspekt-article-engine.article-mode--cinematic .perspekt-article-header__hero-media {
	background: #06101f;
	height: auto;
	z-index: 1;
}

.single-post .perspekt-article-engine.article-mode--cinematic .perspekt-article-header__hero-media > img {
	margin: 0 auto -1px;
}

.single-post .perspekt-article-header__image-caption {
	background: #fff;
	box-sizing: border-box;
	color: #111827;
	font-family: "IBM Plex Sans", Arial, sans-serif;
	font-size: 13px;
	font-style: normal;
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.5;
	margin: 0 auto;
	max-width: none;
	padding: 14px max(20px, calc((100vw - 1440px) / 2 + 20px)) 16px;
	text-align: left;
	width: 100%;
}

.single-post .perspekt-article-header__image-caption a {
	color: #111827;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.single-post .perspekt-article-header__image-caption p {
	color: inherit;
	font: inherit;
	line-height: inherit;
	margin: 0;
}

.single-post .perspekt-article-engine.article-mode--cinematic .perspekt-article-header__text-shell {
	background: #fff;
	color: var(--perspekt-ink);
	margin: 0;
	max-width: none;
	padding: 34px max(15px, calc((100vw - 1080px) / 2)) 0;
	position: relative;
	text-align: left;
	z-index: 3;
}

.single-post .perspekt-article-engine.article-mode--cinematic .perspekt-article-header__meta {
	color: inherit;
}

.single-post .perspekt-article-engine.article-mode--cinematic .perspekt-article-header__meta a,
.single-post .perspekt-article-engine.article-mode--cinematic .perspekt-article-header__byline a {
	color: inherit;
}

.single-post .perspekt-article-engine.article-mode--cinematic .perspekt-article-header__title {
	color: var(--perspekt-ink);
	font-family: "Cormorant Garamond", "Source Serif 4", Georgia, serif;
	font-size: clamp(34px, 5vw, 64px);
	font-weight: 700;
	line-height: 0.98;
	margin: 0 0 16px;
	max-width: 960px;
	text-shadow: none;
}

.single-post .perspekt-article-engine.article-mode--cinematic .perspekt-article-header__byline {
	color: inherit;
	font-family: "IBM Plex Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-weight: 700;
	margin-top: 18px;
}

.single-post .perspekt-article-engine.article-mode--cinematic .perspekt-article-header__standfirst {
	color: var(--perspekt-ink);
	margin-top: 22px;
}

.single-post .perspekt-article-engine.article-mode--cinematic .perspekt-article-dek {
	font-family: "Cormorant Garamond", "Source Serif 4", Georgia, serif;
	font-size: clamp(24px, 3vw, 38px);
	font-weight: 600;
	line-height: 1.12;
	margin: 0;
}

.single-post .perspekt-article-engine.article-mode--cinematic .perspekt-article-header__companions {
	display: block;
}

.single-post .perspekt-article-engine.article-mode--cinematic .perspekt-article-body {
	max-width: 860px;
	margin-top: 0;
	position: relative;
	z-index: 4;
}

.newspaper-x-related-posts {
	border: 1px solid var(--perspekt-line);
	margin-top: 40px;
	padding: 18px;
}

@media (min-width: 768px) {
	.newspaper-x-recent-posts > ul {
		grid-template-columns: repeat(4, 1fr);
	}

	.newspaper-x-recent-posts > ul > li,
	.newspaper-x-recent-posts > ul > li#newspaper-x-recent-post-1,
	.newspaper-x-recent-posts > ul > li#newspaper-x-recent-post-2 {
		height: 238px;
	}

	.newspaper-x-recent-posts > ul > li#newspaper-x-recent-post-0 {
		grid-column: span 2;
		grid-row: span 2;
		height: auto;
		min-height: 478px;
	}

	.newspaper-x-recent-posts > ul > li#newspaper-x-recent-post-0 h3 {
		font-size: 34px;
		letter-spacing: 0;
		line-height: 1.02;
	}
}

@media (max-width: 767px) {
	.section-title > span,
	.page-title > span {
		font-size: 18px;
	}

	.single-post .newspaper-x-editorial-title {
		font-size: 34px;
	}

	.single-post .entry-content,
	.single-post .perspekt-article-body {
		font-size: 19px;
		line-height: 1.66;
	}

	.single-post .entry-content h2,
	.single-post .perspekt-article-body h2 {
		font-size: 32px;
	}

	.single-post .entry-content h3,
	.single-post .perspekt-article-body h3 {
		font-size: 27px;
	}

	.single-post .entry-content blockquote,
	.single-post .perspekt-article-body blockquote {
		font-size: 25px;
		padding-left: 18px;
	}

	.single-post .perspekt-article-engine.article-mode--cinematic .perspekt-article-header {
		min-height: auto;
		padding-bottom: 0;
	}

	.single-post .perspekt-article-engine.article-mode--cinematic .perspekt-article-header__hero-media {
		position: relative;
	}

	.single-post .perspekt-article-engine.article-mode--cinematic .perspekt-article-header__text-shell {
		padding: 26px 18px 0;
	}

	.single-post .perspekt-article-engine.article-mode--cinematic .perspekt-article-header__title {
		font-size: 34px;
	}

	.single-post .perspekt-article-engine.article-mode--cinematic .perspekt-article-header__standfirst {
		margin-top: 18px;
	}

	.single-post .perspekt-article-engine.article-mode--cinematic .perspekt-article-dek {
		font-size: 23px;
		line-height: 1.36;
	}
}

/* Ingress/standfirst treatment: independent of article mode. */
.single-post article.post .perspekt-article-header__standfirst {
	background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
	border: 1px solid #dfe5ee;
	border-left: 0;
	border-radius: 3px;
	box-shadow: 0 14px 34px rgba(7, 19, 38, 0.06);
	margin-top: 30px;
	max-width: 1180px;
	padding: 26px 32px 28px;
	position: relative;
}

.single-post article.post .perspekt-article-header__standfirst:before {
	background: linear-gradient(90deg, #173f73, #c75b4e);
	content: "";
	display: block;
	height: 3px;
	left: 32px;
	position: absolute;
	right: 32px;
	top: 0;
}

.single-post article.post .perspekt-article-header__standfirst,
.single-post article.post .perspekt-article-header__standfirst p,
.single-post article.post .perspekt-article-dek,
.single-post article.post .perspekt-article-dek p {
	color: #152033 !important;
	font-family: "IBM Plex Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
	font-size: clamp(22px, 1.35vw, 27px) !important;
	font-style: normal !important;
	font-weight: 650 !important;
	letter-spacing: 0 !important;
	line-height: 1.5 !important;
	opacity: 1 !important;
	text-shadow: none !important;
}

.single-post article.post .perspekt-article-header__standfirst p,
.single-post article.post .perspekt-article-dek p {
	margin: 0 !important;
}

@media (max-width: 767px) {
	.single-post article.post .perspekt-article-header__standfirst {
		margin-top: 22px;
		padding: 20px 18px 22px;
	}

	.single-post article.post .perspekt-article-header__standfirst:before {
		left: 18px;
		right: 18px;
	}

	.single-post article.post .perspekt-article-header__standfirst,
	.single-post article.post .perspekt-article-header__standfirst p,
	.single-post article.post .perspekt-article-dek,
	.single-post article.post .perspekt-article-dek p {
		font-size: 18px !important;
		line-height: 1.5 !important;
	}
}
