.vh-weather-card {
  --vh-weather-deep: #163f2a;
  --vh-weather-green: #2f7a46;
  --vh-weather-soft: #f6f2e9;
  --vh-weather-line: rgba(22, 63, 42, 0.14);
  --vh-weather-text: #243126;
  --vh-weather-muted: #667168;
  box-sizing: border-box;
  width: min(1120px, calc(100% - 32px));
  margin: 24px auto 28px;
  padding: clamp(20px, 3vw, 32px);
  color: var(--vh-weather-text);
  background:
    radial-gradient(circle at top right, rgba(47, 122, 70, 0.10), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, var(--vh-weather-soft) 100%);
  border: 1px solid var(--vh-weather-line);
  border-radius: 26px;
  box-shadow: 0 18px 48px rgba(22, 63, 42, 0.13);
  overflow: hidden;
}

.vh-weather-card,
.vh-weather-card * {
  box-sizing: border-box;
}

.vh-weather-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.vh-weather-eyebrow {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--vh-weather-green);
}

.vh-weather-copy h2 {
  margin: 0;
  color: var(--vh-weather-deep);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.08;
}

.vh-weather-subtitle {
  max-width: 720px;
  margin: 10px 0 0;
  color: var(--vh-weather-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.vh-weather-current {
  display: flex;
  gap: 14px;
  align-items: center;
  min-width: 230px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 28px rgba(22, 63, 42, 0.10);
}

.vh-weather-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border-radius: 18px;
  background: rgba(47, 122, 70, 0.10);
  font-size: 2rem;
}

.vh-weather-temp {
  color: var(--vh-weather-deep);
  font-size: 2.1rem;
  line-height: 1;
  font-weight: 900;
}

.vh-weather-condition {
  margin-top: 4px;
  font-weight: 800;
}

.vh-weather-updated {
  margin-top: 3px;
  color: var(--vh-weather-muted);
  font-size: 0.82rem;
}

.vh-weather-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.vh-weather-stat {
  padding: 14px 16px;
  border: 1px solid var(--vh-weather-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
}

.vh-weather-stat span,
.vh-weather-panel-grid span {
  display: block;
  margin-bottom: 4px;
  color: var(--vh-weather-muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.vh-weather-stat strong,
.vh-weather-panel-grid strong {
  color: var(--vh-weather-deep);
  font-size: 1.02rem;
}

.vh-weather-days {
  display: flex;
  gap: 8px;
  margin-top: 22px;
  padding-bottom: 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.vh-weather-day-button {
  appearance: none;
  display: inline-flex;
  gap: 7px;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  padding: 10px 13px;
  cursor: pointer;
  color: var(--vh-weather-deep);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--vh-weather-line);
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.vh-weather-day-button:hover,
.vh-weather-day-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(47, 122, 70, 0.42);
  outline: none;
}

.vh-weather-day-button.is-active {
  color: #ffffff;
  background: var(--vh-weather-deep);
  border-color: var(--vh-weather-deep);
}

.vh-weather-day-icon {
  font-size: 1.08rem;
  line-height: 1;
}

.vh-weather-panels {
  margin-top: 14px;
}

.vh-weather-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--vh-weather-line);
}

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

.vh-weather-panel-date {
  margin: 0 0 4px;
  color: var(--vh-weather-green);
  font-size: 0.85rem;
  font-weight: 900;
}

.vh-weather-panel h3 {
  margin: 0;
  color: var(--vh-weather-deep);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.vh-weather-panel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.vh-weather-panel-grid > div {
  padding: 12px;
  border-radius: 16px;
  background: rgba(246, 242, 233, 0.76);
}

.vh-weather-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--vh-weather-line);
  color: var(--vh-weather-muted);
  font-size: 0.78rem;
}

.vh-weather-card--notice,
.vh-weather-card--fallback {
  padding: 20px 22px;
}

.vh-weather-fallback-title {
  margin-bottom: 6px;
  color: var(--vh-weather-deep);
  font-weight: 900;
  font-size: 1.15rem;
}

.vh-weather-card--fallback p,
.vh-weather-card--notice p {
  margin: 0;
  color: var(--vh-weather-muted);
}

.vh-weather-admin-error {
  display: block;
  margin-top: 6px;
  color: #9b1c1c;
  font-size: 0.85rem;
}

@media (max-width: 760px) {
  .vh-weather-card {
    width: min(100% - 24px, 1120px);
    margin-top: 18px;
    border-radius: 22px;
  }

  .vh-weather-main,
  .vh-weather-panel {
    grid-template-columns: 1fr;
  }

  .vh-weather-current {
    width: 100%;
    min-width: 0;
  }

  .vh-weather-stats,
  .vh-weather-panel-grid {
    grid-template-columns: 1fr;
  }

  .vh-weather-day-button {
    min-width: 84px;
  }
}
