

/* Start:/bitrix/templates/mfpoisk/components/bitrix/news/main_news/bitrix/news.detail/.default/style.css?177607506717960*/
/* main_news detail — МФ Поиск 2024 */

/* Серый фон всей области .content-wrapper (в т.ч. с .block_margin при скролле), как у .main-news-detail */
body.main_news_detail .content-wrapper {
	background-color: #fafafa;
}

body.main_news_detail .content-wrapper > .wrapper {
	background-color: #fafafa;
}

body.main_news_detail .content-wrapper > .wrapper .content {
	background-color: #fafafa;
}

.main-news-detail {
	--mnd-text: #2e302e;
	--mnd-text-muted: #939393;
	--mnd-accent-orange: #ee731a;
	--mnd-green: #25ce54;
	--mnd-bg-page: #fafafa;
	--mnd-bg-card: #fff;
	--mnd-border-pagin: #e7e7e8;
	--mnd-accent-secondary: #fcc065;
	box-sizing: border-box;
	color: var(--mnd-text);
	font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
	background: var(--mnd-bg-page);
}

.main-news-detail *,
.main-news-detail *::before,
.main-news-detail *::after {
	box-sizing: border-box;
}

.main-news-detail__inner {
	max-width: 1400px;
	margin: 0 auto;
	padding: 36px 10px 54px;
}

.main-news-detail__breadcrumb {
	font-size: 11px;
	line-height: 1.3;
	color: var(--mnd-text-muted);
	margin-bottom: 36px;
}

.main-news-detail__breadcrumb a {
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: border-color 0.15s ease, color 0.15s ease;
}

.main-news-detail__breadcrumb a:hover {
	color: var(--mnd-text);
	border-bottom-color: var(--mnd-text-muted);
}

.main-news-detail__breadcrumb-sep {
	margin: 0 6px;
}

/* Две колонки; высота сайдбара = .article-inner задаётся скриптом (десктоп) */
.main-news-detail__layout {
	display: grid;
	grid-template-columns: minmax(0, 950px) 400px;
	align-items: start;
	gap: 30px;
}

.main-news-detail__layout--single {
	grid-template-columns: minmax(0, 1fr);
}

.main-news-detail__layout--single .main-news-detail__article {
	max-width: none;
}

/* Левая колонка — статья */
.main-news-detail__article {
	min-width: 0;
}

.main-news-detail__article-inner {
	background: var(--mnd-bg-card);
	border-radius: 18px;
	padding: 30px;
}

.main-news-detail__head-row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
	flex-wrap: wrap;
}

.main-news-detail__category {
	margin: 0;
	font-size: 12px;
	line-height: 1.2;
	color: var(--mnd-accent-orange);
}

.main-news-detail__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px;
	font-size: 12px;
	color: var(--mnd-text-muted);
}

.main-news-detail__meta-item {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.main-news-detail__meta-icon {
	display: flex;
	color: var(--mnd-text-muted);
}

.main-news-detail__meta-icon svg {
	display: block;
}

.main-news-detail__title {
	margin: 0 0 12px;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--mnd-text);
}

.main-news-detail__lead {
	margin: 0 0 30px;
	font-size: 16px;
	line-height: 1.45;
	color: var(--mnd-text);
}

/* На десктопе фото анонса скрыто (используется только для мобильной версии) */
.main-news-detail__preview-figure {
	display: none;
}

.main-news-detail__figure {
	margin: 0 0 30px;
	border-radius: 18px;
	overflow: hidden;
	aspect-ratio: 940 / 550;
	background: #ececec;
}

.main-news-detail__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.main-news-detail__body {
	font-size: 14px;
	line-height: 1.55;
	color: var(--mnd-text);
}

.main-news-detail__body--text {
	margin-bottom: 30px;
}

.main-news-detail__body--text p {
	margin: 0 0 1em;
}

.main-news-detail__body--text p:last-child {
	margin-bottom: 0;
}

.main-news-detail__pager {
	margin: 16px 0;
}

