.home-page .home-discovery-visual { overflow: visible; }
.home-page .home-discovery-visual:has(.hero-weather[open]) { z-index: 4; }
.hero-weather { position: absolute; top: 20px; right: 24px; z-index: 2; margin: 0; }
.hero-weather > summary { display: flex; min-height: 52px; align-items: center; justify-content: center; gap: 6px; padding: 7px 10px; border: 1px solid #ffffff70; border-radius: 14px; background: #fffffff2; color: #142653; box-shadow: 0 4px 16px #042d5b24; font: 800 22px/1 Manrope, sans-serif; font-variant-numeric: tabular-nums; list-style: none; cursor: pointer; }
.hero-weather > summary::marker { content: ''; }
.hero-weather > summary::-webkit-details-marker { display: none; }
.hero-weather > summary:hover, .hero-weather[open] > summary { background: #fff; }
.hero-weather > summary:focus-visible { outline: 3px solid #ffda32; outline-offset: 3px; }
.hero-weather [data-weather-icon] { display: block; flex: 0 0 38px; width: 38px; height: 38px; object-fit: contain; }
.city-weather-details { position: absolute; top: calc(100% + 8px); right: 0; width: min(270px, calc(100vw - 28px)); padding: 16px; border: 1px solid #dce8f7; border-radius: 16px; background: #fff; color: #142653; box-shadow: 0 8px 28px #123b6030; text-align: left; }
.city-weather-details p { margin: 0 0 10px; font: 400 13px/1.5 'DM Sans', Arial, sans-serif; }
.city-weather-details p:last-child { margin-bottom: 0; }
.city-weather-details strong { font-weight: 700; }
.city-weather-details a { color: #0054dc; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 760px) {
  .hero-weather { top: 12px; right: 14px; }
  .hero-weather > summary { min-height: 48px; gap: 4px; padding: 7px 8px; border-radius: 12px; font-size: 19px; }
  .hero-weather [data-weather-icon] { flex-basis: 32px; width: 32px; height: 32px; }
}
