

/* Start:/local/templates/travelsoft/css/article.css?178894752626946*/
/*
 * Статьи блога: общий набор блоков.
 *
 * Один файл на все статьи и никакой вёрстки под конкретный материал:
 * уникальная вёрстка выглядит хорошо ровно до пятой статьи, после чего
 * блог превращается в зоопарк, который никто не поддерживает.
 *
 * Источник — медиа-репозиторий intourist-vladivostok-content-fabric,
 * assets/site/article-styles.css. Правки вносить там и переносить сюда,
 * иначе следующая сборка статьи затрёт их.
 *
 * Подключается в www/blog/index.php: и список, и детальная идут через него.
 * Акцентный цвет задан переменной, для intourdv он будет другим.
 */

:root {
	--art-accent: #00B6AA;
}

/*
 * Базовые стили статей блога — intourdv.ru и capitaltour.ru
 *
 * Файл ставится в шаблон сайта ОДИН РАЗ и дальше не трогается. Смысл в том,
 * чтобы вёрстка статей была одинаковой: контент-менеджер пишет markdown
 * с блоками (:::note, :::facts, :::figure и т. д.), генератор миграции
 * превращает их в разметку с этими классами, и все статьи выглядят как одна
 * серия. Уникальная вёрстка под каждую статью — это путь к зоопарку,
 * который через полгода никто не поддержит.
 *
 * Куда положить (задача разработчика):
 *   www/local/templates/travelsoft/css/article.css
 * и подключить в шаблоне детальной новости.
 *
 * Акцентный цвет задаётся один раз переменной ниже:
 *   intourdv.ru    — #F17105 (оранжевый акцент брендбука)
 *   capitaltour.ru — #00B6AA (бирюзовый)
 *
 * Шрифт намеренно НЕ задаётся: статья наследует типографику сайта.
 */

.art {
  --art-accent: #00b6aa;        /* capitaltour; для intourdv заменить на #f17105 */
  --art-accent-soft: color-mix(in srgb, var(--art-accent) 10%, transparent);
  --art-ink: #1c2029;
  --art-muted: #6b7280;
  --art-line: #e5e7eb;
  --art-bg-soft: #f7f8fa;
  --art-radius: 12px;

  max-width: 760px;
  margin: 0 auto;
  color: var(--art-ink);
  font-size: 17px;
  line-height: 1.65;
}

/* Старым браузерам без color-mix отдаём просто светло-серую подложку */
@supports not (color: color-mix(in srgb, red 10%, transparent)) {
  .art { --art-accent-soft: #f2f4f6; }
}

.art > * + * { margin-top: 1.15em; }

.art h2 {
  margin-top: 2.2em;
  font-size: 1.55em;
  line-height: 1.25;
}

.art h3 {
  margin-top: 1.8em;
  font-size: 1.2em;
  line-height: 1.3;
}

.art a {
  color: var(--art-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.art ul,
.art ol { padding-left: 1.3em; }

.art li + li { margin-top: 0.4em; }

/*
 * Блочные списки (карточки фактов, шаги) — не обычные списки: интервал у них
 * свой. Правило .art li + li выше по специфичности перебивает .art-facts li,
 * из-за чего вторая и третья карточка в сетке съезжали вниз на 0.4em.
 * Эти две строки идут после и возвращают нужные значения.
 */
.art-facts li + li { margin-top: 0; }
.art-steps li + li { margin-top: 14px; }

/* --- Лид: первый абзац крупнее остальных --------------------------------- */

.art-lead {
  font-size: 1.18em;
  line-height: 1.55;
  color: #2b313d;
}

/* --- Вставки: заметка, предупреждение, совет ------------------------------ */

.art-callout {
  padding: 18px 20px;
  border-left: 4px solid var(--art-accent);
  border-radius: 0 var(--art-radius) var(--art-radius) 0;
  background: var(--art-bg-soft);
}

.art-callout__title {
  margin-bottom: 6px;
  font-weight: 700;
}

.art-callout > *:last-child { margin-bottom: 0; }

.art-callout--warning {
  border-left-color: #e0453c;
  background: #fdf1f0;
}

.art-callout--tip {
  border-left-color: #2f9e63;
  background: #f0f8f3;
}

/* --- Карточки фактов ------------------------------------------------------ */

.art-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  padding: 0;
  list-style: none;
}

.art-facts li {
  margin: 0;
  padding: 16px 18px;
  border: 1px solid var(--art-line);
  border-radius: var(--art-radius);
  background: #fff;
}

.art-facts__value {
  display: block;
  font-size: 1.5em;
  font-weight: 800;
  line-height: 1.1;
  color: var(--art-accent);
}

.art-facts__label {
  display: block;
  margin-top: 4px;
  font-size: 0.88em;
  color: var(--art-muted);
}

/* --- Шаги ----------------------------------------------------------------- */

.art-steps {
  padding: 0;
  list-style: none;
  counter-reset: art-step;
}

.art-steps li {
  position: relative;
  margin-top: 14px;
  padding-left: 46px;
  counter-increment: art-step;
}

.art-steps li::before {
  content: counter(art-step);
  position: absolute;
  left: 0;
  top: -1px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--art-accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.9em;
  line-height: 30px;
  text-align: center;
}

/* --- Фото и галерея ------------------------------------------------------- */

.art-figure { margin: 1.8em 0; }

.art-figure img,
.art-gallery img {
  display: block;
  width: 100%;
  height: auto;
  /* Пропорция задана, чтобы место под кадр было занято до загрузки:
     иначе текст прыгает, а при lazy-загрузке картинка может не попасть
     в экран и не загрузиться вовсе. */
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: #eef1f2;
  border-radius: var(--art-radius);
}

.art-figure figcaption,
.art-gallery figcaption {
  margin-top: 8px;
  font-size: 0.86em;
  line-height: 1.45;
  color: var(--art-muted);
}

/* Права на изображение — отдельной строкой, мельче подписи */
.art-credit {
  display: block;
  margin-top: 2px;
  font-size: 0.82em;
  color: #9aa1ad;
}

.art-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 1.8em 0;
}

.art-gallery figure { margin: 0; }

/* --- Видео: адаптивная вставка без скриптов ------------------------------- */

.art-video {
  position: relative;
  margin: 1.8em 0;
  padding-top: 56.25%;
  border-radius: var(--art-radius);
  overflow: hidden;
  background: #0d1117;
}

.art-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* --- Таблицы: горизонтальный скролл вместо ломки макета ------------------- */

.art-table {
  margin: 1.8em 0;
  overflow-x: auto;
}

.art-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95em;
}

