/* ==========================================================================
   Testimonial Quotes block — deep-red carousel with avatar pagination.
   ========================================================================== */

.testimonial-quotes {
  position: relative;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  overflow: hidden;
  background: #6d1016;
  isolation: isolate;
  margin: 10px auto;
}

.testimonial-quotes__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;
  z-index: 0;
}

.testimonial-quotes__inner {
  position: relative;
  z-index: 1;
  max-width: 1920px;
  padding: 100px 40px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

/* ------------------------------ Eyebrow --------------------------------- */

.testimonial-quotes__eyebrow {
  font-family: 'Quattrocento Sans', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  text-align: center;
  color: #b29447;
}

/* ------------------------------ Slider row ------------------------------ */

.testimonial-quotes__slider {
  position: relative;
  width: 100%;
  max-width: 1600px;
}

.testimonial-quotes__row {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.testimonial-quotes__arrows {
  position: static;
}

.testimonial-quotes__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 68px;
  height: 128px;
  border: 0;
  border-radius: 16px;
  background: #0c171c;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.25s ease;
  padding: 0;
}

.testimonial-quotes__arrow--prev {
  left: 10%;
}

.testimonial-quotes__arrow--next {
  right: 10%;
}

.testimonial-quotes__arrow:hover,
.testimonial-quotes__arrow:focus-visible {
  background: #1a2b33;
  outline: none;
}

.testimonial-quotes__arrow svg {
  width: 22px;
  height: 22px;
  display: block;
  color: #ffffff;
  stroke: #ffffff;
  fill: none;
}

.testimonial-quotes__arrow::before,
.testimonial-quotes__arrow::after {
  content: none !important;
  display: none !important;
}

.testimonial-quotes__slider .glide__track {
  overflow: hidden;
  flex: 1 1 auto;
  max-width: 900px;
  margin: 0 128px;
  outline: none;
  border: 0;
}

.testimonial-quotes__slider .glide__track,
.testimonial-quotes__slider .glide__track:focus,
.testimonial-quotes__slider .glide__track:focus-visible,
.testimonial-quotes__slider .glide__slides,
.testimonial-quotes__slider .glide__slides:focus,
.testimonial-quotes__slider .glide__slide,
.testimonial-quotes__slider .glide__slide:focus,
.testimonial-quotes__slider .glide__slide:focus-visible,
.testimonial-quotes__slider .glide__slide[tabindex]:focus,
.testimonial-quotes__slider [tabindex]:focus,
.testimonial-quotes__slider [tabindex]:focus-visible {
  outline: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}

.testimonial-quotes__slides {
  margin: 0;
  padding: 0;
  list-style: none;
  outline: none;
}

.testimonial-quotes__slide {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  text-align: center;
}

/* ------------------------------ Quote ----------------------------------- */

.testimonial-quotes__quote {
  margin: 0;
  width: 100%;
  font-family: 'Quattrocento', Georgia, serif;
  font-weight: 400;
  font-size: 44px;
  line-height: 1.4;
  letter-spacing: -0.03em;
  color: #ffffff; /* default = white */
  text-align: left;
}

.testimonial-quotes__quote strong,
.testimonial-quotes__quote b {
  color: #f26262; /* strong = red accent */
  font-weight: inherit;
}

.testimonial-quotes__quote em,
.testimonial-quotes__quote i {
  font-style: italic;
}

.testimonial-quotes__quote p {
  margin: 0 0 12px;
}

.testimonial-quotes__quote p:last-child {
  margin-bottom: 0;
}

/* ------------------------------ Author ---------------------------------- */

.testimonial-quotes__author {
  align-self: stretch;
  text-align: right;
  font-family: 'Quattrocento Sans', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: 0.36em;
  text-indent: 0.36em;
  text-transform: uppercase;
  color: #d7bc75;
}

/* ------------------------------ Avatar bullets -------------------------- */

.testimonial-quotes__bullets {
  margin-top: 50px;
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
  justify-content: center;
}

.testimonial-quotes__bullet {
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 50%;
  cursor: pointer;
  flex-shrink: 0;
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.testimonial-quotes__bullet img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

.testimonial-quotes__bullet.glide__bullet--active {
  box-shadow: 0 0 0 5px #ff1111;
  transform: scale(1.1);
}

.testimonial-quotes__bullet:hover,
.testimonial-quotes__bullet:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8);
}

/* ------------------------------ CTA ------------------------------------- */

.testimonial-quotes__inner > .c-btn {
  min-width: 319px;
  height: 72px;
  margin-top: 50px;
}

/* ------------------------------ Responsive ------------------------------ */

