/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

body {
}

/* Слайдеры */
#eq-slider-1,
#eq-slider-2,
#eq-slider-3 {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    flex-wrap: nowrap !important;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

#section-serv-hero {
    max-width: 1620px;
    margin-right: auto;
    margin-left: auto;
}
.js-swiper-services > .elementor-widget-container > .elementor-grid {
    gap: 0px;
}
.js-swiper-services > .elementor-widget-container:not(.swiper-initialized) > .elementor-grid {
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    flex-wrap: nowrap;
}
.js-swiper-services > .elementor-widget-container:not(.swiper-initialized) > .elementor-grid .e-loop-item {
    width: 360px;
    flex-shrink: 0 !important;
    margin-right: 20px;
}
.swiper-services .swiper-slide {
    width: 360px;
}
.js-prev-btn.swiper-button-disabled img,
.js-next-btn.swiper-button-disabled img {
    opacity: 0.4;
}

#eq-slider-1::-webkit-scrollbar,
#eq-slider-2::-webkit-scrollbar,
#eq-slider-3::-webkit-scrollbar {
    display: none;
}

/* Десктоп - 360px */
#eq-slider-1 > .e-con,
#eq-slider-2 > .e-con,
#eq-slider-3 > .e-con {
    min-width: 360px !important;
    max-width: 360px !important;
    flex-shrink: 0 !important;
    margin-left: 0 !important;
    margin-right: 20px !important;
}

#eq-slider-1 > .e-con:last-child,
#eq-slider-2 > .e-con:last-child,
#eq-slider-3 > .e-con:last-child {
    margin-right: 0 !important;
}

.theme-content-wrapper {
    max-width: 1600px !important;
    padding-left: 40px;
    padding-right: 40px;
    margin-right: auto;
    margin-left: auto;
}
@media (max-width: 1440px) {
    .serv-heading h2 {
        font-size: 42px !important;
    }
}
@media (max-width: 1200px) {
    .theme-content-wrapper {
        max-width: 784px !important;
    }
}

/* Планшеты - 320px */
@media (max-width: 1024px) {
    #eq-slider-1 > .e-con,
    #eq-slider-2 > .e-con,
    #eq-slider-3 > .e-con {
        min-width: 320px !important;
        max-width: 320px !important;
        margin-right: 16px !important;
    }
}

/* Мобильные - 280px */
@media (max-width: 768px) {
    #eq-slider-1 > .e-con,
    #eq-slider-2 > .e-con,
    #eq-slider-3 > .e-con {
        min-width: 280px !important;
        max-width: 280px !important;
        margin-right: 12px !important;
    }
    .serv-mobile-wrap {
        max-width: 390px;
        margin-right: auto;
        margin-left: auto;
    }
    .theme-content-wrapper {
        max-width: 410px !important;
        padding-left: 30px;
        padding-right: 30px;
    }
    .theme-content-wrapper h1 {
        font-size: 24px;
    }
    .theme-content-wrapper h2 {
        font-size: 20px;
    }
    .theme-content-wrapper h3 {
        font-size: 18px;
    }
    .theme-content-wrapper h4 {
        font-size: 16px;
    }
    .theme-content-wrapper p,
    .theme-content-wrapper li {
        font-size: 12px;
    }
}

/* Маленькие экраны - почти во всю ширину */
@media (max-width: 480px) {
    #eq-slider-1 > .e-con,
    #eq-slider-2 > .e-con,
    #eq-slider-3 > .e-con {
        min-width: calc(100vw - 50px) !important;
        max-width: calc(100vw - 50px) !important;
        margin-right: 10px !important;
    }
}

/* Убираем отступы у заголовков */
.elementor-heading-title {
    margin-block-end: 0 !important;
}

.elementor-widget-heading {
    margin-bottom: 0 !important;
}

/* Убираем отступы у HTML-виджетов */
.elementor-widget-html p,
.elementor-widget-html div,
.elementor-widget-html h1,
.elementor-widget-html h2,
.elementor-widget-html h3 {
    margin: 0 !important;
    padding: 0 !important;
}