.art-table th,
.art-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--art-line);
  text-align: left;
  vertical-align: top;
}

.art-table th {
  background: var(--art-bg-soft);
  font-weight: 700;
  white-space: nowrap;
}

/* --- Вопрос-ответ --------------------------------------------------------- */

.art-faq { margin: 1.8em 0; }

.art-faq details {
  border-bottom: 1px solid var(--art-line);
}

.art-faq summary {
  padding: 14px 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.art-faq summary::-webkit-details-marker { display: none; }

.art-faq summary::after {
  content: "+";
  float: right;
  color: var(--art-accent);
  font-weight: 700;
}

.art-faq details[open] summary::after { content: "–"; }

.art-faq details > p {
  margin: 0 0 14px;
  color: #3a4150;
}

/* --- Призыв к действию ---------------------------------------------------- */

.art-cta {
  margin: 2em 0;
  padding: 22px 24px;
  border-radius: var(--art-radius);
  background: var(--art-accent-soft);
  border: 1px solid var(--art-line);
}

.art-cta__text {
  margin: 0 0 14px;
  font-size: 1.05em;
}

.art-cta__button {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 8px;
  background: var(--art-accent);
  color: #fff !important;
  font-weight: 700;
  text-decoration: none !important;
}

/* --- Мелкие экраны -------------------------------------------------------- */

@media (max-width: 640px) {
  .art { font-size: 16px; }
  .art h2 { font-size: 1.35em; }
  .art-gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .art-cta { padding: 18px; }
}

/* --- Карточки туров внутри статьи --------------------------------------
   Цены в карточке нет намеренно: статья живёт годами, цена меняется каждую
   неделю. Карточка ведёт на страницу тура, где цена живая. */

.art .art-tours {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 14px;
	margin: 32px 0;
}

.art .art-tour {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 18px 20px;
	border: 1px solid #e6e8ea;
	border-left: 3px solid var(--art-accent);
	border-radius: 12px;
	background: #fff;
	text-decoration: none;
	color: inherit;
	transition: box-shadow .15s ease, transform .15s ease;
}

.art .art-tour:hover {
	box-shadow: 0 6px 20px rgba(0, 0, 0, .08);
	transform: translateY(-2px);
}

.art .art-tour__name {
	font-weight: 800;
	font-size: 17px;
	line-height: 1.3;
}

.art .art-tour__note {
	font-size: 14px;
	color: #6b7276;
	line-height: 1.45;
}

.art .art-tour__go {
	margin-top: auto;
	padding-top: 6px;
	font-weight: 600;
	font-size: 14px;
	color: var(--art-accent);
}

.art .art-tour__go::after {
	content: " →";
}

/* --- Слайдер: лента со scroll-snap, без единой строчки JS ---------------- */

.art .art-slider {
	margin: 32px 0;
}

.art .art-slider__track {
	display: flex;
	gap: 12px;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	padding-bottom: 8px;
	-webkit-overflow-scrolling: touch;
}

.art .art-slider__track figure {
	flex: 0 0 78%;
	max-width: 520px;
	margin: 0;
	scroll-snap-align: center;
}

.art .art-slider__track img {
	width: 100%;
	/* Высоту резервируем пропорцией, а не 100 % от родителя.
	   С `height: 100%` у фигуры без своей высоты кадр получался нулевой
	   высоты, из-за чего `loading="lazy"` не срабатывал никогда: браузер
	   не грузит картинку, которая не попадает в экран, а она не попадала,
	   потому что была высотой ноль. Замкнутый круг, на живой странице
	   лента выглядела пустой полосой прокрутки. */
	aspect-ratio: 3 / 2;
	height: auto;
	max-height: 380px;
	object-fit: cover;
	border-radius: 12px;
	display: block;
	background: #eef1f2;
}

.art .art-slider__track figcaption {
	margin-top: 8px;
	font-size: 14px;
	color: #6b7276;
	line-height: 1.45;
}

.art .art-slider__hint {
	margin: 4px 0 0;
	font-size: 13px;
	color: #9aa1a6;
}

@media (min-width: 720px) {
	.art .art-slider__hint { display: none; }
	.art .art-slider__track figure { flex-basis: 46%; }
}

/* --- Цитата: чужой голос в тексте --------------------------------------- */

.art .art-quote {
	margin: 28px 0;
	padding: 4px 0 4px 20px;
	border-left: 3px solid var(--art-accent);
	font-size: 18px;
	line-height: 1.6;
	color: #2a2f33;
}

.art .art-quote p {
	margin: 0 0 8px;
	font-style: italic;
}

.art .art-quote p:last-of-type { margin-bottom: 0; }

.art .art-quote__source {
	display: block;
	margin-top: 10px;
	font-size: 14px;
	font-style: normal;
	color: #6b7276;
}

.art .art-quote__source::before {
	content: "— ";
}

/* --- «Коротко»: выжимка в начале статьи --------------------------------
   Нужна человеку, который решает читать ли дальше, и поисковым ИИ-ответам,
   которым нужен самодостаточный кусок текста. */

.art .art-summary {
	margin: 0 0 30px;
	padding: 20px 24px;
	background: #f5f8f8;
	border-radius: 14px;
}

.art .art-summary b {
	display: block;
	margin-bottom: 10px;
	font-size: 13px;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--art-accent);
}

