/* Single article â€” editorial layout (reference: facility-article-page)
 *
 * Navy gradient hero over the featured image, white card overlapping its bottom
 * edge, left metadata rail (published date + share), breadcrumbs, category
 * pill, oversized title, wide cover image, article body with a sticky numbered
 * table of contents when the post has headings.
 */

body.art-page {
	background: #f5f8fc;
}

/* Release the article hero from the theme's container box. Other inner pages
 * receive this same reset via page-hero.css (`.sfm-has-hero .site-main`), which
 * is intentionally not loaded on posts â€” replicate it here, scoped to the
 * `art-page` body class (single posts only) so every other page keeps its own
 * `.site-main` behaviour untouched. */
.art-page .site-main {
	max-width: none;
	margin: 0;
	padding: 0;
}

.art-hero {
	min-height: 420px;
	position: relative;
	overflow: hidden;
	color: #fff;
	background-color: #07183f;
	background-position: center right;
	background-size: cover;
	background-repeat: no-repeat;
}

.art-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(4, 17, 48, 0.98) 0%, rgba(6, 25, 62, 0.88) 42%, rgba(7, 27, 62, 0.55) 100%);
	pointer-events: none;
}

.art-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(2, 13, 37, 0.05), rgba(2, 13, 37, 0.45));
	pointer-events: none;
}

.art-wrap {
	width: min(1280px, calc(100% - 48px));
	margin: -148px auto 80px;
	position: relative;
	z-index: 5;
}

.art-card {
	background: rgba(255, 255, 255, 0.98);
	border: 1px solid rgba(255, 255, 255, 0.8);
	border-radius: 18px;
	box-shadow: 0 24px 70px rgba(10, 31, 73, 0.13);
	overflow: hidden;
}

.art-grid {
	display: grid;
	grid-template-columns: 155px 1fr;
}

.art-meta {
	border-right: 1px solid #e3e8f1;
	padding: 66px 25px;
}

.art-meta__label {
	font-size: 11px;
	color: #8290a8;
	font-weight: var(--sfm-weight-bold);
	text-transform: uppercase;
	letter-spacing: 0.07em;
}

.art-meta__date {
	display: block;
	margin-top: 8px;
	font-size: var(--sfm-text-md);
	font-weight: var(--sfm-weight-bold);
	line-height: 1.35;
	color: #101f45;
}

.art-meta__sep {
	height: 1px;
	background: #e3e8f1;
	margin: 34px 0 24px;
}

.art-meta__label + .art-meta__sep {
	margin-top: 34px;
}

.art-shares {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 13px;
}

.art-shares__btn {
	width: 36px;
	height: 36px;
	border: 1px solid #dce4ef;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: #fff;
	color: #0b2558;
	transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.art-shares__btn:hover {
	background: #07183f;
	color: #fff;
	transform: translateY(-2px);
}

.art-content {
	padding: 36px 48px 58px;
}

.art-crumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	align-items: center;
	color: #7b89a4;
	font-size: var(--sfm-text-xs);
	margin-bottom: 22px;
}

.art-crumbs a:hover {
	color: #1474df;
}

.art-crumbs__sep {
	opacity: 0.55;
}

