@import url('https://swipermanager.com/wp-content/plugins/swiper-manager/assets/css/basic.css');
/* Basic Styles */
.swiper-manager-container.swiper-style15 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

        
.swiper-manager-container.swiper-style15 {
    width: 100%;
    position: relative;
    font-family: "SF Pro Text","SF Pro Icons",'Segoe UI', "Helvetica Neue","Helvetica", "Arial", sans-serif;
    --color:#000;
    --title-font-size: 18px;
    --subtitle-font-size: 16px;
    --description-font-size: 14px;
    --btn-font-size: 14px;
    --text-align :left;
}        

.swiper-manager-container.swiper-style15.color-white .slide-content {--color:#fff;}
.swiper-manager-container.swiper-style15.color-black .slide-content {--color:#000;}
.swiper-manager-container.swiper-style15.color-gray .slide-content {--color:#999;}

.swiper-manager-container.swiper-style15.content-align-center .slide-content {--text-align :center; }
.swiper-manager-container.swiper-style15.content-align-left .slide-content {--text-align :left; }
.swiper-manager-container.swiper-style15.content-align-right .slide-content {--text-align :right; }


/* Apply auto height for all screen sizes to support autoHeight functionality */
.swiper-manager-container.swiper-style15 .main-swiper {
    height: auto ;
    overflow-y: visible;
    overflow-x: hidden;
}

.swiper-manager-container.swiper-style15 .swiper-slide {
    position: relative;
    overflow: hidden;
    /* Remove fixed min-height to allow autoHeight to work properly */
}

/* Background Image and Video Styles */
.swiper-manager-container.swiper-style15 .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-style15 .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-style15 .fixedheight .slide-background-img {
height: 100%;
}

.swiper-manager-container.swiper-style15 .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-style15 .video-container iframe,
.swiper-manager-container.swiper-style15 .video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Content Container Styles */
.swiper-manager-container.swiper-style15 .slide-content {
    position: relative;
    bottom: 0;
    left: 0;
    z-index: 4;
    color: var(--color);
    padding: 5px 20%;
    height: 10vh;
    overflow-y: auto;
    width: 100%;
    display: block;
    gap: 0.3rem;
    max-width: 100%;
    margin: 0 auto;
    text-align: var(--text-align);
    background-color: transparent;
    
}

.swiper-manager-container.swiper-style15 .slide-content .content-inner {padding:0;}

.swiper-manager-container.swiper-style15.color-black .slide-content:hover {background-color:#fff; }
.swiper-manager-container.swiper-style15.color-white .slide-content:hover {background-color:#000;}

/* Text Styles */
.swiper-manager-container.swiper-style15 .slide-title {
    font-size: var(--title-font-size);           
    color: var(--color);
    line-height: 1;
    display: inline-block;
    padding: 0;
    margin: 0 20px;
    vertical-align: top;
}

.swiper-manager-container.swiper-style15 .slide-subtitle {
    font-size: var(--subtitle-font-size);    
    display: inline-block;  
    color: var(--color);
    line-height: 1;
    padding: 0;
    margin: 0;
    vertical-align: top;
}

.swiper-manager-container.swiper-style15 .slide-description {
    font-size: var(--description-font-size);
    line-height: 1.6;          
    color: var(--color);
    margin-bottom: 1.5rem;
}

/* Link Button Styles */
.swiper-manager-container.swiper-style15 .slide-link {
    display: inline-block;
    padding: 12px 22px;
    position: absolute;
    right: 20px;
    bottom: 20px;
    background-color: #ffffff;
    color: #000;
    font-size:17px;
    text-decoration: none;
    border-radius: 980px;
    font-weight: 400;
    transition: all 0.3s ease;
    align-self: center;
    margin-top: 1rem;
    border: 1px solid #333;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    pointer-events: all;
}

.swiper-manager-container.swiper-style15 .slide-link:hover {
    background-color: blue;
    color: white;
    /* transform: translateY(-2px); 
    box-shadow: 0 4px 8px rgba(0,0,0,0.2); */
}


.swiper-manager-container.swiper-style15 .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-style15 .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-style15 .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-style15 .slide-btn-transparent:hover {
    background-color: white;
    color:#000;
}

/* Overlay to make text clearer */
.swiper-manager-container.swiper-style15 .slide-overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    z-index: 3;
    pointer-events: none;
}
    

  


/* Pagination Indicator Styles */
.swiper-manager-container.swiper-style15 .swiper-pagination {
    display: block;
    position: absolute;
    bottom: 10px; /* 调整位置，避免与缩略图容器重叠 */
    left: 50%;
    width: auto;
    text-align: center;
    z-index: 10;
}

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

.swiper-manager-container.swiper-style15 .swiper-pagination-bullet-active {
    background: white;
    width: 12px;
    height: 12px;
}

/* Thumbnail Slider Styles */
.swiper-manager-container.swiper-style15 .swiper-thumbs-container {
    position: relative;
    width: 100%;
    z-index: 5;
}

.swiper-manager-container.swiper-style15 .thumbs-swiper {
    padding: 10px;
    border-radius: 4px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.swiper-manager-container.swiper-style15 .thumbs-swiper .swiper-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.swiper-manager-container.swiper-style15 .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-style15 .thumbs-swiper .swiper-slide-thumb-active {
    opacity: 1;
    border: 2px solid #fff;
    transform: scale(1.05);
}

.swiper-manager-container.swiper-style15 .thumbs-swiper .swiper-slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0;
    padding: 0;
    border: none;
    object-position: center center;
}

.swiper-manager-container.swiper-style15 .thumbs-swiper .swiper-slide .thumb-title {
    display: none; /* 缩略图中标题可能太小，暂时隐藏 */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
.swiper-manager-container.swiper-style15 .slide-content { padding:2em; }
.swiper-manager-container.swiper-style15.content-align-center .slide-content {padding:2em;   }
.swiper-manager-container.swiper-style15.content-align-left .slide-content {padding:2em;  }
.swiper-manager-container.swiper-style15.content-align-right .slide-content {padding:2em;  }
    
    /* Mobile 1:1 aspect ratio for background images and videos */           
        .swiper-manager-container.swiper-style15 img.md-squre,
        .swiper-manager-container.swiper-style15 iframe.md-squre,
        .swiper-manager-container.swiper-style15 video.md-squre {                
        width: 100%;                
        aspect-ratio: 1 / 1;
        object-fit: cover !important;
    }

        .swiper-manager-container.swiper-style15 iframe.md-squre {border: none;}           

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