﻿.nx-news-archive {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 0 0 10px;
}

.nx-news-archive__hero {
	align-items: center;
	background: linear-gradient(135deg, #123ea8 0%, #1d63f0 58%, #74beff 100%);
	border-radius: 10px;
	box-shadow: 0 18px 42px rgba(19, 62, 168, 0.18);
	display: grid;
	gap: 16px;
	grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
	overflow: hidden;
	padding: 24px;
	position: relative;
}

.nx-news-archive__hero::before,
.nx-news-archive__hero::after {
	background: rgba(255, 255, 255, 0.08);
	border-radius: 999px;
	content: "";
	position: absolute;
}

.nx-news-archive__hero::before {
	height: 180px;
	right: 18%;
	top: -56px;
	width: 180px;
}

.nx-news-archive__hero::after {
	bottom: -48px;
	height: 140px;
	left: 52%;
	width: 140px;
}

.nx-news-archive__hero-copy,
.nx-news-archive__hero-art {
	position: relative;
	z-index: 1;
}

.nx-news-archive__hero-title {
	color: #ffffff;
	font-size: clamp(30px, 4vw, 48px);
	font-weight: 700;
	line-height: 1.04;
	margin: 0 0 10px;
}

.nx-news-archive__hero-text {
	color: rgba(255, 255, 255, 0.88);
	font-size: 15px;
	line-height: 1.7;
	margin: 0 0 16px;
	max-width: 520px;
}

.nx-news-archive__search {
	align-items: center;
	background: rgba(255, 255, 255, 0.16);
	border: 1px solid rgba(255, 255, 255, 0.26);
	border-radius: 10px;
	display: grid;
	gap: 10px;
	grid-template-columns: minmax(0, 1fr) 50px;
	max-width: 460px;
	padding: 10px;
}

.nx-news-archive__search input {
	background: #ffffff !important;
	border: 0 !important;
	border-radius: 10px !important;
	box-shadow: none !important;
	color: #163a7d;
	font-size: 14px;
	height: 44px;
	margin: 0 !important;
	padding: 0 14px !important;
}

.nx-news-archive__search input::placeholder {
	color: #8ca2cd;
}

.nx-news-archive__search button {
	align-items: center;
	background: #ffffff;
	border: 0;
	border-radius: 10px;
	color: #1857db;
	cursor: pointer;
	display: inline-flex;
	font-size: 20px;
	height: 44px;
	justify-content: center;
	padding: 0;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	width: 44px;
}

.nx-news-archive__search button:hover {
	box-shadow: 0 10px 18px rgba(8, 37, 108, 0.18);
	transform: translateY(-1px);
}

.nx-news-archive__hero-art {
	display: flex;
	justify-content: center;
	min-height: 240px;
}

.nx-news-archive__hero-orb {
	background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.95), rgba(121, 190, 255, 0.16) 65%, rgba(121, 190, 255, 0) 100%);
	border-radius: 50%;
	height: 240px;
	position: absolute;
	right: 16px;
	top: 0;
	width: 240px;
}

.nx-news-archive__hero-card {
	background: rgba(255, 255, 255, 0.94);
	border-radius: 10px;
	box-shadow: 0 24px 48px rgba(9, 41, 123, 0.22);
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-height: 180px;
	padding: 18px;
	position: absolute;
	right: 70px;
	top: 16px;
	transform: rotate(-12deg);
	width: 220px;
}

.nx-news-archive__hero-card-title {
	color: #1857db;
	display: -webkit-box;
	font-size: clamp(22px, 2.1vw, 30px);
	font-weight: 800;
	letter-spacing: 0.02em;
	line-height: 1.12;
	overflow: hidden;
	text-transform: uppercase;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	word-break: break-word;
}

