/* Главная: слайдер первого экрана из блоков «Старт продаж» объектов (resources/views/home/blocks/hero.blade.php) */

.hs-slider {
  position: relative;
  margin-top: 100px;
}

.hs-track {
  display: grid;
}

/* все слайды в одной ячейке: высота слайдера — по самому высокому */
.hs-slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0s linear 0.6s;
}

.hs-slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s ease;
}

.hs-controls {
  position: absolute;
  z-index: 2;
  bottom: 16px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 16px;
  transform: translateX(-50%);
}

.hs-dots {
  display: flex;
  gap: 10px;
}

.hs-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.hs-dot:hover {
  background: rgba(255, 255, 255, 0.5);
}

.hs-dot.is-active {
  border-color: var(--ew-orange, #f26608);
  background: var(--ew-orange, #f26608);
}

.hs-arrow {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: rgba(45, 39, 32, 0.35);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.hs-arrow:hover {
  border-color: var(--ew-orange, #f26608);
  background: rgba(45, 39, 32, 0.6);
}

.hs-dot:focus-visible,
.hs-arrow:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.hs-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (prefers-reduced-motion: reduce) {
  .hs-slide,
  .hs-slide.is-active {
    transition: none;
  }
}

/* Заголовок слайдов со второго — h2: те же правила, что для h1 первого слайда
   (embassy-world.min.css, suvarna-css-debt.css) */
.ew-hero .hs-title {
  max-width: 780px;
  margin-bottom: 32px;
  font-size: 64px;
  font-weight: 600;
}

@media (min-width: 901px) and (max-width: 1180px) {
  body.ew-page .ew-hero__content .hs-title {
    max-width: 100%;
    font-size: clamp(44px, 5vw, 56px);
    line-height: 1.12;
  }
}

@media (max-width: 620px) {
  .ew-hero .hs-title {
    margin-bottom: 32px;
    font-size: 40px;
    font-weight: 600;
    white-space: nowrap;
  }

  body.ew-page .ew-hero .hs-title {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: normal;
  }
}

@media (max-width: 360px) {
  .ew-hero .hs-title {
    font-size: 36px;
    white-space: normal;
  }
}

/* suvarna-figma-typography.css: знак бата в крупной цене */
body.ew-page.ew-page .ew-price > strong[data-hs-price] .ew-currency-symbol {
  font-weight: 400;
  line-height: 1;
  vertical-align: -0.025em;
}