.art .art-summary ul {
	margin: 0;
	padding-left: 20px;
}

.art .art-summary li {
	margin: 0 0 6px;
	line-height: 1.55;
}

.art .art-summary li:last-child { margin-bottom: 0; }

/* --- «Что почитать дальше»: перелинковка живым текстом -------------------
   Ссылки внутри абзаца появляются только на опубликованные статьи.
   Пока материала нет, читатель видит обычное предложение. */

.art .art-related {
	margin: 40px 0 8px;
	padding: 22px 24px;
	border-top: 2px solid var(--art-accent);
	background: #fafbfb;
	border-radius: 0 0 14px 14px;
}

.art .art-related b {
	display: block;
	margin-bottom: 10px;
	font-size: 13px;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--art-accent);
}

.art .art-related p {
	margin: 0 0 10px;
	line-height: 1.6;
}

.art .art-related p:last-child { margin-bottom: 0; }

.art .art-related a {
	color: var(--art-accent);
	text-decoration: underline;
	text-underline-offset: 3px;
}
/*
 * Шаблон сайта возвращает маркеры всем спискам внутри статьи:
 * `.list-single-main-item ul { list-style: disc }` в styles.css. Наши
 * карточки и шаги — не списки по смыслу, они только сверстаны списком,
 * и точки на них выглядят браком. Перебиваем прицельно и с запасом
 * по специфичности, чтобы правка шаблона снова их не вернула.
 */

.art .art-facts,
.art .art-steps,
.art .art-summary ul,
.art .art-tours,
.art .art-slider__track {
	list-style: none !important;
	margin-left: 0;
}

.art .art-facts > li,
.art .art-steps > li,
.art .art-tours > li {
	list-style: none !important;
}

.art .art-summary ul > li {
	list-style: disc;
}


/* --- Слайдер: стрелки и счётчик ----------------------------------------
   Разметку добавляет js/article.js. До его выполнения лента остаётся
   обычной прокруткой — так она работает и без единого скрипта. */

.art .art-slider {
	position: relative;
}

.art .art-slider--ready .art-slider__hint {
	display: none;
}

.art .art-slider__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .92);
	box-shadow: 0 2px 12px rgba(0, 0, 0, .18);
	cursor: pointer;
	z-index: 2;
	transition: opacity .15s ease;
}

.art .art-slider__nav::before {
	content: "";
	display: block;
	width: 10px;
	height: 10px;
	margin: 0 auto;
	border-top: 2px solid #16191c;
	border-right: 2px solid #16191c;
}

.art .art-slider__nav--prev { left: 10px; }
.art .art-slider__nav--next { right: 10px; }

.art .art-slider__nav--prev::before { transform: rotate(-135deg); margin-left: 18px; }
.art .art-slider__nav--next::before { transform: rotate(45deg); margin-left: 14px; }

.art .art-slider__nav[disabled] {
	opacity: 0;
	pointer-events: none;
}

/* Счётчик держим у верхнего края: снизу он садился на подпись кадра,
   а длина подписи заранее неизвестна. */
.art .art-slider__counter {
	position: absolute;
	right: 14px;
	top: 12px;
	padding: 3px 10px;
	border-radius: 20px;
	background: rgba(0, 0, 0, .55);
	color: #fff;
	font-size: 13px;
	line-height: 1.5;
}

.art .art-slider__track a {
	display: block;
	cursor: zoom-in;
}

/* --- Ширина и внутренние поля статьи ------------------------------------
   Шапка и текст стоят в одной карточке, и поля у них должны совпадать.
   Было не так: у заголовка на картинке — 36 пикселей, у текста — 79
   (25 от карточки плюс поля от max-width: 760px), и текст выглядел вдвое
   уже шапки.

   Поле задаём один раз переменной и раздаём обоим блокам — так они не
   разъедутся снова. Ограничение ширины внутри колонки снимаем: рядом
   стоит меню раздела, колонка и без того узкая. */

.post-article {
	--art-pad: 32px;
}

.post-article .art {
	max-width: none;
}

.post-article .list-single-main-item {
	padding: 28px var(--art-pad, 25px);
}

/* --- Шапка статьи: заголовок на картинке --------------------------------
   Затемнение — градиент поверх кадра, а не запечённое в файл: фотография
   в элементе остаётся чистой, наложение с логотипом делает только
   PageOgImageService для превью ссылки. */

.art-hero {
	position: relative;
	overflow: hidden;
	/* Скругляем только верх и вплотную стыкуем с текстовым блоком: у него
	   в шаблоне стоит border-radius 0 0 16px 16px, то есть он рассчитан
	   на медиа сверху без зазора. Отступ между ними разрывал карточку
	   пополам. */
	border-radius: 16px 16px 0 0;
	margin-bottom: 0;
	min-height: 320px;
	display: flex;
	align-items: flex-end;
}

