/* ============================================================
   Worldwide Keynote Testimonials — carousel styles (.gst-*)
   Self-contained. Palette pulled from the site:
     --gst-accent : #f5af00  (gold — stars / arrows / dots / underline)
     --gst-dark   : #440f42  (deep purple — headings & names, style.css --color1)
     --gst-blue   : #0f4987  (secondary — role text, style.css --color2)
     --gst-surface: #f8f7f7  (light grey section background)
     --gst-rule   : #e6dfe6  (thin rule / border colour)
   ============================================================ */

.gst-section {
  --gst-accent: #f5af00;
  --gst-dark: #440f42;
  --gst-blue: #0f4987;
  --gst-surface: #f8f7f7;
  --gst-rule: #e6dfe6;

  background: var(--gst-surface);
  border-top: 1px solid var(--gst-rule);
  border-bottom: 1px solid var(--gst-rule);
  padding: 55px 0 60px;
}

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

/* ---- Self-contained heading motif (centred h3 + short accent underline) ---- */
.gst-title {
  text-align: center;
  margin: 0 0 38px;
}

.gst-title h3 {
  margin: 0 0 14px;
  color: var(--gst-dark);
  font-size: 30px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: .2px;
  text-transform: capitalize;
}

.gst-title h3:after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  margin: 14px auto 0;
  background: var(--gst-accent);
  border-radius: 3px;
}

.gst-title p {
  margin: 0;
  color: var(--gst-blue);
  font-size: 14px;
}

/* ---- Carousel viewport / equal-height plumbing ---- */
.gst-carousel {
  position: relative;
  padding: 0 46px;               /* side gutters that host the round arrows */
}

.gst-carousel .slick-list {
  overflow: hidden;              /* cards must never spill past this */
}

.gst-carousel .slick-track { display: flex !important; }
.gst-carousel .slick-slide { height: auto; }

/* gap lives here as PADDING (never vertical margin on the flex card, which
   would overflow slick-list{overflow:hidden} and clip the card bottom) */
.gst-slide {
  padding: 12px 12px 14px;
  height: 100%;
}
.gst-carousel .slick-slide > div { height: 100%; }

/* ---- Card ---- */
.gst-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start !important;
  height: 100%;
  background: #fff;                          /* white so cards pop off the grey */
  border: 1px solid var(--gst-rule);
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(68, 15, 66, .08);
  padding: 26px 24px 24px;
  position: relative;
  transition: box-shadow .25s ease, transform .25s ease;
}

.gst-card:hover {
  box-shadow: 0 12px 28px rgba(68, 15, 66, .16);
  transform: translateY(-3px);
}

/* stars + quote pinned to the top */
.gst-stars {
  flex: 0 0 auto !important;
  color: var(--gst-accent);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.gst-quote {
  flex: 0 0 auto !important;
  color: #3a3340;
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 22px;
  position: relative;
  padding-left: 26px;
}

.gst-quote:before {
  content: "\201C";                           /* leading quotation mark */
  position: absolute;
  left: -2px;
  top: -14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 52px;
  line-height: 1;
  color: var(--gst-accent);
  opacity: .55;
}

/* photo + name / role / country pinned to the bottom */
.gst-person {
  margin-top: auto !important;
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--gst-rule);
  padding-top: 18px;
}

.gst-person .gst-photo {
  width: 76px;
  height: 76px;
  flex: 0 0 76px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gst-accent);
  background: #f1eef1;
}

.gst-person .gst-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;   /* portraits: keep the face (near top) in frame */
  display: block;
}

.gst-person .gst-meta { min-width: 0; }

.gst-person .gst-name {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--gst-dark);
  line-height: 1.25;
}

.gst-person .gst-role {
  margin: 2px 0 0;
  font-size: 12.5px;
  color: var(--gst-blue);
  line-height: 1.35;
}

.gst-person .gst-country {
  margin: 3px 0 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--gst-accent);
  text-transform: uppercase;
  letter-spacing: .4px;
}

/* ============================================================
   Slick arrows + dots — base slick.css ships NO theme, so style
   everything here and kill the default button chrome.
   ============================================================ */
.gst-carousel .slick-prev,
.gst-carousel .slick-next {
  background: var(--gst-accent) !important;
  border: 0 !important;
  font-size: 0;                               /* hide the raw text label */
  line-height: 0;
  color: transparent;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(68, 15, 66, .25);
  transition: background .2s ease, transform .2s ease;
  padding: 0;
}

.gst-carousel .slick-prev { left: 0; }
.gst-carousel .slick-next { right: 0; }

.gst-carousel .slick-prev:hover,
.gst-carousel .slick-next:hover {
  background: var(--gst-dark) !important;
}

/* draw the chevrons ourselves (base slick has no icon font) */
.gst-carousel .slick-prev:before,
.gst-carousel .slick-next:before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  opacity: 1;
}

.gst-carousel .slick-prev:before {
  transform: translate(-35%, -50%) rotate(-135deg);
}
.gst-carousel .slick-next:before {
  transform: translate(-65%, -50%) rotate(45deg);
}

/* dots */
.gst-carousel .slick-dots {
  display: block;
  list-style: none;
  text-align: center;
  padding: 0;
  margin: 26px 0 0;
}

.gst-carousel .slick-dots li {
  display: inline-block;
  margin: 0 5px;
}

.gst-carousel .slick-dots li button {
  background: transparent !important;
  border: 0 !important;
  font-size: 0;
  line-height: 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: var(--gst-rule);
  transition: background .2s ease, transform .2s ease;
}

.gst-carousel .slick-dots li.slick-active button:before {
  background: var(--gst-accent);
  transform: scale(1.15);
}

/* ---- Responsive ---- */
@media (max-width: 767px) {
  .gst-carousel { padding: 0 34px; }
  .gst-title h3 { font-size: 24px; }
  .gst-section { padding: 40px 0 44px; }
}
