.news-archive-container {
	display: flex;
	flex-direction: column;
	gap: 46px;
	margin-bottom: 130px;
}

.news-featured-container .news-card-link {
	display: flex;
}

.news-featured-container .news-card-image,
.featured-content{
	width: 50%;
}

.news-card-image img {
	width: 100%;
	height: 100%;
	aspect-ratio: 405 / 240;
	border-radius: 16px;
	object-fit: cover;
}

.news-card-link,
.news-grid article {
	border-radius: 16px;
	background-color: var(--brand250);
	text-decoration: auto;
	position: relative;
}

.featured-news-card .news-card-link {
	border: 1px solid var(--brand300);
	text-decoration: auto;
}

.featured-news-card .featured-badges {
	display: none;
}

.news-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 32px;
}

.featured-content {
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.news-card__text-box {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.news-card-date.featured-date {
	padding: 8px 14px;
	background-color: var(--brand100);
	color: var(--white);
	font-weight: 500;
	font-size: 16px;
	line-height: 20px;
	width: fit-content;
	border-radius: 4px;
}

.news-card-title {
	line-height: 150%;
	color: var(--brand100);
	font-weight: 700;
	font-size: 16px;
	line-height: 150%;
	margin: 0;
}

.news-card-title.featured-title {
	font-size: 24px;
}

.news-card-excerpt {
	font-weight: 400;
	font-size: 14px;
	line-height: 130%;
	color: var(--brand85);
}

.news-card-excerpt.featured-excerpt {
	line-height: 22px;
	font-size: 16px;
}

.news-card-button .btn {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 12px;
}

.news-card-button .btn .btn-img {
	-webkit-mask-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='9' height='17' viewBox='0 0 9 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M0.75 0.75L8.25 8.25L0.75 15.75' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");
	mask-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='9' height='17' viewBox='0 0 9 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M0.75 0.75L8.25 8.25L0.75 15.75' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");
	background-color: currentColor;
	display: block;
	width: 9px;
	height: 16px;
	background-repeat: no-repeat;
}

.news-grid .news-card-content {
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.news-card-date {
	width: fit-content;
	font-weight: 400;
	font-size: 12px;
	line-height: 20px;
	color: var(--brand100);
}

.load-more-btn {
	display: flex;
	gap: 12px;
	align-items: center;
}

.load-more__img {
	mask-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M6.75 10.5L9.75 13.5M9.75 13.5L12.75 10.5M9.75 13.5V6M18.75 9.75C18.75 10.9319 18.5172 12.1022 18.0649 13.1942C17.6126 14.2861 16.9497 15.2782 16.114 16.114C15.2782 16.9497 14.2861 17.6126 13.1942 18.0649C12.1022 18.5172 10.9319 18.75 9.75 18.75C8.5681 18.75 7.39778 18.5172 6.30585 18.0649C5.21392 17.6126 4.22177 16.9497 3.38604 16.114C2.55031 15.2782 1.88738 14.2861 1.43508 13.1942C0.982792 12.1022 0.75 10.9319 0.75 9.75C0.75 7.36305 1.69821 5.07387 3.38604 3.38604C5.07387 1.69821 7.36305 0.75 9.75 0.75C12.1369 0.75 14.4261 1.69821 16.114 3.38604C17.8018 5.07387 18.75 7.36305 18.75 9.75Z' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");
	mask-repeat: no-repeat;
	mask-position: center;
	mask-size: 20px 20px;
	background-color: currentColor;
	width: 20px;
	height: 20px;
	transition: .3s linear;
}

.news-load-more-wrapper {
	display: flex;
	width: calc(50% + 90px);
	justify-content: space-between;
	align-items: center;
}

.news-counter {
	font-weight: 500;
	font-size: 16px;
	line-height: 24px;
	color: var(--text);
}

/* Стили для бейджей */
.news-badges {
	position: absolute;
	top: 12px;
	left: 12px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	z-index: 2;
}

.news-badge {
	padding: 4px 8px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 500;
	line-height: 1;
	color: white;
	text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
	white-space: nowrap;
}

/* Позиционирование для карточки с изображением */
.news-card-image {
	position: relative;
}

@media(max-width: 1000px) {
	.news-card-title.featured-title {
		font-size: 16px;
	}

	.featured-content {
		gap: 16px;
	}

	.news-grid {
		grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
	}

	.news-card-excerpt.featured-excerpt {
		display: none;
	}

	.featured-news-card .news-card-image img {
		border-top-right-radius: 0;
		border-bottom-right-radius: 0;
	}

	.featured-content {
		padding: 22px 22px 22px 0;
		box-sizing: border-box;
	}

	.news-featured-container .news-card-link {
		gap: 16px;
	}

	.news-grid {
		gap: 16px;
	}

	.news-grid .news-card-image img {
		border-bottom-left-radius: 0;
		border-bottom-right-radius: 0;
	}
}

@media(max-width: 768px) {
	.news-archive-container {
		gap: 24px;
	}

	.news-grid {
		margin-top: 16px;
		grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	}

	.news-card-title.featured-title {
		display: -webkit-box;
		-webkit-line-clamp: 3;
		-webkit-box-orient: vertical;
		overflow: hidden;
		line-height: 1.4; 
	}

	.news-card-title,
	.news-card-excerpt {
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
		line-height: 1.4; 
	}

	.news-grid .news-card-content {
		gap: 16px;
	}
}

@media(max-width: 590px) {
	.news-featured-container .news-card-link {
		flex-direction: column;
	}

	.news-featured-container .news-card-image, 
	.featured-content {
		width: 100%;
	}

	.featured-news-card .news-card-image img {
		border-top-left-radius: 16px;
		border-top-right-radius: 16px;
		border-bottom-left-radius: 0;
		border-bottom-right-radius: 0;
	}

	.featured-content{
		padding: 16px;
	}

	.news-card-image img {
		aspect-ratio: 343 / 233;
	}

	.news-card-button .btn {
		width: 100%;
		justify-content: center;
		box-sizing: border-box;
	}

	.news-featured-container .news-card-link {
		gap: 0;
	}

	.news-grid {
		margin-top: 0;
	}

	.news-grid {
		grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	}

	.news-badges {
		display: none;
	}

	.news-grid .news-card-content {
		padding: 8px;
	}

	.news-grid .news-card-title {
		font-size: 14px;
	}

	.news-grid .news-card-content {
		gap: 8px;
	}

	.news-card-excerpt,
	.news-grid .news-card-date{
		font-size: 10px;
	}

	.news-load-more-wrapper {
		width: 100%;
	}

}

@media(max-width: 400px) {
	.news-grid {
		grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	}

	.news-load-more-wrapper {
		flex-wrap: wrap;
		gap: 10px;
		justify-content: center;
	}

	.load-more-container,
	.load-more-btn {
		width: 100%;
	}

	.load-more-btn {
		justify-content: center;
	}
}




