.ctc-lb-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, .88);
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}
.ctc-lb-overlay.ctc-lb-open {
    display: flex;
}
.ctc-lb-wrap {
    position: relative;
    max-width: 92vw;
    max-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ctc-lb-img {
    max-width: 92vw;
    max-height: 92vh;
    object-fit: contain;
    box-shadow: 0 8px 40px rgba(0,0,0,.6);
    cursor: default;
    display: block;
    border-radius: 2px;
}
.ctc-lb-close {
    position: fixed;
    top: 16px;
    right: 20px;
    font-size: 36px;
    line-height: 1;
    color: #fff;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    opacity: .8;
    z-index: 100000;
    font-family: Arial, sans-serif;
}
.ctc-lb-close:hover { opacity: 1; }
.ctc-lb-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    font-size: 48px;
    line-height: 1;
    color: #fff;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0 12px;
    opacity: .6;
    z-index: 100000;
    font-family: Arial, sans-serif;
    user-select: none;
}
.ctc-lb-nav:hover { opacity: 1; }
.ctc-lb-prev { left: 8px; }
.ctc-lb-next { right: 8px; }
.ctc-lb-nav.ctc-lb-hidden { display: none; }
.ctc-lb-caption {
    position: fixed;
    bottom: 16px;
    left: 0;
    right: 0;
    text-align: center;
    color: #ddd;
    font-size: 14px;
    padding: 0 40px;
    pointer-events: none;
}

/* Make post images show a zoom cursor */
.entry-content img.ctc-lb-trigger,
.post-content img.ctc-lb-trigger {
    cursor: zoom-in;
}
