/* Gallery Slider Styles - Minimal CSS, JavaScript handles animations */
figure[data-gallery="slide"] {
  position: relative;
  overflow: hidden;
  width: 100%;
}

figure[data-gallery="slide"] .gallery-slides-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}

figure[data-gallery="slide"] figure.wp-block-image {
  min-width: 100% !important;
  width: 100% !important;
  flex-shrink: 0;
}

figure[data-gallery="slide"]>figure.wp-block-image img,
figure[data-gallery="slide"] .gallery-slides-wrapper figure.wp-block-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Navigation Controls */
.gallery-slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  /* padding: 0 15px; */
  pointer-events: none;
  z-index: 10;
}

.gallery-slider-nav button {
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  pointer-events: all;
  transition: background-color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.gallery-slider-nav button:hover {
  background: rgba(0, 0, 0, 0.7);
}

.gallery-slider-nav button:focus {
  outline: 0;
}

/* Dots Navigation */
.gallery-slider-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.gallery-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: #f5f5f5;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gallery-dot.active {
  background: #FFB510;
}

.gallery-dot:hover {
  border-color: #FFB510;
  background: rgba(255, 255, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
  .gallery-slider-nav {
    /* padding: 0 10px; */
  }

  .gallery-slider-nav button {
    width: 35px;
    height: 35px;
  }

  .gallery-slider-dots {
    bottom: 10px;
  }

  .gallery-dot {
    width: 10px;
    height: 10px;
  }
}

/* Alternative: CSS-only slider using block style */
.wp-block-gallery.is-style-slider {
  position: relative;
  overflow: hidden;
}

.wp-block-gallery.is-style-slider .wp-block-gallery__item {
  display: none;
}

.wp-block-gallery.is-style-slider .wp-block-gallery__item:first-child {
  display: block;
}