.city-guide-actions:has(.city-guide-weather) {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.city-guide-actions .city-guide-weather {
  background: #e6f4f6;
  color: #075363;
  border: 1px solid #a6c8cf;
}

.city-guide-weather:hover {
  text-decoration: underline;
}

.weather-main {
  max-width: 74rem;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem) 3rem;
}

.weather-main [hidden] {
  display: none;
}

.weather-main > .article-breadcrumbs {
  position: static;
  flex-direction: row;
  padding-inline: 0;
  box-shadow: none;
}

.weather-intro {
  margin: 1rem 0 1.6rem;
}

.weather-intro h1 {
  margin: 0 0 .6rem;
  color: #12354c;
  font-size: clamp(2.1rem, 5vw, 3.5rem);
}

.weather-intro p,
.weather-advice {
  max-width: 74ch;
}

.weather-panel {
  padding: clamp(1rem, 3vw, 1.7rem);
  border: 1px solid #bbd5dd;
  border-radius: 12px;
  background: #fff;
}

.weather-panel h2,
.weather-plan h2,
.weather-advice h2 {
  color: #12354c;
  margin: 0 0 .7rem;
  font-size: clamp(1.25rem, 3vw, 1.55rem);
}

.weather-load {
  font: inherit;
  font-weight: 750;
  background: #08647c;
}

.weather-load:hover {
  background: #07536a;
}

.weather-load[aria-disabled="true"] {
  cursor: wait;
}

.weather-main :is(a, button):focus-visible {
  outline: 2px solid #08647c;
  outline-offset: 3px;
}

.weather-note,
.weather-updated {
  margin: .65rem 0;
  font-size: .9rem;
  color: #405c6b;
}

.weather-status:empty {
  margin: 0;
}

.weather-main .weather-resources,
.weather-plan ul {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.25rem;
  padding: 0;
  margin: .7rem 0 0;
  list-style: none;
}

.weather-resources a,
.weather-note a {
  color: #075363;
  text-decoration: underline;
  text-underline-offset: .15em;
}

.weather-days {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(7.7rem, 1fr));
  gap: .6rem;
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.weather-days li {
  display: grid;
  align-content: start;
  gap: .35rem;
  padding: .8rem;
  border: 1px solid #d5e5ea;
  border-radius: .6rem;
  background: #f3f9fa;
  color: #12354c;
  overflow-wrap: anywhere;
}

.weather-days time {
  font-weight: 750;
}

.weather-temperature strong {
  display: block;
  font-size: 1.07rem;
}

.weather-days span {
  font-size: .88rem;
}

.weather-plan {
  margin: 1.6rem 0;
}

.weather-plan a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .35rem .7rem;
  border: 1px solid #a6c8cf;
  border-radius: .45rem;
  background: #fff;
  color: #075363;
  font-weight: 650;
}

.weather-plan a:hover {
  text-decoration: underline;
}

.weather-advice section + section {
  margin-top: 1.6rem;
}

@media (max-width: 600px) {
  .city-guide-actions:has(.city-guide-weather) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
