*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

:root {
	--white: #ffffff;
	--off-white: #f5f5f3;
	--light-gray: #ebebeb;
	--mid-gray: #c0c0c0;
	--dark: #0e0e0e;
	--navy: #0f1f3d;
	--accent: #2563eb;
	--accent-light: #3b82f6;
	--font-display: "Playfair Display", serif;
	--font-body: "DM Sans", sans-serif;
	--transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-body);
	background-color: var(--off-white);
	color: var(--dark);
	overflow-x: hidden;
}

/* ─── NAVBAR ─── */
nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 5%;
	height: 70px;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--light-gray);
	box-shadow: 0 4px 24px rgba(15, 31, 61, 0.06);
}

.nav-logo {
	font-family: var(--font-display);
	font-size: 1.5rem;
	font-weight: 900;
	color: var(--navy);
	text-decoration: none;
	letter-spacing: -0.5px;
}

.nav-logo span {
	color: var(--accent);
}

.nav-links {
	display: flex;
	gap: 2.5rem;
	list-style: none;
}

.nav-links a {
	text-decoration: none;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--dark);
	letter-spacing: 0.05em;
	text-transform: uppercase;
	position: relative;
	transition: color var(--transition);
}

.nav-links a::after {
	content: "";
	position: absolute;
	bottom: -4px;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--accent);
	transition: width var(--transition);
}

.nav-links a:hover {
	color: var(--navy);
}
.nav-links a:hover::after {
	width: 100%;
}

.nav-cta {
	background: var(--navy);
	color: var(--white) !important;
	padding: 0.5rem 1.25rem;
	border-radius: 2px;
}

.nav-cta::after {
	display: none !important;
}
.nav-cta:hover {
	background: var(--accent) !important;
}

/* ─── ARTICLE HERO ─── */
.article-hero {
	padding-top: 70px;
	background: var(--navy);
	position: relative;
	overflow: hidden;
}

.article-hero::before {
	content: "";
	position: absolute;
	top: -100px;
	right: -100px;
	width: 400px;
	height: 400px;
	border-radius: 50%;
	background: rgba(37, 99, 235, 0.12);
	pointer-events: none;
}

.article-hero-inner {
	padding: 4rem 8% 5rem;
	max-width: 860px;
	position: relative;
}

.article-meta {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1.5rem;
	flex-wrap: wrap;
}

.article-tag {
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	padding: 0.3rem 0.75rem;
	border-radius: 2px;
	background: var(--accent);
	color: var(--white);
}

.article-date {
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.45);
}

.article-read-time {
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.45);
}

.article-read-time::before {
	content: "·";
	margin-right: 1rem;
}

.article-hero h1 {
	font-family: var(--font-display);
	font-size: clamp(2rem, 4vw, 3.25rem);
	font-weight: 900;
	color: var(--white);
	line-height: 1.15;
	margin-bottom: 1.25rem;
}

.article-hero .lead {
	font-size: 1.1rem;
	color: rgba(255, 255, 255, 0.6);
	line-height: 1.75;
	max-width: 640px;
}

.hero-wave {
	width: 100%;
	height: 60px;
	display: block;
}

/* ─── ARTICLE BODY ─── */
.article-body {
	padding: 4rem 8%;
	display: grid;
	grid-template-columns: 1fr 280px;
	gap: 5rem;
	align-items: start;
	max-width: 1200px;
	margin: 0 auto;
}

.article-content h2 {
	font-family: var(--font-display);
	font-size: 1.75rem;
	font-weight: 900;
	color: var(--navy);
	margin: 2.5rem 0 1rem;
	line-height: 1.2;
}

.article-content h2:first-child {
	margin-top: 0;
}

.article-content p {
	font-size: 1rem;
	line-height: 1.85;
	color: #444;
	margin-bottom: 1.25rem;
}

.article-content ul,
.article-content ol {
	margin: 1rem 0 1.25rem 1.5rem;
}

.article-content li {
	font-size: 1rem;
	line-height: 1.8;
	color: #444;
	margin-bottom: 0.5rem;
}

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

.article-highlight {
	border-left: 3px solid var(--accent);
	padding: 1.25rem 1.5rem;
	background: rgba(37, 99, 235, 0.05);
	border-radius: 0 4px 4px 0;
	margin: 2rem 0;
}

.article-highlight p {
	margin: 0;
	font-size: 1.05rem;
	color: var(--navy);
	font-style: italic;
}

/* ─── SIDEBAR ─── */
.article-sidebar {
	position: sticky;
	top: 90px;
}

.sidebar-card {
	background: var(--white);
	border-radius: 6px;
	padding: 1.5rem;
	margin-bottom: 1.5rem;
	box-shadow: 0 2px 16px rgba(15, 31, 61, 0.06);
}

