/* UC Logo Carousel Lightbox — overlay styles */

.ucll-overlay {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 10, 10, .94);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2147483647;
}
.ucll-overlay.active { display: flex; }

.ucll-box {
    max-width: 94vw;
    max-height: 88vh;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ucll-box img {
    max-width: 94vw;
    max-height: 88vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 2px;
}

.ucll-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #fff;
    font-size: 40px;
    line-height: 1;
    padding: 10px 16px;
    cursor: pointer;
    opacity: .85;
    transition: opacity .2s ease;
}
.ucll-nav:hover { opacity: 1; }
.ucll-prev { left: 4vw; }
.ucll-next { right: 4vw; }

.ucll-caption {
    position: absolute;
    left: 24px;
    bottom: 22px;
    color: #b9b9b9;
    font-size: 13px;
    max-width: 60%;
}

.ucll-close {
    position: absolute;
    right: 24px;
    bottom: 22px;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, .5);
    background: transparent;
    color: #fff;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s ease;
}
.ucll-close:hover { background: rgba(255, 255, 255, .12); }

/* Give the clickable gallery links a hint they're interactive */
.uc_logo_carousel_holder a { cursor: zoom-in; }

@media (max-width: 600px) {
    .ucll-nav { font-size: 30px; padding: 8px; }
    .ucll-prev { left: 6px; }
    .ucll-next { right: 6px; }
    .ucll-caption { left: 14px; bottom: 14px; font-size: 12px; }
    .ucll-close { right: 14px; bottom: 14px; }
}
