/* Gallery — i2t3 component styles */

.i2t3-gallery-section { padding: 2rem 0; }

.i2t3-gallery-section .gallery-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 576px) { .i2t3-gallery-section .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 992px) { .i2t3-gallery-section .gallery-grid { grid-template-columns: repeat(4, 1fr); } }

.i2t3-gallery-section .gallery-item {
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}
.i2t3-gallery-section .gallery-item img {
    display: block;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    width: 100%;
}
.i2t3-gallery-section .gallery-item:hover img {
    transform: scale(1.05);
}
.i2t3-gallery-section .gallery-item a {
    display: block;
    overflow: hidden;
    position: relative;
}
.i2t3-gallery-section .gallery-item a::after {
    background-color: rgba(0, 0, 0, 0);
    bottom: 0;
    content: "";
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: background-color 0.2s ease;
}
.i2t3-gallery-section .gallery-item a:hover::after {
    background-color: rgba(0, 0, 0, 0.2);
}

.image-embed-item {
    border-radius: 6px;
    overflow: hidden;
}
