/**
 * 學習心得輪播修復樣式
 */

/* 確保輪播容器正確顯示 */
.testimonials-slider {
    display: flex !important;
    position: relative !important;
    overflow: hidden !important;
    width: 100% !important;
    max-width: 1000px !important;
    margin: 0 auto !important;
    height: auto !important;
    min-height: 300px !important;
    transition: transform 0.5s ease !important;
}

/* 確保每個幻燈片正確顯示 */
.testimonial-item {
    width: 100% !important;
    flex-shrink: 0 !important;
    padding: 0 15px !important;
    display: flex !important;
    position: relative !important;
}

/* 當前活動的幻燈片 */
.testimonial-item.active {
    opacity: 1 !important;
    z-index: 2 !important;
}

/* 非活動的幻燈片 */
.testimonial-item:not(.active) {
    opacity: 0.7 !important;
}

/* 確保幻燈片內容可見 */
.testimonial-content {
    background-color: #f9f9f9 !important;
    padding: 40px !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    width: 100% !important;
}

/* 確保備用單個學習心得顯示正確 */
.single-testimonial {
    max-width: 800px !important;
    margin: 40px auto !important;
    background-color: #f9f9f9 !important;
    padding: 40px !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
} 