.weather-page {
  margin: 20px 0 42px;
}

.weather-page .container {
  gap: 18px;
  grid-template-columns: minmax(0, 1fr);
}

.weather-page .weather-hero,
.weather-page .weather-current,
.weather-page .weather-forecast,
.weather-page .weather-cities,
.weather-page .weather-city-description,
.weather-page .weather-message {
  border: 1px solid #dce8f1;
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(8, 41, 67, .06);
}

.weather-page .weather-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: center;
  padding: 28px;
  color: #fff;
  border-color: #163f5c;
  background: radial-gradient(circle at 88% 12%, rgba(245, 180, 51, .16), transparent 33%), linear-gradient(125deg, #082a43, #0d4865);
}

.weather-page .weather-eyebrow,
.weather-page .weather-hero-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.weather-page .weather-eyebrow {
  color: #ffd789;
  font-size: 13px;
  font-weight: 700;
}

.weather-page .weather-hero h1 {
  margin: 12px 0 8px;
  color: #fff;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.5;
}

.weather-page .weather-hero-copy > p {
  margin: 0;
  color: #d3e4ee;
  line-height: 1.9;
}

.weather-page .weather-hero-tags {
  margin-top: 20px;
}

.weather-page .weather-hero-tags span {
  padding: 5px 11px;
  border: 1px solid rgba(255, 255, 255, .19);
  border-radius: 30px;
  color: #e6f2f8;
  font-size: 12px;
}

.weather-page .wp-city-picker {
  min-width: 0;
  grid-template-columns: minmax(0, 1fr);
  padding: 15px;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 15px;
  background: #fff;
}

.weather-page .wp-city-picker label {
  color: #31556e;
  font-size: 12px;
}

.weather-page .wp-city-picker input,
.weather-page .wp-city-picker select {
  min-height: 40px;
  font-size: 14px;
}

.weather-page .wp-city-picker select {
  appearance: auto;
}

.weather-page .wp-city-picker button {
  margin-top: 3px;
  background: #0c5875;
  font-weight: 700;
}

.page-weather-prayer .wp-city-picker .wp-city-locate {
  margin: 0;
  padding: 8px 10px;
  border: 1px solid #cfe1eb;
  background: #f5fafc;
  color: #155773;
  font-size: 12px;
  text-align: right;
  max-width: 100%;
}

.page-weather-prayer .wp-city-locate:disabled {
  opacity: .6;
  cursor: wait;
}

.weather-page .wp-city-picker :is(input, select, button):focus-visible,
.weather-page a:focus-visible,
.weather-page summary:focus-visible {
  outline: 3px solid #e8ad35;
  outline-offset: 3px;
}

.weather-page .wp-city-picker small:empty {
  display: none;
}

.weather-page .weather-current,
.weather-page .weather-forecast,
.weather-page .weather-cities,
.weather-page .weather-city-description,
.weather-page .weather-message {
  padding: 24px;
  background: #fff;
}

.weather-page .weather-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}

.weather-page .weather-kicker {
  display: block;
  margin-bottom: 3px;
  color: #9c700f;
  font-size: 12px;
  font-weight: 700;
}

.weather-page .weather-section-head h2 {
  margin: 0;
  color: #103b58;
  font-size: 22px;
  line-height: 1.6;
}

.weather-page .weather-section-head p {
  margin: 3px 0 0;
  color: #648099;
  font-size: 13px;
}

.weather-page .weather-updated {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  padding: 7px 10px;
  border: 1px solid #e5eef4;
  border-radius: 9px;
  background: #f8fbfd;
  color: #536f83;
  font-size: 12px;
}

.weather-page .weather-updated i {
  color: #c99324;
}

.weather-page .weather-current-layout {
  display: grid;
  grid-template-columns: minmax(240px, .9fr) minmax(0, 1.6fr);
  gap: 16px;
}

.weather-page .weather-current-main {
  padding: 18px 22px;
  border: 1px solid #d7eaf3;
  border-radius: 16px;
  background: radial-gradient(circle at 80% 10%, rgba(247, 190, 80, .16), transparent 38%), linear-gradient(145deg, #f8fcff, #edf7fb);
}

.weather-page .weather-current-visual {
  display: flex;
  align-items: center;
  gap: 14px;
}

.weather-page .weather-icon {
  display: block;
  flex: none;
}

.weather-page .weather-icon-current {
  width: 100px;
  height: 100px;
}

.weather-page .weather-current-temp {
  color: #0c4769;
  font-size: clamp(38px, 3.5vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

.weather-page .weather-current-temp span {
  margin-left: 3px;
  color: #4b7890;
  font-size: 20px;
}

.weather-page .weather-current-visual p {
  margin: 6px 0 0;
  color: #375f77;
  font-weight: 700;
}

.weather-page .weather-current-caption {
  margin: 6px 0 0;
  color: #63839a;
  font-size: 12px;
}

.weather-page .weather-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.weather-page .weather-metric {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  min-width: 0;
  padding: 15px;
  border: 1px solid #e2edf4;
  border-radius: 14px;
  background: #fbfdff;
}

.weather-page .weather-metric-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: #eef6fa;
  color: #4482a0;
}

.weather-page .weather-metric div > span {
  display: block;
  color: #637f92;
  font-size: 12px;
}

.weather-page .weather-metric strong {
  display: inline-block;
  margin-top: 4px;
  color: #164663;
  font-size: 21px;
  font-variant-numeric: tabular-nums;
}

.weather-page .weather-metric strong small {
  font-size: 12px;
  font-weight: 600;
}

.weather-page .weather-current-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 17px;
  color: #718b9b;
  font-size: 12px;
}

.weather-page .weather-current-footer a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid #d5e8ee;
  border-radius: 9px;
  background: #f5fafb;
  color: #0c6076;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.weather-page .weather-current-footer a:hover {
  background: #e9f5f7;
}

