/* --- Estilos Generales del Wrapper (SIN FONDO, SIN COLORES FIJOS) --- */
.trakku-testimonials-wrapper {
    padding: 60px 0;
    font-family: sans-serif;
    position: relative;
}

.trakku-testimonials-wrapper .trakku-section-title {
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 50px;
}

/* --- Contenedor del Carrusel --- */
.trakku-testimonials-wrapper .trakku-carousel {
    display: flex;
    padding: 0 50px; /* Espacio para las flechas */
}

/* --- Estilos de cada Testimonio --- */
.trakku-testimonials-wrapper .testimonial-item {
    text-align: center;
    padding: 20px;
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
}
.trakku-testimonials-wrapper .testimonial-author-image {
    width: 80px;
    height: 80px;
    border-radius: 50%; /* La hace redonda */
    object-fit: cover; /* Evita que la imagen se deforme */
    margin: 0 auto 20px; /* La centra y le da un espacio debajo */
    display: block;
}
.trakku-testimonials-wrapper .testimonial-summary {
    font-style: italic;
    margin-bottom: 20px;
    flex-grow: 1;
}

.trakku-testimonials-wrapper .testimonial-author {
    font-weight: bold;
    margin-bottom: 25px;
}

.trakku-testimonials-wrapper .testimonial-ver-mas {
    background: none;
    border: none;
    cursor: pointer;
    font-weight: bold;
    padding: 10px;
    transition: color 0.3s ease; /* Añadimos una transición suave */
}

/* --- REGLA ESPECÍFICA PARA EL HOVER --- */
.trakku-testimonials-wrapper .testimonial-ver-mas:hover {
    /* El color será definido por los ajustes del plugin, 
       pero puedes añadir un color de respaldo aquí si quieres, ej: color: #007bff; */
}

/* --- REGLAS ESPECÍFICAS PARA LAS FLECHAS --- */
.trakku-testimonials-wrapper .slick-prev, 
.trakku-testimonials-wrapper .slick-next {
    font-size: 0; line-height: 0;
    position: absolute; top: 50%;
    width: 40px; height: 40px;
    transform: translate(0, -50%);
    cursor: pointer;
    color: transparent; border: none; outline: none; background: transparent;
}

.trakku-testimonials-wrapper .slick-prev:before, 
.trakku-testimonials-wrapper .slick-next:before {
    font-size: 40px;
    line-height: 1;
    opacity: .75;
    -webkit-font-smoothing: antialiased;
}
.trakku-testimonials-wrapper .slick-prev { left: 0px; z-index: 1; }
.trakku-testimonials-wrapper .slick-prev:before { content: '‹'; }

.trakku-testimonials-wrapper .slick-next { right: 0px; }
.trakku-testimonials-wrapper .slick-next:before { content: '›'; }

.trakku-testimonials-wrapper .slick-prev:hover:before, 
.trakku-testimonials-wrapper .slick-next:hover:before {
    opacity: 1;
}

/* --- ESTILOS DEL LIGHTBOX (ya son específicos, no necesitan cambios) --- */
/* ... (todos los estilos del lightbox se quedan igual) ... */
#trakku-lightbox-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex; justify-content: center; align-items: center; z-index: 1000;
    padding: 20px;
}
#trakku-lightbox-container {
    position: relative; max-width: 650px; width: 100%;
}
.trakku-lightbox-card {
    background-color: #3a3768; /* Morado oscuro de la imagen */
    color: #fff;
    border-radius: 8px;
    padding: 30px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M10 90 H20 V50 H10 Z M30 90 H40 V40 H30 Z M50 90 H60 V60 H50 Z M70 90 H80 V30 H70 Z" fill="%23FFFFFF" opacity="0.05" /></svg>');
    background-position: bottom right;
    background-repeat: no-repeat;
}
.trakku-lightbox-header {
    display: flex; align-items: center; gap: 20px;
}
.trakku-lightbox-header-info {
    display: flex; flex-direction: column; justify-content: center;
}
.trakku-lightbox-image {
    width: 80px; height: 80px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
}
.trakku-lightbox-author {
    color: #f0e68c; /* Amarillo claro */
    font-size: 26px;
    font-weight: bold;
    margin: 0;
}
.trakku-lightbox-separator {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin: 20px 0;
}
.trakku-lightbox-body {
    color: #e0e0e0;
    line-height: 1.7;
    font-size: 16px;
}
.trakku-lightbox-body p {
    margin: 0;
}
.trakku-close-btn {
    position: absolute; top: 10px; right: 10px; background: transparent;
    color: white; font-size: 30px; border: none; cursor: pointer; z-index: 1002;
    line-height: 1; opacity: 0.7; transition: opacity 0.3s;
}
.trakku-close-btn:hover {
    opacity: 1;
}
.trakku-prev-btn, .trakku-next-btn {
    position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255, 255, 255, 0.1); border-radius: 50%;
    width: 40px; height: 40px; line-height: 40px; text-align: center;
    color: #fff; font-size: 24px; border: 1px solid rgba(255, 255, 255, 0.2); cursor: pointer; z-index: 1001;
    transition: background-color 0.3s;
}
.trakku-prev-btn:hover, .trakku-next-btn:hover { background: rgba(255, 255, 255, 0.2); }
.trakku-prev-btn { left: -60px; }
.trakku-next-btn { right: -60px; }
@media (max-width: 850px) {
    .trakku-prev-btn, .trakku-next-btn { display: none; }
}


/* --- Responsive para móvil --- */
@media (max-width: 768px) {
    .trakku-testimonials-wrapper .trakku-carousel {
        padding: 0 40px; /* Espacio a los lados para las flechas */
    }
    .trakku-testimonials-wrapper .slick-prev {
        left: 5px; /* Las acercamos un poco al centro */
    }
    .trakku-testimonials-wrapper .slick-next {
        right: 5px; /* Las acercamos un poco al centro */
    }
    .trakku-prev-btn, .trakku-next-btn {
        top: auto; bottom: -60px; transform: none;
    }
    .trakku-prev-btn { left: 30%; }
    .trakku-next-btn { right: 30%; }
}