/* foldergalleryads – gallery.css  v1.1.0 */

.fga-slider {
    position: relative;
    width: 100%;
    overflow: visible;
    background: #111;
    border-radius: 4px;
    margin: 1em 0;
    user-select: none;
}

.fga-slider-track {
    display: flex;
    overflow: hidden;
}

.fga-slide {
    flex: 0 0 100%;
    width: 100%;
    display: none;
    position: relative;
}

.fga-slide.fga-slide-active {
    display: block;
}

.fga-slide a {
    display: block;
    line-height: 0;
}

.fga-slide img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    display: block;
    background: #111;
}

.fga-slide-ad img {
    background: #fff;
}

/* ── Navigációs nyilak ── */
.fga-prev,
.fga-next {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    height: 48px;
    background: rgba(0,0,0,.45);
    color: #fff;
    border: none;
    font-size: 22px;
    line-height: 1;
    padding: 12px 16px;
    cursor: pointer;
    border-radius: 3px;
    transition: background .2s;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fga-prev { left: 8px; }
.fga-next { right: 8px; }

.fga-prev:hover,
.fga-next:hover {
    background: rgba(0,0,0,.75);
}

/* ── Számláló ── */
.fga-counter {
    position: absolute;
    bottom: 10px;
    right: 12px;
    background: rgba(0,0,0,.5);
    color: #fff;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 10px;
    pointer-events: none;
}

/* ── Hirdetés badge ── */
.fga-slide-ad::after {
    content: 'Hirdetés';
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,.55);
    color: #fff;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 3px;
    pointer-events: none;
    letter-spacing: .04em;
}

/* ── Lightbox felirat ── */
.gdesc-inner .gslide-title {
    text-align: center;
    margin-top: 12px;
}

.gdesc-inner .gslide-title em {
    font-style: italic;
    opacity: 0.75;
    font-size: 0.9em;
}

.gdesc-inner .gslide-desc {
    text-align: center;
}
