/* CMS front blocks — testimonials & partner logos */

.cms-testimonial-card {
    min-height: 280px;
    height: 100%;
    background: #fff;
    border: 1px solid #e8eef5;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.05);
    padding: 1.5rem 1.35rem 1.25rem;
    gap: 0.85rem;
}

.cms-testimonial-card__quote-mark {
    font-size: 2.5rem;
    line-height: 1;
    color: color-mix(in oklab, var(--primary, #0f766e) 55%, #94a3b8);
    font-weight: 800;
    margin-bottom: -0.35rem;
}

.cms-testimonial-card__quote {
    margin: 0 !important;
    font-size: 1.02rem !important;
    line-height: 1.85 !important;
    color: #1e293b !important;
    white-space: pre-line;
    overflow-wrap: anywhere;
    flex: 1;
}

.cms-testimonials__single {
    max-width: 720px;
    margin-inline: auto;
}

.cms-testimonials__empty,
.cms-logo-carousel__empty {
    text-align: center;
    color: #64748b;
    margin: 0;
    padding: 1rem;
}

.cms-logo-carousel__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.cms-logo-carousel__item {
    min-height: 110px !important;
    justify-content: center;
    background: #fff !important;
}

.cms-logo-carousel__item img {
    height: 72px !important;
    width: auto !important;
    max-width: 100%;
    object-fit: contain;
}

.cms-logo-carousel .clients-slider.owl-carousel .owl-item img {
    height: 72px;
    width: auto !important;
    margin-inline: auto;
    object-fit: contain;
}

@media (max-width: 767px) {
    .cms-testimonial-card__quote {
        font-size: 0.95rem !important;
        line-height: 1.75 !important;
    }

    .cms-logo-carousel__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
