.c-event-gallery {
    overflow: hidden;
}

/* ─── Track ─── */
.c-event-gallery .c-event-gallery__track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 4px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.c-event-gallery .c-event-gallery__track::-webkit-scrollbar {
    display: none;
}

/* ─── Cards ─── */
.c-event-gallery .c-event-gallery__card {
    position: relative;
    flex-shrink: 0;
    width: 420px;
    height: 300px;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    transition: opacity 0.5s, transform 0.5s;
}

.c-event-gallery .c-event-gallery__card.is-active {
    
}

.c-event-gallery .c-event-gallery__card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s;
    display: block;
}

.c-event-gallery .c-event-gallery__card:hover img {
    transform: scale(1.1);
}

.c-event-gallery .c-event-gallery__card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.25), transparent);
    pointer-events: none;
}

@media (max-width: 767px) {
    .c-event-gallery .c-event-gallery__card {
        width: 300px;
        height: 220px;
    }
}

/* ─── Divider ─── */
.c-event-gallery .c-event-gallery__divider {
    height: 1px;
    background-color: rgba(0,0,0,0.15);
    margin-top: 32px;
}

/* ─── Navigation ─── */
.c-event-gallery .c-event-gallery__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}

@media (min-width: 768px) {
    .c-event-gallery .c-event-gallery__nav {
        gap: 24px;
    }
}

.c-event-gallery .c-event-gallery__arrow {
    width: 40px;
    height: 40px;
    color: #2b2b2b;
    border-radius: 50%;
    border: 1px solid #2b2b2b4d;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
    padding: 0;
}

.c-event-gallery .c-event-gallery__arrow:hover:not(:disabled) {
    background-color: #2b2b2b;
    color: #faf8f5;
    border-color: #2b2b2b;
}

.c-event-gallery .c-event-gallery__arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.c-event-gallery .c-event-gallery__dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.c-event-gallery .c-event-gallery__dot {
    width: 8px;
    height: 8px;
    border-radius: 9999px;
    border: none;
    background-color: #2b2b2b4d;
    cursor: pointer;
    padding: 0;
    transition: width 0.3s, background-color 0.3s;
}

.c-event-gallery .c-event-gallery__dot.is-active {
    width: 24px;
    background-color: #2b2b2b;
}

/* ─── Lightbox ─── */
.c-event-gallery .c-event-gallery__lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000000e6;
}

.c-event-gallery .c-event-gallery__lb-close,
.c-event-gallery .c-event-gallery__lb-prev,
.c-event-gallery .c-event-gallery__lb-next {
    position: absolute;
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(4px);
    color: #faf8f5;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
    padding: 0;
}

.c-event-gallery .c-event-gallery__lb-close:hover,
.c-event-gallery .c-event-gallery__lb-prev:hover,
.c-event-gallery .c-event-gallery__lb-next:hover {
    background: rgba(255,255,255,0.3);
}

.c-event-gallery .c-event-gallery__lb-close {
    top: 24px;
    right: 24px;
}

.c-event-gallery .c-event-gallery__lb-prev {
    left: 16px;
}

.c-event-gallery .c-event-gallery__lb-next {
    right: 16px;
}

@media (min-width: 768px) {
    .c-event-gallery .c-event-gallery__lb-prev { left: 32px; }
    .c-event-gallery .c-event-gallery__lb-next { right: 32px; }
}

.c-event-gallery .c-event-gallery__lb-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
}

.c-event-gallery .c-event-gallery__lb-counter {
    position: absolute;
    bottom: 24px;
    color: #faf8f5b3;
    font-size: 1rem;
}
