#weather .resort-weather-card {
  width: 100%;
  max-width: none;
  background: #202227;
  border: 1px solid #294255;
  border-radius: 24px;
  padding: 28px;
}
.resort-weather-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
.resort-weather-heading h2 {
  font-size: 32px;
  margin: 6px 0 8px;
}
.resort-weather-date {
  font-size: 14px;
  color: #9db4c7;
  margin: 0;
}
.weather-slider-arrows {
  display: flex;
  gap: 10px;
}
.weather-slider-arrows button {
  width: 46px;
  height: 46px;
  background: #202227;
  color: white;
  border: 1px solid #36536a;
  border-radius: 50%;
  font-size: 26px;
  cursor: pointer;
}
.weather-country-slider {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 0 18px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #49677e transparent;
  margin-bottom: 12px;
}
.weather-country-slider button {
  scroll-snap-align: start;
  white-space: nowrap;
  font: inherit;
  font-size: 14px;
  color: #d8e6f1;
  background: #202227;
  border: 1px solid #365169;
  padding: 10px 17px;
  border-radius: 24px;
  cursor: pointer;
}
.weather-country-slider button[aria-pressed='true'] {
  background: #f5c644;
  color: #0b1821;
  border-color: #f5c644;
  font-weight: 700;
}
.resort-weather-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  touch-action: pan-y;
}
.resort-weather-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 19px 16px;
  border: 1px solid #2d475b;
  border-radius: 16px;
  background: #202227;
  min-height: 94px;
}
.resort-weather-icon {
  font-size: 30px;
  flex: 0 0 34px;
  color: #f5d54c;
}
.resort-weather-item > div {
  min-width: 0;
  flex: 1;
}
.resort-weather-item h3 {
  font-size: 16px;
  margin: 0 0 5px;
  overflow-wrap: anywhere;
}
.resort-weather-item p {
  font-size: 14px;
  color: #a3b9c9;
  margin: 0;
  line-height: 1.4;
}
.resort-weather-item > strong {
  font-size: 27px;
  white-space: nowrap;
  margin-left: auto;
}
.resort-weather-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
  color: #96afc0;
  font-size: 14px;
}
.resort-weather-footer p {
  margin: 0;
}
.resort-weather-footer a {
  margin-left: auto;
  color: #96afc0;
}
.weather-retry {
  font: inherit;
  color: white;
  background: #202227;
  border: 1px solid #3b5a71;
  padding: 8px 14px;
  border-radius: 9px;
  cursor: pointer;
}
.weather-loading {
  justify-content: space-between;
  color: #a8bed0;
}
.weather-loading span {
  font-size: 14px;
}
#weather button:focus-visible {
  outline: 2px solid #71daff;
  outline-offset: 3px;
}
@media (max-width: 1000px) {
  .resort-weather-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  #weather .resort-weather-card {
    padding: 18px;
    border-radius: 18px;
  }
  .resort-weather-grid {
    grid-template-columns: 1fr;
  }
  .resort-weather-heading h2 {
    font-size: 26px;
  }
  .resort-weather-item {
    padding: 16px;
  }
  .weather-slider-arrows button {
    width: 38px;
    height: 38px;
  }
  .resort-weather-heading {
    gap: 10px;
  }
  .resort-weather-footer a {
    margin-left: 0;
  }
}

.resort-weather-item[href] {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.16s ease,
    border-color 0.16s ease;
}
.resort-weather-item[href]:hover {
  background: #202227;
  border-color: #6793b3;
}
.resort-weather-item[href]:focus-visible {
  outline: 2px solid #71daff;
  outline-offset: 3px;
}

/* Keep the weather overview as compact as the event panel. */
#weather .resort-weather-card {
  padding: 18px 20px;
  border-radius: 18px;
  box-shadow: 0 8px 24px #0002;
}
.resort-weather-heading {
  gap: 12px;
  margin-bottom: 12px;
}
.resort-weather-heading h2 {
  font-size: 24px;
  margin: 2px 0 3px;
}
.resort-weather-date {
  font-size: 12px;
}
.weather-slider-arrows button {
  width: 34px;
  height: 34px;
  font-size: 21px;
}
.weather-country-slider {
  gap: 7px;
  padding: 2px 0 9px;
  margin-bottom: 8px;
}
.weather-country-slider button {
  font-size: 12px;
  padding: 6px 11px;
}
#weather .weather-country-slider button[aria-pressed='true'] {
  background: #f5c644;
  border-color: #f5c644;
  color: #102231;
  font-weight: 800;
  box-shadow: 0 0 0 2px #f5c64444;
}
.resort-weather-footer[hidden] {
  display: none;
}
.resort-weather-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.resort-weather-item {
  min-height: 64px;
  gap: 7px;
  padding: 10px 11px;
  border-radius: 11px;
}
.resort-weather-icon {
  font-size: 23px;
  flex-basis: 27px;
}
.resort-weather-item h3 {
  font-size: 13px;
  margin-bottom: 2px;
}
.resort-weather-item p {
  font-size: 11px;
  line-height: 1.25;
}
.resort-weather-item > strong {
  font-size: 20px;
}
.resort-weather-footer {
  margin-top: 10px;
  gap: 8px;
  font-size: 11px;
}
.weather-retry {
  padding: 5px 9px;
  font-size: 11px;
}
@media (max-width: 1050px) {
  .resort-weather-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .resort-weather-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 480px) {
  #weather .resort-weather-card {
    padding: 14px;
    border-radius: 14px;
  }
  .resort-weather-heading h2 {
    font-size: 20px;
  }
  .resort-weather-grid {
    grid-template-columns: 1fr;
  }
  .resort-weather-item {
    min-height: 58px;
  }
}

#weather .weather-country-slider button[aria-pressed='true'] {
  color: #fde68a;
  background: #facc151a;
  border-color: #facc1570;
  box-shadow: 0 0 16px #facc152b;
}
#weather .resort-weather-heading h2 {
  color: #fde68a;
  text-shadow: 0 0 18px #facc1538;
}

/* Selected country must remain yellow under the shared site theme. */
body #weather .weather-country-slider button[aria-pressed='true'] {
  background: #facc1526 !important;
  border-color: #facc15 !important;
  color: #fde68a !important;
  box-shadow: 0 0 18px #facc1540 !important;
  font-weight: 800 !important;
}
body #weather .resort-weather-heading h2 {
  color: #fde68a !important;
  text-shadow: 0 0 18px #facc1540 !important;
}
