@import url('https://swipermanager.com/wp-content/plugins/swiper-manager/assets/css/basic.css');
/* Basic Styles */
       .swiper-manager-container.swiper-style9 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
               
        .swiper-manager-container.swiper-style9 {
            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;
            --thumb-border-active: none;
        }

        .swiper-manager-container.swiper-style9.color-white .slide-content {--color:#fff;}
        .swiper-manager-container.swiper-style9.color-black .slide-content {--color:#000;}
        .swiper-manager-container.swiper-style9.color-gray .slide-content {--color:#999;}

        .swiper-manager-container.swiper-style9.content-align-center .slide-content {--text-align :center; }
        .swiper-manager-container.swiper-style9.content-align-left .slide-content {--text-align :left; }
        .swiper-manager-container.swiper-style9.content-align-right .slide-content {--text-align :right; }

        .swiper-manager-container.swiper-style9.content-align-center .slide-content {padding: 2em 20%;  }
        .swiper-manager-container.swiper-style9.content-align-left .slide-content {padding: 2em 30% 2em 10%;  }
        .swiper-manager-container.swiper-style9.content-align-right .slide-content {padding: 2em 10% 2em 30%;  }
        
        /* 主要内容容器 - 左右布局 */
        .swiper-manager-container.swiper-style9 .slider-wrapper {
            display: flex;
            width: 100%;
            height: calc(100% - 100px);
        }
        
        /* 缩略图区域 - 左侧50%宽度 */
        .swiper-manager-container.swiper-style9 .swiper-thumbs-container {
            position: absolute;
            top: 0;
            left: 30px;
            width: calc(50% - 30px);
            height: calc(100% - 100px);
            border-radius: 10px;
            z-index: 5;
            overflow: hidden;
            
        }
        
        /* 主内容区域 - 右侧宽度 */
        .swiper-manager-container.swiper-style9 .main-content-wrapper {
            width: calc(100% - 200px);
            margin-left: 200px;
            height: 100%;
            position: relative;
        }
        
        .swiper-manager-container.swiper-style9 .main-swiper {
            height: 100%;
        }
        
        /* 移动端响应式设计 */
        @media (max-width: 768px) {
            .swiper-manager-container.swiper-style9 .slider-wrapper {
                flex-direction: column;
            }
            
            .swiper-manager-container.swiper-style9 .swiper-thumbs-container,
            .swiper-manager-container.swiper-style9 .main-content-wrapper {
                width: 100%;
                height: auto;
            }
            
            .swiper-manager-container.swiper-style9 .main-swiper {
                height: calc(100vh - 300px);
            }
        }

        .swiper-manager-container.swiper-style9 .swiper-slide {
            position: relative;
            overflow: hidden;
            min-height: 50px; /* Ensure slider items have basic height */
        }
        
        /* Background Image and Video Styles */
        .swiper-manager-container.swiper-style9 .fixedheight .swiper-slide > div {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
        }
        
        /* Background Image and Video Styles */
        .swiper-manager-container.swiper-style9 .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-style9 .fixedheight .slide-background-img {
        height: 100%;
        }
        
        .swiper-manager-container.swiper-style9 .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-style9 .video-container iframe,
        .swiper-manager-container.swiper-style9 .video-container video {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        /* Content Container Styles */
        .swiper-manager-container.swiper-style9 .slide-content {
            position: absolute;
            top: 0;
            right: 0;
            z-index: 4;
            color: var(--color);
            padding: 5em 2em;
            height: calc(100% - 100px);
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            max-width: 100%;
            text-align: var(--text-align);
            
        }
        
        /* Text Styles */
        .swiper-manager-container.swiper-style9 .slide-title {
            font-size: var(--title-font-size);
            margin-bottom: 1rem;
            text-shadow: 0 2px 4px rgba(0,0,0,0.5);
            color: var(--color);
           
        }
        
        .swiper-manager-container.swiper-style9 .slide-subtitle {
            font-size: var(--subtitle-font-size);
            margin-bottom: 1.5rem;
            text-shadow: 0 2px 4px rgba(0,0,0,0.5);
            color: var(--color);
        }
        
        .swiper-manager-container.swiper-style9 .slide-description {
            font-size: var(--description-font-size);
            margin-bottom: 2rem;
            line-height: 1.6;
            text-shadow: 0 1px 2px rgba(0,0,0,0.5);
            color: var(--color);
            max-height: 50%;
            overflow-y: auto;
        }
        
        /* Link Button Styles */
        .swiper-manager-container.swiper-style9 .slide-link {
    display: inline-block;
    padding: 12px 22px;
    background-color: #f5f5f5;
    color: #000;
    font-size:17px;
    text-decoration: none;
    border-radius: 980px;
    font-weight: 400;
    transition: all 0.3s ease;
    align-self: center;
    pointer-events: all;
}
        
        .swiper-manager-container.swiper-style9 .slide-link:hover {
            background-color: white;
            /* transform: translateY(-2px); 
            box-shadow: 0 4px 8px rgba(0,0,0,0.2); */
        }

        

.swiper-manager-container.swiper-style9 .slide-btn {
    display: inline-block;
    padding: 12px 22px;
    background-color: #f5f5f5;
    color: #000;
    font-size: var(--link-font-size);
    text-shadow: none;
    line-height: calc(var(--link-font-size) + 6);
    text-decoration: none;
    border-radius: 980px;
    margin:15px;
    transition: all 0.3s ease;
    pointer-events: all;
}

.swiper-manager-container.swiper-style9 .slide-btn:hover {
    background-color: white;
    /* transform: translateY(-2px); 
    box-shadow: 0 4px 8px rgba(0,0,0,0.2); */
}


/* Link Button Styles */
.swiper-manager-container.swiper-style9 .slide-btn-transparent {
    display: inline-block;
    padding: 12px 22px;
     background-color: rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    border: 1px solid white;
    font-size: var(--link-font-size);
    text-shadow: none;
    line-height: calc(var(--link-font-size) +6);
    text-decoration: none;
    border-radius: 980px;
    margin:15px;
    transition: all 0.3s ease;
    pointer-events: all;
}

.swiper-manager-container.swiper-style9 .slide-btn-transparent:hover {
    background-color: white;
    color:#000;
}


        
        /* Overlay to make text clearer */
        .swiper-manager-container.swiper-style9 .slide-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: calc(100% - 100px);
            background: linear-gradient(to bottom, rgba(0,0,0,0.45), rgba(0,0,0,0));
            z-index: 3;
            opacity: 0;
            transition: opacity 0.5s;
            user-select: none;
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            pointer-events: none;
        }

        .swiper-manager-container.swiper-style9:hover .slide-overlay {            
            opacity: 1;            
        }
        
        /* Navigation Button Styles */
        .swiper-manager-container.swiper-style9 .swiper-button-prev, .swiper-manager-container.swiper-style9 .swiper-button-next {
            display: block;
            position: absolute;
            top: 50%;                    
            margin-top: -16px;
            z-index: 100;

            cursor: pointer;       
            border-radius: 0%;
            color: white;
            text-align: center;
            line-height: 24px;
            transition: all 0.3s ease;
        }

        .swiper-manager-container.swiper-style9 .swiper-button-next svg, 
        .swiper-manager-container.swiper-style9 .swiper-button-prev svg,
        .swiper-manager-container.swiper-style9 .swiper-button-next:after,
        .swiper-manager-container.swiper-style9 .swiper-button-prev:after {
            margin-top:20%;            
            height: 60%; /* 图标高度 = 按钮高度 */
            width: 60%;  /* 图标宽度 = 按钮宽度 */
        }
        
        .swiper-manager-container.swiper-style9 .swiper-button-prev {
            left: 8px;
        }
        
        .swiper-manager-container.swiper-style9 .swiper-button-next {
            right: 8px;
        }
        
        .swiper-manager-container.swiper-style9 .swiper-button-prev:hover, .swiper-manager-container.swiper-style9 .swiper-button-next:hover {
        
            transform: scale(1);
        }
        
       
        
        /* 垂直缩略图样式 */
        .swiper-manager-container.swiper-style9 .thumbs-swiper {
            width: 100%;
            height: 100%;
            padding: 10px;
        }
        
        .swiper-manager-container.swiper-style9 .thumbs-swiper .swiper-wrapper {
            flex-direction: column;
        }
        
        /* 正方形缩略图 + 标题 */
        .swiper-manager-container.swiper-style9 .thumbs-swiper .swiper-slide {
            width: calc(100% - 20px) !important;
            margin-left: 10px;
            margin-right: 10px;
            display: flex;
            flex-direction: row;
            align-items: center;
            margin-top: 5px;
            margin-bottom: 5px;
            opacity: 0.8;
            cursor: pointer;
            transition: all 0.3s ease;
            border-radius: 4px;
            overflow: hidden;
            
        }
        
        .swiper-manager-container.swiper-style9 .thumbs-swiper .swiper-slide-thumb-active {
            opacity: 1;            
            transform: scale(1);
            text-decoration: underline;
            text-decoration-color: rgba(255,255,255,0.5);
            text-decoration-thickness: 3px;
            text-underline-offset: 10px;
        }
        
        /* 缩略图图片 - 正方形比例 */
        .swiper-manager-container.swiper-style9 .thumbs-swiper .swiper-slide .thumb-img-container {
            width: auto;
            height: auto;
            position: relative;
            overflow: hidden;
            flex-shrink: 0;
        }
        
        .swiper-manager-container.swiper-style9 .thumbs-swiper .swiper-slide img {
            position: relative;
            top: 0;
            left: 0;
            width: 80px;
            height: 80px;
            aspect-ratio: 1 / 1;
            object-fit: cover;
        }
        
        /* 缩略图标题 */
        .swiper-manager-container.swiper-style9 .thumbs-swiper .swiper-slide .thumb-title {
            display: none;
            padding: 15px 10px;
            color: white;
            text-shadow: 1px 1px 0 #fff, -1px -1px 0 #000; 
            font-size: 1.5rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            text-align: left;
            flex-grow: 1;
            min-width: 0;
            opacity: 1;     
            transition: opacity 0.3s ease;
        }

         /* 缩略图标题 */
        .swiper-manager-container.swiper-style9 .thumbs-swiper:hover .swiper-slide .thumb-title {
            display: block;
            opacity: 1;           
        }
        
        /* Responsive Adjustments */
        @media (max-width: 768px) {
            .swiper-manager-container.swiper-style9 .slide-title {
                font-size: 2rem;
            }
            
            /* Mobile 1:1 aspect ratio for background images and videos */
            
             .swiper-manager-container.swiper-style9 img.md-squre,
             .swiper-manager-container.swiper-style9 iframe.md-squre,
             .swiper-manager-container.swiper-style9 video.md-squre {                
                width: 100%;
                
                aspect-ratio: 1 / 1;
                object-fit: cover !important;
            }

             .swiper-manager-container.swiper-style9 iframe.md-squre {border: none;}
            
            
            .swiper-manager-container.swiper-style9 .slide-subtitle {
                font-size: 1.2rem;
            }
            
            /* 移动端缩略图调整 */
            .swiper-manager-container.swiper-style9 .thumbs-swiper {
                padding: 5px;
            }
            
            .swiper-manager-container.swiper-style9 .thumbs-swiper .swiper-slide {
                width: calc(100% - 10px) !important;
                margin: 3px 0;
            }
            
            .swiper-manager-container.swiper-style9 .thumbs-swiper .swiper-slide .thumb-title {
                font-size: 0.8rem;
                padding: 6px 8px;
            }
        }