/* Főoldali banner-slider — a Cserebirodalom custom.css "Főoldali banner-slider" blokkjából átvéve,
   bemutatoterem-színekkel (#BB0000; a kép mögötti háttér a régi slider kék banner_bg.jpg-je, ahogy a Cserebirodalomnál).
   Markup: Home.tpl #homeHero (a Revolution Slider helyett). */

/* --- Főoldali banner-slider (Home.tpl #homeHero, a Revolution Slider helyett) ---
   A bannerkép (1300x600) a régi slider kék hátterén (banner_bg.jpg), középre igazítva. Több diánál vízszintesen
   lapozható (scroll-snap), nyilakkal és pöttyökkel; 978 px alatt a kép alatt olvasható szöveg. */
.home-hero {
    position: relative;
}

.home-hero-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
}

.home-hero-track::-webkit-scrollbar {
    display: none;
}

.home-hero-slide {
    flex: 0 0 100%;
    min-width: 0;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
}

.home-hero-image {
    display: block;
    background: #1a63b8 url(../Image/banner_bg.jpg) center top / cover no-repeat;
}

.home-hero-image img {
    display: block;
    width: 100%;
    max-width: 1300px;
    height: auto;
    margin: 0 auto;
}

.home-hero-body {
    display: none;
}

.home-hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 44px;
    height: 44px;
    margin-top: -22px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .85);
    color: #BB0000;
    font-size: 26px;
    line-height: 44px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
    cursor: pointer;
    transition: background-color .15s ease;
}

.home-hero-arrow:hover,
.home-hero-arrow:focus {
    background: #ffffff;
    outline: none;
}

.home-hero-prev {
    left: 16px;
}

.home-hero-next {
    right: 16px;
}

.home-hero-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 12px;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 8px;
    pointer-events: none;
}

.home-hero-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 2px solid #ffffff;
    border-radius: 50%;
    background: transparent;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
    cursor: pointer;
    pointer-events: auto;
}

.home-hero-dot.active {
    background: #ffffff;
}

@media (max-width: 977px) {
    /* a slider alatti, üres sárga csík mobilon nem kell */
    .content-container-home .vc_custom_1460982291884 {
        display: none !important;
    }

    .home-hero-body {
        display: block;
        flex: 1 1 auto;
        padding: 16px 16px 20px;
        background: #BB0000;
        color: #ffffff;
        text-align: center;
    }

    .home-hero-lead {
        margin: 0 0 6px;
        font-size: 15px;
        line-height: 1.4;
    }

    .home-hero-highlight {
        margin: 0 0 14px;
        font-size: 17px;
        font-weight: 700;
        line-height: 1.35;
        color: #FFD84D;
    }

    .home-hero-button,
    .home-hero-button:visited {
        display: inline-block;
        padding: 10px 28px;
        border-radius: 4px;
        background: #ffffff;
        color: #BB0000;
        font-size: 15px;
        font-weight: 700;
        text-decoration: none;
    }

    .home-hero-button:hover,
    .home-hero-button:focus {
        background: #FFD84D;
        color: #BB0000;
        text-decoration: none;
    }

    .home-hero-arrow {
        display: none;      /* érintőképernyőn húzással és a pöttyökkel lapozható */
    }
}

/* bt: a custom.css 640 px alatt elrejtette a régi slidert (#homeSlider) és lenullázta a .container felső margóját;
   az új banner mobilon is látszik, ezért a sor -60 px-es felső margója (vc_custom_1446105384445) itt nem kell,
   különben a fejléc alá csúszna. */
@media all and (max-width: 640px) {
    .content-container-home .vc_custom_1446105384445 {
        margin-top: 0 !important;
    }
}
