.gct {
  --gct-transition-duration: 300ms;
  background: #f8f7f3;
  overflow: hidden;
  padding: 90px 50px;
  width: 100%;
}

.gct,
.gct * {
  box-sizing: border-box;
}

.gct__layout {
  align-items: center;
  display: flex;
  flex-direction: row;
  gap: 72px;
  margin: 0 auto;
  max-width: 1500px;
  min-width: 0;
  width: 100%;
}

.gct__intro,
.gct__slider {
  min-width: 0;
}

.gct__intro {
  flex: 0 1 38%;
}

.gct__slider {
  flex: 0 1 62%;
}

.gct__eyebrow {
  color: #4e8e26;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 3px;
  line-height: 1.3;
  margin: 0 0 22px;
  text-transform: uppercase;
}

.gct__headline {
  color: #102016;
  font-size: 70px;
  font-weight: 750;
  letter-spacing: -2.5px;
  line-height: 1.05;
  margin: 0 0 30px;
  max-width: 520px;
  overflow-wrap: anywhere;
}

.gct__badge {
  align-items: center;
  background: #e2f4c9;
  border-radius: 999px;
  color: #16321e;
  display: inline-flex;
  flex-wrap: wrap;
  font-size: 16px;
  font-weight: 700;
  gap: 14px;
  justify-content: center;
  line-height: 1.25;
  max-width: 100%;
  padding: 12px 20px;
  text-decoration: none;
}

.gct__badge-stars,
.gct__item-rating {
  color: #4e9a24;
  letter-spacing: 2px;
}

a.gct__badge:focus-visible,
.gct__item-rating:focus-visible,
.gct__nav-button:focus-visible {
  outline: 3px solid #5c9f32;
  outline-offset: 3px;
}

.gct__card {
  background: #fff;
  border: 1px solid #e1e4df;
  border-radius: 32px;
  box-shadow: 0 22px 52px rgba(28, 43, 33, 0.09);
  display: flex;
  flex-direction: column;
  min-height: 540px;
  overflow: hidden;
  padding: 62px 62px 42px;
  position: relative;
}

.gct__slides {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
}

.gct__slide {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  margin: 0;
  min-width: 0;
  width: 100%;
}

.gct__slide[hidden] {
  display: none;
}

.gct__quote-mark {
  color: #9edb72;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 72px;
  font-weight: 700;
  height: 42px;
  line-height: 1;
  margin: 0 0 28px;
}

.gct__review {
  color: #17231a;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 34px;
  font-weight: 400;
  line-height: 1.42;
  margin: 0 0 34px;
  max-width: 800px;
  quotes: none;
}

.gct__review p {
  margin: 0;
}

.gct__caption {
  display: flex;
  flex-direction: column;
  margin-top: auto;
}

.gct__item-rating {
  align-self: flex-start;
  margin-bottom: 10px;
  text-decoration: none;
}

.gct__author {
  color: #17231a;
  display: block;
  font-size: 17px;
  font-style: normal;
  font-weight: 750;
  line-height: 1.35;
}

.gct__meta {
  color: #6e786f;
  display: block;
  font-size: 15px;
  line-height: 1.4;
  margin-top: 5px;
}

.gct__navigation {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 24px;
}

.gct__nav-button {
  align-items: center;
  appearance: none;
  background: #fff;
  border: 1px solid #d8ddd8;
  border-radius: 50%;
  color: #17231a;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 24px;
  height: 54px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  transition: background-color 170ms ease, border-color 170ms ease, color 170ms ease, transform 100ms ease;
  width: 54px;
}

.gct__nav-button:hover,
.gct__nav-button:focus-visible {
  background: #9cf044;
  border-color: #79c92c;
  color: #112017;
}

.gct__nav-button:active {
  transform: scale(0.96);
}

.gct__nav-button:disabled {
  cursor: not-allowed;
  opacity: 0.38;
}

.gct__status {
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.gct--transition-fade .gct__slide.is-entering-next,
.gct--transition-fade .gct__slide.is-entering-previous {
  animation: gct-fade-in var(--gct-transition-duration) ease both;
}

.gct--transition-slide .gct__slide.is-entering-next {
  animation: gct-slide-next var(--gct-transition-duration) ease both;
}

.gct--transition-slide .gct__slide.is-entering-previous {
  animation: gct-slide-previous var(--gct-transition-duration) ease both;
}

@keyframes gct-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes gct-slide-next {
  from { opacity: 0; transform: translateX(18px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes gct-slide-previous {
  from { opacity: 0; transform: translateX(-18px); }
  to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 1024px) {
  .gct {
    padding: 64px 32px;
  }

  .gct__layout {
    gap: 38px;
  }

  .gct__headline {
    font-size: 52px;
  }

  .gct__card {
    min-height: 480px;
    padding: 46px 42px 36px;
  }

  .gct__review {
    font-size: 28px;
  }
}

@media (max-width: 767px) {
  .gct {
    padding: 48px 20px;
  }

  .gct__layout {
    align-items: stretch;
    flex-direction: column;
    gap: 34px;
  }

  .gct__intro,
  .gct__slider {
    flex-basis: auto;
    width: 100%;
  }

  .gct__headline {
    font-size: 42px;
  }

  .gct__badge {
    font-size: 14px;
  }

  .gct__card {
    min-height: 420px;
    padding: 36px 24px 24px;
  }

  .gct__quote-mark {
    font-size: 56px;
  }

  .gct__review {
    font-size: 23px;
  }

  .gct__nav-button {
    height: 48px;
    width: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gct__slide,
  .gct__nav-button {
    animation: none !important;
    transition: none !important;
  }
}