.weather-page .weather-forecast-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.weather-page .weather-day-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  padding: 15px;
  border: 1px solid #e0ebf2;
  border-radius: 14px;
  background: #fbfdff;
}

.weather-page .weather-day-card.is-today {
  border-color: #e9c779;
  background: linear-gradient(160deg, #fffdf6, #f8fcff);
}

.weather-page .weather-day-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px;
}

.weather-page .weather-day-head h3 {
  margin: 0;
  color: #173f59;
  font-size: 14px;
}

.weather-page .weather-day-head time {
  color: #778f9e;
  font-size: 11px;
}

.weather-page .weather-day-condition {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 77px;
  color: #436a80;
  font-size: 13px;
  font-weight: 700;
}

.weather-page .weather-icon-day {
  width: 64px;
  height: 64px;
}

.weather-page .weather-day-temps {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 0;
  border-top: 1px solid #e7eff4;
}

.weather-page .weather-day-temps div {
  display: grid;
  gap: 2px;
}

.weather-page .weather-day-temps span {
  color: #718b9c;
  font-size: 11px;
}

.weather-page .weather-day-temps strong {
  color: #164561;
  font-size: 20px;
  font-variant-numeric: tabular-nums;
}

.weather-page .weather-day-temps div + div strong {
  color: #718b9c;
}

.weather-page .weather-day-rain {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  padding-top: 9px;
  border-top: 1px solid #e7eff4;
  color: #5e7d90;
  font-size: 11px;
}

.weather-page .weather-day-rain i {
  color: #5d9bb8;
}

.weather-page .weather-day-rain strong {
  color: #2a698a;
  font-size: 13px;
}

.weather-page .weather-unavailable {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  border: 1px solid #eadcbd;
  border-radius: 12px;
  background: #fffcf4;
  color: #695532;
}

.weather-page .weather-unavailable > i {
  margin-top: 4px;
  color: #c69632;
  font-size: 22px;
}

.weather-page .weather-unavailable p,
.weather-page .weather-forecast-error {
  margin: 4px 0 0;
  color: #6d7f89;
}

.weather-page .weather-cities summary {
  color: #164561;
  font-weight: 700;
  cursor: pointer;
}

.weather-page .weather-cities summary i {
  margin-left: 5px;
  color: #c99324;
}

.weather-page .weather-cities summary span {
  margin-right: 8px;
  color: #718b9c;
  font-size: 12px;
  font-weight: 400;
}

.weather-page .weather-cities a {
  display: inline-block;
  padding: 5px 7px;
  border-radius: 6px;
  color: #1d6885;
  text-decoration: none;
}

.weather-page .weather-cities a:hover {
  background: #eaf5f8;
  text-decoration: none;
}

.weather-page .weather-city-groups {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.weather-page .weather-city-region,
.weather-page .weather-city-country {
  min-width: 0;
  border: 1px solid #e0ebf2;
  border-radius: 10px;
  background: #fbfdff;
}

.weather-page .weather-city-region > summary,
.weather-page .weather-city-country > summary {
  padding: 10px 12px;
  font-size: 14px;
}

.weather-page .weather-city-countries {
  display: grid;
  gap: 7px;
  padding: 0 10px 10px;
}

.weather-page .weather-city-country {
  background: #fff;
}

.weather-page .weather-cities .wp-city-links {
  grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
  margin: 0;
  padding: 0 10px 10px;
}

.weather-page .weather-city-description h2 {
  margin: 0 0 8px;
  color: #103b58;
  font-size: 20px;
}

.weather-page .weather-city-description p {
  margin: 0;
  color: #536f83;
  line-height: 2;
}

.weather-page .weather-city-description details {
  margin-top: 12px;
}

.weather-page .weather-city-description .weather-city-source {
  margin-top: 12px;
  font-size: 12px;
}

.weather-page .weather-city-description summary {
  color: #155773;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .weather-page .weather-forecast-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .weather-page .weather-hero,
  .weather-page .weather-current-layout {
    grid-template-columns: 1fr;
  }

  .weather-page .weather-hero {
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .weather-page .weather-hero,
  .weather-page .weather-current,
  .weather-page .weather-forecast,
  .weather-page .weather-cities,
  .weather-page .weather-city-description,
  .weather-page .weather-message {
    padding: 17px;
    border-radius: 16px;
  }

  .weather-page .weather-metrics {
    grid-template-columns: 1fr;
  }

  .weather-page .weather-metric {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 11px;
  }

  .weather-page .weather-forecast-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .weather-page .weather-day-card {
    padding: 11px;
  }

  .weather-page .weather-icon-day {
    width: 52px;
    height: 52px;
  }
}

@media (max-width: 340px) {
  .weather-page .weather-forecast-grid {
    grid-template-columns: 1fr;
  }
}
