/* ==== Gambar default di konten (biar nggak super gede liar) ==== */
.entry-content img,
.post-content img,
.description img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 0 16px;
}

/* ==== GALERI GRID ==== */
/* 3 kolom di desktop */
.gallery-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

/* 2 kolom di desktop */
.gallery-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

/* Gambar dalam galeri */
.gallery-2 img,
.gallery-3 img {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

/* Hover effect */
.gallery-2 img:hover,
.gallery-3 img:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
}

/* Mobile: galeri jadi 1 kolom biar enak dilihat */
@media (max-width: 768px) {
    .gallery-2,
    .gallery-3 {
        grid-template-columns: 1fr;
    }
}

/* ==== LIGHTBOX (ZOOM) ==== */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    z-index: 9999;
}

.lightbox-overlay img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 6px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 30px;
    font-size: 32px;
    line-height: 1;
    border: none;
    background: transparent;
    color: #fff;
    cursor: pointer;
    z-index: 10000;
}

/* Cursor */
.lightbox-overlay {
    cursor: zoom-out;
}
.lightbox-overlay img {
    cursor: default;
}