

/* Start:/local/templates/eshop_bootstrap_v4/components/bitrix/news.list/bootstrap_v4/style.css?17798429045191*/
/* Шаблон news.list / bootstrap_v4: страница /news/ — сетка карточек 4×N + «Показать ещё».
 * Все размеры/отступы по спецификации; стиль кнопки «Показать ещё» — копия .lf-catalog-show-more-rows-*
 * под локальным префиксом .lf-news-show-more-*, чтобы новости не зависели от стилей каталога. */

.lf-news-list {
	width: 100%;
	/* Воздух перед футером — больше на десктопе, меньше на мобилке */
	padding-bottom: clamp(48px, 7vw, 96px);
}

.lf-news-list__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	row-gap: 24px;
	column-gap: 24px;
}

@media (max-width: 1399.98px) {
	.lf-news-list__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

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

@media (max-width: 479px) {
	.lf-news-list__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

.lf-news-list__item {
	display: flex;
	flex-direction: column;
	margin: 0;
}

.lf-news-list__item[hidden] {
	display: none !important;
}

/* Фото — 4:3, обрезка по cover, скруглённые углы */
.lf-news-list__img-link {
	display: block;
	margin: 0;
	line-height: 0;
	text-decoration: none;
}

.lf-news-list__img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	border-radius: 12px;
	background: #f3f4f6;
}

/* Заголовок — Rubik 500 18px, отступ 16px от фото */
.lf-news-list__title {
	margin: 16px 0 0;
	font-family: "Rubik", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-weight: 500;
	font-size: 18px;
	line-height: 1.3;
	color: #404042;
}

.lf-news-list__title a {
	color: inherit;
	text-decoration: none;
}

.lf-news-list__title a:hover {
	color: #0a0a0a;
}

/* Дата + время — Rubik 400 14px, цвет Gunmental_Basic_30 (#404042 @ 30% = #4040424D).
 * Два отдельных span'а с gap 8px между датой и временем (как в Figma). */
.lf-news-list__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 4px 0 0;
	font-family: "Rubik", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-weight: 400;
	font-size: 14px;
	line-height: 20px;
	color: #4040424D;
}

/* Анонс — Rubik 400 16px, максимум 3 строки с многоточием, отступ 16px от даты */
.lf-news-list__text {
	margin: 16px 0 0;
	font-family: "Rubik", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 1.5;
	color: #0a0a0a;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* «Читать далее» — Rubik 400 16px, отступ 16px от текста, подчёркнуто */
.lf-news-list__more {
	align-self: flex-start;
	margin: 16px 0 0;
	font-family: "Rubik", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 1.3;
	color: #0a0a0a;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.lf-news-list__more:hover {
	color: #404042;
}

/* ───────── Кнопка «Показать ещё» / «Скрыть» ─────────
 * Копия визуала из .lf-catalog-show-more-rows-* (lf-catalog-pages.css) под собственным префиксом. */

.lf-news-show-more-wrap {
	display: flex;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	margin: 56px 0 0;
}

.lf-news-show-more-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	box-sizing: border-box;
	margin: 0;
	padding: 10px 20px;
	min-height: 44px;
	font-family: "Rubik", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.25;
	color: #000;
	text-align: center;
	white-space: nowrap;
	background: #fff;
	border: 1px solid #000;
	border-radius: 8px;
	cursor: pointer;
	transition:
		background-color 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease,
		box-shadow 0.2s ease;
	box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.lf-news-show-more-btn:hover {
	background: #f4f4f4;
	color: #000;
	border-color: #000;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.lf-news-show-more-btn:focus {
	outline: none;
}

.lf-news-show-more-btn:focus-visible {
	outline: 2px solid #000;
	outline-offset: 2px;
}

.lf-news-show-more-btn:active {
	background: #ebebeb;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.lf-news-show-more__icon {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0;
	line-height: 0;
	color: #000;
	transition: transform 0.2s ease;
}

.lf-news-show-more__icon svg {
	display: block;
	width: 12px;
	height: 18px;
}

/* «Скрыть» — тот же SVG, поворот на 180° */
.lf-news-show-more-btn--expanded .lf-news-show-more__icon {
	transform: rotate(180deg);
	transform-origin: 50% 50%;
}

/* End */
/* /local/templates/eshop_bootstrap_v4/components/bitrix/news.list/bootstrap_v4/style.css?17798429045191 */