/* Блок «Товары из новости»: карусель целиком внутри .main-news-detail__article-inner (без 100vw) */
.main-news-detail__article-inner .main-news-detail__together.together {
	margin: 38px 0 8px !important;
	max-width: 100%;
	min-width: 0;
}

.main-news-detail__together .header-2 {
	margin: 0 0 18px;
	text-transform: none !important;
	font-variant: normal;
}

/* Внешний контейнер = ширина белой карточки; не растягивать по контенту (иначе нет overflow и стрелки скрыты) */
.main-news-detail__together .main-news-detail__items-newsitems,
.main-news-detail__together #newsitems {
	position: relative;
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 0;
	min-height: 320px;
	height: auto;
	overflow: hidden;
	box-sizing: border-box;
}

.main-news-detail__together #newsitems article {
	float: none;
}

.main-news-detail__together .news_karusel {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: flex-start;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	min-height: 380px;
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: none;
	-ms-overflow-style: none;
	-webkit-overflow-scrolling: touch;
}

.main-news-detail__together .news_karusel::-webkit-scrollbar {
	display: none;
}

.main-news-detail__together article.newsitems-card .image {
	width: 187px;
}

.main-news-detail__together article.newsitems-card {
	width: 228px;
	flex: 0 0 228px;
	min-width: 228px;
}

.main-news-detail__together article.newsitems-card .wrap {
	padding-left: 0;
	padding-right: 57px;
}

.main-news-detail__together .newsitems_arrow {
	position: absolute;
	z-index: 10;
	top: 75px;
	height: 50px;
	width: 50px;
	cursor: pointer;
}

.main-news-detail__together #right-newsitems {
	right: 4px;
	background: url(/production/holiday/images/menu_left_botton.png) 0 no-repeat;
}

.main-news-detail__together #right-newsitems a {
	display: block;
	height: 50px;
	width: 50px;
}

.main-news-detail__together #left-newsitems {
	left: 4px;
	background: url(/production/holiday/images/menu_right_botton.png) 0 no-repeat;
}

.main-news-detail__together #left-newsitems a {
	display: block;
	height: 50px;
	width: 50px;
}

.main-news-detail__together .addbasketbtn {
	padding: 7px 15px 7px !important;
	color: #fff !important;
	font-family: "Century Gothic", CenturyGothic, sans-serif;
	font-size: 11px !important;
	font-style: normal !important;
	font-weight: 400 !important;
	line-height: 24px !important;
}

.main-news-detail__together .name {
	height: 40px;
	overflow: hidden;
}

@media only screen and (max-width: 860px) {
	.main-news-detail__together .news_karusel {
		padding: 0;
	}

	.main-news-detail__together .newsitems_arrow {
		display: none;
	}
}

@media only screen and (max-width: 720px) {
	.main-news-detail__together.together {
		margin: 24px 0 0 !important;
	}

	.main-news-detail__together #newsitems {
		min-height: 300px;
		margin: 0;
		width: 100%;
		max-width: 100%;
	}

	.main-news-detail__together .news_karusel {
		padding: 0;
		min-height: 360px;
	}

	.main-news-detail__together .news_karusel article:first-child {
		margin-left: 4px;
	}

	.main-news-detail__together .newsitems_arrow,
	.main-news-detail__together .showed_arrow {
		display: none !important;
	}
}

/* CTA */
.main-news-detail__cta {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 12px 24px;
	padding: 30px;
	margin-bottom: 30px;
	background: var(--mnd-bg-page);
	border-radius: 18px;
}

.main-news-detail__cta-text {
	flex: 1 1 280px;
	min-width: 0;
}

.main-news-detail__cta-title {
	margin: 0 0 12px;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.25;
}

.main-news-detail__cta-desc {
	margin: 0;
	font-size: 14px;
	line-height: 1.45;
}

.main-news-detail__cta-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	flex-shrink: 0;
	padding: 8px 16px;
	border: 1px solid var(--mnd-text);
	border-radius: 4px;
	font-size: 14px;
	color: var(--mnd-text);
	text-decoration: none;
	background: #fff;
	transition: background 0.15s ease;
}

