/* HERO */
.article-hero {
	position: relative;
	background:
		linear-gradient(to bottom, rgba(26, 32, 53, 0.55) 0%, rgba(26, 32, 53, 0.88) 100%),
		var(--hero-img, linear-gradient(135deg, #0d1a3a 0%, #1a2f5e 100%));
	background-size: cover;
	background-position: center;
	padding: 6rem 2.5rem 5rem;
}

.article-hero::after {
	content: '';
	position: absolute;
	inset: 0;
	background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
	background-size: 48px 48px;
	pointer-events: none;
}

.article-hero-inner {
	max-width: var(--prose);
	margin: 0 auto;
	position: relative;
	z-index: 1
}

.article-hero-cat {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-bottom: 1.5rem;
	opacity: 0;
	animation: riseIn 0.5s ease 0.05s forwards
}

.cat-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--blue-2)
}

.cat-label {
	font-size: 0.7rem;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.55)
}

.article-hero-title {
	font-family: var(--serif);
	font-weight: 900;
	font-size: clamp(2.2rem, 4.5vw, 3.8rem);
	color: #fff;
	line-height: 1.08;
	letter-spacing: -0.02em;
	margin-bottom: 1.5rem;
	font-variant-ligatures: no-common-ligatures;
	-webkit-font-feature-settings: "liga"0, "clig"0;
	font-feature-settings: "liga"0, "clig"0;
	opacity: 0;
	animation: riseIn 0.6s ease 0.15s forwards
}

.article-hero-title em {
	font-style: italic;
	color: var(--blue-2)
}

.article-hero-deck {
	font-size: 1.1rem;
	color: rgba(255, 255, 255, 0.7);
	line-height: 1.7;
	margin-bottom: 2rem;
	font-family: var(--serif);
	font-style: italic;
	opacity: 0;
	animation: riseIn 0.6s ease 0.25s forwards
}

.article-hero-meta {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	flex-wrap: wrap;
	opacity: 0;
	animation: riseIn 0.6s ease 0.35s forwards
}

.author-block {
	display: flex;
	align-items: center;
	gap: 8px
}

.author-avatar {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: rgba(47, 74, 199, 0.5);
	border: 1px solid rgba(255, 255, 255, 0.2);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.72rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.9)
}

.author-name {
	font-size: 0.82rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.85)
}

.meta-sep {
	color: rgba(255, 255, 255, 0.2)
}

.meta-item {
	font-size: 0.78rem;
	color: rgba(255, 255, 255, 0.5)
}

/* ARTICLE BODY */
.article-body {
	max-width: var(--article-width);
	margin: 0 auto;
	padding: 4rem 2.5rem 5rem
}

/* CONTENT */
.article-content {
	font-size: 1.0625rem;
	line-height: 1.85;
	color: var(--ink)
}

.article-content p {
	margin-bottom: 1.6rem
}

.article-content p:last-child {
	margin-bottom: 0
}

.article-content h2 {
	font-family: var(--serif);
	font-weight: 900;
	font-size: clamp(1.6rem, 2.5vw, 2rem);
	color: var(--heading);
	line-height: 1.15;
	letter-spacing: -0.01em;
	margin: 3.5rem 0 1.25rem;
	font-variant-ligatures: no-common-ligatures;
	-webkit-font-feature-settings: "liga"0, "clig"0;
	font-feature-settings: "liga"0, "clig"0
}

.article-content h3 {
	font-family: var(--serif);
	font-weight: 700;
	font-size: 1.3rem;
	color: var(--heading);
	line-height: 1.2;
	margin: 2.5rem 0 1rem
}

.article-content h4 {
	font-size: 1rem;
	font-weight: 600;
	color: var(--heading);
	margin: 2rem 0 0.75rem
}

.article-content a {
	color: var(--blue);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
	transition: color 0.15s
}

.article-content a:hover {
	color: var(--blue-2)
}

.article-content strong {
	font-weight: 600;
	color: var(--heading)
}

.article-content em {
	font-style: italic
}

.article-content ul,
.article-content ol {
	padding-left: 1.5rem;
	margin-bottom: 1.6rem
}

.article-content li {
	margin-bottom: 0.5rem;
	line-height: 1.75
}

.article-content li::marker {
	color: var(--blue)
}

.article-content ol li::marker {
	font-weight: 600
}

.article-content blockquote {
	margin: 2.5rem 0;
	padding: 1.5rem 2rem;
	border-left: 3px solid var(--blue);
	background: var(--paper-2);
	border-radius: 0 var(--r-lg) var(--r-lg) 0;
	font-style: italic;
	font-size: 1.05rem;
	color: var(--ink-2);
	line-height: 1.75
}

.article-content blockquote p {
	margin-bottom: 0
}

.article-content hr {
	border: none;
	border-top: 1px solid var(--paper-3);
	margin: 3rem 0
}

