.gdot-instagram-carousel {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 10px;
}

.gdot-instagram-carousel .swiper {
    width: 100%;
    height: auto;
}

.gdot-instagram-carousel .swiper-slide {
    width: 300px; /* Fixed width for desktop */
    height: 300px; /* Fixed height for desktop, ensuring 1:1 aspect ratio */
    overflow: hidden;
}

.gdot-instagram-carousel .gdot-media {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Default, overridden by widget setting */
}

.gdot-instagram-carousel .swiper-button-prev,
.gdot-instagram-carousel .swiper-button-next {
    color: #333;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.gdot-instagram-carousel .swiper-button-prev:hover,
.gdot-instagram-carousel .swiper-button-next:hover {
    background: rgba(255, 255, 255, 1);
}

.gdot-instagram-carousel .swiper-button-prev:after,
.gdot-instagram-carousel .swiper-button-next:after {
    font-size: 20px;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .gdot-instagram-carousel .swiper-slide {
        width: 200px; /* Fixed width for mobile */
        height: 200px; /* Fixed height for mobile, ensuring 1:1 aspect ratio */
    }
}