

/* Start:/local/templates/luxmetall/components/bitrix/news/news/bitrix/news.detail/new/style.css?179612555119042*/
/* ==========================================================================
   Статья (bitrix:news.detail): мета-строка, форма заявки, «Читайте также»,
   «Вопрос-ответ», карточка автора.

   Все правила завязаны на корневой класс .rt-article, остальная вёрстка сайта
   не затрагивается. Цвета и декоративный шрифт вынесены в переменные — их
   достаточно переопределить один раз, чтобы блоки подстроились под шаблон.
   ========================================================================== */

.rt-article {
	/* палитра сайта (совпадает с шаблоном luxmetall) */
	--rt-ink: #111;               /* основной текст */
	--rt-soft: #6d6d6d;           /* вторичный текст (специализация автора) */
	--rt-muted: #8b8b8b;          /* подписи, согласие на обработку данных */
	--rt-accent: #dbad78;         /* золото из макета: подписи, кнопка, точки */
	--rt-link: #bc8b53;           /* золото ссылок сайта */
	--rt-accent-hover: #c4914e;   /* золото при наведении */
	--rt-accent-line: #dcbd99;    /* обводка поля ввода */
	--rt-cream: #fffbf6;          /* фон формы */
	--rt-line: #e0e0e0;           /* разделители */
	--rt-shadow: 0 10px 34px rgba(43, 33, 24, .10);

	/* декоративный шрифт заголовков сайта */
	--rt-font-accent: 'Caslon Becker No540', 'Monotype Corsiva', cursive;

	/* отступ, на который блок «Читайте также» выпускается за край контейнера
	   на мобильном (для эффекта карусели). Поставьте 0, если не нужно. */
	--rt-bleed: 0px;

	color: var(--rt-ink);
	font-size: 16px;
	line-height: 1.6;
}

.rt-article *,
.rt-article *::before,
.rt-article *::after {
	box-sizing: border-box;
}

.rt-article img {
	max-width: 100%;
	height: auto;
}

/* --------------------------------------------------------------------------
   1. Мета-строка: автор / дата / время чтения / просмотры
   -------------------------------------------------------------------------- */

.rt-meta {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 16px;
	row-gap: 16px;
	margin: 26px 0;
}

.rt-meta__item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	min-width: 0;
}

.rt-meta__icon {
	flex: 0 0 26px;
	width: 26px;
	height: 26px;
	margin-top: 2px;
	color: var(--rt-ink);
}

.rt-meta__icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

.rt-meta__text {
	display: flex;
	flex-direction: column;
	gap: 1px;
	min-width: 0;
}

.rt-meta__label {
	font-size: 14px;
	line-height: 1.15;
	color: var(--rt-accent);
}

.rt-meta__value {
	font-size: 15px;
	line-height: 1.3;
	color: var(--rt-ink);
}

@media (min-width: 768px) {
	.rt-meta {
		grid-template-columns: repeat(4, max-content);
		column-gap: 64px;
		row-gap: 20px;
		margin-bottom: 28px;
        margin-top: 28px;
	}

	.rt-meta__value {
		font-size: 16px;
		white-space: nowrap;
	}
}

/* --------------------------------------------------------------------------
   2. Анонс, главная картинка и текст статьи
   -------------------------------------------------------------------------- */

.rt-article__lead {
	margin: 0 0 24px;
}

.rt-article__lead > :last-child {
	margin-bottom: 0;
}

.rt-article__picture {
	display: block;
	margin: 0 0 30px;
	overflow: hidden;
	background: #f3efe9;
}

.rt-article__picture img {
	display: block;
	width: 100%;
}

/* Текст статьи приходит из DETAIL_TEXT. Стили ограничены прямыми потомками,
   чтобы не задевать разметку блоков, вставленных внутрь текста. */
.rt-article__text > p {
	margin: 0 0 20px;
}

.rt-article__text > h2 {
	margin: 42px 0 18px;
}

.rt-article__text > h3 {
	margin: 32px 0 14px;
}

.rt-article__text > ul,
.rt-article__text > ol {
	margin: 0 0 20px;
	padding-left: 24px;
}

.rt-article__text > ul > li,
.rt-article__text > ol > li {
	margin-bottom: 6px;
}

.rt-article__text > *:first-child {
	margin-top: 0;
}

.rt-article__text img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 28px 0;
}