.art-hero__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.art-hero__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to bottom,
		rgba(8, 12, 20, .10) 0%,
		rgba(8, 12, 20, .18) 42%,
		rgba(8, 12, 20, .72) 78%,
		rgba(8, 12, 20, .88) 100%
	);
}

.art-hero__inner {
	position: relative;
	padding: 32px var(--art-pad, 32px) 30px;
	width: 100%;
	color: #fff;
}

.art-hero__label {
	display: inline-block;
	margin-bottom: 14px;
	padding: 5px 14px;
	border-radius: 20px;
	background: var(--art-accent);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .02em;
}

.art-hero__title {
	margin: 0 0 12px;
	color: #fff;
	font-size: 38px;
	line-height: 1.14;
	font-weight: 800;
	letter-spacing: -.01em;
	text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
	text-align: left;
}

.art-hero__meta {
	font-size: 14px;
	color: rgba(255, 255, 255, .82);
}

.art-hero__dot {
	margin: 0 6px;
	opacity: .6;
}

/* Статья без картинки: заголовок обычной строкой над текстом. Общий блок
   над колонками погашен для всех детальных, поэтому свой h1 должен быть
   и здесь — иначе страница остаётся вовсе без заголовка. */

.art-plain-head {
	margin-bottom: 22px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--art-line, #e5e7eb);
}

.art-plain-title {
	margin: 0 0 10px;
	font-size: 32px;
	line-height: 1.2;
	font-weight: 800;
	letter-spacing: -.01em;
	text-align: left;
}

.art-plain-meta {
	font-size: 14px;
	color: var(--art-muted, #6b7280);
}

.art-plain-dot {
	margin: 0 6px;
	opacity: .6;
}

@media (max-width: 900px) {
	.post-article { --art-pad: 24px; }
	.art-plain-title { font-size: 25px; }
	.art-hero { min-height: 260px; }
	.art-hero__inner { padding: 24px var(--art-pad, 24px) 22px; }
	.art-hero__title { font-size: 27px; }
}

@media (max-width: 560px) {
	.art-hero { min-height: 220px; border-radius: 12px 12px 0 0; }
	.art-hero__title { font-size: 22px; }
	.art-hero__label { margin-bottom: 10px; }
}

/* --- Мобильные отступы --------------------------------------------------
   На 390 пикселях под текст оставалось 295: по 40 с каждой стороны съедали
   контейнер сайта (15) и паддинг карточки (25). Пятая часть экрана уходила
   в поля, и строка ломалась на четырёх словах.

   Правим паддинг карточки только внутри статьи (`.post-article`): класс
   `.list-single-main-item` используется по всему сайту, трогать его целиком
   нельзя. Файл подключается только в разделе блога, но ограничиваем
   и селектором — так правка не разъедется, если файл подключат где-то ещё. */

@media (max-width: 640px) {
	.post-article { --art-pad: 16px; }

	.post-article .list-single-main-item {
		padding: 20px var(--art-pad, 16px);
	}

	.art-hero__inner {
		padding: 20px var(--art-pad, 16px) 18px;
	}

	/* Вложенные блоки тоже сжимаем: карточка 16 + блок 24 давали 40 пикселей
	   до первой буквы внутри вставки. */
	.art .art-summary,
	.art .art-related {
		padding: 16px 18px;
	}

	.art .art-callout {
		padding: 14px 16px;
	}

	.art .art-tour {
		padding: 15px 16px;
	}

	.art .art-quote {
		padding-left: 14px;
		font-size: 17px;
	}

	/* Кнопки листания на узком экране закрывали бы половину кадра. */
	.art .art-slider__nav {
		width: 36px;
		height: 36px;
	}

	.art .art-slider__nav--prev::before { margin-left: 15px; }
	.art .art-slider__nav--next::before { margin-left: 11px; }
}

@media (max-width: 400px) {
	.post-article { --art-pad: 14px; }

	.post-article .list-single-main-item {
		padding: 18px var(--art-pad, 14px);
	}
}

/* Полосу прокрутки у ленты прячем: листание есть и пальцем, и стрелками,
   которые дорисовывает js/article.js. Подсказка «Листайте вбок» остаётся
   до появления стрелок — если скрипт не отработал, читатель всё равно
   понимает, что кадр не один. */
.art .art-slider__track {
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.art .art-slider__track::-webkit-scrollbar {
	display: none;
}

/* --- Лайтбокс статьи ----------------------------------------------------
   В копии magnific-popup.css на сайте половина правил закомментирована:
   сброс кнопки, `content: ''` у стрелок и их треугольники. Из-за этого
   стрелки выходили серыми прямоугольниками с рамкой — браузерной кнопкой
   по умолчанию.

   Сам файл не трогаем: он общий, и кто-то отключал эти правила осознанно.
   Вместо этого стили действуют только внутри нашего попапа, помеченного
   классом mfp-article (задаётся в js/article.js). */

.mfp-article button.mfp-arrow,
.mfp-article button.mfp-close {
	overflow: visible;
	cursor: pointer;
	background: transparent;
	border: 0;
	-webkit-appearance: none;
	appearance: none;
	display: block;
	outline: none;
	box-shadow: none;
	padding: 0;
}

.mfp-article .mfp-arrow::before,
.mfp-article .mfp-arrow::after {
	content: '';
	display: block;
	width: 0;
	height: 0;
	position: absolute;
	left: 0;
	top: 0;
	margin-top: 35px;
	margin-left: 35px;
	border: medium inset transparent;
}

.mfp-article .mfp-arrow::before {
	border-top-width: 21px;
	border-bottom-width: 21px;
	opacity: .7;
}

.mfp-article .mfp-arrow-left::before {
	margin-left: 25px;
	border-right: 27px solid #3f3f3f;
}

.mfp-article .mfp-arrow-right::before {
	margin-left: 27px;
	border-left: 27px solid #3f3f3f;
}

.mfp-article .mfp-close {
	color: #fff;
	font-size: 28px;
	line-height: 44px;
	opacity: .8;
}

.mfp-article .mfp-close:hover { opacity: 1; }

.mfp-article .mfp-title {
	font-size: 15px;
	line-height: 1.5;
	padding-right: 40px;
}

.mfp-article .mfp-counter {
	font-size: 13px;
	color: rgba(255, 255, 255, .7);
}

/* --- Колонка меню раздела -----------------------------------------------
   Меню раздела на телефоне свёрнуто — по всему сайту, а не только в блоге:
   стартовое состояние ставит js/scripts.js, закрытый вид до его выполнения —
   template_styles.css. Здесь остаются только отступы статьи. */

/* Обёртка .col-12 вокруг статьи добавляет свои 15 пикселей поверх отступов
   строки — по бокам получалось вдвое больше нужного. */
.main-lk .col-12 {
	padding-left: 0;
	padding-right: 0;
}

@media (max-width: 991px) {
	/* Со свёрнутым меню статья прилипала к хлебным крошкам. */
	.work-space .main-lk {
		padding-top: 4px;
	}
}

@media (max-width: 640px) {
	/* Четыре карточки фактов в ряд на телефоне превращаются в четыре
	   узких столбика, где каждое слово на своей строке. Две в ряд —
	   и цифра снова читается цифрой. */
	.art .art-facts {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}

	.art .art-facts li {
		padding: 12px 14px;
	}

	.art .art-tours {
		grid-template-columns: 1fr;
	}
}

/* End */


/* Start:/local/templates/travelsoft/css/magnific-popup.css?17455787167136*/
/* Magnific Popup CSS */
.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1042;
  overflow: hidden;
  position: fixed;
  background: #0b0b0b;
  opacity: 0.8; }

.mfp-wrap {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1043;
  position: fixed;
  outline: none !important;
  -webkit-backface-visibility: hidden; }

.mfp-container {
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  padding: 0 8px;
  box-sizing: border-box; }

.mfp-container:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle; }

