.fs-gds-main {
  --fs-gds-ink: #35353f;
  --fs-gds-muted: #71717b;
  --fs-gds-surface: #fff;
  --fs-gds-soft-surface: #f4f4f6;
  --fs-gds-gap: 16px;
  --fs-gds-main-width: 1170px;
  --fs-gds-hero-height: 441px;
  --fs-gds-card-width: 300px;
  --fs-gds-destination-card-width: 220px;
  --fs-gds-offer-height: 338px;
  --fs-gds-hero-title-size: 36px;
  --fs-gds-hero-title-line: 48px;
  --fs-gds-section-title-size: 28px;
  --fs-gds-section-title-line: 38px;
  --fs-gds-section-gutter: 71px;
  position: relative;
  width: 100%;
  max-width: var(--fs-gds-main-width);
  margin-inline: auto;
  overflow: hidden;
  color: var(--fs-gds-ink);
  background: var(--fs-gds-surface);
  color-scheme: light;
  container-type: inline-size;
  font-family: Montserrat, Arial, sans-serif;
}

.fs-gds-main,
.fs-gds-main *,
.fs-gds-main *::before,
.fs-gds-main *::after {
  box-sizing: border-box;
}

.fs-gds-main a {
  color: inherit;
  text-decoration: none;
}

.fs-gds-main__hero {
  position: relative;
  display: block;
  width: 100%;
  height: var(--fs-gds-hero-height);
  overflow: hidden;
  border-radius: 18px;
  background: #ff4b09;
}

.fs-gds-main__hero-picture {
  display: block;
  width: 100%;
  height: 100%;
}

.fs-gds-main__hero-image,
.fs-gds-main__offer-image,
.fs-gds-main__card-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fs-gds-main__image-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e9ecef, #d5d9dd);
}

.fs-gds-main__hero > .fs-gds-main__image-placeholder {
  background: #ff4b09;
}

.fs-gds-main__hero-copy {
  position: absolute;
  z-index: 2;
  top: 14%;
  left: 6.6%;
  display: flex;
  width: 50%;
  flex-direction: column;
  align-items: flex-start;
  color: #fff;
}

.fs-gds-main__hero-title,
.fs-gds-main__hero-accent {
  margin: 0;
  font-size: var(--fs-gds-hero-title-size);
  font-weight: 800;
  line-height: var(--fs-gds-hero-title-line);
  letter-spacing: -.04em;
}

.fs-gds-main__hero-accent {
  margin-top: 5px;
  color: #ffdd16;
}

.fs-gds-main__hero-description {
  margin-top: 16px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.15;
}

.fs-gds-main__hero-cta,
.fs-gds-main__offer-cta {
  display: inline-flex;
  margin-top: 15px;
  padding: 8px 16px;
  border-radius: 999px;
  color: #35353f;
  background: #ffdd16;
  font-size: 14px;
  font-weight: 700;
}

.fs-gds-main__section {
  padding-block-start: 48px;
  padding-inline: var(--fs-gds-section-gutter);
}

.fs-gds-main__section--world {
  padding-block-start: 48px;
}

.fs-gds-main__title {
  height: auto;
  min-height: 0;
  margin: 0 0 16px;
  color: var(--fs-gds-ink);
  font-family: Montserrat, Arial, sans-serif !important;
  font-size: var(--fs-gds-section-title-size) !important;
  font-weight: 700 !important;
  line-height: var(--fs-gds-section-title-line) !important;
  letter-spacing: -.03em;
}

.fs-gds-main__carousel {
  position: relative;
}

.fs-gds-main__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  scroll-behavior: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.fs-gds-main__viewport.swiper-initialized {
  overflow: hidden;
  scroll-snap-type: none;
}

.fs-gds-main__viewport::-webkit-scrollbar {
  display: none;
}

.fs-gds-main__viewport:focus-visible {
  outline: 3px solid #ff4b09;
  outline-offset: 3px;
}

.fs-gds-main__track {
  display: flex;
  width: max-content;
  gap: var(--fs-gds-carousel-gap, var(--fs-gds-gap));
}

.fs-gds-main__viewport.swiper-initialized .fs-gds-main__track {
  width: 100%;
  gap: 0;
}

.fs-gds-main__carousel.is-fit:not(.fs-gds-main__carousel--offer) .fs-gds-main__track {
  width: 100%;
  justify-content: center;
}

.fs-gds-main__carousel.has-fixed-items .fs-gds-main__track {
  width: 100%;
}

.fs-gds-main__card {
  position: relative;
  display: block;
  flex: 0 0 var(--fs-gds-card-width);
  aspect-ratio: 546 / 464;
  overflow: hidden;
  border-radius: 14px;
  background: #d5d9dd;
  scroll-snap-align: start;
  isolation: isolate;
}

