.gpes-swiper-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    clear: both;
}

.gpes-swiper {
    width: 100%;
    max-width: 100%;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.gpes-swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gpes-swiper-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.gpes-swiper-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s ease, opacity 0.3s ease;
    opacity: 0.7;
}

.gpes-swiper-button:hover {
    opacity: 1;
}

.gpes-swiper-button-prev {
    left: 10px;
}

.gpes-swiper-button-next {
    right: 10px;
}

.gpes-swiper-button svg {
    width: 24px;
    height: 24px;
}

/* Pagination - placed BELOW the slider as a normal-flow element */
.gpes-swiper-pagination {
    position: relative !important;
    display: flex !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    padding: 15px 0 !important;
    box-sizing: border-box !important;
    left: 0 !important;
    transform: none !important;
    bottom: auto !important;
}

/* Swiper's default pagination bullet classes */
.gpes-swiper-pagination .swiper-pagination-bullet {
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    background-color: #333 !important;
    opacity: 0.4 !important;
    cursor: pointer !important;
    transition: opacity 0.3s ease, transform 0.3s ease !important;
    margin: 0 4px !important;
}

.gpes-swiper-pagination .swiper-pagination-bullet:hover {
    opacity: 0.7 !important;
}

.gpes-swiper-pagination .swiper-pagination-bullet-active {
    opacity: 1 !important;
    transform: scale(1.2) !important;
    background-color: #0073aa !important;
}

.gpes-no-album,
.gpes-no-images {
    padding: 40px;
    text-align: center;
    background-color: #f5f5f5;
    border-radius: 4px;
    color: #666;
}

.gpes-swiper-placeholder {
    padding: 60px 20px;
    text-align: center;
    background-color: #f0f0f0;
    border: 2px dashed #ccc;
    border-radius: 4px;
    color: #999;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .gpes-swiper-container {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .gpes-swiper {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }
    
    .gpes-swiper .swiper-slide {
        width: 100% !important;
        height: auto !important;
    }
    
    .gpes-swiper-slide {
        width: 100% !important;
    }
    
    .gpes-swiper-slide img {
        width: 100% !important;
        height: auto !important;
        max-height: 300px;
        object-fit: contain;
    }
    
    .gpes-swiper-button {
        width: 36px;
        height: 36px;
    }
    
    .gpes-swiper-button svg {
        width: 18px;
        height: 18px;
    }
    
    .gpes-swiper-button-prev {
        left: 5px;
    }
    
    .gpes-swiper-button-next {
        right: 5px;
    }
    
    .gpes-swiper-pagination .swiper-pagination-bullet {
        width: 8px !important;
        height: 8px !important;
    }
}
