/**
 * News & Events V2
 *
 * Scoped archive styling for /news/.
 */

.news-v2 {
	background:
		radial-gradient(circle at 50% 14%, rgba(148, 242, 80, 0.08), transparent 30rem),
		linear-gradient(180deg, #f7f8f7 0%, #f4f6f5 54%, #f7f8f7 100%);
	color: #101214;
	min-height: 100vh;
}

.news-v2 a {
	color: inherit;
	text-decoration: none;
}

.news-v2__container {
	width: calc(100% - 160px);
	max-width: 1280px;
	margin-inline: auto;
}

.news-v2__intro {
	padding: 80px 0 34px;
	text-align: center;
}

.news-v2__eyebrow,
.news-v2-featured__label,
.news-v2-card__type {
	color: var(--color-brand-accent, #94f250);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	line-height: 1.2;
	margin: 0;
	text-transform: uppercase;
}

.news-v2__title {
	color: #050707;
	font-size: clamp(44px, 4.9vw, 64px);
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1.02;
	margin: 18px auto 18px;
	max-width: 860px;
}

.news-v2__description {
	color: rgba(16, 18, 20, 0.7);
	font-size: 16px;
	line-height: 1.65;
	margin: 0 auto;
	max-width: 680px;
}

.news-v2__featured-section {
	padding: 24px 0 0;
}

.news-v2-featured {
	background: #080a0a;
	border: 1px solid rgba(16, 18, 20, 0.08);
	border-radius: 8px;
	box-shadow: 0 24px 70px rgba(11, 14, 16, 0.14);
	display: grid;
	grid-template-columns: minmax(0, 0.4fr) minmax(0, 0.6fr);
	min-height: 432px;
	overflow: hidden;
}

.news-v2-featured__content {
	color: #fff;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(34px, 4.2vw, 58px);
}

.news-v2-featured__title {
	font-size: clamp(32px, 3vw, 44px);
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1.08;
	margin: 22px 0 18px;
	max-width: 440px;
}

.news-v2-featured__excerpt {
	color: rgba(255, 255, 255, 0.78);
	font-size: 16px;
	line-height: 1.65;
	margin: 0 0 18px;
	max-width: 430px;
}

.news-v2-featured__meta {
	color: rgba(255, 255, 255, 0.74);
	font-size: 14px;
	line-height: 1.4;
	margin-bottom: 28px;
}

.news-v2-featured__button {
	align-items: center;
	align-self: flex-start;
	background: var(--color-brand-accent, #94f250);
	border-radius: 999px;
	color: #061008;
	display: inline-flex;
	font-size: 15px;
	font-weight: 700;
	gap: 18px;
	justify-content: center;
	min-height: 46px;
	padding: 0 28px;
	transition: filter 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.news-v2-featured__button:hover,
.news-v2-featured__button:focus-visible {
	box-shadow: 0 12px 28px rgba(148, 242, 80, 0.2);
	filter: brightness(1.04);
	transform: translateY(-1px);
}

.news-v2-featured__media {
	aspect-ratio: 16 / 9;
	display: block;
	min-height: 432px;
	overflow: hidden;
}

.news-v2-featured__image,
.news-v2-card__image {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.news-v2-featured__placeholder,
.news-v2-card__placeholder {
	align-items: center;
	background:
		radial-gradient(circle at 50% 52%, rgba(148, 242, 80, 0.18), transparent 11rem),
		linear-gradient(135deg, #171b1d 0%, #0d1011 100%);
	color: rgba(255, 255, 255, 0.72);
	display: flex;
	font-size: 18px;
	font-weight: 700;
	height: 100%;
	justify-content: center;
	min-height: 100%;
	text-transform: lowercase;
	width: 100%;
}

.news-v2__content {
	padding: 36px 0 86px;
}

.news-v2-filters {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 16px 24px;
	justify-content: center;
	margin: 0 0 40px;
}

.news-v2-filters__link {
	align-items: center;
	background: rgba(255, 255, 255, 0.82);
	border: 1px solid rgba(16, 18, 20, 0.08);
	border-radius: 7px;
	color: #111416;
	display: inline-flex;
	font-size: 14px;
	font-weight: 600;
	justify-content: center;
	min-height: 40px;
	min-width: 104px;
	padding: 0 24px;
	transition: border-color 180ms ease, color 180ms ease, background-color 180ms ease;
}

.news-v2-filters__link:hover,
.news-v2-filters__link:focus-visible,
.news-v2-filters__link.is-active {
	background: #fff;
	border-color: var(--color-brand-accent, #94f250);
	color: #0a1008;
}

.news-v2-grid {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.news-v2-card {
	background: rgba(255, 255, 255, 0.94);
	border: 1px solid rgba(16, 18, 20, 0.08);
	border-radius: 8px;
	box-shadow: 0 18px 46px rgba(11, 14, 16, 0.07);
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
}

.news-v2-card__media {
	aspect-ratio: 16 / 9;
	background: #eceeed;
	display: block;
	overflow: hidden;
}

.news-v2-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 22px 24px 24px;
}

.news-v2-card__title {
	font-size: 22px;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1.18;
	margin: 12px 0 12px;
}

.news-v2-card__title a:hover,
.news-v2-card__title a:focus-visible,
.news-v2-card__link:hover,
.news-v2-card__link:focus-visible {
	color: var(--color-brand-accent, #94f250);
}

.news-v2-card__excerpt {
	color: rgba(16, 18, 20, 0.68);
	font-size: 15px;
	line-height: 1.6;
	margin: 0 0 22px;
}

.news-v2-card__footer {
	align-items: center;
	display: flex;
	font-size: 13px;
	gap: 18px;
	justify-content: space-between;
	margin-top: auto;
}

.news-v2-card__date {
	color: rgba(16, 18, 20, 0.64);
}

.news-v2-card__link {
	align-items: center;
	color: #090b0c;
	display: inline-flex;
	font-weight: 700;
	gap: 10px;
	white-space: nowrap;
	transition: color 180ms ease;
}

.news-v2-pagination {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	margin-top: 42px;
}

.news-v2-pagination .page-numbers {
	align-items: center;
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(16, 18, 20, 0.08);
	border-radius: 6px;
	color: #101214;
	display: inline-flex;
	font-size: 14px;
	font-weight: 600;
	justify-content: center;
	min-height: 40px;
	min-width: 40px;
	padding: 0 15px;
	transition: border-color 180ms ease, color 180ms ease, background-color 180ms ease;
}

.news-v2-pagination .page-numbers:hover,
.news-v2-pagination .page-numbers:focus-visible,
.news-v2-pagination .page-numbers.current {
	background: rgba(148, 242, 80, 0.16);
	border-color: var(--color-brand-accent, #94f250);
	color: #071008;
}

.news-v2-empty {
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(16, 18, 20, 0.08);
	border-radius: 8px;
	color: rgba(16, 18, 20, 0.7);
	font-size: 18px;
	line-height: 1.5;
	margin: 0 auto;
	max-width: 640px;
	padding: 52px 32px;
	text-align: center;
}

.news-v2-empty p {
	margin: 0;
}

@media (max-width: 1179px) {
	.news-v2__container {
		width: calc(100% - 64px);
	}

	.news-v2__intro {
		padding-top: 68px;
	}

	.news-v2-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.news-v2-featured {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.news-v2-featured__media {
		min-height: 0;
	}
}

@media (max-width: 767px) {
	.news-v2__container {
		width: calc(100% - 32px);
	}

	.news-v2__intro {
		padding: 54px 0 28px;
	}

	.news-v2__title {
		font-size: clamp(38px, 12vw, 48px);
	}

	.news-v2__description {
		font-size: 15px;
	}

	.news-v2__content {
		padding: 28px 0 62px;
	}

	.news-v2-filters {
		gap: 10px;
		justify-content: flex-start;
		overflow-x: auto;
		padding-bottom: 4px;
		scrollbar-width: none;
	}

	.news-v2-filters::-webkit-scrollbar {
		display: none;
	}

	.news-v2-filters__link {
		min-width: auto;
		white-space: nowrap;
	}

	.news-v2-grid {
		grid-template-columns: 1fr;
	}

	.news-v2-featured__content {
		padding: 30px 24px;
	}

	.news-v2-featured__title {
		font-size: 32px;
	}

	.news-v2-card__body {
		padding: 20px;
	}

	.news-v2-card__footer {
		align-items: flex-start;
		flex-direction: column;
		gap: 12px;
	}
}

/* Phase 19-R.2: hide decorative archive eyebrow; preserve story/type labels. */
.news-v2__eyebrow {
	display: none;
}
