.testimonials-wrapper {
    background: var(--testimonials-bg);
    color: var(--testimonials-text);
}

.testimonials-header {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 28px;
}

.testimonials-title {
    color: var(--testimonials-text);
    font-size: clamp(1.8rem, 2.4vw, 2.9rem);
    line-height: 1.2;
    margin: 0;
}

.testimonials-filters {
    margin-bottom: 48px;
}

.testimonials-filters-title {
    color: var(--testimonials-text);
    font-size: clamp(1.2rem, 1.5vw, 1.8rem);
    margin: 0 0 18px;
}

.testimonials-filter-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.testimonials-filter-chip {
    background: var(--testimonials-chip-bg);
    border-radius: 999px;
    color: var(--testimonials-chip-text);
    display: inline-flex;
    font-size: 1.06rem;
    gap: 8px;
    padding: 11px 16px;
    text-decoration: none;
}

.testimonials-filter-chip.is-active {
    background: var(--testimonials-chip-active-bg);
    color: var(--testimonials-chip-active-text);
}

.testimonials-chip-count {
    opacity: 0.75;
}

.testimonials-items {
    display: grid;
    gap: var(--testimonials-spacing);
}

.testimonials-item-header {
    align-items: center;
    display: flex;
    gap: 22px;
    margin-bottom: 14px;
}

.testimonials-structure-dot {
    border-radius: 50%;
    flex: 0 0 auto;
    height: var(--testimonials-dot-size);
    width: var(--testimonials-dot-size);
}

.testimonials-item-title {
    color: var(--testimonials-text);
    font-size: clamp(1.6rem, 2vw, 2.2rem);
    line-height: 1.2;
    margin: 0;
}

.testimonials-item-content {
    color: var(--testimonials-text);
    font-size: clamp(1.15rem, 1.15vw, 1.45rem);
    line-height: 1.7;
    margin: 0;
}

.testimonials-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 38px;
}

.testimonials-page-item {
    border: 1px solid #cad2e0;
    border-radius: 8px;
    color: var(--testimonials-text);
    min-width: 40px;
    padding: 8px 12px;
    text-align: center;
    text-decoration: none;
}

.testimonials-page-item.is-current {
    background: var(--testimonials-chip-active-bg);
    border-color: var(--testimonials-chip-active-bg);
    color: var(--testimonials-chip-active-text);
}

.testimonials-empty {
    margin: 0;
}

@media (max-width: 980px) {
    .testimonials-item-header {
        gap: 16px;
    }

    .testimonials-item-title {
        font-size: clamp(1.35rem, 2vw, 1.8rem);
    }

    .testimonials-item-content {
        font-size: 1.08rem;
    }
}
