/* ==========================================================================
   Swiper Team Carousel – Front-end Styles
   Uses CSS custom properties set inline by the shortcode renderer.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Wrapper
   -------------------------------------------------------------------------- */
.stc-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 20px 0 40px;
    box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   Title
   -------------------------------------------------------------------------- */
.stc-heading {
    font-size: clamp(32px, 5vw, 60px);
    font-weight: 900;
    color: var(--stc-accent, #082a7b);
    margin: 0 0 24px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .04em;
}

/* --------------------------------------------------------------------------
   Swiper container
   -------------------------------------------------------------------------- */
.stc-swiper {
    width: 100%;
    max-width: var(--stc-max-width, 1100px);
    padding-top: 50px !important;
    padding-bottom: 50px !important;
    box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   Slides
   -------------------------------------------------------------------------- */
.stc-slide {
    width:  var(--stc-slide-w, 280px) !important;
    height: var(--stc-slide-h, 380px) !important;
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .2);
    flex-shrink: 0;
    transition: border .25s;
}

.stc-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.stc-slide-link {
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.stc-slide-link img {
    pointer-events: auto;
}

/* Active slide highlight */
.stc-swiper .swiper-slide-active.stc-slide {
    border: 4px solid var(--stc-accent, #082a7b);
}

/* --------------------------------------------------------------------------
   Navigation arrows
   -------------------------------------------------------------------------- */
.stc-nav-next,
.stc-nav-prev {
    color: var(--stc-accent, #082a7b) !important;
}
.stc-nav-next::after,
.stc-nav-prev::after {
    font-size: 28px !important;
}

/* --------------------------------------------------------------------------
   Pagination dots
   -------------------------------------------------------------------------- */
.stc-pagination .swiper-pagination-bullet-active {
    background: var(--stc-accent, #082a7b) !important;
}
.stc-pagination .swiper-pagination-bullet {
    opacity: .5;
    transition: opacity .2s, background .2s;
}
.stc-pagination .swiper-pagination-bullet-active {
    opacity: 1;
}

/* --------------------------------------------------------------------------
   Member info
   -------------------------------------------------------------------------- */
.stc-member-info {
    text-align: center;
    margin-top: 24px;
    min-height: 60px;
    transition: all .3s;
}

.stc-member-name {
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 700;
    color: var(--stc-accent, #082a7b);
    margin: 0 0 4px;
    line-height: 1.2;
}

.stc-member-role {
    font-size: clamp(14px, 2vw, 18px);
    color: #777;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin: 0;
}

.stc-member-url {
    display: inline-block;
    margin-top: 12px;
    font-size: clamp(12px, 1.5vw, 14px);
    color: var(--stc-accent, #082a7b);
    text-decoration: none;
    border: 1px solid var(--stc-accent, #082a7b);
    border-radius: 4px;
    padding: 5px 16px;
    letter-spacing: .06em;
    transition: background .2s, color .2s;
}

.stc-member-url:hover {
    background: var(--stc-accent, #082a7b);
    color: #fff;
}

/* --------------------------------------------------------------------------
   Error state
   -------------------------------------------------------------------------- */
.stc-error {
    color: #cc1818;
    background: #fff0f0;
    border-left: 4px solid #cc1818;
    padding: 10px 14px;
    border-radius: 4px;
    font-size: 14px;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 600px) {
    .stc-swiper {
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }
}
