/* Site-wide alert banner. Scoped .sba* so it cannot touch the legacy cascade.
   Severity colours are chosen for contrast against white text at AA. */

.sba { width: 100%; color: #fff; }
.sba--info      { background: #1d4ed8; }
.sba--warning   { background: #b45309; }
.sba--emergency { background: #b91c1c; }

.sba__inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 11px 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.sba__icon { flex: none; display: flex; }
.sba__icon svg { width: 20px; height: 20px; }

.sba__text {
    flex: 1;
    margin: 0;
    font-size: 14.5px;
    line-height: 1.5;
    min-width: 0;
}
.sba__link {
    flex: none;
    color: #fff;
    font-size: 13.5px;
    text-decoration: underline;
    white-space: nowrap;
}
.sba__link:hover { color: #fff; opacity: .85; }

.sba__close {
    flex: none;
    width: 30px; height: 30px;
    display: flex; align-items: center; justify-content: center;
    border: 0; border-radius: 50%;
    background: rgba(255,255,255,.14);
    color: #fff;
    cursor: pointer;
    transition: background .18s ease;
}
.sba__close:hover { background: rgba(255,255,255,.26); }
.sba__close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.sba__close svg { width: 15px; height: 15px; }

@media (max-width: 767px) {
    .sba__inner { padding: 10px 16px; flex-wrap: wrap; gap: 8px; }
    .sba__text { flex: 1 1 100%; order: 2; font-size: 14px; }
    .sba__link { order: 3; }
}
@media print { .sba { display: none; } }
