/* Basic Styles */
       .swiper-manager-container.swiper-style1 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
               
        .swiper-manager-container.swiper-style1 {
            width: 100%;
            position: relative;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        .swiper-manager-container.swiper-style1 .main-swiper {
            /* Default style - will be overridden by media queries if needed */
        }
        
        /* Media query for screens less than 1024px wide */
        @media (max-width: 1023px) {
            .swiper-manager-container.swiper-style1 .main-swiper {
                height: auto !important;
            }
        }

        .swiper-manager-container.swiper-style1 .swiper-slide {
            position: relative;
            overflow: hidden;
            min-height: 300px; /* Ensure slider items have basic height */
        }
        
        /* Background Image and Video Styles */
        .swiper-manager-container.swiper-style1 .slide-background-img {
            position: relative; /* Ensure correct height calculation */
            width: 100%;
            height: auto; /* Auto height to maintain aspect ratio */
            display: block; /* Remove whitespace below the image */
            z-index: 1; /* Background image at the bottom layer */
        }
        
        .swiper-manager-container.swiper-style1 .video-container {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%; /* 100% height relative to parent element */
            z-index: 2; /* Video container above background image */
        }
        
        .swiper-manager-container.swiper-style1 .video-container iframe,
        .swiper-manager-container.swiper-style1 .video-container video {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        /* Content Container Styles */
        .swiper-manager-container.swiper-style1 .slide-content {
            position: absolute;
            top: 0;
            left: 0;
            z-index: 4; /* Text content at the top */
            color: white;
            padding: 2em 4em;
            height: 100%; /* 100% height relative to parent element */
            width: 100%; /* 100% width relative to parent element */
            display: flex;
            flex-direction: column;
            justify-content: center;
            max-width: 100%;
            margin: 0 auto;
            text-align: center;
        }
        
        /* Text Styles */
        .swiper-manager-container.swiper-style1 .slide-title {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            text-shadow: 0 2px 4px rgba(0,0,0,0.5);
            color:#fff;
        }
        
        .swiper-manager-container.swiper-style1 .slide-subtitle {
            font-size: 1.5rem;
            margin-bottom: 1.5rem;
            text-shadow: 0 2px 4px rgba(0,0,0,0.5);
            color:#fff;
        }
        
        .swiper-manager-container.swiper-style1 .slide-description {
            font-size: 1rem;
            margin-bottom: 2rem;
            line-height: 1.6;
            text-shadow: 0 1px 2px rgba(0,0,0,0.5);
            color:#fff;
        }
        
        /* Link Button Styles */
        .swiper-manager-container.swiper-style1 .slide-link {
            display: inline-block;
            padding: 0.8rem 1.5rem;
            background-color: rgba(255,255,255,0.9);
            color: #333;
            text-decoration: none;
            border-radius: 4px;
            font-weight: 600;
            transition: all 0.3s ease;
            align-self: center;
        }
        
        .swiper-manager-container.swiper-style1 .slide-link:hover {
            background-color: white;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        }
        
        /* Overlay to make text clearer */
        .swiper-manager-container.swiper-style1 .slide-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%; /* 100% height relative to parent element */
            background-color: rgba(0,0,0,0.3); /* Black with 0.3 opacity */
            z-index: 3; /* Overlay above video, below text */
        }
        
        /* Navigation Button Styles */
        .swiper-manager-container.swiper-style1 .swiper-button-prev, .swiper-manager-container.swiper-style1 .swiper-button-next {
            display: block;
            position: absolute;
            top: 50%;
            width: 32px;
            height: 32px;            
            margin-top: -16px;
            z-index: 10;
            cursor: pointer;
            background-color: rgba(0,0,0,0.5);
            border-radius: 50%;
            color: white;
            text-align: center;
            line-height: 24px;
            transition: all 0.3s ease;
        }

        .swiper-manager-container.swiper-style1 .swiper-button-next svg, .swiper-manager-container.swiper-style1 .swiper-button-prev svg{
            margin-top:20%;            
            height: 60%; /* 图标高度 = 按钮高度 */
            width: 60%;  /* 图标宽度 = 按钮宽度 */
        }
        
        .swiper-manager-container.swiper-style1 .swiper-button-prev {
            left: 8px;
        }
        
        .swiper-manager-container.swiper-style1 .swiper-button-next {
            right: 8px;
        }
        
        .swiper-manager-container.swiper-style1 .swiper-button-prev:hover, .swiper-manager-container.swiper-style1 .swiper-button-next:hover {
            background-color: rgba(0,0,0,0.75);
            transform: scale(1);
        }
        
        /* Pagination Indicator Styles */
        .swiper-manager-container.swiper-style1 .swiper-pagination {
            display: block;
            position: absolute;
            bottom: 10px; /* 调整位置，避免与缩略图容器重叠 */
            left: 0;
            width: 100%;
            text-align: center;
            z-index: 10;
        }

        .swiper-manager-container.swiper-style1 .swiper-pagination-bullet {
            background: rgba(255, 255, 255, 0.5);
            width: 10px;
            height: 10px;
        }

        .swiper-manager-container.swiper-style1 .swiper-pagination-bullet-active {
            background: white;
            width: 12px;
            height: 12px;
        }
        
        /* Thumbnail Slider Styles */
        .swiper-manager-container.swiper-style1 .swiper-thumbs-container {
            position: absolute;
            bottom: 15px;
            left: 0;
            right: 0;
            width: 100%;
            z-index: 5;
        }
        
        .swiper-manager-container.swiper-style1 .thumbs-swiper {
           
            padding: 10px;
            border-radius: 4px;
            max-width: 90%;
            margin: 0 auto;
        }
        
        .swiper-manager-container.swiper-style1 .thumbs-swiper .swiper-wrapper {
            align-items: center;
            justify-content: center;
        }
        
        .swiper-manager-container.swiper-style1 .thumbs-swiper .swiper-slide {
            width: 80px !important;
            height: 50px;
            margin: 0 5px;
            opacity: 0.6;
            cursor: pointer;
            transition: all 0.3s ease;
            min-height: 50px;
            border-radius: 2px;
            overflow: hidden;
        }
        
        .swiper-manager-container.swiper-style1 .thumbs-swiper .swiper-slide-thumb-active {
            opacity: 1;
            border: 2px solid #fff;
            transform: scale(1.05);
        }
        
        .swiper-manager-container.swiper-style1 .thumbs-swiper .swiper-slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .swiper-manager-container.swiper-style1 .thumbs-swiper .swiper-slide .thumb-title {
            display: none; /* 缩略图中标题可能太小，暂时隐藏 */
        }
        
        /* Responsive Adjustments */
        @media (max-width: 768px) {
            .swiper-manager-container.swiper-style1 .slide-title {
                font-size: 2rem;
            }
            
            /* Mobile 1:1 aspect ratio for background images and videos */
           
             .swiper-manager-container.swiper-style1 img.md-squre,
             .swiper-manager-container.swiper-style1 iframe.md-squre,
             .swiper-manager-container.swiper-style1 video.md-squre {                
                width: 100%;
                
                aspect-ratio: 1 / 1;
                object-fit: cover !important;
            }

             .swiper-manager-container.swiper-style1 iframe.md-squre {border: none;}            
        
            
            .swiper-manager-container.swiper-style1 .slide-subtitle {
                font-size: 1.2rem;
            }
            
            .swiper-manager-container.swiper-style1 .swiper-button-prev, .swiper-manager-container.swiper-style1 .swiper-button-next {
                width: 24px;
                height: 24px;
                margin-top: -12px;
                line-height: 24px;
            }
            
            .swiper-manager-container.swiper-style1 .thumbs-swiper {
                padding: 8px;
            }
            
            .swiper-manager-container.swiper-style1 .thumbs-swiper .swiper-slide {
                width: 60px !important;
                height: 40px;
                margin: 0 3px;
            }
        }