/* foldergallery-ads – gallery.css  v1.1.0 */

/* =============================================================
   SLIDER
   ============================================================= */

.fga-slider {
    position: relative;
    width: 100%;
    background: #111;
    border-radius: 4px;
    margin: 1em 0;
    user-select: none;
    /* overflow látható marad hogy a nyilak ne tűnjenek el */
    overflow: visible;
}

.fga-slider-track {
    display: flex;
    transition: none; /* JS kezeli */
}

/* Egyetlen slide látszik egyszerre */
.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;
}

/* Reklám: fehér háttér, ne legyen levágva */
.fga-slide-ad img {
    background: #fff;
}

/* =============================================================
   NAVIGÁCIÓS NYILAK
   ============================================================= */

.fga-prev,
.fga-next {
    position: absolute;
    /* A képhez igazodik: a .fga-slide-active képének közepére */
    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Ó  (1 / 24)
   ============================================================= */

.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 a slider képen
   ============================================================= */

.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 – reklám felirat középre + térköz
   ============================================================= */

.gdesc-inner .gslide-title {
    text-align: center;
    margin-top: 12px;  /* térköz a kép és a szöveg között */
}

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

/* Normál képaláírás is középre */
.gdesc-inner .gslide-desc {
    text-align: center;
}
