/**
 * Customer Voice List Component Styles
 *
 * @package RIKAI_Marketing
 * @since 1.0.0
 */

/* ==================================================
   Masonry Grid
   ================================================== */

.testimonials-masonry {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.testimonials-col-left,
.testimonials-col-right {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.testimonial-col {
    width: 100%;
}

/* ==================================================
   Testimonial Card
   ================================================== */

/* Testimonial Card */
.testimonial-card {
    background: var(--third-color);
    padding: 40px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

/* Customer Label */
.testimonial-label {
    letter-spacing: 1px;
    text-transform: uppercase;
}

.testimonial-label h3 {
    margin-bottom: 10px;
}

/* Company Logo */
.testimonial-logo {
    margin-bottom: 20px;
    min-height: 60px;
    display: flex;
    align-items: center;
}

.testimonial-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Company Info */
.testimonial-company-info {
    margin-bottom: 20px;
}

.company-name {
    font-weight: 700;
    margin-bottom: 10px;
}

.customer-details {
    line-height: 1.5;
    display: flex;
    flex-direction: column;
}

.customer-role {
    font-size: 14px;
    display: inline-block;
    margin-right: 8px;
}

.customer-name {
    font-size: 18px;
    display: inline-block;
    font-weight: 700;
}

.testimonial-content {
    padding: 30px 15px;
    background-color: #ffffff;
}

/* Highlight Title */
.testimonial-highlight {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 15px;
}

/* Testimonial Content */
.testimonial-text {
    font-size: 15px;
    line-height: 1.8;
    flex-grow: 1;
}

.testimonial-text p {
    margin-bottom: 12px;
}

.testimonial-text p:last-child {
    margin-bottom: 0;
}

.testimonial-text strong {
    font-weight: 700;
    color: #1a1a1a;
}

.testimonial-text em {
    font-style: italic;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .customer-voice-list-section {
        padding: 40px 0;
    }

    .customer-voice-header .component-title {
        font-size: 28px;
    }

    .customer-voice-header .component-subtitle {
        font-size: 18px;
    }

    .testimonial-card {
        padding: 25px;
    }

    .testimonial-highlight {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .testimonials-masonry {
        flex-direction: column;
    }

    .customer-voice-list-section {
        padding: 30px 0;
    }

    .customer-voice-header {
        margin-bottom: 30px;
    }

    .customer-voice-header .component-title {
        font-size: 24px;
    }

    .customer-voice-header .component-subtitle {
        font-size: 16px;
    }

    .testimonial-card {
        padding: 20px;
    }

    .company-name {
        font-size: 16px;
    }

    .testimonial-highlight {
        font-size: 16px;
    }

    .testimonial-text {
        font-size: 14px;
    }
}
