/* =========================
   WEATHER FOOTER ROOT
   ========================= */

#wx-footer {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 1.2em;
  white-space: nowrap;
}

/* =========================
   BLOCKS
   ========================= */

.wx-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.wx-label {
  font-size: 2vh;
  line-height: 1;
  opacity: 0.65;
  margin-bottom: 0.3vh;
}

/* =========================
   CURRENT
   ========================= */

.wx-current .wx-label {
  text-align: center;
}

.wx-value {
  display: flex;
  align-items: center;
  gap: 0.6em;
}

/* =========================
   ICONS
   ========================= */

.wx-icon-slot {
  width: 2.5vh;
  height: 2.5vh;
  flex-shrink: 0;
}

.wx-icon-slot img {
  width: 100%;
  height: 100%;
  display: block;
  filter: brightness(0) invert(1);
}

/* =========================
   TEMPERATURE
   ========================= */

.wx-temp-slot {
  width: 3.5ch;
}

.wx-temp,
.wx-temp-slot span {
  font-size: 1.8vh;
  line-height: 1;
}

/* =========================
   FORECAST
   ========================= */

.wx-hours {
  display: flex;
  gap: 1em;
}

.wx-hour {
  display: flex;
  align-items: center;
  gap: 0.4em;
}

/* =========================
   SEPARATOR
   ========================= */

.wx-separator {
  font-size: 2.8vh;
  opacity: 0.5;
  margin: 0 0.6em;
}

/* =========================
   TRANSITIONS
   ========================= */

.wx-hidden {
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 250ms ease, transform 250ms ease;
}

.wx-unavailable .wx-icon-slot,
.wx-unavailable .wx-temp-slot {
  opacity: 0;
}
