/* News archive & category — Figma 1410:5424 */

.bz-news-archive {
	padding: 24px 0 50px;
}

.bz-news-archive .bz-post__title {
	margin-bottom: 40px;
}

.bz-news-archive__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.bz-news-archive .bz-news-card {
	display: flex;
	flex-direction: column;
	min-height: 486px;
	height: 100%;
}

.bz-news-archive .bz-news-card__media {
	flex: 1 1 0;
	min-height: 280px;
}

.bz-news-archive .bz-news-card__body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	height: 160px;
	min-height: 160px;
	padding: 18px;
	flex-shrink: 0;
}

.bz-news-archive .bz-news-card__copy {
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	gap: 4px;
	min-height: 0;
	overflow: hidden;
}

.bz-news-archive .bz-news-card__title {
	flex-shrink: 0;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
	max-height: calc(1.2em * 2);
}

.bz-news-archive .bz-news-card__excerpt {
	flex: 1 1 0;
	min-height: 50px;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
}

.bz-news-archive__empty {
	margin: 0;
	font-family: var(--bz-font-inter);
	font-size: 16px;
	line-height: 1.2;
	color: var(--bz-black-50, rgba(0, 0, 0, 0.5));
}

.bz-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 24px;
	margin-top: 50px;
}

.bz-pagination__pages {
	display: flex;
	align-items: center;
	gap: 4px;
}

.bz-pagination__btn,
.bz-pagination__num {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 36px;
	background: var(--bz-black-5, rgba(0, 0, 0, 0.05));
	color: var(--bz-black);
	font-family: var(--bz-font-inter);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.bz-pagination__btn {
	width: 36px;
	padding: 0 6px 0 3px;
	flex-shrink: 0;
}

.bz-pagination__btn svg {
	display: block;
	width: 24px;
	height: 24px;
}

.bz-pagination__btn--next svg {
	transform: scaleX(-1);
}

.bz-pagination__btn--disabled {
	opacity: 0.4;
	pointer-events: none;
}

.bz-pagination__num {
	min-width: 36px;
	padding: 0 16px;
}

.bz-pagination__num--current {
	background: var(--bz-accent, #067756);
	color: var(--bz-white, #fff);
}

.bz-pagination__btn:hover,
.bz-pagination__btn:focus-visible,
.bz-pagination__num:hover,
.bz-pagination__num:focus-visible {
	background: rgba(0, 0, 0, 0.1);
}

.bz-pagination__num--current:hover,
.bz-pagination__num--current:focus-visible {
	background: var(--bz-accent, #067756);
	color: var(--bz-white, #fff);
}

.bz-pagination__dots {
	padding: 0 4px;
	font-family: var(--bz-font-inter);
	font-size: 16px;
	line-height: 1.2;
	color: var(--bz-black);
	white-space: nowrap;
}

@media (max-width: 1100px) {
	.bz-news-archive__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bz-news-archive .bz-news-card {
		min-height: 400px;
	}
}

@media (max-width: 768px) {
	.bz-news-archive .bz-post__title {
		font-size: 28px;
	}

	.bz-news-archive__grid {
		grid-template-columns: 1fr;
	}

	.bz-news-archive .bz-news-card {
		min-height: 320px;
	}

	.bz-news-archive .bz-news-card__body {
		height: 155px;
		min-height: 155px;
	}

	.bz-pagination {
		flex-wrap: wrap;
		gap: 12px;
	}
}
