/* ============================================================
   Intensity Hoops — Alumni Photo Grid (Tier 1)
   Replaced the previous click-to-expand accordion 2026-08-18 — static
   photo card grid instead (background photo, always-visible bottom-
   gradient caption). Column width is a prop (alumniTier1Props.columnClass),
   current value col-12 col-sm-6 col-md-4 col-lg-3 (1/row mobile → 2/row
   sm → 3/row md → 4/row lg+), updated 2026-08-19 after the roster grew
   from 5 to 19 — bigger cards suit the larger grid better than the
   original 6-per-row density.
   Built + wired by js/alumni-sections.js's populateTier1() (still the
   same function name/props — only what it builds changed). No click
   handler needed now; this replaces the component that used to need
   the now-deleted js/alumni-accordion.js (see PROJECT-STATUS.md/
   PAGE-DESIGN-GUIDE.md for that history).
   ============================================================ */

.alumni-photo-card {
    position: relative;
    height: 500px;
    border: 1px solid #747474;
    border-radius: 12px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    transition: border-color 0.3s ease, transform 0.25s ease, box-shadow 0.3s ease;
}

.alumni-photo-card:hover {
    border-color: var(--brand-primary, #1272ba);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(var(--brand-primary-rgb, 18, 114, 186), 0.25);
}

/* No photo asset yet for this alum (added 2026-08-19) — brand gradient
   stand-in instead of an empty/black card, swap out once a real photo
   is available (just add `image` to the entry, this class stops applying). */
.alumni-photo-card.no-photo {
    background: var(--gradient-navy-blue, linear-gradient(135deg, #0b1f4b 0%, #1272ba 100%));
}

.alumni-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.55) 45%, rgba(0, 0, 0, 0.05) 75%);
}

.alumni-photo-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.5rem;
    z-index: 1;
}

.alumni-photo-name {
    font-family: var(--font-heading, "Oswald", sans-serif);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white, #ffffff);
    margin: 0 0 0.25rem;
    line-height: 1.2;
    text-shadow: 1px 1px 2px var(--black, #000000);
}

.alumni-photo-college,
.alumni-photo-highschool {
    font-size: 0.75rem;
    color: var(--brand-primary-light, #2e8fd4);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    margin: 0 0 0.35rem;
}

.alumni-photo-bio {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.55;
    margin: 0.5rem 0 0;
}


/* ── Alumni roster card (Tier 2 / Tier 3 grids — no photo) ──── */
/* Compact "name plate" card, used on the Alumni page for the
   Canadian University and High School Leaders tiers, which don't
   have the photo assets the .alumni-accordion tier above does. */

.alumni-card {
    background: var(--black, #000000);
    border: 1px solid #747474;
    border-radius: 10px;
    padding: 1.25rem 1rem;
    text-align: center;
    height: 100%;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.25s ease, box-shadow 0.3s ease;
}

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

.alumni-card-name {
    font-family: var(--font-heading, "Oswald", sans-serif);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text, #ffffff);
    margin-bottom: 0.2rem;
    text-shadow: 1px 1px 1px var(--black, #000000);
}

.alumni-card-school {
    font-size: 0.75rem;
    color: var(--brand-primary-light, #2e8fd4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.alumni-card-note {
    font-size: 0.825rem;
    color: var(--text-muted, #a0a0a0);
    line-height: 1.5;
    margin: 0;
}


/* ── Video feature (highlight-reel modal trigger) ──── */
/* Full-bleed cinematic banner, same <img>+overlay geometry as
   .network-feature (team.css) — see hero.md's "<img> + overlay" markup
   convention. First instance here (2026-08-25), cataloged as reusable in
   PAGE-DESIGN-GUIDE.md's component table. The whole banner is the trigger
   <a class="glightbox" data-type="video">; GLightbox (already vendored for
   the Coaches page's photo galleries) opens the self-hosted mp4 in its own
   modal — no new library, no custom modal markup to build/maintain. */

.video-feature {
    min-height: 440px;
    border-radius: 16px;
    padding: 3rem 2rem;
    cursor: pointer;
}

.video-feature-media {
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-feature:hover .video-feature-media {
    transform: scale(1.04);
}

.video-feature-overlay {
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.55) 0%, rgba(10, 10, 10, 0.85) 100%);
}

.video-feature-content {
    max-width: 640px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.video-feature-play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: var(--brand-primary, #1272ba);
    color: var(--white, #ffffff);
    font-size: 1.75rem;
    /* optical centering — fa-play's triangle glyph reads slightly left of
       center inside a circle unless nudged */
    padding-left: 6px;
    box-shadow: 0 0 0 8px rgba(var(--brand-primary-rgb, 18, 114, 186), 0.18);
    margin-bottom: 1.25rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.video-feature:hover .video-feature-play {
    transform: scale(1.08);
    background: var(--brand-primary-light, #2e8fd4);
    box-shadow: 0 0 0 12px rgba(var(--brand-primary-rgb, 18, 114, 186), 0.25);
}

.video-feature-heading {
    font-family: var(--font-heading, "Oswald", sans-serif);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--white, #ffffff);
    line-height: 1.2;
    letter-spacing: -0.01em;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    margin-bottom: 0.75rem;
}

.video-feature-body {
    color: rgba(var(--white-rgb, 255, 255, 255), 0.85);
    font-size: 1.05rem;
    line-height: 1.75;
    margin: 0;
}

@media (max-width: 767px) {
    .video-feature {
        min-height: 380px;
        padding: 2rem 1.25rem;
    }

    .video-feature-play {
        width: 68px;
        height: 68px;
        font-size: 1.35rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .video-feature-media,
    .video-feature-play {
        transition: none;
    }
}