.gallery-slider {
    background-color: #0c0c0c;
    color: #fff;
    font-family: Work Sans,sans-serif;
    font-size: 20px;
    letter-spacing: .02em;
    line-height: 160%;
    position: relative;
    text-align: center
}

.dnd-section[class*=full-width-section] .gallery-slider {
    margin-left: -80px;
    margin-right: -80px
}

.gallery-slider-splide .splide__arrow {
    background-color: transparent;
    border: 0;
    color: #fff;
    padding: 0;
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 20
}

.gallery-slider-splide .splide__arrow svg {
    display: block;
    fill: currentColor;
    height: 40px;
    width: 40px
}

.gallery-slider-splide .splide__arrow--prev {
    -webkit-transform: scaleX(-1) translateY(-50%);
    -ms-transform: scaleX(-1) translateY(-50%);
    transform: scaleX(-1) translateY(-50%);
    left: 66px
}

.gallery-slider-splide .splide__arrow--next {
    right: 66px
}

.gallery-slider-content {
    left: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    z-index: 20
}

.gallery-slider-content h1,.gallery-slider-content h2,.gallery-slider-content h3,.gallery-slider-content h4,.gallery-slider-content h5,.gallery-slider-content h6 {
    font-family: adobe-jenson-pro-display,serif;
    font-size: 64px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 77px;
    text-transform: uppercase
}

.gallery-slider-content>:last-child {
    margin-bottom: 0
}

.gallery-slider-content h1 small,.gallery-slider-content h2 small,.gallery-slider-content h3 small,.gallery-slider-content h4 small,.gallery-slider-content h5 small,.gallery-slider-content h6 small {
    display: block;
    font-family: Josefin Sans,sans-serif;
    font-size: 14px;
    letter-spacing: .2em;
    line-height: 1;
    margin-bottom: 30px;
    text-transform: uppercase
}

.gallery-slider .splide__slide__image {
    height: 640px;
    position: relative;
    width: 100%
}

.gallery-slider .splide__slide__image:before {
    background: #000;
    content: "";
    display: block;
    height: 100%;
    left: 0;
    opacity: .4;
    position: absolute;
    top: 0;
    -webkit-transition: opacity .2s ease-in;
    -o-transition: opacity .2s ease-in;
    transition: opacity .2s ease-in;
    width: 100%
}

.gallery-slider .is-visible .splide__slide__image:before {
    opacity: .2
}

.gallery-slider .splide__slide__image img {
    display: block;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    width: 100%
}

@media (max-width: 1024px) {
    .gallery-slider {
        font-size:16px
    }

    .dnd-section[class*=full-width-section] .gallery-slider {
        margin-left: -24px;
        margin-right: -24px
    }

    .gallery-slider-splide .splide__arrow svg {
        height: 20px;
        width: 20px
    }

    .gallery-slider-splide .splide__arrow--prev {
        left: 27px
    }

    .gallery-slider-splide .splide__arrow--next {
        right: 27px
    }

    .gallery-slider-content h1,.gallery-slider-content h2,.gallery-slider-content h3,.gallery-slider-content h4,.gallery-slider-content h5,.gallery-slider-content h6 {
        font-size: 48px;
        line-height: 58px;
        font-weight: 400
    }

    .gallery-slider-content h1 small,.gallery-slider-content h2 small,.gallery-slider-content h3 small,.gallery-slider-content h4 small,.gallery-slider-content h5 small,.gallery-slider-content h6 small {
        ;font-family: Work Sans,sans-serif;
        font-weight: 600;
        line-height: 16px;
        margin-bottom: 14px
    }

    .gallery-slider .splide__slide__image {
        height: 440px
    }
}

@media (max-width: 767px) {
    .dnd-section[class*=full-width-section] .gallery-slider {
        margin-left:-20px;
        margin-right: -20px
    }

    .gallery-slider-content h1,.gallery-slider-content h2,.gallery-slider-content h3,.gallery-slider-content h4,.gallery-slider-content h5,.gallery-slider-content h6 {
        font-size: 36px;
        font-weight: 600;
        line-height: 43px
    }

    .gallery-slider-content h1 small,.gallery-slider-content h2 small,.gallery-slider-content h3 small,.gallery-slider-content h4 small,.gallery-slider-content h5 small,.gallery-slider-content h6 small {
        ;font-family: Josefin Sans,sans-serif;
        line-height: 1;
        margin-bottom: 16px
    }

    .gallery-slider .splide__slide__image {
        height: 374px
    }
}
