/* ── Galeria steampunklamp ── */
.sp-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.sp-gallery .gallery-item {
    display: block;
    overflow: hidden;
    border-radius: 2px;
    flex: 1 1 200px;
    max-width: 280px;
    background: #111;
    position: relative;
}

.sp-gallery .gallery-item img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease, opacity 0.3s ease;
    opacity: 0.88;
}

.sp-gallery .gallery-item:hover img {
    transform: scale(1.06);
    opacity: 1;
}

/* Hover overlay — teal tint like Oblique theme */
.sp-gallery .gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(35, 182, 182, 0.35);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.sp-gallery .gallery-item:hover::after {
    opacity: 1;
}

/* Zoom icon on hover */
.sp-gallery .gallery-item::before {
    content: '\f002';
    font-family: FontAwesome;
    position: absolute;
    z-index: 10;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 28px;
    opacity: 0;
    transition: opacity 0.4s ease 0.1s;
    pointer-events: none;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.sp-gallery .gallery-item:hover::before {
    opacity: 1;
}

@media (max-width: 600px) {
    .sp-gallery .gallery-item {
        flex: 1 1 140px;
        max-width: 50%;
    }
    .sp-gallery .gallery-item img {
        height: 140px;
    }
}
