#slideshow {
  margin: 0;
  padding: 0;
  line-height: 0;
}

.hero-slideshow {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
  background: #3a3a3a;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
  text-decoration: none;
  z-index: 0;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

.hero-slide img {
  width: 100%;
  max-width: 960px;
  height: 100%;
  object-fit: cover;
  display: block;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.hero-slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 20px 25px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.15) 50%, transparent 100%);
  text-align: center;
  z-index: 3;
  pointer-events: none;
  line-height: normal;
}

.hero-slide-label {
  display: block;
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 700;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 6px;
}

.hero-slide-sub {
  display: block;
  color: rgba(255, 255, 255, 0.9);
  font-family: 'Lato', sans-serif;
  font-size: clamp(0.9rem, 1.8vw, 1.15rem);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.hero-slide-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.25);
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  margin: 0;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-sizing: border-box;
}

.hero-slide-nav:hover {
  background: rgba(244, 0, 0, 0.75);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

.hero-slide-nav-left {
  left: 16px;
}

.hero-slide-nav-right {
  right: 16px;
}

.hero-slide-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 15px;
  margin-bottom: 10px;
}

.hero-slide-dot {
  width: 10px;
  height: 10px;
  min-width: 10px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  padding: 0;
  margin: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}

.hero-slide-dot:hover {
  background: rgba(244, 0, 0, 0.5);
}

.hero-slide-dot.active {
  background: #f40000;
  transform: scale(1.3);
}

@media (max-width: 960px) {
  .hero-slide img {
    max-width: 100%;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

@media (max-width: 768px) {
  .hero-slideshow {
    height: 320px;
  }
  .hero-slide-overlay {
    padding: 20px 15px 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.15) 55%, transparent 100%);
  }
  .hero-slide-nav {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    font-size: 16px;
    padding: 0;
  }
  .hero-slide-nav-left {
    left: 8px;
  }
  .hero-slide-nav-right {
    right: 8px;
  }
}
