/* ==========================================================================
   Global Keynote Feedback carousel  (.gst-*)  — single source of truth
   Palette pulled from the site: accent #b51f00, rule #dee2e6, text #212529,
   light-surface grey #f7f7f7. Self-contained; depends on no site classes.
   ========================================================================== */

.gst-section {
  background: #f7f7f7;
  border-top: 1px solid #dee2e6;
  border-bottom: 1px solid #dee2e6;
  padding: 60px 0 68px;
  color: #212529;
}

.gst-section * { box-sizing: border-box; }

.gst-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}

/* --- Self-contained heading motif (centered h3 + short accent underline) --- */
.gst-title {
  text-align: center;
  margin: 0 0 42px;
}
.gst-title h3 {
  font-size: 30px;
  font-weight: 700;
  color: #212529;
  margin: 0 0 14px;
  line-height: 1.25;
}
.gst-title h3 span { color: #b51f00; }
.gst-title::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin: 14px auto 0;
  background: #b51f00;
  border-radius: 2px;
}

/* --- Carousel frame: side gutters hold the round arrows --- */
.gst-carousel {
  position: relative;
  margin: 0 44px;
}

/* ---------- Equal-height carousel plumbing (required verbatim) ---------- */
.gst-carousel .slick-track { display: flex !important; }
.gst-carousel .slick-slide { height: auto; }
.gst-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start !important;
}
.gst-quote { flex: 0 0 auto !important; }
.gst-person { margin-top: auto !important; }
/* ----------------------------------------------------------------------- */

/* Gap lives as PADDING on the slide wrapper (never margin on .gst-card,
   which has height:100% + flex and would overflow slick-list and clip). */
.gst-slide { padding: 14px 12px; height: 100%; }

.gst-card {
  height: 100%;
  background: #ffffff;
  border: 1px solid #eeeeee;
  border-top: 3px solid #b51f00;
  border-radius: 10px;
  padding: 30px 26px 26px;
  box-shadow: 0 6px 22px rgba(17, 17, 17, 0.06);
  position: relative;
  transition: box-shadow .25s ease, transform .25s ease;
}
.gst-card:hover {
  box-shadow: 0 12px 30px rgba(181, 31, 0, 0.14);
  transform: translateY(-3px);
}

/* Decorative oversized quote mark, top-right, in a faint accent */
.gst-card::before {
  content: "\201C";
  position: absolute;
  top: 6px;
  right: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 74px;
  line-height: 1;
  color: rgba(181, 31, 0, 0.12);
  pointer-events: none;
}

/* Stars pinned top */
.gst-stars {
  color: #f0a500;
  font-size: 15px;
  letter-spacing: 2px;
  margin: 0 0 14px;
}

/* Quote pinned top (flex:0 0 auto above) */
.gst-quote {
  font-size: 15.5px;
  line-height: 1.7;
  color: #3a3a3a;
  margin: 0 0 22px;
  position: relative;
  z-index: 1;
}

/* Person block pinned bottom (margin-top:auto above) */
.gst-person {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid #eeeeee;
}
.gst-avatar {
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #b51f00;
  padding: 2px;
  background: #fff;
}
.gst-meta { min-width: 0; }
.gst-name {
  font-size: 16px;
  font-weight: 700;
  color: #212529;
  margin: 0 0 3px;
  line-height: 1.2;
}
.gst-role {
  font-size: 12.5px;
  color: #6c757d;
  margin: 0 0 3px;
  line-height: 1.35;
}
.gst-country {
  font-size: 12px;
  font-weight: 600;
  color: #b51f00;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: .4px;
}

/* ---------------------------- Arrows (custom) ---------------------------- */
/* Base slick.css ships no theme — kill default chrome and draw our own. */
.gst-carousel .slick-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #b51f00 !important;
  border: 0 !important;
  color: #fff;
  cursor: pointer;
  font-size: 0;
  padding: 0;
  box-shadow: 0 4px 12px rgba(181, 31, 0, 0.30);
  transition: background .2s ease, transform .2s ease;
}
.gst-carousel .slick-arrow:hover { background: #8f1800 !important; }
.gst-carousel .slick-prev { left: -52px; }
.gst-carousel .slick-next { right: -52px; }
.gst-carousel .slick-arrow::before {
  content: "";
  display: block;
  width: 11px;
  height: 11px;
  margin: 0 auto;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  opacity: 1;
}
.gst-carousel .slick-prev::before { transform: translateX(2px) rotate(-135deg); }
.gst-carousel .slick-next::before { transform: translateX(-2px) rotate(45deg); }
.gst-carousel .slick-arrow.slick-disabled { opacity: .45; cursor: default; }

/* ----------------------------- Dots (custom) ---------------------------- */
.gst-carousel .slick-dots {
  list-style: none;
  display: flex !important;
  justify-content: center;
  gap: 10px;
  padding: 0;
  margin: 30px 0 0;
}
.gst-carousel .slick-dots li { width: auto; height: auto; margin: 0; }
.gst-carousel .slick-dots li button {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
  background: #dee2e6 !important;
  border: 0 !important;
  font-size: 0;
  line-height: 0;
  color: transparent;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.gst-carousel .slick-dots li button::before { display: none !important; content: "" !important; }
.gst-carousel .slick-dots li.slick-active button {
  background: #b51f00 !important;
  transform: scale(1.25);
}

/* ------------------------------- Responsive ----------------------------- */
@media (max-width: 767px) {
  .gst-carousel { margin: 0 8px; }
  .gst-carousel .slick-prev { left: -4px; }
  .gst-carousel .slick-next { right: -4px; }
  .gst-carousel .slick-arrow { width: 36px; height: 36px; }
  .gst-title h3 { font-size: 24px; }
}
