.home-weather {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(0, 2.25fr);
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid rgba(203, 248, 255, .6);
  border-radius: 26px;
  color: #fff;
  background: linear-gradient(158deg, #174979, #195d80 52%, #087680);
  box-shadow: inset 0 0 20px #aff8ff30, 0 12px 24px #00374e32;
}
.home-weather [hidden] { display: none; }
.home-weather-summary {
  min-height: 170px;
  padding: 22px 26px;
  background: url('../img/weather/sky.svg') right center / auto 100% no-repeat;
}
.home-weather-summary h2, .home-weather-summary p, .home-weather-forecast h3 {
  margin: 0;
  color: inherit;
}
.home-weather-summary h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
.home-weather-summary p { font-weight: 650; text-shadow: 0 1px 8px #123d63; }
.home-weather .home-weather-temperature {
  font-size: clamp(3.3rem, 7vw, 5.3rem);
  line-height: 1.05;
  letter-spacing: -.07em;
}
.home-weather-forecast { padding: 16px 20px 12px; }
.home-weather-forecast h3 { font-size: 1.2rem; margin-bottom: 10px; }
.home-weather-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.home-weather-days li {
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: 8px 3px;
  text-align: center;
  font-weight: 700;
}
.home-weather-days li + li { border-inline-start: 1px solid #ffffff32; }
.home-weather-days li:first-child {
  background: #ffffff26;
  border: 1px solid #ffffff45;
  border-radius: 14px;
}
.home-weather-icon { font-size: 1.65rem; line-height: 1.35; }
.home-weather-low { color: #d2e9f7; }
.home-weather-source { display: block; margin-top: 8px; color: #e1f5ff; text-align: right; font-size: .72rem; }
@media (max-width: 960px) {
  .home-weather { grid-template-columns: minmax(0, 1fr); }
  .home-weather-summary { background-size: auto 125%; border-bottom: 1px solid #ffffff45; }
}
@media (max-width: 580px) {
  .home-weather { border-radius: 21px; }
  .home-weather-summary { min-height: 155px; padding: 18px; background-size: auto 100%; }
  .home-weather-forecast { padding: 14px; }
  .home-weather-days { grid-template-columns: minmax(0, 1fr); }
  .home-weather-days li { grid-template-columns: minmax(0, 1fr) 2.5rem 2.6rem 2.6rem; align-items: center; justify-items: end; padding: 6px 10px; }
  .home-weather-days li + li { border-inline-start: 0; border-bottom: 1px solid #ffffff32; }
  .home-weather-days li > :first-child { justify-self: start; text-align: left; }
  .home-weather-icon { justify-self: center; }
}
