.weather-page {
  background: #fff;
}

.weather-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding-top: 24px;
  padding-bottom: 24px;
  color: var(--muted, #5f7087);
  font-size: 13px;
}

.weather-breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.weather-hero {
  padding: 35px 0 48px;
  background:
    radial-gradient(circle at 92% 5%, rgba(255, 190, 55, 0.18), transparent 18rem),
    linear-gradient(135deg, #edf9fc, #f4f8ff 65%, #fff9ea);
}

.weather-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.weather-title {
  max-width: 900px;
  font-size: clamp(38px, 5.5vw, 62px);
}

.weather-location {
  margin: 14px 0 0;
  color: var(--muted, #5f7087);
  font-weight: 700;
}

.forecast-tabs {
  display: inline-flex;
  flex: none;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--line, #dce7ef);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.7);
}

.forecast-tabs a {
  padding: 8px 14px;
  border-radius: 9px;
  color: var(--muted, #5f7087);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.forecast-tabs a.is-active {
  color: #fff;
  background: var(--sky, #1577d4);
}

.staging-notice {
  padding: 12px 16px;
  margin-top: 24px;
  border: 1px solid #e9c871;
  border-radius: 12px;
  color: #70520b;
  background: #fff8dc;
  font-size: 14px;
}

.current-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  gap: 20px;
  margin-top: 34px;
}

.current-primary {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 30px;
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 214, 105, 0.48), transparent 8rem),
    linear-gradient(145deg, #1d8ee3, #125baa 72%);
  box-shadow: 0 20px 45px rgba(19, 89, 156, 0.23);
}

.condition-icon {
  display: grid;
  width: 100px;
  height: 100px;
  place-items: center;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 58px;
}

.condition-label {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  font-weight: 800;
}

.current-temperature {
  margin: 4px 0 0;
  font-size: clamp(52px, 7vw, 80px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.temperature-range {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(40px, 6vw, 64px);
}

.temperature-range > span:first-child {
  opacity: 0.72;
}

.temperature-range > span:nth-child(2) {
  font-size: 28px;
  opacity: 0.55;
}

.feels-like {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
}

.current-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.current-metrics article {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 2px 13px;
  padding: 20px;
  border: 1px solid var(--line, #dce7ef);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
}

.current-metrics article > span {
  display: grid;
  grid-row: 1 / 3;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 13px;
  color: var(--sky-dark, #0d5cab);
  background: #e8f6fb;
  font-size: 20px;
}

.current-metrics small {
  color: var(--muted, #5f7087);
  font-size: 12px;
  font-weight: 700;
}

.current-metrics strong {
  font-size: 19px;
}

.data-freshness {
  margin: 17px 0 0;
  color: var(--muted, #5f7087);
  font-size: 12px;
}

.weather-unavailable {
  padding: 34px;
  margin-top: 32px;
  border: 1px solid var(--line, #dce7ef);
  border-radius: 20px;
  background: #fff;
}

.weather-unavailable h2,
.weather-unavailable p {
  margin: 0;
}

.weather-unavailable p {
  margin-top: 5px;
  color: var(--muted, #5f7087);
}

.weather-section {
  padding: 66px 0;
}

.weather-section-soft {
  background: var(--mist, #f3f8fb);
}

.weather-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 28px;
}

.weather-section-heading h2,
.weather-detail-grid h2,
.weather-faq h2,
.city-index-hero h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.weather-section-heading > p {
  max-width: 420px;
  margin: 0;
  color: var(--muted, #5f7087);
  font-size: 14px;
}

.hourly-scroller {
  display: grid;
  grid-auto-columns: minmax(118px, 1fr);
  grid-auto-flow: column;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 14px;
  scroll-snap-type: x proximity;
}

.hour-card {
  display: grid;
  min-height: 185px;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 16px 12px;
  border: 1px solid var(--line, #dce7ef);
  border-radius: 16px;
  background: #fff;
  scroll-snap-align: start;
}

.hour-time {
  color: var(--muted, #5f7087);
  font-size: 13px;
}

.hour-icon {
  font-size: 34px;
  line-height: 1.2;
}

.hour-temp {
  font-size: 24px;
}

.hour-rain {
  color: var(--sky-dark, #0d5cab);
  font-size: 12px;
  font-weight: 800;
}

.daily-list {
  overflow: hidden;
  border: 1px solid var(--line, #dce7ef);
  border-radius: 20px;
  background: #fff;
}

.daily-row {
  display: grid;
  grid-template-columns: 120px minmax(210px, 1fr) 100px 110px;
  align-items: center;
  gap: 22px;
  min-height: 68px;
  padding: 12px 20px;
}

.daily-row + .daily-row {
  border-top: 1px solid var(--line, #dce7ef);
}

.daily-row > div:first-child,
.daily-temp {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.daily-row small {
  color: var(--muted, #5f7087);
  font-size: 12px;
}

.daily-condition {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
}

.daily-condition > span:first-child {
  font-size: 24px;
}

.daily-rain {
  color: var(--sky-dark, #0d5cab);
  font-size: 13px;
  font-weight: 800;
}

.daily-temp strong {
  font-size: 18px;
}

.weather-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
  gap: clamp(30px, 6vw, 80px);
}

.weather-detail-grid > article > p:not(.eyebrow) {
  color: #354a63;
  font-size: 18px;
}

.source-card {
  align-self: start;
  padding: 26px;
  border: 1px solid var(--line, #dce7ef);
  border-radius: 20px;
  background: var(--mist, #f3f8fb);
}

.source-card h2 {
  font-size: 22px;
}

.source-card p {
  color: var(--muted, #5f7087);
  font-size: 14px;
}

.source-card p:last-child {
  margin-bottom: 0;
}

.weather-faq {
  border-top: 1px solid var(--line, #dce7ef);
}

.narrow-shell {
  max-width: 850px;
}

.weather-faq h2 {
  margin-bottom: 26px;
}

.weather-faq details {
  padding: 18px 0;
  border-top: 1px solid var(--line, #dce7ef);
}

.weather-faq details:last-child {
  border-bottom: 1px solid var(--line, #dce7ef);
}

.weather-faq summary {
  font-weight: 800;
  cursor: pointer;
}

.weather-faq details p {
  margin-bottom: 0;
  color: var(--muted, #5f7087);
}

.city-index-hero {
  padding: 65px 0 72px;
  background: linear-gradient(135deg, #eef9fc, #f7f9ff);
}

.city-index-hero h1 {
  max-width: 820px;
  font-size: clamp(40px, 6vw, 64px);
}

.city-index-hero > .shell > p:not(.eyebrow, .search-error) {
  max-width: 700px;
  color: var(--muted, #5f7087);
  font-size: 19px;
}

.city-index-hero .city-search {
  margin-top: 26px;
}

.search-error {
  color: #9f2828;
  font-weight: 700;
}

.city-directory {
  display: grid;
  gap: 42px;
}

.state-group > header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--line, #dce7ef);
}

.state-group h2 {
  margin: 0;
  font-size: 26px;
  letter-spacing: -0.03em;
}

.state-group header span {
  color: var(--muted, #5f7087);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.directory-grid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid var(--line, #dce7ef);
  border-radius: 12px;
  color: var(--ink, #10233f);
  text-decoration: none;
}

.directory-grid a:hover {
  border-color: #9ccde4;
  background: var(--mist, #f3f8fb);
}

.directory-grid a span {
  color: var(--sky-dark, #0d5cab);
  font-size: 11px;
  font-weight: 800;
}

@media (max-width: 900px) {
  .current-grid,
  .weather-detail-grid {
    grid-template-columns: 1fr;
  }

  .directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .weather-heading-row,
  .weather-section-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .forecast-tabs {
    align-self: flex-start;
  }

  .current-primary {
    grid-template-columns: 1fr;
  }

  .condition-icon {
    width: 78px;
    height: 78px;
    font-size: 44px;
  }

  .current-metrics,
  .directory-grid {
    grid-template-columns: 1fr;
  }

  .daily-list {
    overflow-x: auto;
  }

  .daily-row {
    min-width: 650px;
  }
}

