/* Kép sáv – front-end stílusok
 */

.fmt-kep-sav {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 48px 12px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.fmt-kep-sav[hidden] {
    display: none !important;
}

.fmt-kep-sav__inner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fmt-kep-sav__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.fmt-kep-sav__img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    width: 350px;
}

.fmt-kep-sav__close {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    min-width: 44px;
    padding: 6px 8px;
    border: none;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.fmt-kep-sav__close-icon {
    font-size: 22px;
    line-height: 1;
}

.fmt-kep-sav__close-label {
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.fmt-kep-sav__close:hover,
.fmt-kep-sav__close:focus {
    background: rgba(0, 0, 0, 0.8);
    outline: none;
}

.fmt-kep-sav__close:focus-visible {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #000;
}

@media (max-width: 767px) {
    .fmt-kep-sav {
        padding: 10px 44px 10px 12px;
    }

    .fmt-kep-sav__close {
        min-width: 0;
        width: 28px;
        height: 28px;
        padding: 0;
        border-radius: 50%;
        right: 8px;
        gap: 0;
    }

    .fmt-kep-sav__close-icon {
        font-size: 20px;
    }

    .fmt-kep-sav__close-label {
        font-size: 9px;
        display: none;
    }
}
