/* Citroën keeps the artwork in normal flow instead of a fixed-height hero. */

.banner--hero {
  overflow: visible;
  background: #fff;
}

/* Slick's original track/list transforms retain the same rounded-edge paint. */

.banner--hero .banner__viewport, .banner--hero .banner__track {
  transform: translate3d(0, 0, 0);
}

.banner--hero .banner__slide {
  display: block;
  min-height: 0;
}

.banner--hero .banner__picture, .banner--hero .banner__media-link {
  position: relative;
  z-index: auto;
  height: auto;
}

.banner--hero .banner__image {
  display: block;
  height: auto;
}

.banner--hero .banner__slide:has(.banner__video) {
  min-height: 40vw;
}

.banner--hero .banner__content {
  position: absolute;
  inset: 0;
  height: 100%;
  min-height: 0;
  padding-block: 0 40px;
}

.banner--hero :is(.banner__heading, .banner__mid-text) {
  text-transform: uppercase;
}

.banner--hero .banner__button {
  height: 3rem;
  overflow: visible;
  border-radius: 1.5rem;
  padding: 0 1.5rem;
  font-size: 16px;
  font-weight: 700;
  line-height: 16px;
  text-transform: none;
}

.banner--hero .banner__pagination {
  bottom: 4rem;
  display: block;
  box-sizing: content-box;
  height: 36px;
  line-height: 23px;
  text-align: center;
}

.banner--hero .banner__indicator {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 30px;
  margin: 0 5px;
  font-size: 14px;
  line-height: 21px;
}

.banner--hero .banner__pagination button {
  display: block;
  width: 15px;
  height: 15px;
  margin: 7.5px;
  border: 2px solid #fff;
  border-radius: 85px;
  background: transparent;
  font-size: 0;
  line-height: 0;
  opacity: 1;
}

.banner--hero .banner__pagination button[aria-pressed="true"] {
  width: 25px;
  height: 25px;
  margin: 0;
  background: #fff;
}

@media (min-width: 1021px) {
  /* Preserve the image-mode inset formerly created by the legacy sizing marker. */

  .banner--hero .banner__viewport {
    margin-left: 1px;
  }

  .banner--hero.banner--minimized .banner__slide {
    min-height: 580px;
  }

  .banner--hero.banner--minimized .banner__image {
    max-height: 580px;
    object-fit: cover;
  }
}

@media (max-width: 1020px) {
  .banner--hero .banner__content {
    display: flex;
    padding-top: 0;
  }

  .banner--hero .banner__pagination {
    top: auto;
  }
}

@media (max-width: 680px) {
  .banner--hero .banner__picture, .banner--hero .banner__media-link {
    height: auto;
  }

  .banner--hero .banner__picture {
    line-height: 23px;
  }

  .banner--hero .banner__image {
    display: inline;
  }

  .banner--hero .banner__content {
    position: relative;
    padding: 20px;
  }

  .banner--hero .banner__button {
    height: 40px;
    padding: 10px;
  }

  .banner--hero .banner__pagination {
    bottom: -40px;
    left: calc(50% - 60px);
    width: auto;
  }

  .banner--hero .banner__indicator {
    width: 15px;
    height: 15px;
    margin: 0 3px;
  }

  .banner--hero .banner__pagination button {
    width: 10px;
    height: 10px;
    margin: 2.5px;
    border: 1px solid #000;
  }

  .banner--hero .banner__pagination button[aria-pressed="true"] {
    width: 15px;
    height: 15px;
    margin: 0;
    background: #000;
  }
}
