.slider {
  background: #17130d;
}

.slide {
  background: #17130d;
  display: block;
  min-width: 100%;
}

.slide:focus-visible {
  outline: 4px solid var(--gold-2);
  outline-offset: -4px;
}

.slide picture,
.slide img {
  display: block;
  width: 100%;
}

.slide img {
  aspect-ratio: 1920 / 865;
  height: auto;
  object-fit: contain;
}

.slide-linkbar {
  align-items: center;
  background: linear-gradient(90deg, #17130d, #2b2112);
  color: #f7ebce;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  min-height: 54px;
  padding: 11px 18px;
}

.slide-linkbar strong {
  font-size: 15px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.slide-linkbar span {
  color: var(--gold-2);
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 900;
}

.dots {
  background: rgba(0, 0, 0, .34);
  border-radius: 999px;
  bottom: 66px;
  gap: 7px;
  left: 50%;
  padding: 2px 6px;
  right: auto;
  transform: translateX(-50%);
  width: max-content;
  z-index: 3;
}

.dot {
  appearance: none;
  background: transparent;
  border: 0;
  height: 24px;
  padding: 0;
  position: relative;
  width: 24px;
}

.dot::after {
  background: rgba(255, 255, 255, .68);
  border-radius: 50%;
  content: '';
  height: 10px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: width .2s ease, background .2s ease;
  width: 10px;
}

.dot.active::after {
  background: var(--gold-2);
  border-radius: 6px;
  width: 20px;
}

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

.arrow {
  background: rgba(0, 0, 0, .44);
  top: calc(50% - 27px);
  z-index: 4;
}

.arrow:hover {
  background: rgba(0, 0, 0, .7);
}

.counter {
  background: rgba(0, 0, 0, .62);
  font-weight: 700;
  right: 16px;
  z-index: 4;
}

.carousel-toggle {
  background: rgba(0, 0, 0, .62);
  border: 1px solid rgba(255, 255, 255, .48);
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  left: 16px;
  padding: 5px 10px;
  position: absolute;
  top: 16px;
  z-index: 4;
}

@media (max-width: 600px) {
  .slide-linkbar {
    min-height: 50px;
    padding: 10px 13px;
  }

  .slide-linkbar strong {
    font-size: 13px;
  }

  .dots {
    bottom: 61px;
  }

  .carousel-toggle,
  .counter {
    top: 10px;
  }

  .carousel-toggle {
    left: 10px;
  }

  .counter {
    right: 10px;
  }

  .dots {
    display: none;
  }
}

@media (max-width: 720px) {
  .dots {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .slides,
  .dot::after,
  .arrow {
    scroll-behavior: auto;
    transition: none;
  }
}
