.hero-slide-editor {
    position: relative;
    min-height: 400px;
    background-size: cover;
    background-position: center;
}

.hero-slide-editor .hero-slide-content {
    align-items: center;
}

body:not(.wp-admin) .wp-block-hero-slider-block-slider {
    /*max-width: none !important;*/
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 0;
    position: relative;
    background: #012021;
    max-width: var(--wp--style--global--wide-size);
    /*width: 100%;*/
    margin-inline: auto;
}

.hero-slide-title {
    font-family: 'Avenir Next', sans-serif;
    font-weight: 500;
    font-size: 56px;
    line-height: 1.2;
    text-transform: uppercase;
    color: #fff;
    margin: 0;
}

@media (min-width: 1800px) {
.keen-slider__slide {
    height: 1000px !important;
}
}

.keen-slider__slide {
    height: 800px;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    position: relative;
    align-items: end;
    padding-bottom: 80px;
}

.keen-slider__slide::after {
    content: '';
    background: linear-gradient(0deg, #012021 0%, rgba(0, 92, 122, 0) 100%);
    position: absolute;
    inset: 0;
    top: 50%;
}

.hero-slide-content {
    gap: clamp(0.5rem, -2.1849rem + 11.4554vw, 8.125rem);
    display: flex;
    max-width: var(--wp--style--global--content-size);
    margin-inline: auto;
    padding-inline: 16px;
    z-index: 1;
    justify-content: space-between;
    width: 100%;
    min-height: 192px;
}

.hero-slide-text {
    font-family: 'Helvetica Neue', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.25;
    color: #E1E1E1;
    border-top: 1px solid #DAFAFD;
    padding-top: 16px;
    margin: auto 0 0;
    position: relative;
    max-width: 500px;
}

.hero-slide-text::after {
    content: '';
    background: #DAFAFD;
    display: block;
    width: 5px;
    height: 5px;
    border-radius: 100%;
    top: -2px;
    position: absolute;
    right: 0;
    margin-top: -1px;
    z-index: 2;
}

.button-change-image {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.8) !important;
}

.button-remove-slide {
    position: absolute;
    bottom: 10px;
    right: 10px;
}

.hero-slide-editor .components-placeholder {
    min-height: 400px;
}


.dots {
    display: flex;
    gap: 8px;
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.dot {
    position: relative;
    width: 8px;
    height: 8px;
    background: #5F5F5FB2;
    border: none;
    cursor: pointer;
    padding: 0;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.dot.active {
    width: 48px;
    height: 8px;
    border-radius: 8px;
}

.dot::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: #DAFAFD;
    transition: width 0.1s linear;
    border-radius: inherit;
}

.dot.active::after {
    width: var(--progress, 0%);
}

@media (max-width: 992px) {
    .hero-slide-content {
        flex-direction: column;
        gap: 8px;
        padding-top: 16px;
    }


    .hero-slide-title {
        font-weight: 600;
        font-size: 24px;
        line-height: 1.333;
    }

    .dots {
        bottom: 16px;
    }

    .keen-slider__slide::after {
        background: linear-gradient(0deg, rgba(1, 32, 33, 0) 0%, #012021 30%, #012021 100%);
        transform: rotate(180deg);
        top: 200px;
        height: calc(100% - 200px);
    }
}


@media (max-width: 780px) {

    .keen-slider__slide {
        padding-top: 250px;
        padding-bottom: 32px;
        height: 100%;
    }

    .hero-slide-text {
        max-height: 80px;
        overflow: hidden;
        border-top: none;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
    }

    .hero-slide-text.expanded {
        max-height: none !important;
        -webkit-line-clamp: unset !important;
        overflow: visible !important;
        display: block !important;
    }


    .hero-slide-text::before {
        content: '';
        position: absolute;
        top: 2px;
        left: 0;
        right: 0;
        height: 1px;
        background-color: #DAFAFD;
        z-index: 1;
    }

    .hero-slide-text::after {
        top: 1px;
    }

    .show-more-btn {
        display: flex;
        background-color: unset;
        color: #BECD4E;
        border: none;
        font-size: 18px;
        line-height: 1.333;
        cursor: pointer;
        text-align: center;
        gap: 8px;
        padding-top: 8px;
		padding-left: 0 !important;
    }

    .show-more-btn::before {
        content: url('../icon/bx_down-arrow.svg');
    }

    .show-more-btn.show-more-btn-active::before {
        transform: rotate(180deg);
        margin-top: -2px;
    }

    .show-more-btn.hidden {
        display: none;
    }
}
@media (max-width: 600px) {
    .keen-slider__slide::after {
        top: 150px;
        height: calc(100% - 150px);
    }
	.keen-slider__slide {
        background-size: contain;
    }
}