/* ── Full Gallery Items ── */
.full-gallery-item {
    cursor: pointer;
    aspect-ratio: 1 / 1;
}

.full-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.full-gallery-item:hover img {
    transform: scale(1.08);
}

.full-gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.full-gallery-item:hover .full-gallery-overlay {
    opacity: 1;
}

/* ── Bottom Label ── */
.full-gallery-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
    color: #fff;
    font-size: 0.78rem;
    font-weight: 500;
    text-align: center;
    padding: 18px 8px 8px;
    letter-spacing: 0.03em;
}

/* ── Lightbox ── */
.full-gallery-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.full-gallery-lightbox.active {
    display: flex;
}

.full-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.93);
}

.full-lightbox-content {
    position: relative;
    z-index: 1;
    max-width: 88vw;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.full-lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
    display: block;
}

.full-lightbox-caption {
    color: #fff;
    font-size: 0.95rem;
    margin-top: 14px;
    text-align: center;
    letter-spacing: 0.04em;
    opacity: 0.85;
}

.full-lightbox-close {
    position: absolute;
    top: 18px;
    right: 22px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.2s;
}

.full-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.25);
}

.full-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.2s;
}

.full-lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.28);
}

.full-lightbox-prev {
    left: 20px;
}

.full-lightbox-next {
    right: 20px;
}

.full-lightbox-counter {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    z-index: 2;
}

/* Video items reuse full-gallery-item sizing but with 16:9 ratio instead of square */
.full-gallery-item video {
    aspect-ratio: 16 / 9;
    width: 100%;
    height: auto;
    display: block;
    border-radius: inherit;
    overflow: hidden;
    object-fit: cover;
}