/* ==========================================================================
   Global Speakers Testimonials ("What Global Speakers Say")
   Self-contained carousel styling. Palette pulled from the site (main.css):
     accent  #E20935   dark text #16171A   body text #5E5F63
     rule    #EEEFF4   light bg  #F5F5F7    star gold #F09815
   All selectors namespaced .gst-* so nothing here collides with existing CSS.
   ========================================================================== */

/* --- Section: light-surface grey with thin top/bottom rules; cards stay white -- */
.gst-section {
    background: #F5F5F7;
    border-top: 1px solid #EEEFF4;
    border-bottom: 1px solid #EEEFF4;
    padding: 70px 0;
    width: 100%;
}
.gst-section .gst-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* --- Self-contained heading motif: centered h3 + short accent underline -------- */
.gst-title {
    text-align: center;
    margin: 0 0 45px;
}
.gst-title h3 {
    color: #16171A;
    font-size: 32px;
    line-height: 1.25;
    font-weight: 700;
    margin: 0 0 14px;
}
.gst-title span.gst-rule {
    display: block;
    width: 64px;
    height: 3px;
    margin: 0 auto;
    background: #E20935;
    border-radius: 3px;
}

/* --- Carousel plumbing (equal-height) — MUST match spec exactly ---------------- */
.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; }

/* --- Slide wrapper carries the gap as PADDING (no vertical margin on the card,
       which would overflow .slick-list{overflow:hidden} and clip the card) ------ */
.gst-slide { padding: 12px; box-sizing: border-box; height: 100%; outline: none; }

/* --- White card ---------------------------------------------------------------- */
.gst-card {
    height: 100%;
    background: #fff;
    border: 1px solid #EEEFF4;
    border-radius: 12px;
    padding: 32px 30px;
    box-shadow: rgba(149, 157, 165, 0.14) 0px 8px 24px;
    box-sizing: border-box;
    text-align: left;
}

/* stars + quote pinned to top */
.gst-stars {
    color: #F09815;
    font-size: 15px;
    letter-spacing: 2px;
    margin: 0 0 14px;
    flex: 0 0 auto;
}
.gst-quote {
    position: relative;
    color: #5E5F63;
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}
.gst-quote .gst-quote-text {
    margin: 0;
    color: #5E5F63;
    font-size: 16px;
    line-height: 1.7;
}
.gst-quote .gst-mark {
    color: #E20935;
    font-weight: 700;
}

/* photo + name/role/country pinned to bottom */
.gst-person {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 24px;
    margin-top: 24px;
    border-top: 1px solid #EEEFF4;
}
.gst-person .gst-photo {
    width: 88px;
    height: 88px;
    min-width: 88px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;   /* portraits: keep the face, not the torso */
    border: 3px solid #E20935;
    background: #F5F5F7;
    padding: 2px;                  /* thin white ring between photo and accent border */
    box-shadow: rgba(226, 9, 53, 0.15) 0 0 0 4px;
    -webkit-backface-visibility: hidden;
    image-rendering: -webkit-optimize-contrast;
}
.gst-person .gst-meta { min-width: 0; }
.gst-person .gst-name {
    display: block;
    color: #16171A;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
}
.gst-person .gst-role {
    display: block;
    color: #5E5F63;
    font-size: 13px;
    line-height: 1.45;
    margin-top: 3px;
}
.gst-person .gst-country {
    display: inline-block;
    color: #E20935;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-top: 6px;
}

/* --- Slick ARROWS (base slick.css ships none) — round accent, in side gutters -- */
.gst-carousel { position: relative; padding: 0 46px; }
.gst-carousel .slick-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    background: #E20935 !important;
    border: 0 !important;
    color: #fff;
    cursor: pointer;
    font-size: 0;                 /* kill the default "prev"/"next" text */
    line-height: 40px;
    text-align: center;
    box-shadow: rgba(149, 157, 165, 0.25) 0px 4px 12px;
    transition: background .2s ease, opacity .2s ease;
}
.gst-carousel .slick-arrow:hover { background: #16171A !important; }
.gst-carousel .slick-prev { left: 0; }
.gst-carousel .slick-next { right: 0; }
.gst-carousel .slick-arrow::before {
    font-size: 18px;
    line-height: 1;
    color: #fff;
    opacity: 1;
    font-family: inherit;
}
.gst-carousel .slick-prev::before { content: "\2039"; }   /* ‹ */
.gst-carousel .slick-next::before { content: "\203A"; }   /* › */

/* --- Slick DOTS (base slick.css ships none) — bullets, rule -> accent when active */
.gst-carousel .slick-dots {
    display: block;
    list-style: none;
    text-align: center;
    padding: 0;
    margin: 28px 0 0;
}
.gst-carousel .slick-dots li {
    display: inline-block;
    margin: 0 5px;
    padding: 0;
    line-height: 0;
}
.gst-carousel .slick-dots li button {
    display: block;
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0 !important;
    border-radius: 50%;
    background: #EEEFF4 !important;   /* rule color */
    color: transparent;
    font-size: 0;                     /* kill the raw "1" number */
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}
.gst-carousel .slick-dots li.slick-active button {
    background: #E20935 !important;   /* accent when active */
    transform: scale(1.2);
}

/* --- Responsive --------------------------------------------------------------- */
@media (max-width: 767px) {
    .gst-section { padding: 50px 0; }
    .gst-title h3 { font-size: 26px; }
    .gst-carousel { padding: 0 34px; }
    .gst-card { padding: 26px 22px; }
    .gst-carousel .slick-arrow { width: 34px; height: 34px; line-height: 34px; }
}