.nx-news-archive__hero-line {
	background: linear-gradient(90deg, #a6c9ff 0%, #d8e8ff 100%);
	border-radius: 999px;
	display: block;
	height: 10px;
	width: 100%;
}

.nx-news-archive__hero-line--short {
	width: 72%;
}

.nx-news-archive__hero-megaphone {
	background: linear-gradient(135deg, #ffffff 0%, #dceaff 100%);
	border-radius: 10px;
	bottom: 20px;
	box-shadow: 0 20px 36px rgba(15, 52, 145, 0.18);
	height: 110px;
	position: absolute;
	right: 10px;
	transform: rotate(-18deg);
	width: 110px;
}

.nx-news-archive__hero-megaphone::before {
	background: linear-gradient(135deg, #1b66f3 0%, #5fb6ff 100%);
	border-radius: 16px 30px 30px 16px;
	content: "";
	height: 46px;
	left: 18px;
	position: absolute;
	top: 32px;
	transform: skewX(-12deg);
	width: 64px;
}

.nx-news-archive__hero-megaphone::after {
	background: #f3f8ff;
	border-radius: 10px;
	content: "";
	height: 12px;
	left: 64px;
	position: absolute;
	top: 50px;
	width: 20px;
}

.nx-news-archive__hero-wave {
	border: 3px solid rgba(255, 255, 255, 0.86);
	border-left: 0;
	border-radius: 0 999px 999px 0;
	height: 24px;
	position: absolute;
	right: -18px;
	top: 42px;
	width: 26px;
}

.nx-news-archive__hero-wave--two {
	height: 38px;
	right: -30px;
	top: 35px;
	width: 38px;
}

.nx-news-archive__topics-shell {
	align-items: center;
	background: #ffffff;
	border: 1px solid #e5eefb;
	border-radius: 10px;
	box-shadow: 0 14px 30px rgba(29, 76, 168, 0.08);
	display: grid;
	gap: 10px;
	grid-template-columns: 34px minmax(0, 1fr) 34px;
	padding: 10px;
}

.nx-news-archive__topics {
	align-items: center;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	display: flex;
	flex-wrap: nowrap;
	gap: 10px;
	overflow-x: auto;
	overflow-y: hidden;
	padding: 0;
	scroll-behavior: smooth;
	scrollbar-width: none;
}

.nx-news-archive__topics::-webkit-scrollbar {
	display: none;
}

.nx-news-archive__topics-nav {
	align-items: center;
	background: #f8fbff;
	border: 1px solid #dce8fb;
	border-radius: 10px;
	box-shadow: none;
	color: #2d61df;
	cursor: pointer;
	display: inline-flex;
	font-size: 18px;
	height: 34px;
	justify-content: center;
	padding: 0;
	transition: 0.2s ease;
	width: 34px;
}

.nx-news-archive__topics-nav:hover {
	background: #2d61df;
	border-color: #2d61df;
	color: #ffffff;
}

.nx-news-archive__topics-nav.is-disabled,
.nx-news-archive__topics-nav:disabled {
	opacity: 0.35;
	pointer-events: none;
}

.nx-news-archive__topic {
	align-items: center;
	background: #f8fbff;
	border: 1px solid #e7eefb;
	border-radius: 10px;
	color: #35568e;
	display: inline-flex;
	flex: 0 0 auto;
	font-size: 13px;
	font-weight: 600;
	gap: 8px;
	line-height: 1;
	padding: 10px 14px;
	text-decoration: none;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
	white-space: nowrap;
}

.nx-news-archive__topic:hover,
.nx-news-archive__topic.is-active {
	background: linear-gradient(135deg, #1c5ef0 0%, #326df5 100%);
	border-color: transparent;
	color: #ffffff;
	transform: translateY(-1px);
}

.nx-news-archive__section {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.nx-news-archive__section-head {
	align-items: center;
	display: flex;
	gap: 10px;
	justify-content: space-between;
}

.nx-news-archive__section-title {
	align-items: center;
	color: #163a7d;
	display: inline-flex;
	font-size: 28px;
	font-weight: 700;
	gap: 10px;
	line-height: 1.15;
	margin: 0;
}

.nx-news-archive__section-title::before {
	background: linear-gradient(180deg, #2f73ff 0%, #6fb4ff 100%);
	border-radius: 4px;
	content: "";
	display: inline-block;
	height: 24px;
	width: 8px;
}

.nx-news-archive__section-head--between {
	gap: 10px;
}

.nx-news-archive__sort select {
	background-color: #ffffff !important;
	background-image: none !important;
	border: 1px solid #dce8fb !important;
	border-radius: 10px !important;
	box-shadow: 0 8px 18px rgba(29, 76, 168, 0.06);
	color: #315388;
	cursor: pointer;
	font-size: 13px;
	font-weight: 600;
	height: 40px;
	margin: 0 !important;
	min-width: 126px;
	padding: 0 12px !important;
}

.nx-news-archive__featured-grid {
	display: grid;
	gap: 10px;
	grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
}

.nx-news-featured-primary,
.nx-news-featured-item,
.nx-news-card {
	background: #ffffff;
	border: 1px solid #e6eefb;
	border-radius: 10px;
	box-shadow: 0 18px 36px rgba(29, 76, 168, 0.08);
	margin: 0 !important;
	overflow: hidden;
	transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
}

.nx-news-featured-primary:hover,
.nx-news-featured-item:hover,
.nx-news-card:hover {
	border-color: #cfe0ff;
	box-shadow: 0 26px 48px rgba(29, 76, 168, 0.14);
	transform: translateY(-4px);
}

.nx-news-featured-primary {
	display: flex;
	min-height: 100%;
	position: relative;
}

.nx-news-featured-primary__image {
	display: block;
	inset: 0;
	position: absolute;
}

.nx-news-featured-primary__image img,
.nx-news-featured-primary__image .nx-news-card__placeholder {
	aspect-ratio: 16 / 11;
	display: block;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
	width: 100%;
}

.nx-news-featured-primary:hover .nx-news-featured-primary__image img {
	transform: scale(1.035);
}

.nx-news-featured-primary__badge,
.nx-news-featured-item__badge,
.nx-news-card__badge {
	background: linear-gradient(135deg, #2f73ff 0%, #6fb4ff 100%);
	border-radius: 10px;
	color: #ffffff;
	font-size: 11px;
	font-weight: 700;
	left: 10px;
	line-height: 1;
	padding: 8px 10px;
	position: absolute;
	top: 10px;
}

.nx-news-featured-primary__overlay {
	background: linear-gradient(180deg, rgba(5, 17, 44, 0) 15%, rgba(5, 17, 44, 0.9) 100%);
	inset: 0;
	position: absolute;
}

.nx-news-featured-primary__content {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 100%;
	padding: 24px 22px 22px;
	position: relative;
	z-index: 1;
}

.nx-news-featured-primary__meta,
.nx-news-featured-item__meta,
.nx-news-card__meta {
	color: rgba(255, 255, 255, 0.76);
	display: flex;
	flex-wrap: wrap;
	font-size: 12px;
	gap: 10px;
	line-height: 1.4;
}

.nx-news-featured-primary__title,
.nx-news-featured-item__title,
.nx-news-card__title {
	line-height: 1.3;
	margin: 10px 0 0;
}

.nx-news-featured-primary__title {
	font-size: 28px;
}

.nx-news-featured-primary__title a,
.nx-news-featured-item__title a,
.nx-news-card__title a {
	color: inherit;
	display: inline;
	text-decoration: none;
}

.nx-news-featured-primary__title a,
.nx-news-featured-primary__excerpt {
	color: #ffffff;
}

.nx-news-featured-primary__excerpt {
	font-size: 14px;
	line-height: 1.7;
	margin: 10px 0 0;
	max-width: 88%;
}

.nx-news-featured-primary__cta {
	align-items: center;
	align-self: flex-start;
	background: linear-gradient(135deg, #ffffff 0%, #eef4ff 100%);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.88);
	border-radius: 10px;
	box-shadow: 0 16px 32px rgba(5, 17, 44, 0.22);
	color: #1d63f0;
	display: inline-flex;
	font-size: 13px;
	font-weight: 700;
	gap: 8px;
	line-height: 1;
	margin-top: 14px;
	padding: 11px 16px;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.nx-news-featured-primary__cta:hover {
	background: linear-gradient(135deg, #1d63f0 0%, #4b87ff 100%);
	border-color: transparent;
	box-shadow: 0 18px 32px rgba(29, 99, 240, 0.28);
	color: #ffffff;
	transform: translateY(-1px);
}

.nx-news-featured-primary__cta span:last-child {
	transition: transform 0.2s ease;
}

.nx-news-featured-primary__cta:hover span:last-child {
	transform: translateX(3px);
}

.nx-news-featured-list {
	display: grid;
	gap: 10px;
}

.nx-news-featured-item {
	align-items: stretch;
	display: grid;
	grid-template-columns: 148px minmax(0, 1fr);
}

.nx-news-featured-item__image {
	display: block;
	min-height: 100%;
	position: relative;
}

.nx-news-featured-item__image img,
.nx-news-featured-item__image .nx-news-card__placeholder {
	display: block;
	height: 100%;
	min-height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
	width: 100%;
}

.nx-news-featured-item:hover .nx-news-featured-item__image img {
	transform: scale(1.04);
}

.nx-news-featured-item__content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 14px;
}

.nx-news-featured-item__title {
	color: #163a7d;
	font-size: 18px;
}

.nx-news-featured-item__meta,
.nx-news-card__meta {
	color: #6f86ab;
}

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

.nx-news-card {
	display: flex;
	flex-direction: column;
}

.nx-news-card__image {
	display: block;
	position: relative;
}

.nx-news-card__image img,
.nx-news-card__image .nx-news-card__placeholder {
	aspect-ratio: 16 / 10;
	display: block;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
	width: 100%;
}

.nx-news-card:hover .nx-news-card__image img {
	transform: scale(1.04);
}

.nx-news-card__content {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 10px;
	padding: 14px;
}

.nx-news-card__title {
	color: #163a7d;
	font-size: 20px;
	margin-top: 0;
}

.nx-news-card__title a,
.nx-news-featured-item__title a {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	overflow: hidden;
}

.nx-news-featured-primary__title a {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
}

.nx-news-card__excerpt {
	color: #5e749b;
	font-size: 14px;
	line-height: 1.7;
	margin: 0;
}

.nx-news-card__cta {
	align-items: center;
	align-self: flex-start;
	background: linear-gradient(135deg, #f4f8ff 0%, #ffffff 100%);
	border: 1px solid #d8e6ff;
	border-radius: 10px;
	box-shadow: 0 10px 22px rgba(29, 99, 240, 0.08);
	color: #1d63f0;
	display: inline-flex;
	font-size: 13px;
	font-weight: 700;
	gap: 8px;
	line-height: 1;
	margin-top: auto;
	padding: 10px 14px;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.nx-news-card__cta:hover {
	background: linear-gradient(135deg, #1d63f0 0%, #4a86ff 100%);
	border-color: transparent;
	box-shadow: 0 14px 24px rgba(29, 99, 240, 0.22);
	color: #ffffff;
	transform: translateY(-1px);
}

.nx-news-card__cta span:last-child {
	transition: transform 0.2s ease;
}

.nx-news-card__cta:hover span:last-child {
	transform: translateX(3px);
}

.nx-news-card__placeholder {
	background: linear-gradient(135deg, #e7f0ff 0%, #d8e6ff 40%, #f2f7ff 100%);
}

.nx-news-empty {
	background: #ffffff;
	border: 1px solid #e6eefb;
	border-radius: 10px;
	box-shadow: 0 18px 36px rgba(29, 76, 168, 0.06);
	padding: 16px;
}

.nx-news-empty h3 {
	color: #163a7d;
	font-size: 24px;
	margin: 0 0 8px;
}

.nx-news-empty p {
	color: #6179a1;
	font-size: 14px;
	margin: 0;
}

.nx-news-pagination {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	padding-top: 6px;
}

.nx-news-pagination .page-number {
	align-items: center;
	background: #ffffff;
	border: 1px solid #dce8fb;
	border-radius: 10px;
	box-shadow: 0 10px 18px rgba(29, 76, 168, 0.06);
	color: #315388;
	display: inline-flex;
	font-size: 13px;
	font-weight: 700;
	height: 38px;
	justify-content: center;
	min-width: 38px;
	padding: 0 12px;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.nx-news-pagination .page-number:hover,
.nx-news-pagination .page-number.current {
	background: linear-gradient(135deg, #1c5ef0 0%, #326df5 100%);
	border-color: transparent;
	color: #ffffff;
	transform: translateY(-1px);
}

@media (max-width: 1199px) {
	.nx-news-archive__hero {
		grid-template-columns: minmax(0, 1fr);
		padding: 20px;
	}

	.nx-news-archive__hero-art {
		min-height: 220px;
	}

	.nx-news-archive__hero-card {
		right: 70px;
	}

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

	.nx-news-featured-primary {
		grid-column: 1 / -1;
	}
}

@media (max-width: 849px) {
	.nx-news-archive {
		gap: 10px;
	}

	.nx-news-archive__hero,
	.nx-news-featured-primary,
	.nx-news-featured-item,
	.nx-news-card,
	.nx-news-archive__topics,
	.nx-news-archive__topics-shell {
		border-radius: 10px;
	}

	.nx-news-archive__hero {
		padding: 16px;
	}

	.nx-news-archive__hero-title {
		font-size: 32px;
	}

	.nx-news-archive__hero-text {
		font-size: 14px;
	}

	.nx-news-archive__hero-art {
		min-height: 180px;
	}

	.nx-news-archive__hero-card {
		right: 56px;
		top: 10px;
		transform: rotate(-9deg) scale(0.9);
	}

	.nx-news-archive__hero-megaphone {
		bottom: 8px;
		right: 0;
		transform: rotate(-16deg) scale(0.9);
	}

	.nx-news-archive__section-head--between {
		align-items: flex-start;
		flex-direction: column;
	}

	.nx-news-archive__section-title {
		font-size: 24px;
	}

	.nx-news-featured-item {
		grid-template-columns: 132px minmax(0, 1fr);
	}
}

@media (max-width: 640px) {
	.nx-news-archive__hero {
		padding: 14px;
	}

	.nx-news-archive__hero-title {
		font-size: 28px;
	}

	.nx-news-archive__search {
		grid-template-columns: minmax(0, 1fr) 44px;
		max-width: 100%;
	}

	.nx-news-archive__search input,
	.nx-news-archive__search button {
		height: 42px;
	}

	.nx-news-archive__hero-art {
		display: none;
	}

	.nx-news-archive__topics-shell {
		grid-template-columns: minmax(0, 1fr);
	}

	.nx-news-archive__topics-nav {
		display: none;
	}

	.nx-news-archive__featured-grid,
	.nx-news-grid,
	.nx-news-featured-item {
		grid-template-columns: minmax(0, 1fr);
	}

	.nx-news-featured-primary__title {
		font-size: 24px;
	}

	.nx-news-featured-primary__content,
	.nx-news-card__content,
	.nx-news-featured-item__content {
		padding: 14px;
	}

	.nx-news-card__title {
		font-size: 18px;
	}

	.nx-news-card__excerpt {
		font-size: 13px;
	}
}

