/* ============================================================
   Coaches page (about/coaches)
   ============================================================ */

/* ── Director Spotlight (uses generalized .highlight-panel, see custom.css) */

.director-highlights {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.director-highlights li {
    position: relative;
    padding-left: 1.4rem;
    color: var(--text-body, #e0e0e0);
    font-size: 0.925rem;
    line-height: 1.5;
}

.director-highlights li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-primary-light, #2e8fd4);
}


/* ── Coach card ───────────────────────────────────────────── */

.coach-card {
    background: var(--black, #000000);
    border: 1px solid var(--border, rgba(18, 114, 186, 0.25));
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        transform 0.25s ease,
        box-shadow 0.3s ease;
}

.coach-card:hover {
    background: var(--surface, #1c1c1c);
    border-color: var(--brand-primary, #1272ba);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(var(--brand-primary-rgb, 18, 114, 186), 0.3);
}

.coach-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center; /* per-coach override via coach.align in alumniBridgeProps ("top"/"center"/"bottom") — set inline by populateBridge() */
    display: block;
}

.coach-card-body {
    padding: 1.5rem 1.5rem 1.75rem;
}

.coach-name {
    font-family: var(--font-heading, "Oswald", sans-serif);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text, #ffffff);
    margin-bottom: 0.15rem;
    letter-spacing: -0.01em;
    text-shadow: 1px 1px 1px var(--black, #000000);
}

.coach-title {
    font-family: var(--font-heading, "Oswald", sans-serif);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-primary-light, #2e8fd4);
    margin-bottom: 0.85rem;
}

.coach-bio {
    color: var(--text-muted, #a0a0a0);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}


/* ── Mini gallery (GLightbox thumbnails) ──────────────────── */

.coach-gallery {
    display: flex;
    gap: 0.5rem;
}

.coach-gallery a {
    flex: 1;
    display: block;
    aspect-ratio: 1 / 1;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border, rgba(18, 114, 186, 0.25));
}

.coach-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.85);
    transition: transform 0.3s ease, filter 0.3s ease;
}

.coach-gallery a:hover img {
    transform: scale(1.06);
    filter: brightness(1);
}


/* ── Quote carousel ───────────────────────────────────────── */

.quote-carousel {
    background: var(--surface, #1c1c1c);
    border: 1px solid var(--border, rgba(18, 114, 186, 0.25));
    border-radius: 16px;
    padding: 3.5rem 2rem;
    margin: 0 auto;
    text-align: center;
}

.quote-carousel .carousel-item {
    text-align: center;
    padding: 0 1.5rem;
    min-height: 115px;
}

/* Layer flex-centering on top of Bootstrap's own active/transition display
   toggle — never redeclare `display` on the bare .carousel-item selector,
   that would override Bootstrap's `.carousel-item { display: none; }` and
   make every slide visible at once instead of just the active one. */
.quote-carousel .carousel-item.active,
.quote-carousel .carousel-item-next,
.quote-carousel .carousel-item-prev {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.quote-text {
    font-family: var(--font-heading, "Oswald", sans-serif);
    font-size: clamp(1.15rem, 3vw, 1.5rem);
    font-weight: 500;
    color: var(--text, #ffffff);
    line-height: 1.5;
    max-width: 56ch;
    margin: 0 auto 1.25rem;
}

.quote-text::before {
    content: "\201C";
}

.quote-text::after {
    content: "\201D";
}

.quote-author {
    font-family: var(--font-body, "Inter", sans-serif);
    font-size: 0.85rem;
    color: var(--brand-primary-light, #2e8fd4);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0;
}

.quote-carousel .carousel-control-prev,
.quote-carousel .carousel-control-next {
    position: static;
    display: inline-flex;
    width: auto;
    opacity: 1;
    margin: 1.5rem 0.5rem 0;
}

.quote-carousel .carousel-control-prev-icon,
.quote-carousel .carousel-control-next-icon {
    width: 1.75rem;
    height: 1.75rem;
    filter: none;
    background-color: var(--brand-primary-tint, rgba(18, 114, 186, 0.15));
    border: 1px solid var(--border, rgba(18, 114, 186, 0.25));
    border-radius: 50%;
    padding: 0.4rem;
    background-size: 60%;
}

.quote-carousel .carousel-indicators {
    position: static;
    margin: 1.5rem 0 0;
}

.quote-carousel .carousel-indicators [data-bs-target] {
    background-color: var(--brand-primary-light, #2e8fd4);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    opacity: 0.35;
}

.quote-carousel .carousel-indicators .active {
    opacity: 1;
}
