.torus-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.torus-gallery-item {
    overflow: hidden;
    border-radius: 16px;
    position: relative;
}

.torus-gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.4s ease;
    border-radius: 16px;
}

.torus-gallery-item:hover img {
    transform: scale(1.08);
    filter: brightness(0.9);
}

/* адаптив */
@media (max-width: 992px) {
    .torus-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .torus-gallery {
        grid-template-columns: 1fr;
    }
}
