.gallery-696e31c2-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 1fr;
    gap: 0;
    width: 100%;
}

@media (max-width: 1024px) {
    .gallery-696e31c2-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .gallery-696e31c2-grid {
        grid-template-columns: 1fr;
    }
}

.gallery-696e31c2-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    border-radius: 0;
}

.gallery-696e31c2-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-696e31c2-item:hover .gallery-696e31c2-image {
    transform: scale(1.05);
}

.gallery-696e31c2-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 15px;
    text-align: center;
    box-sizing: border-box;
    z-index: 2;
}

.gallery-696e31c2-item:hover .gallery-696e31c2-overlay {
    opacity: 1;
}

.gallery-696e31c2-title {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    font-weight: 700;
}

.gallery-696e31c2-desc {
    margin: 0 0 15px 0;
    font-size: 0.9rem;
    font-weight: 400;
}

.gallery-696e31c2-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.gallery-696e31c2-icon:hover {
    transform: scale(1.1);
}

.gallery-696e31c2-icon svg {
    display: block;
    width: 24px;
    height: 24px;
    fill: #ffffff;
    transition: fill 0.2s ease;
}
