.gallery-b {
    padding: 0;
    width: unset;
}
.gallery-b * {
    -webkit-tap-highlight-color: transparent;
}
.gallery-b .main img,
.gallery-b .main {
    border-radius: var(--border-radius);
}
.gallery-b .main {
    /* height: 530px; */
}
.gallery-b .main::after,
.gallery-b .slide::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(68deg, rgba(4, 178, 173, 0.10) 0%, rgba(160, 177, 247, 0.10) 100%); */
    background-blend-mode: screen;
    /* border-radius: 24px; */
}
.gallery-b .slides {
    overflow: hidden;
    cursor: pointer;
}
.gallery-b .slide {
    margin: 0;
    margin-right: 15px;
    margin-top: 16px;
    height: 87px;
    min-width: 136px;
    width: 136px;
}
.gallery-b .slide img,
.gallery-b .slide {
    border-radius: 8px;
}

.gallery-b .current-slide {
    border: 2px solid var(--color-primary);
}

/* Project popup */
.project-popup__gallery-col .gallery-b .main,
.gallery-b .slide {
    overflow: hidden;
}
.project-popup__gallery-col .gallery-b .main img {
    max-height: calc(100vh - 411px);
    height: 100%;
}
.project-popup__gallery-col .gallery-b .main img,
.gallery-b .slide img {
    transition: all 0.3s ease;
}

@media (max-width: 1099px) {
    .gallery-b {
        margin-top: 22px;
        margin-bottom: 22px;
    }
    .gallery-b .main {
        max-height: 186px;
    }
    .gallery-b .main img,
    .gallery-b .main {
        border-radius: 16px;
    }
    .gallery-b .slide {
        margin-top: 8px;
        margin-right: 12px;
        min-width: 31%;
        height: 63px;
	width: 31%;
    }
    .gallery-b .slide img,
    .gallery-b .slide {
        border-radius: 8px;
    }
}

.gallery.fancybox-content {
    margin-top: 0;
}
.fancybox-slide {
    overflow: hidden;
}
.gallery__nav .flex-direction-nav .flex-prev svg {
    transform: translateY(-50%) rotate(180deg);
}
.gallery__nav {
    margin: auto;
}

/* Zoom icon */
.gallery-zoom-icon svg {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 1;
}
.gallery-zoom-icon svg circle, 
.gallery-zoom-icon svg path {
    transition: all 0.3s ease;
}
.gallery-zoom-icon:hover circle {
    fill: var(--color-blue);
}
.gallery-zoom-icon:hover path {
    fill: #fff;
}