.tlc-hero-carousel {
  --arrow-bg: #f56e42;
  --arrow-bg-hover: #ec5d2d;
  --dot: rgba(255, 255, 255, 0.45);
  --dot-active: #ffffff;
  --radius-main: 10px;
  --radius-accent: 140px;
  position: relative;
  width: min(900px, 100%);
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius-main);
  border-top-left-radius: var(--radius-accent);
  border-bottom-right-radius: var(--radius-accent);
  background: #e7eef3;
  height: 100%;
  min-height: 560px;
}

.tlc-hero-carousel .tlc-hero-track {
  position: absolute;
  width: 100%;
  height: 100%;
}

.tlc-hero-carousel .tlc-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 420ms ease;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

.tlc-hero-carousel .tlc-hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.tlc-hero-carousel .tlc-hero-slide img,
.tlc-hero-carousel .tlc-hero-slide video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
}

.tlc-hero-carousel .tlc-hero-controls {
  position: absolute;
  left: 22px;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 3;
}

.tlc-hero-carousel .tlc-hero-arrow {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  background: var(--arrow-bg);
  color: #fff;
  font-size: 1.7rem;
  line-height: 1.4;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  transition: background-color 180ms ease, transform 120ms ease, opacity 120ms ease;
}

.tlc-hero-carousel .tlc-hero-arrow:hover {
  background: var(--arrow-bg-hover);
}

.tlc-hero-carousel .tlc-hero-arrow:active {
  transform: scale(0.96);
}

.tlc-hero-carousel .tlc-hero-arrow.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.tlc-hero-carousel .tlc-hero-dots {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: 2px;
}

.tlc-hero-carousel .tlc-hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  background: var(--dot);
  cursor: pointer;
  padding: 0;
}

.tlc-hero-carousel .tlc-hero-dot.is-active {
  width: 22px;
  background: var(--dot-active);
}

@media (max-width: 1024px) {
  .tlc-hero-carousel {
    min-height: 460px;
  }
}

@media (max-width: 767px) {
  .tlc-hero-carousel {
    min-height: 360px;
    border-top-left-radius: 90px;
    border-bottom-right-radius: 90px;
  }

  .tlc-hero-carousel .tlc-hero-controls {
    left: 14px;
    bottom: 14px;
  }

  .tlc-hero-carousel .tlc-hero-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.4rem;
  }
}