.main-news-detail__cta-btn:hover {
	background: rgba(46, 48, 46, 0.05);
}

.main-news-detail__cta-btn-icon {
	display: flex;
	line-height: 0;
}

/* Шаринг */
.main-news-detail__share {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	align-items: center;
}

.main-news-detail__share-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: none;
	border-radius: 10px;
	background: var(--mnd-bg-page);
	cursor: pointer;
	text-decoration: none;
	color: var(--mnd-text);
	transition: opacity 0.15s ease;
}

.main-news-detail__share-btn:hover {
	opacity: 0.85;
}

.main-news-detail__share-ico {
	display: block;
	width: 22px;
	height: 22px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	opacity: 0.85;
}

.main-news-detail__share-ico--vk {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232e302e'%3E%3Cpath d='M15.684 0H8.316C1.592 0 0 1.592 0 8.316v7.368C0 22.408 1.592 24 8.316 24h7.368C22.408 24 24 22.408 24 15.684V8.316C24 1.592 22.391 0 15.684 0zm3.692 17.123h-1.744c-.66 0-.864-.525-2.05-1.727-1.033-1-1.49-1.135-1.744-1.135-.356 0-.458.102-.458.593v1.575c0 .424-.135.678-1.253.678-1.846 0-3.896-1.118-5.335-3.202C4.624 10.857 4 8.57 4 8.068c0-.254.102-.491.593-.491h1.744c.44 0 .61.203.78.678.863 2.491 2.303 4.675 2.896 4.675.22 0 .322-.102.322-.66V9.721c-.068-1.186-.695-1.287-.695-1.71 0-.203.17-.407.44-.407h2.744c.373 0 .508.203.508.643v4.675c0 .372.17.508.271.508.22 0 .407-.136.813-.542 1.253-1.406 2.15-3.574 2.15-3.574.119-.254.322-.491.763-.491h1.744c.525 0 .644.27.525.643-.203.966-2.177 3.792-2.177 3.792-.203.339-.271.508 0 .847.152.203.66.593 1.05.958.66.593 1.169 1.084 1.304 1.406.17.407-.085.611-.576.611z'/%3E%3C/svg%3E");
}

.main-news-detail__share-ico--tg {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232e302e'%3E%3Cpath d='M11.944 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0a12 12 0 0 0-.056 0zm4.962 7.224c.1-.002.321.023.465.14a.506.506 0 0 1 .171.325c.016.093.036.306.02.472-.18 1.898-.962 6.502-1.36 8.627-.168.9-.499 1.201-.82 1.23-.696.065-1.225-.46-1.9-.902-1.056-.693-1.653-1.124-2.678-1.8-1.185-.78-.417-1.21.258-1.91.177-.184 3.247-2.977 3.307-3.23.007-.032.014-.15-.056-.212s-.174-.041-.249-.024c-.106.024-1.793 1.14-5.061 3.345-.48.33-.913.49-1.302.48-.428-.008-1.252-.241-1.865-.44-.752-.245-1.349-.374-1.297-.789.027-.216.325-.437.893-.663 3.498-1.524 5.83-2.529 6.998-3.014 3.332-1.386 4.025-1.627 4.476-1.635z'/%3E%3C/svg%3E");
}

