/* CSS cho kích thước slide tùy chỉnh */
.panel-slide {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.panel-slide .swiper-container {
    width: 100% !important;
    height: 100% !important;
}

.panel-slide .swiper-wrapper {
    width: 100%;
    height: 100%;
}

.panel-slide .swiper-slide {
    width: 100% !important;
    height: 100% !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.panel-slide .slide-item {
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
}

.panel-slide .slide-item .image {
    width: 100%;
    height: 100%;
    display: block;
}

.panel-slide .slide-item .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Video slide dimensions */
.panel-slide .slide-item.video-slide {
    width: 100%;
    height: 100%;
}

.panel-slide .slide-item.video-slide .video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .panel-slide {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .panel-slide {
        max-width: 100%;
    }
}

/* Ensure proper aspect ratio */
.panel-slide .swiper-slide img,
.panel-slide .swiper-slide video {
    max-width: 100%;
    max-height: 100%;
}
