.oh-gallery-slider {
  position: relative;
  min-height: 620px;
  background: #111;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.oh-gallery-slides,
.oh-gallery-slide,
.oh-gallery-overlay {
  position: absolute;
  inset: 0;
}

.oh-gallery-slides {
  z-index: 0;
}

.oh-gallery-slide {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.9s ease, transform 5s ease;
  will-change: opacity, transform;
}

.oh-gallery-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.oh-gallery-empty-slide {
  background: radial-gradient(
      circle at 70% 30%,
      rgba(229, 38, 41, 0.18),
      transparent 28%
    ),
    linear-gradient(135deg, #111 0%, #22313a 100%);
}

.oh-gallery-overlay {
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
  pointer-events: none;
}

.oh-gallery-content {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 80px 24px;
}

.oh-gallery-heading {
  margin: 0 0 26px;
  color: #fff;
  font-size: 76px;
  line-height: 0.95;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.oh-gallery-heading span {
  display: block;
}

.oh-gallery-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 360px;
}

.oh-gallery-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #fff;
}

.oh-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: #e52629;
  font-size: 32px;
  line-height: 1;
  margin-top: 2px;
}

.oh-feature-icon svg {
  display: block;
  width: 1em;
  height: 1em;
  fill: currentColor;
}

.oh-feature-title {
  font-size: 18px;
  line-height: 1.1;
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
}

.oh-feature-desc {
  margin-top: 3px;
  font-size: 15px;
  line-height: 1.35;
  color: #fff;
}

.oh-gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: #e52629;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, transform 0.2s ease;
}

.oh-gallery-arrow:hover {
  color: #fff;
  transform: translateY(-50%) scale(1.08);
}

.oh-gallery-prev {
  left: 22px;
}

.oh-gallery-next {
  right: 22px;
}

.oh-gallery-dots {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
}

.oh-gallery-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.oh-gallery-dot.is-active,
.oh-gallery-dot:hover {
  background: #e52629;
  transform: scale(1.2);
}

@media (max-width: 1024px) {
  .oh-gallery-slider {
    min-height: 560px;
  }

  .oh-gallery-heading {
    font-size: 62px;
  }

  .oh-gallery-content {
    padding: 70px 22px;
  }
}

@media (max-width: 767px) {
  .oh-gallery-slider {
    min-height: 480px;
    align-items: flex-end;
  }

  .oh-gallery-content {
    padding: 60px 18px 54px;
  }

  .oh-gallery-heading {
    font-size: 46px;
    line-height: 0.98;
    margin-bottom: 20px;
  }

  .oh-gallery-features {
    gap: 10px;
    max-width: 100%;
  }

  .oh-feature-title {
    font-size: 16px;
  }

  .oh-feature-desc {
    font-size: 14px;
  }

  .oh-gallery-arrow {
    width: 36px;
    height: 36px;
    font-size: 28px;
  }

  .oh-gallery-prev {
    left: 10px;
  }

  .oh-gallery-next {
    right: 10px;
  }
}