.sidebar-card h4 {
	font-family: var(--font-display);
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--navy);
	margin-bottom: 1rem;
	padding-bottom: 0.75rem;
	border-bottom: 2px solid var(--accent);
}

.sidebar-card ul {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
}

.sidebar-card ul li a {
	font-size: 0.85rem;
	color: #666;
	text-decoration: none;
	transition: color var(--transition);
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.sidebar-card ul li a::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--accent);
	flex-shrink: 0;
}

.sidebar-card ul li a:hover {
	color: var(--accent);
}

.sidebar-cta {
	background: var(--navy);
	border-radius: 6px;
	padding: 1.5rem;
	text-align: center;
}

.sidebar-cta h4 {
	font-family: var(--font-display);
	font-size: 1rem;
	font-weight: 700;
	color: var(--white);
	margin-bottom: 0.5rem;
}

.sidebar-cta p {
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 0.55);
	margin-bottom: 1rem;
	line-height: 1.6;
}

.sidebar-cta a {
	display: block;
	padding: 0.75rem;
	background: var(--accent);
	color: var(--white);
	text-decoration: none;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	border-radius: 2px;
	transition: background var(--transition);
}

.sidebar-cta a:hover {
	background: var(--accent-light);
}

/* ─── RELATED ARTICLES ─── */
.related-articles {
	padding: 4rem 8%;
	background: var(--white);
}

.related-articles h3 {
	font-family: var(--font-display);
	font-size: 1.5rem;
	font-weight: 900;
	color: var(--navy);
	margin-bottom: 2rem;
}

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

.related-card {
	background: var(--off-white);
	border-radius: 6px;
	padding: 1.5rem;
	text-decoration: none;
	border: 1px solid var(--light-gray);
	transition:
		border-color var(--transition),
		transform var(--transition),
		box-shadow var(--transition);
	display: block;
}

.related-card:hover {
	border-color: var(--accent);
	transform: translateY(-3px);
	box-shadow: 0 8px 24px rgba(37, 99, 235, 0.1);
}

.related-card span {
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--accent);
}

.related-card h4 {
	font-family: var(--font-display);
	font-size: 1rem;
	font-weight: 700;
	color: var(--navy);
	margin: 0.5rem 0 0.4rem;
	line-height: 1.3;
}

.related-card p {
	font-size: 0.8rem;
	color: #888;
	line-height: 1.5;
}

/* ─── FOOTER ─── */
footer {
	background: var(--dark);
	padding: 2.5rem 8%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem;
}

.footer-logo {
	font-family: var(--font-display);
	font-size: 1.2rem;
	font-weight: 900;
	color: var(--white);
	text-decoration: none;
}

.footer-logo span {
	color: var(--accent);
}
footer p {
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 0.35);
}

.footer-links {
	display: flex;
	gap: 2rem;
	list-style: none;
}

.footer-links a {
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 0.4);
	text-decoration: none;
	transition: color var(--transition);
}

.footer-links a:hover {
	color: var(--white);
}

/* ─── BACK LINK ─── */
.back-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.5);
	text-decoration: none;
	margin-bottom: 2rem;
	transition: color var(--transition);
}

.back-link:hover {
	color: var(--white);
}
.back-link::before {
	content: "←";
}

/* ─── COOKIE BANNER ─── */
#cookie-banner {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: var(--navy);
	padding: 1.25rem 8%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	flex-wrap: wrap;
	z-index: 999;
	border-top: 2px solid var(--accent);
}

#cookie-banner p {
	font-size: 0.875rem;
	color: rgba(255, 255, 255, 0.75);
	line-height: 1.6;
	margin: 0;
}

.cookie-buttons {
	display: flex;
	gap: 0.75rem;
	flex-shrink: 0;
}

.btn-cookie-accept {
	padding: 0.6rem 1.5rem;
	background: var(--accent);
	color: var(--white);
	border: none;
	border-radius: 2px;
	font-family: var(--font-body);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background var(--transition);
}

.btn-cookie-accept:hover {
	background: var(--accent-light);
}

.btn-cookie-decline {
	padding: 0.6rem 1.5rem;
	background: transparent;
	color: rgba(255, 255, 255, 0.5);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 2px;
	font-family: var(--font-body);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
	transition:
		border-color var(--transition),
		color var(--transition);
}

.btn-cookie-decline:hover {
	border-color: rgba(255, 255, 255, 0.4);
	color: rgba(255, 255, 255, 0.8);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
	.article-body {
		grid-template-columns: 1fr;
		gap: 3rem;
	}

	.article-sidebar {
		position: static;
	}

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

	.nav-links {
		display: none;
	}
}
