/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Jul 31 2025 | 14:39:45 */
@media only screen and (max-width: 991px) {
    /* 1. Основной контейнер — flex, полная ширина, нормальная высота */
    .testimonial-style-eight .testimonial-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
        align-items: stretch !important;
        text-align: center !important;
        position: relative !important;
        width: 100% !important;
        min-height: auto !important;
        height: auto !important;
        overflow: visible !important;
        padding: 20px 0 !important;
    }

    /* 2. Все прямые дети — с order и полной шириной */
    .testimonial-style-eight .testimonial-content > * {
        flex: 0 0 auto !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        order: initial !important; /* сбросим, потом назначим */
        position: static !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* 3. Порядок */
    .testimonial-style-eight .testimonial-content > h2 {
        order: 1 !important;
    }

    .testimonial-style-eight .testimonial-content > h3 {
        order: 2 !important;
    }

    .testimonial-style-eight .testimonial-content > .designation {
        order: 3 !important;
    }

    .testimonial-style-eight .testimonial-content > .image-box {
        order: 4 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        margin: 20px 0 !important;
        min-height: auto !important;
        height: auto !important;
        max-height: 600px !important;
        overflow: hidden !important;
    }

    /* 4. Картинка */
    .testimonial-style-eight .testimonial-content .image-box img {
        
        height: auto !important;
        display: block !important;
        border-radius: 8px !important;
    }

	.testimonial-style-eight .testimonial-content .image-box img {
		width:initial !important;
	}
    /* 5. Убираем возможные transform/position от карусели */
    .testimonial-style-eight .testimonial-content .owl-stage,
    .testimonial-style-eight .testimonial-content .owl-item {
        transform: none !important;
        position: static !important;
    }
}

//Title Core adapt
//elementor-heading-title elementor-size-default
