.bh-news-archive {
	--bh-news-accent: var(--burgdorf-green, #00843d);
	width: 100%;
	background: #fff;
	color: var(--burgdorf-text, #151515);
}

.category-reckenschmiede .site-content > .ast-container,
.category-breitensport .site-content > .ast-container,
.bh-news-index-page .site-content > .ast-container {
	display: block;
	width: 100%;
	max-width: none;
	padding: 0;
}

.bh-news-archive__inner {
	width: calc(100% - clamp(32px, 4vw, 80px));
	max-width: none;
	margin-inline: auto;
}

.bh-news-archive__hero {
	position: relative;
	overflow: hidden;
	padding-block: clamp(28px, 3vw, 46px);
	background: var(--burgdorf-ink, #080b09);
	color: #fff;
}

.bh-news-archive__hero::after {
	position: absolute;
	inset: 0 0 0 auto;
	width: clamp(8px, 1.2vw, 20px);
	background: var(--bh-news-accent);
	content: "";
}

.bh-news-archive--green .bh-news-archive__hero {
	background: var(--burgdorf-green, #00843d);
}

.bh-news-archive--green .bh-news-archive__hero::after {
	background: #fff;
	opacity: 0.92;
}

.bh-news-archive__hero-inner {
	position: relative;
	z-index: 1;
}

.bh-news-archive__eyebrow {
	display: block;
	margin-bottom: 8px;
	color: #fff;
	font-family: inherit;
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.bh-news-archive__hero h1 {
	margin: 0;
	color: #fff;
	font-family: inherit;
	font-size: clamp(32px, 3.2vw, 52px);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.05;
	text-transform: none;
}

.bh-news-archive__hero p {
	max-width: 800px;
	margin: 10px 0 0;
	color: rgba(255, 255, 255, 0.82);
	font-family: inherit;
	font-size: clamp(14px, 1.15vw, 17px);
	font-weight: 400;
	line-height: 1.45;
}

.bh-news-archive__content {
	padding-block: clamp(28px, 4vw, 64px);
}

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

.bh-news-card {
	display: flex;
	min-width: 0;
	margin: 0;
	border: 1px solid rgba(0, 0, 0, 0.1);
	background: #fff;
	box-shadow: none;
	flex-direction: column;
}

/* Astra adds archive-card padding to category and posts-page requests. Keep
 * every news image flush with the top and both sides of its card. */
.bh-news-index-page .bh-news-card,
.category-reckenschmiede .bh-news-card,
.category-breitensport .bh-news-card {
	padding: 0;
}

.bh-news-card__media {
	display: block;
	overflow: hidden;
	width: 100%;
	margin: 0;
	padding: 0;
	aspect-ratio: 100 / 66;
	background: var(--burgdorf-ink, #080b09);
}

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

.bh-news-card__placeholder {
	display: grid;
	width: 100%;
	height: 100%;
	place-items: center;
	color: rgba(255, 255, 255, 0.22);
	font-family: inherit;
	font-size: clamp(70px, 8vw, 116px);
}

.bh-news-card__body {
	display: flex;
	padding: 15px;
	flex: 1;
	flex-direction: column;
}

.bh-news-card time {
	display: block;
	margin-top: 14px;
	color: var(--burgdorf-muted, #647067);
	font-family: inherit;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.2;
}

.bh-news-card h2 {
	margin: 10px 0 5px;
	font-family: inherit;
	font-size: 1.2em;
	font-weight: 700;
	letter-spacing: normal;
	line-height: 1.3;
}

.bh-news-card h2 a {
	color: var(--burgdorf-ink, #080b09);
	text-decoration: none;
}

.bh-news-card h2 a:hover,
.bh-news-card h2 a:focus-visible {
	color: var(--bh-news-accent);
}

.bh-news-card p {
	margin: 0;
	color: var(--burgdorf-text, #303133);
	font-family: inherit;
	font-size: 14px;
	line-height: 1.5;
}

.bh-news-card__link {
	display: inline-block;
	align-self: flex-start;
	margin-top: 8px;
	padding: 0;
	color: var(--bh-news-accent);
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: normal;
	text-decoration: none;
	text-transform: none;
}

.bh-news-archive .navigation.pagination {
	margin-top: clamp(42px, 6vw, 76px);
	text-align: center;
}

.bh-news-archive .nav-links,
.bh-news-archive .page-numbers {
	list-style: none;
}

.bh-news-archive .nav-links,
.bh-news-archive ul.page-numbers {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: clamp(42px, 6vw, 76px) 0 0;
	padding: 0;
}

.bh-news-archive .navigation.pagination .nav-links {
	margin-top: 0;
}

.bh-news-archive a.page-numbers,
.bh-news-archive span.page-numbers {
	display: inline-grid;
	min-width: 44px;
	min-height: 44px;
	padding: 9px 13px;
	border: 1px solid var(--burgdorf-ink, #080b09);
	background: #fff;
	color: var(--burgdorf-ink, #080b09);
	font-size: 13px;
	font-weight: 900;
	line-height: 1;
	place-items: center;
	text-decoration: none;
}

.bh-news-archive .page-numbers.current,
.bh-news-archive .page-numbers:hover,
.bh-news-archive .page-numbers:focus-visible {
	border-color: var(--bh-news-accent);
	background: var(--bh-news-accent);
	color: #fff;
}

.bh-news-archive__empty {
	padding: clamp(36px, 6vw, 72px);
	border-left: 8px solid var(--bh-news-accent);
	background: #f3f6f3;
}

.bh-news-archive__empty h2,
.bh-news-archive__empty p {
	margin: 0;
}

.bh-news-archive__empty p {
	margin-top: 8px;
	color: var(--burgdorf-muted, #647067);
}

@media (max-width: 980px) {
	.bh-news-archive__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.bh-news-archive__inner {
		width: calc(100% - 24px);
	}

	.bh-news-archive__hero {
		padding-block: 24px 28px;
	}

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

	.bh-news-card__body {
		padding: 15px;
	}
}
