/* Homepage slider — replaces flickerplate (no jQuery init required) */
.peatnson-home-slider {
  position: relative;
  width: 100%;
  height: 425px;
  overflow: hidden;
  background-color: #e6e6e6;
}

.peatnson-home-slider-slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.peatnson-home-slider-slide.is-active {
  opacity: 1;
  z-index: 1;
}

/* Match legacy style.css .main .slider heights on small screens */
@media only screen and (max-width: 568px) {
  .peatnson-home-slider {
    height: 250px;
  }
}

@media only screen and (max-width: 518px) {
  .peatnson-home-slider {
    height: 200px;
  }
}

.main .slider {
  overflow: hidden;
}

button.translate-link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-decoration: underline;
}
