.weatherapi-wp.card {
  font-family: system-ui, -apple-system, Segoe UI, Roboto;
}
.weatherapi-header span {
  font-size: 0.6rem;
}
.weatherapi-current .temp {
  font-size: 1rem;
  font-weight: 700;
}
.weatherapi-current .meta {
  color: #4c4c4c;
  font-size: 0.6rem
}
.weatherapi-forecast {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  margin-top: 12px;
}
.weatherapi-attrib {
  margin-top: 10px;
  font-size: 12px;
  color: #4c4c4c;
}
.weatherapi-wp.error {
  padding: 12px;
  border-left: 4px solid #dc2626;
  background: #fef2f2;
}

/* --- ICONOS --- */
.weatherapi-wp .wa-icon {
  display: inline-flex;
  line-height: 0;
  vertical-align: middle;
  color: var(--wa-icon-color, #111); /* color por defecto */
  font-size: var(--wa-icon-size, 28px); /* controla tamaño del SVG con 1em */
}
.weatherapi-wp .wa-icon svg {
  width: 1em;
  height: 1em;
  stroke: currentColor;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.weatherapi-current .temp {
  display: flex;
  align-items: center;
  gap: 10px;
}
.weatherapi-forecast .day .top {
  display: flex;
  align-items: center;
  gap: 8px;
}