.rt-article__text a {
	color: var(--rt-link);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.rt-article__text a:hover {
	color: var(--rt-accent-hover);
}

.rt-article__text blockquote {
	margin: 26px 0;
	padding: 4px 0 4px 22px;
	border-left: 3px solid var(--rt-accent);
	color: var(--rt-soft);
}

.rt-article__text table {
	width: 100%;
	margin: 0 0 24px;
	border-collapse: collapse;
	font-size: 15px;
}

.rt-article__text th,
.rt-article__text td {
	padding: 10px 12px;
	border: 1px solid var(--rt-line);
	text-align: left;
	vertical-align: top;
}

@media (min-width: 768px) {
	.rt-article__text > h2 {
		margin: 52px 0 20px;
	}

	.rt-article__text > p {
		margin-bottom: 22px;
	}
}

/* --------------------------------------------------------------------------
   3. Форма заявки (вставляется в текст статьи)
   -------------------------------------------------------------------------- */

.rt-callback {
	position: relative;
	display: flex;
	flex-direction: column;
	margin: 40px 0 48px;
	background: var(--rt-cream);
	overflow: hidden;
}

.rt-callback__media {
	order: -1;
	position: relative;
	height: 200px;
	overflow: hidden;
	background: #efe8de;
}

.rt-callback__media img {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: cover;
}

.rt-callback__body {
	padding: 26px 22px 30px;
}

.rt-callback__title {
	margin: 0 0 20px;
	font-family: var(--rt-font-accent);
	font-size: 26px;
	font-style: italic;
	font-weight: 400;
	line-height: 1.1;
	letter-spacing: .4px;
	color: var(--rt-ink);
}

.rt-callback__form {
	display: flex;
    flex-wrap: wrap;
	flex-direction: column;
	gap: 10px;
	margin: 0;
}
/* Всё, что не поле и не кнопка (капча, сообщение об ошибке), занимает
   отдельную строку под ними — и на мобильном, и на десктопе. */
.rt-callback__form > :not(.rt-callback__field):not(.rt-callback__btn):not(img):not(input) {
	flex: 0 0 100%;
	max-width: 100%;
}
.rt-callback__field {
	min-width: 0;
}

.rt-callback__input {
	width: 100%;
	height: 48px;
	padding: 0 22px;
	border: 1px solid var(--rt-accent-line);
	border-radius: 999px;
	background: #fff;
	font: inherit;
	font-size: 16px;
	color: var(--rt-ink);
	-webkit-appearance: none;
	appearance: none;
	transition: border-color .2s ease;
}

.rt-callback__input::placeholder {
	color: #4a443d;
	opacity: 1;
}

.rt-callback__input:hover {
	border-color: var(--rt-accent);
}

.rt-callback__input:focus {
	outline: none;
	border-color: var(--rt-accent);
	box-shadow: 0 0 0 3px rgba(219, 173, 120, .22);
}

.rt-callback__input.is-invalid {
	border-color: #c0392b;
}

.rt-callback__btn {
	height: 48px;
	padding: 0 28px;
	border: 0;
	border-radius: 999px;
	background: var(--rt-accent);
	color: #fff;
	font: inherit;
	font-size: 16px;
	line-height: 1;
	cursor: pointer;
	transition: background-color .2s ease, opacity .2s ease;
}

.rt-callback__btn:hover {
	background: var(--rt-accent-hover);
}

.rt-callback__btn:focus-visible {
	outline: 2px solid var(--rt-ink);
	outline-offset: 3px;
}

.rt-callback__btn[disabled] {
	opacity: .65;
	cursor: default;
}

.rt-callback__note {
	margin: 18px 0 0;
	max-width: 480px;
	font-size: 14px;
	line-height: 1.45;
	color: var(--rt-muted);
}

.rt-callback__note a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.rt-callback__note a:hover {
	color: var(--rt-link);
}

.rt-callback__status {
	display: none;
	margin: 2px 0 0;
	font-size: 14px;
	line-height: 1.4;
}

.rt-callback__status.is-error {
	display: block;
	color: #b3352a;
}

.rt-callback__done {
	display: none;
	margin: 18px 0 0;
	max-width: 460px;
	font-size: 16px;
	line-height: 1.5;
}

.rt-callback.is-sent .rt-callback__form,
.rt-callback.is-sent .rt-callback__note,
.rt-callback.is-sent .rt-callback__status {
	display: none;
}

.rt-callback.is-sent .rt-callback__done {
	display: block;
}
/* --------------------------------------------------------------------------
   Капча. Любая разметка внутри формы уходит на отдельную строку под полем и
   кнопкой (правило выше). Ниже — косметика под распространённые варианты.
   -------------------------------------------------------------------------- */
.rt-callback__captcha {
	margin: 2px 0 0;
	max-width: 100%;
}
.rt-callback__captcha > div,
.rt-callback__captcha iframe,
.rt-callback__form .g-recaptcha > div,
.rt-callback__form .g-recaptcha iframe {
	max-width: 100%;
}
/* reCAPTCHA v2 «Я не робот» */
.rt-callback__form .g-recaptcha {
	margin: 2px 0 0;
}
/* Капча Bitrix «картинка + поле» — в обёртке .bx-captcha / .captcha
   или вообще без обёртки: картинка и поле встают в одну строку */
.rt-callback__form .bx-captcha,
.rt-callback__form .captcha,
.rt-callback__form > div:has(input[name="captcha_word"]) {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 2px 0 0;
}
.rt-callback__form > img,
.rt-callback__form .bx-captcha img,
.rt-callback__form .captcha img {
	flex: 0 0 auto;
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	border-radius: 6px;
}
.rt-callback__form input[name="captcha_word"] {
	flex: 1 1 140px;
	min-width: 0;
	height: 44px;
	padding: 0 18px;
	border: 1px solid var(--rt-accent-line);
	border-radius: 999px;
	background: #fff;
	font: inherit;
	font-size: 15px;
	color: var(--rt-ink);
}
.rt-callback__form input[name="captcha_word"]:focus {
	outline: none;
	border-color: var(--rt-accent);
	box-shadow: 0 0 0 3px rgba(219, 173, 120, .22);
}
/* на очень узких экранах виджет reCAPTCHA (304px) не влезает — немного уменьшаем */
@media (max-width: 359px) {
	.rt-callback__form .g-recaptcha {
		transform: scale(.8);
		transform-origin: left top;
	}
}
@media (min-width: 768px) {
	.rt-callback {
		display: grid;
		grid-template-columns: minmax(0, 1fr) clamp(170px, 23%, 210px);
		margin: 44px 0 36px;
	}

	.rt-callback__media {
		order: 2;
		height: auto;
	}

	.rt-callback__body {
		padding: 26px 12px 26px 40px;
	}

	.rt-callback__title {
		font-size: 32px;
		margin-bottom: 22px;
	}

	.rt-callback__form {
		flex-direction: row;
		align-items: center;
		max-width: 430px;
	}

	.rt-callback__field {
		flex: 1 1 190px;
	}

	.rt-callback__btn {
		flex: 0 0 auto;
	}
}

/* --------------------------------------------------------------------------
   4. «Читайте также»
   -------------------------------------------------------------------------- */

.rt-readalso {
	margin: 56px 0 0;
}

.rt-readalso__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin: 0 0 24px;
}

