/* Home landing - match hub2: full-bleed photo bg, frosted cards, 7/5 columns */

.shell--landing {
  background-color: #f8f9fa;
  background-image: var(--landing-bg-image, none);
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Kill the global gradient wash on landing only.
   Do not use relative url(../images/…) here - module CSS is served from
   /module-asset/home?file=… so that resolves to /images/… (404).
   Shell sets --landing-bg-image to the season wallpaper (or background.jpg fallback). */
.shell--landing.shell {
  background-image: var(--landing-bg-image, none);
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.shell--landing .site-header {
  background: var(--hub-nav-bg, #fff);
  backdrop-filter: none;
  position: relative;
  z-index: 1020;
}

.shell--landing .site-nav-secondary {
  position: relative;
  z-index: 1015;
  background: color-mix(in srgb, var(--hub-surface-muted) 96%, transparent);
}

.shell--landing .bulletin-banner {
  position: relative;
  z-index: 1020;
  padding: 1px 12px;
  font-size: 0.8rem;
  font-weight: 400;
}

.shell--landing .bulletin-banner a {
  font-weight: 400;
  text-decoration: underline;
}

.shell--landing .site-main {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 576px) {
  .shell--landing .site-main {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 768px) {
  .shell--landing .site-main {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (min-width: 1400px) {
  .shell--landing .site-main {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

.shell--landing .site-footer {
  position: relative;
  z-index: 2;
  background: color-mix(in srgb, var(--hub-nav-bg) 85%, transparent);
}

.hub-landing {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.hub-hero {
  padding: 0.35rem 0 1.25rem;
}

.hub-landing--with-aside .hub-hero {
  padding-top: 0;
}

.hub-hero--guest {
  text-align: center;
}

.hub-hero__title {
  font-family: inherit;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 300;
  letter-spacing: normal;
  margin: 0 0 0.5rem;
  color: var(--hub-text, #212529);
}

.hub-hero__brand {
  font-family: inherit;
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 300;
  letter-spacing: normal;
  margin: 0 0 0.5rem;
  color: var(--hub-text, #212529);
}

.hub-hero__lead {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--hub-muted, #6c757d);
  max-width: none;
}

.hub-hero__hint {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  color: var(--hub-muted, #6c757d);
}

.hub-landing-cols {
  display: grid;
  /* Welcome + panels left; weather aligned to top-right. */
  grid-template-columns: minmax(0, 28rem) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
  width: 100%;
  max-width: none;
}

.hub-landing-cols--main-only,
.hub-landing-cols:not(:has(.hub-landing-cols__aside)) {
  grid-template-columns: 1fr;
}

.hub-landing-cols__aside {
  justify-self: end;
  align-self: start;
  width: max-content;
  max-width: 100%;
  padding-top: 0;
}

.hub-card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  background: rgba(255, 255, 255, 0.65);
  padding: 1.5rem;
}

.hub-card__title {
  font-family: inherit;
  font-size: 1.15rem;
  font-weight: 500;
  margin: 0 0 1rem;
  color: var(--hub-text, #212529);
}

.hub-bulletin-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hub-bulletin-list li {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding-bottom: 0.5rem;
  margin-bottom: 0.5rem;
}

.hub-bulletin-list li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.hub-bulletin-list a {
  font-weight: 600;
  color: var(--hub-primary, #0d6efd);
  text-decoration: none;
}

.hub-bulletin-list a:hover {
  text-decoration: underline;
}

.hub-bulletin-list .hub-bulletin-meta {
  font-size: 0.875rem;
  color: var(--hub-muted, #6c757d);
  margin-left: 0.5rem;
}

.hub-bulletin-list p {
  font-size: 0.875rem;
  margin: 0.25rem 0 0;
  color: var(--hub-text, #212529);
}

.hub-bulletin-list p.hub-bulletin-excerpt--quote {
  font-style: italic;
}

.hub-bulletin-more {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
}

.hub-bulletin-more a {
  color: var(--hub-primary, #0d6efd);
}

#hub-rain-container {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

#hub-rain-container .hub-raindrop {
  position: absolute;
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  animation: hub-rain-fall linear infinite;
}

@keyframes hub-rain-fall {
  to { transform: translateY(100vh); }
}

#hub-fog-top,
#hub-fog-bottom {
  position: fixed;
  left: 0;
  width: 100%;
  height: 33vh;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6), transparent);
  display: none;
}

#hub-fog-bottom {
  bottom: 0;
  top: auto;
  transform: rotate(180deg);
}

@media (max-width: 991px) {
  .hub-landing-cols {
    grid-template-columns: 1fr;
  }
  .hub-landing-cols__aside {
    justify-self: stretch;
    width: auto;
  }
}
