.spotlight {
  overflow: hidden;
  padding: var(--offset-y) 0;
}

.spotlight--alt {
  padding: 4.75rem 0 3.125rem;
}

.spotlight--light {
  background-color: #EAE9E3;
}

.spotlight--dark {
  color: #fff;
  background-color: var(--pen);
}

.spotlight__wrapper {
  position: relative;
  margin: 0 auto;
  max-width: 1440px;
  padding: 0 var(--offset-x);
  box-sizing: border-box;
}

@media (max-width: 1280px) {
  .spotlight__wrapper {
    max-width: 1050px;
  }
}

.spotlight--box-teaser .spotlight__wrapper {
  padding-right: 0;
  padding-left: 0;
}

.spotlight--box-teaser .spotlight__slides-wrapper {
  overflow: visible;
}

.spotlight__arrow {
  position: absolute;
  cursor: pointer;
  z-index: 2;
}

.spotlight__arrow svg {
  transition: fill .3s ease-in-out;
}

.spotlight__arrow:hover svg {
  fill: currentColor;
}

.spotlight--light .spotlight__arrow:hover svg path {
  fill: var(--paper);
}

.spotlight--dark .spotlight__arrow:hover svg path {
  fill: var(--pen);
}

.spotlight__arrow-left svg path {
  transform: rotateY(180deg);
  transform-origin: center;
}

.spotlight__arrow.swiper-button-disabled,
.spotlight:not(.spotlight--inited) .spotlight__arrow {
  display: none;
}

.spotlight__arrow-right {
  right: var(--offset-x);
}

.spotlight__head {
  text-align: center;
  margin-bottom: 60px;
}

.spotlight__headline {
  font: var(--demi);
  font-weight: 700;
  text-align: center;
  letter-spacing: .9px;
  text-transform: uppercase;
}

.spotlight--alt .spotlight__headline,
.spotlight--alt .spotlight__subline {
  font-size: 2rem;
  line-height: normal;
}

.spotlight--alt .spotlight__headline {
  font-weight: 700;
}

.spotlight__read-more {
  display: flex;
  margin: 60px auto 0;
  width: fit-content;
  padding-bottom: 8px;
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  border-bottom: 2px solid var(--paper);
}

.spotlight--alt .spotlight__read-more {
  border: none;
  padding-bottom: 0;
}

.spotlight__read-more-arrow {
  position: relative;
  right: 0;
  margin: 2px 0 0 6px;
  transition: right .25s ease-in-out;
}

.spotlight__read-more:hover .spotlight__read-more-arrow {
  right: -5px;
}

/* Dark magic that requires the use of important to work as designed */
/* https://projects.loom.de/issues/40302 */

@media (max-width: 800px) {
  .spotlight--box-teaser .spotlight__arrow-right {
    right: 30px;
  }

  .spotlight--box-teaser .spotlight__arrow-left {
    left: 30px;
  }

  .spotlight--box-teaser .spotlight__slides-wrapper {
    padding: 0 30px;
  } 

  .spotlight--inited .spotlight__wrapper {
    padding-bottom: 100px;
  }
  
  .spotlight__arrow {
    bottom: 0;
  }
}

@media (min-width: 801px) {
  .spotlight__arrow {
    top: 50%;
    width: fit-content;
    transform: translateY(-50%);
  }

  .spotlight--box-teaser .spotlight__arrow-left {
    left: var(--offset-x);
  }
}

@media (min-width: 801px) and (max-width: 1280px) {
  .spotlight__arrow-right {
    right: 10px;
  }
  
  .spotlight--box-teaser .spotlight__arrow-right {
    right: 0;
  }

  .spotlight__arrow-left {
    left: 10px;
  }
  
  .spotlight--box-teaser .spotlight__arrow-left {
    left: 0;
  }

  .spotlight--box-teaser .spotlight__slides-wrapper {
    max-width: 400px;
    padding: 0 80px;
  } 

  .spotlight--box-teaser .spotlight__wrapper {
    width: fit-content;
  }
}

@media (max-width: 1280px) {
  .spotlight__arrow-left svg,
  .spotlight__arrow-right svg {
    width: 60px;
  }

}

@media (min-width: 1281px) {
  .spotlight--box-teaser .spotlight__arrow-right {
    right: 27%;
  }

  .spotlight--big-teaser .spotlight__arrow-right {
    right: 13.5%;
  }

  .spotlight--box-teaser .spotlight__arrow-left {
    left: 27%;
  }

  .spotlight--big-teaser .spotlight__arrow-left {
    left: 13.5%;
  }

  .spotlight--box-teaser .spotlight__slides-wrapper {
    position: relative;
    right: 125px;
    overflow: visible;
  } 

  .spotlight--big-teaser .spotlight__slides-wrapper {
    overflow: visible;
  }

  .spotlight:not(.spotlight--box-teaser) .spotlight__slides-wrapper {
    margin: 0 var(--gutter);
  }

  .spotlight--box-teaser .swiper-slide {
    transition: all .25s ease-in-out;
  }

  .spotlight--big-teaser .swiper-slide {
    padding: 0 40px;
    box-sizing: border-box;
  }
  
  .spotlight--box-teaser .swiper-slide:first-child {
    margin-left: -80px !important;
  }
  
  .spotlight--box-teaser .swiper-slide-prev {
    margin-right: 280px !important;
  }
  
  .spotlight--box-teaser .swiper-button-disabled {
    display: none;
  }
  
  .spotlight--box-teaser .swiper-slide-active {
    margin-right: 280px !important;
  }
  
  .spotlight--box-teaser .swiper-slide-active:first-child {
    margin-left: 125px !important;
  }
  
  .spotlight--box-teaser .swiper-slide-active:last-child {
    margin-right: 140px !important;
  }
}

@media (min-width: 1281px) {
  .spotlight--big-teaser .swiper-slide {
    padding: 0 80px;
  }

  .spotlight--big-teaser .spotlight__arrow-left {
    left: 10.5%;
  }

  .spotlight--big-teaser .spotlight__arrow-right {
    right: 10.5%;
  }
}

@media (min-width: 1441px) {
  .spotlight--big-teaser .swiper-slide {
    padding: 0 110px;
  }

  .spotlight--big-teaser .spotlight__arrow-left {
    left: 14%;
  }

  .spotlight--big-teaser .spotlight__arrow-right {
    right: 14%;
  }
}
