.anb-news-main,
.anb-news-main *,
.anb-news-main *::before,
.anb-news-main *::after {
	box-sizing: border-box;
}

.anb-news-main {
	display: grid;
	width: min(100%, var(--anb-content));
	margin-inline: auto;
	padding: clamp(28px, 5vw, 64px) 24px 80px;
	gap: clamp(42px, 7vw, 82px);
}

.anb-news-hero {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.7fr);
	align-items: end;
	gap: 28px;
	overflow: hidden;
	padding: clamp(30px, 6vw, 72px);
	border: 1px solid rgba(34, 211, 238, 0.28);
	border-radius: 24px;
	background:
		radial-gradient(circle at 85% 15%, rgba(236, 72, 153, 0.2), transparent 35%),
		linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(9, 13, 24, 0.96) 56%);
}

.anb-news-hero::before {
	position: absolute;
	inset: 0 auto 0 0;
	width: 5px;
	background: linear-gradient(var(--anb-cyan), var(--anb-pink));
	content: "";
}

.anb-news-hero__copy {
	position: relative;
	z-index: 1;
	min-width: 0;
}

.anb-news-hero h1 {
	max-width: 830px;
	margin: 12px 0 18px;
	color: var(--anb-text);
	font-size: clamp(2.2rem, 6vw, 5rem);
	line-height: 0.98;
	letter-spacing: -0.055em;
}

.anb-news-hero__copy > p:last-child {
	max-width: 760px;
	margin: 0;
	color: var(--anb-muted);
	font-size: clamp(1rem, 2vw, 1.18rem);
	line-height: 1.7;
}

.anb-news-hero__trust {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 10px;
	min-width: 0;
}

.anb-news-hero__trust span,
.anb-news-origin {
	margin: 0;
	color: var(--anb-cyan);
	font-size: 0.72rem;
	font-weight: 850;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.anb-news-hero__trust span {
	display: block;
	padding: 12px 14px;
	border: 1px solid var(--anb-border);
	border-radius: 10px;
	background: rgba(5, 7, 13, 0.64);
}

.anb-news-filters {
	display: flex;
	max-width: 100%;
	overflow-x: auto;
	gap: 8px;
	padding: 2px 2px 10px;
	scrollbar-width: thin;
}

.anb-news-filters a {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	min-height: 44px;
	padding: 8px 15px;
	border: 1px solid var(--anb-border);
	border-radius: 999px;
	color: var(--anb-muted);
	font-weight: 750;
	text-decoration: none;
}

.anb-news-filters a:hover,
.anb-news-filters a.is-active {
	border-color: rgba(34, 211, 238, 0.58);
	background: rgba(34, 211, 238, 0.1);
	color: var(--anb-cyan);
}

.anb-news-featured,
.anb-news-stream {
	min-width: 0;
}

.anb-news-featured__grid,
.anb-news-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.anb-news-card-wrap {
	position: relative;
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 10px;
}

.anb-news-card-wrap > .anb-story-card {
	flex: 1 1 auto;
}

.anb-news-card-wrap--original .anb-news-origin {
	color: var(--anb-pink);
}

.anb-news-card-wrap--around_web .anb-news-origin {
	color: #c4b5fd;
}

.anb-news-origin-link {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	min-height: 44px;
	color: var(--anb-cyan);
	font-size: 0.88rem;
	font-weight: 750;
	text-underline-offset: 4px;
}

.anb-news-community {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px 40px;
	padding: clamp(28px, 5vw, 52px);
	border: 1px solid rgba(37, 99, 235, 0.42);
	border-radius: 20px;
	background: linear-gradient(120deg, rgba(37, 99, 235, 0.18), rgba(236, 72, 153, 0.09));
}

.anb-news-community h2 {
	margin: 8px 0 12px;
	font-size: clamp(1.65rem, 3.5vw, 2.7rem);
	line-height: 1.1;
}

.anb-news-community p:last-child {
	max-width: 720px;
	margin: 0;
	color: var(--anb-muted);
	line-height: 1.65;
}

@media (max-width: 900px) {
	.anb-news-hero {
		grid-template-columns: 1fr;
	}

	.anb-news-hero__trust {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.anb-news-featured__grid,
	.anb-news-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.anb-news-main {
		padding: 24px 16px 64px;
		gap: 40px;
	}

	.anb-news-hero {
		padding: 30px 22px;
		border-radius: 18px;
	}

	.anb-news-hero__trust,
	.anb-news-featured__grid,
	.anb-news-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.anb-news-community {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (prefers-reduced-motion: reduce) {
	.anb-news-page *,
	.anb-news-page *::before,
	.anb-news-page *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
