/* WEKDEN home slider image replacement */

body.home .wd-hero .wd-hero__slide:nth-of-type(1),
body.front-page .wd-hero .wd-hero__slide:nth-of-type(1),
.wd-hero .wd-hero__slide:nth-of-type(1) {
  --hero-image: url("/wp-content/themes/wekden-astra-child/assets/img/home-slider-01-oem-custom-parts.jpg") !important;
  background-image:
    linear-gradient(90deg, rgba(17, 24, 39, 0.94) 0%, rgba(17, 24, 39, 0.82) 38%, rgba(17, 24, 39, 0.25) 66%, rgba(17, 24, 39, 0.04) 100%),
    url("/wp-content/themes/wekden-astra-child/assets/img/home-slider-01-oem-custom-parts.jpg") !important;
}

body.home .wd-hero .wd-hero__slide:nth-of-type(2),
body.front-page .wd-hero .wd-hero__slide:nth-of-type(2),
.wd-hero .wd-hero__slide:nth-of-type(2) {
  --hero-image: url("/wp-content/themes/wekden-astra-child/assets/img/home-slider-02-cnc-machined-parts.jpg") !important;
  background-image:
    linear-gradient(90deg, rgba(17, 24, 39, 0.94) 0%, rgba(17, 24, 39, 0.82) 38%, rgba(17, 24, 39, 0.25) 66%, rgba(17, 24, 39, 0.04) 100%),
    url("/wp-content/themes/wekden-astra-child/assets/img/home-slider-02-cnc-machined-parts.jpg") !important;
}

body.home .wd-hero .wd-hero__slide:nth-of-type(3),
body.front-page .wd-hero .wd-hero__slide:nth-of-type(3),
.wd-hero .wd-hero__slide:nth-of-type(3) {
  --hero-image: url("/wp-content/themes/wekden-astra-child/assets/img/home-slider-03-machinery-hardware-parts.jpg") !important;
  background-image:
    linear-gradient(90deg, rgba(17, 24, 39, 0.94) 0%, rgba(17, 24, 39, 0.82) 38%, rgba(17, 24, 39, 0.25) 66%, rgba(17, 24, 39, 0.04) 100%),
    url("/wp-content/themes/wekden-astra-child/assets/img/home-slider-03-machinery-hardware-parts.jpg") !important;
}

.wd-hero .wd-hero__slide {
  background-size: cover !important;
  background-position: center right !important;
  background-repeat: no-repeat !important;
}
