/* ==========================================================================
   Global Speaker Feedback carousel  (.gst-*)
   Self-contained: palette + heading motif borrowed from the IARF site,
   but no dependency on any site heading class (works on root & subfolder).
   Palette:  accent #4154f1 | heading/navy #012970 | text #444
             light surface #f8f7f7 | rule #e2e2e6 | card #fff
   ========================================================================== */

.gst-section {
  background: #f8f7f7;                 /* light-surface grey (not dark) */
  border-top: 1px solid #e2e2e6;       /* thin rules top & bottom */
  border-bottom: 1px solid #e2e2e6;
  padding: 60px 0 70px;
  font-family: "Poppins", "Nunito", Arial, sans-serif;
}

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

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

/* ---- Self-contained heading motif: centered title + short accent underline -- */
.gst-title {
  text-align: center;
  margin: 0 0 40px;
}
.gst-title h3 {
  margin: 0;
  color: #012970;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .2px;
}
.gst-title h3::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin: 14px auto 0;
  background: #4154f1;                 /* short accent underline */
  border-radius: 3px;
}
.gst-title p {
  margin: 12px auto 0;
  max-width: 640px;
  color: #6a6a72;
  font-size: 15px;
  line-height: 1.6;
}

/* ---- Carousel plumbing (equal-height) ------------------------------------ */
.gst-carousel { position: relative; }
.gst-carousel .slick-track { display: flex !important; }
.gst-carousel .slick-slide { height: auto; }
.gst-carousel .slick-slide > div { height: 100%; }

/* Gap lives as PADDING on the slide wrapper — never as margin on the card,
   or height:100% + margin overflows .slick-list{overflow:hidden} and clips. */
.gst-slide { padding: 12px 14px 4px; height: 100%; }

/* ---- Card ---------------------------------------------------------------- */
.gst-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start !important;
  height: 100%;
  background: #fff;                    /* white so cards pop on grey */
  border: 1px solid #ececf1;
  border-radius: 14px;
  padding: 34px 30px 28px;
  box-shadow: 0 12px 30px rgba(1, 41, 112, .07);
  position: relative;
  overflow: hidden;
}
.gst-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #4154f1, #012970);
}
.gst-card::after {
  content: "\201C";                    /* decorative quote mark */
  position: absolute;
  top: 6px; right: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 96px;
  line-height: 1;
  color: rgba(65, 84, 241, .10);
  pointer-events: none;
}

/* stars + quote pinned to the top */
.gst-stars {
  flex: 0 0 auto;
  color: #ffb400;
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.gst-quote {
  flex: 0 0 auto !important;
  margin: 0 0 22px;
  color: #444;
  font-size: 15.5px;
  line-height: 1.75;
  font-style: italic;
  position: relative;
  z-index: 1;
}

/* photo + name/role/country pinned to the bottom */
.gst-person {
  margin-top: auto !important;
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid #eef0f6;
}
.gst-avatar {
  flex: 0 0 auto;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  object-fit: cover;
  background: #f8f7f7;
  border: 2px solid #4154f1;
}
.gst-meta { min-width: 0; }
.gst-name {
  margin: 0;
  color: #012970;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
}
.gst-role {
  margin: 3px 0 0;
  color: #55555c;
  font-size: 13px;
  line-height: 1.35;
}
.gst-country {
  margin: 2px 0 0;
  color: #4154f1;
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
}

/* ---- Arrows (base slick.css ships none) ---------------------------------- */
.gst-carousel .slick-prev,
.gst-carousel .slick-next {
  background: #fff !important;
  border: 1px solid #e2e2e6 !important;
  font-size: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(1, 41, 112, .12);
  transition: background .2s, border-color .2s;
}
.gst-carousel .slick-prev:hover,
.gst-carousel .slick-next:hover {
  background: #4154f1 !important;
  border-color: #4154f1 !important;
}
.gst-carousel .slick-prev { left: -8px; }
.gst-carousel .slick-next { right: -8px; }
/* arrow glyph drawn with a rotated CSS border chevron */
.gst-carousel .slick-prev::before,
.gst-carousel .slick-next::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-top: 2px solid #012970;
  border-right: 2px solid #012970;
  position: absolute;
  top: 50%;
  left: 50%;
  opacity: 1;
}
.gst-carousel .slick-prev:hover::before,
.gst-carousel .slick-next:hover::before { border-color: #fff; }
.gst-carousel .slick-prev::before {
  transform: translate(-40%, -50%) rotate(-135deg);
}
.gst-carousel .slick-next::before {
  transform: translate(-60%, -50%) rotate(45deg);
}

/* ---- Dots (base slick.css ships none — otherwise a raw "1" button box) --- */
.gst-carousel .slick-dots {
  list-style: none;
  display: flex !important;
  justify-content: center;
  gap: 9px;
  padding: 0;
  margin: 30px 0 0;
}
.gst-carousel .slick-dots li { width: auto; height: auto; margin: 0; }
.gst-carousel .slick-dots li button {
  background: transparent !important;
  border: 0 !important;
  font-size: 0;
  width: 11px;
  height: 11px;
  padding: 0;
  cursor: pointer;
}
.gst-carousel .slick-dots li button::before {
  content: "";
  display: block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #cfcfe0;                 /* rule-ish grey when idle */
  transition: background .2s, transform .2s;
  opacity: 1;
}
.gst-carousel .slick-dots li.slick-active button::before {
  background: #4154f1;                 /* accent when active */
  transform: scale(1.25);
}

/* ---- Responsive ---------------------------------------------------------- */
@media (max-width: 575px) {
  .gst-card { padding: 28px 22px 24px; }
  .gst-title h3 { font-size: 26px; }
  .gst-carousel .slick-prev { left: -4px; }
  .gst-carousel .slick-next { right: -4px; }
}
