/* Keep the original .slider and .main-holder dimensions at every breakpoint. */
.cs-solutions-preview {
  position: relative;
  overflow: hidden;
  background-image: url('../images/Hardscapingg.jpg');
  background-position: center;
  background-size: cover;
}
.cs-solutions-preview .cs-solution-photo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 150ms ease;
  pointer-events: none;
}
.cs-solutions-preview .cs-solution-photo.is-active { opacity: 1; }
.cs-solutions-preview::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(#30303061, #17171700 50%, #000000e3);
  pointer-events: none;
}
.cs-solutions-row:focus-within {
  outline: 2px solid #479b47;
  outline-offset: 3px;
}
.cs-solutions-preview[data-keyboard-preview] .cs-solution-photo { transition: none; }
@media (prefers-reduced-motion: reduce) {
  .cs-solutions-preview .cs-solution-photo { transition: none; }
}

/* Fill the unchanged frame using centered photos at their natural proportions. */
.cs-solutions-preview[data-current-solution] {
  background-image: none;
  background-color: #141414;
}
