.cp-banner-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0,0,0,.7);

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 15px;
}

.cp-banner-box {
    position: relative;
    max-width: 900px;
    width: 100%;
}

.cp-banner-img {
    width: 100%;
    height: auto;

    display: block;

    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,.4);
}

.cp-banner-close {
    position: absolute;
    top: -15px;
    right: -15px;

    width: 42px;
    height: 42px;

    border: none;
    border-radius: 50%;
    background: #ffc107;
    color: #000;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 28px;
    font-weight: 700;
    line-height: 1;

    cursor: pointer;
    z-index: 5;
    padding: 0;
}

.cp-banner-close:hover {
    background: #ffca2c;
}



@media (max-width: 768px) {

    .cp-banner-box {
        max-width: 95vw;
    }

    .cp-banner-close {
        top: -10px;
        right: -10px;
    }
}

.cp-sidebar-banners {
    width: 100%;
}

.cp-sidebar-banner {
    width: 100%;
}

.cp-sidebar-banner-link {
    display: block;
    text-decoration: none;
}

.cp-sidebar-banner-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(0,0,0,.12);
    transition: transform .2s ease, box-shadow .2s ease;
}

.cp-sidebar-banner-link:hover .cp-sidebar-banner-img {
    transform: translateY(-2px);
    box-shadow: 0 7px 18px rgba(0,0,0,.18);
}

.cp-sidebar-banner {
    width: 100%;
    background: #fff;
    border: 1px solid #e3e6ea;
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 3px 12px rgba(0,0,0,.07);
}

.cp-sidebar-banner-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 7px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.cp-sidebar-banner-link {
    display: block;
    overflow: hidden;
    border-radius: 9px;
    text-decoration: none;
}

.cp-sidebar-banner-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 9px;
    transition: transform .2s ease;
}

.cp-sidebar-banner-link:hover .cp-sidebar-banner-img {
    transform: scale(1.02);
}

.cp-sidebar-banner-footer {
    margin-top: 7px;
    font-size: 0.68rem;
    color: #8a8f95;
    text-align: center;
}

@media (max-width: 991.98px) {
    .cp-sidebar-banners {
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
    }

    .cp-sidebar-banner {
        padding: 8px;
    }

    .cp-sidebar-banner-img {
        max-height: 320px;
        object-fit: contain;
    }
}

.cp-banner-box {
    position: relative;

    /* ne legyen óriási */
    width: auto;
    max-width: min(760px, 90vw);

    background: #fff;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 14px;
    padding: 7px;

    box-shadow: 0 16px 50px rgba(0, 0, 0, .45);
}

.cp-banner-img {
    display: block;

    /* EZ A LÉNYEG */
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 72vh;

    object-fit: contain;

    border-radius: 9px;
    box-shadow: none;
}

.cp-banner-ad-label {
    position: absolute;
    top: -27px;
    left: 8px;

    background: rgba(20, 24, 28, .94);
    color: rgba(255, 255, 255, .85);

    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 5px 5px 0 0;

    padding: 4px 9px;

    font-size: .62rem;
    font-weight: 600;
    line-height: 1;

    letter-spacing: .10em;
    text-transform: uppercase;

    z-index: 6;
}


@media (max-width: 768px) {

    .cp-banner-ad-label {
        top: -24px;
        left: 6px;

        font-size: .58rem;
        padding: 4px 7px;
    }
}