.promo-banner {
    position: fixed;
    inset: 0;
    z-index: 10000000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: rgba(0, 0, 0, 0.6);
}
.promo-banner.active { display: flex; }
.promo-banner-box {
    position: relative;
    width: min(900px, 100%);
    max-height: 100%;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}
.promo-banner-box a { display: block; line-height: 0; }
.promo-banner-box img { width: 100%; height: auto; max-height: calc(100vh - 90px); object-fit: contain; background: #0b2a6b; }
.promo-banner-close {
    position: absolute;
    top: 6px;
    right: 8px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 26px;
    line-height: 34px;
    cursor: pointer;
    z-index: 2;
}
.promo-banner-hide {
    border: 0;
    background: #f1f1f1;
    color: #333;
    padding: 12px;
    font-size: 14px;
    cursor: pointer;
}
.promo-banner-hide:hover { background: #e2e2e2; }

/* Phones: portrait banner, sized to fit the viewport */
@media (max-width: 767px) {
    .promo-banner-box { width: auto; max-width: 100%; margin: 0 auto; }
    .promo-banner-box img { width: auto; max-width: 100%; max-height: calc(100vh - 100px); margin: 0 auto; }
}
