/* ==========================================================================
   Global Keynote Feedback carousel  (.gst-*)
   Self-contained: uses the site palette (navy #1D2951 / tan #BCB88A) but does
   NOT depend on any site heading class, so it renders identically on the root
   page and the subfolder page.
   Palette:
     --gst-accent  #1D2951  (navy)  -> heading, name, arrows, active dot
     --gst-rule    #BCB88A  (tan)   -> section borders, heading underline, dots
     --gst-surface #f8f7f5  (light) -> section background (cards stay white)
     --gst-star    #c9a227  (gold)  -> rating stars
   ========================================================================== */

.gst-section {
  --gst-accent: #1D2951;
  --gst-rule: #BCB88A;
  --gst-surface: #f8f7f5;
  --gst-star: #c9a227;
  --gst-ink: #333333;
  background: var(--gst-surface);
  border-top: 1px solid var(--gst-rule);
  border-bottom: 1px solid var(--gst-rule);
  padding: 50px 0 60px;
}

.gst-section .gst-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* --- Self-contained heading motif (centered + short accent underline) ------ */
.gst-title {
  text-align: center;
  margin: 0 0 40px;
}
.gst-title h3 {
  font-family: "Cabin Condensed", "Segoe UI", sans-serif;
  font-size: 34px;
  letter-spacing: 1px;
  color: var(--gst-accent);
  margin: 0 0 14px;
  font-weight: 700;
}
.gst-title h3:after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  margin: 14px auto 0;
  background: var(--gst-rule);
  border-radius: 2px;
}

/* --- Carousel plumbing (equal-height flex) --------------------------------- */
.gst-carousel { margin: 0 -12px; }
.gst-carousel .slick-track { display: flex !important; }
.gst-carousel .slick-slide { height: auto; }

/* Gap lives as PADDING on the slide wrapper so the card can be height:100%
   without a vertical margin overflowing .slick-list{overflow:hidden}. */
.gst-slide {
  padding: 12px;
  box-sizing: border-box;
  height: 100%;
}

.gst-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start !important;
  height: 100%;
  background: #fff;
  border: 1px solid #ececec;
  border-top: 3px solid var(--gst-accent);
  border-radius: 8px;
  box-shadow: 0 6px 22px rgba(29, 41, 81, 0.08);
  padding: 26px 24px 24px;
  box-sizing: border-box;
}

/* Stars + quote pinned to the top */
.gst-stars {
  flex: 0 0 auto !important;
  color: var(--gst-star);
  font-size: 15px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.gst-quote {
  flex: 0 0 auto !important;
  color: var(--gst-ink);
  font-size: 15px;
  line-height: 1.6;
  font-style: italic;
  margin: 0 0 20px;
}
.gst-quote:before {
  content: "\201C";
  color: var(--gst-rule);
  font-size: 34px;
  font-weight: 700;
  line-height: 0;
  vertical-align: -12px;
  margin-right: 4px;
}

/* Photo + name/role/country pinned to the bottom */
.gst-person {
  margin-top: auto !important;
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid #eee;
}
.gst-person img {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gst-rule);
  flex: 0 0 auto;
}
.gst-person .gst-meta { min-width: 0; }
.gst-person .gst-name {
  font-family: "Cabin Condensed", "Segoe UI", sans-serif;
  color: var(--gst-accent);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.25;
}
.gst-person .gst-role {
  color: #666;
  font-size: 12.5px;
  line-height: 1.35;
  margin-top: 3px;
}
.gst-person .gst-country {
  color: var(--gst-accent);
  font-size: 12.5px;
  font-weight: 600;
  margin-top: 3px;
}

/* --- Arrows (base slick.css ships none: must position + hide label text) --- */
.gst-carousel .slick-prev,
.gst-carousel .slick-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  background: var(--gst-accent) !important;
  border: 0 !important;
  color: transparent;      /* hide slick's "Previous"/"Next" label */
  font-size: 0;
  line-height: 0;
  cursor: pointer;
  z-index: 3;
  transition: background .2s ease;
}
.gst-carousel .slick-prev:hover,
.gst-carousel .slick-next:hover { background: #2c3a6b !important; }
.gst-carousel .slick-prev { left: -22px; }
.gst-carousel .slick-next { right: -22px; }
/* Draw chevrons from a rotated square */
.gst-carousel .slick-prev:before,
.gst-carousel .slick-next:before {
  font-family: inherit;
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  opacity: 1;
}
.gst-carousel .slick-prev:before { transform: rotate(-135deg); margin-left: 4px; }
.gst-carousel .slick-next:before { transform: rotate(45deg); margin-right: 4px; }

/* --- Dots (base slick.css ships none: unstyled = vertical bulleted list) --- */
.gst-carousel .slick-dots {
  position: static;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
}
.gst-carousel .slick-dots li {
  display: inline-block;
  margin: 0 5px;
  width: auto;
  height: auto;
  line-height: 0;
}
.gst-carousel .slick-dots li button {
  width: 11px;
  height: 11px;
  padding: 0;
  border-radius: 50%;
  background: var(--gst-rule) !important;
  border: 0 !important;
  font-size: 0;          /* hide the numeral slick prints */
  opacity: 1;
  transition: background .2s ease, transform .2s ease;
}
.gst-carousel .slick-dots li button:before { content: none !important; }
.gst-carousel .slick-dots li.slick-active button {
  background: var(--gst-accent) !important;
  transform: scale(1.15);
}

/* --- Responsive gutters ---------------------------------------------------- */
@media (max-width: 991px) {
  .gst-carousel .slick-prev { left: -8px; }
  .gst-carousel .slick-next { right: -8px; }
}
@media (max-width: 575px) {
  .gst-title h3 { font-size: 27px; }
  .gst-carousel .slick-prev,
  .gst-carousel .slick-next { display: none !important; }
}