/* Tablet + mobile use the same layout as the mobile Figma: arrows drop out
   of the slide row and sit inline on either side of the avatar bullets;
   quote uses a muted-red default with the strong parts in white. */

@media (max-width: 1440px) {
  .testimonial-quotes__arrow--prev {
    left: 0%;
  }

  .testimonial-quotes__arrow--next {
    right: 0%;
  }

  .testimonial-quotes__inner > .c-btn {
    margin-top: 20px;
  }
}

@media (max-width: 1024px) {
  .testimonial-quotes__inner {
    padding: 64px 24px 72px;
    gap: 32px;
  }

  /* Eyebrow — small muted gold, 2 lines. */
  .testimonial-quotes__eyebrow {
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: 0;
    color: #b29447;
  }

  /* Quote: default = muted red, <strong> = white (mobile design inverts
     the desktop treatment). */
  .testimonial-quotes__quote {
    font-size: 24px;
    line-height: 1.35;
    letter-spacing: -0.01em;
    color: #c98a8f;
  }
  .testimonial-quotes__quote strong,
  .testimonial-quotes__quote b {
    color: #ffffff;
    font-weight: inherit;
  }

  .testimonial-quotes__author {
    font-size: 15px;
    letter-spacing: 0.24em;
    text-indent: 0.24em;
    text-align: right;
    color: #d7bc75;
  }

  /* Row shows only the track — arrows are relocated below. */
  .testimonial-quotes__slider .glide__track {
    max-width: none;
    margin: 0;
  }

  /* Base `.__row` is position:relative, which would trap the absolute arrows
     inside the slide area. Reset it so `.__slider` becomes the containing
     block for the arrows. */
  .testimonial-quotes__row {
    position: static;
    gap: 0;
    min-height: 0;
  }

  /* Bullets row hosts the arrows on either side; avatars overlap. */
  .testimonial-quotes__bullets {
    position: relative;
    margin-top: 32px;
    gap: 0;
    padding: 0 72px;
  }
  .testimonial-quotes__bullet + .testimonial-quotes__bullet {
    margin-left: -12px;
  }
  .testimonial-quotes__bullet {
    width: 48px;
    height: 48px;
  }
  .testimonial-quotes__bullet.glide__bullet--active {
    position: relative;
    z-index: 2;
  }

  /* Pull arrows out of the slide and dock them to the bullets row. */
  .testimonial-quotes__arrow {
    position: absolute;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: #0c171c;
  }
  .testimonial-quotes__arrow--prev {
    left: 0;
    right: auto;
  }
  .testimonial-quotes__arrow--next {
    right: 0;
    left: auto;
  }
  .testimonial-quotes__arrow svg {
    width: 18px;
    height: 18px;
  }

  /* Move the arrows visually into the bullets row via a shared parent.
     Since they live in .__row (a sibling of .__bullets), anchor them off
     .__slider and align to the bullets Y coordinate. */
  .testimonial-quotes__slider {
    position: relative;
  }
  .testimonial-quotes__arrows {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 44px;
    pointer-events: none; /* the buttons re-enable pointer events */
  }
  .testimonial-quotes__arrow {
    pointer-events: auto;
  }

  .testimonial-quotes__inner > .c-btn {
    min-width: 260px;
    height: 60px;
  }
}

@media (max-width: 767px) {
  .testimonial-quotes__inner {
    padding: 64px 20px;
  }
  .testimonial-quotes__quote {
    font-size: 24px;
    line-height: 1.35;
  }
  .testimonial-quotes__author {
    font-size: 12px;
  }
  .testimonial-quotes__slide {
    gap: 20px;
  }
  .testimonial-quotes__bullet {
    width: 40px;
    height: 40px;
  }
  /* GL-171 a11y (target size 2.5.8): the -12px overlap plus the scaled active
     avatar left the neighbouring button a 14px-wide hit area. -6px keeps the
     stacked look and leaves >= 30px of every button uncovered. */
  .testimonial-quotes__bullet + .testimonial-quotes__bullet {
    margin-left: -6px;
  }
  .testimonial-quotes__arrow {
    width: 48px;
    height: 48px;
    border-radius: 8px;
  }
  .testimonial-quotes__inner > .c-btn {
    min-width: 240px;
    height: 56px;
  }
}

/* ------------------------------ Editor preview -------------------------- */

.testimonial-quotes--is-preview {
  zoom: 0.55;
}

/* In the editor (no Glide mount), just show the first slide. */
.testimonial-quotes--is-preview .testimonial-quotes__slide ~ .testimonial-quotes__slide {
  display: none;
}