.mfp-align-top .mfp-container:before {
  display: none; }

.mfp-content {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  text-align: left;
  z-index: 1045; }

.mfp-inline-holder .mfp-content,
.mfp-ajax-holder .mfp-content {
  width: 100%;
  cursor: auto; }

.mfp-ajax-cur {
  cursor: progress; }

.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
  cursor: -moz-zoom-out;
  cursor: -webkit-zoom-out;
  cursor: zoom-out; }

.mfp-zoom {
  cursor: pointer;
  cursor: -webkit-zoom-in;
  cursor: -moz-zoom-in;
  cursor: zoom-in; }

.mfp-auto-cursor .mfp-content {
  cursor: auto; }

.mfp-close,
.mfp-arrow,
.mfp-preloader,
.mfp-counter {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none; }

.mfp-loading.mfp-figure {
  display: none; }

.mfp-hide {
  display: none !important; }

.mfp-preloader {
  color: #CCC;
  position: absolute;
  top: 50%;
  width: auto;
  text-align: center;
  margin-top: -0.8em;
  left: 8px;
  right: 8px;
  z-index: 1044; }
  .mfp-preloader a {
    color: #CCC; }
    .mfp-preloader a:hover {
      color: #FFF; }

.mfp-s-ready .mfp-preloader {
  display: none; }

.mfp-s-error .mfp-content {
  display: none; }

button.mfp-close,
button.mfp-arrow {
  /* overflow: visible; */
  /* cursor: pointer; */
  /* background: transparent; */
  /* border: 0; */
  /* -webkit-appearance: none; */
  /* display: block; */
  /* outline: none; */
  /* padding: 0; */
  /* z-index: 1046; */
  /* box-shadow: none; */
  /* touch-action: manipulation; */ }

button::-moz-focus-inner {
  padding: 0;
  border: 0; }

.mfp-close {
  width: 44px;
  height: 44px;
  line-height: 44px;
  position: absolute;
  right: 0;
  top: 0;
  text-decoration: none;
  text-align: center;
  opacity: 0.65;
  padding: 0 0 18px 10px;
  color: #FFF;
  font-style: normal;
  font-size: 28px;
  font-family: Arial, Baskerville, monospace; }
  .mfp-close:hover,
  .mfp-close:focus {
    opacity: 1; }
  .mfp-close:active {
    top: 1px; }

.mfp-close-btn-in .mfp-close {
  color: #333; }

.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
  color: #FFF;
  right: -6px;
  text-align: right;
  padding-right: 6px;
  width: 100%; }

.mfp-counter {
  position: absolute;
  top: 0;
  right: 0;
  color: #CCC;
  font-size: 12px;
  line-height: 18px;
  white-space: nowrap; }

.mfp-arrow {
  position: absolute;
  opacity: 0.65;
  margin: 0;
  top: 50%;
  margin-top: -55px;
  padding: 0;
  width: 90px;
  height: 110px;
  -webkit-tap-highlight-color: transparent; }
  .mfp-arrow:active {
    margin-top: -54px; }
  .mfp-arrow:hover,
  .mfp-arrow:focus {
    opacity: 1; }
  .mfp-arrow:before,
  .mfp-arrow:after {
    /* content: ''; */
    /* display: block; */
    /* width: 0; */
    /* height: 0; */
    /* position: absolute; */
    /* left: 0; */
    /* top: 0; */
    /* margin-top: 35px; */
    /* margin-left: 35px; */
    /* border: medium inset transparent; */ }
  .mfp-arrow:after {
    border-top-width: 13px;
    border-bottom-width: 13px;
    top: 8px; }
  .mfp-arrow:before {
    /* border-top-width: 21px; */
    /* border-bottom-width: 21px; */
    /* opacity: 0.7; */ }

.mfp-arrow-left {
  left: 0; }
  .mfp-arrow-left:after {
    border-right: 17px solid #FFF;
    margin-left: 31px; }
  .mfp-arrow-left:before {
    /* margin-left: 25px; */
    /* border-right: 27px solid #3F3F3F; */ }

.mfp-arrow-right {
  right: 0; }
  .mfp-arrow-right:after {
    border-left: 17px solid #FFF;
    margin-left: 39px; }
  .mfp-arrow-right:before {
    /* border-left: 27px solid #3F3F3F; */ }

.mfp-iframe-holder {
  padding-top: 40px;
  padding-bottom: 40px; }
  .mfp-iframe-holder .mfp-content {
    line-height: 0;
    width: 100%;
    max-width: 900px; }
  .mfp-iframe-holder .mfp-close {
    top: -40px; }

.mfp-iframe-scaler {
  width: 100%;
  height: 0;
  overflow: hidden;
  padding-top: 56.25%; }
  .mfp-iframe-scaler iframe {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #fff;
    padding: 20px 10px;}

/* Main image in popup */
img.mfp-img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  line-height: 0;
  box-sizing: border-box;
  padding: 40px 0 40px;
  margin: 0 auto; }

/* The shadow behind the image */
.mfp-figure {
  line-height: 0; }
  .mfp-figure:after {
    content: '';
    position: absolute;
    left: 0;
    top: 40px;
    bottom: 40px;
    display: block;
    right: 0;
    width: auto;
    height: auto;
    z-index: -1;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #444; }
  .mfp-figure small {
    color: #BDBDBD;
    display: block;
    font-size: 12px;
    line-height: 14px; }
  .mfp-figure figure {
    margin: 0; }

.mfp-bottom-bar {
  margin-top: -36px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  cursor: auto; }

.mfp-title {
  text-align: left;
  line-height: 18px;
  color: #F3F3F3;
  word-wrap: break-word;
  padding-right: 36px; }

.mfp-image-holder .mfp-content {
  max-width: 100%; }

.mfp-gallery .mfp-image-holder .mfp-figure {
  cursor: pointer; }

@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
  /**
       * Remove all paddings around the image on small screen
       */
  .mfp-img-mobile .mfp-image-holder {
    padding-left: 0;
    padding-right: 0; }
  .mfp-img-mobile img.mfp-img {
    padding: 0; }
  .mfp-img-mobile .mfp-figure:after {
    top: 0;
    bottom: 0; }
  .mfp-img-mobile .mfp-figure small {
    display: inline;
    margin-left: 5px; }
  .mfp-img-mobile .mfp-bottom-bar {
    background: rgba(0, 0, 0, 0.6);
    bottom: 0;
    margin: 0;
    top: auto;
    padding: 3px 5px;
    position: fixed;
    box-sizing: border-box; }
    .mfp-img-mobile .mfp-bottom-bar:empty {
      padding: 0; }
  .mfp-img-mobile .mfp-counter {
    right: 5px;
    top: 3px; }
  .mfp-img-mobile .mfp-close {
    top: 0;
    right: 0;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    text-align: center;
    padding: 0; } }

@media all and (max-width: 900px) {
  .mfp-arrow {
    -webkit-transform: scale(0.75);
    transform: scale(0.75); }
  .mfp-arrow-left {
    -webkit-transform-origin: 0;
    transform-origin: 0; }
  .mfp-arrow-right {
    -webkit-transform-origin: 100%;
    transform-origin: 100%; }
  .mfp-container {
    padding-left: 6px;
    padding-right: 6px; } }

/* End */


/* Start:/local/templates/travelsoft/components/bitrix/news/news/bitrix/news.detail/.default/style.css?177013395611663*/
.list-single-main-media img {
    width: 100%;
}
.box-widget_blog {
    background: #fff;
    border-radius: 10px;
    float: left;
    width: 100%;
    margin-bottom: 20px;
    /* box-shadow: 0 3px 24px rgb(0 0 0 / 10%); */
    border-radius: 16px;
	overflow: hidden;
}
.box-widget_blog-content {
    float: left;
    width: 100%;
    position: relative;
    padding: 10px 20px 10px;
}

.box-widget-content.no-pad-bottom {
    padding-bottom: 0;
}

#weather-widget {
    float: left;
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
}

