.gallery-block {
    display: flex;
    flex-direction: column;
}
.gallery-block .content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.gallery-block .content .gallery-item {
    height: 480px;
}
.gallery-block .content .video-wrap {
    display: flex;
    width: 100%;
    gap: 40px;
    justify-content: space-between;
}
.gallery-block .content .video-wrap .video {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.gallery-block .content .gallery-item .video__btn {
    display: flex;
    position: absolute;
    align-items: center;
    justify-content: center;
    cursor: pointer;  
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    opacity: 1;
    background: var(--primary);
    z-index: 2;
    transition: 0.3s;
}
.gallery-block .content .gallery-item .video__content,
.gallery-block .content .gallery-item .video__link {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}
.gallery-block .content .gallery-item .video__content iframe {
    height: 100%;
    outline: none;
}
.gallery-block .content .gallery-item .video__media {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: all 0.3s;
    border: none;
}
  
.gallery-block .content .gallery-item .video__img-filter {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: transparent;
    transition: all 0.3s;
}
.gallery-block .content .gallery-item .video:hover .video__img-filter {
    background-color: #00000066;
    transition: all 0.3s;
}
.gallery-block .content .gallery-item.imgs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.gallery-block .content .gallery-item.imgs.one-item {
    display: flex;
}
.gallery-block .content .gallery-item.item-small {
    height: 330px;
}
.gallery-block .content .gallery-item .image {
    display: flex;
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    cursor: pointer;
    border-radius: 20px;
}
.gallery-block .content .gallery-item .image .loop {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    opacity: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 100px;
    z-index: 2;
    transition: all 0.3s;
}
.gallery-block .content .gallery-item .image:hover .loop {
    opacity: 1;
}
.gallery-block .content .gallery-item .image .img-filter {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: transparent;
    transition: all 0.3s;
}
.gallery-block .content .gallery-item .image:hover .img-filter {
    background-color: #00000066;
}
.gallery-block .content .gallery-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.gallery-block .btn-more {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 40px;
}

@media (max-width: 1480px) {
    .gallery-block .content,
    .gallery-block .content .gallery-item.imgs {
        gap: 20px;
    }
    .gallery-block .content .gallery-item {
        height: 380px;
    }
    .gallery-block .content .gallery-item.item-small {
        height: 240px;
    }
}
@media (max-width: 992px) {
    .gallery-block .content,
    .gallery-block .content .gallery-item.imgs {
        gap: 10px;
    }
    .gallery-block .content .gallery-item {
        height: 240px;
    }
    .gallery-block .content .gallery-item.item-small {
        height: 140px;
    }
}
@media (max-width: 620px) {
    .gallery-block .content .gallery-item {
        height: 200px;
    }
    .gallery-block .content .gallery-item.item-small {
        height: 100px;
    }
    .gallery-block .content .gallery-item .image,
    .gallery-block .content .gallery-item .video__content,
    .gallery-block .content .gallery-item .video__link {
        border-radius: 10px;
    }
    .gallery-block .btn-more {
        margin-top: 20px;
    }
}
@media (max-width: 475px) {
    .gallery-block .content {
        display: flex;
        flex-direction: column;
    }
    .gallery-block .content .gallery-item,
    .gallery-block .content .gallery-item.item-small {
        height: 180px;
    }
}