/* 短影音專區 */
.video-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    background-color: #f5f5f5;
    //padding: 50px 0px;
}

.video-text {
    text-align: center;
    margin-bottom: 5px;
    color: black;
}

.video-slider {
    display: flex;
    justify-content: center;
    align-items: center; 
    width: 100%;
    zoom: 135%;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80%; /* 限制寬度 */
    margin: auto;
    transition: transform 0.3s ease-in-out;
}

.video-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 300px;
    padding-bottom: 50px;
    overflow: visible !important;
}

.video-container video {
    width: 100%;
    max-width: 300px;
    border-radius: 10px;
    z-index: 1;
}

.video-title {
    color: black;
    text-align: center;
    margin-top: 10px;
    /* margin-bottom: 5px; */
}

.video-desc {
    color: black;  
    text-align: center;
    display: none;  
    width: 90%; 
    max-width: 350px; 
    word-wrap: break-word;
    overflow-wrap: break-word;
    padding: 15px;  
    margin: 20px auto 0 auto; 
    transition: opacity 0.3s ease-in-out; 
}

.video-desc.show {
    opacity: 1;
}

.video-container .show-more {
    margin-top: 10px;
}

.show-more {
    margin-top: 10px;
    font-size: 16px;
    color: #0A1F44;  
    cursor: pointer;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.video-container .show-more:hover {
    color: #007bff; 
}

.swiper-button-next, .swiper-button-prev {
    color: #333;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    color: #000;
}

/* 隱藏切換按鈕 */
@media screen and (max-width: 800px) {
    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    }
    .video-container video {
        width: 90vw;  /* ⚡ 讓影片寬度接近螢幕大小 */
        max-width: none; 
        height: auto;
    }
}