.image-galleries {
    position: relative;
    z-index: 1;
}

.bg-white+.image-galleries {
    padding-top: 60px;
}

.image-galleries__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 398px;
    z-index: -1;
    object-fit: cover;
}

.image-galleries__headiles {
    margin-bottom: 20px;
}

.image-gallery-slider {
    /* margin: 0 -32px 0 -97px; */
    padding-bottom: 20px;
}

.image-gallery-item {
    padding: 10px;
}

.image-gallery {
    /* width: 329px;*/
    width: 280px; 
    height: 165px;
    position: relative;
    margin-bottom: 7px;
    z-index: 1;
}

.image-gallery::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 7px;
    left: 0;
    border-radius: 8px;
    background: linear-gradient(to right, #c8890e 0%, #f2b740 52%, #c8890e 100%);
    padding: 0 12px 30px;
    z-index: -1;
    opacity: 0;
}

.image-gallery img {
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(114,79,8,0.25);
}

.image-gallery__details {
    position: absolute;
    bottom: 12px;
    left: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    padding: 5px 14px;
    border-radius: 4px;
    font-family: "Roboto Flex", serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5em;
    opacity: 0;
    letter-spacing: 0.05em;
}

.image-gallery__details i {
    color: #99690B;
    font-size: 24px;
    line-height: 1em;
    font-weight: normal;
}

.slick-current .image-gallery__details {
    opacity: 1;
}

.slick-current .image-gallery {
    height: 209px;
}

.slick-current .image-gallery::before {
    opacity: 1;
}

.image-gallery-slider .slick-dots {
    justify-content: center;
}

.image-gallery-slider .slick-arrow {
    top: 45%;
    transform: translate(0, -50%);
    width: 54px;
    height: 54px;
    background: #FFFFFF;
    color: #E59E10;
    box-shadow: 0 3px 13px rgba(114,79,8,0.25);
    margin: -4px 0 0 0;
}

.image-gallery-slider .slick-arrow::after {
    font-size: 35px;
}

.image-gallery-slider .slick-prev {
    left: 8px;
}

.image-gallery-slider .slick-next {
    right: 8px;
}

.image-galleries__bttn {
    margin-top: 30px;
}

@media (min-width: 768px) {
    .bg-white+.image-galleries {
        padding-top: var(--section-margins);
    }

    .image-galleries__bg {
        height: 354px;
    }
    
    .image-galleries__headiles {
        margin-bottom: 19px;
    }

    .image-gallery-slider {
        margin: 0 -68px;
        padding-bottom: 0;
    }

    .image-gallery-item {
        padding: 16px;
    }

    .image-gallery {
        width: 432px;
        height: 165px;
        margin-bottom: 8px;
    }

    .image-gallery::before {
        border-radius: 20px;
        top: 8px;
    }

    .image-gallery img {
        box-shadow: 0 3px 8px rgba(114,79,8,0.25);
    }

    .image-gallery__details {
        border-radius: 8px;
    }

    .slick-current .image-gallery {
        height: 244px;
    }

    .slick-current .image-gallery img {
        border-radius: 20px;
        box-shadow: 0 3px 12px rgba(114,79,8,0.25);
    }

    .image-galleries__bttn {
        margin-top: 20px;
    }

    .image-gallery-slider .slick-arrow {
        top: 50%;
    }

    .image-gallery-slider .slick-arrow::after {
        font-size: 35px;
    }

    .image-gallery-slider .slick-prev {
        left: 68px;
    }

    .image-gallery-slider .slick-next {
        right: 68px;
    }

    .image-gallery-slider::after {
        content: '';
        position: absolute;
        right: 0;
        height: 100%;
        width: 152px;
        top: 0;
        background: linear-gradient(to right,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
    }

    .image-gallery-slider::before {
        content: '';
        position: absolute;
        left: 0;
        height: 100%;
        width: 152px;
        top: 0;
        background: linear-gradient(to right,  rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%);
        z-index: 1;
    }

}

@media (min-width: 1200px) {
    .image-galleries__bg {
        height: 539px;
        object-position: top;
    }

    .image-galleries__headiles {
        margin-bottom: 34px;
    }

    .image-gallery-slider {
        margin: 0 -16px;
    }


    .image-gallery {
        width: 292px;
        margin-bottom: 12px;
    }

    .image-gallery::before {
        top: 12px;
    }

    .image-gallery img {
        box-shadow: 0 3px 12px rgba(114,79,8,0.25);
    }

    .slick-current .image-gallery {
        height: 348px;
        width: 616px;
    }

    .image-galleries__bttn {
        margin-top: 24px;
    }

    .image-gallery-slider .slick-arrow:hover {
        background: #E59E10;
        color: #fff;
        box-shadow: none;
    }

    .image-gallery-slider .slick-prev {
        left: -9px;
    }

    .image-gallery-slider .slick-next {
        right: -9px;
    }

    .image-gallery-slider::after,
    .image-gallery-slider::before {
        display: none;
    }

    .image-gallery__details {
        left: 14px;
        bottom: 14px;
        padding: 12px 25px 12px 14px;
        font-size: 18px;
        line-height: 1.333em;
    }
}
