.gpg-wrapper {
    margin: 24px 0;
    width: 100%;
    box-sizing: border-box;
}

/* Header Info Album */
.gpg-album-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    padding: 12px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
}

.gpg-album-cover {
    display: block;
    width: 110px;
    height: 75px;
    overflow: hidden;
    border-radius: 4px;
    flex-shrink: 0;
}

.gpg-album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gpg-album-title {
    margin: 0 0 4px 0 !important;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
}

.gpg-album-title a {
    color: #1a73e8;
    text-decoration: none;
}

.gpg-album-title a:hover {
    text-decoration: underline;
}

.gpg-album-count {
    font-size: 13px;
    color: #6c757d;
}

/* Masonry Layout */
.gpg-masonry-grid {
    column-count: var(--gpg-cols, 3);
    column-gap: 8px;
}

.gpg-masonry-item {
    break-inside: avoid;
    margin-bottom: 8px;
    overflow: hidden;
    border-radius: 4px;
    background-color: #f1f1f1;
    position: relative;
}

.gpg-item-link {
    display: block;
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
    text-decoration: none;
}

/* Efek Zoom-in saat Hover */
.gpg-masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.gpg-item-link:hover img {
    transform: scale(1.08);
}

/* Overlay halus saat Hover */
.gpg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.14);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.gpg-item-link:hover .gpg-overlay {
    opacity: 1;
}

/* Tombol Download di dalam GLightbox */
.glightbox-container .gpg-lb-download-btn {
    position: fixed;
    top: 15px;
    right: 62px;
    z-index: 999999;
    width: 35px;
    height: 35px;
    background: rgba(0, 0, 0, 0.45);
    border: none;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.2s ease, opacity 0.2s ease;
    text-decoration: none;
}

.glightbox-container .gpg-lb-download-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
}

.glightbox-container .gpg-lb-download-btn svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Responsif untuk Tablet & Mobile */
@media (max-width: 992px) {
    .gpg-masonry-grid {
        column-count: 2;
    }
}

@media (max-width: 576px) {
    .gpg-wrapper {
        padding-left: 5px;
        padding-right: 5px;
    }
    .gpg-masonry-grid {
        column-count: 1;
    }
    .gpg-masonry-item {
        margin-bottom: 10px;
    }
}
