

/* Start:/local/templates/nle/components/bitrix/news/retail_offers/bitrix/news.list/.default/style.css?17567373612415*/
/* Контейнер компонента */
.nl-wrapper {
	width: 100%;
	margin: 30px auto 60px;
}

/* Сетка карточек: flex-wrap с аккуратным зазором */
.nl-flex {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
}

/* 4 карточки в ряд на десктопе */
.nl-card {
	flex: 1 1 calc(25% - 40px);
	max-width: calc(25% - 40px);
	display: flex;
	flex-direction: column;
}
.nl-wrapper a,
.nl-wrapper a:hover
{
	color: var(--color-gray-darker2);
	text-decoration: none;
}

	/* Картинка фиксированного соотношения сторон 16:9 */
.nl-card__image {
	display: block;
	width: 100%;
	position: relative;
	overflow: hidden;
	border-radius: 7px;
	box-shadow: 0 2px 8px rgba(0,0,0,.05);
	transition: transform .2s ease, box-shadow .2s ease;
	aspect-ratio: 16 / 9; /* Современная и надёжная фиксация высоты */
}
.nl-card__image img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover; /* Баннеры аккуратно обрезаются */
}
.nl-card__image--placeholder {
	width: 100%;
	height: 100%;
	background: #f2f3f5;
}
.nl-card__image--darker{
	position: absolute;
	top:0;
	bottom: 0;
	left: 0;
	right: 0;
	background: #00000033;
	opacity: 0;
}

a:hover .nl-card__image .nl-card__image--darker{
	opacity: 1;
	transition: 0.2s;
}


.nl-card__date {
	margin-top: 12px;
	font-size: 14px;
	line-height: 1.4;
	color: var(--color-gray-darker); /* нейтрально-серый */
}


.nl-card__text {
	margin-top: 6px;
	font-size: 16px;
	line-height: 1.2;
	font-weight: 500;
	color: var(--color-gray-darker2);
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 2;       /* ограничение по строкам */
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Пагинация снизу */
.nl-pager {
	margin-top: 24px;
}

/* АДАПТИВ
   ------------------------------------------------------------------------- */
/* Планшеты: 2 карточки в ряд */
@media (max-width: 1199.98px) {
	.nl-card {
		flex: 1 1 calc(50% - 24px);
		max-width: calc(50% - 24px);
	}
}

/* Смартфоны: 1 карточка в ряд */
@media (max-width: 575px) {
	.nl-flex {
		gap: 30px;
	}
	.nl-card {
		flex: 1 1 100%;
		max-width: 100%;
	}
	.nl-card__date {
		font-size: 14px;
		margin-top: 10px;
	}
	.nl-card__text {
		font-size: 16px;
	}
}

/* End */
/* /local/templates/nle/components/bitrix/news/retail_offers/bitrix/news.list/.default/style.css?17567373612415 */