.art-cat {
	display: inline-flex;
	align-items: center;
	background: #eaf3ff;
	color: #1474df;
	border-radius: 999px;
	padding: 6px 13px;
	font-size: 11px;
	font-weight: var(--sfm-weight-bold);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.art-title {
	margin: 15px 0 28px;
	max-width: 930px;
	font-size: clamp(28px, 3.2vw, 46px);
	line-height: 1.08;
	letter-spacing: -0.045em;
	color: #07183f;
	font-weight: var(--sfm-weight-bold);
}

.art-cover {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 7.2;
	overflow: hidden;
	border-radius: 12px;
	background: linear-gradient(135deg, #0b2558, #123a7a) center/cover no-repeat;
}

.art-cover__image {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	border-radius: inherit;
	object-fit: cover;
	object-position: center;
}

.art-body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 315px;
	gap: 55px;
	margin-top: 42px;
}

.art-body--notoc {
	grid-template-columns: minmax(0, 1fr);
	gap: 0;
}

.art-copy {
	font-size: 17px;
	color: #71809d;
	line-height: 1.65;
}
.art-copy > *:first-child {
	margin-top: 0;
}

.art-copy .lead {
	margin: 0 0 20px;
	color: #162a56;
	font-size: 22px;
	line-height: 1.65;
}

.art-copy h2 {
	color: #07183f;
	font-size: 28px;
	line-height: 1.15;
	margin: 40px 0 14px;
	letter-spacing: -0.025em;
	scroll-margin-top: 110px;
}

.art-copy h2:first-child,
.art-copy > h2:first-child {
	margin-top: 0;
}

.art-copy h3 {
	color: #07183f;
	font-size: 22px;
	line-height: 1.2;
	margin: 32px 0 10px;
}

.art-copy h4 {
	color: #07183f;
	font-size: var(--sfm-text-xl);
	line-height: 1.25;
	margin: 28px 0 8px;
	font-weight: var(--sfm-weight-bold);
}

.art-copy h5 {
	color: #07183f;
	font-size: var(--sfm-text-lg);
	line-height: 1.3;
	margin: 24px 0 8px;
	font-weight: var(--sfm-weight-bold);
}

.art-copy h6 {
	color: #07183f;
	font-size: var(--sfm-text-base);
	line-height: 1.35;
	margin: 20px 0 8px;
	font-weight: var(--sfm-weight-bold);
	text-transform: none;
	letter-spacing: 0;
}

.art-copy p {
	margin: 0 0 18px;
}

.art-copy ul,
.art-copy ol {
	padding-inline-start: 21px;
}

.art-copy li {
	margin: 8px 0;
}

.art-copy a {
	color: #168cff;
	text-decoration: underline;
}

.art-copy a:hover {
	color: #0b2558;
}

.art-copy img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
}

.art-copy blockquote {
	margin: 38px 0;
	padding: 24px 26px;
	border-radius: 14px;
	background: #f2f7ff;
	border-left: 4px solid #168cff;
	color: #24406f;
	font-style: normal;
}

.art-copy blockquote p {
	margin: 0;
}

.art-toc {
	border-left: 1px solid #e3e8f1;
	padding-left: 32px;
	align-self: start;
	position: sticky;
	top: 28px;
}

.art-toc__title {
	color: #6080b5;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: var(--sfm-weight-bold);
	margin-bottom: 18px;
}

.art-toc a {
	display: flex;
	gap: 13px;
	align-items: flex-start;
	padding: 10px 0;
	font-size: 13px;
	line-height: 1.45;
	color: #172c59;
	font-weight: var(--sfm-weight-bold);
}

.art-toc a:hover {
	color: #168cff;
}

.art-toc__num {
	flex: 0 0 30px;
	width: 30px;
	height: 30px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: #eaf3ff;
	color: #1975df;
	font-size: var(--sfm-text-xs);
	font-weight: var(--sfm-weight-bold);
}

@media (max-width: 900px) {
	.art-grid {
		grid-template-columns: 1fr;
	}

	.art-meta {
		border-right: 0;
		border-bottom: 1px solid #e3e8f1;
		padding: 22px 28px;
		display: flex;
		align-items: center;
		gap: 22px;
	}

	.art-meta__sep {
		width: 1px;
		height: 34px;
		margin: 0;
	}

	.art-shares {
		flex-wrap: nowrap;
		margin-top: 0;
	}

	.art-content {
		padding: 30px;
	}

	.art-body {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.art-body--notoc {
		grid-template-columns: 1fr;
	}

	.art-toc {
		position: static;
		border-left: 0;
		border-top: 1px solid #e3e8f1;
		padding: 25px 0 0;
		margin-top: 18px;
	}
}

@media (max-width: 600px) {
	.art-hero {
		min-height: 240px;
	}

	.art-wrap {
		width: calc(100% - 24px);
		margin-top: -40px;
		margin-bottom: 56px;
	}

	.art-meta {
		padding: 18px;
		flex-wrap: wrap;
	}

	.art-content {
		padding: 24px 18px 42px;
	}

	.art-title {
		font-size: var(--sfm-text-xl);
		letter-spacing: -0.04em;
	}

	.art-cover {
		aspect-ratio: 1.25 / 1;
	}

	.art-copy .lead {
		font-size: 19px;
	}

	.art-copy h2 {
		font-size: 22px;
		line-height: 1.18;
		margin: 32px 0 12px;
	}

	.art-copy h3 {
		font-size: 19px;
		line-height: 1.22;
		margin: 26px 0 10px;
	}

	.art-copy h4 {
		font-size: 17px;
		line-height: 1.26;
		margin: 22px 0 8px;
	}

	.art-copy h5 {
		font-size: var(--sfm-text-base);
		line-height: 1.28;
		margin: 20px 0 8px;
	}

	.art-copy h6 {
		font-size: var(--sfm-text-sm);
		line-height: 1.32;
		margin: 18px 0 8px;
	}
}
