/* ==========================================================================
   Global Speaker Testimonials  (.gst-*)
   Self-contained: does not depend on any site heading/card class, because the
   sub-folder event pages do not load the root css/style.css.

   Site palette used here
     accent (heading red) .... #ce1919   (css/style.css .section-title h1)
     dark text ............... #012c3c   (css/style.css)
     body text ............... #787878   (css/style.css)
     light surface grey ...... #f8f7f7
     rule / hairline ......... #e2e2e2   (css/style.css)
     star gold ............... #ffbb00   (css/style.css)
   ========================================================================== */

.gst-section {
  background: #f8f7f7;
  border-top: 1px solid #e2e2e2;
  border-bottom: 1px solid #e2e2e2;
  padding: 55px 0 60px;
  font-family: 'Poppins', 'Open Sans', Arial, Helvetica, sans-serif;
}

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

/* --------------------------------------------------------------------------
   Heading — reproduces the site motif (centred title + short accent underline)
   without relying on .section-title, which is undefined on the event pages.
   -------------------------------------------------------------------------- */
.gst-title {
  position: relative;
  margin: 0 0 45px;
  padding: 0 0 16px;
  text-align: center;
  font-family: 'Poppins', 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 25px;
  line-height: 1.3;
  font-weight: 700;
  text-transform: uppercase;
  color: #ce1919;
  letter-spacing: .3px;
}

.gst-title:after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 60px;
  height: 3px;
  margin-left: -30px;
  background: #ce1919;
}

/* --------------------------------------------------------------------------
   Carousel shell — the side padding creates the gutters the arrows sit in.
   -------------------------------------------------------------------------- */
.gst-carousel-wrap {
  position: relative;
  padding: 0 55px;
}

/* Before Slick initialises, show only the first card so the section never
   flashes as a tall stack of raw cards. */
.gst-carousel:not(.slick-initialized) > .gst-slide + .gst-slide {
  display: none;
}

/* --- equal-height carousel plumbing (required, do not alter) --- */
.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; }

/* CLIPPING FIX
   .gst-card is height:100% inside a flex slide. Any *vertical margin* on the
   card would push it past .slick-list{overflow:hidden} and shave the bottom
   edge off. So the card carries no vertical margin at all — the breathing room
   lives as padding on the slide wrapper instead. */
.gst-slide {
  height: auto;
  padding: 6px 12px 30px;
  outline: none;
}

/* --------------------------------------------------------------------------
   Card — white so it lifts off the grey band
   -------------------------------------------------------------------------- */
.gst-card {
  height: 100%;
  margin: 0;                 /* keep at 0 — see CLIPPING FIX above */
  padding: 30px 30px 28px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-top: 3px solid #ce1919;
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(1, 44, 60, .07);
  text-align: left;
}

/* stars — pinned top */
.gst-stars {
  flex: 0 0 auto;
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1;
  color: #ffbb00;
  letter-spacing: 2px;
}

/* quote — pinned top, directly under the stars */
.gst-quote {
  position: relative;
  margin: 0;
  padding: 0 0 0 30px;
  font-size: 15px;
  line-height: 1.75;
  font-style: italic;
  color: #5c5c5c;
}

.gst-quote:before {
  content: "\201C";
  position: absolute;
  left: 0;
  top: -12px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 46px;
  line-height: 1;
  font-style: normal;
  color: #ce1919;
  opacity: .25;
}

/* --------------------------------------------------------------------------
   Person block — pinned to the bottom of every card
   -------------------------------------------------------------------------- */
.gst-person {
  display: flex;
  align-items: center;
  padding-top: 20px;
  margin-top: 26px;
  border-top: 1px solid #e2e2e2;
}

.gst-photo {
  flex: 0 0 auto;
  width: 62px;
  height: 62px;
  margin-right: 15px;
  border-radius: 50%;
  object-fit: cover;
  background: #f8f7f7;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px #ce1919;
}

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

