/* Shared footer layout */
footer {
  position: relative;
  z-index: 0;
  flex: 0 0 8vh;
  width: 100vw;
  height: 8vh;
  padding: 0 2em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #A32638;
  color: white;
}

.footer-left,
.footer-right {
  display: flex;
  align-items: center;
}

.footer-left {
  min-width: 0;
}

.footer-container {
  display: flex;
  gap: 2em;
  align-items: center;
  text-align: right;
}

footer h3 {
  margin: 0;
  font-size: 6vh;
}

footer h2 {
  margin: 0;
  font-size: 7vh;
}

#footer-date {
  opacity: 0.6;
}

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

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

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

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

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

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

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

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

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

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

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

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

.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;
}