.box-widget-list {
    display: block;
}

.box-widget-list i {
    padding-right: 10px;
    width: 30px;
}

.box-widget-list li {
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
    margin-bottom: 5px;
    position: relative;
    width: 100%;
    text-align: left;
    display: inline-block;
}

.box-widget-list li:last-child {
    border: 0;
    margin-bottom: 0;
}

.box-widget-list li .day-namber {
    width: 100px;
    float: left;
    font-weight: 550;
    /* float: left; */
}

.box-widget-list li a {
    color: rgb(237, 0, 140);
    font-weight: 500;
    /* float: left; */
}

.box-widget-list li .day-description {
    /* color: #878C9F; */
    margin-left: 100px;
}

.list-widget-social {
    float: left;
    margin-top: 10px;
}

.list-widget-social li {
    float: left;
    margin-right: 10px;
}

.list-widget-social li a {
    float: left;
    width: 36px;
    height: 36px;
    line-height: 36px;
    border-radius: 4px;
    color: #fff;
    font-size: 12px;
    font-weight: 300;
    text-align: center;
}

.article-masonry {
    width: 50%;
    float: left;
    padding: 0 10px;
    margin-bottom: 20px;
}

.home-posts .card-post {
    /*border: 1px solid #eee; */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-wrap: nowrap;
    height: 100%;
    /* margin-bottom: 20px;*/
}

