/* SECTION */
.three-image-section {
  text-align: center;
  overflow-x: hidden !important;
}

/* CENTER */
.three-image-center {
  max-width: 520px;
  margin: 0 auto 160px;
  position: relative;
  z-index: 2;
}

/* HEADLINE */
.three-image-headline {
  font-size: 48px;
  margin-bottom: 20px;
}

.three-image-text {
  margin-bottom: 30px;
}
.three-image-text h1,
.three-image-text h2,
.three-image-text h3,
.three-image-text h4,
.three-image-text h5,
.three-image-text h6 {
  margin-bottom: 0.5rem !important;
}

/* GRID */
.three-image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  align-items: start;
  max-width: 1400px;
  margin: 60px auto 0;
  position: relative;
}

/* POSITIONING */
.three-image-item {
  position: relative;
}

/* LINKS */
.three-image-item.item-1 {
  top: -140px;
}

/* MITTE */
.three-image-item.item-2 {
  top: -100px;
}

/* RECHTS */
.three-image-item.item-3 {
  top: -140px;
}

.three-image-item.item-1,
.three-image-item.item-3 {
  top: -290px;
}

/* IMAGE */
.three-image-img {
  width: 90%;
  aspect-ratio: 3 / 5;
  border-radius: 999px;
  overflow: hidden;
  max-height: 520px;
  margin: auto;
}

.three-image-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* CONTENT */
.three-image-content {
  margin-top: 20px;
}

.three-image-content h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.three-image-content p {
  font-size: 14px;
  max-width: 260px;
  margin: 0 auto;
}

/* BUTTON */
.three-image-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #f5f1ec;
  font-size: 13px;
  text-transform: uppercase;
}

.three-image-link .dot {
  width: 8px;
  height: 8px;
  background: var(--color-black);
  border-radius: 50%;
}

/* MOBILE */
@media (max-width: 991px) {
  .three-image-grid {
    display: none;
  }

  .three-image-headline {
    font-size: 28px;
  }

  .three-image-center {
    margin-bottom: 40px;
  }

  .three-image-img {
    width: 65%;
    aspect-ratio: 3 / 5;
    margin: auto;
    max-height: 390px;
  }
}

/* SLIDER */
.three-image-slider .slide {
  padding-right: 12px;
}

.three-image-slider {
  margin-right: -12px;
}

/* NAV */
.three-image-nav {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.three-image-prev,
.three-image-next {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.three-image-prev .dot,
.three-image-next .dot {
  width: 10px;
  height: 10px;
  background: var(--color-black);
  border-radius: 50%;
}

.three-image-prev .line,
.three-image-next .line {
  width: 44px;
  height: 2px;
  background: var(--color-black);
}
