.nogyogyasz-slider {
    --ngy-szin: #06b8ae;
    --ngy-sotet: #007a74;
    --ngy-magassag: 430px;
    position: relative;
    width: 100%;
    font-family: "Montserrat", Sans-serif;
}

/* Teljes képernyő szélesség, a szülő konténertől függetlenül */
.nogyogyasz-slider--teljes {
    width: var(--ngy-vw, 100vw);
    max-width: none;
    margin-left: calc(50% - var(--ngy-vw, 100vw) / 2);
}

/* Fő slider */
.nogyogyasz-slider__main .splide__slide {
    position: relative;
    height: var(--ngy-magassag);
    overflow: hidden;
}

.nogyogyasz-slider__kep {
    display: block;
    width: 100%;
    height: 100% !important;
    max-width: none;
    object-fit: cover;
    transition: filter 0.6s, transform 0.6s;
}

/* A képek élesek, csak az aktív (középső) dián és hoverre mosódnak el */
.nogyogyasz-slider__main .splide__slide.is-active .nogyogyasz-slider__kep,
.nogyogyasz-slider__main .splide__slide:hover .nogyogyasz-slider__kep {
    filter: blur(4px);
    transform: scale(1.05);
}

/* Alsó sötét átmenet, hogy a felirat mindig olvasható legyen */
.nogyogyasz-slider__main .splide__slide::before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 122, 116, 0.8) 0%, rgba(0, 122, 116, 0) 55%);
    pointer-events: none;
}

/* Hover overlay az oldal színeivel */
.nogyogyasz-slider__main .splide__slide::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 122, 116, 0.55) 0%, rgba(6, 184, 174, 0.25) 100%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.nogyogyasz-slider__main .splide__slide.is-active::after,
.nogyogyasz-slider__main .splide__slide:hover::after {
    opacity: 1;
}

/* Felirat: mindig látszik, bal alsó sarok, 25px eltartással */
.nogyogyasz-slider__tartalom {
    position: absolute;
    z-index: 2;
    left: 25px;
    right: 25px;
    bottom: 25px;
    text-align: left;
}

.nogyogyasz-slider__cim {
    margin: 0 0 18px;
    color: #ffffff;
    font-family: "Montserrat", Sans-serif;
    font-size: clamp(18px, 1.6vw, 25px);
    font-weight: 700;
    line-height: 1.15;
}

.nogyogyasz-slider__gomb {
    display: inline-block;
    padding: 11px 34px;
    border-radius: 50px;
    background-color: var(--ngy-szin);
    color: #fff !important;
    font-family: "Montserrat", Sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background-color 0.3s, transform 0.3s;
}

.nogyogyasz-slider__gomb:hover,
.nogyogyasz-slider__gomb:focus {
    background-color: var(--ngy-sotet);
    transform: translateY(-2px);
}

/* Címkék */
.nogyogyasz-slider__cimkek {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 6px;
    max-width: 960px;
    margin: 0 auto 28px;
    padding: 0 16px;
}

.nogyogyasz-slider__cimke {
    display: inline-block;
    padding: 11px 22px;
    border: 2px solid var(--ngy-szin);
    border-radius: 50px;
    background-color: var(--ngy-szin);
    color: #fff !important;
    font-family: inherit;
    font-size: 13px;
    text-decoration: none !important;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.nogyogyasz-slider__cimke:hover,
.nogyogyasz-slider__cimke:focus {
    background-color: #fff;
    color: var(--ngy-szin) !important;
}

@media (max-width: 1024px) {
    .nogyogyasz-slider {
        --ngy-magassag: 360px;
    }
}

@media (max-width: 767px) {
    .nogyogyasz-slider {
        --ngy-magassag: 300px;
    }

    .nogyogyasz-slider__cimke {
        padding: 10px 16px;
        font-size: 13px;
    }
}