.rt-readalso__all {
	flex: 0 0 auto;
	font-size: 15px;
	color: var(--rt-link);
	text-decoration: underline;
	text-underline-offset: 4px;
	transition: color .2s ease;
}

.rt-readalso__all:hover {
	color: var(--rt-accent-hover);
}

.rt-readalso__grid {
	display: flex;
	gap: 16px;
	margin: 0 calc(-1 * var(--rt-bleed));
	padding: 0 var(--rt-bleed);
	list-style: none;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.rt-readalso__grid::-webkit-scrollbar {
	display: none;
}

.rt-card {
	display: flex;
	flex-direction: column;
	flex: 0 0 74%;
	scroll-snap-align: start;
	margin: 0;
}

.rt-card__img {
	display: block;
	margin: 0 0 14px;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: #f3efe9;
}

.rt-card__img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .35s ease;
}

.rt-card:hover .rt-card__img img {
	transform: scale(1.03);
}

.rt-card__title {
	display: block;
	margin: 0 0 10px;
	font-size: 17px;
	font-weight: 400;
	line-height: 1.35;
	color: var(--rt-link);
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: color .2s ease;
}

.rt-card__title:hover {
	color: var(--rt-accent-hover);
}

.rt-card__text {
	margin: 0;
	font-size: 16px;
	line-height: 1.5;
	color: var(--rt-ink);
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
}

.rt-readalso__dots {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin: 24px 0 0;
}

.rt-readalso__dot {
	width: 9px;
	height: 9px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #e3ddd4;
	cursor: pointer;
	transition: background-color .2s ease;
}

.rt-readalso__dot.is-active {
	background: var(--rt-accent);
}

@media (min-width: 768px) {
	.rt-readalso {
		margin-top: 64px;
	}

	.rt-readalso__grid {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 24px;
		margin: 0;
		padding: 0;
		overflow: visible;
		scroll-snap-type: none;
	}

	.rt-card {
		flex: 1 1 auto;
		min-width: 0;
	}

	.rt-card__img {
		margin-bottom: 14px;
	}

	.rt-readalso__dots {
		display: none;
	}
}

/* --------------------------------------------------------------------------
   5. «Вопрос-ответ»
   -------------------------------------------------------------------------- */