.article-content .callout {
	background: var(--blue-pale);
	border-left: 3px solid var(--blue);
	border-radius: 0 var(--r-lg) var(--r-lg) 0;
	padding: 1.25rem 1.5rem;
	margin: 2rem 0;
	font-size: 0.9rem;
	color: var(--ink-2);
	line-height: 1.75
}

.article-content .callout strong {
	color: var(--blue)
}

/* Tags + share */
.article-footer-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	padding-top: 2rem;
	margin-top: 3rem;
	border-top: 1px solid var(--paper-3)
}

.article-tags {
	display: flex;
	gap: 7px;
	flex-wrap: wrap
}

.article-tag {
	font-size: 0.7rem;
	padding: 4px 11px;
	border-radius: 999px;
	background: var(--paper-2);
	border: 1px solid var(--paper-3);
	color: var(--ink-2);
	transition: border-color 0.15s
}

.article-tag:hover {
	border-color: var(--blue);
	color: var(--blue)
}

.share-links {
	display: flex;
	gap: 7px
}

.share-link {
	font-size: 0.75rem;
	font-weight: 500;
	padding: 5px 13px;
	border-radius: 999px;
	border: 1px solid var(--paper-3);
	color: var(--ink-2);
	background: var(--paper);
	transition: all 0.15s;
	display: flex;
	align-items: center;
	gap: 5px;
	cursor: pointer;
	font-family: var(--sans)
}

.share-link:hover {
	border-color: var(--blue);
	color: var(--blue)
}

/* CTA SECTION */
.article-cta {
	background: var(--night);
	padding: 5rem 2.5rem
}

.article-cta-inner {
	max-width: var(--prose);
	margin: 0 auto
}

.article-cta h3 {
	font-family: var(--serif);
	font-weight: 900;
	font-size: 1.75rem;
	color: #fff;
	margin-bottom: 0.75rem;
	line-height: 1.1
}

.article-cta h3 em {
	font-style: italic;
	color: var(--blue-2)
}

.article-cta p {
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.6);
	line-height: 1.75;
	margin-bottom: 1.75rem
}

.cta-contact-actions {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap
}

/* RELATED */
.related {
	background: var(--paper-2);
	padding: 4.5rem 0;
	border-top: 1px solid var(--paper-3)
}

.related-inner {
	max-width: var(--max);
	margin: 0 auto;
	padding: 0 2.5rem
}

.related-header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin-bottom: 1.75rem
}

.related-header h2 {
	font-family: var(--serif);
	font-weight: 900;
	font-size: 1.35rem;
	color: var(--heading)
}

.related-header a {
	font-size: 0.8rem;
	color: var(--blue);
	font-weight: 500
}

.related-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem
}

.related-card {
	background: var(--paper);
	border: 1px solid var(--paper-3);
	border-radius: var(--r-lg);
	padding: 1.5rem;
	transition: all 0.2s;
	display: flex;
	flex-direction: column
}

.related-card:hover {
	border-color: var(--blue);
	box-shadow: 0 6px 20px rgba(47, 74, 199, 0.08);
	transform: translateY(-2px)
}

.related-cat {
	font-size: 0.65rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--blue);
	margin-bottom: 0.6rem
}

.related-title {
	font-family: var(--serif);
	font-weight: 700;
	font-size: 1rem;
	color: var(--heading);
	line-height: 1.3;
	flex: 1;
	margin-bottom: 1rem
}

.related-meta {
	font-size: 0.72rem;
	color: var(--ink-3);
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 0.75rem;
	border-top: 1px solid var(--paper-3)
}

.related-arrow {
	color: var(--blue);
	transition: transform 0.15s
}

.related-card:hover .related-arrow {
	transform: translateX(3px)
}

.back-bar {
	padding: 1.75rem 0;
	border-top: 1px solid var(--paper-3);
	text-align: center
}

.back-bar a {
	font-size: 0.82rem;
	color: var(--ink-3);
	display: inline-flex;
	align-items: center;
	gap: 5px;
	transition: color 0.15s
}

.back-bar a:hover {
	color: var(--blue)
}

@keyframes riseIn {
	from {
		opacity: 0;
		transform: translateY(20px)
	}

	to {
		opacity: 1;
		transform: translateY(0)
	}
}

@media(max-width:900px) {

	.nav-inner,
	.breadcrumb-inner,
	.related-inner {
		padding: 0 1.5rem
	}

	.article-hero,
	.article-body,
	.article-cta {
		padding-left: 1.5rem;
		padding-right: 1.5rem
	}

	.related-grid {
		grid-template-columns: 1fr 1fr
	}

	.footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: 2.5rem
	}

	.nav-links {
		display: none
	}

	.nav-menu-btn {
		display: block
	}
}

@media(max-width:600px) {
	.related-grid {
		grid-template-columns: 1fr
	}

	.footer-grid {
		grid-template-columns: 1fr
	}

	.article-hero {
		padding-top: 4rem;
		padding-bottom: 3.5rem
	}

	.article-hero-meta {
		gap: 0.75rem
	}

	.meta-sep {
		display: none
	}

	.cta-contact-actions {
		flex-direction: column
	}
}