/**
 * Newsroom archive — Figma node 1301:10644.
 */

body.hypro-newsroom-page {
	background: #f7f7f8;
}

body.hypro-newsroom-page #page.site {
	max-width: none;
	width: 100%;
	padding: 0;
	margin: 0;
}

body.hypro-newsroom-page .site-main {
	padding: 0;
	width: 100%;
}

.hypro-newsroom {
	overflow-x: hidden;
	--nr-pad: clamp(1.25rem, 5.56vw, 5rem);
}

/* Hero header: body.hypro-unified-nav — inner-nav-unified.css */

/* ─── Hero banner — clear fixed header (~72px) + balanced vertical rhythm ─ */
.hypro-newsroom-hero {
	position: relative;
	height: var(--hypro-page-hero-height);
	min-height: unset;
	overflow: hidden;
	background: #bdc2cc;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

.hypro-newsroom-hero__bg {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.hypro-newsroom-hero__photo {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}

.hypro-newsroom-hero__gradient {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: radial-gradient(
		ellipse 110% 130% at 50% 110%,
		rgba(46, 196, 230, 1) 0%,
		rgba(44, 158, 186, 1) 12%,
		rgba(42, 119, 142, 1) 25%,
		rgba(40, 81, 97, 1) 37%,
		rgba(38, 42, 53, 1) 50%,
		rgba(26, 30, 40, 1) 100%
	);
}

.hypro-newsroom-hero__rings {
	position: absolute;
	z-index: 2;
	inset: -10% -5% auto -5%;
	height: 120%;
	background:
		radial-gradient(ellipse 55% 45% at 50% 95%, transparent 55%, rgba(26, 30, 40, 0.15) 100%),
		radial-gradient(ellipse 70% 50% at 50% 100%, transparent 50%, rgba(46, 196, 230, 0.06) 100%);
	opacity: 0.9;
}

.hypro-newsroom-hero__tint {
	position: absolute;
	z-index: 3;
	inset: 0;
	mix-blend-mode: color;
	opacity: 0.8;
	background: radial-gradient(
		ellipse 90% 65% at 50% 55%,
		rgba(115, 215, 237, 0.85) 0%,
		rgba(71, 123, 139, 0.9) 35%,
		rgba(37, 53, 65, 0.95) 70%,
		rgba(26, 30, 40, 1) 100%
	);
}

/* Pull overlays back when hero photo is present */
.hypro-newsroom-hero--has-photo .hypro-newsroom-hero__gradient {
	opacity: 0.6;
}

.hypro-newsroom-hero--has-photo .hypro-newsroom-hero__tint {
	opacity: 0.45;
}

.hypro-newsroom-hero__inner {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 60rem;
	margin: 0 auto;
	padding-left: var(--nr-pad);
	padding-right: var(--nr-pad);
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1.25rem;
	box-sizing: border-box;
	flex: 1;
	min-height: 0;
}

.hypro-newsroom-hero__title {
	margin: 0;
	font-family: Saira, Inter, sans-serif;
	font-weight: 500;
	font-size: clamp(2.25rem, 5vw, 4rem);
	line-height: 1.1;
	letter-spacing: -0.04em;
	background: radial-gradient(
		ellipse 200% 80% at 20% 40%,
		rgba(46, 196, 230, 1) 22%,
		rgba(85, 168, 199, 1) 54%,
		rgba(123, 140, 167, 1) 86%,
		rgba(49, 54, 68, 0) 100%
	);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

.hypro-newsroom-hero__label {
	margin: 0 0 0.5rem;
	font-family: Saira, Inter, sans-serif;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--hypro-cyan, #2ec4e6);
	opacity: 0.85;
}

.hypro-newsroom-hero__sub {
	margin: 0;
	max-width: 41rem;
	font-family: Inter, sans-serif;
	font-size: 1rem;
	line-height: 1.5;
	font-weight: 400;
	color: #dbdde1;
}

/* ─── Content + toolbar ─────────────────────────────────────────────────── */
.hypro-newsroom-content {
	background: #f7f7f8;
	padding: clamp(2.5rem, 5vw, 3.75rem) 0 clamp(4rem, 8vw, 6rem);
}

.hypro-newsroom-content__inner {
	max-width: 80rem;
	margin: 0 auto;
	padding-left: var(--nr-pad);
	padding-right: var(--nr-pad);
}

.hypro-newsroom-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem;
	margin-bottom: 2.5rem;
}

.hypro-newsroom-tabs {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.25rem;
	padding: 0.25rem;
	border-radius: 1000px;
	border: 1.2px solid #bdc2cc;
	background: transparent;
}

/* Both <a> and legacy <span> supported */
.hypro-newsroom-tab {
	display: inline-flex;
	align-items: center;
	padding: 0.625rem 1.5rem;
	border-radius: 1000px;
	font-family: Saira, Inter, sans-serif;
	font-weight: 500;
	font-size: 1rem;
	line-height: 1.3;
	color: #7b8ca7;
	background: transparent;
	border: 1.2px solid transparent;
	text-decoration: none !important;
	cursor: pointer;
	transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.hypro-newsroom-tab:hover,
.hypro-newsroom-tab:focus-visible {
	color: #262a35;
	border-color: rgba(123, 140, 167, 0.5);
	text-decoration: none !important;
}

.hypro-newsroom-tab--active,
.hypro-newsroom-tab[aria-current="page"] {
	color: #262a35;
	background: linear-gradient(96deg, #f7f7f8 0.2%, #bdc2cc 100%);
	border-color: #7b8ca7;
}

/* .hypro-newsroom-filters / .hypro-newsroom-select — removed (sort/year filters no longer used) */

.hypro-newsroom-select:focus {
	outline: 2px solid rgba(46, 196, 230, 0.5);
	outline-offset: 2px;
}

.hypro-newsroom-filters__submit {
	margin-top: 1.5rem;
	padding: 0.5rem 1.25rem;
	border-radius: 1000px;
	border: 1px solid #2ec4e6;
	background: #fff;
	font-family: Saira, Inter, sans-serif;
	font-size: 0.875rem;
	cursor: pointer;
}

/* Wider archive cards (same as home news-item, full column width) */
.hypro-newsroom__list.news__list {
	border: 1px solid rgba(26, 30, 40, 0.08);
	background: #fff;
}

.hypro-newsroom__list .news-item--archive .news-item__link {
	padding: clamp(1.75rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 3rem);
	min-height: 165px;
}

.hypro-newsroom__list .news-item--archive .news-item__title {
	font-size: clamp(1.125rem, 1.5vw, 1.25rem);
}

.news-item__meta-inline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	flex: 1 1 auto;
	min-width: 0;
}

.news-item--archive .news-item__meta-row {
	align-items: center;
}

.news-item__sep {
	display: inline-block;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: rgba(49, 54, 68, 0.45);
	flex-shrink: 0;
}

.news-item__read {
	font-size: 12px;
	font-weight: 400;
	line-height: 1.4;
	color: rgba(49, 54, 68, 0.8);
	text-transform: capitalize;
}

.hypro-newsroom__list .news-item--archive .news-item__link:hover .news-item__read,
.hypro-newsroom__list .news-item--archive .news-item__link:focus .news-item__read {
	color: rgba(247, 247, 248, 0.72);
}

.hypro-newsroom__list .news-item--archive .news-item__link:hover .news-item__sep,
.hypro-newsroom__list .news-item--archive .news-item__link:focus .news-item__sep {
	background: rgba(247, 247, 248, 0.45);
}

.hypro-newsroom-empty {
	margin: 0;
	padding: 3rem 1rem;
	text-align: center;
	font-family: Inter, sans-serif;
	font-size: 1rem;
	color: #7b8ca7;
}

/* ─── Pagination ────────────────────────────────────────────────────────── */
.hypro-newsroom-pagination {
	display: flex;
	justify-content: center;
	margin-top: clamp(2.5rem, 5vw, 4rem);
}

.hypro-newsroom-pagination .page-numbers {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.hypro-newsroom-pagination .page-numbers li {
	margin: 0;
	padding: 0;
}

.hypro-newsroom-pagination .page-numbers a,
.hypro-newsroom-pagination .page-numbers span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.875rem;
	min-height: 2.875rem;
	padding: 0.75rem;
	border-radius: 1000px;
	font-family: Saira, Inter, sans-serif;
	font-weight: 500;
	font-size: 1rem;
	line-height: 1.3;
	text-decoration: none;
	color: #313644;
}

.hypro-newsroom-pagination .page-numbers a:hover {
	background: rgba(46, 196, 230, 0.15);
	color: #1a1e28;
}

.hypro-newsroom-pagination .page-numbers .current {
	background: #2ec4e6;
	color: #313644;
}

.hypro-newsroom-pagination .page-numbers .dots {
	min-width: auto;
	color: #313644;
}

.hypro-newsroom-pagebtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.875rem;
	height: 2.875rem;
	border-radius: 50%;
	border: 1px solid rgba(49, 54, 68, 0.2);
	background: #fff;
	color: #313644;
}

.hypro-newsroom-pagebtn svg {
	display: block;
}

.hypro-newsroom-pagination .page-numbers a:hover .hypro-newsroom-pagebtn {
	border-color: #2ec4e6;
	color: #1a1e28;
}

@media (max-width: 720px) {
	.hypro-newsroom-toolbar {
		flex-direction: column;
		align-items: stretch;
	}

	.hypro-newsroom-tabs {
		display: flex;
		width: 100%;
		flex-wrap: nowrap;
		gap: 0.125rem;
		padding: 0.2rem;
		box-sizing: border-box;
	}

	.hypro-newsroom-tab {
		flex: 1 1 0;
		min-width: 0;
		justify-content: center;
		padding: 0.5rem 0.625rem;
		font-size: 0.8125rem;
		line-height: 1.25;
		text-align: center;
		white-space: nowrap;
	}

	.hypro-newsroom-filters {
		justify-content: stretch;
	}

	.hypro-newsroom-select-wrap {
		width: 100%;
		max-width: none;
	}
}

@media (max-width: 380px) {
	.hypro-newsroom-tab {
		font-size: 0.75rem;
		padding: 0.45rem 0.5rem;
	}
}
