Ноя 30, 2026
Кибербезопасность
.news-gallery-grid {
display: flex;
flex-wrap: wrap;
gap: 15px;
margin: 20px 0;
}
.news-gallery-item {
flex: 1 1 300px;
height: 300px;
overflow: hidden;
border-radius: 6px;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
cursor: zoom-in;
position: relative;
}
.news-gallery-item img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.3s ease;
display: block;
}
.news-gallery-item:hover img {
transform: scale(1.04);
}
/* Стили всплывающего окна */
#mgo-lightbox {…
