/* Inline Layer Slider v2.5.2 - Raanan */

.ils-wrapper {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.swiper.ils {
    position: relative;
    z-index: 1;
}

.ils-slide {
    height: 100vh;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* SVG layer: above background image, below text */
.ils-slide .ils-global-svg {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.ils-slide .ils-global-svg img,
.ils-slide .ils-global-svg .svg-desktop,
.ils-slide .ils-global-svg .svg-mobile {
    position: absolute !important;
    inset: 0 !important;
    display: block;
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: fill !important;
}

.ils-slide .ils-global-svg .svg-mobile {
    display: none !important;
}

/* Content layer */
.ils-slide .content {
    position: relative;
    z-index: 20;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 40px;
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    transform: translate3d(0, -70px, 0);
    will-change: opacity, transform;
}

.ils-slide.ils-animate-in .content {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.ils-slide.ils-animate-out .content {
    opacity: 0;
    transform: translate3d(0, -70px, 0);
}

/* New built-in CMS-generated hero content */
.ils-hero-copy {
    min-height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    direction: rtl;
    font-family: 'Karantina', cursive;
    text-align: center;
    position: relative;
    z-index: 20;
    box-sizing: border-box;
}

.ils-hero-title-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 32px;
}

.ils-hero-title-bg {
    position: absolute;
    left: -30px;
    right: -30px;
    top: 50%;
    transform: translateY(-50%) skewX(-6deg);
    height: 68px;
    background: #111;
    z-index: 0;
}

.ils-hero-title {
    position: relative;
    z-index: 1;
}

.ils-hero-title-line {
    font-size: 52px;
    font-weight: bold;
    color: #fff;
    line-height: 1.15;
}

.ils-hero-button,
.ils-hero-button:visited,
.ils-wrapper .ils-slide .content a.ils-hero-button,
.ils-wrapper .ils-slide .content a.ils-hero-button[style] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: row !important;
    direction: ltr !important;
    gap: 6px !important;
    background: #2ecec8 !important;
    color: #fff !important;
    font-family: 'Karantina', cursive !important;
    font-size: 24px !important;
    font-weight: bold !important;
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 16px 0 32px !important;
    line-height: 1 !important;
    text-decoration: none !important;
    border-radius: 4px !important;
    position: relative;
    z-index: 20;
    box-sizing: border-box !important;
    white-space: nowrap !important;
}

.ils-hero-button-arrow {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 22px !important;
    line-height: 1 !important;
    transform: translateY(-1px) !important;
    margin: 0 !important;
    padding: 0 !important;
}

.ils-hero-button-label {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    direction: rtl !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Legacy button normalizer, only for old pasted HTML */
.ils-wrapper .ils-slide .content a.ils-cta,
.ils-wrapper .ils-slide .content a.ils-cta[style] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: row !important;
    gap: 6px !important;
    box-sizing: border-box !important;
    min-height: 44px !important;
    height: 44px !important;
    padding: 0 16px 0 32px !important;
    line-height: 1 !important;
    vertical-align: middle !important;
    direction: ltr !important;
    white-space: nowrap !important;
}

.ils-wrapper .ils-slide .content a.ils-cta .ils-cta-label,
.ils-wrapper .ils-slide .content a.ils-cta .ils-cta-label[style] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    direction: rtl !important;
    order: 2 !important;
    transform: translateY(1px) !important;
}

.ils-wrapper .ils-slide .content a.ils-cta .ils-cta-arrow,
.ils-wrapper .ils-slide .content a.ils-cta .ils-cta-arrow[style] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 14px !important;
    min-width: 14px !important;
    height: 14px !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 22px !important;
    order: 1 !important;
    transform: translateY(-1px) !important;
}

@media (max-width: 767px) {
    .ils-slide .ils-global-svg {
        position: absolute !important;
        inset: 0 !important;
        width: 100vw !important;
        height: 100% !important;
        min-height: 100vh !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
    }

    .ils-slide .ils-global-svg .svg-desktop {
        display: none !important;
    }

    .ils-slide .ils-global-svg .svg-mobile {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        min-height: 100vh !important;
        object-fit: fill !important;
    }

    .ils-slide .content {
        padding: 24px;
    }

    .ils-hero-copy {
        min-height: 300px;
        padding: 32px 16px;
    }

    .ils-hero-title-wrap {
        margin-bottom: 28px;
    }

    .ils-hero-title-bg {
        left: -22px;
        right: -22px;
        height: 62px;
    }

    .ils-hero-title-line {
        font-size: 44px;
        line-height: 1.12;
    }

    .ils-hero-button,
    .ils-hero-button:visited,
    .ils-wrapper .ils-slide .content a.ils-hero-button,
    .ils-wrapper .ils-slide .content a.ils-hero-button[style],
    .ils-wrapper .ils-slide .content a.ils-cta,
    .ils-wrapper .ils-slide .content a.ils-cta[style] {
        height: 44px !important;
        min-height: 44px !important;
        padding: 0 16px 0 32px !important;
        gap: 6px !important;
    }
}
