.cnb-bar {
    position: sticky;
    top: 0;
    z-index: 99999;
    width: 100%;
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.45;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.cnb-bar__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.cnb-bar__icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

.cnb-bar__content {
    flex: 1 1 auto;
    min-width: 0;
}

.cnb-bar__title {
    margin: 0 0 2px 0;
    font-weight: 700;
    font-size: 16px;
}

.cnb-bar__body {
    margin: 0;
}

.cnb-bar__body p {
    margin: 0;
}

.cnb-bar__body p + p {
    margin-top: 4px;
}

.cnb-bar__body a {
    color: inherit;
    text-decoration: underline;
    font-weight: 600;
}

.cnb-bar__body a:hover {
    text-decoration: none;
}

.cnb-bar__cta {
    flex-shrink: 0;
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.95);
    color: #1d1d1d !important;
    text-decoration: none !important;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    transition: background 0.15s ease;
}

.cnb-bar__cta:hover,
.cnb-bar__cta:focus {
    background: #fff;
    color: #000 !important;
}

.cnb-bar__close {
    flex-shrink: 0;
    background: transparent;
    border: 0;
    color: inherit;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
    opacity: 0.75;
    transition: opacity 0.15s ease;
}

.cnb-bar__close:hover,
.cnb-bar__close:focus {
    opacity: 1;
    outline: none;
}

.cnb-sev-info {
    background: #2271b1;
}

.cnb-sev-warning {
    background: #dba617;
    color: #1d1d1d;
}

.cnb-sev-warning .cnb-bar__cta {
    background: #1d1d1d;
    color: #fff !important;
}

.cnb-sev-warning .cnb-bar__cta:hover {
    background: #000;
    color: #fff !important;
}

.cnb-sev-closed {
    background: #d63638;
}

.cnb-bar.is-hidden {
    display: none;
}

@media (max-width: 640px) {
    .cnb-bar__inner {
        padding: 10px 14px;
        flex-wrap: wrap;
        gap: 10px;
    }
    .cnb-bar__content {
        flex: 1 1 100%;
        order: 2;
    }
    .cnb-bar__icon {
        order: 1;
    }
    .cnb-bar__close {
        order: 1;
        margin-left: auto;
    }
    .cnb-bar__cta {
        order: 3;
        flex: 1 1 100%;
        text-align: center;
    }
    .cnb-bar {
        font-size: 14px;
    }
    .cnb-bar__title {
        font-size: 15px;
    }
}