.home-posts .card-post-img {
    border-radius: 16px;
    border: 1px solid #eee;
}

.home-posts .card-post-content {
    padding: 15px 20px 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-between;
    height: 100%;
    margin-bottom: 20px;
    /* border: 1px solid #eee; */
    border-radius: 0 6px;
}

.home-posts .card-post-content .h4 {
    height: unset;
}

.card-post {
    float: left;
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    /* background: #fff; */
    margin-bottom: 20px;
}

.card-post .btn {
    margin-bottom: 0px;
}

.post-article {
    margin-bottom: 30px;
    float: left;
    width: 100%;
    position: relative;
}

.post-article .list-single-main-media , .card-post .list-single-main-media {
    margin: 0;
}

.post-article-title {
    padding: 30px;
}

.card-post-img img {
    float: left;
    width: 100%;
    height: auto;
    border-radius: 16px;
}

.card-post-content {
    padding: 15px 20px 0;
}

.card-post-content .h4 {
    width: 100%;
    text-align: left;
    color: #01374f;
    font-size: 18px;
    font-weight: 700;
    padding: 0;
    margin-bottom: 5px;
    height: 60px;
    overflow: hidden;
}

.card-post-content h3 a {
    color: #666;
}

.card-post-content p {
    text-align: left;
}

.home-posts {
    text-align: left;
    margin-bottom: 5px;
    padding-bottom: 0;
    display: flex;
    flex-wrap: wrap;
    align-content: space-between;
    align-items: stretch;
}

.card-post-content .post-opt {
    border-top: 1px solid #eee;
    width: 100%;
    padding: 10px 0;
    margin: 0;
    display: flex;
    justify-content: space-between;
}

.card-post-content .post-opt ul {
    margin: 0;
}

.post-nav {
    margin-top: 20px;
    margin-bottom: 10px;
}

.post-nav:before {
    content: '';
    position: absolute;
    left: 50%;
    height: 50px;
    top: 50%;
    margin-top: -25px;
    width: 1px;
    background: #eee;
}

.post-link {
    position: relative;
    font-size: 15px;
    font-weight: 400;
    color: #999;
}

.post-link span {
    color: #999;
    font-size: 12px;
    font-weight: 600;
}

.post-link i {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 0;
    line-height: 40px;
    font-size: 22px;
}

.post-link:hover i {
    -webkit-transform: rotateX(360deg);
    transform: rotateX(360deg);
}

.post-link.prev-post-link {
    float: left;
    padding-left: 40px;
    text-align: left;
}

.post-link.next-post-link {
    float: right;
    padding-right: 40px;
    text-align: right;
}

.post-link.prev-post-link i {
    left: 0;
    text-align: left;
}

.post-link.next-post-link i {
    right: 0;
    text-align: right;
}

.post-author {
    float: left;
    margin-right: 20px;
    margin-top: 10px;
}

.post-author img {
    width: 40px;
    height: 40px;
    border-radius: 100%;
    float: left;
    margin-right: 20px;
}

.post-author span {
    font-weight: 600;
    position: relative;
    top: 14px;
    color: #666;
    font-size: 12px;
}

.post-opt {
    padding-top: 24px;
}

.post-opt , .post-opt li {
    float: left;
}

.post-opt ul {
    list-style: none !important;
}

.post-opt li {
    margin-right: 15px;
    line-height: 40px;
}

.post-opt li span , .post-opt li a {
    color: #999;
    font-weight: 500;
    font-size: 12px;
}

.post-opt li i {
    padding-right: 6px;
}

.search-widget input {
    float: left;
    width: 100%;
    border: none;
    background: #ECF6F8;
    height: 50px;
    padding: 0 80px 0 20px;
    z-index: 1;
    border-radius: 4px 0 0 4px;
}

.search-widget .search-submit {
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 50px;
    line-height: 50px;
    z-index: 2;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 0 4px 4px 0 ;
}

.jr-insta-thumb {
    float: left;
    width: 100%;
    margin-bottom: 15px;
}

.jr-insta-thumb ul {
    list-style: none;
}

.jr-insta-thumb li {
    float: left;
    width: 33.3%;
    padding: 5px;
    overflow: hidden;
}

.jr-insta-thumb li img {
    width: 100%;
    height: auto;
    border-radius: 6px;
}

