* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

.elementor-widget-montoport_mixed_media_hero {
  width: 100% !important;
}

.mix-hero {
  position: relative;
  max-height: 100vh;
  height: 100vh;
  overflow: hidden;
  background: #000;
}

.elementor-widget-montoport_mixed_media_hero .slide {
  max-height: none;
}

.mix-hero__video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  opacity: 0;
  transition: opacity 0.65s ease;
  pointer-events: none;
}

.mix-hero.mix-hero--video-active .mix-hero__video {
  opacity: 1;
  pointer-events: auto;
}

.mix-hero .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
  z-index: 1;
}

.mix-hero .slide.active { opacity: 1; }
.mix-hero .slide:not(.active) { pointer-events: none; }
.mix-hero .slide--video { background: transparent !important; pointer-events: none; }

.mix-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
}

.mix-hero .overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.35); z-index: 2; }
.mix-hero .slide--video .overlay { background: rgba(0, 0, 0, 0.28); }

.mix-hero .slide h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-family: 'Ghotam';
  font-size: clamp(28px, 5vw, 56px);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-align: center;
  margin: 0;
  max-width: 90vw;
  pointer-events: none;
  z-index: 3;
}

.hero-play {
  position: absolute;
  bottom: 32px;
  left: 32px;
  z-index: 10;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #00000061;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.hero-play.hero-play--hidden {
  display: none;
}

.hero-play svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.hero-play circle { fill: none; stroke-width: 2; }
.hero-play .ring-track { stroke: #5c5c5c; }
.hero-play .ring-progress { stroke: #fff; stroke-linecap: round; }

.hero-play .icon-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-play .icon-pause {
  display: flex;
  gap: 3px;
  align-items: center;
  justify-content: center;
}

.hero-play .icon-pause::before,
.hero-play .icon-pause::after {
  content: "";
  width: 2px;
  height: 10px;
  background: #fff;
}

.mix-hero.is-paused .hero-play .icon-pause { gap: 0; }
.mix-hero.is-paused .hero-play .icon-pause::before {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent #fff;
  background: none;
  margin-left: 2px;
}
.mix-hero.is-paused .hero-play .icon-pause::after { display: none; }

.hero-pagination {
  position: absolute;
  bottom: 32px;
  right: 32px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 12px;
}

.pagination-item {
  border: none;
  padding: 0;
  cursor: pointer;
  background: #fff;
  transition: width 0.35s ease, height 0.35s ease, border-radius 0.35s ease, opacity 0.35s ease;
}

.pagination-item.dot { width: 8px; height: 8px; border-radius: 50%; opacity: 0.45; }
.pagination-item.pill { width: 44px; height: 8px; border-radius: 4px; opacity: 1; }

.pagination-next {
  margin-left: 4px;
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  position: relative;
  top: -2px;
}

@media (max-width: 767px) {
  .video .mix-hero {
    max-height: 200px;
    object-fit: contain;
    margin-left: 20px;
    margin-right: 20px !important;
    width: calc(100vw - 40px);
  }

  .video .elementor-widget-container {
    padding-bottom: 60px !important;
  }

  .mix-hero .slide h1 {
    font-size: 40px;
  }

  h2.e-heading-base {
    width: 90% !important;
    font-size: 24px !important;
  }

  div#mixHero-ab6f25b {
    width: 90vw !important;
    margin-left: 5vw !important;
    height: 30vh;
  }

  div#mixHero-ab6f25b video {
    object-fit: cover;
  }
}

