.block--weather_forecast {
  background: #f7f8fb;
  color: #111217;
}

.weather-forecast {
  width: min(100% - 32px, 980px);
  margin: 0 auto;
  padding: 12px;
}

.weather-forecast > * {
  background: #ffffff;
  border: 1px solid rgba(17, 18, 23, 0.06);
  box-shadow: 0 18px 45px rgba(17, 18, 23, 0.07);
  padding: clamp(22px, 3vw, 34px);
}

.weather-forecast__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px !important;
}

.weather-forecast__title-container {
  display: flex;
  align-items: center;
  gap: 14px;
}

.weather-forecast__title-line {
  width: 38px;
  height: 3px;
  flex: 0 0 auto;
  border-radius: 3px;
  background: #e32512;
  translate: 0 3px;
}

.weather-forecast__title {
  margin: 0;
  color: #111217;
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.05;
}

.weather-forecast__eyebrow {
  margin: 0 0 7px;
  color: #667085;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.weather-forecast__peak {
  color: #2c5d73;
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  white-space: nowrap;
}

.weather-forecast__peak span {
  color: #667085;
  font-size: 0.8rem;
  font-weight: 500;
}

.weather-forecast__chart-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  padding-top: 0 !important;
  padding-bottom: 10px !important;
  border-top: 0 !important;
  box-shadow: 0 18px 45px rgba(17, 18, 23, 0.07);
}

.weather-forecast__chart {
  display: block;
  width: 100%;
  min-width: 620px;
  height: auto;
}

.weather-forecast__axis,
.weather-forecast__gridline {
  stroke: #d8dee6;
  stroke-width: 1;
}

.weather-forecast__gridline {
  stroke-dasharray: 4 6;
}

.weather-forecast__hour-line {
  stroke: #eef1f4;
  stroke-width: 1;
}

.weather-forecast__line {
  fill: none;
  stroke: #2c5d73;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.weather-forecast__point {
  fill: #e32512;
  stroke: #ffffff;
  stroke-width: 2;
}

.weather-forecast__label,
.weather-forecast__scale {
  fill: #667085;
  font-size: 10px;
  text-anchor: middle;
}

.weather-forecast__scale {
  text-anchor: start;
}

.weather-forecast__meta,
.weather-forecast__empty {
  margin: 0;
  color: #667085;
  font-size: 0.85rem;
}

.weather-forecast__meta a {
  color: #e32512;
}

@media (max-width: 600px) {
  .weather-forecast__header {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }

  .weather-forecast__title {
    font-size: clamp(1.65rem, 8vw, 2.3rem);
  }

  .weather-forecast__chart-wrap {
    margin-right: -16px;
    padding-right: 0;
  }
}

/* Match the shared information-panel surface and title treatment. */
.weather-forecast.outer-container {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: clamp(32px, 6vw, 64px) min(5vw, 32px);
  box-sizing: border-box;
  background: #f7f8fb;
}

.weather-forecast .inner-container {
  width: min(1200px, 100%);
  padding: clamp(24px, 4vw, 40px);
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.weather-forecast .title-container {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}

.weather-forecast .title-line {
  width: 38px;
  height: 3px;
  flex: 0 0 auto;
  border-radius: 3px;
  background: #e32512;
  translate: 0 3px;
}

.weather-forecast .title {
  margin: 0;
  color: #0f172a;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  line-height: 1.2;
}

.weather-forecast__location {
  margin: 0 0 22px 54px;
  color: #475569;
  font-size: 0.9rem;
}

.weather-forecast__summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  color: #475569;
  font-size: 0.95rem;
}

.weather-forecast__summary strong {
  color: #2c5d73;
  font-size: 1.35rem;
}

.weather-forecast__summary small {
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 500;
}

.weather-forecast__summary-secondary {
  margin-left: auto;
  color: #64748b;
  font-size: 0.82rem;
}

.weather-forecast__alert {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid rgba(227, 37, 18, 0.25);
  border-left: 4px solid #e32512;
  border-radius: 12px;
  background: linear-gradient(135deg, #fff4f2, #ffffff);
  color: #7f1d1d;
  font-size: 0.9rem;
}

.weather-forecast__alert strong {
  color: #991b1b;
}

.weather-forecast__alert-icon {
  display: inline-grid;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(227, 37, 18, 0.35);
  border-radius: 50%;
  color: #e32512;
  font-weight: 800;
}

.weather-forecast__axis-unit {
  fill: #64748b;
  font-size: 10px;
  font-weight: 700;
}

.weather-forecast-card {
  padding: 20px 24px 16px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -2px rgba(0, 0, 0, 0.02);
}

.weather-forecast-card .weather-forecast__chart-wrap {
  position: relative;
  overflow-y: hidden;
  padding: 0 0 10px;
  border: 0;
  box-shadow: none;
}

.weather-forecast__tooltip {
  position: absolute;
  z-index: 2;
  max-width: 220px;
  padding: 8px 10px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 8px;
  background: #0f172a;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 120ms ease, transform 120ms ease;
  white-space: nowrap;
}

.weather-forecast__tooltip.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.weather-forecast__point {
  cursor: crosshair;
}

.weather-forecast__point:focus {
  outline: none;
  filter: drop-shadow(0 0 0.35rem rgba(227, 37, 18, 0.45));
}

.weather-forecast-card .weather-forecast__meta {
  margin: 0;
}

@media (max-width: 600px) {
  .weather-forecast__location {
    margin-left: 0;
  }

  .weather-forecast__summary {
    align-items: start;
    flex-direction: column;
    gap: 4px;
  }

  .weather-forecast__summary-secondary {
    margin-left: 0;
  }

  .weather-forecast__alert {
    align-items: flex-start;
    flex-wrap: wrap;
  }
}
