/* ============================================================
   PUBLIKUS CÉGOLDAL · LIGHTBOX — borítókép-nagyító (végiglapozható)
   doc: docs/ceg-publikus-profil/10-…-2026-08-21.md §1 (F2)
   JS: /js/public/company/gallery-lightbox.js
   ============================================================ */

.cp-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(17, 24, 39, .92);
    padding: 24px;
}

.cp-lightbox.is-open { display: flex; }

.cp-lb-figure {
    margin: 0;
    max-width: 92vw;
    max-height: 86vh;
    display: flex;
}

.cp-lb-img {
    max-width: 92vw;
    max-height: 86vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .5);
}

.cp-lb-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.4rem;
    line-height: 1;
    cursor: pointer;
    opacity: .85;
}

.cp-lb-close:hover { opacity: 1; }

.cp-lb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, .12);
    border: none;
    color: #fff;
    font-size: 1.8rem;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    cursor: pointer;
    transition: background .2s ease;
}

.cp-lb-nav:hover { background: rgba(255, 255, 255, .26); }
.cp-lb-prev { left: 16px; }
.cp-lb-next { right: 16px; }

.cp-lb-counter {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: .9rem;
    opacity: .85;
}
