.temperature-box {
  position: relative;
  background-color: white;
  height: 300px;
  overflow: hidden;
}

/* Mirrored background image */
.temperature-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../../static/images/art1.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scaleX(-1); /* Flip horizontally */
  z-index: 0;
}

/* Darker dim gradient overlay */
.temperature-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0));
  z-index: 1;
}

.temperature-box > * {
  position: relative;
  z-index: 2;
}