.main-news-detail__share-ico--link {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath fill='%232E302E' d='M7.99987 14.0402L6.58387 15.4162C6.21257 15.7875 5.70897 15.9961 5.18387 15.9961C4.65877 15.9961 4.15517 15.7875 3.78387 15.4162C3.41257 15.0449 3.20397 14.5413 3.20397 14.0162C3.20397 13.4911 3.41257 12.9875 3.78387 12.6162L7.41587 8.97617C7.77236 8.61853 8.25269 8.4116 8.75748 8.39819C9.26228 8.38479 9.75291 8.56595 10.1279 8.90417L10.2239 8.98417C10.3756 9.13269 10.5801 9.21487 10.7924 9.21262C11.0046 9.21037 11.2073 9.12388 11.3559 8.97217C11.5044 8.82047 11.5866 8.61598 11.5843 8.40369C11.5821 8.1914 11.4956 7.98869 11.3439 7.84017C11.2987 7.78179 11.2507 7.72572 11.1999 7.67217C10.517 7.07802 9.63374 6.76565 8.72912 6.79833C7.82451 6.83101 6.96614 7.2063 6.32787 7.84817L2.64787 11.4882C2.02255 12.1688 1.68437 13.0647 1.70393 13.9888C1.72349 14.9128 2.09929 15.7936 2.75286 16.4472C3.40642 17.1007 4.2872 17.4766 5.21127 17.4961C6.13533 17.5157 7.03123 17.1775 7.71187 16.5522L9.09587 15.2002C9.23252 15.0511 9.30764 14.8558 9.30612 14.6536C9.30459 14.4513 9.22653 14.2572 9.08764 14.1102C8.94875 13.9632 8.75934 13.8742 8.55752 13.8613C8.35571 13.8483 8.15646 13.9122 7.99987 14.0402ZM16.5519 2.64817C15.8789 1.97938 14.9686 1.604 14.0199 1.604C13.0711 1.604 12.1608 1.97938 11.4879 2.64817L10.1039 4.00017C9.96722 4.14925 9.8921 4.34456 9.89362 4.54679C9.89515 4.74902 9.97321 4.94316 10.1121 5.09016C10.251 5.23716 10.4404 5.3261 10.6422 5.33909C10.844 5.35208 11.0433 5.28815 11.1999 5.16017L12.5839 3.78417C12.9552 3.41287 13.4588 3.20427 13.9839 3.20427C14.509 3.20427 15.0126 3.41287 15.3839 3.78417C15.7552 4.15548 15.9638 4.65907 15.9638 5.18417C15.9638 5.70928 15.7552 6.21287 15.3839 6.58417L11.7519 10.2242C11.3954 10.5818 10.9151 10.7888 10.4103 10.8022C9.90547 10.8156 9.41483 10.6344 9.03987 10.2962L8.94387 10.2162C8.79217 10.0677 8.58768 9.98548 8.37539 9.98773C8.16309 9.98998 7.96039 10.0765 7.81187 10.2282C7.66335 10.3799 7.58117 10.5844 7.58342 10.7967C7.58567 11.0089 7.67217 11.2117 7.82387 11.3602C7.88198 11.4196 7.94341 11.4757 8.00787 11.5282C8.69161 12.1205 9.57445 12.4317 10.4785 12.3991C11.3826 12.3664 12.2407 11.9923 12.8799 11.3522L16.5199 7.71217C17.1929 7.04343 17.5741 6.13556 17.5801 5.18677C17.5861 4.23799 17.2164 3.32537 16.5519 2.64817Z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px 20px;
}

/* Сайдбар (перебивает общий .content-wrapper > .wrapper aside из style.css) */
body.main_news_detail .content-wrapper .main-news-detail__sidebar,
.main-news-detail__sidebar {
	width: 100%;
	max-width: 100%;
	min-height: 0;
	min-width: 0;
	background: var(--mnd-bg-card);
	border-radius: 18px;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	float: none;
}

.main-news-detail__sidebar-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 30px 30px 0;
	gap: 16px;
	flex-shrink: 0;
}

.main-news-detail__sidebar-title {
	margin: 0;
	font-size: 16px;
	font-weight: 400;
	color: var(--mnd-text);
}

.main-news-detail__sidebar-nav {
	display: flex;
	gap: 16px;
}

.main-news-detail__sidebar-arrow {
	width: 34px;
	height: 34px;
	padding: 0;
	border: 1px solid var(--mnd-border-pagin);
	border-radius: 50%;
	background: #fff;
	cursor: pointer;
	position: relative;
	flex-shrink: 0;
}

.main-news-detail__sidebar-arrow::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 8px;
	height: 8px;
	border-right: 2px solid var(--mnd-text);
	border-bottom: 2px solid var(--mnd-text);
	transform: translate(-50%, -55%) rotate(-135deg);
}

