/**
 * News archive — hero background + hub section extensions.
 */

.bb58-news-archive-hero {
	background-image: var(--bb58-news-hero-bg, none);
	background-size: cover;
	background-position: center;
}

.bb58-news-archive-hero__intro-p { margin: 0 0 0.85rem; }

.bb58-news-featured-story,
.bb58-news-archive-featured,
.bb58-news-archive-categories,
.bb58-news-archive-trending,
.bb58-news-archive-tags,
.bb58-news-newsletter,
.bb58-news-archive-seo {
	padding: clamp(2rem, 4vw, 3.5rem) 0;
}

.bb58-news-featured-story__card { overflow: hidden; border-radius: 20px; }

.bb58-news-featured-story__link {
	display: grid;
	grid-template-columns: 1fr;
	text-decoration: none;
	color: inherit;
}

@media (min-width: 768px) {
	.bb58-news-featured-story__link { grid-template-columns: 1.2fr 1fr; }
}

.bb58-news-featured-story__media {
	position: relative;
	flex: 0 0 auto;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 20px 20px 0 0;
	background: linear-gradient(135deg, #141418, #0a0a0d);
}

@media (min-width: 768px) {
	.bb58-news-featured-story__media {
		border-radius: 20px 0 0 20px;
	}
}

.bb58-news-featured-story__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.55) 100%);
}

.bb58-news-featured-story__body {
	display: flex;
	flex-direction: column;
	padding: clamp(1.25rem, 3vw, 2rem);
	min-height: 0;
}

.bb58-news-featured-story__badge,
.bb58-news-archive-trending__badge {
	display: inline-block;
	margin-bottom: 0.65rem;
	padding: 0.25rem 0.65rem;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	background: color-mix(in srgb, var(--color-primary) 16%, transparent);
	color: var(--color-primary);
}

.bb58-news-featured-story__headline {
	margin: 0 0 0.75rem;
	font-size: clamp(1.35rem, 2vw, 1.85rem);
	color: #fff;
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.bb58-news-featured-story__excerpt {
	flex: 1 1 auto;
	margin: 0 0 0.75rem;
}

.bb58-news-featured-story__cta {
	margin-top: auto;
	padding-top: 0.5rem;
	font-weight: 600;
	color: var(--color-primary);
}

.bb58-news-archive-categories__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
	gap: 1rem;
}

.bb58-news-archive-categories__card {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding: 1.15rem;
	border-radius: 16px;
	text-decoration: none;
	color: inherit;
	border-left: 3px solid var(--bb58-news-cat-accent, var(--color-primary));
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bb58-news-archive-categories__card:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.bb58-news-archive-categories__label { font-weight: 700; color: #fff; }

.bb58-news-archive-categories__desc {
	font-size: 0.86rem;
	line-height: 1.5;
	color: color-mix(in srgb, var(--color-text) 70%, transparent);
}

.bb58-news-archive-trending__list {
	display: grid;
	gap: 0.85rem;
}

.bb58-news-archive-trending__item {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 1rem;
	align-items: start;
	padding: 1rem 1.15rem;
	border-radius: 16px;
}

.bb58-news-archive-trending__rank {
	font-size: 1.35rem;
	font-weight: 800;
	color: var(--color-primary);
	line-height: 1;
}

.bb58-news-archive-trending__title {
	margin: 0.35rem 0 0;
	font-size: 1rem;
}

.bb58-news-archive-trending__title a {
	color: #fff;
	text-decoration: none;
}

.bb58-news-archive-tags__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
}

.bb58-news-archive-tags__chip {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0.45rem 1rem;
	border-radius: 999px;
	border: 1px solid color-mix(in srgb, var(--color-primary) 22%, transparent);
	background: color-mix(in srgb, var(--color-primary) 8%, transparent);
	color: var(--color-text);
	text-decoration: none;
	font-size: 0.86rem;
	transition: background 0.2s ease, border-color 0.2s ease;
}

.bb58-news-archive-tags__chip:hover {
	background: color-mix(in srgb, var(--color-primary) 18%, transparent);
	border-color: var(--color-primary);
}

.bb58-news-newsletter__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem;
	padding: clamp(1.5rem, 3vw, 2.25rem);
	border-radius: 20px;
}