.fs-gds-main__carousel.has-fixed-items .fs-gds-main__card {
  flex-basis: calc((100% - (var(--fs-gds-items-per-view) - 1) * var(--fs-gds-carousel-gap, var(--fs-gds-gap))) / var(--fs-gds-items-per-view));
}

.fs-gds-main__card--destination {
  flex-basis: var(--fs-gds-destination-card-width);
  aspect-ratio: 404.64 / 464;
}

.fs-gds-main__card-image {
  transition: transform .25s ease;
}

.fs-gds-main__card:hover .fs-gds-main__card-image {
  transform: scale(1.025);
}

.fs-gds-main__shade {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(0, 0, 0, .88) 100%);
  pointer-events: none;
}

.fs-gds-main__card-copy {
  position: absolute;
  z-index: 2;
  right: 5.13%;
  bottom: 5.17%;
  left: 5.13%;
  display: flex;
  flex-direction: column;
  color: #fff;
  line-height: 1.15;
}

.fs-gds-main__card-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.025em;
}

.fs-gds-main__card-subtitle {
  margin-block-start: .18em;
  font-size: 12px;
  font-weight: 500;
}

.fs-gds-main__card-meta {
  margin-block-start: .55em;
  font-size: 11px;
  font-weight: 500;
}

.fs-gds-main__badge {
  position: absolute;
  z-index: 2;
  top: 5.17%;
  left: 5.93%;
  display: inline-flex;
  min-width: 2.2em;
  min-height: 1.55em;
  align-items: center;
  justify-content: center;
  padding: .1em .3em;
  border-radius: .3em;
  background: rgba(255, 255, 255, .94);
  font-size: 14px;
  line-height: 1;
}

.fs-gds-main__arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: grid;
  width: 32px;
  height: 32px;
  padding: 0;
  transform: translateY(-50%);
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #35353f;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .16);
  font: 400 25px/1 Arial, sans-serif;
  cursor: pointer;
  transition: opacity .15s ease;
}

.fs-gds-main__arrow--prev {
  left: 10px;
}

.fs-gds-main__arrow--next {
  right: 10px;
}

