

/* Start:/local/templates/eshop_bootstrap_v4/components/bitrix/news.detail/bootstrap_v4/style.css?17798429044016*/
/* Детальная страница новости — стили по макету.
 * Структура: фото (DETAIL_PICTURE) → заголовок (Lato 400 40px) → дата+время → текст (Rubik 400 16px). */

/* Скрываем H1 в блоке крошек — на детальной странице заголовок выводится в теле шаблона ниже фото */
body:has(.news-detail) .lf-after-header__title {
	display: none !important;
}

/* Центрируем контент с равными отступами по бокам */
.news-detail {
	max-width: 860px;
	margin-left: auto;
	margin-right: auto;
}

/* Убираем дефолтные Bootstrap-отступы на обёртках шаблона */
.news-detail > .mb-3 {
	margin-bottom: 0 !important;
}

/* ───── Фото ───── */
.news-detail-img {
	margin-top: 20px;
	margin-bottom: 32px !important; /* перебиваем .mb-5 = 48px → 32px (до заголовка) */
}

.news-detail-img .card-img-top {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 12px;
}

/* ───── Заголовок ───── */
.news-detail-title {
	margin: 0 !important;
	font-family: 'Lato', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-synthesis: none;
	font-weight: 400;
	font-size: 40px;
	line-height: 1.2;
	color: #404042;
}

/* ───── Дата + время (тот же визуал, что на листинге новостей) ───── */
.news-detail-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 8px 0 0;
	font-family: "Rubik", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-weight: 400;
	font-size: 14px;
	line-height: 20px;
	color: #4040424D;
}

/* ───── Текст новости ───── */
.news-detail-content {
	margin-top: 32px;
	font-family: "Rubik", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 1.5;
	color: #0a0a0a;
}

.news-detail-content p {
	margin: 0 0 24px;
}

.news-detail-content p:last-child {
	margin-bottom: 0;
}

.news-detail-content ul,
.news-detail-content ol {
	margin: 0 0 24px;
	padding-left: 24px;
}

.news-detail-content ul:last-child,
.news-detail-content ol:last-child {
	margin-bottom: 0;
}

.news-detail-content li {
	margin-bottom: 6px;
}

.news-detail-content li:last-child {
	margin-bottom: 0;
}

/* ───── «Возврат к списку» — стилизован как «Читать далее» на листинге ───── */
.lf-news-detail-back {
	max-width: 860px;
	margin: 32px auto 0;
	padding-bottom: clamp(48px, 7vw, 96px);
}

.lf-news-detail-back a {
	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-detail-back a:hover {
	color: #404042;
}

/* Скрываем стоковые поля/свойства/рейтинг/шару, чтобы не мешали чистому макету */
.news-detail-view,
.news-detail-date,
.news-detail-tags,
.news-detail-author,
.news-detail-other,
.news-detail-comments {
	display: none;
}

/* Слайдер/видео/аудио — оставляем стоковые стили, только скругляем */
.news-detail-slider,
.news-detail-youtube,
.news-detail-audio {
	margin-bottom: 32px !important;
	border-radius: 12px;
	overflow: hidden;
}

/* ───── Адаптив ───── */
@media (max-width: 991px) {
	.news-detail-title {
		font-size: 34px;
	}
}

@media (max-width: 767px) {
	.news-detail-img {
		margin-top: 12px;
		margin-bottom: 24px !important;
	}

	.news-detail-title {
		font-size: 28px;
	}

	.news-detail-content {
		margin-top: 24px;
	}
}

@media (max-width: 479px) {
	.news-detail-title {
		font-size: 24px;
	}

	.news-detail-content {
		font-size: 15px;
	}
}

/* End */
/* /local/templates/eshop_bootstrap_v4/components/bitrix/news.detail/bootstrap_v4/style.css?17798429044016 */
