/* =========================
   TESTIMONIALS
========================= */

.home-testimonials {
  width: 100%;
  background: #ffffff;
}

.home-testimonials__inner {
  width: 100%;
  max-width: 1512px;
  margin: 0 auto;
  padding: 72px 54px 78px;
}

.home-testimonials__header span {
  display: block;
  margin-bottom: 4px;

  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 21px;
  text-transform: uppercase;

  color: #8C8C8C;
}

.home-testimonials__header h2 {
  margin: 0;

  font-family: var(--font-serif);
  font-size: 35px;
  font-weight: 350;
  line-height: 40px;

  color: #3B1200;
}

.home-testimonials__arrows {
  margin-top: 18px;

  display: flex;
  align-items: center;
  gap: 20px;
}

.home-testimonials__arrows button {
  padding: 0;
  border: 0;
  background: transparent;

  font-family: var(--font-sans);
  font-size: 22px;
  line-height: 1;
  font-weight: 300;

  color: #3B1200;
  cursor: pointer;
}

.home-testimonials__viewport {
  width: 100%;
  overflow: hidden;
}

.home-testimonials__grid {
  margin-top: 44px;

  display: flex;
  gap: 0;

  transition: transform 0.45s ease;
  will-change: transform;
}

.home-testimonials__grid::before {
  display: none;
}

.home-testimonial {
  flex: 0 0 100%;
  max-width: 100%;
  margin: 0;
  box-sizing: border-box;
}

.home-testimonial__columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 92px;

  position: relative;
}

.home-testimonial__columns::before {
  content: "";

  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;

  width: 1px;

  background: #8C8C8C;
  opacity: 0.65;
}

.home-testimonial__text p {
  margin: 0;

  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 350;
  line-height: 35px;

  color: #3B1200;
}

.home-testimonial__author {
  margin-top: 28px;
}

.home-testimonial__author strong {
  display: block;

  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;

  color: #000000;
}

.home-testimonial__author em {
  display: block;

  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 300;
  line-height: 18px;
  font-style: italic;

  color: #737373;
}

@media (max-width: 768px) {
  .home-testimonials__inner {
    padding: 32px 28px 8px;
  }

  .home-testimonials__header h2 {
    font-size: 0;
    line-height: 0;
  }

  .home-testimonials__arrows {
    margin-top: 8px;
  }

  .home-testimonial__columns {
    grid-template-columns: 1fr;
    row-gap: 0;
  }

  .home-testimonial__columns::before {
    display: none;
  }

  .home-testimonial__text:first-child {
    display: block;
  }

  .home-testimonial__text:nth-child(2) {
    display: none;
  }

  .home-testimonial__text p {
    font-size: 19px;
    line-height: 25px;
  }

  .home-testimonial__author {
    margin-top: 18px;
  }
}