.gst-name {
  margin: 0 0 3px;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 600;
  color: #012c3c;
}

.gst-role {
  margin: 0 0 3px;
  font-size: 12px;
  line-height: 1.5;
  color: #787878;
}

.gst-country {
  margin: 0;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: #ce1919;
}

/* ==========================================================================
   Slick chrome.
   The vendored css/slick.css is the BASE stylesheet only — it ships no arrow
   and no dot styling at all, so an untouched dot renders as a literal "1"
   button box. Everything below is ours.
   ========================================================================== */

/* --- arrows: round accent buttons in the side gutters --- */
.gst-carousel-wrap .slick-prev,
.gst-carousel-wrap .slick-next {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  padding: 0;
  cursor: pointer;
  border-radius: 50%;
  /* kill the default button chrome */
  background: transparent !important;
  border: 0 !important;
  font-size: 0;
  line-height: 0;
  color: transparent;
  outline: none;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
  background-color: #ce1919 !important;
  transition: background-color .2s ease, transform .2s ease;
}

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

.gst-carousel-wrap .slick-prev:hover,
.gst-carousel-wrap .slick-next:hover,
.gst-carousel-wrap .slick-prev:focus,
.gst-carousel-wrap .slick-next:focus {
  background-color: #012c3c !important;
  border: 0 !important;
  outline: none;
}

/* chevron drawn from two borders, so no icon font is needed */
.gst-carousel-wrap .slick-prev:before,
.gst-carousel-wrap .slick-next:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  opacity: 1;
}

.gst-carousel-wrap .slick-prev:before {
  margin: -5px 0 0 -2px;
  transform: rotate(-135deg);
}

.gst-carousel-wrap .slick-next:before {
  margin: -5px 0 0 -7px;
  transform: rotate(45deg);
}

.gst-carousel-wrap .slick-prev.slick-disabled,
.gst-carousel-wrap .slick-next.slick-disabled {
  opacity: .35;
}

/* --- dots: plain bullets, rule colour -> accent when active --- */
.gst-carousel-wrap .slick-dots {
  display: block;
  width: 100%;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  text-align: center;
  line-height: 0;
}

.gst-carousel-wrap .slick-dots li {
  position: relative;
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 5px;
  padding: 0;
  cursor: pointer;
  vertical-align: middle;
}

.gst-carousel-wrap .slick-dots li button {
  display: block;
  width: 10px;
  height: 10px;
  padding: 0;
  cursor: pointer;
  border-radius: 50%;
  /* the "1" fix: no text, no chrome */
  background: transparent !important;
  border: 0 !important;
  font-size: 0;
  line-height: 0;
  color: transparent;
  outline: none;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
  background-color: #e2e2e2 !important;
  transition: background-color .2s ease;
}

.gst-carousel-wrap .slick-dots li button:before { display: none; }

.gst-carousel-wrap .slick-dots li button:hover {
  background-color: #b9b9b9 !important;
}

.gst-carousel-wrap .slick-dots li.slick-active button {
  background-color: #ce1919 !important;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .gst-section { padding: 40px 0 45px; }
  .gst-title { font-size: 21px; margin-bottom: 35px; }

  /* pull the gutters in and float the arrows over the card edges */
  .gst-carousel-wrap { padding: 0 10px; }
  .gst-carousel-wrap .slick-prev { left: -6px; }
  .gst-carousel-wrap .slick-next { right: -6px; }
  .gst-carousel-wrap .slick-prev,
  .gst-carousel-wrap .slick-next { width: 34px; height: 34px; margin-top: -17px; }

  .gst-slide { padding: 6px 6px 26px; }
  .gst-card { padding: 24px 20px 22px; }
  .gst-quote { font-size: 14px; }

  .gst-person { display: block; text-align: center; }
  .gst-photo { margin: 0 auto 12px; display: block; }
}
