:root {}

.sgs {
  --sgs-text: rgba(255, 255, 255, 0.92);
  --sgs-muted: rgba(255, 255, 255, 0.72);
  --sgs-panel-border: rgba(255, 255, 255, 0.12);

  --sgs-gold0: #f7d890;
  --sgs-gold1: #e9b24c;
  --sgs-gold-text: #0b0b0e;

  --sgs-radius-lg: 18px;
  --sgs-radius-pill: 999px;
  --sgs-shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.35);
  --sgs-slide-aspect: 1 / 1;

  color: inherit;
  font-family: inherit;
}

.sgs__title {
  margin: 25px 0;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 49px;
  color: #fff !important;
  text-align: center;
}

.sgs__carousel {
  position: relative;
}

.sgs__viewport {
  border-radius: var(--sgs-radius-lg);
  box-shadow: var(--sgs-shadow-soft);
  border: 1px solid var(--sgs-panel-border);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  background: rgba(0, 0, 0, 0.12);
}

.sgs__viewport::-webkit-scrollbar {
  display: none;
}

.sgs__track {
  --sgs-slide-width: 78%;
  --sgs-gap: 14px;

  display: flex;
  gap: var(--sgs-gap);
  padding: 14px calc((100% - var(--sgs-slide-width)) / 2);
  align-items: stretch;
}

.sgs__slide {
  flex: 0 0 var(--sgs-slide-width);
  scroll-snap-align: center;
  position: relative;
  border-radius: var(--sgs-radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--sgs-panel-border);

  aspect-ratio: var(--sgs-slide-aspect);
  transform: scale(0.94);
  opacity: 0.6;
  filter: blur(6px) saturate(0.98);
  transition: transform 220ms ease, opacity 220ms ease, filter 220ms ease;
  cursor: pointer;
}

.sgs__slide[data-active="true"] {
  transform: scale(1);
  opacity: 1;
  filter: none;
  cursor: default;
}

.sgs__img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center !important;
}

.sgs__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%) !important;
  z-index: 5;
  height: 44px;
  width: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  background: rgba(3, 10, 26, 0.6) !important;
  background-image: none !important;
  color: rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35) !important;
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer !important;
  user-select: none;
  padding: 0 !important;
  line-height: 1 !important;
  font: inherit !important;
  text-decoration: none !important;
  text-shadow: none !important;
  filter: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

.sgs__arrow:hover,
.sgs__arrow:active,
.sgs__arrow:focus {
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  background: rgba(3, 10, 26, 0.6) !important;
  background-image: none !important;
  color: rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35) !important;
  filter: none !important;
  transform: translateY(-50%) !important;
}

.sgs__arrow:focus-visible {
  outline: 3px solid rgba(247, 216, 144, 0.55);
  outline-offset: 3px;
}

.sgs__arrow > span {
  font-size: 26px;
  line-height: 1;
  transform: translateY(-1px);
}

.sgs__arrow--left {
  left: -8px;
}

.sgs__arrow--right {
  right: -8px;
}

.sgs__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: var(--sgs-radius-pill);
  padding: 12px 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
  font-family: Poppins, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif !important;
  color: var(--sgs-gold-text);
  background: linear-gradient(180deg, var(--sgs-gold0), var(--sgs-gold1));
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.18);
  width: 100%;
  margin-top: 16px;
}

.sgs__cta:hover {
  filter: brightness(1.03);
}

.sgs__cta:focus-visible {
  outline: 3px solid rgba(247, 216, 144, 0.6);
  outline-offset: 3px;
}

@media (min-width: 900px) {
  .sgs__arrow {
    display: inline-flex;
  }

  .sgs__viewport {
    scroll-snap-type: none;
  }

  .sgs__track {
    --sgs-slide-width: clamp(220px, 24vw, 340px);
    --sgs-gap: 16px;
    padding: 16px;
  }

  .sgs__slide {
    transform: none;
    opacity: 1;
    filter: none;
    cursor: default;
  }

  .sgs {
    --sgs-slide-aspect: 4 / 5;
  }

  .sgs__cta {
    width: auto;
    padding-inline: 22px;
  }
}

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

  .sgs__slide {
    transition: none;
  }
}

