/* CR Simple Slider stílusok */

.cr-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0; /* a kép alatti rés megszüntetése */
}

.cr-slider-track {
    position: relative;
    width: 100%;
}

.cr-slide {
    display: none;
    position: relative;
    width: 100%;
}

.cr-slide.is-active {
    display: block;
}

.cr-slide-link {
    display: block;
    text-decoration: none;
}

.cr-slide-image {
    display: block;
    width: 100%;
    height: auto;
}

/* Felirat réteg */
.cr-slide-caption {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    box-sizing: border-box;
    padding: 24px 32px;
    color: #fff;
    line-height: 1.3;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
}

.cr-slide-title {
    margin: 0 0 6px;
    font-size: 28px;
    color: #fff;
}

.cr-slide-subtitle {
    margin: 0;
    font-size: 16px;
    color: #fff;
}

/* Nyilak */
.cr-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    font-size: 20px;
    line-height: 44px;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s ease;
}

.cr-slider-arrow:hover {
    background: rgba(0, 0, 0, 0.7);
}

.cr-slider-prev {
    left: 16px;
}

.cr-slider-next {
    right: 16px;
}

/* Pontok */
.cr-slider-dots {
    position: absolute;
    left: 0;
    bottom: 12px;
    width: 100%;
    text-align: center;
    z-index: 2;
    line-height: normal;
}

.cr-slider-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 4px;
    padding: 0;
    border: 2px solid #fff;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: background 0.2s ease;
}

.cr-slider-dot.is-active {
    background: #fff;
}

/* Reszponzív finomítás */
@media (max-width: 600px) {
    .cr-slide-title {
        font-size: 20px;
    }

    .cr-slide-subtitle {
        font-size: 13px;
    }

    .cr-slide-caption {
        padding: 14px 18px;
    }

    .cr-slider-arrow {
        width: 36px;
        height: 36px;
        line-height: 36px;
        font-size: 16px;
    }
}
