/* BLOG SLIDESHOW — The Gourmet Box */

/* HERO slideshow */
.blog-hero-slideshow {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
  background: var(--ch);
  margin-bottom: 48px;
}
@media(max-width:768px){
  .blog-hero-slideshow { height: 280px; margin-bottom: 32px; }
}
.blog-hero-slideshow .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.blog-hero-slideshow .slide.active { opacity: 1; }
.blog-hero-slideshow .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.blog-hero-slideshow::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 40%,
    rgba(37,46,39,.55) 100%
  );
  z-index: 1;
  pointer-events: none;
}
.slideshow-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.slideshow-dots .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  cursor: pointer;
  transition: background .3s, transform .3s;
  border: none;
  padding: 0;
}
.slideshow-dots .dot.active {
  background: #fff;
  transform: scale(1.3);
}

/* INLINE slideshow */
.blog-inline-slideshow {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 10px;
  margin: 36px 0;
  background: var(--ch);
}
.blog-inline-slideshow .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.blog-inline-slideshow .slide.active { opacity: 1; }
.blog-inline-slideshow .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.blog-inline-slideshow .slideshow-dots {
  bottom: 10px;
}