.main-news-detail__sidebar-arrow--down::after {
	transform: translate(-50%, -45%) rotate(45deg);
}

.main-news-detail__sidebar-arrow:disabled,
.main-news-detail__sidebar-arrow[aria-disabled="true"] {
	opacity: 0.35;
	cursor: default;
	pointer-events: none;
}

/* Лента: без полосы прокрутки и без ручного скролла — только кнопки (см. script.js) */
.main-news-detail__sidebar-scroll {
	position: relative;
	flex: 1 1 auto;
	min-height: 0;
	overflow-x: hidden;
	overflow-y: auto;
	padding: 30px;
	overscroll-behavior: contain;
	scrollbar-width: none;
	-ms-overflow-style: none;
	touch-action: none;
}

.main-news-detail__sidebar-scroll::-webkit-scrollbar {
	display: none;
	width: 0;
	height: 0;
}

.main-news-detail__feed-item {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	padding: 0 0 24px;
	margin-bottom: 24px;
	border-bottom: 1px solid rgba(46, 48, 46, 0.08);
	text-decoration: none;
	color: inherit;
	transition: opacity 0.15s ease;
}

.main-news-detail__feed-item:last-child {
	border-bottom: 0;
	margin-bottom: 0;
	padding-bottom: 0;
}

.main-news-detail__feed-item:hover {
	opacity: 0.88;
}

/* Активная новость — полоска как в Figma: accent_secondary #fcc065 */
.main-news-detail__feed-item--current {
	border-left: 4px solid var(--mnd-accent-secondary);
	padding-left: 26px;
	margin-left: -30px;
}

/* Лента: 1 строка заголовок, 2 строки анонс */
.main-news-detail__feed-title {
	display: block;
	width: 100%;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	min-height: 1.3em;
}

.main-news-detail__feed-text {
	font-size: 14px;
	line-height: 1.45;
	color: var(--mnd-text);
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	word-break: break-word;
	min-height: calc(1.45em * 2);
}

.main-news-detail__feed-date {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	color: var(--mnd-text-muted);
}

/* Мобильная */
@media (max-width: 1100px) {
	.main-news-detail__layout {
		grid-template-columns: 1fr;
	}

	.main-news-detail__article {
		max-width: none;
	}

	.main-news-detail__sidebar {
		width: 100%;
		height: auto !important;
		min-height: 0;
	}

	.main-news-detail__sidebar-scroll {
		max-height: min(480px, 70vh);
		touch-action: auto;
	}
}

@media (max-width: 767px) {
	.main-news-detail__breadcrumb {
		display: none;
	}

	.main-news-detail__inner {
		padding: 0px 16px 40px;
	}

	.main-news-detail__article-inner {
		padding: 0;
	}

	/* Мобильная Figma: сначала фото анонса; детального фото/CTA нет */
	.main-news-detail__preview-figure {
		display: block;
		position: relative;
		height: 200px;
		margin: 0 -16px 20px -16px;
		border-radius: 18px;
		overflow: hidden;
		background: #ececec;
		text-decoration: none;
	}

	.main-news-detail__preview-image {
		display: block;
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.main-news-detail__figure {
		display: none;
	}

	.main-news-detail__cta {
		display: none;
	}

	.main-news-detail__title {
		font-size: 20px;
	}

	.main-news-detail__figure {
		aspect-ratio: 16 / 10;
	}

	.main-news-detail__cta {
		padding: 20px;
		flex-direction: column;
	}

	.main-news-detail__cta-btn {
		width: 100%;
	}

	.main-news-detail__sidebar-header {
		padding: 20px 20px 0;
	}

	.main-news-detail__sidebar-scroll {
		padding: 20px;
	}

	.main-news-detail__feed-item--current {
		margin-left: -20px;
		padding-left: 16px;
	}
}

/* End */
/* /bitrix/templates/mfpoisk/components/bitrix/news/main_news/bitrix/news.detail/.default/style.css?177607506717960 */
