/* Core layout */
.cm-video-hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  font-family: inherit;
  --cm-overlay-color: rgba(0, 0, 0, 0.5);
}

.cm-video-hero-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.cm-video-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.cm-video-hero-slide.cm-is-active {
  opacity: 1;
  visibility: visible;
}

.cm-video-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dark overlay using variable */
.cm-video-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      90deg,
      var(--cm-overlay-color) 0%,
      var(--cm-overlay-color) 40%,
      var(--cm-overlay-color) 100%
  );
}

.cm-video-hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 7%;
  max-width: 700px;
  color: #ffffff;
}

/* Typography */
.cm-video-hero-subtitle {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 14px;
  margin: 0 0 14px;
}

.cm-video-hero-title {
  font-size: 60px;
  line-height: 1.05;
  margin: 0 0 20px;
}

.cm-video-hero-title .cm-first-word {
  text-transform: lowercase;
  font-weight: 700;
}

.cm-video-hero-excerpt {
  font-size: 16px;
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: 28px;
}

/* Button text + circle + arrow like original */
.cm-video-hero-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13px;
  color: #ffffff;
}

.cm-btn-label {
  white-space: nowrap;
}

/* Circle */
.cm-btn-circle {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #d94924;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Arrow line inside the circle */
.cm-btn-arrow {
  position: relative;
  width: 14px;
  height: 2px;
  background: #d94924;
}

/* Arrow head */
.cm-btn-arrow::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 6px;
  height: 6px;
  border-top: 2px solid #d94924;
  border-right: 2px solid #d94924;
}

/* Simple hover */
.cm-video-hero-button:hover .cm-btn-label {
  color: #ffd2c1;
}

.cm-video-hero-button:hover .cm-btn-circle {
  border-color: #ff6a33;
}

.cm-video-hero-button:hover .cm-btn-arrow {
  background: #ff6a33;
}

.cm-video-hero-button:hover .cm-btn-arrow::after {
  border-color: #ff6a33;
}

/* Vertical dots right side */
.cm-video-hero-dots {
  position: absolute;
  top: 50%;
  right: 32px;
  transform: translateY(-50%);
  list-style: none;
  margin: 0;
  padding: 0;
  z-index: 3;
}

/* Hide dots if you do not want pagination */
.cm-video-hero-dots {
  display: none !important;
}

.cm-video-hero-dot {
  margin: 6px 0;
}

.cm-video-hero-dot button {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  cursor: pointer;
  padding: 4px 0;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.cm-video-hero-dot.cm-is-active button {
  color: #ffffff;
}

/* Social bottom left */
.cm-video-hero-social {
  position: absolute;
  left: 7%;
  bottom: 32px;
  z-index: 3;
  display: flex;
  gap: 18px;
}

.cm-video-hero-social a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  text-decoration: none;
}

.cm-video-hero-social a:hover {
  color: #ffffff;
}

/* Responsive */
@media (max-width: 1024px) {
  .cm-video-hero-content {
    max-width: 100%;
    padding: 0 5%;
  }

  .cm-video-hero-title {
    font-size: 42px;
  }
}

@media (max-width: 768px) {
  .cm-video-hero-slider {
    height: 80vh;
  }

  .cm-video-hero-title {
    font-size: 32px;
  }

  .cm-video-hero-social {
    left: 5%;
    bottom: 20px;
  }
}