.bb58-news-newsletter__title {
	margin: 0 0 0.5rem;
	font-size: clamp(1.35rem, 2vw, 1.75rem);
	color: #fff;
}

.bb58-news-newsletter__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.bb58-news-archive-seo__body {
	padding: clamp(1.5rem, 3vw, 2.25rem);
	border-radius: 20px;
}

.bb58-news-archive-seo__body h2 {
	margin: 1.75rem 0 0.75rem;
	font-size: 1.35rem;
	color: #fff;
}

.bb58-news-archive-seo__body h2:first-child { margin-top: 0; }

.bb58-news-archive-seo__body p {
	margin: 0 0 1rem;
	line-height: 1.75;
}

.bb58-news-archive-seo__body a { color: var(--color-primary); }

/* Authority hub — stats, featured categories, topics, searches */
.bb58-news-authority-stats,
.bb58-news-authority-categories,
.bb58-news-authority-trending,
.bb58-news-authority-searches {
	padding: clamp(1.75rem, 3.5vw, 3rem) 0;
}

.bb58-news-authority-stats__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.85rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 640px) {
	.bb58-news-authority-stats__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.bb58-news-authority-stats__grid {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}
}

.bb58-news-authority-stats__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	padding: clamp(1rem, 2.5vw, 1.35rem);
	border-radius: 16px;
	text-align: center;
}

.bb58-news-authority-stats__value {
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 800;
	line-height: 1.1;
	color: var(--color-primary);
}

.bb58-news-authority-stats__label {
	font-size: 0.82rem;
	line-height: 1.4;
	color: color-mix(in srgb, var(--color-text) 72%, transparent);
}

.bb58-news-authority-categories__header,
.bb58-news-authority-trending__header,
.bb58-news-authority-searches__header {
	margin-bottom: 1.25rem;
}

.bb58-news-authority-categories__title,
.bb58-news-authority-trending__title,
.bb58-news-authority-searches__title {
	margin: 0 0 0.5rem;
	font-size: clamp(1.35rem, 2vw, 1.75rem);
	color: #fff;
}

.bb58-news-authority-categories__desc {
	margin: 0;
	max-width: 62ch;
	line-height: 1.65;
	color: color-mix(in srgb, var(--color-text) 75%, transparent);
}

.bb58-news-authority-categories__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
	gap: 0.85rem;
}

.bb58-news-authority-categories__card {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	padding: 1.1rem 1.15rem;
	border-radius: 16px;
	text-decoration: none;
	color: inherit;
	border-left: 3px solid var(--bb58-news-cat-accent, var(--color-primary));
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	min-height: 44px;
}

.bb58-news-authority-categories__card:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.bb58-news-authority-categories__label {
	font-weight: 700;
	color: #fff;
}

.bb58-news-authority-categories__desc {
	font-size: 0.84rem;
	line-height: 1.5;
	color: color-mix(in srgb, var(--color-text) 68%, transparent);
	flex: 1 1 auto;
}

.bb58-news-authority-categories__cta {
	margin-top: 0.35rem;
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--color-primary);
}

.bb58-news-authority-trending__chips,
.bb58-news-authority-searches__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
}

.bb58-news-authority-trending__chip,
.bb58-news-authority-searches__chip {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0.45rem 1rem;
	border-radius: 999px;
	border: 1px solid color-mix(in srgb, var(--color-primary) 22%, transparent);
	background: color-mix(in srgb, var(--color-primary) 8%, transparent);
	color: var(--color-text);
	text-decoration: none;
	font-size: 0.86rem;
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.bb58-news-authority-trending__chip:hover,
.bb58-news-authority-searches__chip:hover {
	background: color-mix(in srgb, var(--color-primary) 18%, transparent);
	border-color: var(--color-primary);
	transform: translateY(-1px);
}

.bb58-news-authority-trending__chip strong,
.bb58-news-authority-searches__chip strong {
	color: #fff;
	font-weight: 700;
}

.bb58-news-archive-seo__body h3.bb58-news-archive-seo__subheading {
	margin: 1.25rem 0 0.5rem;
	font-size: 1.05rem;
	font-weight: 700;
	color: color-mix(in srgb, var(--color-primary) 85%, #fff);
}
