/* =============================================================================
   Header slider (layout 01)
   ========================================================================== */

.header__frame {
  --swiper-pagination-color: rgb(var(--c-neutral-lightest));
  --swiper-pagination-bullet-inactive-color: rgb(var(--c-neutral-darker));
  --swiper-pagination-bullet-inactive-opacity: 1;
  --swiper-pagination-bullet-size: 12px;
  --swiper-pagination-bottom: 1rem;
  --swiper-navigation-color: rgb(var(--c-neutral-darker));
  --swiper-navigation-size: 22px;
  display: block;
  width: 100%;
}

.header__slider {
  position: relative;
  width: 100%;
  max-height: 700px;
  overflow: hidden;
}

.header__slide {
  position: relative;
}

.header__link {
  display: block;
}

.header__image img {
  display: block;
  width: 100%;
  height: auto;
}

/* Caption bottom left, like the former cycle caption */
.header__text {
  position: absolute;
  bottom: 4vw;
  left: 5%;
  z-index: 2;
  max-width: 50vw;
  color: rgb(var(--c-neutral-lightest));
  font-family: var(--f-family-l);
  font-size: 3.5vw;
  line-height: 110%;
  text-transform: uppercase;
}

.header__arrow {
  width: 30px;
  height: 45px;
  margin-top: -22px;
  background: rgba(var(--c-neutral-lightest), 0.3);
  transition: background 0.3s ease;
}

.header__arrow.-prev {
  left: 0;
}

.header__arrow.-next {
  right: 0;
}

/* =============================================================================
   Media Queries
   ========================================================================== */

@media (min-width: 640px) {
  .header__arrow {
    width: 40px;
    height: 60px;
    margin-top: -30px;
  }
}

@media (min-width: 1024px) {
  .header__frame {
    --swiper-pagination-bottom: 60px;
    --swiper-pagination-bullet-size: 16px;
    --swiper-navigation-size: 30px;
  }

  .header__arrow {
    width: 60px;
    height: 90px;
    margin-top: -45px;
  }
}

@media (min-width: 1280px) {
  .header__text {
    max-width: none;
    font-size: 312%;
  }
}

@media (hover: hover) {
  .header__arrow:hover {
    background: rgba(var(--c-neutral-lightest), 0.7);
  }
}
