/* ============================================================
   Global Speaker Feedback – shared testimonial carousel
   Dependency-free (no slick / no jQuery). Structure built by testimonials.js:
     .gst-carousel > .gst-viewport > .gst-track > .gst-slide > .gst-card
   Used by:  index.php (design "home")  &  event/index.php (design "event")
   ============================================================ */

/* ---- shared layout / mechanics ---- */
.gst-heading { text-align: center; font-weight: 700; margin-bottom: 30px; }
.gst-carousel { position: relative; padding: 0 46px; }
.gst-viewport { overflow: hidden; }
.gst-track { display: flex; align-items: stretch; transition: transform .55s cubic-bezier(.4, 0, .2, 1); will-change: transform; }
.gst-slide { flex: 0 0 33.3333%; max-width: 33.3333%; display: flex; box-sizing: border-box; }
.gst-card { flex: 1 1 auto; display: flex; flex-direction: column; height: 100%; background: #ffffff; border-radius: 16px; margin: 12px; }
.gst-stars { color: #ffb900; }
.gst-avatar { object-fit: cover; border-radius: 50%; display: block; }
.gst-name { font-weight: 700; }
.gst-role { color: #6a6a86; font-size: 13px; line-height: 1.45; }

/* fallback slide widths before JS runs */
@media (max-width: 992px) { .gst-slide { flex-basis: 50%; max-width: 50%; } }
@media (max-width: 576px) { .gst-slide { flex-basis: 100%; max-width: 100%; } .gst-carousel { padding: 0 36px; } }

/* ---- shared navigation (arrows + dots) ---- */
.gst-arrow {
    position: absolute; top: 45%; transform: translateY(-50%); z-index: 5;
    width: 44px; height: 44px; padding: 0; border: none; border-radius: 50%;
    color: #ffffff; font-size: 18px; line-height: 1; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .18); transition: background .2s, transform .2s;
}
.gst-arrow:hover { transform: translateY(-50%) scale(1.08); }
.gst-prev { left: 0; }
.gst-next { right: 0; }
.gst-dots { display: flex; justify-content: center; align-items: center; gap: 9px; margin-top: 24px; }
.gst-dot { width: 12px; height: 12px; padding: 0; border: none; border-radius: 50%; background: #c7cbe8; cursor: pointer; transition: width .25s, background .25s; }
.gst-dot.is-active { width: 26px; border-radius: 6px; }

/* ============================================================
   DESIGN 1 – HOME  ("accent-bar" cards, blue, bottom-pinned author)
   ============================================================ */
.gst-section.gst-home { background: #f4f6ff; }
.gst-home .gst-heading { color: #00136c; }
.gst-home .gst-card {
    justify-content: flex-start;
    padding: 30px 26px 26px;
    border: 1px solid #e6e8f5;
    border-top: 4px solid #00136c;
    box-shadow: 0 12px 30px rgba(0, 19, 108, .07);
    position: relative;
}
.gst-home .gst-mark { display: none; }
.gst-home .gst-stars { font-size: 15px; letter-spacing: 3px; margin-bottom: 14px; }
.gst-home .gst-quote { color: #333333; font-size: 15.5px; line-height: 1.75; margin: 0 0 22px; }
.gst-home .gst-person { margin-top: auto; display: flex; align-items: center; gap: 14px; border-top: 1px solid #eef0f8; padding-top: 18px; }
.gst-home .gst-avatar { width: 60px; height: 60px; border: 2px solid #00136c; flex: 0 0 60px; }
.gst-home .gst-info { display: flex; flex-direction: column; }
.gst-home .gst-name { color: #00136c; font-size: 16px; line-height: 1.3; }
.gst-home .gst-role { margin-top: 3px; }
.gst-home .gst-arrow { background: #00136c; }
.gst-home .gst-arrow:hover { background: #331391; }
.gst-home .gst-dot.is-active { background: #331391; }

/* ============================================================
   DESIGN 2 – EVENT  ("centered spotlight", purple, avatar on top)
   ============================================================ */
.gst-section.gst-event { background: linear-gradient(180deg, #f2eefc 0%, #f9f9ff 55%); }
.gst-event .gst-heading { color: #1f2b7b; margin-bottom: 34px; }
.gst-event .gst-card {
    align-items: center; text-align: center;
    border: none; border-top: 5px solid #331391; border-radius: 18px;
    padding: 34px 26px 28px;
    box-shadow: 0 16px 36px rgba(51, 19, 145, .12);
}
.gst-event .gst-person { display: contents; }        /* not used in this design */
.gst-event .gst-info { display: contents; }
.gst-event .gst-mark { font-family: Georgia, "Times New Roman", serif; font-size: 66px; line-height: 1; color: #e3ddf6; height: 34px; margin-bottom: 4px; }
.gst-event .gst-avatar { width: 92px; height: 92px; border: 4px solid #ffffff; box-shadow: 0 0 0 3px #331391; margin-bottom: 14px; }
.gst-event .gst-name { color: #331391; font-size: 17px; line-height: 1.3; }
.gst-event .gst-role { margin-top: 4px; }
.gst-event .gst-stars { font-size: 14px; letter-spacing: 3px; margin: 13px 0 14px; }
.gst-event .gst-quote { color: #444444; font-size: 15px; line-height: 1.7; margin: 0; }
.gst-event .gst-arrow { background: #331391; }
.gst-event .gst-arrow:hover { background: #1f2b7b; }
.gst-event .gst-dot.is-active { background: #331391; }
