/* Carousel styles */
.wp-block-gallery-2 {
    position: relative;
    overflow: hidden;
    height: 56vh;
    @media(max-width: 1600px) {
      height: 45vh;
    }
    @media(max-width: 1300px) {
      height: 30vh;
    }
    @media(max-width: 900px) {
      height: 15vh;
    }
}

.wp-block-gallery-2 .wp-block-image {
    display: none;
    width: 100%;
    position: absolute;
}
.wp-block-gallery.has-nested-images figure.wp-block-image {
  position: absolute;
}

.wp-block-gallery-2 .wp-block-image.active {
    display: block;
}

.carousel-bullets {
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-bullet {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
    padding: 0;
}

.carousel-bullet.active {
    background-color: #fff;
}

.carousel-bullet:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

/* Smooth transition effect */
.wp-block-gallery-2 .wp-block-image {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
}

.wp-block-gallery-2 .wp-block-image.active {
    opacity: 1;
    position: relative;
}
