/* Styling Efek Hover 2 Gambar di Beranda */
.kaosin-card-thumb .kaosin-thumb-link {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
}

.kaosin-card-thumb img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.3s ease-in-out;
}

.kaosin-card-thumb .kaosin-img-back {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.kaosin-card-thumb:hover .kaosin-img-back {
    opacity: 1;
}



/* LIGHTBOX VIEWER */
.dkn-blogger-viewer {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.92);
    z-index: 999999;
}
.dkn-blogger-viewer.is-open { display: flex; }
.dkn-blogger-viewer-image { max-width: 90vw; max-height: 88vh; object-fit: contain; border-radius: 8px; }
.dkn-blogger-viewer-close { position: absolute; top: 20px; right: 20px; width: 46px; height: 46px; border: none; background: none; color: #fff; font-size: 36px; cursor: pointer; }
.dkn-blogger-viewer-prev, .dkn-blogger-viewer-next { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border: none; background: rgba(255,255,255,.15); color: #fff; font-size: 24px; cursor: pointer; border-radius: 50%; }
.dkn-blogger-viewer-prev { left: 20px; }
.dkn-blogger-viewer-next { right: 20px; }
.dkn-blogger-viewer-counter { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 14px; background: rgba(0,0,0,0.5); padding: 4px 12px; border-radius: 20px; }


/* Kelas untuk menyembunyikan card saat filter aktif */
.kaosin-card.kaosin-hidden {
    display: none !important;
}