/**
 * Герои и боковые баннеры: моб/планшет — кадр не закрыт текстом и орбами.
 * Scoped; ПК ≥1200 без изменений слайдера.
 */

@media (max-width: 1023px) {
  html body.sk-gems .sk-hero:not(.sk-hero--winter26) .sk-hero__orbs {
    display: none !important;
  }

  html body.sk-gems .sk-hero:not(.sk-hero--winter26) .sk-hero__frame {
    overflow: hidden !important;
  }

  html body.sk-gems .sk-hero__poster-wrap,
  html body.sk-gems .sk-hero__poster-wrap .sk-hero__poster {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

@media (max-width: 820px) {
  html body.sk-gems .sk-hero.sk-hero--winter26 {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  html body.sk-gems .sk-hero--winter26 .sk-hero__frame.sk-hero__frame--winter {
    flex: 0 0 auto;
    max-height: min(56vh, 520px) !important;
    aspect-ratio: 3 / 4 !important;
  }

  html body.sk-gems .sk-hero--winter26 .sk-hero__copy {
    position: static !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    z-index: 2;
    width: 100%;
    max-width: none !important;
    margin: 0;
    padding: 0.85rem 1rem 1rem !important;
    border-radius: 0 0 22px 22px !important;
    box-shadow: 0 8px 24px rgba(74, 59, 82, 0.1) !important;
  }
}

@media (max-width: 1199px) {
  html body.sk-gems .sk-side-banners__item--hero .sk-side-banners__sunset,
  html body.sk-gems .sk-side-banners .sk-rail-world .sk-side-banners__sunset {
    height: 38% !important;
    background: linear-gradient(
      0deg,
      rgba(42, 28, 38, 0.82) 0%,
      rgba(42, 28, 38, 0.28) 55%,
      transparent 100%
    ) !important;
  }

  html body.sk-gems .sk-side-banners__item--hero .sk-side-banners__titles,
  html body.sk-gems .sk-side-banners .sk-rail-world .sk-side-banners__titles {
    right: 8px !important;
    bottom: 6px !important;
    left: 8px !important;
    max-width: calc(100% - 16px) !important;
  }

  html body.sk-gems .sk-side-banners__item--hero .sk-side-banners__brand,
  html body.sk-gems .sk-side-banners .sk-rail-world .sk-side-banners__brand {
    font-size: 14px !important;
  }

  html body.sk-gems .sk-side-banners__item--hero .sk-side-banners__line,
  html body.sk-gems .sk-side-banners .sk-rail-world .sk-side-banners__line {
    font-size: 12px !important;
  }

  html body.sk-gems .sk-side-banners__item--hero .sk-side-banners__note,
  html body.sk-gems .sk-side-banners .sk-rail-world .sk-side-banners__note {
    font-size: 10px !important;
    margin-top: 2px !important;
  }
}

@media (max-width: 767px) {
  html body.sk-gems .sk-side-banners {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  html body.sk-gems .sk-side-banners__item--hero,
  html body.sk-gems .sk-side-banners .sk-rail-world {
    aspect-ratio: 16 / 10 !important;
    max-height: 240px;
  }

  html body.sk-gems .sk-side-banners__item--hero img,
  html body.sk-gems .sk-side-banners .sk-rail-world img {
    object-position: 50% 32% !important;
  }
}

@media (max-width: 430px) {
  html body.sk-gems .sk-side-banners__item--hero,
  html body.sk-gems .sk-side-banners .sk-rail-world {
    max-height: 210px;
  }
}