.jr-insta-thumb li a , .post-link i {
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.jr-insta-thumb li a:hover {
    opacity: 0.6;
}

.cat-item li {
    float: left;
    width: 100%;
    padding-bottom: 8px;
    margin-bottom: 15px;
    text-align: left;
    position: relative;
}

.cat-item li:last-child {
    margin-bottom: 0;
}

.cat-item li:before {
    content: '';
    position: absolute;
    bottom: 6px;
    width: 100px;
    height: 1px;
    background: #eee;
    left: 50%;
    margin-left: -25px;
}

.cat-item li a {
    float: left;
    font-size: 12px;
    color: #666;
    font-weight: 400;
}

.cat-item li span {
    float: right;
    color: #999;
    font-size: 12px;
}

.fixed-bg .overlay {
    opacity: 0.6;
}

.mob-bg , .mobile-list-controls {
    display: none;
}

.vishidelem {
    display: block !important;
}
.box-widget-author-title {
    margin-bottom: 10px;
    padding: 0 0 10px 80px;
}

.box-widget-author-content {
    padding: 10px 0 0;
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.box-widget-author-content p {
    text-align: left;
}

.box-widget-author-content .h4 {
    color: #666;
    font-size: 18px;
    padding: 0;
    margin-bottom: 10px;
    line-height: 18px;
}

.box-widget-author-title a {
    float: left;
    text-align: left;
    color: #ed018c;
    position: relative;
    font-size: 14px;
    margin-top: 10px;
    padding-bottom: 6px;
    font-weight: 600;
}

.box-widget-author-title span {
    float: left;
    width: 100%;
    font-size: 10px;
    text-align: left;
    color: #999;
    text-transform: uppercase;
}

.box-widget-author-title-img {
    position: absolute;
    left: 0;
    width: 60px;
    top: 0;
    height: 100%;
}

.box-widget-author-title-img img {
    width: 60px;
    height: 60px;
    border-radius: 5px;
}

.box-widget_blog.widget-posts li {
    padding: 8px 0;
    margin-bottom: 19px;
    border-bottom: 1px solid #eee;
}

.box-widget_blog.widget-posts li:last-child {
    margin-bottom: 0;
}

.box-widget_blog.widget-posts .widget-posts-img {
    float: left;
    width: 28%;
}

.box-widget_blog.widget-posts .widget-posts-img img {
    border-radius: 4px;
    width: 100%;
    height: auto;
}

.box-widget_blog.widget-posts .widget-posts-descr {
    float: left;
    width: 66%;
    margin-left: 6%;
    text-align: left;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 4px;
}

.box-widget_blog.widget-posts .widget-posts-descr a {
    font-size: 13px;
    font-weight: 500;
    padding-bottom: 20px;
    color: #878C9F;
}

.box-widget_blog.widget-posts .widget-posts-date {
    float: left;
    width: 100%;
    margin-top: 0;
    font-weight: 600;
    color: #999;
    font-size: 11px;
}

.box-widget_blog.widget-posts .widget-posts-date i {
    padding-right: 10px;
}

.box-image-widget {
    float: left;
    width: 100%;
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.box-image-widget:last-child {
    margin-bottom: 0;
    border: 0;
}

.box-image-widget-media {
    float: left;
    width: 35%;
}

.box-image-widget-media a {
    float: left;
    width: 100%;
    margin-top: 8px;
    padding: 8px 0;
    color: #fff;
    border-radius: 2px;
    font-size: 11px;
    text-align: center;
}

.box-image-widget-details {
    float: left;
    width: 65%;
    padding-left: 18px;
    text-align: left;
}

.box-image-widget-details .h4 {
    margin-top: 0;
}

.box-image-widget-details h4 {
    padding-bottom: 6px;
    color: #666;
}

.box-image-widget-details h4 span {
    color: #5ECFB1;
    font-size: 11px;
    padding-left: 20px;
}

.box-image-widget-details p {
    font-size: 12px;
    padding: 0;
}

.box-image-widget-media img {
    width: 100%;
    height: auto;
    border-radius: 16px;
}

.pricerange span {
    float: left;
    margin-right: 20px;
    color: #878C9F;
    font-weight: 700;
}

.pricerange {
    font-size: 14px;
    text-align: left;
    font-weight: 600;
    color: #5ECFB1;
}

.claim-widget-link {
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid #eee;
}

.claim-widget-link span , .claim-widget-link a {
    float: left;
    text-align: left;
    font-weight: 500;
}

.claim-widget-link a:hover {
    color: #24324F;
}

.claim-widget-link span {
    color: #878C9F;
    margin-right: 20px;
}

.rooms-item {
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.rooms-item:last-child {
    margin-bottom: 0;
}

.rooms-media {
    float: left;
    width: 40%;
    position: relative;
    overflow: hidden;
    border-radius: 6px 6px 6px 0;
}

.rooms-media img {
    width: 100%;
    height: auto;
}

.rooms-details {
    float: left;
    width: 60%;
    padding: 5px 0 10px 20px;
}

.rooms-details-header {
    text-align: left;
    padding-bottom: 20px;
}

.rooms-price {
    position: absolute;
    right: 0;
    top: 0;
    /* color: #ffa500; */
    font-size: 19px;
    font-weight: 600;
}

.rooms-price strong {
    padding-left: 3px;
    font-size: 10px;
    color: #999;
}

.rooms-details-header h3 {
    color: #334e6f;
    padding-bottom: 6px;
    font-size: 16px;
    font-weight: 700;
}

.rooms-details-header h5 {
    font-size: 11px;
    font-weight: 700;
}

.rooms-container {
    margin-top: 20px;
}

.rooms-details .facilities-list {
    margin-top: 20px;
    margin-bottom: 0;
}
.box-image-widget-media a {
    float: left;
    width: 100%;
    margin-top: 8px;
    padding: 8px 0;
    color: #fff;
    border-radius: 2px;
    font-size: 11px;
    text-align: center;
    background: #0079bf;
}
/* End */
/* /local/templates/travelsoft/css/article.css?178894752626946 */
/* /local/templates/travelsoft/css/magnific-popup.css?17455787167136 */
/* /local/templates/travelsoft/components/bitrix/news/news/bitrix/news.detail/.default/style.css?177013395611663 */
