/* Weather page */
.weather-hero {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, #243a67 58%, #cc242c 100%);
  color: var(--color-white);
  padding-block: clamp(3rem, 6vw, 5rem);
}

.weather-hero__grid {
  display: grid;
  gap: 2rem;
  align-items: end;
}

.weather-hero h1 {
  max-width: 48rem;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.02;
}

.weather-hero__copy {
  max-width: 38rem;
  margin-top: 1rem;
  color: #ffffffcc;
  font-size: 1.125rem;
  line-height: 1.7;
}

.weather-kicker,
.weather-section-label {
  margin-bottom: 0.75rem;
  color: #cc242c;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.weather-hero .weather-kicker {
  color: #ffffffb3;
}

.weather-update-panel {
  border: 1px solid #ffffff4d;
  border-radius: 0.5rem;
  background: #ffffff1f;
  padding: 1.25rem;
  box-shadow: 0 20px 45px #00000026;
}

.weather-update-panel span {
  display: block;
  color: #ffffffb3;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.weather-update-panel time {
  display: block;
  margin-top: 0.45rem;
  font-size: 1.125rem;
  font-weight: 700;
}

.weather-update-panel p {
  margin-top: 0.65rem;
  color: #ffffffb3;
  font-size: 0.875rem;
  line-height: 1.5;
}

.weather-toolbar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.weather-toolbar h2 {
  color: var(--color-foreground);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.15;
}

.weather-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  padding: 0.7rem 1rem;
  color: var(--color-primary-dark);
  font-size: 0.875rem;
  font-weight: 700;
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.weather-link:hover {
  border-color: var(--color-accent);
  background: #cc242c12;
  color: var(--color-accent-dark);
}

.weather-image-frame {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  background: var(--color-card);
  box-shadow: 0 16px 38px #1a1a2e14;
}

.weather-image-frame img {
  width: 100%;
  min-height: 18rem;
  object-fit: contain;
  background: var(--color-muted);
}

.weather-image-frame figcaption {
  border-top: 1px solid var(--color-border);
  padding: 1rem 1.25rem;
  color: var(--color-muted-foreground);
  font-size: 0.925rem;
  line-height: 1.5;
}

.weather-archive-section {
  border-top: 1px solid var(--color-border);
  background: var(--color-muted);
}

.weather-archive-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 0.75rem;
}

.weather-archive-list a {
  display: block;
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  background: var(--color-card);
  padding: 0.9rem 1rem;
  color: var(--color-primary-dark);
  font-weight: 700;
  transition: color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.weather-archive-list a:hover {
  border-color: var(--color-accent);
  color: var(--color-accent-dark);
  transform: translateY(-1px);
}

@media (min-width: 48rem) {
  .weather-hero__grid {
    grid-template-columns: minmax(0, 1fr) 20rem;
  }

  .weather-hero h1 {
    font-size: 4rem;
  }

  .weather-toolbar {
    flex-direction: row;
    align-items: end;
  }

  .weather-toolbar h2 {
    font-size: 2.25rem;
  }

  .weather-image-frame img {
    min-height: 28rem;
  }
}

@media (min-width: 64rem) {
  .weather-hero h1 {
    font-size: 4.75rem;
  }
}
