/* Inspire ACCA Integrated — supplemental storefront styles (scoped under .theme-site)
   for components the base theme didn't include (newsletter, small nav tweaks).
   Kept separate from the auto-generated theme.css. */

/* ── Footer newsletter (theme footer has no newsletter block) ── */
.theme-site .footer-newsletter{display:flex;justify-content:space-between;align-items:center;gap:1.5rem;flex-wrap:wrap;padding-bottom:1.6rem;margin-bottom:1.8rem;border-bottom:1px solid rgba(255,255,255,.06)}
.theme-site .footer-newsletter__text h4{font-size:1rem;font-weight:800;color:#fff;display:flex;align-items:center;gap:.4rem;margin-bottom:.2rem}
.theme-site .footer-newsletter__text p{font-size:.8rem;color:rgba(255,255,255,.5)}
.theme-site .footer-newsletter__form{display:flex;gap:.4rem;flex-wrap:wrap;align-items:center}
.theme-site .footer-newsletter__form input{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);border-radius:var(--radius);padding:.6rem .85rem;color:#fff;font-family:var(--font);font-size:.82rem;min-width:240px;outline:none}
.theme-site .footer-newsletter__form input::placeholder{color:rgba(255,255,255,.4)}
.theme-site .footer-newsletter__form input:focus{border-color:var(--pri2)}
.theme-site .footer-newsletter__done{color:var(--green);font-weight:700;font-size:.85rem;background:#fff;padding:.55rem .9rem;border-radius:var(--radius)}
.theme-site .footer-newsletter__msg{width:100%;font-size:.75rem;color:rgba(255,255,255,.6);margin-top:.5rem}

/* ── Footer brand extras ── */
.theme-site .footer-franchisee{display:inline-block;color:var(--pri2);font-size:.78rem;font-weight:600;margin:.2rem 0 .7rem;line-height:1.5}
.theme-site .footer-franchisee:hover{color:#fff}
.theme-site .footer ul li{font-size:.78rem;color:rgba(255,255,255,.5);line-height:1.6}

/* ── Nav tweaks ── */
.theme-site .dropdown-trigger.active{color:var(--pri)}
.theme-site .nav-links>a{white-space:nowrap}
/* keep the quick-search input tidy inside the themed nav-right */
.theme-site .nav-right .header__search{display:flex;align-items:center}
.theme-site .nav-cta{white-space:nowrap}

/* ── Home: theme product card extras (real images + persistent wishlist state) ── */
.theme-site .product{display:block;color:inherit}
.theme-site .product-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.theme-site .product-wishlist{color:var(--text2)}
.theme-site .product-wishlist.on{opacity:1;color:var(--red);border-color:var(--red)}
.theme-site .product .btn-cart{display:flex;align-items:center;justify-content:center;text-decoration:none;margin-top:.2rem}
.theme-site .product-badge.new{background:var(--green)}

/* ── Home: faculty grid (theme has no faculty section — themed to match) ── */
.theme-site .faculty-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem}
.theme-site .faculty-card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:1.4rem 1rem;text-align:center;transition:.3s;display:block;color:inherit}
.theme-site .faculty-card:hover{box-shadow:var(--shadow2);transform:translateY(-4px);border-color:transparent}
.theme-site .faculty-card__photo{width:88px;height:88px;border-radius:50%;margin:0 auto .8rem;overflow:hidden;background:var(--bg2);display:flex;align-items:center;justify-content:center;border:3px solid var(--prig)}
.theme-site .faculty-card__photo img{width:100%;height:100%;object-fit:cover}
.theme-site .faculty-card__initials{font-size:1.5rem;font-weight:800;color:var(--pri)}
.theme-site .faculty-card__name{font-size:.9rem;font-weight:700;margin-bottom:.15rem}
.theme-site .faculty-card__role{font-size:.72rem;color:var(--text3);margin-bottom:.4rem}
.theme-site .faculty-card__subjects{font-size:.7rem;color:var(--text2);margin-bottom:.5rem;min-height:2em;line-height:1.5}
.theme-site .faculty-card__rating{font-size:.72rem;color:var(--text3);margin-bottom:.6rem}
.theme-site .faculty-card__rating .stars{color:var(--accent)}
.theme-site .faculty-card__cta{font-size:.72rem;font-weight:700;color:var(--pri)}

/* ── Home: testimonial author avatar ── */
.theme-site .testi-author{display:flex;align-items:center;gap:.6rem}
.theme-site .testi-author__avatar{width:38px;height:38px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:800;font-size:.72rem;flex-shrink:0}

/* ── Home: blog card image + map ── */
.theme-site .blog-thumb-img{width:100%;height:100%;object-fit:cover}
.theme-site .home-map{border-radius:var(--radius);overflow:hidden;border:1px solid var(--border);box-shadow:var(--shadow)}
.theme-site .home-map iframe{width:100%;height:380px;border:0;display:block}

@media(max-width:1024px){.theme-site .faculty-grid{grid-template-columns:1fr 1fr}}
@media(max-width:768px){.theme-site .faculty-grid{grid-template-columns:1fr 1fr}}

/* ══════════════════════════════════════════════════════════════════════════
   FREE BRIDGE COURSE — additive promo section (hero above / cat-row below
   are untouched). Presentation only; the CTAs point at existing routes.
   ══════════════════════════════════════════════════════════════════════════ */
.theme-site .bridge{
    position:relative;overflow:hidden;background:#fff;
    padding:clamp(3rem,6vw,5.5rem) clamp(1rem,4vw,2rem);
    border-bottom:1px solid rgba(15,23,42,.05);
}
/* floating background shapes */
.theme-site .bridge__blob{position:absolute;border-radius:50%;filter:blur(90px);pointer-events:none;z-index:0}
.theme-site .bridge__blob--a{width:420px;height:420px;top:-160px;right:-120px;background:rgba(59,130,246,.16)}
.theme-site .bridge__blob--b{width:360px;height:360px;bottom:-180px;left:-140px;background:rgba(26,86,219,.11)}
.theme-site .bridge__grid{
    position:absolute;inset:0;pointer-events:none;z-index:0;opacity:.5;
    background-image:radial-gradient(rgba(26,86,219,.09) 1px,transparent 1px);background-size:28px 28px;
    -webkit-mask-image:radial-gradient(ellipse at 65% 40%,#000 20%,transparent 72%);
            mask-image:radial-gradient(ellipse at 65% 40%,#000 20%,transparent 72%);
}
.theme-site .bridge__inner{
    position:relative;z-index:1;max-width:1200px;margin:0 auto;
    display:grid;grid-template-columns:60% 40%;align-items:center;gap:clamp(1.5rem,4vw,3.5rem);
}

/* ── left: copy ── */
.theme-site .bridge__eyebrow{
    display:inline-flex;align-items:center;gap:.45rem;margin-bottom:1rem;
    padding:.4rem .9rem;border-radius:999px;
    background:linear-gradient(135deg,rgba(26,86,219,.1),rgba(59,130,246,.14));
    border:1px solid rgba(26,86,219,.18);
    font-size:.72rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--pri);
}
.theme-site .bridge__eyebrow svg{width:14px;height:14px}
.theme-site .bridge__title{
    font-family:var(--font);font-size:clamp(1.6rem,3.4vw,2.6rem);font-weight:800;
    letter-spacing:-.02em;line-height:1.16;color:#0f2747;margin:0 0 .85rem;max-width:20ch;
}
.theme-site .bridge__subtitle{
    font-size:clamp(.95rem,1.4vw,1.05rem);font-weight:600;line-height:1.65;
    color:#24324B;margin:0 0 .9rem;max-width:56ch;
}
.theme-site .bridge__desc{
    font-size:.9rem;line-height:1.8;color:#5b6b85;margin:0 0 1.6rem;max-width:60ch;
}

/* ── buttons ── */
.theme-site .bridge__actions{display:flex;flex-wrap:wrap;gap:.8rem}
.theme-site .bridge__btn{
    position:relative;overflow:hidden;display:inline-flex;align-items:center;justify-content:center;gap:.55rem;
    height:52px;padding:0 1.9rem;border-radius:999px;
    font-family:var(--font);font-size:.92rem;font-weight:700;letter-spacing:.2px;
    transition:transform .25s cubic-bezier(.34,1.56,.64,1),box-shadow .25s ease,background .3s ease,color .25s ease;
}
.theme-site .bridge__btn svg{width:17px;height:17px;flex:none;transition:transform .25s ease}
.theme-site .bridge__btn--primary{
    color:#fff;background:linear-gradient(135deg,#1a56db,#3b82f6 60%,#2563eb);
    background-size:200% 100%;background-position:0% 50%;
    box-shadow:0 12px 28px -10px rgba(26,86,219,.6);
}
.theme-site .bridge__btn--primary:hover{
    transform:translateY(-3px);background-position:100% 50%;
    box-shadow:0 20px 40px -12px rgba(26,86,219,.75),0 0 24px rgba(59,130,246,.35);
}
.theme-site .bridge__btn--primary:hover svg{transform:scale(1.15)}
.theme-site .bridge__btn--secondary{
    color:var(--pri);background:#fff;border:2px solid rgba(26,86,219,.35);
    box-shadow:0 6px 18px -12px rgba(15,23,42,.4);
}
.theme-site .bridge__btn--secondary::before{
    content:'';position:absolute;inset:0;z-index:0;
    background:linear-gradient(135deg,#1a56db,#3b82f6);
    transform:scaleX(0);transform-origin:left;transition:transform .32s cubic-bezier(.4,0,.2,1);
}
.theme-site .bridge__btn>*{position:relative;z-index:1}   /* keep label/icon above the fill layer */
.theme-site .bridge__btn--secondary:hover{color:#fff;border-color:transparent;transform:translateY(-3px);box-shadow:0 16px 32px -12px rgba(26,86,219,.6)}
.theme-site .bridge__btn--secondary:hover::before{transform:scaleX(1)}
.theme-site .bridge__btn--secondary:hover svg{transform:translateX(4px)}
.theme-site .bridge__btn:focus-visible{outline:2px solid var(--pri);outline-offset:3px}

/* ── right: glass card + illustration ── */
.theme-site .bridge__visual{position:relative;display:flex;align-items:center;justify-content:center}
.theme-site .bridge__card{
    position:relative;width:100%;padding:1.4rem;border-radius:20px;
    background:rgba(255,255,255,.72);
    -webkit-backdrop-filter:blur(18px) saturate(180%);backdrop-filter:blur(18px) saturate(180%);
    border:1px solid rgba(255,255,255,.85);
    box-shadow:0 30px 70px -30px rgba(15,39,71,.4),0 2px 10px rgba(15,39,71,.06);
    transition:transform .4s cubic-bezier(.4,0,.2,1),box-shadow .4s ease;
}
.theme-site .bridge__card:hover{transform:translateY(-6px);box-shadow:0 42px 90px -32px rgba(15,39,71,.5)}
/* viewBox alone gives no intrinsic height here, so pin the ratio explicitly */
.theme-site .bridge__art{width:100%;height:auto;aspect-ratio:460/390;display:block}
/* floating info chips */
.theme-site .bridge__chip{
    position:absolute;z-index:2;display:inline-flex;align-items:center;gap:.4rem;
    padding:.5rem .85rem;border-radius:999px;
    background:rgba(255,255,255,.9);
    -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
    border:1px solid rgba(15,23,42,.07);
    box-shadow:0 12px 28px -14px rgba(15,39,71,.45);
    font-size:.72rem;font-weight:700;color:#0f2747;white-space:nowrap;
}
.theme-site .bridge__chip svg{width:14px;height:14px;color:var(--pri)}
.theme-site .bridge__chip--a{top:6%;left:-6%;animation:bridgeFloat 6s ease-in-out infinite}
.theme-site .bridge__chip--b{bottom:8%;right:-4%;animation:bridgeFloat 7.5s ease-in-out infinite reverse}
@keyframes bridgeFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}

/* ── responsive ── */
@media(max-width:1024px){
    .theme-site .bridge__inner{grid-template-columns:1fr;gap:2.5rem}   /* tablet: art below copy */
    .theme-site .bridge__title,.theme-site .bridge__subtitle,.theme-site .bridge__desc{max-width:none}
    .theme-site .bridge__visual{max-width:560px;margin:0 auto;width:100%}
}
@media(max-width:640px){
    .theme-site .bridge{padding:2.5rem 1rem}
    .theme-site .bridge__actions{flex-direction:column}                /* mobile: full-width buttons */
    .theme-site .bridge__btn{width:100%}
    .theme-site .bridge__chip--a{left:0}
    .theme-site .bridge__chip--b{right:0}
    .theme-site .bridge__chip{font-size:.66rem;padding:.4rem .7rem}
}
@media(prefers-reduced-motion:reduce){
    .theme-site .bridge__chip{animation:none}
    .theme-site .bridge__card,.theme-site .bridge__btn,.theme-site .bridge__btn svg,
    .theme-site .bridge__btn--secondary::before{transition:none!important}
}

/* ══════════════════════════════════════════════════════════════════════════
   PLACEMENT COMPANIES — static branding/trust strip (additive section).
   Presentation only; no data source, no backend involvement.
   ══════════════════════════════════════════════════════════════════════════ */
.theme-site .employers{background:#fff;padding:clamp(3rem,6vw,5rem) clamp(1rem,4vw,2rem);position:relative;overflow:hidden}
.theme-site .employers::before{
    content:'';position:absolute;top:-140px;left:50%;transform:translateX(-50%);
    width:640px;height:280px;border-radius:50%;background:rgba(59,130,246,.07);filter:blur(80px);pointer-events:none;
}
.theme-site .employers__inner{position:relative;z-index:1;max-width:1180px;margin:0 auto}
.theme-site .employers__head{text-align:center;margin-bottom:2.6rem}
.theme-site .employers__eyebrow{
    display:inline-block;margin-bottom:.85rem;padding:.35rem .9rem;border-radius:999px;
    background:linear-gradient(135deg,rgba(26,86,219,.09),rgba(59,130,246,.13));
    border:1px solid rgba(26,86,219,.16);
    font-size:.68rem;font-weight:800;letter-spacing:.09em;text-transform:uppercase;color:var(--pri);
}
.theme-site .employers__title{
    font-family:var(--font);font-size:clamp(1.5rem,3vw,2.15rem);font-weight:800;
    letter-spacing:-.02em;color:#0f2747;margin:0 0 .55rem;line-height:1.2;
}
.theme-site .employers__sub{font-size:.95rem;line-height:1.7;color:#5b6b85;max-width:56ch;margin:0 auto}

/* logo grid — 5 / 3 / 2 across the breakpoints */
.theme-site .employers__grid{display:grid;grid-template-columns:repeat(5,1fr);gap:1rem}
.theme-site .employers__card{
    display:flex;align-items:center;justify-content:center;text-align:center;
    min-height:96px;padding:1.25rem 1rem;
    background:#fff;border:1px solid #EEF2F7;border-radius:16px;
    box-shadow:0 2px 10px rgba(15,39,71,.05);
    transition:transform .25s cubic-bezier(.34,1.56,.64,1),box-shadow .25s ease,border-color .25s ease;
}
.theme-site .employers__card:hover{
    transform:translateY(-6px) scale(1.05);
    box-shadow:0 20px 38px -16px rgba(15,39,71,.3);
    border-color:rgba(26,86,219,.22);
}
/* wordmark: muted by default, resolves to brand blue on hover (grayscale → colour) */
.theme-site .employers__name{
    font-family:var(--font);font-size:1rem;font-weight:800;letter-spacing:-.015em;line-height:1.25;
    color:#8494ad;transition:color .25s ease,transform .25s ease;
}
.theme-site .employers__card:hover .employers__name{color:var(--pri)}
/* official logo artwork — original brand colours preserved, never stretched */
.theme-site .employers__card img{
    max-height:42px;max-width:78%;width:auto;height:auto;object-fit:contain;display:block;
    transition:transform .25s cubic-bezier(.34,1.56,.64,1),opacity .25s ease;opacity:.92;
}
.theme-site .employers__card:hover img{opacity:1;transform:scale(1.04)}

.theme-site .employers__note{
    text-align:center;font-size:.85rem;line-height:1.75;color:#5b6b85;
    max-width:68ch;margin:2.2rem auto 0;
}

@media(max-width:1024px){.theme-site .employers__grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:640px){
    .theme-site .employers__grid{grid-template-columns:repeat(2,1fr);gap:.7rem}
    .theme-site .employers__card{min-height:80px;padding:1rem .6rem}
    .theme-site .employers__name{font-size:.85rem}
}
@media(prefers-reduced-motion:reduce){
    .theme-site .employers__card,.theme-site .employers__name,.theme-site .employers__card img{transition:none!important}
}

/* ══════════════════════════════════════════════════════════════════════════
   WHO WE ARE — additive presentation section. No data source, no backend.
   ══════════════════════════════════════════════════════════════════════════ */
.theme-site .who{position:relative;overflow:hidden;background:#fff;padding:clamp(3rem,6vw,5.5rem) clamp(1rem,4vw,2rem)}
.theme-site .who__blob{position:absolute;border-radius:50%;filter:blur(95px);pointer-events:none;z-index:0}
.theme-site .who__blob--a{width:430px;height:430px;top:-170px;left:-140px;background:rgba(59,130,246,.14)}
.theme-site .who__blob--b{width:380px;height:380px;bottom:-190px;right:-130px;background:rgba(26,86,219,.1)}
.theme-site .who__inner{
    position:relative;z-index:1;max-width:1220px;margin:0 auto;
    display:grid;grid-template-columns:55% 45%;align-items:center;gap:clamp(1.75rem,4vw,3.5rem);
}

/* ── left column ── */
.theme-site .who__badge{
    display:inline-block;padding:.38rem .95rem;border-radius:999px;
    background:linear-gradient(135deg,rgba(26,86,219,.1),rgba(59,130,246,.14));
    border:1px solid rgba(26,86,219,.18);
    font-size:.67rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--pri);
}
.theme-site .who__kicker{display:block;margin:1rem 0 .35rem;font-size:.95rem;font-weight:700;color:var(--pri);letter-spacing:.01em}
.theme-site .who__title{
    font-family:var(--font);font-size:clamp(1.55rem,3.2vw,2.4rem);font-weight:800;
    letter-spacing:-.02em;line-height:1.18;color:#0f2747;margin:0 0 1.1rem;max-width:22ch;
}
.theme-site .who__copy p{font-size:.9rem;line-height:1.85;color:#5b6b85;margin:0 0 .85rem;max-width:62ch}
.theme-site .who__copy-lead{font-weight:700;color:#24324B!important}

/* ── highlight cards (glass) ── */
.theme-site .who__cards{display:grid;grid-template-columns:1fr 1fr;gap:.85rem;margin:1.6rem 0 1.8rem}
.theme-site .who__card{
    display:flex;align-items:flex-start;gap:.75rem;padding:1.1rem;border-radius:20px;
    background:rgba(255,255,255,.72);
    -webkit-backdrop-filter:blur(14px) saturate(170%);backdrop-filter:blur(14px) saturate(170%);
    border:1px solid #EEF2F7;
    box-shadow:0 8px 24px -18px rgba(15,39,71,.4);
    transition:transform .28s cubic-bezier(.34,1.56,.64,1),box-shadow .28s ease,border-color .28s ease;
}
.theme-site .who__card:hover{transform:translateY(-5px);box-shadow:0 22px 44px -20px rgba(15,39,71,.34);border-color:rgba(26,86,219,.22)}
.theme-site .who__card-ico{
    flex:none;width:42px;height:42px;border-radius:13px;display:inline-flex;align-items:center;justify-content:center;
    transition:transform .28s cubic-bezier(.34,1.56,.64,1);
}
.theme-site .who__card:hover .who__card-ico{transform:scale(1.1) rotate(-6deg)}
.theme-site .who__card-ico svg{width:20px;height:20px}
.theme-site .who__card-ico--star{background:rgba(245,158,11,.12);color:#d97706}
.theme-site .who__card-ico--globe{background:rgba(26,86,219,.1);color:var(--pri)}
.theme-site .who__card-ico--book{background:rgba(5,150,105,.1);color:#059669}
.theme-site .who__card-ico--rocket{background:rgba(124,58,237,.1);color:#7c3aed}
.theme-site .who__card h3{font-size:.92rem;font-weight:700;color:#0f2747;margin:0 0 .2rem;line-height:1.3}
.theme-site .who__card p{font-size:.79rem;line-height:1.6;color:#5b6b85;margin:0}

/* ── CTAs ── */
.theme-site .who__actions{display:flex;flex-wrap:wrap;gap:.75rem}
.theme-site .who__btn{
    position:relative;overflow:hidden;display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
    height:50px;padding:0 1.7rem;border-radius:999px;
    font-family:var(--font);font-size:.88rem;font-weight:700;letter-spacing:.2px;
    transition:transform .25s cubic-bezier(.34,1.56,.64,1),box-shadow .25s ease,background .3s ease,color .25s ease;
}
.theme-site .who__btn>*{position:relative;z-index:1}
.theme-site .who__btn svg{width:16px;height:16px;flex:none;transition:transform .25s ease}
.theme-site .who__btn--primary{
    color:#fff;background:linear-gradient(135deg,#1a56db,#3b82f6 60%,#2563eb);
    background-size:200% 100%;background-position:0% 50%;
    box-shadow:0 12px 26px -10px rgba(26,86,219,.6);
}
.theme-site .who__btn--primary:hover{transform:translateY(-3px);background-position:100% 50%;box-shadow:0 20px 38px -12px rgba(26,86,219,.75)}
.theme-site .who__btn--primary:hover svg{transform:translateX(4px)}
.theme-site .who__btn--secondary{color:var(--pri);background:#fff;border:2px solid rgba(26,86,219,.32)}
.theme-site .who__btn--secondary::before{
    content:'';position:absolute;inset:0;z-index:0;background:linear-gradient(135deg,#1a56db,#3b82f6);
    transform:scaleX(0);transform-origin:left;transition:transform .32s cubic-bezier(.4,0,.2,1);
}
.theme-site .who__btn--secondary:hover{color:#fff;border-color:transparent;transform:translateY(-3px);box-shadow:0 16px 32px -12px rgba(26,86,219,.6)}
.theme-site .who__btn--secondary:hover::before{transform:scaleX(1)}
.theme-site .who__btn:focus-visible{outline:2px solid var(--pri);outline-offset:3px}

/* ── right column: illustration ── */
.theme-site .who__visual{position:relative;display:flex;align-items:center;justify-content:center}
.theme-site .who__frame{
    position:relative;width:100%;padding:1.5rem;border-radius:20px;
    background:rgba(255,255,255,.7);
    -webkit-backdrop-filter:blur(18px) saturate(180%);backdrop-filter:blur(18px) saturate(180%);
    border:1px solid rgba(255,255,255,.85);
    box-shadow:0 34px 74px -32px rgba(15,39,71,.42),0 2px 10px rgba(15,39,71,.06);
    animation:whoFloat 8s ease-in-out infinite;
}
.theme-site .who__art{width:100%;height:auto;aspect-ratio:460/430;display:block}
@keyframes whoFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-12px)}}
.theme-site .who__chip{
    position:absolute;z-index:2;display:inline-flex;align-items:center;gap:.4rem;
    padding:.5rem .85rem;border-radius:999px;
    background:rgba(255,255,255,.92);
    -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
    border:1px solid rgba(15,23,42,.07);
    box-shadow:0 14px 30px -16px rgba(15,39,71,.45);
    font-size:.71rem;font-weight:700;color:#0f2747;white-space:nowrap;
}
.theme-site .who__chip svg{width:14px;height:14px;color:var(--pri)}
.theme-site .who__chip--a{top:4%;right:-4%;animation:whoFloat 6.5s ease-in-out infinite}
.theme-site .who__chip--b{bottom:6%;left:-5%;animation:whoFloat 7.5s ease-in-out infinite reverse}

/* ── responsive ── */
@media(max-width:1024px){
    .theme-site .who__inner{grid-template-columns:1fr;gap:2.5rem}     /* tablet: image below content */
    .theme-site .who__title,.theme-site .who__copy p{max-width:none}
    .theme-site .who__visual{max-width:560px;margin:0 auto;width:100%;order:2}
}
@media(max-width:640px){
    .theme-site .who{padding:2.5rem 1rem}
    .theme-site .who__cards{grid-template-columns:1fr}                /* mobile: stacked cards */
    .theme-site .who__actions{flex-direction:column}
    .theme-site .who__btn{width:100%}
    .theme-site .who__chip--a{right:0}
    .theme-site .who__chip--b{left:0}
    .theme-site .who__chip{font-size:.65rem;padding:.4rem .7rem}
}
@media(prefers-reduced-motion:reduce){
    .theme-site .who__frame,.theme-site .who__chip{animation:none}
    .theme-site .who__card,.theme-site .who__card-ico,.theme-site .who__btn,
    .theme-site .who__btn svg,.theme-site .who__btn--secondary::before{transition:none!important}
}

/* ══════════════════════════════════════════════════════════════════════════
   THE INSPIRE GLOBAL ADVANTAGES — additive presentation section.
   ══════════════════════════════════════════════════════════════════════════ */
.theme-site .adv{position:relative;overflow:hidden;background:#fff;padding:clamp(3rem,6vw,5.5rem) clamp(1rem,4vw,2rem)}
.theme-site .adv__blob{position:absolute;border-radius:50%;filter:blur(95px);pointer-events:none;z-index:0}
.theme-site .adv__blob--a{width:460px;height:460px;top:-190px;right:-150px;background:rgba(59,130,246,.13)}
.theme-site .adv__blob--b{width:400px;height:400px;bottom:-200px;left:-150px;background:rgba(26,86,219,.09)}
.theme-site .adv__inner{position:relative;z-index:1;max-width:1200px;margin:0 auto}

/* ── heading ── */
.theme-site .adv__head{text-align:center;margin-bottom:2.6rem}
.theme-site .adv__badge{
    display:inline-block;margin-bottom:.9rem;padding:.38rem .95rem;border-radius:999px;
    background:linear-gradient(135deg,rgba(26,86,219,.1),rgba(59,130,246,.14));
    border:1px solid rgba(26,86,219,.18);
    font-size:.67rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--pri);
}
.theme-site .adv__title{
    font-family:var(--font);font-size:clamp(1.55rem,3.1vw,2.3rem);font-weight:800;
    letter-spacing:-.02em;line-height:1.2;color:#0f2747;margin:0 0 .6rem;
}
.theme-site .adv__sub{font-size:.95rem;line-height:1.7;color:#5b6b85;max-width:60ch;margin:0 auto}

/* ── 3 × 3 grid, equal-height glass cards ── */
.theme-site .adv__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.1rem;align-items:stretch}
.theme-site .adv__card{
    position:relative;overflow:hidden;display:flex;flex-direction:column;height:100%;
    padding:1.6rem 1.4rem;border-radius:20px;
    background:rgba(255,255,255,.75);
    -webkit-backdrop-filter:blur(14px) saturate(170%);backdrop-filter:blur(14px) saturate(170%);
    border:1px solid #EEF2F7;
    box-shadow:0 10px 28px -20px rgba(15,39,71,.45);
    transition:transform .25s cubic-bezier(.34,1.56,.64,1),box-shadow .25s ease,border-color .25s ease;
}
/* blue top-border animation */
.theme-site .adv__card::before{
    content:'';position:absolute;top:0;left:0;right:0;height:3px;
    background:linear-gradient(90deg,var(--pri),#3b82f6);
    transform:scaleX(0);transform-origin:center;
    transition:transform .3s cubic-bezier(.4,0,.2,1);
}
.theme-site .adv__card:hover{
    transform:translateY(-6px);
    box-shadow:0 26px 50px -22px rgba(15,39,71,.4);
    border-color:rgba(26,86,219,.2);
}
.theme-site .adv__card:hover::before{transform:scaleX(1)}
.theme-site .adv__ico{
    width:52px;height:52px;border-radius:16px;margin-bottom:1rem;flex:none;
    display:inline-flex;align-items:center;justify-content:center;
    transition:transform .25s cubic-bezier(.34,1.56,.64,1);
}
.theme-site .adv__card:hover .adv__ico{transform:scale(1.12) rotate(-6deg)}
.theme-site .adv__ico svg{width:24px;height:24px}
.theme-site .adv__ico--blue{background:rgba(26,86,219,.1);color:var(--pri)}
.theme-site .adv__ico--amber{background:rgba(245,158,11,.13);color:#d97706}
.theme-site .adv__ico--violet{background:rgba(124,58,237,.11);color:#7c3aed}
.theme-site .adv__ico--green{background:rgba(5,150,105,.11);color:#059669}
.theme-site .adv__ico--sky{background:rgba(14,165,233,.12);color:#0284c7}
.theme-site .adv__ico--red{background:rgba(220,38,38,.1);color:#dc2626}
.theme-site .adv__ico--teal{background:rgba(13,148,136,.11);color:#0d9488}
.theme-site .adv__ico--indigo{background:rgba(79,70,229,.11);color:#4f46e5}
.theme-site .adv__ico--orange{background:rgba(234,88,12,.11);color:#ea580c}
.theme-site .adv__card h3{font-size:1rem;font-weight:700;color:#0f2747;margin:0 0 .4rem;line-height:1.32}
.theme-site .adv__card p{font-size:.83rem;line-height:1.7;color:#5b6b85;margin:0}

/* ── CTA ── */
.theme-site .adv__cta{display:flex;justify-content:center;margin-top:2.4rem}
.theme-site .adv__btn{
    display:inline-flex;align-items:center;justify-content:center;gap:.55rem;
    height:52px;padding:0 1.9rem;border-radius:999px;
    font-family:var(--font);font-size:.9rem;font-weight:700;letter-spacing:.2px;color:#fff;
    background:linear-gradient(135deg,#1a56db,#3b82f6 60%,#2563eb);
    background-size:200% 100%;background-position:0% 50%;
    box-shadow:0 12px 28px -10px rgba(26,86,219,.6);
    transition:transform .25s cubic-bezier(.34,1.56,.64,1),box-shadow .25s ease,background-position .45s ease;
}
.theme-site .adv__btn svg{width:17px;height:17px;flex:none;transition:transform .25s ease}
.theme-site .adv__btn:hover{
    transform:translateY(-3px);background-position:100% 50%;
    box-shadow:0 20px 42px -12px rgba(26,86,219,.78),0 0 26px rgba(59,130,246,.4);
}
.theme-site .adv__btn:hover .adv__btn-arrow{transform:translateX(4px)}
.theme-site .adv__btn:focus-visible{outline:2px solid var(--pri);outline-offset:3px}

/* ── trust strip ── */
.theme-site .adv__trust{
    list-style:none;display:flex;flex-wrap:wrap;justify-content:center;gap:.6rem 1.6rem;
    margin:1.9rem 0 0;padding:0;
}
.theme-site .adv__trust li{
    display:inline-flex;align-items:center;gap:.4rem;
    font-size:.8rem;font-weight:600;color:#5b6b85;
}
.theme-site .adv__trust svg{width:14px;height:14px;color:var(--green);flex:none}

/* ── responsive ── */
@media(max-width:1024px){.theme-site .adv__grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){
    .theme-site .adv{padding:2.5rem 1rem}
    .theme-site .adv__grid{grid-template-columns:1fr}
    .theme-site .adv__btn{width:100%}
    .theme-site .adv__trust{gap:.5rem 1.1rem}
}
@media(prefers-reduced-motion:reduce){
    .theme-site .adv__card,.theme-site .adv__ico,.theme-site .adv__btn,
    .theme-site .adv__card::before,.theme-site .adv__btn svg{transition:none!important}
}

/* ══════════════════════════════════════════════════════════════════════════
   DIRECTOR'S MESSAGE / THE INSPIRE PROMISE — additive presentation section.
   ══════════════════════════════════════════════════════════════════════════ */
.theme-site .dir{position:relative;overflow:hidden;background:#fff;padding:clamp(3rem,6vw,5.5rem) clamp(1rem,4vw,2rem)}
.theme-site .dir__blob{position:absolute;border-radius:50%;filter:blur(100px);pointer-events:none;z-index:0}
.theme-site .dir__blob--a{width:440px;height:440px;top:-180px;left:-150px;background:rgba(26,86,219,.12)}
.theme-site .dir__blob--b{width:400px;height:400px;bottom:-190px;right:-140px;background:rgba(59,130,246,.12)}
.theme-site .dir__pattern{
    position:absolute;inset:0;z-index:0;pointer-events:none;opacity:.55;
    background-image:radial-gradient(rgba(26,86,219,.08) 1px,transparent 1px);background-size:26px 26px;
    -webkit-mask-image:radial-gradient(ellipse at 50% 30%,#000 15%,transparent 70%);
            mask-image:radial-gradient(ellipse at 50% 30%,#000 15%,transparent 70%);
}
.theme-site .dir__inner{position:relative;z-index:1;max-width:1180px;margin:0 auto}

/* ── heading ── */
.theme-site .dir__head{text-align:center;margin-bottom:2.6rem}
.theme-site .dir__badge{
    display:inline-block;margin-bottom:.9rem;padding:.38rem .95rem;border-radius:999px;
    background:linear-gradient(135deg,rgba(26,86,219,.1),rgba(59,130,246,.14));
    border:1px solid rgba(26,86,219,.18);
    font-size:.67rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--pri);
}
.theme-site .dir__title{
    font-family:var(--font);font-size:clamp(1.55rem,3.1vw,2.3rem);font-weight:800;
    letter-spacing:-.02em;line-height:1.2;color:#0f2747;margin:0 0 .55rem;
}
.theme-site .dir__sub{font-size:.95rem;line-height:1.7;color:#5b6b85;max-width:56ch;margin:0 auto}

/* ── two-column body ── */
.theme-site .dir__body{display:grid;grid-template-columns:40% 60%;align-items:center;gap:clamp(1.75rem,4vw,3rem)}

/* left: portrait + identity */
.theme-site .dir__aside{text-align:center}
.theme-site .dir__portrait{
    width:min(230px,68%);aspect-ratio:1;margin:0 auto 1.1rem;border-radius:50%;overflow:hidden;
    display:flex;align-items:center;justify-content:center;
    background:linear-gradient(135deg,#1a56db,#3b82f6);
    border:6px solid #fff;
    box-shadow:0 26px 56px -22px rgba(15,39,71,.5),0 0 0 1px rgba(26,86,219,.14);
    transition:transform .35s cubic-bezier(.4,0,.2,1),box-shadow .35s ease;
}
.theme-site .dir__portrait:hover{transform:scale(1.04);box-shadow:0 34px 70px -24px rgba(15,39,71,.55)}
/* Photo variant: the portrait is a white-background cutout, so the gradient never shows.
   Swap in a soft wash and a crisper ring so the circle keeps its edge against the white section. */
.theme-site .dir__portrait--photo{
    background:linear-gradient(160deg,#eef4ff,#dce8fb);
    box-shadow:0 26px 56px -22px rgba(15,39,71,.42),0 0 0 2px rgba(26,86,219,.22);
}
.theme-site .dir__portrait--photo:hover{box-shadow:0 34px 70px -24px rgba(15,39,71,.5),0 0 0 2px rgba(26,86,219,.32)}
.theme-site .dir__portrait img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s cubic-bezier(.4,0,.2,1)}
.theme-site .dir__portrait:hover img{transform:scale(1.07)}
.theme-site .dir__initials{font-family:var(--font);font-size:3.6rem;font-weight:800;color:#fff;letter-spacing:.02em}
.theme-site .dir__scrawl{
    font-family:'Segoe Script','Brush Script MT','Lucida Handwriting',cursive;
    font-size:1.55rem;color:var(--pri);line-height:1.1;margin-bottom:.55rem;
}
.theme-site .dir__name{font-size:1rem;font-weight:800;color:#0f2747;letter-spacing:-.01em}
.theme-site .dir__role{font-size:.8rem;font-weight:700;color:var(--pri);margin-top:.15rem}
.theme-site .dir__org{font-size:.78rem;color:#5b6b85;margin-top:.1rem}

/* right: glass quote card */
.theme-site .dir__card{
    position:relative;overflow:hidden;padding:clamp(1.6rem,3vw,2.4rem);border-radius:24px;
    background:rgba(255,255,255,.74);
    -webkit-backdrop-filter:blur(18px) saturate(180%);backdrop-filter:blur(18px) saturate(180%);
    border:1px solid rgba(255,255,255,.85);
    box-shadow:0 26px 60px -28px rgba(15,39,71,.4),0 2px 10px rgba(15,39,71,.05);
    transition:box-shadow .4s ease,transform .4s cubic-bezier(.4,0,.2,1);
}
.theme-site .dir__card:hover{transform:translateY(-4px);box-shadow:0 38px 80px -30px rgba(15,39,71,.48)}
.theme-site .dir__quote{
    position:absolute;top:-14px;right:6px;width:130px;height:130px;
    color:rgba(26,86,219,.07);pointer-events:none;
    animation:dirFloat 7s ease-in-out infinite;
}
@keyframes dirFloat{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-12px) rotate(-3deg)}}
.theme-site .dir__copy{position:relative;z-index:1}
.theme-site .dir__copy p{font-size:.9rem;line-height:1.9;color:#5b6b85;margin:0 0 .9rem}
.theme-site .dir__copy p:first-child{font-size:.95rem;color:#24324B}

.theme-site .dir__signature{
    position:relative;z-index:1;display:flex;flex-direction:column;gap:.1rem;
    margin-top:1.4rem;padding-top:1.2rem;border-top:1px solid rgba(15,23,42,.08);
}
.theme-site .dir__signature-pre{font-size:.82rem;color:#5b6b85;margin-bottom:.3rem}
.theme-site .dir__signature-name{font-size:1rem;font-weight:800;color:#0f2747}
.theme-site .dir__signature-role{font-size:.8rem;font-weight:700;color:var(--pri)}
.theme-site .dir__signature-org{font-size:.78rem;color:#5b6b85}

.theme-site .dir__btn{
    position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
    margin-top:1.5rem;height:50px;padding:0 1.8rem;border-radius:999px;
    font-family:var(--font);font-size:.88rem;font-weight:700;letter-spacing:.2px;color:#fff;
    background:linear-gradient(135deg,#1a56db,#3b82f6 60%,#2563eb);
    background-size:200% 100%;background-position:0% 50%;
    box-shadow:0 12px 26px -10px rgba(26,86,219,.6);
    transition:transform .25s cubic-bezier(.34,1.56,.64,1),box-shadow .25s ease,background-position .45s ease;
}
.theme-site .dir__btn svg{width:16px;height:16px;flex:none;transition:transform .25s ease}
.theme-site .dir__btn:hover{transform:translateY(-3px);background-position:100% 50%;box-shadow:0 20px 40px -12px rgba(26,86,219,.75)}
.theme-site .dir__btn:hover svg{transform:translateX(4px)}
.theme-site .dir__btn:focus-visible{outline:2px solid var(--pri);outline-offset:3px}

/* ── responsive ── */
@media(max-width:1024px){
    .theme-site .dir__body{grid-template-columns:1fr;gap:2.2rem}   /* tablet: image above content */
    .theme-site .dir__quote{width:104px;height:104px}
}
@media(max-width:640px){
    .theme-site .dir{padding:2.5rem 1rem}
    .theme-site .dir__portrait{width:min(190px,60%)}
    .theme-site .dir__initials{font-size:3rem}
    .theme-site .dir__btn{width:100%}
    .theme-site .dir__quote{width:84px;height:84px;top:-8px;right:0}
}
@media(prefers-reduced-motion:reduce){
    .theme-site .dir__quote{animation:none}
    .theme-site .dir__card,.theme-site .dir__portrait,.theme-site .dir__portrait img,
    .theme-site .dir__btn,.theme-site .dir__btn svg{transition:none!important}
}

/* ═══════════════════════════════════════════════════════════════════════════
   WHY STUDENTS TRUST US — "At Inspire Global" 12-card trust grid  (.wst)
   Presentation only. No JS: reveal/stagger reuse the shared IntersectionObserver.
   ═══════════════════════════════════════════════════════════════════════════ */
.theme-site .wst{
    position:relative;overflow:hidden;background:#fff;
    padding:clamp(3.25rem,6vw,5.25rem) clamp(1rem,4vw,2.5rem);
}
.theme-site .wst__blob{position:absolute;border-radius:50%;filter:blur(78px);pointer-events:none;z-index:0}
.theme-site .wst__blob--a{width:460px;height:460px;top:-190px;left:-160px;background:rgba(26,86,219,.10)}
.theme-site .wst__blob--b{width:420px;height:420px;bottom:-180px;right:-140px;background:rgba(59,130,246,.09)}
.theme-site .wst__inner{position:relative;z-index:1;max-width:1240px;margin:0 auto}

/* ── head ── */
.theme-site .wst__head{text-align:center;margin-bottom:clamp(2rem,4vw,3rem)}
.theme-site .wst__badge{
    display:inline-block;font-size:.7rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;
    color:var(--pri);background:rgba(26,86,219,.08);border:1px solid rgba(26,86,219,.18);
    padding:.42rem 1rem;border-radius:999px;margin-bottom:.9rem;
}
.theme-site .wst__title{
    font-size:clamp(1.7rem,3.4vw,2.5rem);font-weight:800;color:#0f2747;
    letter-spacing:-.02em;line-height:1.18;margin:0 0 .6rem;
}
.theme-site .wst__sub{font-size:.98rem;line-height:1.7;color:#5b6b85;max-width:62ch;margin:0 auto}

/* ── grid: 4 desktop / 3 tablet / 2 → 1 mobile, equal heights ── */
.theme-site .wst__grid{
    display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
    gap:clamp(1rem,1.8vw,1.4rem);align-items:stretch;
}
.theme-site .wst__card{
    position:relative;display:flex;flex-direction:column;height:100%;overflow:hidden;
    padding:1.6rem 1.35rem 1.5rem;border-radius:20px;
    background:linear-gradient(165deg,rgba(255,255,255,.92),rgba(244,248,255,.78));
    -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
    border:1px solid rgba(15,39,71,.07);
    box-shadow:0 10px 26px -18px rgba(15,39,71,.34);
    transition:transform .25s cubic-bezier(.4,0,.2,1),box-shadow .25s ease,border-color .25s ease;
}
/* animated blue top border */
.theme-site .wst__card::before{
    content:"";position:absolute;top:0;left:0;right:0;height:3px;transform:scaleX(0);transform-origin:center;
    background:linear-gradient(90deg,#1a56db,#3b82f6,#60a5fa);
    transition:transform .25s cubic-bezier(.4,0,.2,1);
}
.theme-site .wst__card:hover{
    transform:translateY(-6px);border-color:rgba(26,86,219,.2);
    box-shadow:0 26px 48px -22px rgba(15,39,71,.4);
}
.theme-site .wst__card:hover::before{transform:scaleX(1)}

.theme-site .wst__ico{
    display:inline-flex;align-items:center;justify-content:center;flex:none;
    width:50px;height:50px;border-radius:15px;margin-bottom:1rem;color:var(--pri);
    background:linear-gradient(150deg,rgba(26,86,219,.12),rgba(59,130,246,.07));
    border:1px solid rgba(26,86,219,.14);
    transition:transform .25s cubic-bezier(.4,0,.2,1),background .25s ease,color .25s ease;
}
.theme-site .wst__ico svg{width:25px;height:25px}
.theme-site .wst__card:hover .wst__ico{
    transform:scale(1.12);color:#fff;background:linear-gradient(150deg,#1a56db,#3b82f6);
}
.theme-site .wst__card-title{
    font-size:.95rem;font-weight:800;color:#0f2747;line-height:1.4;
    letter-spacing:-.01em;margin:0 0 .5rem;
}
.theme-site .wst__card-desc{font-size:.84rem;line-height:1.65;color:#5b6b85;margin:0}

/* ── bottom CTA ── */
.theme-site .wst__cta{text-align:center;margin-top:clamp(2.25rem,4vw,3.25rem)}
.theme-site .wst__cta-text{
    font-size:clamp(1.15rem,2.2vw,1.5rem);font-weight:800;color:#0f2747;
    letter-spacing:-.015em;margin:0 0 1.25rem;
}
.theme-site .wst__cta-actions{display:flex;flex-wrap:wrap;gap:.75rem;justify-content:center}
.theme-site .wst__btn{
    display:inline-flex;align-items:center;justify-content:center;gap:.55rem;
    padding:.82rem 1.65rem;border-radius:999px;font-size:.9rem;font-weight:700;
    text-decoration:none;white-space:nowrap;
    transition:transform .25s cubic-bezier(.4,0,.2,1),box-shadow .25s ease,background .25s ease,color .25s ease;
}
.theme-site .wst__btn svg{width:17px;height:17px;transition:transform .25s cubic-bezier(.4,0,.2,1)}
.theme-site .wst__btn--primary{
    color:#fff;background:linear-gradient(135deg,#1a56db,#3b82f6);
    box-shadow:0 14px 28px -14px rgba(26,86,219,.62);
}
.theme-site .wst__btn--primary:hover{transform:translateY(-2px);box-shadow:0 20px 36px -14px rgba(26,86,219,.7)}
.theme-site .wst__btn--primary:hover svg{transform:translateX(4px)}
.theme-site .wst__btn--ghost{
    color:var(--pri);background:#fff;border:1.5px solid rgba(26,86,219,.28);
}
.theme-site .wst__btn--ghost:hover{transform:translateY(-2px);background:rgba(26,86,219,.06);border-color:rgba(26,86,219,.45)}
.theme-site .wst__btn:focus-visible{outline:3px solid rgba(26,86,219,.35);outline-offset:3px}

/* ── responsive ── */
@media(max-width:1180px){ .theme-site .wst__grid{grid-template-columns:repeat(3,minmax(0,1fr))} }
@media(max-width:860px){  .theme-site .wst__grid{grid-template-columns:repeat(2,minmax(0,1fr))} }
@media(max-width:480px){
    .theme-site .wst__grid{grid-template-columns:1fr}
    .theme-site .wst__card{padding:1.35rem 1.15rem}
    .theme-site .wst__btn{width:100%}
}
@media(prefers-reduced-motion:reduce){
    .theme-site .wst__card,.theme-site .wst__card::before,.theme-site .wst__ico,
    .theme-site .wst__btn,.theme-site .wst__btn svg{transition:none!important}
    .theme-site .wst__card:hover{transform:none}
}

/* ═══════════════════════════════════════════════════════════════════════════
   MEET OUR EXPERT FACULTY  (.efac) — presentation only.
   Cards stay a single <a> to the existing /faculty/{code} route (no nested links);
   the "View Profile" pill is a styled span that fills on card hover.
   ═══════════════════════════════════════════════════════════════════════════ */
.theme-site .efac{
    position:relative;overflow:hidden;
    background:linear-gradient(180deg,#fff 0%,#f7faff 100%);
    padding:clamp(3.25rem,6vw,5rem) clamp(1rem,4vw,2.5rem);
}
.theme-site .efac__blob{position:absolute;border-radius:50%;filter:blur(80px);pointer-events:none;z-index:0}
.theme-site .efac__blob--a{width:440px;height:440px;top:-180px;right:-150px;background:rgba(26,86,219,.09)}
.theme-site .efac__blob--b{width:400px;height:400px;bottom:-170px;left:-140px;background:rgba(59,130,246,.08)}
.theme-site .efac__inner{position:relative;z-index:1;max-width:1240px;margin:0 auto}

.theme-site .efac__head{text-align:center;margin-bottom:clamp(2rem,4vw,2.85rem)}
.theme-site .efac__title{
    font-size:clamp(1.7rem,3.4vw,2.4rem);font-weight:800;color:#0f2747;
    letter-spacing:-.02em;line-height:1.2;margin:0 0 .6rem;
}
.theme-site .efac__sub{font-size:.98rem;line-height:1.7;color:#5b6b85;max-width:64ch;margin:0 auto}

/* ── grid: 5 desktop / 3 tablet / 1 mobile, equal heights ── */
.theme-site .efac__grid{
    display:grid;grid-template-columns:repeat(5,minmax(0,1fr));
    gap:clamp(.9rem,1.6vw,1.3rem);align-items:stretch;
}
.theme-site .efac__empty{grid-column:1/-1;text-align:center;color:#5b6b85;margin:0;padding:1.5rem 0}

.theme-site .efac__card{
    position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;
    height:100%;overflow:hidden;text-decoration:none;
    padding:1.9rem 1.1rem 1.5rem;border-radius:20px;
    background:linear-gradient(170deg,rgba(255,255,255,.95),rgba(244,248,255,.8));
    -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
    border:1px solid rgba(15,39,71,.07);
    box-shadow:0 12px 30px -20px rgba(15,39,71,.36);
    transition:transform .28s cubic-bezier(.4,0,.2,1),box-shadow .28s ease,border-color .28s ease;
}
/* blue accent line across the top */
.theme-site .efac__card::before{
    content:"";position:absolute;top:0;left:0;right:0;height:3px;transform:scaleX(0);transform-origin:center;
    background:linear-gradient(90deg,#1a56db,#3b82f6,#60a5fa);
    transition:transform .28s cubic-bezier(.4,0,.2,1);
}
.theme-site .efac__card:hover{
    transform:translateY(-7px);border-color:rgba(26,86,219,.22);
    box-shadow:0 30px 54px -24px rgba(15,39,71,.42);
}
.theme-site .efac__card:hover::before{transform:scaleX(1)}
.theme-site .efac__card:focus-visible{outline:3px solid rgba(26,86,219,.35);outline-offset:3px}
.theme-site .efac__card--skel{cursor:default}

/* photo — fixed square box + object-fit keeps every image undistorted */
.theme-site .efac__photo{
    position:relative;flex:none;width:118px;height:118px;border-radius:50%;overflow:hidden;
    margin-bottom:1rem;display:flex;align-items:center;justify-content:center;
    background:linear-gradient(150deg,#1a56db,#3b82f6);
    border:4px solid #fff;
    box-shadow:0 14px 30px -14px rgba(15,39,71,.5),0 0 0 1.5px rgba(26,86,219,.18);
    transition:box-shadow .28s ease;
}
.theme-site .efac__photo img{
    width:100%;height:100%;object-fit:cover;object-position:center top;display:block;
    transition:transform .45s cubic-bezier(.4,0,.2,1);
}
.theme-site .efac__card:hover .efac__photo img{transform:scale(1.09)}
.theme-site .efac__card:hover .efac__photo{box-shadow:0 18px 36px -14px rgba(15,39,71,.55),0 0 0 1.5px rgba(26,86,219,.32)}
.theme-site .efac__initials{font-family:var(--font);font-size:2.1rem;font-weight:800;color:#fff;letter-spacing:.02em}

.theme-site .efac__name{font-size:.98rem;font-weight:800;color:#0f2747;line-height:1.35;letter-spacing:-.01em;margin:0 0 .3rem}
.theme-site .efac__role{font-size:.78rem;font-weight:700;color:var(--pri);line-height:1.4;margin-bottom:.3rem}
.theme-site .efac__subjects{font-size:.75rem;line-height:1.55;color:#5b6b85;margin-bottom:.55rem}
.theme-site .efac__rating{display:inline-flex;align-items:center;gap:.35rem;font-size:.78rem;font-weight:700;color:#0f2747;margin-bottom:1rem}
.theme-site .efac__stars{color:#f59e0b;letter-spacing:.06em}

/* View Profile — outline pill that fills blue on card hover; pushed to the card foot */
.theme-site .efac__profile{
    margin-top:auto;display:inline-flex;align-items:center;justify-content:center;gap:.4rem;
    padding:.55rem 1.15rem;border-radius:999px;font-size:.8rem;font-weight:700;
    color:var(--pri);background:transparent;border:1.5px solid rgba(26,86,219,.35);
    transition:background .28s ease,color .28s ease,border-color .28s ease,box-shadow .28s ease;
}
.theme-site .efac__profile svg{width:15px;height:15px;transition:transform .28s cubic-bezier(.4,0,.2,1)}
.theme-site .efac__card:hover .efac__profile{
    color:#fff;border-color:transparent;background:linear-gradient(135deg,#1a56db,#3b82f6);
    box-shadow:0 10px 22px -12px rgba(26,86,219,.7);
}
.theme-site .efac__card:hover .efac__profile svg{transform:translateX(3px)}

/* ── bottom CTA ── */
.theme-site .efac__cta{text-align:center;margin-top:clamp(2rem,3.6vw,2.85rem)}
.theme-site .efac__all{
    position:relative;display:inline-flex;align-items:center;justify-content:center;gap:.55rem;
    padding:.92rem 2rem;border-radius:999px;font-size:.92rem;font-weight:700;
    color:#fff;text-decoration:none;background:linear-gradient(135deg,#1a56db,#3b82f6);
    box-shadow:0 16px 32px -14px rgba(26,86,219,.62);
    transition:transform .28s cubic-bezier(.4,0,.2,1),box-shadow .28s ease;
}
.theme-site .efac__all svg{width:17px;height:17px;transition:transform .28s cubic-bezier(.4,0,.2,1)}
/* soft glow ring that breathes out on hover */
.theme-site .efac__all::after{
    content:"";position:absolute;inset:-4px;border-radius:999px;pointer-events:none;
    background:radial-gradient(closest-side,rgba(59,130,246,.42),transparent 72%);
    opacity:0;transition:opacity .28s ease,transform .28s ease;transform:scale(.9);z-index:-1;
}
.theme-site .efac__all:hover{transform:translateY(-3px);box-shadow:0 24px 42px -14px rgba(26,86,219,.72)}
.theme-site .efac__all:hover::after{opacity:1;transform:scale(1.06)}
.theme-site .efac__all:hover svg{transform:translateX(4px)}
.theme-site .efac__all:focus-visible{outline:3px solid rgba(26,86,219,.35);outline-offset:3px}

/* ── responsive ── */
@media(max-width:1180px){ .theme-site .efac__grid{grid-template-columns:repeat(3,minmax(0,1fr))} }
@media(max-width:640px){
    .theme-site .efac__grid{grid-template-columns:1fr}
    .theme-site .efac__card{padding:1.6rem 1.1rem 1.35rem}
    .theme-site .efac__all{width:100%}
}
@media(prefers-reduced-motion:reduce){
    .theme-site .efac__card,.theme-site .efac__card::before,.theme-site .efac__photo,
    .theme-site .efac__photo img,.theme-site .efac__profile,.theme-site .efac__profile svg,
    .theme-site .efac__all,.theme-site .efac__all svg,.theme-site .efac__all::after{transition:none!important}
    .theme-site .efac__card:hover,.theme-site .efac__all:hover{transform:none}
}

/* ═══════════════════════════════════════════════════════════════════════════
   WHAT OUR STUDENTS SAY  (.tsti) — 3-up carousel, presentation only.
   Slide width is set here (3 / 2 / 1 per view); theme.js reads the same
   breakpoints to page the track. No animation library, no jQuery.
   ═══════════════════════════════════════════════════════════════════════════ */
.theme-site .tsti{
    position:relative;overflow:hidden;
    background:linear-gradient(180deg,#f6faff 0%,#eef4ff 55%,#f8fbff 100%);
    padding:clamp(3.25rem,6vw,5rem) clamp(1rem,4vw,2.5rem);
}
.theme-site .tsti__blob{position:absolute;border-radius:50%;filter:blur(84px);pointer-events:none;z-index:0}
.theme-site .tsti__blob--a{width:470px;height:470px;top:-200px;left:-160px;background:rgba(26,86,219,.12)}
.theme-site .tsti__blob--b{width:430px;height:430px;bottom:-190px;right:-150px;background:rgba(96,165,250,.14)}
.theme-site .tsti__inner{position:relative;z-index:1;max-width:1240px;margin:0 auto}

/* ── head + large decorative quotation mark ── */
.theme-site .tsti__head{text-align:center;margin-bottom:clamp(1.9rem,3.6vw,2.6rem)}
.theme-site .tsti__mark{
    width:54px;height:54px;display:block;margin:0 auto .75rem;
    color:rgba(26,86,219,.22);
}
.theme-site .tsti__title{
    font-size:clamp(1.7rem,3.4vw,2.4rem);font-weight:800;color:#0f2747;
    letter-spacing:-.02em;line-height:1.2;margin:0 0 .6rem;
}
.theme-site .tsti__sub{font-size:.98rem;line-height:1.7;color:#5b6b85;max-width:64ch;margin:0 auto}

/* ── carousel shell: arrows sit outside the viewport on desktop ── */
.theme-site .tsti__carousel{position:relative;padding:0 clamp(0px,3.4vw,56px)}
.theme-site .tsti__viewport{overflow:hidden;padding:.5rem .25rem 1rem}
.theme-site .tsti__track{
    display:flex;align-items:stretch;
    transition:transform .62s cubic-bezier(.4,0,.2,1);will-change:transform;
}
.theme-site .tsti__slide{
    flex:0 0 33.3333%;max-width:33.3333%;padding:0 .6rem;
    display:flex;box-sizing:border-box;
    transition:opacity .45s ease;
}
.theme-site .tsti__slide.is-out{opacity:.35}

/* ── card ── */
.theme-site .tsti__card{
    position:relative;display:flex;flex-direction:column;width:100%;
    padding:2rem 1.7rem 1.6rem;border-radius:22px;
    background:linear-gradient(168deg,rgba(255,255,255,.97),rgba(246,250,255,.9));
    -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
    border:1px solid rgba(15,39,71,.07);border-left:4px solid rgba(26,86,219,.55);
    box-shadow:0 16px 36px -22px rgba(15,39,71,.38);
    transition:transform .28s cubic-bezier(.4,0,.2,1),box-shadow .28s ease,border-color .28s ease;
}
.theme-site .tsti__card:hover{
    transform:translateY(-7px);border-left-color:#1a56db;
    box-shadow:0 34px 58px -26px rgba(15,39,71,.45);
}
.theme-site .tsti__quote{
    position:absolute;top:1.1rem;right:1.2rem;width:44px;height:44px;
    color:rgba(26,86,219,.13);pointer-events:none;
    transition:transform .35s cubic-bezier(.4,0,.2,1),color .35s ease;
}
.theme-site .tsti__card:hover .tsti__quote{transform:scale(1.16) rotate(-6deg);color:rgba(26,86,219,.22)}
.theme-site .tsti__stars{color:#f59e0b;font-size:.95rem;letter-spacing:.1em;margin-bottom:.85rem}
.theme-site .tsti__text{
    display:block;quotes:none;font-size:.92rem;line-height:1.75;color:#41506b;
    font-style:italic;margin:0 0 1.35rem;
}
.theme-site .tsti__text::before,.theme-site .tsti__text::after{content:""}

.theme-site .tsti__author{margin-top:auto;display:flex;align-items:center;gap:.8rem}
.theme-site .tsti__avatar{
    flex:none;width:46px;height:46px;border-radius:50%;
    display:inline-flex;align-items:center;justify-content:center;
    font-size:.88rem;font-weight:800;color:#fff;letter-spacing:.02em;
    border:2.5px solid #fff;box-shadow:0 8px 18px -8px rgba(15,39,71,.5);
    transition:transform .28s cubic-bezier(.4,0,.2,1);
}
.theme-site .tsti__card:hover .tsti__avatar{transform:scale(1.09)}
.theme-site .tsti__who{display:flex;flex-direction:column;min-width:0}
.theme-site .tsti__name{font-size:.9rem;font-weight:800;color:#0f2747;letter-spacing:-.01em}
.theme-site .tsti__meta{font-size:.76rem;color:#5b6b85;margin-top:.1rem}

/* ── arrows ── */
.theme-site .tsti__nav{
    position:absolute;top:50%;transform:translateY(-50%);z-index:2;
    width:44px;height:44px;border-radius:50%;cursor:pointer;
    display:inline-flex;align-items:center;justify-content:center;
    color:var(--pri);background:#fff;border:1px solid rgba(26,86,219,.18);
    box-shadow:0 12px 26px -14px rgba(15,39,71,.45);
    transition:background .25s ease,color .25s ease,transform .25s ease,box-shadow .25s ease;
}
.theme-site .tsti__nav svg{width:19px;height:19px}
.theme-site .tsti__nav--prev{left:0}
.theme-site .tsti__nav--next{right:0}
.theme-site .tsti__nav:hover{
    color:#fff;background:linear-gradient(135deg,#1a56db,#3b82f6);border-color:transparent;
    transform:translateY(-50%) scale(1.08);box-shadow:0 16px 30px -14px rgba(26,86,219,.7);
}
.theme-site .tsti__nav:focus-visible{outline:3px solid rgba(26,86,219,.35);outline-offset:3px}

/* ── dots ── */
.theme-site .tsti__dots{display:flex;justify-content:center;gap:.5rem;margin-top:.4rem}
.theme-site .tsti__dot{
    width:9px;height:9px;padding:0;border:none;border-radius:999px;cursor:pointer;
    background:rgba(26,86,219,.24);
    transition:width .32s cubic-bezier(.4,0,.2,1),background .32s ease;
}
.theme-site .tsti__dot.active{width:28px;background:linear-gradient(90deg,#1a56db,#3b82f6)}
.theme-site .tsti__dot:focus-visible{outline:3px solid rgba(26,86,219,.35);outline-offset:3px}

/* ── trust line ── */
.theme-site .tsti__trust{text-align:center;margin-top:clamp(1.75rem,3.2vw,2.4rem)}
.theme-site .tsti__trust-stars{display:block;color:#f59e0b;font-size:1.05rem;letter-spacing:.16em;margin-bottom:.5rem}
.theme-site .tsti__trust-text{font-size:.9rem;line-height:1.7;color:#5b6b85;max-width:60ch;margin:0 auto}

/* ── responsive: 3 → 2 → 1 (must stay in step with perView() in theme.js) ── */
@media(max-width:1023.98px){
    .theme-site .tsti__slide{flex-basis:50%;max-width:50%}
}
@media(max-width:639.98px){
    .theme-site .tsti__slide{flex-basis:100%;max-width:100%;padding:0 .35rem}
    .theme-site .tsti__carousel{padding:0}
    .theme-site .tsti__nav{width:38px;height:38px}
    .theme-site .tsti__nav--prev{left:-4px}
    .theme-site .tsti__nav--next{right:-4px}
    .theme-site .tsti__card{padding:1.7rem 1.3rem 1.35rem}
}
@media(prefers-reduced-motion:reduce){
    .theme-site .tsti__track{transition:none}
    .theme-site .tsti__slide{transition:none}
    .theme-site .tsti__card,.theme-site .tsti__quote,.theme-site .tsti__avatar,
    .theme-site .tsti__nav,.theme-site .tsti__dot{transition:none!important}
    .theme-site .tsti__card:hover{transform:none}
    .theme-site .tsti__slide.is-out{opacity:1}
}

/* ═══════════════════════════════════════════════════════════════════════════
   HOMEPAGE BLOG — "CA Exam Tips & Updates"  (.blg) — presentation only.
   Cards stay a single <a> to /blog/{slug}; "Read Article" is a styled span that
   fills on card hover (no nested anchors). ThemeBlogCard is untouched so the
   /blog listing page keeps its current look.
   ═══════════════════════════════════════════════════════════════════════════ */
.theme-site .blg{
    position:relative;overflow:hidden;
    background:linear-gradient(180deg,#fbfdff 0%,#f2f7ff 50%,#f8fbff 100%);
    padding:clamp(3.25rem,6vw,5rem) clamp(1rem,4vw,2.5rem);
}
.theme-site .blg__blob{position:absolute;border-radius:50%;filter:blur(84px);pointer-events:none;z-index:0}
.theme-site .blg__blob--a{width:450px;height:450px;top:-190px;right:-150px;background:rgba(26,86,219,.10)}
.theme-site .blg__blob--b{width:410px;height:410px;bottom:-180px;left:-140px;background:rgba(96,165,250,.10)}
/* subtle ledger/graph-paper pattern — reads as "finance" without any imagery */
.theme-site .blg__grid-bg{
    position:absolute;inset:0;pointer-events:none;z-index:0;opacity:.5;
    background-image:linear-gradient(rgba(26,86,219,.05) 1px,transparent 1px),
                     linear-gradient(90deg,rgba(26,86,219,.05) 1px,transparent 1px);
    background-size:52px 52px;
    -webkit-mask-image:radial-gradient(ellipse at 50% 40%,#000 25%,transparent 78%);
    mask-image:radial-gradient(ellipse at 50% 40%,#000 25%,transparent 78%);
}
.theme-site .blg__inner{position:relative;z-index:1;max-width:1240px;margin:0 auto}

/* ── head: copy left, View All right ── */
.theme-site .blg__head{
    display:flex;align-items:flex-end;justify-content:space-between;gap:1.5rem;flex-wrap:wrap;
    margin-bottom:clamp(1.9rem,3.6vw,2.6rem);
}
.theme-site .blg__head-copy{flex:1 1 420px;min-width:0}
.theme-site .blg__badge{
    display:inline-block;font-size:.7rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;
    color:var(--pri);background:rgba(26,86,219,.08);border:1px solid rgba(26,86,219,.18);
    padding:.42rem 1rem;border-radius:999px;margin-bottom:.85rem;
}
.theme-site .blg__title{
    font-size:clamp(1.7rem,3.4vw,2.4rem);font-weight:800;color:#0f2747;
    letter-spacing:-.02em;line-height:1.2;margin:0 0 .55rem;
}
.theme-site .blg__sub{font-size:.95rem;line-height:1.7;color:#5b6b85;max-width:62ch;margin:0}
.theme-site .blg__viewall{
    flex:none;display:inline-flex;align-items:center;gap:.5rem;
    padding:.72rem 1.4rem;border-radius:999px;font-size:.86rem;font-weight:700;
    color:var(--pri);text-decoration:none;background:#fff;border:1.5px solid rgba(26,86,219,.28);
    box-shadow:0 10px 24px -16px rgba(15,39,71,.4);
    transition:background .25s ease,color .25s ease,border-color .25s ease,transform .25s cubic-bezier(.4,0,.2,1),box-shadow .25s ease;
}
.theme-site .blg__viewall svg{width:16px;height:16px;transition:transform .25s cubic-bezier(.4,0,.2,1)}
.theme-site .blg__viewall:hover{
    color:#fff;border-color:transparent;background:linear-gradient(135deg,#1a56db,#3b82f6);
    transform:translateY(-2px);box-shadow:0 16px 30px -14px rgba(26,86,219,.65);
}
.theme-site .blg__viewall:hover svg{transform:translateX(4px)}

/* ── grid: 3 / 2 / 1, equal height ── */
.theme-site .blg__grid{
    display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
    gap:clamp(1.1rem,2vw,1.6rem);align-items:stretch;
}
.theme-site .blg__card{
    position:relative;display:flex;flex-direction:column;height:100%;overflow:hidden;
    text-decoration:none;border-radius:20px;
    background:linear-gradient(170deg,rgba(255,255,255,.96),rgba(245,249,255,.86));
    -webkit-backdrop-filter:blur(11px);backdrop-filter:blur(11px);
    border:1px solid rgba(15,39,71,.07);
    box-shadow:0 14px 34px -22px rgba(15,39,71,.38);
    transition:transform .25s cubic-bezier(.4,0,.2,1),box-shadow .25s ease,border-color .25s ease;
}
.theme-site .blg__card::before{
    content:"";position:absolute;top:0;left:0;right:0;height:3px;z-index:3;
    transform:scaleX(0);transform-origin:center;
    background:linear-gradient(90deg,#1a56db,#3b82f6,#60a5fa);
    transition:transform .25s cubic-bezier(.4,0,.2,1);
}
.theme-site .blg__card:hover{
    transform:translateY(-7px);border-color:rgba(26,86,219,.2);
    box-shadow:0 32px 56px -26px rgba(15,39,71,.45);
}
.theme-site .blg__card:hover::before{transform:scaleX(1)}
.theme-site .blg__card:focus-visible{outline:3px solid rgba(26,86,219,.35);outline-offset:3px}

/* ── media: locked 16:9, zoom on hover, gradient shade at the foot ── */
.theme-site .blg__media{
    position:relative;aspect-ratio:16/9;overflow:hidden;flex:none;
    border-radius:20px 20px 0 0;background:linear-gradient(150deg,#e8f0ff,#dbe7fb);
    display:flex;align-items:center;justify-content:center;
}
.theme-site .blg__media img{
    width:100%;height:100%;object-fit:cover;display:block;
    transition:transform .5s cubic-bezier(.4,0,.2,1);
}
.theme-site .blg__card:hover .blg__media img{transform:scale(1.08)}
.theme-site .blg__media-fallback{color:rgba(26,86,219,.42)}
.theme-site .blg__media-fallback svg{width:46px;height:46px}
.theme-site .blg__shade{
    position:absolute;left:0;right:0;bottom:0;height:56%;pointer-events:none;
    background:linear-gradient(to top,rgba(9,24,48,.55),rgba(9,24,48,0));
}
.theme-site .blg__chip{
    position:absolute;left:.9rem;bottom:.9rem;z-index:2;
    display:inline-block;max-width:calc(100% - 1.8rem);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
    padding:.34rem .8rem;border-radius:999px;
    font-size:.68rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#fff;
    background:linear-gradient(135deg,#1a56db,#3b82f6);
    box-shadow:0 8px 18px -8px rgba(26,86,219,.75);
}

/* ── body ── */
.theme-site .blg__body{display:flex;flex-direction:column;flex:1 1 auto;padding:1.35rem 1.35rem 1.4rem}
.theme-site .blg__kicker{
    font-size:.68rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;
    color:var(--pri);opacity:.85;margin-bottom:.5rem;
}
.theme-site .blg__card-title{
    font-size:1rem;font-weight:800;color:#0f2747;line-height:1.42;
    letter-spacing:-.01em;margin:0 0 .55rem;
    display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;
}
.theme-site .blg__card:hover .blg__card-title{color:#1a56db}
.theme-site .blg__excerpt{
    font-size:.86rem;line-height:1.7;color:#5b6b85;margin:0 0 .9rem;
    display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;
}
.theme-site .blg__meta{
    display:flex;flex-wrap:wrap;gap:.35rem .9rem;margin:auto 0 1.1rem;
    padding-top:.9rem;border-top:1px solid rgba(15,39,71,.07);
}
.theme-site .blg__meta-item{display:inline-flex;align-items:center;gap:.32rem;font-size:.75rem;color:#5b6b85}
.theme-site .blg__meta-item svg{width:14px;height:14px;color:var(--pri);opacity:.75;flex:none}

.theme-site .blg__read{
    align-self:flex-start;display:inline-flex;align-items:center;gap:.42rem;
    padding:.55rem 1.15rem;border-radius:999px;font-size:.8rem;font-weight:700;
    color:var(--pri);background:transparent;border:1.5px solid rgba(26,86,219,.35);
    transition:background .25s ease,color .25s ease,border-color .25s ease,box-shadow .25s ease;
}
.theme-site .blg__read svg{width:15px;height:15px;transition:transform .25s cubic-bezier(.4,0,.2,1)}
.theme-site .blg__card:hover .blg__read{
    color:#fff;border-color:transparent;background:linear-gradient(135deg,#1a56db,#3b82f6);
    box-shadow:0 10px 22px -12px rgba(26,86,219,.7);
}
.theme-site .blg__card:hover .blg__read svg{transform:translateX(3px)}

/* ── trust strip + bottom CTA ── */
.theme-site .blg__strip{
    text-align:center;font-size:.86rem;line-height:1.7;color:#5b6b85;
    max-width:62ch;margin:clamp(1.9rem,3.4vw,2.5rem) auto 0;
}
.theme-site .blg__cta{text-align:center;margin-top:1.25rem}
.theme-site .blg__all{
    position:relative;display:inline-flex;align-items:center;justify-content:center;gap:.55rem;
    padding:.92rem 2rem;border-radius:999px;font-size:.92rem;font-weight:700;
    color:#fff;text-decoration:none;background:linear-gradient(135deg,#1a56db,#3b82f6);
    box-shadow:0 16px 32px -14px rgba(26,86,219,.62);
    transition:transform .25s cubic-bezier(.4,0,.2,1),box-shadow .25s ease;
}
.theme-site .blg__all svg{width:17px;height:17px;transition:transform .25s cubic-bezier(.4,0,.2,1)}
.theme-site .blg__all:hover{transform:translateY(-3px);box-shadow:0 24px 42px -14px rgba(26,86,219,.72)}
.theme-site .blg__all:hover svg{transform:translateX(4px)}
.theme-site .blg__all:focus-visible,.theme-site .blg__viewall:focus-visible{outline:3px solid rgba(26,86,219,.35);outline-offset:3px}

/* ── responsive ── */
@media(max-width:1024px){
    .theme-site .blg__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .theme-site .blg__head{align-items:flex-start}
}
@media(max-width:640px){
    .theme-site .blg__grid{grid-template-columns:1fr}
    .theme-site .blg__viewall{width:100%;justify-content:center}
    .theme-site .blg__all{width:100%}
}
@media(prefers-reduced-motion:reduce){
    .theme-site .blg__card,.theme-site .blg__card::before,.theme-site .blg__media img,
    .theme-site .blg__read,.theme-site .blg__read svg,.theme-site .blg__all,
    .theme-site .blg__all svg,.theme-site .blg__viewall,.theme-site .blg__viewall svg{transition:none!important}
    .theme-site .blg__card:hover,.theme-site .blg__all:hover,.theme-site .blg__viewall:hover{transform:none}
    .theme-site .blg__card:hover .blg__media img{transform:none}
}

/* ═══════════════════════════════════════════════════════════════════════════
   VISIT US  (.visit) — dark navy panel, content left / embedded map right.
   The <iframe> src and the address are exactly as before; only the frame
   around them is new.
   ═══════════════════════════════════════════════════════════════════════════ */
.theme-site .visit{padding:clamp(2rem,4vw,3.25rem) clamp(1rem,4vw,2.5rem)}
.theme-site .visit__panel{
    position:relative;overflow:hidden;max-width:1240px;margin:0 auto;
    border-radius:28px;padding:clamp(1.75rem,3.6vw,3.25rem);
    background:linear-gradient(140deg,#16325f 0%,#122a52 45%,#0c1c38 100%);
    box-shadow:0 40px 80px -40px rgba(8,20,42,.75),0 0 0 1px rgba(96,165,250,.12);
}
.theme-site .visit__blob{position:absolute;border-radius:50%;filter:blur(80px);pointer-events:none;z-index:0}
.theme-site .visit__blob--a{
    width:420px;height:420px;top:-170px;right:-120px;background:rgba(59,130,246,.34);
    animation:visitFloatA 16s ease-in-out infinite;
}
.theme-site .visit__blob--b{
    width:360px;height:360px;bottom:-160px;left:-110px;background:rgba(26,86,219,.3);
    animation:visitFloatB 20s ease-in-out infinite;
}
@keyframes visitFloatA{0%,100%{transform:translate3d(0,0,0)}50%{transform:translate3d(-26px,22px,0)}}
@keyframes visitFloatB{0%,100%{transform:translate3d(0,0,0)}50%{transform:translate3d(24px,-20px,0)}}
/* faint ledger grid — finance texture, no imagery */
.theme-site .visit__grid-bg{
    position:absolute;inset:0;pointer-events:none;z-index:0;opacity:.55;
    background-image:linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),
                     linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px);
    background-size:56px 56px;
    -webkit-mask-image:radial-gradient(ellipse at 30% 20%,#000 10%,transparent 72%);
    mask-image:radial-gradient(ellipse at 30% 20%,#000 10%,transparent 72%);
}
.theme-site .visit__body{
    position:relative;z-index:1;
    display:grid;grid-template-columns:45% 55%;align-items:center;
    gap:clamp(1.75rem,3.4vw,3rem);
}

/* ── left ── */
.theme-site .visit__badge{
    display:inline-block;font-size:.68rem;font-weight:800;letter-spacing:.15em;text-transform:uppercase;
    color:#bcd4ff;background:rgba(96,165,250,.16);border:1px solid rgba(147,197,253,.28);
    padding:.4rem .95rem;border-radius:999px;margin-bottom:1rem;
}
.theme-site .visit__title{
    font-size:clamp(1.55rem,3vw,2.15rem);font-weight:800;color:#fff;
    letter-spacing:-.02em;line-height:1.22;margin:0 0 .5rem;
}
.theme-site .visit__lede{
    font-size:clamp(.95rem,1.5vw,1.05rem);font-weight:700;margin:0 0 1rem;
    background:linear-gradient(90deg,#93c5fd,#60a5fa);
    -webkit-background-clip:text;background-clip:text;color:transparent;
}
.theme-site .visit__text{font-size:.9rem;line-height:1.75;color:rgba(226,236,252,.78);margin:0 0 .8rem}

.theme-site .visit__contact{list-style:none;margin:1.35rem 0 1.6rem;padding:0;display:grid;gap:.85rem}
.theme-site .visit__row{display:flex;align-items:flex-start;gap:.8rem}
.theme-site .visit__ico{
    flex:none;width:36px;height:36px;border-radius:11px;
    display:inline-flex;align-items:center;justify-content:center;color:#93c5fd;
    background:rgba(96,165,250,.14);border:1px solid rgba(147,197,253,.22);
}
.theme-site .visit__ico svg{width:17px;height:17px}
.theme-site .visit__row-text{font-size:.86rem;line-height:1.65;color:rgba(226,236,252,.85)}
.theme-site .visit__row-text a{color:rgba(226,236,252,.85);text-decoration:none;transition:color .25s ease}
.theme-site .visit__row-text a:hover{color:#93c5fd;text-decoration:underline}

.theme-site .visit__actions{display:flex;flex-wrap:wrap;gap:.7rem}
.theme-site .visit__btn{
    display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
    padding:.85rem 1.65rem;border-radius:999px;font-size:.88rem;font-weight:700;
    text-decoration:none;white-space:nowrap;
    transition:transform .25s cubic-bezier(.4,0,.2,1),box-shadow .25s ease,background .25s ease,color .25s ease,border-color .25s ease;
}
.theme-site .visit__btn svg{width:16px;height:16px;transition:transform .25s cubic-bezier(.4,0,.2,1)}
.theme-site .visit__btn--primary{
    color:#fff;background:linear-gradient(135deg,#2563eb,#3b82f6);
    box-shadow:0 16px 32px -14px rgba(37,99,235,.85);
}
.theme-site .visit__btn--primary:hover{transform:translateY(-3px);box-shadow:0 24px 42px -14px rgba(37,99,235,.95)}
.theme-site .visit__btn--primary:hover svg{transform:translateX(4px)}
.theme-site .visit__btn--ghost{
    color:#e2ecfc;background:rgba(255,255,255,.07);border:1.5px solid rgba(147,197,253,.3);
    -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
}
.theme-site .visit__btn--ghost:hover{transform:translateY(-3px);background:rgba(255,255,255,.14);border-color:rgba(147,197,253,.55)}
.theme-site .visit__btn:focus-visible{outline:3px solid rgba(147,197,253,.6);outline-offset:3px}

/* ── right: map + floating glass card ── */
.theme-site .visit__mapwrap{position:relative}
.theme-site .visit__map{
    position:relative;overflow:hidden;border-radius:20px;
    aspect-ratio:16/10;
    border:1px solid rgba(147,197,253,.2);
    box-shadow:0 30px 60px -28px rgba(5,14,30,.9);
    transition:box-shadow .3s ease,transform .3s cubic-bezier(.4,0,.2,1);
}
.theme-site .visit__map:hover{transform:translateY(-3px);box-shadow:0 40px 76px -28px rgba(5,14,30,1)}
.theme-site .visit__map iframe{width:100%;height:100%;border:0;display:block}

.theme-site .visit__card{
    /* bottom offset clears Google's attribution strip — it must stay visible (Maps ToS) */
    position:absolute;left:1.15rem;bottom:2.6rem;z-index:2;max-width:280px;
    padding:1.05rem 1.15rem;border-radius:16px;
    background:rgba(255,255,255,.9);
    -webkit-backdrop-filter:blur(16px) saturate(150%);backdrop-filter:blur(16px) saturate(150%);
    border:1px solid rgba(255,255,255,.7);
    box-shadow:0 22px 44px -18px rgba(5,14,30,.6);
    animation:visitBob 6s ease-in-out infinite;
}
@keyframes visitBob{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}
.theme-site .visit__card-head{display:flex;align-items:center;gap:.5rem;margin-bottom:.5rem}
.theme-site .visit__card-pin{
    flex:none;width:26px;height:26px;border-radius:8px;color:#fff;
    display:inline-flex;align-items:center;justify-content:center;
    background:linear-gradient(135deg,#1a56db,#3b82f6);
}
.theme-site .visit__card-pin svg{width:14px;height:14px}
.theme-site .visit__card-name{font-size:.88rem;font-weight:800;color:#0f2747;letter-spacing:-.01em}
.theme-site .visit__card-addr{font-size:.76rem;line-height:1.6;color:#4a5b78;margin:0 0 .8rem}
.theme-site .visit__card-btn{
    display:inline-flex;align-items:center;gap:.4rem;
    padding:.5rem 1rem;border-radius:999px;font-size:.75rem;font-weight:700;
    color:#fff;text-decoration:none;background:linear-gradient(135deg,#1a56db,#3b82f6);
    box-shadow:0 10px 20px -10px rgba(26,86,219,.8);
    transition:transform .25s cubic-bezier(.4,0,.2,1),box-shadow .25s ease;
}
.theme-site .visit__card-btn svg{width:13px;height:13px}
.theme-site .visit__card-btn:hover{transform:translateY(-2px);box-shadow:0 16px 28px -10px rgba(26,86,219,.9)}
.theme-site .visit__card-btn:focus-visible{outline:3px solid rgba(26,86,219,.45);outline-offset:2px}

/* ── responsive ── */
@media(max-width:1024px){
    .theme-site .visit__body{grid-template-columns:1fr}   /* map drops below the copy */
    .theme-site .visit__map{aspect-ratio:16/9}
}
@media(max-width:640px){
    .theme-site .visit__panel{border-radius:22px}
    .theme-site .visit__btn{width:100%}
    .theme-site .visit__map{aspect-ratio:4/3}
    .theme-site .visit__card{position:static;max-width:none;margin-top:.9rem;animation:none}
}
@media(prefers-reduced-motion:reduce){
    .theme-site .visit__blob,.theme-site .visit__card{animation:none}
    .theme-site .visit__btn,.theme-site .visit__btn svg,.theme-site .visit__map,
    .theme-site .visit__card-btn{transition:none!important}
    .theme-site .visit__btn:hover,.theme-site .visit__map:hover,.theme-site .visit__card-btn:hover{transform:none}
}

/* ═══════════════════════════════════════════════════════════════════════════
   PREMIUM FOOTER  (.ftr) — presentation only. Newsletter markup keeps its
   existing Blazor bindings; every link target already existed.
   ═══════════════════════════════════════════════════════════════════════════ */
.theme-site .ftr{
    position:relative;overflow:hidden;margin-top:2rem;
    border-radius:32px 32px 0 0;
    background:linear-gradient(165deg,#0b132b 0%,#1c2541 48%,#243b7a 100%);
    padding:clamp(2.25rem,4vw,3.5rem) clamp(1rem,4vw,2.5rem) 0;
    color:rgba(226,236,252,.78);
}
.theme-site .ftr__blob{position:absolute;border-radius:50%;filter:blur(90px);pointer-events:none;z-index:0}
.theme-site .ftr__blob--a{width:460px;height:460px;top:-200px;right:-140px;background:rgba(59,130,246,.22)}
.theme-site .ftr__blob--b{width:400px;height:400px;bottom:-170px;left:-130px;background:rgba(26,86,219,.2)}
.theme-site .ftr__grid-bg{
    position:absolute;inset:0;pointer-events:none;z-index:0;opacity:.6;
    background-image:linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),
                     linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px);
    background-size:58px 58px;
    -webkit-mask-image:radial-gradient(ellipse at 50% 0%,#000 12%,transparent 70%);
    mask-image:radial-gradient(ellipse at 50% 0%,#000 12%,transparent 70%);
}
.theme-site .ftr__inner{position:relative;z-index:1;max-width:1240px;margin:0 auto}

/* ── newsletter card ── */
.theme-site .ftr__news{
    display:flex;align-items:center;justify-content:space-between;gap:clamp(1.25rem,3vw,2.5rem);
    flex-wrap:wrap;padding:clamp(1.5rem,3vw,2.15rem);border-radius:22px;
    background:linear-gradient(135deg,rgba(96,165,250,.14),rgba(255,255,255,.05));
    -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);
    border:1px solid rgba(147,197,253,.22);
    box-shadow:0 26px 52px -30px rgba(3,10,26,.9);
}
.theme-site .ftr__news-copy{flex:1 1 380px;min-width:0}
.theme-site .ftr__news-title{font-size:clamp(1.15rem,2.2vw,1.5rem);font-weight:800;color:#fff;letter-spacing:-.02em;margin:0 0 .4rem}
.theme-site .ftr__news-text{font-size:.86rem;line-height:1.7;color:rgba(226,236,252,.72);margin:0;max-width:58ch}
.theme-site .ftr__news-form{flex:0 1 460px;display:flex;gap:.6rem;min-width:0}
.theme-site .ftr__field{position:relative;flex:1 1 auto;min-width:0}
.theme-site .ftr__field-ico{
    position:absolute;left:1rem;top:50%;transform:translateY(-50%);
    width:17px;height:17px;color:rgba(147,197,253,.8);pointer-events:none;
}
.theme-site .ftr__news-form input{
    width:100%;height:52px;padding:0 1rem 0 2.75rem;border-radius:999px;
    font-family:var(--font);font-size:.88rem;color:#fff;
    background:rgba(9,20,42,.55);border:1.5px solid rgba(147,197,253,.24);
    transition:border-color .25s ease,box-shadow .25s ease,background .25s ease;
}
.theme-site .ftr__news-form input::placeholder{color:rgba(226,236,252,.45)}
.theme-site .ftr__news-form input:focus{
    outline:none;background:rgba(9,20,42,.75);border-color:rgba(147,197,253,.6);
    box-shadow:0 0 0 4px rgba(59,130,246,.18);
}
.theme-site .ftr__subscribe{
    flex:none;height:52px;padding:0 1.6rem;border:none;border-radius:999px;cursor:pointer;
    display:inline-flex;align-items:center;gap:.45rem;
    font-family:var(--font);font-size:.88rem;font-weight:700;color:#fff;
    background:linear-gradient(135deg,#2563eb,#3b82f6);background-size:180% 180%;
    box-shadow:0 16px 30px -14px rgba(37,99,235,.9);
    transition:transform .25s cubic-bezier(.4,0,.2,1),box-shadow .25s ease,background-position .4s ease;
}
.theme-site .ftr__subscribe svg{width:16px;height:16px;transition:transform .25s cubic-bezier(.4,0,.2,1)}
.theme-site .ftr__subscribe:hover:not(:disabled){
    transform:translateY(-2px);background-position:100% 0;
    box-shadow:0 22px 40px -14px rgba(59,130,246,1);
}
.theme-site .ftr__subscribe:hover:not(:disabled) svg{transform:translateX(4px)}
.theme-site .ftr__subscribe:disabled{opacity:.65;cursor:not-allowed}
.theme-site .ftr__news-done{display:inline-flex;align-items:center;gap:.5rem;font-size:.88rem;font-weight:700;color:#6ee7a8}
.theme-site .ftr__news-done svg{width:18px;height:18px}
.theme-site .ftr__news-msg{flex-basis:100%;font-size:.8rem;color:#fca5a5;margin-top:.6rem}

/* ── columns ── */
.theme-site .ftr__cols{
    display:grid;grid-template-columns:1.5fr 1fr 1fr 1.3fr;
    gap:clamp(1.5rem,3vw,2.5rem);
    padding:clamp(2rem,4vw,3rem) 0 0;
}
/* The official logo artwork has a solid white background, so on the dark footer it
   sits on a white plate rather than showing as a bare white rectangle. The logo
   itself is never recoloured, cropped or filtered. */
.theme-site .ftr__logo{
    display:inline-block;background:#fff;border-radius:12px;padding:.6rem .8rem;
    margin-bottom:1rem;box-shadow:0 10px 24px -14px rgba(3,10,26,.9);
}
.theme-site .ftr__logo img{max-height:42px;width:auto;display:block}
.theme-site .ftr__about{font-size:.84rem;line-height:1.75;color:rgba(226,236,252,.68);margin:0 0 1.25rem;max-width:42ch}

.theme-site .ftr__social{display:flex;flex-wrap:wrap;gap:.55rem}
.theme-site .ftr__soc{
    width:38px;height:38px;border-radius:50%;
    display:inline-flex;align-items:center;justify-content:center;
    color:rgba(226,236,252,.85);background:rgba(255,255,255,.07);
    border:1px solid rgba(147,197,253,.2);
    transition:transform .28s cubic-bezier(.4,0,.2,1),background .28s ease,color .28s ease,box-shadow .28s ease,border-color .28s ease;
}
.theme-site .ftr__soc svg{width:17px;height:17px}
.theme-site .ftr__soc:hover{
    color:#fff;background:linear-gradient(135deg,#1a56db,#3b82f6);border-color:transparent;
    transform:translateY(-3px) scale(1.1) rotate(-6deg);
    box-shadow:0 14px 26px -10px rgba(59,130,246,.9);
}
.theme-site .ftr__soc:focus-visible{outline:3px solid rgba(147,197,253,.65);outline-offset:3px}

.theme-site .ftr__h{
    font-size:.82rem;font-weight:800;color:#fff;letter-spacing:.06em;text-transform:uppercase;
    margin:0 0 1.05rem;position:relative;padding-bottom:.6rem;
}
.theme-site .ftr__h::after{
    content:"";position:absolute;left:0;bottom:0;width:30px;height:2.5px;border-radius:2px;
    background:linear-gradient(90deg,#3b82f6,#60a5fa);
}
.theme-site .ftr__list{list-style:none;margin:0;padding:0;display:grid;gap:.6rem}
.theme-site .ftr__list a{
    position:relative;display:inline-flex;align-items:center;gap:.4rem;
    font-size:.84rem;color:rgba(226,236,252,.7);text-decoration:none;
    transition:color .25s ease,transform .25s cubic-bezier(.4,0,.2,1);
}
/* blue underline that grows from the left */
.theme-site .ftr__list a::after{
    content:"";position:absolute;left:0;bottom:-3px;height:1.5px;width:100%;
    transform:scaleX(0);transform-origin:left;border-radius:2px;
    background:linear-gradient(90deg,#3b82f6,#60a5fa);
    transition:transform .28s cubic-bezier(.4,0,.2,1);
}
.theme-site .ftr__list a:hover{color:#fff}
.theme-site .ftr__list a:hover::after{transform:scaleX(1)}
.theme-site .ftr__list a:focus-visible{outline:3px solid rgba(147,197,253,.6);outline-offset:3px;border-radius:4px}
.theme-site .ftr__list--arrow a svg{
    width:12px;height:12px;flex:none;color:#60a5fa;opacity:.7;
    transition:transform .25s cubic-bezier(.4,0,.2,1),opacity .25s ease;
}
.theme-site .ftr__list--arrow a:hover svg{transform:translateX(3px);opacity:1}

/* contact column */
.theme-site .ftr__contact{list-style:none;margin:0 0 1.15rem;padding:0;display:grid;gap:.85rem}
.theme-site .ftr__contact li{display:flex;align-items:flex-start;gap:.65rem;font-size:.82rem;line-height:1.65;color:rgba(226,236,252,.7)}
.theme-site .ftr__cico{
    flex:none;width:30px;height:30px;border-radius:9px;
    display:inline-flex;align-items:center;justify-content:center;color:#93c5fd;
    background:rgba(96,165,250,.13);border:1px solid rgba(147,197,253,.2);
    transition:transform .25s ease,background .25s ease;
}
.theme-site .ftr__cico svg{width:15px;height:15px}
.theme-site .ftr__contact li:hover .ftr__cico{transform:scale(1.08);background:rgba(96,165,250,.24)}
.theme-site .ftr__contact a{color:rgba(226,236,252,.78);text-decoration:none;transition:color .25s ease}
.theme-site .ftr__contact a:hover{color:#93c5fd;text-decoration:underline}
.theme-site .ftr__dir{
    display:inline-flex;align-items:center;gap:.45rem;
    padding:.65rem 1.3rem;border-radius:999px;font-size:.82rem;font-weight:700;
    color:#fff;text-decoration:none;background:linear-gradient(135deg,#1a56db,#3b82f6);
    box-shadow:0 14px 28px -14px rgba(37,99,235,.9);
    transition:transform .25s cubic-bezier(.4,0,.2,1),box-shadow .25s ease;
}
.theme-site .ftr__dir svg{width:15px;height:15px;transition:transform .25s cubic-bezier(.4,0,.2,1)}
.theme-site .ftr__dir:hover{transform:translateY(-2px);box-shadow:0 20px 36px -14px rgba(59,130,246,1)}
.theme-site .ftr__dir:hover svg{transform:translateX(3px)}

/* ── franchisee strip ── */
.theme-site .ftr__franchise{
    display:flex;align-items:center;justify-content:center;gap:.6rem;text-align:center;
    margin-top:clamp(1.75rem,3vw,2.5rem);padding:.95rem 1.3rem;border-radius:16px;
    font-size:.84rem;font-weight:600;color:rgba(226,236,252,.82);text-decoration:none;
    background:rgba(255,255,255,.05);border:1px dashed rgba(147,197,253,.28);
    transition:background .25s ease,border-color .25s ease,color .25s ease,transform .25s cubic-bezier(.4,0,.2,1);
}
.theme-site .ftr__franchise svg{width:15px;height:15px;flex:none;transition:transform .25s cubic-bezier(.4,0,.2,1)}
.theme-site .ftr__franchise:hover{
    color:#fff;background:rgba(59,130,246,.14);border-color:rgba(147,197,253,.5);transform:translateY(-2px);
}
.theme-site .ftr__franchise:hover svg{transform:translateX(4px)}

/* ── payments ── */
.theme-site .ftr__pay{
    display:flex;flex-direction:column;align-items:center;gap:.95rem;
    margin-top:clamp(1.5rem,3vw,2rem);padding:1.6rem 0 1.4rem;
    border-top:1px solid rgba(147,197,253,.14);
}
.theme-site .ftr__pay-label{
    font-size:.78rem;font-weight:800;letter-spacing:.22em;text-transform:uppercase;
    color:rgba(226,236,252,.72);
}
.theme-site .ftr__pay-row{display:flex;flex-wrap:wrap;gap:16px;justify-content:center}
.theme-site .ftr__pay-card{
    display:inline-flex;align-items:center;justify-content:center;
    width:100px;height:58px;padding:11px 12px;border-radius:14px;
    background:rgba(255,255,255,.95);
    -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
    border:1px solid rgba(255,255,255,.65);
    box-shadow:0 10px 24px -12px rgba(3,10,26,.85);
    transition:transform .28s cubic-bezier(.4,0,.2,1),box-shadow .28s ease,border-color .28s ease;
}
/* Size from the HEIGHT and let width follow the ratio: a viewBox alone gives an
   <svg> no intrinsic size, so width:100%/height:auto collapses it to ~20px square.
   Each mark also carries explicit width/height attributes for the same reason.
   max-width then reins in the widest wordmarks; the ratio is never distorted. */
.theme-site .ftr__pay-svg{
    display:block;height:30px;width:auto;
    max-width:100%;
}
.theme-site .ftr__pay-card:hover{
    transform:translateY(-4px) scale(1.05);border-color:rgba(147,197,253,.9);
    box-shadow:0 20px 34px -12px rgba(3,10,26,.95),0 0 0 3px rgba(59,130,246,.28),0 0 22px rgba(59,130,246,.42);
}
.theme-site .ftr__secure{
    display:inline-flex;align-items:center;gap:.45rem;
    font-size:.76rem;font-weight:600;letter-spacing:.02em;color:rgba(226,236,252,.62);
}
.theme-site .ftr__secure svg{width:16px;height:16px;color:#6ee7a8}

/* ── bottom bar ── */
.theme-site .ftr__bottom{
    display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.75rem 1.25rem;
    padding:1.15rem 0 1.5rem;border-top:1px solid rgba(147,197,253,.14);
}
.theme-site .ftr__copy,.theme-site .ftr__made{font-size:.78rem;color:rgba(226,236,252,.55);margin:0}
.theme-site .ftr__made a{color:rgba(226,236,252,.75);text-decoration:none;font-weight:700;transition:color .25s ease}
.theme-site .ftr__made a:hover{color:#93c5fd;text-decoration:underline}
.theme-site .ftr__heart{color:#f87171;display:inline-block;animation:ftrBeat 2.4s ease-in-out infinite}
@keyframes ftrBeat{0%,100%{transform:scale(1)}18%{transform:scale(1.22)}36%{transform:scale(1)}}
.theme-site .ftr__legal{display:flex;flex-wrap:wrap;gap:.5rem 1.15rem}
.theme-site .ftr__legal a{
    position:relative;font-size:.78rem;color:rgba(226,236,252,.55);text-decoration:none;
    transition:color .25s ease;
}
.theme-site .ftr__legal a::after{
    content:"";position:absolute;left:0;bottom:-3px;height:1.5px;width:100%;
    transform:scaleX(0);transform-origin:left;border-radius:2px;
    background:linear-gradient(90deg,#3b82f6,#60a5fa);
    transition:transform .28s cubic-bezier(.4,0,.2,1);
}
.theme-site .ftr__legal a:hover{color:#fff}
.theme-site .ftr__legal a:hover::after{transform:scaleX(1)}
.theme-site .ftr__legal a:focus-visible{outline:3px solid rgba(147,197,253,.6);outline-offset:3px;border-radius:4px}

/* ── responsive: 4 → 2 → stacked/centred ── */
@media(max-width:1024px){
    .theme-site .ftr__cols{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px){
    .theme-site .ftr{border-radius:24px 24px 0 0}
    .theme-site .ftr__cols{grid-template-columns:1fr;text-align:center}
    .theme-site .ftr__logo{margin-inline:auto}
    .theme-site .ftr__about{margin-inline:auto}
    .theme-site .ftr__social{justify-content:center}
    .theme-site .ftr__h{padding-bottom:.7rem}
    .theme-site .ftr__h::after{left:50%;transform:translateX(-50%)}
    .theme-site .ftr__list{justify-items:center}
    .theme-site .ftr__contact li{flex-direction:column;align-items:center;gap:.4rem}
    .theme-site .ftr__news-form{flex-direction:column;flex-basis:100%}
    .theme-site .ftr__subscribe{width:100%;justify-content:center}
    .theme-site .ftr__bottom{justify-content:center;text-align:center}
    .theme-site .ftr__legal{justify-content:center}
    /* payments: 3 per row, then 2 on the narrowest phones */
    .theme-site .ftr__pay-row{gap:12px}
    .theme-site .ftr__pay-card{width:calc((100% - 24px)/3);max-width:110px;height:56px}
}
@media(max-width:380px){
    .theme-site .ftr__pay-card{width:calc((100% - 12px)/2);max-width:none}
}
@media(prefers-reduced-motion:reduce){
    .theme-site .ftr__heart{animation:none}
    .theme-site .ftr__soc,.theme-site .ftr__subscribe,.theme-site .ftr__subscribe svg,
    .theme-site .ftr__dir,.theme-site .ftr__dir svg,.theme-site .ftr__pay-card,
    .theme-site .ftr__franchise,.theme-site .ftr__franchise svg,
    .theme-site .ftr__list a,.theme-site .ftr__list a::after,
    .theme-site .ftr__legal a::after,.theme-site .ftr__cico{transition:none!important}
    .theme-site .ftr__soc:hover,.theme-site .ftr__subscribe:hover:not(:disabled),
    .theme-site .ftr__dir:hover,.theme-site .ftr__franchise:hover{transform:none}
    .theme-site .ftr__pay-card:hover{transform:none;box-shadow:0 10px 24px -12px rgba(3,10,26,.85)}
}

/* ── Store / Courses: themed filter bar, facets, pagination ── */
.theme-site .cat-row .cat-btn{font-family:var(--font)}
/* native <button> reset — exclude .active so the theme's blue active bg still wins */
.theme-site .cat-row .cat-btn:not(.active){background:var(--white)}
.theme-site .store-filters{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center;margin:0 0 1rem}
.theme-site .store-search{flex:1;min-width:220px;display:flex;align-items:center;gap:.5rem;background:var(--white);border:1.5px solid var(--border);border-radius:var(--radius);padding:.55rem .85rem}
.theme-site .store-search svg{color:var(--text3);flex-shrink:0}
.theme-site .store-search input{border:none;outline:none;background:none;font-family:var(--font);font-size:.85rem;width:100%;color:var(--text)}
.theme-site .store-select{background:var(--white);border:1.5px solid var(--border);border-radius:var(--radius);padding:.55rem .85rem;font-family:var(--font);font-size:.82rem;color:var(--text);cursor:pointer;outline:none;min-width:150px}
.theme-site .store-select:focus,.theme-site .store-search:focus-within{border-color:var(--pri)}
.theme-site .spec-facets{display:flex;flex-direction:column;gap:8px;margin:0 0 1rem}
.theme-site .spec-facet{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.theme-site .spec-facet__label{font-size:.78rem;font-weight:600;color:var(--text2);min-width:90px}
.theme-site .spec-facet__chip{display:inline-flex;align-items:center;gap:6px;font-size:.78rem;padding:4px 10px;border:1px solid var(--border);border-radius:999px;cursor:pointer;background:#fff;color:var(--text2)}
.theme-site .spec-facet__chip.active{border-color:var(--pri);background:var(--prig);color:var(--pri)}
.theme-site .spec-facet__chip input{margin:0}
.theme-site .pagination{display:flex;gap:.35rem;justify-content:center;flex-wrap:wrap;margin-top:2rem}
.theme-site .pg-btn{min-width:36px;height:36px;padding:0 .6rem;border:1.5px solid var(--border);background:var(--white);border-radius:var(--radius);font-size:.8rem;font-weight:600;color:var(--text2);cursor:pointer;font-family:var(--font);transition:.2s}
.theme-site .pg-btn:hover:not(:disabled){border-color:var(--pri);color:var(--pri)}
.theme-site .pg-btn.active{background:var(--pri);color:#fff;border-color:var(--pri)}
.theme-site .pg-btn:disabled{opacity:.5;cursor:not-allowed}
.theme-site .store-empty{text-align:center;grid-column:1/-1;color:var(--text3);padding:2rem 0}

/* ── Course Detail: the theme has no course-detail design, so the existing premium
   storefront page (markup + logic) is retained and only its brand palette is retuned
   to the theme — blue price + Buy Now + active tab tie into the themed blue nav and
   the blue product prices used on Home/Store; Add-to-Cart stays orange = theme accent.
   Higher specificity than the page's inline <style>, so nothing in the page is edited. */
.theme-site .product-detail__price{color:var(--pri)}
.theme-site .pd-buybox .btn-secondary{background:var(--pri);box-shadow:0 10px 22px -10px rgba(26,86,219,.5)}
.theme-site .pd-buybox .btn-secondary:hover{background:var(--pri2);box-shadow:0 14px 26px -10px rgba(26,86,219,.7)}
.theme-site .pd-main .tab-btn.active{color:var(--pri)}
.theme-site .pd-main .tab-btn.active::after{background:var(--pri)}
.theme-site .pd--2col .breadcrumb a:hover{color:var(--pri)}
.theme-site .pd-title{font-family:var(--font)}
.theme-site .detail-tile span,.theme-site .bp-card__title,.theme-site .pd-includes h4{font-family:var(--font)}

/* ── Auth pages (Login / Register / Forgot) — theme .auth-box ── */
.theme-site .auth-wrap{padding:3rem 1.5rem;background:var(--bg);min-height:62vh;display:flex;align-items:flex-start;justify-content:center}
.theme-site .auth-box .auth-tab{background:none;font-family:var(--font);border-top:none;border-left:none;border-right:none}
.theme-site .auth-box .fg{margin-bottom:.9rem}
.theme-site .auth-box .btn-block{margin-top:.4rem}
.theme-site .auth-head{margin-bottom:1.1rem}
.theme-site .auth-head h3{font-size:1.15rem;font-weight:800;margin-bottom:.15rem}
.theme-site .auth-head p{font-size:.8rem;color:var(--text3)}
.theme-site .auth-pwrow{display:flex;justify-content:space-between;align-items:baseline;gap:.5rem}
.theme-site .auth-forgot{font-size:.72rem;font-weight:600;color:var(--pri);text-decoration:none}
.theme-site .auth-forgot:hover{text-decoration:underline}
.theme-site .pw-wrap{position:relative;display:flex;align-items:center}
.theme-site .pw-wrap input{width:100%;padding-right:40px}
.theme-site .pw-eye{position:absolute;right:8px;width:30px;height:30px;display:flex;align-items:center;justify-content:center;border:none;background:none;color:var(--text3);cursor:pointer;border-radius:6px}
.theme-site .pw-eye:hover{color:var(--pri);background:var(--bg2)}
.theme-site .pw-eye svg{width:17px;height:17px}
.theme-site .pw-eye .ico-eyeoff{display:none}
.theme-site .pw-eye.is-visible .ico-eye{display:none}
.theme-site .pw-eye.is-visible .ico-eyeoff{display:block}
.theme-site .auth-alert{background:rgba(220,38,38,.06);color:var(--red);padding:.7rem 1rem;border-radius:var(--radius);font-size:.8rem;margin-bottom:1rem;border:1px solid rgba(220,38,38,.18)}
.theme-site .dup-toast{background:rgba(220,38,38,.05);border:1px solid rgba(220,38,38,.22);border-radius:var(--radius);padding:.9rem 1rem;margin-bottom:1rem;display:flex;gap:.7rem}
.theme-site .dup-toast__ico{flex:none;width:32px;height:32px;border-radius:50%;background:rgba(220,38,38,.12);color:var(--red);display:inline-flex;align-items:center;justify-content:center;font-weight:800}
.theme-site .dup-toast__title{font-weight:800;color:var(--red);font-size:.85rem;margin-bottom:2px}
.theme-site .dup-toast__msg{font-size:.78rem;color:var(--text2);line-height:1.5}
.theme-site .dup-toast__actions{display:flex;gap:.4rem;margin-top:.6rem;flex-wrap:wrap}
.theme-site .dup-toast__actions a{display:inline-flex;align-items:center;gap:.3rem;padding:.4rem .7rem;border-radius:var(--radius);font-weight:700;font-size:.72rem;text-decoration:none;border:1px solid rgba(220,38,38,.3)}
.theme-site .dup-btn-login{background:var(--red);color:#fff;border-color:var(--red)}
.theme-site .dup-btn-forgot{background:#fff;color:var(--red)}
.theme-site .dup-field-msg{font-size:.72rem;font-weight:700;margin-top:4px}
.theme-site .dup-field-msg--ok{color:var(--green)}
.theme-site .dup-field-msg--bad{color:var(--red)}

/* ── Cart: the app's cart is richer than the theme's simple cart, so it's retained
   and its brand palette aligned to the theme (blue prices + checkout tie into the
   themed nav & product prices; orange stays the accent). Higher specificity than
   app.css so markup/logic are untouched. ── */
.theme-site .cart-pro__item-price,.theme-site .cart-pro__total-value{color:var(--pri)}
.theme-site .cart-pro__title,.theme-site .cart-pro__summary-head h3{color:var(--text);font-family:var(--font)}
.theme-site .cart-pro__item-title:hover,.theme-site .cart-pro__continue:hover,.theme-site .cart-reco__name:hover{color:var(--pri)}
.theme-site .cart-pro__checkout{background:var(--pri);box-shadow:0 12px 26px -10px rgba(26,86,219,.55)}
.theme-site .cart-pro__checkout:hover{background:var(--pri2)}
.theme-site .cart-pro__coupon-apply{background:var(--pri)}
.theme-site .cart-pro__btn--primary{background:var(--pri)}
.theme-site .cart-pro__btn--primary:hover{background:var(--pri2)}

/* ── Checkout: critical payment page retained as-is; only its brand palette is
   aligned to the theme (navy --co-primary → theme blue; primary CTAs, step indicator
   and input focus → blue; orange stays the accent). Higher specificity than the page's
   inline styles, so no markup/logic is touched. ── */
.theme-site .checkout-v2{--co-primary:#1a56db}
.theme-site .checkout-v2 .co-cta{background:linear-gradient(135deg,var(--pri),var(--pri2));box-shadow:0 14px 28px -12px rgba(26,86,219,.5)}
.theme-site .checkout-v2 .co-cta:hover{box-shadow:0 18px 34px -12px rgba(26,86,219,.6)}
.theme-site .checkout-v2 .co-step.active .co-step__num{background:linear-gradient(135deg,var(--pri),var(--pri2));border-color:#c3d4f7;box-shadow:0 6px 14px -6px rgba(26,86,219,.5)}
.theme-site .checkout-v2 .co-input:focus{border-color:var(--pri);box-shadow:0 0 0 3px var(--prig);background:#fff}

/* ══════════════════════════════════════════════════════════════════════════
   PREMIUM HEADER — presentation only. No markup logic, routes, auth or
   handlers are affected; this restyles the existing .topbar / .nav elements.
   All motion is CSS; only an is-scrolled class toggle comes from theme.js.
   ══════════════════════════════════════════════════════════════════════════ */

/* ── TOP BAR ─────────────────────────────────────────────────────────── */
.theme-site .topbar{
    height:42px;padding:0 clamp(1rem,3vw,2rem);
    background:linear-gradient(90deg,#0f3fb8 0%,#1a56db 45%,#2f6fe4 100%);
    display:flex;align-items:center;justify-content:space-between;gap:1rem;
    font-size:.74rem;color:rgba(255,255,255,.88);position:relative;z-index:1001;
}
.theme-site .topbar-left,.theme-site .topbar-right{display:flex;align-items:center;gap:1.05rem;min-width:0}
.theme-site .tb-item{
    display:inline-flex;align-items:center;gap:.4rem;color:#fff;font-weight:500;white-space:nowrap;
    transition:color .25s ease,text-shadow .25s ease,transform .25s ease,opacity .25s ease;
}
.theme-site .topbar a.tb-item:hover{color:#fff;text-shadow:0 0 12px rgba(255,255,255,.7);transform:translateY(-1px)}
.theme-site .tb-ico{width:13px;height:13px;flex:none;opacity:.92;transition:transform .25s ease,opacity .25s ease}
.theme-site .topbar a.tb-item:hover .tb-ico{opacity:1;transform:scale(1.12)}
.theme-site .tb-sep{width:1px;height:16px;background:rgba(255,255,255,.22);flex:none}
.theme-site .tb-social{
    width:25px;height:25px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;
    background:rgba(255,255,255,.13);color:#fff;flex:none;
    transition:background .25s ease,transform .25s ease,box-shadow .25s ease;
}
.theme-site .tb-social svg{width:13px;height:13px}
.theme-site .tb-social:hover{background:rgba(255,255,255,.3);transform:translateY(-2px);box-shadow:0 0 14px rgba(255,255,255,.45)}
.theme-site .tb-item--user{
    background:rgba(255,255,255,.14);padding:.28rem .7rem;border-radius:999px;font-weight:600;
}
.theme-site .tb-item--user:hover{background:rgba(255,255,255,.26)}

/* ── HEADER SHELL: glassmorphism + sticky + scroll shrink ────────────── */
.theme-site .nav{
    position:sticky;top:0;z-index:1000;
    background:rgba(255,255,255,.86);
    -webkit-backdrop-filter:blur(16px) saturate(180%);
    backdrop-filter:blur(16px) saturate(180%);
    border-bottom:1px solid rgba(15,23,42,.05);
    box-shadow:0 8px 30px rgba(0,0,0,.06);
    transition:background .25s ease,box-shadow .25s ease,border-color .25s ease;
}
.theme-site .nav.is-scrolled{
    background:rgba(255,255,255,.95);
    box-shadow:0 10px 34px rgba(0,0,0,.09);
    border-bottom-color:rgba(15,23,42,.07);
}
.theme-site .nav-inner{
    max-width:1320px;margin:0 auto;height:72px;padding:0 clamp(1rem,3vw,2rem);
    display:flex;align-items:center;gap:1rem;
    transition:height .25s cubic-bezier(.4,0,.2,1);
}
.theme-site .nav.is-scrolled .nav-inner{height:64px}

/* ── LOGO ────────────────────────────────────────────────────────────── */
.theme-site .nav-logo{display:flex;align-items:center;flex:none}
.theme-site .nav-logo img{
    height:48px;width:auto;display:block;
    transition:transform .25s cubic-bezier(.34,1.56,.64,1),height .3s cubic-bezier(.4,0,.2,1);
}
.theme-site .nav-logo:hover img{transform:scale(1.03)}
.theme-site .nav.is-scrolled .nav-logo img{height:40px}

/* ── NAVIGATION LINKS ────────────────────────────────────────────────── */
/* centered navigation — logo left, nav centered, actions right */
.theme-site .nav-links{flex:1;display:flex;align-items:center;justify-content:center;gap:36px}
.theme-site .nav-links>a,.theme-site .dropdown-trigger{
    position:relative;display:inline-flex;align-items:center;gap:.45rem;
    font-family:var(--font);font-size:16px;font-weight:600;letter-spacing:.2px;
    color:#24324B;padding:.5rem .6rem;border-radius:10px;border-bottom:none;
    transition:color .25s ease,transform .25s ease,background .25s ease;
}
.theme-site .nav-ico{width:17px;height:17px;flex:none;opacity:.75;transition:opacity .25s ease,transform .25s ease}
.theme-site .nav-caret{width:14px;height:14px;flex:none;opacity:.6;transition:transform .25s ease,opacity .25s ease}

/* underline — grows from the centre, 3px, rounded */
.theme-site .nav-links>a::after,.theme-site .dropdown-trigger::after{
    content:'';position:absolute;left:.35rem;right:.35rem;bottom:-.55rem;height:3px;border-radius:3px;
    background:linear-gradient(90deg,var(--pri),#3b82f6);
    transform:scaleX(0);transform-origin:center;
    transition:transform .25s cubic-bezier(.4,0,.2,1);
}
.theme-site .nav-links>a:hover,.theme-site .dropdown-trigger:hover{
    color:var(--pri);transform:translateY(-2px);background:rgba(26,86,219,.055);
}
.theme-site .nav-links>a:hover .nav-ico,.theme-site .dropdown-trigger:hover .nav-ico{opacity:1;transform:rotate(-6deg)}
.theme-site .dropdown:hover .nav-caret{transform:rotate(180deg);opacity:1}
.theme-site .nav-links>a:hover::after,.theme-site .dropdown-trigger:hover::after{transform:scaleX(1)}

/* active — blue, semi-bold, permanent underline with a soft glow pulse */
.theme-site .nav-links>a.active,.theme-site .dropdown-trigger.active{color:var(--pri);font-weight:600;background:transparent;border-bottom:none}
.theme-site .nav-links>a.active .nav-ico,.theme-site .dropdown-trigger.active .nav-ico{opacity:1}
.theme-site .nav-links>a.active::after,.theme-site .dropdown-trigger.active::after{
    transform:scaleX(1);animation:navGlow 2.8s ease-in-out infinite;
}
@keyframes navGlow{
    0%,100%{box-shadow:0 0 0 rgba(26,86,219,0)}
    50%{box-shadow:0 0 10px rgba(26,86,219,.55)}
}

/* keyboard accessibility — visible focus ring on every interactive header control */
.theme-site .nav-links>a:focus-visible,.theme-site .dropdown-trigger:focus-visible,
.theme-site .nav-icon:focus-visible,.theme-site .nav-cta:focus-visible,
.theme-site .header__user:focus-visible,.theme-site .header__chip:focus-visible,
.theme-site .hamburger:focus-visible,.theme-site .dropdown-menu a:focus-visible,
.theme-site .topbar a:focus-visible{
    outline:2px solid var(--pri);outline-offset:3px;border-radius:10px;
}

/* ── DROPDOWN: fade + slide ──────────────────────────────────────────── */
.theme-site .dropdown-menu{
    display:block;opacity:0;visibility:hidden;transform:translateY(-8px);pointer-events:none;
    min-width:260px;margin-top:.75rem;padding:.5rem;border-radius:20px;
    background:rgba(255,255,255,.97);
    -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
    border:1px solid rgba(15,23,42,.07);
    box-shadow:0 24px 56px -22px rgba(15,23,42,.4);
    transition:opacity .25s ease,transform .25s cubic-bezier(.4,0,.2,1),visibility .25s ease;
    animation:none;
}
.theme-site .dropdown:hover .dropdown-menu,.theme-site .dropdown:focus-within .dropdown-menu{
    opacity:1;visibility:visible;transform:translateY(0);pointer-events:auto;
}
.theme-site .dropdown-menu a{
    display:block;padding:.55rem .8rem;border-radius:9px;font-size:.82rem;font-weight:500;color:#475569;
    transition:background .2s ease,color .2s ease,padding-left .2s ease;
}
.theme-site .dropdown-menu a:hover{background:var(--prig);color:var(--pri);padding-left:1rem}

/* ── RIGHT SIDE: search / wishlist / cart icons ──────────────────────── */
.theme-site .nav-right{display:flex;align-items:center;gap:.4rem;flex:none}
/* circular glass action buttons (search / wishlist / cart) */
.theme-site .nav-icon{
    width:42px;height:42px;border-radius:50%;position:relative;
    display:inline-flex;align-items:center;justify-content:center;
    color:#24324B;cursor:pointer;
    background:rgba(255,255,255,.6);
    -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
    border:1px solid rgba(15,23,42,.08);
    transition:background .25s ease,color .25s ease,border-color .25s ease,transform .25s cubic-bezier(.34,1.56,.64,1),box-shadow .25s ease;
}
.theme-site .nav-icon:hover{
    background:#fff;color:var(--pri);border-color:var(--pri);
    transform:translateY(-2px) scale(1.05);
    box-shadow:0 10px 22px -10px rgba(26,86,219,.55);
}
.theme-site .nav-icon svg{transition:transform .25s cubic-bezier(.34,1.56,.64,1),fill .25s ease}
.theme-site .nav-icon:hover svg{transform:rotate(-8deg)}
/* wishlist heart fills on hover */
.theme-site .nav-icon[data-tip="Wishlist"] svg{fill:transparent}
.theme-site .nav-icon[data-tip="Wishlist"]:hover svg{fill:currentColor;transform:scale(1.1)}
/* cart lifts without rotating */
.theme-site .nav-icon[data-tip="Cart"]:hover svg{transform:translateY(-1px) scale(1.06)}

/* premium notification badges + pulse */
.theme-site .nav-badge{
    position:absolute;top:1px;right:1px;min-width:18px;height:18px;padding:0 4px;
    border-radius:9px;display:flex;align-items:center;justify-content:center;
    background:linear-gradient(135deg,#ef4444,#dc2626);color:#fff;
    font-size:9.5px;font-weight:800;line-height:1;
    box-shadow:0 2px 6px rgba(220,38,38,.5),0 0 0 2px #fff;
    animation:navBadgePop .45s cubic-bezier(.34,1.56,.64,1);
}
.theme-site .nav-badge::after{
    content:'';position:absolute;inset:0;border-radius:inherit;
    background:linear-gradient(135deg,#ef4444,#dc2626);z-index:-1;
    animation:navBadgePulse 2.6s cubic-bezier(.4,0,.2,1) infinite;
}
@keyframes navBadgePop{0%{transform:scale(0)}60%{transform:scale(1.25)}100%{transform:scale(1)}}
@keyframes navBadgePulse{0%{transform:scale(1);opacity:.55}70%,100%{transform:scale(2);opacity:0}}

/* CSS tooltips (replaces native title popups) */
.theme-site [data-tip]::before{
    content:attr(data-tip);position:absolute;top:calc(100% + 9px);left:50%;
    transform:translateX(-50%) translateY(-4px);
    background:#0f172a;color:#fff;font-size:.66rem;font-weight:600;letter-spacing:.01em;
    padding:.32rem .58rem;border-radius:7px;white-space:nowrap;
    opacity:0;pointer-events:none;z-index:70;
    box-shadow:0 8px 20px -8px rgba(15,23,42,.5);
    transition:opacity .22s ease,transform .22s ease;
}
.theme-site [data-tip]:hover::before{opacity:1;transform:translateX(-50%) translateY(0)}
.theme-site .topbar [data-tip]::before{top:calc(100% + 6px)}

/* ── QUICK SEARCH FIELD ──────────────────────────────────────────────── */
.theme-site .nav-right .header__search{display:flex;align-items:center;position:relative}
.theme-site .nav-right .header__search-input{
    width:0;opacity:0;padding:0;margin:0;height:38px;border:1.5px solid transparent;
    background:var(--bg2);border-radius:999px;outline:none;
    font-family:var(--font);font-size:.82rem;color:var(--text);
    transition:width .32s cubic-bezier(.4,0,.2,1),opacity .25s ease,padding .3s ease,border-color .25s ease,box-shadow .25s ease;
}
.theme-site .nav-right .header__search.is-open .header__search-input{
    width:clamp(150px,20vw,230px);opacity:1;padding:0 1rem;border-color:var(--pri);
    box-shadow:0 0 0 3px var(--prig);background:#fff;
}

/* ── LOGIN CTA: pill + gradient + shine ──────────────────────────────── */
.theme-site .nav-cta{
    position:relative;overflow:hidden;display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
    height:44px;padding:0 28px;border-radius:999px;
    font-family:var(--font);font-size:.9rem;font-weight:700;letter-spacing:.2px;color:#fff;
    background:linear-gradient(135deg,#1a56db 0%,#3b82f6 55%,#2563eb 100%);
    background-size:200% 100%;background-position:0% 50%;
    box-shadow:0 8px 22px -8px rgba(26,86,219,.6);
    transition:transform .25s cubic-bezier(.34,1.56,.64,1),box-shadow .25s ease,background-position .45s ease;
}
.theme-site .nav-cta svg{width:17px;height:17px;flex:none}
.theme-site .nav-cta:hover{
    transform:translateY(-2px) scale(1.04);background-position:100% 50%;
    box-shadow:0 16px 30px -8px rgba(26,86,219,.75);
}
.theme-site .nav-cta:active{transform:translateY(0) scale(.98)}
.theme-site .nav-cta::after{
    content:'';position:absolute;top:0;left:-60%;width:40%;height:100%;
    background:linear-gradient(105deg,transparent,rgba(255,255,255,.45),transparent);
    transform:skewX(-20deg);transition:left .6s ease;
}
.theme-site .nav-cta:hover::after{left:130%}

/* logged-in chips keep the same rhythm as the icon buttons */
.theme-site .nav-right .header__chip{border-radius:999px;transition:transform .25s ease,box-shadow .25s ease}
.theme-site .nav-right .header__chip:hover{transform:translateY(-2px)}

/* ── HAMBURGER + MOBILE MENU ─────────────────────────────────────────── */
.theme-site .hamburger{
    width:42px;height:42px;border-radius:12px;align-items:center;justify-content:center;
    transition:background .25s ease;
}
.theme-site .hamburger:hover{background:var(--prig)}
.theme-site .hamburger span{
    width:20px;height:2px;background:#334155;border-radius:2px;display:block;
    transition:transform .3s cubic-bezier(.4,0,.2,1),opacity .25s ease,background .25s ease;
}
.theme-site .hamburger.is-open span:nth-child(1){transform:translateY(6px) rotate(45deg);background:var(--pri)}
.theme-site .hamburger.is-open span:nth-child(2){opacity:0}
.theme-site .hamburger.is-open span:nth-child(3){transform:translateY(-6px) rotate(-45deg);background:var(--pri)}
.theme-site .mob-menu{
    display:flex;opacity:0;visibility:hidden;transform:translateY(-14px);pointer-events:none;
    top:72px;padding:1rem clamp(1rem,4vw,1.5rem) 1.25rem;
    background:rgba(255,255,255,.97);
    -webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);
    border-bottom:1px solid rgba(15,23,42,.07);
    box-shadow:0 24px 44px -20px rgba(15,23,42,.4);
    transition:opacity .3s ease,transform .3s cubic-bezier(.4,0,.2,1),visibility .3s ease,top .3s ease;
    animation:none;
}
.theme-site .nav.is-scrolled + .mob-menu{top:64px}
.theme-site .mob-menu.show{opacity:1;visibility:visible;transform:translateY(0);pointer-events:auto}
.theme-site .mob-menu a{
    padding:.7rem .5rem;font-size:.88rem;font-weight:500;color:#475569;border-bottom:1px solid var(--bg2);
    border-radius:8px;transition:color .2s ease,background .2s ease,padding-left .2s ease;
}
.theme-site .mob-menu a:hover{color:var(--pri);background:var(--prig);padding-left:.9rem}

/* ── RESPONSIVE ──────────────────────────────────────────────────────── */
@media(max-width:1180px){
    .theme-site .nav-links{gap:24px}                       /* tablet spacing */
    .theme-site .nav-links>a,.theme-site .dropdown-trigger{font-size:15px;padding:.5rem .45rem}
    .theme-site .nav-cta{padding:0 20px}
}
@media(max-width:1024px){
    .theme-site .nav-links{gap:18px}
    .theme-site .nav-ico{display:none}                     /* labels only, keeps one row */
    .theme-site .topbar-left .tb-item--mail{display:none}
}
@media(max-width:768px){
    /* Re-stated here because this file loads after theme.css: without these, the base
       rules above would keep the desktop bar/links visible on phones. */
    .theme-site .topbar{display:none}
    .theme-site .nav-links{display:none}
    .theme-site .hamburger{display:inline-flex}
    .theme-site .nav-inner{height:62px}
    .theme-site .nav.is-scrolled .nav-inner{height:58px}
    .theme-site .nav-logo img{height:38px}
    .theme-site .nav.is-scrolled .nav-logo img{height:34px}
    .theme-site .mob-menu,.theme-site .nav.is-scrolled + .mob-menu{top:64px}
    .theme-site .nav-right{gap:.15rem}
    .theme-site .nav-icon{width:38px;height:38px}
    .theme-site .nav-right .header__search{display:none}   /* search lives in the mobile menu */
    .theme-site .nav-cta{padding:.5rem 1rem;font-size:.78rem}
}
/* Narrow phones: collapse the CTA to an icon-only pill so the logo, icons and the
   hamburger always fit on one row (no clipping, no layout shift). */
@media(max-width:600px){
    .theme-site .nav-cta span{display:none}
    .theme-site .nav-cta{padding:.6rem .75rem}
    .theme-site .nav-cta svg{width:16px;height:16px}
    .theme-site .nav-right{gap:.1rem}
    .theme-site .nav-icon{width:36px;height:36px}
}

/* ── SIGNED-IN USER: avatar + name + glass dropdown ──────────────────────
   Name and initials are rendered from ClaimTypes.Name (= users.FullName in the
   database) by the existing markup — styling only, nothing is hardcoded. */
.theme-site .nav-right .header__profile{position:relative;display:flex;align-items:center}
.theme-site .header__user{
    display:inline-flex;align-items:center;gap:.55rem;
    padding:.3rem .7rem .3rem .3rem;border-radius:999px;cursor:pointer;
    background:rgba(255,255,255,.7);border:1px solid rgba(15,23,42,.09);
    font-family:var(--font);
    transition:background .25s ease,border-color .25s ease,box-shadow .25s ease,transform .25s cubic-bezier(.34,1.56,.64,1);
}
.theme-site .header__user:hover{
    background:#fff;border-color:rgba(26,86,219,.35);
    box-shadow:0 8px 20px -10px rgba(26,86,219,.45);transform:translateY(-1px);
}
.theme-site .header__user.is-open{background:#fff;border-color:var(--pri);box-shadow:0 0 0 3px var(--prig)}

/* avatar — initials circle (the app's convention when no avatar image exists) */
.theme-site .header__avatar{
    position:relative;width:34px;height:34px;border-radius:50%;flex:none;
    display:inline-flex;align-items:center;justify-content:center;
    background:linear-gradient(135deg,#1a56db,#3b82f6);
    box-shadow:0 2px 8px -2px rgba(26,86,219,.6);
    transition:transform .25s cubic-bezier(.34,1.56,.64,1);
}
.theme-site .header__user:hover .header__avatar{transform:scale(1.06)}
.theme-site .header__avatar-txt{color:#fff;font-size:.72rem;font-weight:800;letter-spacing:.02em;line-height:1}
.theme-site .header__avatar img{width:100%;height:100%;border-radius:50%;object-fit:cover}
.theme-site .header__status{
    position:absolute;right:-1px;bottom:-1px;width:10px;height:10px;border-radius:50%;
    background:#22c55e;border:2px solid #fff;
}
.theme-site .header__avatar--lg{width:44px;height:44px}
.theme-site .header__avatar--lg .header__avatar-txt{font-size:.92rem}

/* name — 600 weight, ellipsis only when very long (native title shows the full name) */
.theme-site .header__user-name{
    font-size:.84rem;font-weight:600;color:#1e293b;line-height:1.2;
    max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.theme-site .header__user-caret{width:14px;height:14px;color:#94a3b8;flex:none;transition:transform .28s cubic-bezier(.4,0,.2,1),color .25s ease}
.theme-site .header__user:hover .header__user-caret{color:var(--pri)}
.theme-site .header__user.is-open .header__user-caret{transform:rotate(180deg);color:var(--pri)}

/* dropdown — glassmorphism panel */
.theme-site .header__menu-backdrop{position:fixed;inset:0;z-index:90}
.theme-site .header__menu{
    position:absolute;top:calc(100% + .6rem);right:0;z-index:100;min-width:264px;padding:.5rem;
    background:rgba(255,255,255,.92);
    -webkit-backdrop-filter:blur(18px) saturate(180%);backdrop-filter:blur(18px) saturate(180%);
    border:1px solid rgba(15,23,42,.08);border-radius:16px;
    box-shadow:0 28px 60px -24px rgba(15,23,42,.45),0 2px 8px rgba(15,23,42,.06);
    animation:hdrMenuIn .24s cubic-bezier(.4,0,.2,1) both;
}
@keyframes hdrMenuIn{from{opacity:0;transform:translateY(-8px) scale(.98)}to{opacity:1;transform:none}}
.theme-site .header__menu-head{
    display:flex;align-items:center;gap:.7rem;padding:.7rem .75rem .8rem;
    border-bottom:1px solid rgba(15,23,42,.07);margin-bottom:.4rem;
}
.theme-site .header__menu-id{display:flex;flex-direction:column;gap:.1rem;min-width:0}
.theme-site .header__menu-name{font-size:.86rem;font-weight:700;color:#0f172a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.theme-site .header__menu-role{font-size:.68rem;font-weight:600;color:var(--pri);background:var(--prig);padding:.1rem .45rem;border-radius:999px;align-self:flex-start}
.theme-site .header__menu-item{
    display:flex;align-items:center;gap:.6rem;width:100%;
    padding:.6rem .75rem;border-radius:10px;border:none;background:none;cursor:pointer;
    font-family:var(--font);font-size:.82rem;font-weight:500;color:#475569;text-align:left;
    transition:background .2s ease,color .2s ease,padding-left .2s ease;
}
.theme-site .header__menu-item svg{width:16px;height:16px;flex:none;color:#94a3b8;transition:color .2s ease}
.theme-site .header__menu-item:hover{background:var(--prig);color:var(--pri);padding-left:.95rem}
.theme-site .header__menu-item:hover svg{color:var(--pri)}
.theme-site .header__menu-count{margin-left:auto;font-size:.66rem;font-weight:800;color:#fff;background:var(--pri);border-radius:999px;min-width:18px;height:18px;display:inline-flex;align-items:center;justify-content:center;padding:0 5px}
.theme-site .header__menu-sep{height:1px;background:rgba(15,23,42,.07);margin:.4rem .2rem}
.theme-site .header__menu-item--danger{color:#dc2626}
.theme-site .header__menu-item--danger svg{color:#f87171}
.theme-site .header__menu-item--danger:hover{background:rgba(220,38,38,.08);color:#b91c1c}
.theme-site .header__menu-item--danger:hover svg{color:#dc2626}

/* ── ADMIN / FRANCHISE CHIP: gradient pill ───────────────────────────── */
.theme-site .nav-right .header__chip{
    display:inline-flex;align-items:center;gap:.4rem;
    padding:.5rem 1rem;border-radius:999px;border:none;
    font-family:var(--font);font-size:.78rem;font-weight:700;color:#fff;
    background:linear-gradient(135deg,#0f172a,#1e293b);
    box-shadow:0 6px 16px -8px rgba(15,23,42,.7);
    transition:transform .25s cubic-bezier(.34,1.56,.64,1),box-shadow .25s ease,filter .25s ease;
}
.theme-site .nav-right .header__chip svg{width:14px;height:14px;flex:none}
.theme-site .nav-right .header__chip:hover{transform:translateY(-2px);box-shadow:0 12px 24px -8px rgba(15,23,42,.8);filter:brightness(1.15)}
.theme-site .nav-right .header__chip::after{content:none}

@media(max-width:900px){
    .theme-site .header__user-name{display:none}   /* avatar-only on tablets */
    .theme-site .header__user{padding:.3rem}
    .theme-site .nav-right .header__chip span{display:none}
}

/* ── ACCESSIBILITY: honour reduced-motion ────────────────────────────── */
@media(prefers-reduced-motion:reduce){
    .theme-site .nav,.theme-site .nav-inner,.theme-site .nav-logo img,.theme-site .nav-links>a,
    .theme-site .dropdown-trigger,.theme-site .dropdown-menu,.theme-site .nav-icon,.theme-site .nav-icon svg,
    .theme-site .nav-cta,.theme-site .mob-menu,.theme-site .hamburger span,.theme-site .tb-item,
    .theme-site .tb-social,.theme-site [data-tip]::before{transition:none!important}
    .theme-site .nav-badge,.theme-site .nav-badge::after{animation:none!important}
    .theme-site .nav-cta::after{display:none}
}
