/* ===============================================
   SWIPER GALLERY – VERSION ASPECT RATIO (FULL)
   =============================================== */

/* Wrapper giữ nguyên */
.bmc-gallery-swiper-wrapper {
    position: relative;
    width: 100%;
    flex: 1 1 auto;
}

.bmc-gallery-swiper {
    position: relative;
    width: 100%;
    height: auto !important;
}

.bmc-gallery-swiper .swiper-slide {
    position: relative;
    width: 100%;
    height: auto !important;          
    aspect-ratio: 11/ 13;            
    overflow: hidden;
    display: flex;
}

/* Ảnh full slide */
.bmc-gallery-slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: transform 0.4s ease;
}

.bmc-gallery-swiper .swiper-slide:hover .bmc-gallery-slide-image {
    transform: scale(1.03);
}

.bmc-gallery-slide-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 18px 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    color: #fff;
}

.bmc-gallery-slide-title {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 600;
}

.bmc-gallery-slide-subtitle {
    margin: 0;
    font-size: 14px;
}

.bmc-gallery-swiper .swiper-button-prev,
.bmc-gallery-swiper .swiper-button-next {
    color: #fff;
    width: 40px;
    height: 80px;
}

/* ===============================================
   RESPONSIVE
   =============================================== */

@media (max-width: 1024px) {
    .bmc-gallery-swiper .swiper-slide {
        aspect-ratio: 4 / 3;   /* cao hơn 1 chút */
    }
}

@media (max-width: 768px) {
    .bmc-gallery-swiper .swiper-slide {
        aspect-ratio: 3 / 2;   /* chữ nhật ngang, gọn */
    }
}

/* Mobile nhỏ 480px */
@media (max-width: 480px) {
    .bmc-gallery-swiper .swiper-slide {
        aspect-ratio: 1.4 / 1;   /* gần vuông nhưng vẫn ngang */
    }
}
