/* ═════════════════════════════════════════════════════════════════
   PAGE — NEWS
   About → News page (see /pages/page-news.php).

   Page deltas only — cream background, hero blob decorations,
   featured horizontal card, and 3-column frosted article grid.

   Class prefix: `.news-*`
   ═════════════════════════════════════════════════════════════════ */


/* ─────────────────────────────────────────────────────────────────
   PAGE BACKGROUND
   ───────────────────────────────────────────────────────────────── */
.news-page {
	background: var(--cream);
}


/* ─────────────────────────────────────────────────────────────────
   HERO BAND — eyebrow + display headline + lede.
   Decorative blob layer sits behind content (z-index 0 vs 1).
   ───────────────────────────────────────────────────────────────── */
.news-hero-band {
	padding-top: clamp(100px, 11vw, 144px);
	padding-bottom: clamp(40px, 5vw, 80px);
	position: relative;
	overflow: hidden;
}

.news-hero-blobs {
	position: absolute;
	inset: 0;
	pointer-events: none;
	overflow: hidden;
	z-index: 0;
}
.news-blob {
	position: absolute;
	border-radius: 50%;
}
.news-blob-1 {
	width: 70vw;
	height: 70vw;
	max-width: 920px;
	max-height: 920px;
	background: rgba(245, 244, 240, 0.9);
	filter: blur(80px);
	right: -12%;
	top: -25%;
	opacity: 0.7;
}
.news-blob-2 {
	width: 42vw;
	height: 42vw;
	max-width: 560px;
	max-height: 560px;
	background: rgba(11, 102, 35, 0.07);
	filter: blur(90px);
	right: 4%;
	top: 8%;
	opacity: 1;
}
.news-blob-3 {
	width: 54vw;
	height: 32vw;
	max-width: 720px;
	max-height: 430px;
	background: rgba(245, 244, 240, 0.8);
	filter: blur(70px);
	right: -6%;
	bottom: -15%;
	opacity: 0.6;
}

.news-hero-wrap {
	position: relative;
	z-index: 1;
}

/* Headline — stacked left-aligned, uppercase first line + italic serif tail */
.news-headline {
	margin: clamp(8px, 1vw, 16px) 0 clamp(28px, 3.5vw, 50px);
}
.news-headline .hl-line {
	display: block;
	text-transform: uppercase;
	line-height: 0.96;
}
.news-headline .it-tail.news-it-tail {
	display: block;
	text-align: left;
	white-space: normal;
	margin-top: 0;
	line-height: 1.02;
	letter-spacing: 0;
}

.news-lede {
	max-width: 60ch;
	margin: 0;
}


/* ─────────────────────────────────────────────────────────────────
   GRID SECTION
   ───────────────────────────────────────────────────────────────── */
.news-grid-section {
	padding-top: clamp(40px, 5vw, 80px);
	padding-bottom: clamp(60px, 8vw, 120px);
}

/* Vertical stack: featured card → grid → view more */
.news-cards-wrap {
	display: flex;
	flex-direction: column;
	gap: 32px;
}


/* ─────────────────────────────────────────────────────────────────
   FEATURED CARD — horizontal, image left + content right.
   ───────────────────────────────────────────────────────────────── */
.news-featured-card {
	display: flex;
	gap: 40px;
	background: rgba(255, 255, 255, 0.6);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-radius: 14px;
	padding: 30px 40px 40px 30px;
	text-decoration: none;
	color: inherit;
	cursor: pointer;
}

.news-featured-img-wrap {
	width: 480px;
	height: 288px;
	flex-shrink: 0;
	border-radius: 14px;
	overflow: hidden;
	background: #eeeeed;
}

.news-featured-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

.news-featured-content {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding-top: 10px;
}

