/* ----------------------------------------------------------------------
   Site-wide alerts banner (#779)
   Rendered by core/templates/_partials/alerts_banner.tpl on the pilot
   dashboard between the hero and the ACARS map. Red rounded card,
   white text, horizontal dividers between stacked entries.
   ---------------------------------------------------------------------- */

.alerts-banner {
    margin: 32px 16px 16px;
    padding: 14px 18px;
    background: #b91c1c;
    color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    font-size: 0.9rem;
    line-height: 1.45;
}

.alerts-banner__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.alerts-banner__item {
    padding: 4px 0;
}

.alerts-banner__divider {
    height: 0;
    margin: 8px 0;
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.alerts-banner__date {
    display: block;
    font-size: 0.78rem;
    opacity: 0.9;
    margin-bottom: 2px;
    font-family: ui-monospace, "SFMono-Regular", "Menlo", monospace;
}

.alerts-banner__title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 4px;
    color: #ffffff;
}

.alerts-banner__body {
    font-size: 0.9rem;
    line-height: 1.45;
}

.alerts-banner__body p {
    margin: 6px 0;
}

.alerts-banner__body a {
    color: #ffffff;
    text-decoration: underline;
    font-weight: 600;
}

.alerts-banner__body a:hover,
.alerts-banner__body a:focus {
    text-decoration: none;
    outline: none;
}

.alerts-banner__body ul,
.alerts-banner__body ol {
    margin: 4px 0 4px 20px;
    padding: 0;
}

.alerts-banner__body code,
.alerts-banner__body pre {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    padding: 1px 4px;
}
