.gs-v7-demo-slider .swiper-top {
    position: relative;
}

.gs-v7-demo-slider .tt-slider-box img {
    width: 100%;
    height: auto;
    aspect-ratio: 31 / 10;
    object-fit: cover;
    display: block;
}

.gs-v7-demo-slider .slider-block .swiper-top .tt-slider-box-containt {
    position: absolute;
    top: 50%;
    left: 57%;
    right: auto;
    width: min(37%, 520px);
    transform: translateY(-50%);
    text-align: left;
    color: #142e4d;
}

.gs-v7-demo-slider .slider-block .swiper-slide:nth-child(2) .tt-slider-box-containt {
    left: 8%;
    color: #191e26;
}

.gs-v7-demo-slider .slider-block .tt-slider-box-containt .tt-slider-box-title {
    color: inherit;
    font-size: clamp(1.65rem, 3.35vw, 3.45rem);
    font-weight: 800;
    line-height: 1.06;
    margin-bottom: .3rem;
}

.gs-v7-demo-slider .slider-block .tt-slider-box-containt .slider-title {
    color: inherit;
    font-size: clamp(.9rem, 1.4vw, 1.14rem);
}
.gs-v7-demo-slider .slider-block .tt-slider-box-containt .slider-button a {
    min-height: 44px;
    background: #142e4d;
    color: #fff;
    border-color: #142e4d;
    padding: .75rem 1rem;
}

@media (max-width: 767px) {
    .gs-v7-demo-slider .tt-slider-box img {
        aspect-ratio: 16 / 8;
        object-position: 28% 50%;
    }

    .gs-v7-demo-slider .swiper-slide:nth-child(2) .tt-slider-box img {
        object-position: 70% 50%;
    }

    .gs-v7-demo-slider .slider-block .swiper-top .tt-slider-box-containt {
        position: static;
        transform: none;
        width: 100%;
        padding: 13px 20px 24px;
        background: #ffd42b;
    }

    .gs-v7-demo-slider .slider-block .swiper-slide:nth-child(2) .tt-slider-box-containt {
        background: #ff8752;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gs-v7-demo-slider .swiper-wrapper {
        transition-duration: 0ms !important;
    }
}

/* Catalog and slider controls */
.gs-v7-demo-slider .slider-block .swiper-top .tt-slider-box-containt {
    box-shadow: none;
}

.gs-v7-demo-slider .swiper-slider,
.gs-v7-demo-slider .swiper-top,
.gs-v7-demo-slider .slider-block .swiper-top .tt-slider-box-containt {
    border-radius: 0;
}

.gs-demo-controls {
    position: absolute;
    z-index: 3;
    bottom: 12px;
    right: 12px;
    display: flex;
    gap: 6px;
}

.gs-demo-controls button {
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    background: #142e4d;
    color: #fff;
    border: 0;
    border-radius: 3px;
    font-size: 1.2rem;
}

.gs-demo-controls button:disabled {
    opacity: .55;
    cursor: default;
}

.gs-demo-controls button:focus-visible {
    outline: 3px solid #124a9b;
    outline-offset: 3px;
}

@media (min-width: 768px) {
    .gs-v7-demo-slider .slider-block .swiper-top .tt-slider-box-containt {
        padding: 0;
        background: transparent;
    }
}

@media (max-width: 767px) {
    .gs-v7-demo-slider .slider-block .swiper-top .tt-slider-box-containt {
        padding-bottom: 65px;
    }
}

.site-loader {
    display: none !important;
}

.gs-panel-demo-notice {
    background: #142e4d;
    color: #fff;
    padding: .3rem .75rem;
    text-align: center;
    font-size: .85rem;
}

@media (max-width: 767px) {
    .gs-v7-demo-slider {
        width: 100% !important;
        max-width: 100%;
        left: 0 !important;
        padding-inline: 0 !important;
    }

    .gs-v7-demo-slider .elementor-widget,
    .gs-v7-demo-slider .slider-block {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin-inline: 0;
    }
}

@media (min-width: 768px) {
    #masthead #mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-item > a.mega-menu-link {
        color: #142e4d;
    }

    #masthead #mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-item > a.mega-menu-link:hover,
    #masthead #mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-current-menu-item > a.mega-menu-link,
    #masthead #mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-current-menu-ancestor > a.mega-menu-link {
        background: #142e4d;
        color: #fff;
    }
}

@media (max-width: 767px) {
    #masthead.header-style-3 #mega-menu-wrap-header-menu .mega-menu-toggle {
        display: flex;
        min-height: 44px;
        align-items: center;
    }

    #masthead.header-style-3 #mega-menu-wrap-header-menu .mega-menu-toggle button.mega-toggle-animated {
        position: static !important;
        width: auto !important;
        height: 44px;
        margin: 0 12px;
        transform: none;
    }

    #masthead.header-style-3 #mega-menu-wrap-header-menu .mega-menu-toggle button.mega-toggle-animated::after {
        content: "Menú";
        color: #fff;
        margin-left: 10px;
    }

    #masthead.header-style-3 .site-wrap {
        min-height: 44px;
    }
}
