/* Local emergency ALERT banner (Impacts page, above "Gas Prices in the Area").
   The container is empty when there is no active alert, and :empty hides it,
   so no box, gap or layout shift appears on a normal day. */
.fv-alerts { margin: 1rem 0 0.4rem; }
.fv-alerts:empty { display: none; margin: 0; }
.fv-alerts__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.fv-alert {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.65rem;
  align-items: start;
  padding: 0.7rem 0.6rem 0.7rem 0.85rem;
  border-radius: 8px;
  border-left: 6px solid;
  font-family: var(--font-body, system-ui, sans-serif);
  line-height: 1.35;
  overflow-wrap: anywhere;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}
.fv-alert--red { background: #B42318; border-left-color: #6F0F08; color: #fff; }        /* white on #B42318: 6.5:1 */
.fv-alert--amber { background: #FDB022; border-left-color: #93370D; color: #1C1C1C; }   /* ink on #FDB022: 10.9:1 */
.fv-alert__icon { width: 1.6rem; height: 1.6rem; margin-top: 0.1rem; flex: none; }
.fv-alert--red .fv-alert__icon { color: #fff; }
.fv-alert--red .fv-alert__icon path[stroke], .fv-alert--red .fv-alert__icon circle { stroke: #B42318; fill: #B42318; }
.fv-alert--amber .fv-alert__icon { color: #1C1C1C; }
.fv-alert--amber .fv-alert__icon path[stroke] { stroke: #FDB022; }
.fv-alert--amber .fv-alert__icon circle { fill: #FDB022; }
.fv-alert__body p { margin: 0; }
.fv-alert__top { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.6rem; font-family: var(--font-ui, system-ui, sans-serif); font-size: 0.85rem; }
.fv-alert__label {
  font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.05rem 0.45rem; border-radius: 4px;
}
.fv-alert--red .fv-alert__label { background: #fff; color: #8F1A10; }
.fv-alert--amber .fv-alert__label { background: #1C1C1C; color: #FDB022; }
.fv-alert__city { font-weight: 700; }
.fv-alert__time { opacity: 1; }
.fv-alert__head { font-weight: 700; font-size: 1.02rem; margin-top: 0.2rem !important; }
.fv-alert__detail, .fv-alert__src { font-size: 0.9rem; margin-top: 0.15rem !important; }
.fv-alert__src a { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.fv-alert__src a:focus-visible, .fv-alert__x:focus-visible { outline: 3px solid currentColor; outline-offset: 2px; }
.fv-alert__x {
  min-width: 44px; min-height: 44px; margin: -0.45rem -0.2rem -0.45rem 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: inherit; border: 0; border-radius: 6px;
  font-size: 1.6rem; line-height: 1; cursor: pointer;
}
.fv-alert__x:hover { background: rgba(0, 0, 0, 0.14); }
@media (max-width: 480px) {
  .fv-alert { gap: 0.5rem; padding-left: 0.65rem; }
  .fv-alert__icon { width: 1.3rem; height: 1.3rem; }
  .fv-alert__head { font-size: 0.98rem; }
}
@media print { .fv-alert__x { display: none; } }
