/*==================================================
    GERMAINE — STUDENT LIFE PAGE (v2)
    Image-first rebuild matching the supplied reference:
    generous whitespace, rounded cards, white/navy/pink only.
    Scoped under body.student-life-page .sl2-* so it cannot
    leak onto any other page. Reuses the page's existing
    .sl-reveal / .sl-cursor scroll-reveal engine (premium-pages.js)
    — do not rename those two classes.
==================================================*/

body.student-life-page .sl2-wrap{
    max-width:1280px;
    margin:0 auto;
    padding:0 32px;
}

body.student-life-page .sl2-eyebrow{
    display:inline-block;
    font-family:'Montserrat',sans-serif;
    font-weight:700;
    font-size:.78rem;
    letter-spacing:1.6px;
    text-transform:uppercase;
    color:var(--primary,#EC4899);
    margin-bottom:10px;
}

body.student-life-page .sl2-head{ text-align:center; margin:0 auto 44px; max-width:640px; }
body.student-life-page .sl2-head h2{
    font-family:'Poppins',sans-serif; font-weight:800; font-size:2rem;
    color:var(--primary-dark,#102A5C); margin:0 0 10px;
}
body.student-life-page .sl2-head-bar{
    width:52px; height:4px; border-radius:4px; margin:0 auto;
    background:var(--primary,#EC4899);
}

/*==================================================
    1. HERO
==================================================*/
body.student-life-page .sl2-hero{
    position:relative;
    padding:64px 0 110px;
    overflow:hidden;
}
body.student-life-page .sl2-hero-blob{
    position:absolute; top:-60px; left:-80px; width:280px; height:280px;
    border-radius:50%;
    background:radial-gradient(circle, rgba(236,72,153,.14), transparent 70%);
    pointer-events:none;
}
body.student-life-page .sl2-hero-grid{
    position:relative; z-index:1;
    display:grid; grid-template-columns:1fr 1.05fr; gap:56px; align-items:center;
}
body.student-life-page .sl2-hero-text h1{
    font-family:'Poppins',sans-serif; font-weight:800; line-height:1.12;
    font-size:clamp(2.1rem,3.6vw,2.9rem); margin:0 0 16px;
}
body.student-life-page .sl2-hero-text h1 span:first-child{ display:block; color:var(--primary-dark,#102A5C); }
body.student-life-page .sl2-hero-text h1 span.sl2-pink{ display:block; color:var(--primary,#EC4899); }
body.student-life-page .sl2-hero-text p{
    font-size:1rem; line-height:1.7; color:#5A6B85; max-width:460px; margin:0 0 30px;
}
body.student-life-page .sl2-hero-cta{ display:flex; gap:14px; flex-wrap:wrap; }
body.student-life-page .sl2-btn{
    display:inline-flex; align-items:center; gap:8px;
    padding:14px 26px; border-radius:14px;
    font-family:'Montserrat',sans-serif; font-weight:600; font-size:.92rem;
    text-decoration:none; transition:transform .3s ease, box-shadow .3s ease, background .3s ease, color .3s ease;
}
body.student-life-page .sl2-btn-primary{
    background:var(--primary,#EC4899); color:#FFFFFF;
    box-shadow:0 12px 28px rgba(236,72,153,.3);
}
body.student-life-page .sl2-btn-primary:hover{ transform:translateY(-3px); box-shadow:0 18px 36px rgba(236,72,153,.4); }
body.student-life-page .sl2-btn-outline{
    background:#FFFFFF; color:var(--primary,#EC4899);
    border:1.5px solid rgba(236,72,153,.4);
}
body.student-life-page .sl2-btn-outline:hover{ background:rgba(236,72,153,.06); transform:translateY(-3px); }

body.student-life-page .sl2-hero-media{ position:relative; }
body.student-life-page .sl2-hero-img{
    width:100%; height:380px; object-fit:cover; border-radius:26px;
    box-shadow:0 30px 60px rgba(16,42,92,.16);
}
body.student-life-page .sl2-hero-wave{
    position:absolute; left:0; right:0; bottom:-2px; width:100%; height:auto;
    z-index:2; pointer-events:none;
}

/*==================================================
    2. LIFE AT A GLANCE
==================================================*/
body.student-life-page .sl2-glance{ padding:70px 0; }
body.student-life-page .sl2-glance-grid{
    display:grid; grid-template-columns:repeat(4,1fr); gap:22px;
}
body.student-life-page .sl2-glance-card{
    text-align:center; padding:34px 22px; border-radius:24px;
    background:#FFFFFF;
    border:1px solid rgba(16,42,92,.05);
    box-shadow:0 10px 35px rgba(15,61,145,.08);
    transition:transform .35s ease, box-shadow .35s ease;
}
body.student-life-page .sl2-glance-card:hover{ transform:translateY(-6px); box-shadow:0 20px 46px rgba(15,61,145,.14); }
body.student-life-page .sl2-glance-ic{
    width:60px; height:60px; margin:0 auto 18px; border-radius:50%;
    display:flex; align-items:center; justify-content:center; font-size:1.4rem;
    background:rgba(236,72,153,.1); color:var(--primary,#EC4899);
}
body.student-life-page .sl2-glance-card h3{
    font-family:'Poppins',sans-serif; font-weight:700; font-size:1.08rem;
    color:var(--primary-dark,#102A5C); margin:0 0 8px;
}
body.student-life-page .sl2-glance-card p{ font-size:.88rem; line-height:1.6; color:#5A6B85; margin:0; }

/*==================================================
    3. SPORTS & RECREATION — thematic navy glass panel
    Step 9 revision: reduced vertical footprint (tighter section/
    panel padding, smaller body copy, shorter photo grid) and
    restored the site's thematic navy-blue background so the
    section reads as intentionally part of the Germaine identity.
    All existing text/images/functionality kept — only the
    presentation and spacing changed.
==================================================*/
body.student-life-page .sl2-sports{
    position:relative; isolation:isolate; overflow:hidden;
    padding:36px 0 48px; margin:0 0 20px;
}
body.student-life-page .sl2-sports .sl2-wrap{
    position:relative;
    background:
        radial-gradient(circle at 15% 0%, rgba(236,72,153,.16), transparent 46%),
        radial-gradient(circle at 100% 100%, rgba(236,72,153,.12), transparent 50%),
        var(--primary-dark,#102A5C);
    border:1px solid rgba(255,255,255,.1);
    border-radius:40px;
    padding:40px;
    box-shadow:0 20px 55px rgba(16,42,92,.28);
    overflow:hidden;
}
/* floating decorative sport-icon tokens — purely decorative, never
   over content; hidden on narrow screens where there's no room */
body.student-life-page .sl2-sports-token{
    position:absolute; z-index:1; pointer-events:none;
    display:flex; align-items:center; justify-content:center;
    width:46px; height:46px; border-radius:16px;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.16);
    backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px);
    color:#F9A8D4; font-size:1.05rem;
    animation:sl2TokenBob 9s ease-in-out infinite;
}
body.student-life-page .sl2-sports-token-a{ top:6%; right:8%; animation-delay:0s; }
body.student-life-page .sl2-sports-token-b{ bottom:10%; right:20%; color:#FFFFFF; animation-delay:2s; animation-duration:11s; }
body.student-life-page .sl2-sports-token-c{ top:44%; right:2%; width:38px; height:38px; font-size:.9rem; animation-delay:4s; animation-duration:8s; }
@keyframes sl2TokenBob{
    0%,100%{ transform:translate3d(0,0,0); }
    50%{ transform:translate3d(0,-10px,0); }
}
@media(max-width:900px){
    body.student-life-page .sl2-sports-token{ display:none; }
}

body.student-life-page .sl2-sports-grid{
    position:relative; z-index:2;
    display:grid; grid-template-columns:.85fr 1.15fr; gap:40px; align-items:center;
}
body.student-life-page .sl2-sports-text h2{
    font-family:'Poppins',sans-serif; font-weight:800;
    font-size:clamp(1.7rem, 3.2vw, 2.8rem); line-height:1.1;
    color:#FFFFFF; margin:0 0 8px;
}
body.student-life-page .sl2-sports-text .sl2-head-bar{
    margin:0 0 14px;
    background:linear-gradient(90deg,#EC4899,#F472B6);
}
body.student-life-page .sl2-sports-text p{
    font-size:.95rem; line-height:1.65; color:rgba(255,255,255,.82);
    margin:0 0 10px; max-width:650px; text-align:justify; text-justify:inter-word;
}
body.student-life-page .sl2-scholar-callout{
    display:flex; align-items:center; gap:14px;
    min-height:56px; margin-top:14px; padding:10px 18px; border-radius:20px;
    background:rgba(255,255,255,.08);
    border:1.5px solid rgba(236,72,153,.35);
    backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
    box-shadow:0 10px 30px rgba(0,0,0,.15);
}
body.student-life-page .sl2-scholar-callout i{
    flex-shrink:0; width:34px; height:34px; border-radius:50%;
    display:flex; align-items:center; justify-content:center;
    background:rgba(236,72,153,.22); color:#F9A8D4; font-size:.92rem;
}
body.student-life-page .sl2-scholar-callout span{
    font-size:.84rem; font-weight:600; color:#FFFFFF; line-height:1.4;
}

/* Sports & Games — a balanced 2 × 2 grid of four premium photo tiles. */
body.student-life-page .sl2-bento{
    position:relative; z-index:2;
    display:grid;
    grid-template-columns:repeat(2,1fr);
    grid-template-rows:repeat(2,1fr);
    gap:18px;
    height:360px;
}
/* small floating glass icons around the card grid — purely decorative */
body.student-life-page .sl2-bento-token{
    position:absolute; z-index:3; pointer-events:none;
    display:flex; align-items:center; justify-content:center;
    width:42px; height:42px; border-radius:14px;
    background:rgba(255,255,255,.85);
    border:1px solid rgba(16,42,92,.14);
    backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px);
    box-shadow:0 8px 20px rgba(16,42,92,.12);
    color:#EC4899; font-size:.95rem;
    animation:sl2TokenBob 9s ease-in-out infinite;
}
body.student-life-page .sl2-bento-token-a{ top:-16px; left:26%; animation-delay:1s; }
body.student-life-page .sl2-bento-token-b{ bottom:-16px; right:16%; color:var(--primary-dark,#102A5C); animation-delay:3.4s; animation-duration:10s; }
@media(max-width:900px){
    body.student-life-page .sl2-bento-token{ display:none; }
}
body.student-life-page .sl2-bento-item{
    position:relative; border-radius:30px; overflow:hidden; isolation:isolate;
    box-shadow:0 10px 26px rgba(16,42,92,.25);
}
body.student-life-page .sl2-bento-icon{
    width:100%; height:100%;
    display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px;
    background:rgba(255,255,255,.08);
    backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px);
    border:1px solid rgba(255,255,255,.15);
    color:#FFFFFF;
    transition:transform .4s ease, box-shadow .4s ease, border-color .4s ease;
    will-change:transform;
}
body.student-life-page .sl2-bento-item:hover .sl2-bento-icon{
    transform:scale(1.05);
    border-color:rgba(236,72,153,.5);
    box-shadow:inset 0 0 60px rgba(236,72,153,.25), 0 0 24px rgba(236,72,153,.3);
}
/* uniform icon size, colour and soft brand glow across every tile */
body.student-life-page .sl2-bento-icon i{
    font-size:2.1rem; line-height:1;
    color:#F472B6;
    filter:drop-shadow(0 0 14px rgba(236,72,153,.45));
    transition:transform .4s cubic-bezier(.34,1.56,.64,1), filter .4s ease;
}
body.student-life-page .sl2-bento-item:hover .sl2-bento-icon i{
    transform:scale(1.16);
    filter:drop-shadow(0 0 22px rgba(236,72,153,.7));
}
body.student-life-page .sl2-bento-icon span{ font-size:.76rem; font-weight:700; letter-spacing:.03em; text-transform:uppercase; }

/* ---------- photo variant ----------
   Same tile size/radius/hover behaviour as the icon-only tiles, but
   backed by a real photo (object-fit: cover, never stretched) with a
   navy-to-pink scrim so the icon + label stay legible on top. */
body.student-life-page .sl2-bento-item.sl2-bento-photo{
    background:var(--primary-dark,#102A5C);
}
body.student-life-page .sl2-bento-photo-img{
    position:absolute; inset:0; width:100%; height:100%;
    object-fit:cover; object-position:center 35%;
    transition:transform .4s ease;
}
body.student-life-page .sl2-bento-item.sl2-bento-photo:hover .sl2-bento-photo-img{
    transform:scale(1.06);
}
body.student-life-page .sl2-bento-photo .sl2-bento-icon{
    position:relative; background:linear-gradient(180deg, rgba(16,42,92,.1) 0%, rgba(16,42,92,.8) 100%);
    backdrop-filter:none; -webkit-backdrop-filter:none;
    border:none;
}

/*==================================================
    4. CLUBS & SOCIETIES
==================================================*/
body.student-life-page .sl2-clubs{ padding:70px 0; }

/* ---------- premium single-card sliding showcase ----------
   Wide, centered card (up to 1200px desktop, Step 9 widen). One club
   visible at a time; slides enter from the right and exit to the left,
   driven entirely by transform/opacity (GPU-composited) via
   assets/js/clubs-showcase.js. Image sits in a white letterboxed
   media area (object-fit:contain, never cropped); short info
   block beneath. Dot navigation sits outside the clipped card. */
/* Step 9: widened significantly so the slideshow reads as a much more
   prominent, near-edge-to-edge element within .sl2-wrap's content
   margins (was capped at 820px, leaving large empty side gutters).
   Only the horizontal footprint changes — vertical spacing/positioning
   above and below this section is untouched. */
body.student-life-page .clb-stage{
    max-width:1200px; margin:0 auto; display:flex; flex-direction:column; align-items:center; gap:22px;
}
body.student-life-page .clb-card{
    position:relative; width:100%; height:400px; overflow:hidden;
    border-radius:24px; background:#FFFFFF;
    border:1px solid rgba(15,61,145,.05);
    box-shadow:0 20px 45px rgba(15,61,145,.08);
}
body.student-life-page .clb-slide{
    position:absolute; inset:0; display:flex; flex-direction:column;
    transform:translate3d(100%,0,0); opacity:0; pointer-events:none;
    transition:transform .7s cubic-bezier(.4,0,.2,1), opacity .7s ease;
    will-change:transform, opacity;
}
body.student-life-page .clb-slide.is-active{
    transform:translate3d(0,0,0); opacity:1; pointer-events:auto; z-index:2;
}
body.student-life-page .clb-slide.is-exit{
    transform:translate3d(-100%,0,0); opacity:0; z-index:1;
}
/* Media area: the whole photo is always shown, uncropped. `contain`
   preserves the full frame (never crops in from the edges) and scales
   it down to fit, centred via flex. The dark navy backdrop fills any
   letterbox space — with landscape and portrait source photos sharing
   one fixed-size crossfade box, a little letterboxing on one axis is
   unavoidable without either cropping or breaking the slide animation,
   so this stays as small as the box size allows. The parent card's
   overflow:hidden masks the rounded top corners. */
body.student-life-page .clb-media{
    position:relative; flex:0 0 76%; background:#0F172A;
    display:flex; align-items:center; justify-content:center; overflow:hidden;
}
body.student-life-page .clb-media img{
    width:100%; height:100%; display:block;
    object-fit:cover; object-position:center 40%;
    transform:scale(1); transition:transform 3s linear;
}
/* smaller zoom than before — with `contain` the frame is already
   showing the full photo, so a subtle 1.02 keeps the Ken Burns feel
   without ever pushing any part of the image out of view */
body.student-life-page .clb-slide.is-active .clb-media img{ transform:scale(1.02); }
/* subtle bottom scrim so the media area blends into the info block */
body.student-life-page .clb-media::after{
    content:""; position:absolute; inset:0; pointer-events:none;
    background:linear-gradient(to top, rgba(15,23,42,.45), transparent 42%);
}
body.student-life-page .clb-ic{
    position:absolute; top:14px; left:14px; z-index:3;
    width:36px; height:36px; border-radius:12px;
    display:flex; align-items:center; justify-content:center; font-size:.95rem;
    background:rgba(236,72,153,.92); color:#FFFFFF;
    box-shadow:0 8px 18px rgba(236,72,153,.3);
}
body.student-life-page .clb-info{
    flex:0 0 24%; display:flex; flex-direction:column; justify-content:center;
    padding:10px 28px 20px; text-align:center; border-top:1px solid rgba(16,42,92,.06);
}
body.student-life-page .clb-info h3{
    font-family:'Poppins',sans-serif; font-weight:800; font-size:1.05rem;
    color:var(--primary-dark,#102A5C); margin:0 0 4px;
    white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
body.student-life-page .clb-info p{
    font-size:.85rem; line-height:1.4; color:#4A4A4A; margin:0;
    max-width:52ch; margin:0 auto;
    display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}
body.student-life-page .clb-dots{
    display:flex; align-items:center; justify-content:center; gap:9px;
}
body.student-life-page .clb-dot{
    width:9px; height:9px; border-radius:50%; padding:0; cursor:pointer;
    background:#FFFFFF; border:1.5px solid rgba(16,42,92,.28);
    transition:background .25s ease, border-color .25s ease, transform .25s ease;
}
body.student-life-page .clb-dot:hover{ transform:scale(1.15); }
body.student-life-page .clb-dot.is-active{
    background:var(--primary,#EC4899); border-color:var(--primary,#EC4899); transform:scale(1.2);
}
@media(max-width:1024px){
    body.student-life-page .clb-card{ height:360px; }
}
@media(max-width:640px){
    body.student-life-page .clb-card{ height:300px; }
    body.student-life-page .clb-info{ padding:8px 18px 16px; }
    body.student-life-page .clb-info h3{ font-size:.95rem; }
    body.student-life-page .clb-info p{ font-size:.8rem; }
}
@media(prefers-reduced-motion: reduce){
    body.student-life-page .clb-slide{ transition:opacity .3s ease; }
    body.student-life-page .clb-media img{ transition:none; }
    body.student-life-page .clb-slide.is-active .clb-media img{ transform:none; }
}

/*==================================================
    5. HEALTH & COUNSELING
==================================================*/
body.student-life-page .sl2-health{ padding:70px 0; }
body.student-life-page .sl2-health-grid{
    display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center;
}
/* image now uses the sitewide .gwf-wrap "Why Choose Germaine" frame
   (organic navy blob + travelling border light + stat badge) — see
   global-refinements.css. .sl2-health-media only handles grid placement.
   Step 9: column ratio flipped (media now the larger side) and the frame's
   image height increased *only within this section* — scoped so the three
   other pages sharing .gwf-wrap (Alumni hero, AI Bootcamp, Partner With Us)
   keep their original size. object-fit:cover on .gwf-glass img (set
   sitewide) means the taller box still shows the full frame with no
   stretching/distortion, just a larger crop of the same photo. */
body.student-life-page .sl2-health-media{ width:100%; }
body.student-life-page .sl2-health-media .gwf-glass img{ height:520px; }
@media(max-width:1024px){
    body.student-life-page .sl2-health-media .gwf-glass img{ height:460px; }
}
@media(max-width:640px){
    body.student-life-page .sl2-health-media .gwf-glass img{ height:360px; }
}
body.student-life-page .sl2-health-text h2{
    font-family:'Poppins',sans-serif; font-weight:800; font-size:1.8rem;
    color:var(--primary,#EC4899); margin:0 0 10px;
}
body.student-life-page .sl2-health-text .sl2-head-bar{ margin:0 0 18px; }
body.student-life-page .sl2-health-text p{ font-size:.96rem; line-height:1.7; color:#495873; margin:0 0 26px; max-width:520px; }
body.student-life-page .sl2-health-features{ display:flex; gap:16px; flex-wrap:wrap; }
body.student-life-page .sl2-health-feature{ display:flex; align-items:center; gap:12px; }
body.student-life-page .sl2-health-feature i{
    flex-shrink:0; width:44px; height:44px; border-radius:50%;
    display:flex; align-items:center; justify-content:center; font-size:1.05rem;
    border:1.5px solid rgba(236,72,153,.35); color:var(--primary,#EC4899);
}
body.student-life-page .sl2-health-feature span{
    font-size:.86rem; font-weight:700; color:var(--primary-dark,#102A5C); line-height:1.3;
}

/*==================================================
    6. FINAL CTA
==================================================*/
body.student-life-page .sl2-final{ padding:0 0 80px; }
body.student-life-page .sl2-final-inner{
    position:relative; overflow:hidden;
    display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap;
    padding:30px 40px; border-radius:24px;
    background:rgba(236,72,153,.06);
    border:1px solid rgba(236,72,153,.14);
}
body.student-life-page .sl2-final-left{ display:flex; align-items:center; gap:16px; }
body.student-life-page .sl2-final-ic{
    flex-shrink:0; width:52px; height:52px; border-radius:50%;
    display:flex; align-items:center; justify-content:center; font-size:1.2rem;
    background:var(--primary,#EC4899); color:#FFFFFF;
}
body.student-life-page .sl2-final-left h3{
    font-family:'Poppins',sans-serif; font-weight:700; font-size:1.15rem;
    color:var(--primary-dark,#102A5C); margin:0 0 3px;
}
body.student-life-page .sl2-final-left span{ font-size:.86rem; color:#5A6B85; }
body.student-life-page .sl2-final-cta{ display:flex; gap:12px; flex-wrap:wrap; }

/*==================================================
    RESPONSIVE
==================================================*/
@media(max-width:1024px){
    body.student-life-page .sl2-glance-grid{ grid-template-columns:repeat(2,1fr); }
    body.student-life-page .sl2-sports-grid,
    body.student-life-page .sl2-health-grid{ grid-template-columns:1fr; }
    body.student-life-page .sl2-health-media{ order:-1; }
    body.student-life-page .sl2-clubs-grid{ grid-template-columns:repeat(3,1fr); }
    body.student-life-page .sl2-hero-grid{ grid-template-columns:1fr; gap:36px; }
    body.student-life-page .sl2-hero-media{ order:-1; }
}
@media(max-width:760px){
    body.student-life-page .sl2-wrap{ padding:0 20px; }
    body.student-life-page .sl2-hero{ padding:44px 0 70px; }
    body.student-life-page .sl2-glance-grid{ grid-template-columns:1fr; }
    body.student-life-page .sl2-clubs-grid{ grid-template-columns:repeat(2,1fr); }
    body.student-life-page .sl2-bento{ grid-template-columns:repeat(2,1fr); grid-template-rows:repeat(2,150px); height:auto; gap:14px; }
    body.student-life-page .sl2-final-inner{ flex-direction:column; text-align:center; }
    body.student-life-page .sl2-final-cta{ width:100%; justify-content:center; }
    body.student-life-page .sl2-hero-img{ height:260px; }
    body.student-life-page .sl2-sports .sl2-wrap{ padding:28px 20px; border-radius:26px; }
}
@media(max-width:520px){
    body.student-life-page .sl2-glance-card{ padding:26px 18px; }
    body.student-life-page .sl2-sports{ padding:28px 0; }
    body.student-life-page .sl2-sports .sl2-wrap{ padding:22px 16px; }
    body.student-life-page .sl2-hero-cta{ flex-direction:column; align-items:stretch; }
}
@media (prefers-reduced-motion: reduce){
    body.student-life-page .sl2-glance-card,
    body.student-life-page .sl2-club-card,
    body.student-life-page .sl2-bento-icon,
    body.student-life-page .sl2-bento-icon i{ transition:none; }
}
