/* PAGE HERO */
.page-hero {
	padding: 4rem 0 3rem;
	background: var(--paper-2)
}

.page-hero-eyebrow {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 1.5rem
}

.page-hero-eyebrow-line {
	width: 28px;
	height: 1px;
	background: var(--blue)
}

.page-hero h1 {
	font-size: clamp(2.4rem, 4vw, 4rem);
	margin-bottom: 1.25rem
}

.page-hero-sub {
	font-size: 1.05rem;
	color: var(--ink-2);
	line-height: 1.8;
	max-width: 580px
}

/* FILTER BAR */
.filter-bar {
	padding: 2rem 0 0;
	border-bottom: 1px solid var(--paper-3);
	background: var(--paper)
}

.filter-bar-inner {
	max-width: var(--max);
	margin: 0 auto;
	padding: 0 2.5rem;
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	padding-bottom: 0
}

.filter-btn {
	font-size: 0.82rem;
	font-weight: 500;
	padding: 7px 16px;
	border-radius: 10px 10px 0 0;
	border: 1px solid transparent;
	border-bottom: none;
	background: transparent;
	color: var(--ink-2);
	cursor: pointer;
	transition: all 0.15s;
	margin-bottom: -1px;
	position: relative
}

.filter-btn:hover {
	color: var(--ink);
	background: var(--paper-2)
}

.filter-btn.active {
	background: var(--paper);
	color: var(--blue);
	font-weight: 600;
	border-color: var(--paper-3);
	border-bottom-color: var(--paper)
}

/* FEATURED */
.featured {
	padding: 3rem 0 0
}

.featured-label {
	font-size: 0.68rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ink-3);
	margin-bottom: 1.25rem
}

.featured-card {
	display: grid;
	grid-template-columns: 1fr 1fr;
	border: 1px solid var(--paper-3);
	border-radius: var(--r-lg);
	overflow: hidden;
	transition: all 0.2s;
	text-decoration: none;
	color: inherit
}

.featured-card:hover {
	box-shadow: 0 12px 40px rgba(47, 74, 199, 0.1);
	border-color: var(--blue);
	transform: translateY(-2px)
}

.featured-card-image {
	min-height: 320px;
	display: flex;
	align-items: flex-end;
	padding: 2.5rem;
	position: relative;
	overflow: hidden;
	background: var(--night)
}

.featured-card-image img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.5
}

.featured-card-image::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(47, 74, 199, 0.3) 0%, rgba(11, 15, 36, 0.75) 100%)
}

.featured-card-image-inner {
	position: relative;
	z-index: 1
}

.featured-image-topic {
	font-size: 0.7rem;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.5);
	margin-bottom: 0.4rem
}

.featured-image-title {
	font-family: var(--serif);
	font-weight: 700;
	font-size: 1.4rem;
	color: #fff;
	line-height: 1.2
}

.featured-card-body {
	padding: 2.5rem;
	display: flex;
	flex-direction: column;
	background: var(--paper)
}

.featured-cat {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 1rem
}

.cat-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%
}

.featured-cat-label {
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase
}

.featured-title {
	font-family: var(--serif);
	font-weight: 900;
	font-size: 1.6rem;
	color: var(--heading);
	line-height: 1.15;
	margin-bottom: 1rem;
	letter-spacing: -0.01em
}

.featured-excerpt {
	font-size: 0.88rem;
	color: var(--ink-2);
	line-height: 1.75;
	margin-bottom: 1.75rem;
	flex: 1
}

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

.author-avatar {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--blue-pale);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.7rem;
	font-weight: 600;
	color: var(--blue)
}

.author-name {
	font-size: 0.78rem;
	font-weight: 500;
	color: var(--ink)
}

.author-date {
	font-size: 0.72rem;
	color: var(--ink-3)
}

.read-more {
	font-size: 0.82rem;
	color: var(--blue);
	font-weight: 500;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-top: auto;
	padding-top: 1.25rem;
	border-top: 1px solid var(--paper-3)
}

.read-more:hover {
	gap: 8px
}

/* ARTICLE GRID */
.articles-section {
	padding: 3rem 0 6rem
}

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

.article-card {
	border: 1px solid var(--paper-3);
	border-radius: var(--r-lg);
	overflow: hidden;
	background: var(--paper);
	transition: all 0.2s;
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: inherit
}

.article-card:hover {
	border-color: var(--blue);
	box-shadow: 0 8px 28px rgba(47, 74, 199, 0.09);
	transform: translateY(-2px)
}

.article-card.hidden {
	display: none
}

.article-card-image {
	min-height: 168px;
	position: relative;
	overflow: hidden;
	background: var(--night)
}

.article-card-image img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	display: block;
	transition: transform 0.3s
}

.article-card:hover .article-card-image img {
	transform: scale(1.03)
}

.article-card-image-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(160deg, transparent 40%, rgba(11, 15, 36, 0.45) 100%)
}

.article-card-body {
	padding: 1.25rem 1.5rem 1rem;
	display: flex;
	flex-direction: column;
	flex: 1
}

.article-cat-label {
	font-size: 0.65rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--blue);
	margin-bottom: 0.6rem;
	display: block
}

.article-card-title {
	font-family: var(--serif);
	font-weight: 700;
	font-size: 1.05rem;
	color: var(--heading);
	line-height: 1.3;
	margin-bottom: 0.6rem
}

.article-card-excerpt {
	font-size: 0.8rem;
	color: var(--ink-2);
	line-height: 1.7;
	flex: 1
}

.article-card-footer {
	padding: 0.875rem 1.5rem;
	border-top: 1px solid var(--paper-3);
	display: flex;
	align-items: center;
	justify-content: space-between
}

.article-card-author {
	font-size: 0.72rem;
	color: var(--ink-3)
}

.article-external-link {
	font-size: 0.72rem;
	color: var(--blue);
	font-weight: 500;
	display: flex;
	align-items: center;
	gap: 3px
}

/* EXTERNAL BADGE */
.external-note {
	text-align: center;
	padding: 2rem 0 1rem;
	font-size: 0.82rem;
	color: var(--ink-3)
}

.external-note a {
	color: var(--blue);
	font-weight: 500
}

.external-note a:hover {
	text-decoration: underline
}

/* RESPONSIVE */
@media(max-width:960px) {
	.articles-grid {
		grid-template-columns: 1fr 1fr
	}

	.featured-card {
		grid-template-columns: 1fr
	}
}

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

	.nav-links {
		display: none
	}

	.inner {
		padding: 0 1.25rem
	}
}