.cc_n1ohzs9r_7LDjfNVN8y .discovery-slider {
  display: flex;
  flex-direction: column;
}

.cc_n1ohzs9r_7LDjfNVN8y .discovery-slider__container {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 16px;
}

.cc_n1ohzs9r_7LDjfNVN8y .discovery-slider__title {
  margin: 0 0 24px;
  padding: 0;
  font-family: var(--font-body);
  font-weight: var(--st-fw, 600);
  font-size: var(--st-fs, 40px);
  line-height: var(--st-lh, 48px);
  color: #000000;
}

.cc_n1ohzs9r_7LDjfNVN8y .discovery-slider__viewport {
  position: relative;
  padding: 0;
}

.cc_n1ohzs9r_7LDjfNVN8y .discovery-slider__track {
  display: flex;
  gap: var(--discovery-card-gap-desktop, 32px);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  touch-action: pan-x pan-y;
  -webkit-user-select: none;
  user-select: none;
}

.cc_n1ohzs9r_7LDjfNVN8y .discovery-slider__track--dragging, .cc_n1ohzs9r_7LDjfNVN8y .discovery-slider__track--dragging.discovery-slider__track--grid {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
  overflow-x: auto;
}

.cc_n1ohzs9r_7LDjfNVN8y .discovery-slider__track--dragging .discovery-card {
  pointer-events: none;
}

.cc_n1ohzs9r_7LDjfNVN8y .discovery-slider__track .discovery-card {
  cursor: default;
}

.cc_n1ohzs9r_7LDjfNVN8y .discovery-slider__track::-webkit-scrollbar {
  display: none;
}

.cc_n1ohzs9r_7LDjfNVN8y .discovery-slider__track--grid {
  display: grid;
  grid-template-columns: repeat(var(--discovery-grid-columns, 4), 1fr);
  overflow-x: visible;
  scroll-snap-type: none;
  cursor: default;
  touch-action: auto;
  -webkit-user-select: auto;
  user-select: auto;
}

.cc_n1ohzs9r_7LDjfNVN8y .discovery-slider__fade {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 24px;
  width: 96px;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.85));
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 70%);
  mask-image: linear-gradient(to right, transparent, #000 70%);
}

.cc_n1ohzs9r_7LDjfNVN8y .discovery-slider__fade--visible {
  opacity: 1;
}

.cc_n1ohzs9r_7LDjfNVN8y .discovery-slider__nav {
  position: absolute;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  background: #ffffff1a;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 10px -2px rgba(0, 0, 0, 0.5);
  color: #000000;
  cursor: pointer;
  overflow: hidden;
  transition: background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.cc_n1ohzs9r_7LDjfNVN8y .discovery-slider__nav::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(-45deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 28%, rgba(255, 255, 255, 0) 72%, rgba(255, 255, 255, 1) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.85;
  transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.cc_n1ohzs9r_7LDjfNVN8y .discovery-slider__nav svg {
  position: relative;
}

.cc_n1ohzs9r_7LDjfNVN8y .discovery-slider__nav:hover {
  background: #ffffff0d;
  box-shadow: 0 8px 18px -3px rgba(0, 0, 0, 0.65);
}

.cc_n1ohzs9r_7LDjfNVN8y .discovery-slider__nav:hover::before {
  opacity: 1;
}

.cc_n1ohzs9r_7LDjfNVN8y .discovery-slider__nav--prev {
  left: 16px;
}

.cc_n1ohzs9r_7LDjfNVN8y .discovery-slider__nav--next {
  right: 16px;
}

@media (min-width: 1025px) {
  .cc_n1ohzs9r_7LDjfNVN8y .discovery-slider__fade {
    display: none;
  }

  .cc_n1ohzs9r_7LDjfNVN8y .discovery-slider__track--grid .discovery-card {
    width: 100%;
    min-width: 0;
    flex-shrink: 1;
    scroll-snap-align: none;
  }
}

@media (max-width: 1024px) {
  .cc_n1ohzs9r_7LDjfNVN8y .discovery-slider__title {
    font-size: var(--st-fs-m, 28px);
    line-height: var(--st-lh-m, 36px);
    padding: 0;
    font-weight: var(--st-fw-m, var(--st-fw, 600));
  }

  .cc_n1ohzs9r_7LDjfNVN8y .discovery-slider__viewport {
    padding: 0;
  }

  .cc_n1ohzs9r_7LDjfNVN8y .discovery-slider__fade {
    right: 0;
    width: 48px;
  }

  .cc_n1ohzs9r_7LDjfNVN8y .discovery-slider__nav {
    display: none;
  }

  /* Grid mode is web/tablet-only — mobile always falls back to the slider */
  .cc_n1ohzs9r_7LDjfNVN8y .discovery-slider__track--grid {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    cursor: grab;
    touch-action: pan-x pan-y;
    -webkit-user-select: none;
    user-select: none;
  }

  .cc_n1ohzs9r_7LDjfNVN8y .discovery-slider__track--grid .discovery-card {
    width: var(--discovery-card-width-mobile, 295px);
    flex-shrink: 0;
    scroll-snap-align: center;
  }

  .cc_n1ohzs9r_7LDjfNVN8y .discovery-slider__track {
    gap: var(--discovery-card-gap-mobile, 16px);
  }
}
