/* ============================================
   TESTIMONIALS WIDGET - RESPONSIVE STYLES
   Адаптация для планшетов и мобильных устройств
   ============================================ */

/* Планшеты (768px - 1024px) */
@media (max-width: 1024px) {
    .testimonials-widget .testimonials-section {
        padding: 24px;
    }

    .testimonials-widget .section-header {
        margin-bottom: 16px;
        padding-bottom: 10px;
    }

    .testimonials-widget .section-title {
        font-size: 14px;
    }

    .testimonials-widget .section-link {
        font-size: 11px;
    }

    .testimonials-widget .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .testimonials-widget .testimonial-duration {
        font-size: 9px;
        padding: 3px 6px;
        bottom: 6px;
        right: 6px;
    }
}

/* Мобильные устройства (до 768px) */
@media (max-width: 768px) {
    .testimonials-widget .testimonials-section {
        padding: 20px;
        margin-bottom: 20px;
    }

    .testimonials-widget .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 16px;
        padding-bottom: 12px;
    }

    .testimonials-widget .section-title {
        font-size: 14px;
    }

    .testimonials-widget .section-link {
        font-size: 10px;
        align-self: flex-end;
    }

    .testimonials-widget .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .testimonials-widget .testimonial-duration {
        font-size: 9px;
        padding: 3px 6px;
        bottom: 6px;
        right: 6px;
    }
}

/* Маленькие мобильные устройства (до 480px) */
@media (max-width: 480px) {
    .testimonials-widget .testimonials-section {
        padding: 16px;
    }

    .testimonials-widget .section-header {
        margin-bottom: 12px;
        padding-bottom: 10px;
    }

    .testimonials-widget .section-title {
        font-size: 12px;
        letter-spacing: 0.5px;
    }

    .testimonials-widget .section-link {
        font-size: 9px;
    }

    .testimonials-widget .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .testimonials-widget .testimonial-duration {
        font-size: 8px;
        padding: 2px 5px;
        bottom: 6px;
        right: 6px;
    }
}
