/* 療程項目相關見證樣式 */
.service-related-testimonials {
    margin: 40px 0;
    padding: 0 20px;
}

/* [testimonials_slider_filtered] 特殊樣式 - 卡片背景色 */
.testimonials-slick-filtered .testimonial-card {
    background-color: #F9F9F9 !important;
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-bottom: 30px;
    font-family: 'Noto Serif TC', serif;
}

.service-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-testimonial-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.service-testimonial-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.service-testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-testimonial-card:hover .service-testimonial-image img {
    transform: scale(1.05);
}

.service-testimonial-content {
    padding: 20px;
}

.service-testimonial-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.3;
}

.service-testimonial-date {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
}

.service-testimonial-excerpt {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 16px;
}

.service-testimonial-link {
    display: inline-flex;
    align-items: center;
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.service-testimonial-link:hover {
    color: #0056b3;
}

.service-testimonial-link .arrow {
    margin-left: 6px;
    transition: transform 0.3s ease;
}

.service-testimonial-link:hover .arrow {
    transform: translateX(4px);
}

/* 響應式設計 */
@media (max-width: 768px) {
    .service-related-testimonials {
        padding: 0 16px;
        margin: 30px 0;
    }
    
    .section-title {
        font-size: 20px;
        margin-bottom: 24px;
    }
    
    .service-testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-testimonial-content {
        padding: 16px;
    }
    
    .service-testimonial-title {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .service-testimonials-grid {
        gap: 16px;
    }
    
    .service-testimonial-image {
        height: 160px;
    }
    
    .service-testimonial-content {
        padding: 14px;
    }
}
