.doc-main-wrapper {
    position: relative;
    padding: 120px 20px 80px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
}

.doc-container {
    max-width: 1100px;
    margin: 0 auto;
}

.doc-header {
    text-align: center;
    margin-bottom: 35px;
}

.doc-breadcrumb {
    margin-bottom: 12px;
}

.doc-breadcrumb-link {
    color: #d4af37;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.doc-breadcrumb-link:hover {
    color: #ffffff;
}

.doc-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.doc-bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    align-items: start;
}

.doc-bento-item {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.35);
    background: #000000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    position: relative;
}


.doc-bento-photo {
    cursor: pointer;
    aspect-ratio: 9 / 16;
}

.doc-bento-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.doc-bento-photo:hover img {
    transform: scale(1.05);
}

.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    width: auto;
    height: auto;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.5);
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.8);
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 10001;
}

.lightbox-close:hover {
    color: #d4af37;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(20, 20, 20, 0.7);
    border: 1px solid rgba(212, 175, 55, 0.5);
    color: #d4af37;
    width: 50px;
    height: 50px;
    padding: 0;
    font-size: 20px;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10000;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: #d4af37;
    color: #000000;
}

.lightbox-prev { left: 30px; }
.lightbox-next { right: 30px; }

@media (max-width: 768px) {
    .doc-main-wrapper {
        padding-top: 100px;
        background-attachment: scroll;
    }

    .doc-title {
        font-size: 1.4rem;
    }

    .doc-bento-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .doc-bento-video {
    grid-column: auto;
    }

    .doc-bento-video video {
        max-height: 75vh;
    }

    .lightbox-prev { left: 10px; width: 40px; height: 40px; }
    .lightbox-next { right: 10px; width: 40px; height: 40px; }
}

.doc-bento-video {
    grid-column: 1 / -1;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
}

.doc-bento-video video {
    display: block;
    width: auto;          /* jangan dipaksa lebar penuh */
    height: auto;         /* proporsi asli terjaga */
    max-width: 100%;      /* landscape: maksimal selebar frame */
    max-height: 80vh;     /* portrait: tidak lebih tinggi dari layar */
    object-fit: contain;  /* jaga-jaga: tidak pernah crop/zoom */
    background: #000;
}