@import url('https://swipermanager.com/wp-content/plugins/swiper-manager/assets/css/basic.css');

/* Basic Styles */
       .swiper-manager-container.swiper-style19 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
               
        .swiper-manager-container.swiper-style19 {
            width: 100%;
            position: relative;
            font-family: "SF Pro Text","SF Pro Icons",'Segoe UI', "Helvetica Neue","Helvetica", "Arial", sans-serif;
            --color:#fff;
            --title-font-size: 2em;
            --subtitle-font-size: 1.7em;
            --description-font-size: 1.2em;
            --btn-font-size: 17px;
            --text-align :center;
            --overlay-color: transparent; 
        }        

        .swiper-manager-container.swiper-style19.color-white {--overlay-color: rgba(0,0,0,0.3); }
        .swiper-manager-container.swiper-style19.color-black {--overlay-color: rgba(255,255,255,0.3); }
        .swiper-manager-container.swiper-style19.color-gray {--overlay-color: transparent }

        .swiper-manager-container.swiper-style19.color-white .slide-content {--color:#fff;}
        .swiper-manager-container.swiper-style19.color-black .slide-content {--color:#000;}       
        .swiper-manager-container.swiper-style19.color-gray .slide-content {--color:#333;}
        
        .swiper-manager-container.swiper-style19.content-align-center .slide-content {--text-align :center; }
        .swiper-manager-container.swiper-style19.content-align-left .slide-content {--text-align :left; }
        .swiper-manager-container.swiper-style19.content-align-right .slide-content {--text-align :right; }

        .swiper-manager-container.swiper-style19.content-align-center .slide-content {padding: 2em 20%;  }
        .swiper-manager-container.swiper-style19.content-align-left .slide-content {padding: 2em 30% 2em 10%;  }
        .swiper-manager-container.swiper-style19.content-align-right .slide-content {padding: 2em 10% 2em 30%;  }
   
        
        /* Apply auto height for all screen sizes to support autoHeight functionality */
        .swiper-manager-container.swiper-style19 .main-swiper {
            height: auto ;
            min-height: 30vh;    
            margin:20px auto;          
        }

        .swiper-manager-container.swiper-style19 .main-swiper .swiper-wrapper {
         
        }

        .swiper-manager-container.swiper-style19 .main-swiper .swiper-slide {
            position: relative;
            overflow: hidden;
            width: 100%;
            height: auto;       
            min-height: 200px;
            margin: 0 auto;          
            transition: transform 0.3s ease-in-out;            
        }


         .swiper-manager-container.swiper-style19 .main-swiper .swiper-slide.swiper-slide-active {
            position: relative;
            overflow: hidden;        
            min-height: 200px;
            margin: 0 auto;                    
            z-index: 2;
        }

  
        
        /* Background Image and Video Styles */
        .swiper-manager-container.swiper-style19 .fixedheight .swiper-slide > div {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
        }

        .swiper-manager-container.swiper-style19 .slide-background-img {
            position: relative; /* Ensure correct height calculation */
            width: 100%;
            height: auto; /* Auto height to maintain aspect ratio */
            aspect-ratio: 16 / 9; /* Maintain 16:9 aspect ratio */
            display: block; /* Remove whitespace below the image */
            z-index: 1; /* Background image at the bottom layer */
            max-width: 100%;
            object-fit: cover;
            border: none;
        }

        .swiper-manager-container.swiper-style19 .fixedheight .slide-background-img {
        height: 100%;
        }
        
        .swiper-manager-container.swiper-style19 .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-style19 .video-container iframe,
        .swiper-manager-container.swiper-style19 .video-container video {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        /* Content Container Styles */
        .swiper-manager-container.swiper-style19 .slide-content {
            position: absolute;
            top: 0;
            left: 0;
            z-index: 4;
            color: var(--color);
            padding: 2em 20%;
            height: 100%;
            width: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            max-width: 100%;
            margin: 0 auto;
            text-align: var(--text-align);
            pointer-events: none;
        }



      
        
        /* Text Styles */
        .swiper-manager-container.swiper-style19 .slide-title {
            font-size: var(--title-font-size);
            margin-bottom: 1rem;            
            color: var(--color);
        }
        
        .swiper-manager-container.swiper-style19 .slide-subtitle {
            font-size: var(--subtitle-font-size);
            margin-bottom: 1.5rem;            
            color: var(--color);
        }
        
        .swiper-manager-container.swiper-style19 .slide-description {
            font-size: var(--description-font-size);
            margin-bottom: 2rem;
            line-height: 1.6;           
            color: var(--color);
        }
        
        


        
        /* Overlay to make text clearer */
        .swiper-manager-container.swiper-style19 .slide-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: var(--overlay-color);
            z-index: 3;
            pointer-events: none;
        }
        
        /* Navigation Button Styles */
        .swiper-manager-container.swiper-style19 .swiper-button-prev, .swiper-manager-container.swiper-style19 .swiper-button-next {
            display: block;
            position: absolute;
            cursor: pointer;
            padding:8px 12px;
            width:40px;
            height:40px;
            background-color: rgba(0, 0, 0, 0.2);
            border-radius: 950px;           
            color: white;
            text-align: center;

        }

        .swiper-manager-container.swiper-style19 .swiper-button-prev:hover, .swiper-manager-container.swiper-style19 .swiper-button-next:hover {
           background-color: #000;
           color: white;
        }

        
        .swiper-manager-container.swiper-style19 .swiper-button-next svg, .swiper-manager-container.swiper-style19 .swiper-button-prev svg{
            margin-top:20%;            
            height: 60%; /* 图标高度 = 按钮高度 */
            width: 60%;  /* 图标宽度 = 按钮宽度 */
        }
       

        .swiper-manager-container.swiper-style19 .swiper-button-next:after, .swiper-manager-container.swiper-style19 .swiper-button-prev:after{
            margin-top:20%;            
            height: 60%; /* 图标高度 = 按钮高度 */
            width: 60%;  /* 图标宽度 = 按钮宽度 */
            font-size:24px;
            line-height: 24px;
        }
        
        .swiper-manager-container.swiper-style19 .swiper-button-prev {
            left: 10px;
        }
        
        .swiper-manager-container.swiper-style19 .swiper-button-next {
            right: 10px;
        }
        

        
        /* Pagination Indicator Styles */
        .swiper-manager-container.swiper-style19 .swiper-pagination {
            display: block;
            position: relative;
            bottom: 5px; /* 调整位置，避免与缩略图容器重叠 */            
            width: auto;
            margin-top: -15px;
            left: 50%;
            transform: translateX(-50%);
            text-align: center;
            z-index: 10;
        }

        .swiper-manager-container.swiper-style19 .swiper-pagination-bullet {
            background: rgba(0, 0, 0, 0.8) !important;
            width: 30px !important;
            height: 3px !important;
            border-radius: 0 !important;
        }

        .swiper-manager-container.swiper-style19 .swiper-pagination-bullet-active {
            background: black;
            transform: scale(1);
        
        }

        .swiper-manager-container.swiper-style19 .swiper-autoplay-button {
            position: absolute;
            display: none;
            top: 10px;
            right: 10px;
            z-index: 10;
            background-color: rgba(0, 0, 0, 0.5);
            color: red;
            padding: 5px 10px;
            border-radius: 4px;
            cursor: pointer;
        }

        .swiper-manager-container.swiper-style19 .swiper-mute-button {
            position: absolute;
            display: none;
            top: 10px;
            right: 10px;
            z-index: 10;
            background-color: rgba(0, 0, 0, 0.5);
            color: #fff;
            padding: 5px 10px;
            border-radius: 4px;
            cursor: pointer;
        }


        
        /* Thumbnail Slider Styles */
        .swiper-manager-container.swiper-style19 .swiper-thumbs-container {
            position: relative;
            width: 100%;
            z-index: 5;
            margin: 15px auto;
        }
        
        .swiper-manager-container.swiper-style19 .thumbs-swiper {
            padding: 10px;
            border-radius: 4px;
            width: 100%;
            max-width: 100%;
            margin: 0 auto;
            overflow: hidden;
        }
        
        .swiper-manager-container.swiper-style19 .thumbs-swiper .swiper-wrapper {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
        }
        
        .swiper-manager-container.swiper-style19 .thumbs-swiper .swiper-slide {
            width: calc (16.66%-7.5px) !important;
            height: auto;
            aspect-ratio: 16/9;
            margin: 0 5px;
            opacity: 1;
            cursor: pointer;
            transition: all 0.3s ease;
            min-height: 50px;
            border-radius: 2px;
            overflow: hidden;
            z-index:1;
        }
        
        .swiper-manager-container.swiper-style19 .thumbs-swiper .swiper-slide-thumb-active {
            opacity: 1;
            border: 1px solid gray;
            transform: scale(1.1);
            z-index:10;
            border-radius: 5px;
        }
        
        .swiper-manager-container.swiper-style19 .thumbs-swiper .swiper-slide img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            aspect-ratio: 16/9;
            object-fit: cover;
            display: block;
            margin: 0;
            padding: 0;
            border: none;
            object-position: center center;
        }
        
        .swiper-manager-container.swiper-style19 .thumbs-swiper .swiper-slide .thumb-title {
            display: none; /* 缩略图中标题可能太小，暂时隐藏 */
        }
        
        /* Responsive Adjustments */
        @media (max-width: 768px) {
        .swiper-manager-container.swiper-style19 .slide-content { padding:2em; }
        .swiper-manager-container.swiper-style19.content-align-center .slide-content {padding:2em;   }
        .swiper-manager-container.swiper-style19.content-align-left .slide-content {padding:2em;  }
        .swiper-manager-container.swiper-style19.content-align-right .slide-content {padding:2em;  }
            
            /* Mobile 1:1 aspect ratio for background images and videos */           
             .swiper-manager-container.swiper-style19 img.md-squre,
             .swiper-manager-container.swiper-style19 iframe.md-squre,
             .swiper-manager-container.swiper-style19 video.md-squre {                
                width: 100%;                
                aspect-ratio: 1 / 1;
                object-fit: cover !important;
            }

             .swiper-manager-container.swiper-style19 iframe.md-squre {border: none;}           
        
            .swiper-manager-container.swiper-style19 .slide-subtitle {
                font-size: 1.2rem;
            }
            
            .swiper-manager-container.swiper-style19 .thumbs-swiper {
                padding: 8px;
            }
            
            .swiper-manager-container.swiper-style19 .thumbs-swiper .swiper-slide {
                width: 60px !important;
                height: 40px;
                margin: 0 3px;
            }
        }