.news-featured-top {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.news-featured-title {
	font-family: var(--f-sans);
	font-weight: 500;
	font-size: clamp(28px, 3.5vw, 42px);
	line-height: 1.095;
	letter-spacing: -0.03em;
	color: var(--ink);
	margin: 0;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.news-featured-excerpt {
	font-family: var(--f-sans);
	font-weight: 400;
	font-size: clamp(18px, 2vw, 26px);
	line-height: 1.54;
	color: var(--ink-soft, rgba(26, 26, 26, 0.75));
	margin: 0;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}


/* ─────────────────────────────────────────────────────────────────
   NEWS GRID — 3 equal columns.
   ───────────────────────────────────────────────────────────────── */
.news-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
	align-items: stretch;
}


/* ─────────────────────────────────────────────────────────────────
   NEWS CARD — gradient tile: title top, date + category pinned bottom.
   ───────────────────────────────────────────────────────────────── */
.news-card {
	--shimmer-pos: 120%;

	background: var(--cream);
	border: 1px solid #d7d5d0;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-radius: 14px;
	padding: 30px 30px 40px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 360px;
	position: relative;
	overflow: hidden;
	text-decoration: none;
	color: inherit;

	transition:
		--shimmer-pos 0.55s ease,
		border-color  0.25s ease,
		transform     0.25s ease,
		box-shadow    0.25s ease;
}

.news-card::after {
	content: '';
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(
		120deg,
		transparent                       0%,
		transparent                       calc(var(--shimmer-pos) - 28%),
		rgba(255, 255, 255, 0.18)         calc(var(--shimmer-pos) - 12%),
		rgba(255, 255, 255, 0.45)         var(--shimmer-pos),
		rgba(255, 255, 255, 0.18)         calc(var(--shimmer-pos) + 12%),
		transparent                       calc(var(--shimmer-pos) + 28%),
		transparent                       100%
	);
}

.news-card:hover {
	border-color: var(--green);
	transform: translateY(-2px);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.07);
	transition:
		--shimmer-pos 0.06s linear,
		border-color  0.25s ease,
		transform     0.25s ease,
		box-shadow    0.25s ease;
}

@media (prefers-reduced-motion: reduce) {
	.news-card {
		transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
	}
	.news-card::after { display: none; }
}

.news-card-title {
	font-family: var(--f-sans);
	font-weight: 500;
	font-size: clamp(20px, 2.2vw, 32px);
	line-height: 1.125;
	letter-spacing: -0.03em;
	color: var(--ink);
	margin: 0;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 5;
	-webkit-box-orient: vertical;
}


/* ─────────────────────────────────────────────────────────────────
   SHARED META — date + category (used in both featured and grid cards).
   ───────────────────────────────────────────────────────────────── */
.news-card-meta {
	display: flex;
	flex-direction: column;
	gap: 12px;
	flex-shrink: 0;
}

.news-card-date {
	font-family: var(--f-sans);
	font-weight: 400;
	font-size: clamp(16px, 1.5vw, 22px);
	line-height: 1.54;
	color: var(--ink-soft, rgba(26, 26, 26, 0.75));
	margin: 0;
}

.news-card-category {
	font-family: var(--f-sans);
	font-weight: 600;
	font-size: 16px;
	line-height: 1.125;
	color: var(--green);
	text-transform: uppercase;
	letter-spacing: 0.02em;
	margin: 0;
}


/* ─────────────────────────────────────────────────────────────────
   VIEW MORE — centred orange button beneath the grid.
   ───────────────────────────────────────────────────────────────── */
.news-viewmore {
	display: flex;
	justify-content: center;
	margin-top: clamp(40px, 5vw, 78px);
}

.news-viewmore.is-hidden {
	display: none;
}


/* ─────────────────────────────────────────────────────────────────
   FILTERED-OUT cards — JS adds .is-hidden to hide non-matching cards.
   ───────────────────────────────────────────────────────────────── */
.news-card.is-hidden {
	display: none;
}

.news-no-results {
	grid-column: 1 / -1;
	text-align: center;
	font-family: var(--f-sans);
	font-size: var(--fs-body);
	color: var(--ink-soft, rgba(26, 26, 26, 0.75));
	padding: clamp(32px, 4vw, 64px) 0;
}


/* ─────────────────────────────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
	.news-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.news-featured-card {
		flex-direction: column;
		gap: 24px;
	}
	.news-featured-img-wrap {
		width: 100%;
		height: auto;
		aspect-ratio: 480 / 288;
	}
	.news-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	.news-featured-card {
		padding: 20px 20px 30px;
	}
}