.rt-faq {
	margin: 56px 0 0;
}

.rt-faq__list {
	margin: 0;
}

.rt-faq__item {
	border-bottom: 1px solid var(--rt-line);
	margin: 0;
}

.rt-faq__item:first-child {
	border-top: 1px solid var(--rt-line);
}

.rt-faq__q {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
	margin: 0;
	padding: 20px 0;
	font-size: 18px;
	line-height: 1.45;
	color: var(--rt-ink);
	cursor: pointer;
	list-style: none;
}

.rt-faq__q::-webkit-details-marker {
	display: none;
}

.rt-faq__q::marker {
	content: "";
}

.rt-faq__chevron {
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	margin-top: 3px;
	color: var(--rt-ink);
	transition: transform .25s ease, color .2s ease;
}

.rt-faq__item[open] > .rt-faq__q .rt-faq__chevron {
	transform: rotate(180deg);
	color: var(--rt-accent);
}

.rt-faq__a {
	padding: 0 0 24px;
	font-size: 16px;
	line-height: 1.6;
	color: var(--rt-ink);
}

.rt-faq__a > :last-child {
	margin-bottom: 0;
}

.rt-faq__a a {
	color: var(--rt-link);
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media (min-width: 768px) {
	.rt-faq {
		margin-top: 64px;
	}

	.rt-faq__q {
		padding: 22px 0;
		font-size: 20px;
	}

	.rt-faq__a {
		max-width: 820px;
		padding: 0 60px 26px 0;
	}
}

/* --------------------------------------------------------------------------
   6. Карточка автора в конце статьи
   -------------------------------------------------------------------------- */

.rt-author {
	display: flex;
	flex-direction: row-reverse;
	align-items: stretch;
	margin: 48px 0 0;
	background: #fff;
	box-shadow: var(--rt-shadow);
}

.rt-author__photo {
	flex: 0 0 34%;
	max-width: 200px;
	overflow: hidden;
	background: #f3efe9;
}

.rt-author__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* если у автора нет фото — показываем инициал */
.rt-author__photo--empty {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--rt-cream);
	color: var(--rt-accent);
	font-family: var(--rt-font-accent);
	font-size: 56px;
	font-style: italic;
	line-height: 1;
}

.rt-author__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
	padding: 22px 22px 22px 24px;
}

.rt-author__label {
	margin: 0 0 6px;
	font-size: 12px;
	line-height: 1.2;
	color: var(--rt-accent);
}

.rt-author__name {
	margin: 0 0 6px;
	font-size: 22px;
	font-weight: 400;
	line-height: 1.25;
	color: var(--rt-ink);
}

.rt-author__name a {
	color: inherit;
	text-decoration: none;
}

.rt-author__name a:hover {
	color: var(--rt-link);
}

.rt-author__spec {
	margin: 0;
	font-size: 15px;
	line-height: 1.4;
	color: var(--rt-soft);
}

.rt-author__spec p {
	margin: 0;
}

.rt-author__date {
	margin: 12px 0 0;
	font-size: 15px;
	line-height: 1.3;
	color: var(--rt-soft);
}

@media (min-width: 768px) {
	.rt-author {
		flex-direction: row;
		margin-top: 56px;
	}

	.rt-author__photo {
		flex: 0 0 130px;
		max-width: none;
	}

	.rt-author__body {
		padding: 20px 30px 20px 41px;
	}

	.rt-author__label {
		font-size: 13px;
		margin-bottom: 8px;
	}

	.rt-author__name {
		font-size: 24px;
		margin-bottom: 8px;
	}

	.rt-author__spec,
	.rt-author__date {
		font-size: 16px;
	}

	.rt-author__date {
		margin-top: 14px;
	}
}

/* --------------------------------------------------------------------------
   7. Кнопка «Поделиться» (выводится, только если USE_SHARE = Y)
   -------------------------------------------------------------------------- */

.rt-article__share {
	margin: 40px 0 0;
}

/* --------------------------------------------------------------------------
   Заголовки секций: размер и гарнитуру берём из оформления статьи,
   задаём только отступы.
   -------------------------------------------------------------------------- */

.rt-article .rt-section__title {
	margin: 0 0 22px;
	padding: 0;
}

.rt-article .rt-readalso__head .rt-section__title {
	margin-bottom: 0;
}

@media (min-width: 768px) {
	.rt-article .rt-section__title {
		margin-bottom: 26px;
	}

	.rt-article .rt-readalso__head .rt-section__title {
		margin-bottom: 0;
	}
}

/* End */
/* /local/templates/luxmetall/components/bitrix/news/news/bitrix/news.detail/new/style.css?179612555119042 */
