/*
Theme Name: Erodor
Text Domain: theme
*/

.sGallery {
    padding: 100px 0 60px 0;
}

.sGallery-title {
    color: #D31C1C;
    text-align: center;
    font-family: Heebo;
    font-size: 42px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
}

.sGallery-slider .slick-list {
    padding: 40px 0 !important;
    display: block;
}

.sGallery-slider .slick-track {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 0 30px;
}

.sGallery-slider .item {
    width: 573px !important;
    height: 573px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s;
    cursor: pointer;
}

.sGallery-slider .item .count {
    position: absolute;
    top: 30px;
    right: 30px;
    color: #fff;
    text-shadow: 2px 2px 2px #000;
    font-size: 20px;
    z-index: 1;
}

.sGallery-slider .item .zoom {
    opacity: 0;
    visibility: hidden;
    z-index: -1;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column-reverse;
    fill: radial-gradient(50% 50.00% at 50% 50.00%, rgba(55, 25, 8, 0.36) 0%, rgba(0, 0, 0, 0.00) 100%);
    font-size: 20.649px;
    font-style: normal;
    font-weight: 400;
    color: #FFF;
    text-align: center;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.sGallery-slider .item .zoom i {
    background: url("./assets/img/zoom.svg") no-repeat 50%;
    width: 64.527px;
    height: 64.527px;
    display: inline-flex;
}


.sGallery-slider .item img {
    height: 100%;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.sGallery-slider .item:hover {
    background: #371E1E;
    box-shadow: 0px 0px 25.81081199645996px 0px rgba(0, 0, 0, 0.66);
}

.sGallery-slider .item:hover .zoom {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.sGallery-popup {
    background: transparent !important;
    position: relative;
    padding: 0 !important;
}

.sGallery-popup .caption {
    position: absolute;
    top: 30px;
    right: 30px;
    color: #fff;
    text-shadow: 2px 2px 2px #000;
    font-size: 20px;
    z-index: 1;
}

.sGallery-popup img {
    object-fit: cover;
}


@media (max-width: 767px) {
    .sGallery-slider .item {
        width: 260px !important;
        height: 260px !important;
        display: block !important;
    }

    .sGallery-title {
        font-size: 42px;
        line-height: 1.1;
    }
}