/* Temporary storm notice (October 2026). Opened by the inline script after the
   <dialog class="weather-alert"> in index.html; turns itself off Saturday, Oct 10. */
.weather-alert {
  box-sizing: border-box;
  width: min(520px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 18px;
  background: #fff;
  color: #283338;
  font-family: 'Libre Franklin', Helvetica, Arial, sans-serif;
  box-shadow: 0 24px 60px rgba(0, 31, 61, .35);
}
.weather-alert *, .weather-alert *::before, .weather-alert *::after { box-sizing: border-box; }
.weather-alert::backdrop { background: rgba(0, 31, 61, .62); }
.weather-alert__head { position: relative; padding: 26px 64px 22px 28px; background: #00437f; color: #fff; }
.weather-alert__eyebrow {
  margin: 0 0 6px;
  color: #cfe3f5;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.weather-alert__title { margin: 0; color: #fff; font-size: 26px; font-weight: 800; line-height: 1.15; letter-spacing: -.3px; }
.weather-alert__title:focus { outline: none; }
.weather-alert__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  color: #fff;
  font: 400 24px/36px Arial, sans-serif;
  cursor: pointer;
}
.weather-alert__close:hover { background: rgba(255, 255, 255, .28); }
.weather-alert__body { padding: 24px 28px 28px; }
.weather-alert__list { margin: 0 0 18px; padding: 0; list-style: none; }
.weather-alert__list li {
  margin: 0 0 14px;
  padding: 0 0 0 16px;
  border-left: 4px solid #00437f;
  color: #283338;
  font-family: inherit;
  font-size: 17px;
  line-height: 1.45;
}
.weather-alert__list li:last-child { margin-bottom: 0; }
.weather-alert__list strong { color: #001f3d; }
.weather-alert__phone { margin: 0 0 22px; font-size: 16px; line-height: 1.45; }
.weather-alert__phone a { color: #00437f; font-weight: 700; text-decoration: none; white-space: nowrap; }
.weather-alert__ok {
  display: block;
  width: 100%;
  padding: 14px 18px;
  border: 0;
  border-radius: 999px;
  background: #00437f;
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}
.weather-alert__ok:hover { background: #00335f; }
.weather-alert__close:focus-visible, .weather-alert__ok:focus-visible, .weather-alert__phone a:focus-visible {
  outline: 3px solid #7fb8e6;
  outline-offset: 3px;
}
@media (max-width: 479px) {
  .weather-alert__head { padding: 22px 58px 18px 22px; }
  .weather-alert__title { font-size: 22px; }
  .weather-alert__body { padding: 20px 22px 22px; }
  .weather-alert__list li { font-size: 16px; }
}
@media print { .weather-alert { display: none; } }
