/* GrandIslandNE - hub-specific styles.
   The shared core lives in /assets/css/city.css and is loaded
   first; everything below overrides or extends it.
   Regenerate with scripts/build_city_css.py */

/* HERO */
.hero {
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  background: url('../hero.jpg') center/cover no-repeat;
  margin-top: 70px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .main-nav { display: none; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px;
    box-shadow: var(--shadow);
    gap: 16px;
  }
  .mobile-menu-btn { display: block; }
  .hero h1 { font-size: 2rem; }
  .calendar-controls { flex-direction: column; align-items: stretch; }
  .calendar-nav { justify-content: center; }
  .view-toggle { justify-content: center; }
  .month-grid .day-cell { min-height: 70px; padding: 4px; }
  .day-number { font-size: 0.75rem; }
  .event-dot { font-size: 0.6rem; padding: 2px 4px; }
  .holiday-label { font-size: 0.55rem; padding: 1px 4px; }
  .holiday-label i { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .upcoming-card { grid-template-columns: 80px 1fr; }
  .upcoming-actions { grid-column: 1 / -1; }
  .footer-inner { flex-direction: column; text-align: center; }
  .week-grid { font-size: 0.75rem; grid-template-columns: 50px repeat(7, minmax(0, 1fr)); }
  .newsletter-form { flex-direction: column; }
  .modal { margin: 10px; }
}

/* v1s-hero-formats */
/* The hero is the page's largest asset and its LCP element.
   Modern browsers take the AVIF or WebP; anything without
   image-set() keeps the JPEG from the .hero rule above, along
   with its position, sizing and repeat. Regenerate with
   scripts/optimize_heroes.py. */
.hero {
  background-image: image-set(
    url('../hero.avif') type('image/avif'),
    url('../hero.webp') type('image/webp'),
    url('../hero.jpg') type('image/jpeg'));
}