.fs-gds-main__arrow:disabled {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.fs-gds-main__arrow.swiper-button-disabled,
.fs-gds-main__arrow.swiper-button-lock {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.fs-gds-main__carousel--offer .fs-gds-main__track {
  width: 100%;
}

.fs-gds-main__offer {
  position: relative;
  display: block;
  flex: 0 0 100%;
  height: var(--fs-gds-offer-height);
  overflow: hidden;
  border-radius: 14px;
  background: #d5d9dd;
  scroll-snap-align: start;
}

.fs-gds-main__offer-copy {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  padding: 3.3% 5%;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  color: #fff;
  background: linear-gradient(90deg, rgba(0, 0, 0, .55), transparent 65%);
}

.fs-gds-main__offer-title {
  max-width: 62%;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

.fs-gds-main__offer-subtitle {
  max-width: 55%;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 500;
}

.fs-gds-main__dots {
  display: flex;
  min-height: 8px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-block-start: 14px;
}

.fs-gds-main__dots.swiper-pagination,
.fs-gds-main__dots.swiper-pagination-horizontal {
  position: static;
  width: 100%;
}

.fs-gds-main__dots[hidden] {
  display: none !important;
}

.fs-gds-main__dot {
  display: block;
  width: 6px;
  min-width: 6px;
  padding: 0;
  aspect-ratio: 1;
  border: 0;
  border-radius: 50%;
  background: #d9d9df;
  box-shadow: none;
  cursor: pointer;
  margin: 0 !important;
}

.fs-gds-main__dot[aria-current="true"],
.fs-gds-main__dot.is-active {
  width: 12px;
  border-radius: 999px;
  background: #9a9aa2;
}

.fs-gds-main__dot:focus-visible {
  outline: 2px solid #ff4b09;
  outline-offset: 2px;
}

.fs-gds-theme-toggle {
  position: absolute;
  z-index: 12;
  top: 12px;
  right: 12px;
  display: grid;
  width: 36px;
  height: 36px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 50%;
  color: #fff;
  background: rgba(25, 25, 25, .5);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
  font: 700 18px/1 Arial, sans-serif;
  cursor: pointer;
}

.fs-gds-theme-toggle:focus-visible {
  outline: 3px solid #ffdd16;
  outline-offset: 2px;
}

.fs-gds-main[data-theme="dark"] {
  --fs-gds-ink: #f5f5f6;
  --fs-gds-muted: #b8bac2;
  --fs-gds-surface: #101114;
  --fs-gds-soft-surface: #202126;
  color-scheme: dark;
}

.fs-gds-main[data-theme="light"] .fs-gds-main__title,
html[data-fs-tours-page-theme="light"] .fs-gds-main .fs-gds-main__title {
  color: #000 !important;
}

.fs-gds-main[data-theme="dark"] .fs-gds-main__title,
html[data-fs-tours-page-theme="dark"] .fs-gds-main .fs-gds-main__title {
  color: #f4f4f5 !important;
}

html[data-fs-tours-page-theme="light"] body.page-id-21199 #content .elementor-widget-heading > .elementor-widget-container > .elementor-heading-title {
  color: #000 !important;
}

html[data-fs-tours-page-theme="dark"] body.page-id-21199 #content .elementor-widget-heading > .elementor-widget-container > .elementor-heading-title {
  color: #f4f4f5 !important;
}

.fs-gds-main .fs-gds-main__hero-title,
.fs-gds-main .fs-gds-main__offer-title {
  color: #fff !important;
}

.fs-gds-main[data-theme="dark"] .fs-gds-main__image-placeholder,
.fs-gds-main[data-theme="dark"] .fs-gds-main__card,
.fs-gds-main[data-theme="dark"] .fs-gds-main__offer {
  background-color: var(--fs-gds-soft-surface);
}

.fs-gds-main[data-theme="dark"] .fs-gds-main__dot {
  background: #505159;
}

.fs-gds-main[data-theme="dark"] .fs-gds-main__dot[aria-current="true"] {
  background: #d6d7dc;
}

@container (max-width: 700px) {
  .fs-gds-main__track {
    gap: min(var(--fs-gds-carousel-gap, 12px), 12px);
  }

  .fs-gds-main__section,
  .fs-gds-main__section--world {
    padding-block-start: 32px;
    padding-inline: min(var(--fs-gds-section-gutter), 16px);
  }

  .fs-gds-main__title {
    height: auto;
    min-height: 0;
    margin-block-end: 14px;
    font-size: 20px !important;
    line-height: 25px !important;
  }

  .fs-gds-main__hero {
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
  }

  .fs-gds-main__hero-copy {
    top: 14px;
    right: auto;
    bottom: auto;
    left: 16px;
    width: 65%;
  }

  .fs-gds-main__hero-title,
  .fs-gds-main__hero-accent {
    font-size: clamp(22px, 6.5cqw, 24px);
    line-height: 1.08;
  }

  .fs-gds-main__hero-description {
    margin-top: 8px;
    font-size: 14px;
  }

  .fs-gds-main__hero-cta,
  .fs-gds-main__offer-cta {
    margin-top: 8px;
    padding: 7px 14px;
    font-size: 13px;
  }

  .fs-gds-main__offer-title {
    max-width: 72%;
    font-size: 22px;
  }

  .fs-gds-main__offer-subtitle {
    max-width: 70%;
    margin-top: 7px;
    font-size: 14px;
  }

  .fs-gds-main__card {
    flex-basis: min(72cqw, var(--fs-gds-card-width));
  }

  .fs-gds-main__carousel.has-fixed-items .fs-gds-main__card {
    flex-basis: min(72cqw, var(--fs-gds-card-width));
  }

  .fs-gds-main__card--destination {
    flex-basis: min(46cqw, var(--fs-gds-destination-card-width));
  }

  .fs-gds-main__card,
  .fs-gds-main__offer {
    border-radius: 12px;
  }

  .fs-gds-main__card-title {
    font-size: 15px;
  }

  .fs-gds-main__card-subtitle {
    font-size: 13px;
  }

  .fs-gds-main__card-meta {
    font-size: 11px;
  }

  .fs-gds-main__badge {
    font-size: 16px;
  }

  .fs-gds-main__arrow {
    width: 34px;
    height: 34px;
    font-size: 27px;
  }

  .fs-gds-main__offer {
    height: auto;
    aspect-ratio: 16 / 6;
  }

  .fs-gds-main__dots {
    min-height: 8px;
    gap: 7px;
    margin-block-start: 12px;
  }

  .fs-gds-main__dot {
    width: 5px;
    min-width: 5px;
  }

  .fs-gds-main__dot[aria-current="true"] {
    width: 12px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .fs-gds-main__viewport {
    scroll-behavior: auto;
  }

  .fs-gds-main__card-image {
    transition: none;
  }
}

/* На узких экранах обнуляем горизонтальный transform-сдвиг (Elementor «Offset»),
   заданный у заголовков секций GDS-лендинга: на мобильном он выносил заголовки
   за правый край и создавал горизонтальный скролл всей страницы. Ограничено
   страницей с виджетом главной GDS и только заголовками, чтобы не трогать
   намеренные трансформы других виджетов. */
@media (max-width: 767px) {
  body:has(.fs-gds-main) .elementor-widget-heading.e-transform .elementor-widget-container {
    transform: none !important;
  }
}
