.manual-comments-carousel-container {
    margin: 0 auto;
    position: relative;
}

.carousel-title {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: #333;
    font-weight: bold;
    display: block;
}

.mco-description {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1rem;
    color: #666;
    line-height: 1.5;
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    padding: 10px 0;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.carousel-item {
    flex: 0 0 33.333%;
    padding: 0 10px;
    box-sizing: border-box;
}

/* Por defecto en móvil: 1 columna */
@media (max-width: 768px) {
    .carousel-item {
        flex: 0 0 100% !important;
        padding: 0 10px;
        margin-bottom: 15px;
    }
    
    .carousel-track {
        gap: 0;
    }
}

/* Columnas dinámicas */
.manual-comments-carousel-container[data-columns="4"] .carousel-item {
    flex: 0 0 25%;
}

.manual-comments-carousel-container[data-columns="5"] .carousel-item {
    flex: 0 0 20%;
}

/* Forzar 1 columna en móvil para todas las configuraciones */
@media (max-width: 768px) {
    .manual-comments-carousel-container[data-columns="4"] .carousel-item,
    .manual-comments-carousel-container[data-columns="5"] .carousel-item {
        flex: 0 0 100% !important;
        padding: 0 10px;
        margin-bottom: 15px;
    }
}

.testimonial-card {
    background: #fff;
    border-radius: 10px;
    padding: 50px 20px 20px 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Estilos específicos por fuente */
.testimonial-card.tripadvisor {
    border-left: 4px solid #00aa6c;
    background-image: url('../images/logo-tripadvisor-color-375x80.webp');
    background-repeat: no-repeat;
    background-position: 20px 20px;
    background-size: 100px auto;
}

.testimonial-card.google {
    border-left: 4px solid #4285f4;
}

.testimonial-card.facebook {
    border-left: 4px solid #1877f2;
}

.testimonial-title {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    line-height: 1.3;
    display: block;
    text-align: left;
}

.testimonial-content {
    flex: 1;
    margin-bottom: 15px;
    line-height: 1.6;
    color: #555;
    font-style: italic;
    font-size: 0.85rem;
}

.testimonial-meta {
    margin-bottom: 10px;
}

.meta-item-inline {
    font-size: 0.85rem;
    color: #666;
    display: flex;
    align-items: center;
}

.meta-separator {
    margin: 0 5px;
    color: #999;
}

.meta-author {
    font-weight: 500;
}

.meta-date {
    color: #666;
}



.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background 0.3s ease;
}

.carousel-dot.active {
    background: #007cba;
}

.carousel-dot:hover {
    background: #007cba;
}

/* Responsive - Botones y espaciado */
@media (max-width: 768px) {
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .carousel-prev {
        left: 10px;
    }
    
    .carousel-next {
        right: 10px;
    }
    
    .testimonial-card {
        padding: 20px;
        margin: 0;
    }
    
    .carousel-wrapper {
        padding: 10px 0;
    }
}

@media (max-width: 480px) {
    .carousel-item {
        padding: 0 5px;
        margin-bottom: 10px;
    }
    
    .carousel-track {
        gap: 0;
    }
    
    .testimonial-card {
        padding:50px 15px 15px 15px;
        margin: 0;
    }
    
    .carousel-wrapper {
        padding: 5px 0;
    }
}
