/* ==========================================================================
   Ennam College of Nursing — inner pages (all pages other than the home page)
   Sections 1-12 hold the pieces shared by several pages; the rest is grouped
   by menu section, one block per page, each naming the LearnPro template page
   it is designed after. Design tokens are defined at the top of style.css.
   ========================================================================== */

/* 1. Page banner (LearnPro "page title" banner) ----------------------------- */
.page-hero {
    position: relative; isolation: isolate; overflow: hidden;
    display: flex; align-items: flex-end;
    min-height: clamp(340px, 58vh, 560px);
    color: #fff; background: var(--brand-950);
}
.page-hero--compact { min-height: clamp(300px, 44vh, 440px); }
.page-hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.page-hero__img { width: 100%; height: 112%; object-fit: cover; object-position: 50% 50%; transform-origin: 50% 40%; }
.page-hero__media::after {
    content: ""; position: absolute; inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 14, 38, .94) 0%, rgba(5, 14, 38, .74) 45%, rgba(5, 14, 38, .35) 100%),
        linear-gradient(0deg, rgba(5, 14, 38, .85) 0%, rgba(5, 14, 38, 0) 55%);
}
.page-hero--center .page-hero__media::after {
    background: radial-gradient(120% 90% at 50% 100%, rgba(5, 14, 38, .5), rgba(5, 14, 38, .9) 70%), rgba(5, 14, 38, .35);
}
.page-hero::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; z-index: 3;
    background: linear-gradient(90deg, transparent, var(--gold-500) 30%, var(--gold-300) 50%, var(--gold-500) 70%, transparent);
}
.page-hero__mark {
    position: absolute; right: -90px; bottom: -110px; z-index: -1; width: 420px; height: 420px;
    opacity: .07; filter: grayscale(1) brightness(3); pointer-events: none; animation: fx-turn 160s linear infinite;
}
.page-hero__inner { position: relative; z-index: 4; padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2.5rem, 5vw, 4rem); }
@media (max-width: 767.98px) { .page-hero { min-height: 0; } .page-hero__inner { padding-block: 2.25rem 2.25rem; } }
.page-hero--center .page-hero__inner { text-align: center; }
.page-hero--center .page-hero__inner > * { margin-inline: auto; }
.page-hero__crumbs ol {
    display: inline-flex; flex-wrap: wrap; align-items: center; gap: .35rem; margin: 0 0 1.25rem; padding: .4rem 1rem; list-style: none;
    border-radius: 999px; font-size: .8rem; font-weight: 600; letter-spacing: .04em;
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.page-hero__crumbs li { display: inline-flex; align-items: center; gap: .35rem; color: rgba(255, 255, 255, .7); }
.page-hero__crumbs li + li::before { content: "\ea6e"; font-family: "remixicon"; font-size: .95rem; color: var(--gold-400); }
.page-hero__crumbs a { color: #fff; }
.page-hero__crumbs a:hover { color: var(--gold-300); }
.page-hero__crumbs [aria-current] { color: var(--gold-300); }
.page-hero__eyebrow { display: block; margin-bottom: .6rem; font-size: .76rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-400); }
.page-hero__title {
    max-width: 900px; margin: 0 0 1rem;
    font-family: var(--font-display); font-weight: 560; line-height: 1.05; letter-spacing: -.025em;
    font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4.5rem); color: #fff; text-wrap: balance;
}
.page-hero__title em { font-style: italic; font-weight: 480; color: var(--gold-400); }
.page-hero__lead { max-width: 660px; margin: 0; font-size: clamp(1rem, .95rem + .3vw, 1.15rem); line-height: 1.7; color: rgba(255, 255, 255, .84); }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.6rem 0 0; padding: 0; list-style: none; }
.page-hero--center .page-hero__meta, .page-hero--center .page-hero__actions { justify-content: center; }
.page-hero__meta li {
    display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .95rem; border-radius: 999px;
    font-size: .86rem; font-weight: 600; color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2);
}
.page-hero__meta i { color: var(--gold-400); font-size: 1.05rem; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.75rem; }
.page-hero__grid { display: grid; gap: 2rem; align-items: end; }
@media (min-width: 992px) { .page-hero__grid { grid-template-columns: 1fr 340px; gap: 3rem; } }
.page-hero__aside { padding: 1.4rem 1.5rem; border-radius: 22px; color: #fff; }
.page-hero__aside h2 { margin: 0 0 .9rem; font-family: var(--font-display); font-weight: 560; font-size: 1.35rem; color: #fff; }
.page-hero__aside dl { display: grid; gap: .6rem; margin: 0; }
.page-hero__aside dl div { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .6rem; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.page-hero__aside dl div:last-child { border-bottom: 0; padding-bottom: 0; }
.page-hero__aside dt { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .65); }
.page-hero__aside dd { margin: 0; font-weight: 700; text-align: right; }

/* 2. Section navigation and previous/next links (built by npm run sync) ----- */
/* Pages of the same menu section */
.secnav {
    position: sticky; top: var(--sticky-h); z-index: 990;
    background: rgba(255, 255, 255, .94); border-bottom: 1px solid var(--line);
    -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
    box-shadow: 0 10px 24px -20px rgba(10, 26, 69, .5);
    transition: top .45s var(--ease-out);
}
@media (max-width: 1199.98px) { .header-hidden .secnav { top: 0; } }
.secnav__inner { display: flex; align-items: center; gap: 1.25rem; }
.secnav__label {
    display: none; flex: none; align-items: center; gap: .6rem; padding-right: 1.25rem; border-right: 1px solid var(--line);
    font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-700);
}
.secnav__label::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad-gold); }
@media (min-width: 1200px) { .secnav__label { display: inline-flex; } }
.secnav__list {
    position: relative; flex: 1; display: flex; gap: .35rem; min-width: 0; margin: 0; padding: .55rem 0; list-style: none;
    overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent); mask-image: linear-gradient(90deg, #000 90%, transparent);
}
.secnav__list::-webkit-scrollbar { display: none; }
@media (min-width: 1200px) { .secnav__list { -webkit-mask-image: none; mask-image: none; } }
.secnav__list a {
    display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .95rem; border-radius: 999px; white-space: nowrap;
    font-size: .86rem; font-weight: 700; color: var(--ink-600); transition: color .3s, background-color .3s, box-shadow .3s;
}
.secnav__list a i { font-size: 1.05rem; color: var(--brand-500); transition: color .3s; }
.secnav__list a:hover { color: var(--brand-800); background: var(--brand-50); }
.secnav__list a[aria-current="page"] { color: #fff; background: var(--grad-royal); box-shadow: 0 10px 20px -12px rgba(26, 79, 184, .9); }
.secnav__list a[aria-current="page"] i { color: var(--gold-400); }
html:has(.secnav) { scroll-padding-top: calc(var(--sticky-h) + 76px); }

/* Previous / next page */
.pager { padding-block: clamp(28px, 3.5vw, 48px) 0; background: #fff; }
.pager__inner { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
@media (min-width: 768px) { .pager__inner { gap: 1.25rem; } }
.pager__link {
    position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: .3rem; min-height: 96px;
    padding: 1.1rem 1.25rem; border-radius: 22px; color: var(--brand-950); background: var(--paper); border: 1px solid var(--line);
    transition: background-color .45s, border-color .3s, box-shadow .45s var(--ease-out), transform .45s var(--ease-out);
}
.pager__link--next { align-items: flex-end; text-align: right; }
.pager__link::before {
    content: ""; position: absolute; inset: 0; z-index: 0; background: var(--grad-night); opacity: 0;
    transition: opacity .45s var(--ease-out);
}
.pager__link > * { position: relative; z-index: 1; }
.pager__dir { display: inline-flex; align-items: center; gap: .45rem; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-700); transition: color .3s, gap .4s var(--ease-out); }
.pager__link strong { font-family: var(--font-display); font-weight: 560; font-size: clamp(1rem, .9rem + .6vw, 1.35rem); line-height: 1.25; transition: color .3s; }
.pager__link:hover { color: #fff; border-color: transparent; box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.pager__link:hover::before { opacity: 1; }
.pager__link:hover .pager__dir { color: var(--gold-400); gap: .7rem; }
.pager__link:hover strong { color: #fff; }
.pager__link.is-empty { visibility: hidden; }
@media (max-width: 575.98px) { .pager__link { min-height: 84px; padding: .9rem 1rem; } }

/* 3. Shared inner-page pieces -------------------------------------------------- */
.section--paper { background: var(--paper); }
.section--cream { background: var(--cream); }
.section--night { color: rgba(255, 255, 255, .82); background: var(--grad-night); overflow: hidden; }
.section--night .section-title { color: #fff; }
.section--night .section-title em { color: var(--gold-400); -webkit-text-fill-color: var(--gold-400); background: none; }
.section-head--left { margin-left: 0; text-align: left; }
.prose p { color: var(--ink-700); }
.prose p:last-child { margin-bottom: 0; }
.figure-round { position: relative; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.figure-round img { width: 100%; height: 100%; object-fit: cover; }
.tick-list { display: grid; gap: .65rem; list-style: none; margin: 0; padding: 0; }
.tick-list li { position: relative; padding-left: 2rem; line-height: 1.55; }
.tick-list li::before {
    content: "\eb7b"; font-family: "remixicon"; position: absolute; left: 0; top: .05em;
    display: grid; place-items: center; width: 1.35rem; height: 1.35rem; border-radius: 50%;
    font-size: .85rem; color: #fff; background: var(--grad-royal);
}
.tick-list--2 { column-gap: 2rem; }
@media (min-width: 768px) { .tick-list--2 { grid-template-columns: 1fr 1fr; } }
.icon-pill { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 16px; font-size: 1.45rem; color: var(--brand-600); background: var(--brand-50); }
.icon-pill--gold { color: var(--brand-950); background: var(--grad-gold); box-shadow: 0 12px 24px -12px rgba(217, 174, 43, .9); }
.icon-pill--night { color: var(--gold-400); background: var(--grad-night); }
.callout {
    display: flex; gap: 1rem; align-items: flex-start; margin-top: 1.5rem; padding: 1.1rem 1.25rem; border-radius: 18px;
    background: var(--cream); border: 1px solid #F1E7C8; color: var(--ink-700);
}
.callout i { flex: none; font-size: 1.4rem; color: var(--gold-700); line-height: 1.3; }
.callout p { margin: 0; }
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.chip-row li { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .95rem; border-radius: 999px; font-size: .88rem; font-weight: 600; color: var(--brand-800); background: #fff; border: 1px solid var(--brand-100); box-shadow: var(--shadow-sm); }
.chip-row i { color: var(--brand-500); }

/* 4. Intro with photos, promo card, counters band, people cards ------------- */
.about-intro { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (min-width: 992px) { .about-intro { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; } }
@media (min-width: 1200px) { .about-intro { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 3.25rem; } }
.about-intro__content { min-width: 0; }
.about-intro__content .section-title { max-width: 18ch; margin: .45rem 0 1.25rem; font-size: clamp(1.9rem, 1.2rem + 1.7vw, 2.7rem); }
.about-intro__content .prose { max-width: 68ch; }
.about-intro__content .prose p:last-child { margin-bottom: 0; }
.about-intro__media { position: relative; width: 100%; padding: 0 10% 14% 0; }
.about-intro__main { aspect-ratio: 4 / 3.3; }
.about-intro__small { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); border: 6px solid #fff; box-shadow: var(--shadow-lg); }
.about-intro__small img { width: 100%; height: 100%; object-fit: cover; }
.about-intro__year {
    position: absolute; left: -10px; top: 12%; display: grid; place-items: center; align-content: center;
    width: 112px; height: 112px; border-radius: 50%; text-align: center; color: var(--brand-950); background: var(--grad-gold);
    box-shadow: 0 18px 36px -14px rgba(217, 174, 43, .9); animation: fx-float 6s ease-in-out infinite;
}
.about-intro__year strong { font-family: var(--font-display); font-size: 1.9rem; line-height: 1; }
.about-intro__year span { font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
@keyframes fx-float { 50% { transform: translateY(-10px); } }
.promo-card {
    position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end;
    min-height: 320px; padding: 1.75rem; border-radius: var(--radius-lg); color: #fff; box-shadow: var(--shadow-lg);
}
@media (min-width: 992px) {
    .about-intro .promo-card { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px, .42fr); grid-template-rows: auto auto 1fr; align-content: center; gap: 0 1rem; min-height: 250px; margin-top: .25rem; padding: 2rem clamp(2rem, 5vw, 4rem); }
    .about-intro .promo-card__kicker { grid-column: 1; grid-row: 1; }
    .about-intro .promo-card__title { grid-column: 1; grid-row: 2; margin-bottom: .4rem; }
    .about-intro .promo-card__link { grid-column: 1; grid-row: 3; align-self: start; margin-top: .5rem; }
    .about-intro .promo-card__value { grid-column: 2; grid-row: 1 / 4; align-self: center; justify-self: center; text-align: center; }
}
@media (max-width: 991.98px) { .about-intro__media, .about-intro__content { width: 100%; max-width: 720px; margin-inline: auto; } }
@media (max-width: 575.98px) { .about-intro .promo-card { min-height: 300px; padding: 1.4rem; } }
.promo-card > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.promo-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 14, 38, .94) 0%, rgba(10, 26, 69, .76) 58%, rgba(10, 26, 69, .4) 100%); }
.promo-card:hover > img { transform: scale(1.06); }
.promo-card__kicker { font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-300); }
.promo-card__title { margin: .35rem 0 .2rem; font-family: var(--font-display); font-weight: 560; font-size: 1.6rem; color: #fff; }
.promo-card__value { margin: 0; font-family: var(--font-display); font-size: 3.6rem; line-height: 1; color: var(--gold-400); }
.promo-card__value small { display: block; margin-top: .35rem; font-family: var(--font-sans); font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.promo-card__link { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1rem; font-weight: 700; color: #fff; text-decoration: underline; text-decoration-color: var(--gold-400); text-underline-offset: 5px; }
.promo-card__link:hover { color: var(--gold-300); }

.funfacts { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(56px, 7vw, 96px); color: #fff; background: var(--brand-950); }
.funfacts__bg { position: absolute; inset: -10% 0; z-index: -2; }
.funfacts__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.funfacts::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(5, 14, 38, .92), rgba(14, 42, 107, .82)); }
.funfacts__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; list-style: none; margin: 0; padding: 0; text-align: center; }
@media (min-width: 992px) { .funfacts__grid { grid-template-columns: repeat(4, 1fr); } }
.funfact i { display: inline-grid; place-items: center; width: 68px; height: 68px; margin-bottom: 1rem; border-radius: 50%; font-size: 1.9rem; color: var(--gold-400); border: 1.5px solid rgba(249, 230, 90, .45); }
.funfact strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(2.4rem, 1.8rem + 2vw, 3.4rem); line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.funfact > span { display: block; margin-top: .6rem; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }

.people-grid { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .people-grid { grid-template-columns: repeat(3, 1fr); } }
.person-card {
    position: relative; display: block; overflow: hidden; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line);
    box-shadow: var(--shadow-sm); color: var(--ink-900); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.person-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: var(--ink-900); }
.person-card__portrait { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3.2; overflow: hidden; background: var(--grad-night); }
.person-card__portrait::before { content: ""; position: absolute; width: 150%; aspect-ratio: 1; border-radius: 50%; background: repeating-conic-gradient(rgba(255, 255, 255, .05) 0deg 6deg, transparent 6deg 16deg); animation: fx-turn 90s linear infinite; }
.person-card__portrait img { position: absolute; right: -24px; bottom: -24px; width: 130px; opacity: .08; filter: grayscale(1) brightness(3); }
.monogram--xl { position: relative; width: 124px; height: 124px; font-size: 2.6rem; box-shadow: inset 0 0 0 3px rgba(249, 230, 90, .7), 0 0 0 10px rgba(249, 230, 90, .08), 0 24px 40px -18px rgba(0, 0, 0, .7); }
.person-card__body { display: block; padding: 1.25rem 1.4rem 1.4rem; }
.person-card__body strong { display: block; font-family: var(--font-display); font-weight: 560; font-size: 1.25rem; color: var(--brand-950); }
.person-card__body small { display: block; margin-top: .15rem; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-700); }
.person-card__more { display: inline-flex; align-items: center; gap: .35rem; margin-top: .9rem; font-size: .88rem; font-weight: 700; color: var(--brand-600); transition: gap .35s var(--ease-out); }
.person-card:hover .person-card__more { gap: .6rem; }

/* 5. Profile with message (Founder & Correspondent) ------------------------- */
.profile { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 992px) { .profile { grid-template-columns: 360px 1fr; gap: 3.5rem; } }
@media (min-width: 992px) and (min-height: 680px) { .profile__aside { position: sticky; top: calc(var(--sticky-h) + 24px); } }
.profile__card {
    position: relative; overflow: hidden; isolation: isolate; display: grid; justify-items: center; gap: 1rem;
    padding: 2.5rem 1.75rem 2rem; border-radius: var(--radius-lg); text-align: center; color: #fff;
    background: var(--grad-night); box-shadow: var(--shadow-lg);
}
.profile__card::before { content: ""; position: absolute; left: 50%; top: 22%; z-index: -1; width: 520px; aspect-ratio: 1; margin-left: -260px; border-radius: 50%; background: repeating-conic-gradient(rgba(255, 255, 255, .05) 0deg 6deg, transparent 6deg 16deg); animation: fx-turn 110s linear infinite; }
.profile__card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--grad-gold); }
.profile__card strong { font-family: var(--font-display); font-weight: 560; font-size: 1.5rem; line-height: 1.2; }
.profile__card small { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-300); }
.profile__facts { display: grid; gap: .5rem; width: 100%; margin: .5rem 0 0; padding: 1rem 0 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, .14); text-align: left; font-size: .9rem; color: rgba(255, 255, 255, .8); }
.profile__facts li { display: flex; gap: .6rem; align-items: flex-start; }
.profile__facts i { color: var(--gold-400); font-size: 1.1rem; line-height: 1.35; }
.profile__kicker { display: inline-flex; align-items: center; gap: .6rem; margin-bottom: .6rem; font-size: .76rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--brand-600); }
.profile__name { margin-bottom: .2rem; font-family: var(--font-display); font-weight: 560; font-size: clamp(2rem, 1.4rem + 2vw, 3rem); line-height: 1.1; }
.profile__role { display: block; margin-bottom: 1.6rem; font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-700); }
.profile__lead {
    position: relative; margin: 0 0 1.5rem; padding: 1.4rem 1.5rem 1.4rem 4rem; border-radius: 0 20px 20px 0;
    border-left: 3px solid var(--gold-500); background: linear-gradient(90deg, var(--cream), rgba(251, 248, 239, 0));
    font-family: var(--font-display); font-style: italic; font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); line-height: 1.5; color: var(--brand-950);
}
.profile__lead::before { content: "\ec51"; font-family: "remixicon"; font-style: normal; position: absolute; left: 1rem; top: 1rem; font-size: 2rem; line-height: 1; color: var(--gold-500); }
.profile__body p { color: var(--ink-700); }
.profile__sign { display: flex; align-items: center; gap: 1rem; margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.profile__sign strong { display: block; font-family: var(--font-display); font-style: italic; font-size: 1.35rem; color: var(--brand-900); }
.profile__sign small { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-500); }
.profile + .profile { margin-top: clamp(56px, 7vw, 96px); padding-top: clamp(56px, 7vw, 96px); border-top: 1px dashed var(--brand-100); }

/* 6. Course details, tabs and sidebar widgets ------------------------------- */
.course { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; align-items: start; }
@media (min-width: 992px) { .course { grid-template-columns: minmax(0, 1fr) 340px; gap: 3rem; } }
@media (min-width: 992px) and (min-height: 680px) { .course__aside { position: sticky; top: calc(var(--sticky-h) + 24px); } }
.course-meta { display: flex; flex-wrap: wrap; gap: 1rem 2.25rem; margin-bottom: 1.5rem; }
.course-meta div { display: flex; align-items: center; gap: .75rem; }
.course-meta i { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; font-size: 1.35rem; color: var(--brand-600); border: 1.5px solid var(--brand-200); }
.course-meta small { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-500); }
.course-meta strong { display: block; font-family: var(--font-display); font-size: 1.12rem; color: var(--brand-950); }
.course-figure { position: relative; aspect-ratio: 16 / 9; margin-bottom: 2rem; }
.course-figure figcaption {
    position: absolute; left: 1rem; bottom: 1rem; display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .9rem; border-radius: 999px;
    font-size: .82rem; font-weight: 700; color: #fff; background: rgba(5, 14, 38, .6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.course-figure figcaption i { color: var(--gold-400); }
.course-title { position: relative; margin-bottom: 1.5rem; padding-bottom: 1rem; font-family: var(--font-display); font-weight: 560; font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); }
.course-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 3px; border-radius: 3px; background: var(--grad-gold); }
.course-tabs { margin-top: 2.25rem; }
.course-tabs .nav { gap: .4rem; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); }
.course-tabs .nav::-webkit-scrollbar { display: none; }
.course-tabs .nav-link {
    position: relative; flex: none; padding: .85rem 1.15rem; border: 0; border-radius: 14px 14px 0 0; white-space: nowrap;
    font-weight: 700; font-size: .92rem; color: var(--ink-600); background: transparent;
}
.course-tabs .nav-link::after { content: ""; position: absolute; left: 1rem; right: 1rem; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--grad-gold); transform: scaleX(0); transition: transform .4s var(--ease-out); }
.course-tabs .nav-link:hover { color: var(--brand-700); }
.course-tabs .nav-link.active { color: var(--brand-800); background: var(--paper); }
.course-tabs .nav-link.active::after { transform: scaleX(1); }
.course-tabs .tab-content { padding: clamp(1.4rem, 1rem + 1.5vw, 2.25rem); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--radius-lg) var(--radius-lg); background: #fff; }
.course-tabs h3 { position: relative; margin: 0 0 1rem; padding-bottom: .6rem; font-family: var(--font-display); font-weight: 560; font-size: 1.35rem; }
.course-tabs h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 2px; background: var(--gold-500); }
.course-tabs h3:not(:first-child) { margin-top: 1.75rem; }
.req-list { display: grid; gap: .7rem; list-style: none; margin: 0; padding: 0; }
.req-list li { position: relative; padding-left: 1.6rem; font-weight: 600; color: var(--ink-900); line-height: 1.5; }
.req-list li::before { content: "\ea6e"; font-family: "remixicon"; position: absolute; left: 0; top: -.05em; font-size: 1.15rem; color: var(--gold-600); }
.req-list strong { color: var(--brand-800); }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; list-style: none; margin: 0; padding: 0; }
@media (min-width: 768px) { .service-grid { grid-template-columns: repeat(3, 1fr); } }
.service-grid li { display: flex; flex-direction: column; gap: .6rem; padding: 1rem; border-radius: 16px; font-weight: 700; font-size: .92rem; line-height: 1.35; color: var(--brand-950); background: var(--paper); border: 1px solid var(--line); }
.service-grid i { font-size: 1.5rem; color: var(--brand-600); }
.widget { padding: 1.5rem; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.widget + .widget { margin-top: 1.25rem; }
.widget__title { position: relative; margin: 0 0 1.1rem; padding-bottom: .6rem; font-family: var(--font-display); font-weight: 560; font-size: 1.25rem; }
.widget__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 2px; background: var(--gold-500); }
.widget--night { color: rgba(255, 255, 255, .85); background: var(--grad-night); border-color: transparent; }
.widget--night .widget__title { color: #fff; }
.glance { display: grid; gap: .1rem; margin: 0; }
.glance div { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem 0; border-bottom: 1px dashed rgba(255, 255, 255, .16); }
.glance div:last-child { border-bottom: 0; }
.glance dt { font-size: .84rem; font-weight: 600; color: rgba(255, 255, 255, .65); }
.glance dd { margin: 0; font-weight: 700; text-align: right; color: #fff; }
.widget-links { list-style: none; margin: 0; padding: 0; }
.widget-links li + li { border-top: 1px dashed var(--brand-100); }
.widget-links a { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .7rem 0; font-weight: 600; color: var(--ink-700); }
.widget-links a i { color: var(--brand-400); transition: transform .35s var(--ease-out); }
.widget-links a:hover { color: var(--brand-700); }
.widget-links a:hover i { transform: translateX(4px); color: var(--brand-600); }
.widget-feature { display: grid; gap: .9rem; list-style: none; margin: 0; padding: 0; }
.widget-feature a { display: flex; align-items: center; gap: .9rem; color: var(--ink-900); }
.widget-feature img { flex: none; width: 76px; height: 58px; border-radius: 12px; object-fit: cover; }
.widget-feature strong { display: block; font-family: var(--font-display); font-weight: 560; font-size: 1rem; line-height: 1.3; color: var(--brand-950); }
.widget-feature small { display: block; font-size: .8rem; color: var(--ink-500); }
.widget-feature a:hover strong { color: var(--brand-600); }
.widget-contact { display: grid; gap: .6rem; list-style: none; margin: 0 0 1.1rem; padding: 0; font-size: .95rem; }
.widget-contact li { display: flex; gap: .6rem; align-items: center; }
.widget-contact li > span { display: grid; gap: .25rem; }
.locate__contacts li > span { display: grid; gap: .25rem; }
.widget-contact i { color: var(--brand-600); }
.widget-contact a { font-weight: 600; color: var(--ink-900); }

/* 7. Key facts and light forms ---------------------------------------------- */
.adm-overview { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 992px) { .adm-overview { grid-template-columns: 1.2fr 1fr; gap: 3.5rem; } }
.key-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.key-fact { padding: 1.4rem 1.25rem; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.key-fact i { font-size: 1.6rem; color: var(--brand-600); }
.key-fact strong { display: block; margin-top: .5rem; font-family: var(--font-display); font-weight: 600; font-size: 2rem; line-height: 1; color: var(--brand-950); }
.key-fact span { display: block; margin-top: .35rem; font-size: .84rem; font-weight: 600; color: var(--ink-500); }
.key-fact--wide { grid-column: 1 / -1; display: flex; align-items: center; gap: 1rem; color: #fff; background: var(--grad-royal); border-color: transparent; }
.key-fact--wide i { color: var(--gold-400); font-size: 2rem; }
.key-fact--wide strong { margin: 0; font-size: 1.25rem; color: #fff; }
.key-fact--wide span { color: rgba(255, 255, 255, .8); }


/* Light enquiry forms (Admission Enquiry, Contact Numbers, Email); main.js sends them by email */
.form-light .field label { color: var(--ink-900); }
.form-light .field label span { color: #C62828; }
/* background-color, not the background shorthand, so the select keeps its single arrow from style.css */
.form-light .field input, .form-light .field select, .form-light .field textarea { color: var(--ink-900); background-color: var(--paper); border: 1px solid var(--line); }
.form-light .field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230A1A45'%3E%3Cpath d='M12 16l-6-6h12z'/%3E%3C/svg%3E"); }
.form-light .field input::placeholder, .form-light .field textarea::placeholder { color: var(--ink-500); }
.form-light .field input:focus, .form-light .field select:focus, .form-light .field textarea:focus { border-color: var(--brand-500); background-color: #fff; box-shadow: 0 0 0 4px rgba(45, 102, 211, .14); }
.form-light .field.is-invalid input { border-color: #D93838; box-shadow: 0 0 0 4px rgba(217, 56, 56, .12); }
.form-light .field__error { color: #C62828; }
.form-light .enquiry__status { color: var(--brand-700); }

/* 8. Photo + text rows, laboratory cards, pricing-style cards -------------- */
.facility-split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 992px) { .facility-split { grid-template-columns: 1.1fr 1fr; gap: 3.5rem; } .facility-split--flip > :first-child { order: 2; } }
.photo-stack { position: relative; padding: 0 0 16% 12%; }
.photo-stack__main { aspect-ratio: 16 / 10.5; }
.photo-stack__sub { position: absolute; left: 0; bottom: 0; width: 48%; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); border: 6px solid #fff; box-shadow: var(--shadow-lg); }
.photo-stack__sub img { width: 100%; height: 100%; object-fit: cover; }

.lab-grid { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .lab-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .lab-grid { grid-template-columns: repeat(3, 1fr); } }
.lab-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.lab-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.lab-card__media { position: relative; overflow: hidden; aspect-ratio: 16 / 10.5; }
.lab-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.lab-card:hover .lab-card__media img { transform: scale(1.07); }
.lab-card__ribbon { position: absolute; left: 1rem; top: 1rem; padding: .3rem .75rem; border-radius: 8px; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-950); background: var(--grad-gold); box-shadow: var(--shadow-sm); }
.lab-card__num { position: absolute; right: 1rem; bottom: .8rem; font-family: var(--font-display); font-weight: 600; font-size: 2.6rem; line-height: 1; color: rgba(255, 255, 255, .92); text-shadow: 0 6px 20px rgba(5, 14, 38, .6); }
.lab-card__body { flex: 1; padding: 1.35rem 1.4rem 1.5rem; }
.lab-card h3 { margin-bottom: .5rem; font-family: var(--font-display); font-weight: 560; font-size: 1.28rem; line-height: 1.25; }
.lab-card p { margin: 0; font-size: .95rem; line-height: 1.6; color: var(--ink-700); }
.lab-card__foot { display: flex; align-items: center; gap: .5rem; padding: .85rem 1.4rem; border-top: 1px solid var(--line); font-size: .8rem; font-weight: 700; color: var(--ink-500); background: var(--paper); }
.lab-card__foot i { color: var(--brand-500); }

.price-grid { display: grid; gap: 1.5rem; }
@media (min-width: 992px) { .price-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.price-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.price-card__head { padding: 1.6rem 1.5rem 1.2rem; text-align: center; background: var(--paper); }
.price-card__head h3 { position: relative; margin: 0; padding-bottom: .8rem; font-family: var(--font-display); font-weight: 560; font-size: 1.45rem; letter-spacing: .01em; }
.price-card__head h3::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 36px; height: 3px; margin-left: -18px; border-radius: 3px; background: var(--grad-gold); }
.price-card__value { padding: 1.5rem 1.5rem 1.2rem; text-align: center; border-bottom: 1px solid var(--line); }
.price-card__value strong { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem); line-height: 1; color: var(--brand-700); font-variant-numeric: tabular-nums; }
.price-card__value > span { display: block; margin-top: .4rem; font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-500); }
.price-card__list { flex: 1; display: grid; align-content: start; gap: .75rem; margin: 0; padding: 1.4rem 1.5rem; list-style: none; }
.price-card__list li { display: flex; gap: .65rem; align-items: flex-start; font-size: .93rem; line-height: 1.45; color: var(--ink-700); }
.price-card__list i { color: var(--brand-500); font-size: 1.05rem; line-height: 1.4; }
.price-card__foot { padding: .9rem 1.5rem; font-size: .82rem; font-weight: 700; text-align: center; color: #fff; background: var(--brand-950); }
.price-card__foot i { color: var(--gold-400); }
.price-card--featured { border-color: transparent; box-shadow: 0 30px 60px -28px rgba(26, 79, 184, .55); }
.price-card--featured .price-card__head { color: #fff; background: var(--grad-royal); }
.price-card--featured .price-card__head h3 { color: #fff; }
@media (min-width: 992px) { .price-card--featured { transform: translateY(-14px); } .price-card--featured:hover { transform: translateY(-20px); } }
.library-banner { display: grid; gap: 1.5rem; align-items: center; margin-bottom: 2.25rem; }
@media (min-width: 992px) { .library-banner { grid-template-columns: 1fr 1.1fr; gap: 3rem; } }
.library-banner__img { aspect-ratio: 16 / 9.5; }
.library-banner__img img { object-position: 50% 75%; }
.hours-chip { display: inline-flex; align-items: center; gap: .8rem; margin-top: 1rem; padding: .7rem 1.1rem .7rem .7rem; border-radius: 16px; background: var(--brand-50); border: 1px solid var(--brand-100); }
.hours-chip i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; font-size: 1.2rem; color: var(--brand-950); background: var(--grad-gold); }
.hours-chip strong { display: block; font-family: var(--font-display); font-size: 1.1rem; color: var(--brand-950); }
.hours-chip small { display: block; font-size: .8rem; color: var(--ink-600); }

/* 9. Activity tiles --------------------------------------------------------- */
.activity-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem; list-style: none; margin: 0; padding: 0; }
@media (min-width: 768px) { .activity-grid { grid-template-columns: repeat(4, 1fr); gap: 1.1rem; } }
.activity-grid li {
    display: flex; flex-direction: column; justify-content: space-between; gap: 1.25rem; min-height: 150px; padding: 1.3rem 1.1rem; border-radius: 20px;
    font-family: var(--font-display); font-weight: 500; font-size: 1.02rem; line-height: 1.3; color: var(--brand-950); hyphens: manual;
    background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .45s var(--ease-out), box-shadow .45s, background-color .4s, color .4s;
}
.activity-grid li i { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; font-size: 1.4rem; color: var(--brand-600); background: var(--brand-50); transition: background-color .4s, color .4s, transform .5s var(--ease-out); }
.activity-grid li:hover { transform: translateY(-5px); color: #fff; background: var(--brand-800); box-shadow: var(--shadow-lg); }
.activity-grid li:hover i { color: var(--brand-950); background: var(--gold-400); transform: rotate(-8deg); }

/* 10. Policy column, report card, data table ------------------------------- */
.policy { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 992px) { .policy { grid-template-columns: 1.2fr 1fr; gap: 3.5rem; } }
.report-card {
    position: relative; overflow: hidden; isolation: isolate; padding: clamp(1.6rem, 1rem + 2vw, 2.5rem); border-radius: var(--radius-lg);
    color: rgba(255, 255, 255, .85); background: var(--grad-night); box-shadow: var(--shadow-lg);
}
.report-card h3 { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; font-family: var(--font-display); font-weight: 560; font-size: 1.5rem; color: #fff; }
.report-card__shield { position: relative; display: grid; place-items: center; flex: none; width: 58px; height: 58px; border-radius: 18px; font-size: 1.7rem; color: var(--brand-950); background: var(--grad-gold); }
.report-card__calls { display: grid; gap: .75rem; margin-top: 1.4rem; }
/* the phone link holds only the number; its ::after covers the whole card so the card stays one tap target */
.report-call { position: relative; display: flex; align-items: center; gap: .9rem; padding: .9rem 1rem; border-radius: 16px; color: #fff; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); transition: background-color .3s, border-color .3s, transform .4s var(--ease-out); }
.report-call:hover { background: rgba(249, 230, 90, .1); border-color: rgba(249, 230, 90, .45); transform: translateX(4px); }
.report-call:focus-within { outline: 3px solid var(--gold-500); outline-offset: 3px; }
.report-call a { color: #fff; }
.report-call a:focus-visible { outline: none; }
.report-call a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.report-call > i { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; font-size: 1.2rem; color: var(--brand-950); background: var(--gold-400); }
.report-call small { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.report-call strong { display: block; font-size: 1.05rem; }
.report-call__note { display: flex; align-items: baseline; gap: .35rem; margin-top: .2rem; font-size: .84rem; color: rgba(255, 255, 255, .8); }
.report-call__note i { color: var(--gold-400); }
.data-table-wrap { overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.data-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.data-table thead th { padding: 1.05rem 1.4rem; font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; text-align: left; color: #fff; background: var(--brand-950); }
.data-table tbody td { padding: 1.05rem 1.4rem; border-top: 1px solid var(--line); vertical-align: middle; color: var(--ink-700); }
.data-table tbody tr:nth-child(even) td { background: var(--paper); }
.data-table tbody tr { transition: background-color .3s; }
.data-table tbody tr:hover td { background: var(--brand-50); }
.data-table td:first-child { font-weight: 700; color: var(--brand-950); white-space: nowrap; }
.data-table td a { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; white-space: nowrap; }
.data-table .muted { color: var(--ink-500); }
@media (max-width: 767.98px) {
    .data-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    /* the name column may shrink (and the name wrap) so the phone number is never cut off on 320 px screens */
    .data-table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .25rem 1rem; padding: 1rem 1.1rem; border-top: 1px solid var(--line); }
    .data-table tbody tr:first-child { border-top: 0; }
    .data-table tbody td { display: block; padding: 0; border: 0; background: none !important; }
    .data-table td:first-child { white-space: normal; }
    .data-table td:nth-child(2) { grid-column: 1 / -1; grid-row: 2; font-size: .88rem; color: var(--ink-600); }
    .data-table td:nth-child(3) { grid-column: 2; grid-row: 1; text-align: right; }
}

/* 11. Gallery filters and tile grid ----------------------------------------- */
.gallery-page .filters { margin-bottom: 1.75rem; }
.filter__count { display: inline-grid; place-items: center; min-width: 1.5rem; height: 1.5rem; margin-left: .35rem; padding: 0 .35rem; border-radius: 999px; font-size: .72rem; color: var(--brand-700); background: var(--brand-50); }
.filter.is-active .filter__count { color: var(--brand-950); background: var(--gold-400); }
.gallery__grid--page { grid-auto-rows: 160px; }
@media (min-width: 768px) { .gallery__grid--page { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; } }
@media (min-width: 1200px) { .gallery__grid--page { grid-auto-rows: 230px; } }

/* 12. Call to action at the foot of each page (uses .cta from style.css) ----- */
.cta--inner { background: linear-gradient(180deg, transparent 0%, transparent 50%, var(--brand-950) 50%); padding-top: clamp(24px, 3vw, 40px); }
.section--paper + .cta--inner { background: linear-gradient(180deg, var(--paper) 0%, var(--paper) 50%, var(--brand-950) 50%); }
.section--cream + .cta--inner { background: linear-gradient(180deg, var(--cream) 0%, var(--cream) 50%, var(--brand-950) 50%); }
.section--night + .cta--inner { background: var(--brand-950); }

/* Page not found (LearnPro page-404): served by the host for any missing address */
.notfound { min-height: clamp(380px, 62vh, 600px); align-items: center; }
.notfound__code { margin: 0 0 .25rem; font-family: var(--font-display); font-weight: 600; font-size: clamp(5.5rem, 3rem + 10vw, 10rem); line-height: 1; letter-spacing: -.04em; color: #fff; }
.notfound__code span { display: inline-block; color: var(--gold-400); animation: fx-float 6s ease-in-out infinite; }
.notfound__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; max-width: 1000px; margin: 0 auto; padding: 0; list-style: none; }
@media (min-width: 992px) { .notfound__links { grid-template-columns: repeat(4, 1fr); gap: 1rem; } }
.notfound__links a { display: flex; align-items: center; gap: .75rem; height: 100%; padding: 1rem 1.1rem; border-radius: 18px; font-weight: 700; color: var(--brand-950); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .45s var(--ease-out), border-color .3s, box-shadow .45s; }
.notfound__links a:hover { transform: translateY(-4px); border-color: var(--gold-500); box-shadow: var(--shadow); color: var(--brand-950); }
.notfound__links i { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; font-size: 1.2rem; color: var(--brand-600); background: var(--brand-50); }

/* ==========================================================================
   About Us pages
   ========================================================================== */

/* About (page-about1): aim, vision, mission and why-choose feature boxes */
.about-links { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .about-links { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .about-links { grid-template-columns: repeat(4, 1fr); } }
.about-link {
    position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; gap: .9rem;
    padding: 1.75rem 1.5rem 1.5rem; border-radius: 24px; color: var(--ink-700); background: #fff;
    border: 1px solid var(--line); box-shadow: var(--shadow-sm);
    transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .3s;
}
.about-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--grad-gold); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.about-link:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--ink-700); }
.about-link:hover::after { transform: scaleX(1); }
.about-link__icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; font-size: 1.6rem; color: var(--brand-600); background: var(--brand-50); transition: transform .5s var(--ease-out); }
.about-link:hover .about-link__icon { transform: rotate(-8deg) scale(1.05); }
.about-link__title { font-family: var(--font-display); font-weight: 560; font-size: 1.45rem; line-height: 1.2; color: var(--brand-950); }
.about-link__text { flex: 1; font-size: .95rem; line-height: 1.65; }
.about-link__list { flex: 1; display: grid; align-content: start; gap: .55rem; font-size: .93rem; line-height: 1.45; }
.about-link__list span { position: relative; padding-left: 1.4rem; }
.about-link__list span::before { content: "\eb7b"; font-family: "remixicon"; position: absolute; left: 0; top: 0; color: var(--brand-700); }
.about-link__more { display: inline-flex; align-items: center; gap: .4rem; font-size: .88rem; font-weight: 700; color: var(--brand-600); transition: gap .35s var(--ease-out); }
.about-link:hover .about-link__more { gap: .7rem; }
.about-link--night { color: rgba(255, 255, 255, .8); background: var(--grad-night); border-color: transparent; }
.about-link--night:hover { color: rgba(255, 255, 255, .8); }
.about-link--night .about-link__icon { color: var(--brand-950); background: var(--grad-gold); }
.about-link--night .about-link__title { color: #fff; }
.about-link--night .about-link__more { color: var(--gold-400); }
.about-link--gold { background: var(--cream); border-color: #F1E7C8; }
.about-link--gold .about-link__icon { color: var(--gold-400); background: var(--grad-night); }

/* Aim (shortcode-iconbox) */
.aim-hero { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 992px) { .aim-hero { grid-template-columns: 1.05fr 1fr; gap: 4rem; } }
.aim-hero__statement {
    position: relative; margin: 0 0 1.75rem; padding: 0 0 0 1.5rem; border-left: 3px solid var(--gold-500);
    font-family: var(--font-display); font-size: clamp(1.25rem, 1.05rem + .8vw, 1.7rem); line-height: 1.5; color: var(--brand-950);
}
.aim-hero__pills { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; margin: 0; padding: 0; }
.aim-hero__pills li { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1rem; border-radius: 999px; font-size: .88rem; font-weight: 700; color: var(--brand-800); background: var(--brand-50); }
.aim-hero__pills i { color: var(--brand-600); font-size: 1.05rem; }
.aim-hero__media { position: relative; overflow: hidden; aspect-ratio: 4 / 3.2; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.aim-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.aim-hero__badge { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; display: flex; align-items: center; gap: .6rem; padding: .75rem 1rem; border-radius: 16px; font-size: .88rem; font-weight: 700; color: #fff; }
.aim-hero__badge i { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 10px; color: var(--brand-950); background: var(--gold-400); }
.iconbox-grid { display: grid; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
@media (min-width: 576px) { .iconbox-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .iconbox-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.iconbox {
    position: relative; display: grid; justify-items: center; align-content: start; gap: 1.1rem; padding: 2.25rem 1.5rem 2rem; border-radius: 24px; text-align: center;
    background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
    transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .3s;
}
.iconbox:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--brand-200); }
.iconbox__icon {
    position: relative; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%;
    font-size: 2rem; color: var(--brand-600); background: #fff; border: 1.5px solid var(--brand-200);
    transition: color .4s, background-color .4s, border-color .4s, transform .6s var(--ease-out);
}
.iconbox__icon::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 1px dashed var(--brand-200); transition: transform 1.2s var(--ease-out), border-color .4s; }
.iconbox:hover .iconbox__icon { color: var(--brand-950); background: var(--gold-400); border-color: var(--gold-400); transform: translateY(-4px); }
.iconbox:hover .iconbox__icon::after { border-color: var(--gold-500); transform: rotate(120deg); }
.iconbox__num { position: absolute; right: 1.25rem; top: .9rem; font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; color: var(--brand-400); }
.iconbox__title { margin: 0; max-width: 260px; font-family: var(--font-display); font-weight: 560; font-size: 1.2rem; line-height: 1.35; }
.iconbox-grid--3 { max-width: 1000px; margin-inline: auto; }
@media (min-width: 768px) { .iconbox-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.iconbox--dark { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); box-shadow: none; }
.iconbox--dark:hover { background: rgba(255, 255, 255, .09); border-color: rgba(249, 230, 90, .4); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.iconbox--dark .iconbox__icon { color: var(--brand-950); background: var(--grad-gold); border-color: transparent; }
.iconbox--dark .iconbox__icon::after { border-color: rgba(249, 230, 90, .35); }
.iconbox--dark .iconbox__title { color: #fff; font-style: italic; font-size: 1.4rem; }

/* Vision (shortcode-blockquotes) */
.vision-quote {
    position: relative; overflow: hidden; isolation: isolate; max-width: 1080px; margin: 0 auto;
    padding: clamp(2rem, 1rem + 4vw, 4.5rem) clamp(1.5rem, 1rem + 4vw, 5rem); border-radius: var(--radius-lg);
    color: #fff; background: var(--grad-night); box-shadow: var(--shadow-lg);
}
.vision-quote::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--grad-gold); }
.vision-quote__mark { position: absolute; right: -60px; bottom: -70px; z-index: -1; width: 300px; opacity: .07; filter: grayscale(1) brightness(3); animation: fx-turn 140s linear infinite; }
.vision-quote__icon { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 1.5rem; border-radius: 20px; font-size: 2rem; color: var(--brand-950); background: var(--grad-gold); }
.vision-quote__text { margin: 0; }
.vision-quote__text p { margin: 0; font-family: var(--font-display); font-style: italic; font-weight: 420; font-size: clamp(1.35rem, 1.05rem + 1.4vw, 2.25rem); line-height: 1.45; color: rgba(255, 255, 255, .94); text-wrap: pretty; }
.vision-quote__text em { font-style: italic; color: var(--gold-400); }
.vision-quote__cite { display: flex; align-items: center; gap: .9rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .14); }
.vision-quote__cite strong { display: block; font-size: 1rem; color: #fff; }
.vision-quote__cite small { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-300); }
.quote-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
@media (min-width: 576px) { .quote-grid { gap: 1.25rem; } }
@media (min-width: 1200px) { .quote-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 575.98px) { .quote-grid .qtile { min-height: 150px; padding: 1.2rem 1rem; } .quote-grid .qtile p { font-size: 1.15rem; } .quote-grid .qtile::after { font-size: 2.4rem; } }
.quote-pair { display: grid; gap: 1.25rem; margin-top: 1.25rem; }
@media (min-width: 768px) { .quote-pair { grid-template-columns: 1.4fr 1fr; } }
.qtile {
    position: relative; display: flex; flex-direction: column; gap: 1.1rem; min-height: 190px; margin: 0; padding: 1.6rem 1.5rem;
    border-radius: 22px; transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.qtile:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.qtile i { font-size: 1.7rem; }
.qtile p { margin: auto 0 0; font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 1.45rem; line-height: 1.3; }
.qtile::after { content: "\ec52"; font-family: "remixicon"; position: absolute; right: 1.1rem; top: .7rem; font-size: 3.2rem; line-height: 1; opacity: .12; }
.qtile--line { background: #fff; border-left: 4px solid var(--brand-600); box-shadow: var(--shadow-sm); }
.qtile--line i, .qtile--line p { color: var(--brand-800); }
.qtile--soft { background: var(--brand-50); border: 1px solid var(--brand-100); }
.qtile--soft i { color: var(--brand-600); }
.qtile--soft p { color: var(--brand-950); }
.qtile--dark { color: #fff; background: var(--brand-900); }
.qtile--dark i { color: var(--gold-400); }
.qtile--royal { color: #fff; background: var(--grad-royal); }
.qtile--royal i { color: var(--gold-300); }
.qtile--wide { min-height: 150px; }
.qtile--wide p { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); }
.voices { display: grid; gap: 1.5rem; max-width: 980px; margin: 0 auto; }
.voice { position: relative; margin: 0; padding: 1.75rem 2rem; border-radius: 22px; background: var(--paper); border-left: 4px solid var(--gold-500); }
.voice blockquote { margin: 0 0 1.1rem; }
.voice blockquote p { margin: 0; font-family: var(--font-display); font-size: clamp(1.1rem, 1rem + .45vw, 1.35rem); line-height: 1.55; color: var(--brand-950); }
.voice figcaption { display: flex; align-items: center; gap: .8rem; font-size: .9rem; font-weight: 600; color: var(--ink-600); }
.voice cite { font-style: normal; }
.voice cite a { font-weight: 700; }
.voice--reverse { border-left: 0; border-right: 4px solid var(--brand-600); text-align: right; background: #fff; box-shadow: var(--shadow-sm); }
.voice--reverse figcaption { justify-content: flex-end; }
@media (min-width: 992px) { .voice { width: 82%; } .voice--reverse { justify-self: end; } }

/* Mission (shortcode-lists) */
.mission-intro { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 992px) { .mission-intro { grid-template-columns: 1fr 1.05fr; gap: 4rem; } }
.mission-intro__media { aspect-ratio: 4 / 3; }
.list-angle { display: grid; gap: .5rem; list-style: none; margin: 1.5rem 0 0; padding: 0; }
.list-angle li { position: relative; padding: .7rem 1rem .7rem 2.6rem; border-radius: 14px; font-weight: 700; color: var(--brand-900); background: var(--paper); border: 1px solid var(--line); }
.list-angle li::before { content: "\ea6e"; font-family: "remixicon"; position: absolute; left: .9rem; top: .62rem; font-size: 1.2rem; color: var(--gold-600); }
.list-icons { display: grid; gap: 1rem; list-style: none; margin: 0; padding: 0; counter-reset: li; }
@media (min-width: 768px) { .list-icons { grid-template-columns: repeat(2, 1fr); column-gap: 1.5rem; } }
.list-icons li {
    counter-increment: li; position: relative; display: flex; align-items: center; gap: 1.1rem; min-height: 92px;
    padding: 1.1rem 3.5rem 1.1rem 1.1rem; border-radius: 20px; background: #fff; border: 1px solid var(--line);
    transition: transform .45s var(--ease-out), box-shadow .45s, border-color .3s;
}
.list-icons li::after { content: counter(li, decimal-leading-zero); position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; color: var(--brand-200); transition: color .3s; }
.list-icons li:hover { transform: translateX(6px); box-shadow: var(--shadow); border-color: var(--gold-500); }
.list-icons li:hover::after { color: var(--gold-500); }
@media (min-width: 768px) { .list-icons li:last-child:nth-child(odd) { grid-column: 1 / -1; } }
.list-icons__icon { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 16px; font-size: 1.5rem; color: var(--gold-400); background: var(--grad-night); }
.list-icons__text { font-family: var(--font-display); font-weight: 500; font-size: 1.12rem; line-height: 1.4; color: var(--brand-950); }
.mission-practice { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 992px) { .mission-practice { grid-template-columns: .85fr 1.4fr; gap: 3.5rem; } }
.mission-practice__lists { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .mission-practice__lists { grid-template-columns: 1fr 1fr; } }
.list-panel { padding: 1.6rem 1.5rem; border-radius: 22px; background: var(--cream); border: 1px solid #F1E7C8; }
.list-panel__title { display: flex; align-items: flex-start; gap: .6rem; margin: 0 0 1.1rem; font-family: var(--font-display); font-weight: 560; font-size: 1.2rem; line-height: 1.35; }
.list-panel__title i { color: var(--gold-700); font-size: 1.35rem; }
.list-panel--night { background: var(--grad-night); border-color: transparent; }
.list-panel--night .list-panel__title { color: #fff; }
.list-panel--night .list-panel__title i { color: var(--gold-400); }
.list-check { display: grid; gap: .6rem; list-style: none; margin: 0; padding: 0; }
.list-check li { position: relative; padding-left: 1.9rem; font-weight: 600; line-height: 1.45; color: var(--brand-950); }
.list-check li::first-letter { text-transform: uppercase; }
.list-check li::before { content: "\eb7b"; font-family: "remixicon"; position: absolute; left: 0; top: .05em; display: grid; place-items: center; width: 1.35rem; height: 1.35rem; border-radius: 50%; font-size: .85rem; color: #fff; background: var(--grad-royal); }
.list-check--gold li { color: rgba(255, 255, 255, .9); }
.list-check--gold li::before { color: var(--brand-950); background: var(--grad-gold); }

/* Why choose (shortcode-box-hover-effect) */
.hbox-grid { display: grid; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
@media (min-width: 576px) { .hbox-grid { grid-template-columns: repeat(2, 1fr); } .hbox-grid li:has(.hbox--wide) { grid-column: span 2; } }
@media (min-width: 992px) { .hbox-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 300px; } }
.hbox {
    position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; height: 100%; min-height: 260px;
    border-radius: 24px; color: #fff; background: var(--brand-900); box-shadow: var(--shadow);
}
.hbox img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), filter .8s; }
.hbox::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(5, 14, 38, .92) 8%, rgba(5, 14, 38, .35) 55%, rgba(5, 14, 38, .1)); }
.hbox__num { position: absolute; left: 1.4rem; top: 1.1rem; font-family: var(--font-display); font-weight: 600; font-size: 2.6rem; line-height: 1; color: rgba(255, 255, 255, .9); text-shadow: 0 6px 20px rgba(5, 14, 38, .55); transition: color .4s; }
.hbox__body { display: grid; gap: .6rem; padding: 1.4rem; }
.hbox__text { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.15rem, 1.05rem + .4vw, 1.4rem); line-height: 1.3; }
.hbox__more { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; font-weight: 700; color: var(--gold-300); opacity: 0; transform: translateY(12px); transition: opacity .5s, transform .6s var(--ease-out); }
.hbox:hover, .hbox:focus-visible { color: #fff; }
.hbox:hover .hbox__more, .hbox:focus-visible .hbox__more { opacity: 1; transform: none; }
.hbox:hover .hbox__num { color: var(--gold-400); }
/* six effects, after the template: zoom in, zoom out, slide-up panel, inset frame, tilt, greyscale to colour */
.hbox--zoom:hover img { transform: scale(1.12); }
.hbox--zoomout img { transform: scale(1.14); }
.hbox--zoomout:hover img { transform: scale(1); }
.hbox--slide::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, rgba(26, 79, 184, .9), rgba(5, 14, 38, .95)); transform: translateY(101%); transition: transform .7s var(--ease-out); }
.hbox--slide:hover::after { transform: none; }
.hbox--frame::after { content: ""; position: absolute; inset: 14px; border: 1.5px solid rgba(249, 230, 90, .85); border-radius: 16px; opacity: 0; transform: scale(1.08); transition: opacity .5s, transform .7s var(--ease-out); pointer-events: none; }
.hbox--frame:hover::after { opacity: 1; transform: none; }
.hbox--frame:hover img { transform: scale(1.05); }
.hbox--tilt:hover img { transform: scale(1.15) rotate(-3deg); }
.hbox--gray img { filter: grayscale(1); }
.hbox--gray:hover img { filter: none; transform: scale(1.06); }
@media (hover: none) { .hbox__more { opacity: 1; transform: none; } .hbox--gray img { filter: none; } }
.beyond { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 992px) { .beyond { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.beyond .section-title { margin-bottom: 0; }
.beyond__text { margin: 0; font-family: var(--font-display); font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); line-height: 1.6; color: rgba(255, 255, 255, .88); }

/* ==========================================================================
   Management pages
   ========================================================================== */

/* Founder (page-teacher-details): about / find location / quick contact row */
.detail-row { display: grid; gap: 1.25rem; }
@media (min-width: 992px) { .detail-row { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.detail-col { display: flex; flex-direction: column; padding: 1.6rem 1.5rem; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.detail-col__title { position: relative; margin: 0 0 1.25rem; padding-bottom: .7rem; font-family: var(--font-display); font-weight: 560; font-size: 1.35rem; }
.detail-col__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; border-radius: 3px; background: var(--grad-gold); }
.detail-list { display: grid; gap: .9rem; list-style: none; margin: 0; padding: 0; }
.detail-list li { display: flex; align-items: center; gap: .9rem; padding: .75rem; border-radius: 16px; background: var(--paper); }
.detail-list .icon-pill { width: 46px; height: 46px; border-radius: 14px; font-size: 1.25rem; background: #fff; }
.detail-list small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-500); }
.detail-list strong { display: block; font-family: var(--font-display); font-weight: 560; font-size: 1.08rem; color: var(--brand-950); }
.locate-card { display: flex; flex-direction: column; gap: 1rem; flex: 1; }
.locate-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; }
.locate-card__body { display: flex; gap: .9rem; align-items: flex-start; }
.locate-card__body .icon-pill { width: 46px; height: 46px; border-radius: 14px; font-size: 1.25rem; }
.locate-card address { font-weight: 600; line-height: 1.6; color: var(--brand-950); }
.locate-card .more-link { align-self: flex-start; margin-top: auto; }
.detail-col--night { color: rgba(255, 255, 255, .8); background: var(--grad-night); border-color: transparent; }
.detail-col--night .detail-col__title { color: #fff; }
.quick-contact { display: grid; gap: .75rem; list-style: none; margin: 0 0 1.5rem; padding: 0; }
.quick-contact li { display: flex; align-items: center; gap: .8rem; padding: .85rem 1rem; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.quick-contact li > span { display: grid; gap: .25rem; }
.quick-contact i { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 12px; font-size: 1.1rem; color: var(--brand-950); background: var(--gold-400); }
.quick-contact a { font-weight: 700; color: #fff; overflow-wrap: anywhere; }
.quick-contact a:hover { color: var(--gold-300); }
.detail-col--night .btn-ec { align-self: flex-start; margin-top: auto; }

/* Principal (blog-single-right-sidebar) */
.post-layout { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 992px) { .post-layout { grid-template-columns: minmax(0, 1fr) 330px; gap: 3rem; } }
@media (min-width: 992px) and (min-height: 680px) { .post-sidebar { position: sticky; top: calc(var(--sticky-h) + 90px); } }
.post__media { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.post__media img { width: 100%; height: 100%; object-fit: cover; }
.post__date {
    position: absolute; left: 1.25rem; bottom: 1.25rem; display: grid; justify-items: center; padding: .7rem 1rem; border-radius: 16px;
    font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-950); background: var(--grad-gold); box-shadow: var(--shadow);
}
.post__date strong { font-family: var(--font-display); font-size: 1.6rem; letter-spacing: 0; line-height: 1.05; }
.post__meta { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin: 1.5rem 0 .75rem; padding: 0 0 1rem; list-style: none; border-bottom: 1px dashed var(--brand-100); font-size: .86rem; font-weight: 600; color: var(--ink-500); }
.post__meta li { display: inline-flex; align-items: center; gap: .4rem; }
.post__meta i { color: var(--brand-500); }
.post__title { margin: 0 0 1.25rem; font-family: var(--font-display); font-weight: 560; font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem); line-height: 1.2; text-wrap: balance; }
.post__body p { color: var(--ink-700); }
.post__body > p:first-child::first-letter { float: left; margin: .35rem .6rem 0 0; font-family: var(--font-display); font-weight: 600; font-size: 3.6rem; line-height: .8; color: var(--brand-600); }
.post__quote { position: relative; margin: 1.75rem 0; padding: 1.5rem 1.75rem 1.5rem 4.25rem; border-radius: 0 20px 20px 0; border-left: 4px solid var(--gold-500); background: var(--paper); }
.post__quote::before { content: "\ec51"; font-family: "remixicon"; position: absolute; left: 1.2rem; top: 1.1rem; font-size: 2rem; line-height: 1; color: var(--gold-600); }
.post__quote p { margin: 0; font-family: var(--font-display); font-style: italic; font-size: clamp(1.1rem, 1rem + .45vw, 1.35rem); line-height: 1.55; color: var(--brand-950); }
.post__tags { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.post__tags-label { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-500); }
.post__tags-label i { color: var(--gold-600); }
.post__author { display: flex; gap: 1.25rem; align-items: center; margin-top: 2rem; padding: 1.5rem; border-radius: 22px; background: var(--grad-night); color: rgba(255, 255, 255, .8); }
.post__author .monogram--xl { width: 96px; height: 96px; font-size: 2rem; }
.post__author strong { display: block; font-family: var(--font-display); font-weight: 560; font-size: 1.3rem; color: #fff; }
.post__author small { display: block; margin-bottom: .6rem; font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-300); }
.post__author-facts { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; list-style: none; margin: 0; padding: 0; font-size: .92rem; }
.post__author-facts li { display: inline-flex; align-items: center; gap: .4rem; }
.post__author-facts i { color: var(--gold-400); }
.post__author-facts a { font-weight: 700; color: #fff; }
.post__author-facts a:hover { color: var(--gold-300); }
@media (max-width: 575.98px) { .post__author { flex-direction: column; align-items: flex-start; } }
.widget-links a[aria-current="page"] { color: var(--brand-700); }
.widget-links a[aria-current="page"] i { color: var(--gold-600); }
.widget--night p { font-size: .92rem; color: rgba(255, 255, 255, .8); }
.photo-widget { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; list-style: none; margin: 0; padding: 0; }
.photo-widget a { display: block; overflow: hidden; aspect-ratio: 1; border-radius: 12px; }
.photo-widget img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out), filter .4s; }
.photo-widget a:hover img { transform: scale(1.12); filter: saturate(1.2); }

/* Vice Principal (shortcode-dropcaps) */
.vp-head { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2rem; max-width: 1000px; margin: 0 auto clamp(2rem, 4vw, 3rem); padding-bottom: clamp(1.5rem, 3vw, 2.25rem); border-bottom: 1px dashed var(--brand-100); }
.vp-head .eyebrow { margin-bottom: .4rem; }
.vp-head__name { margin: 0 0 .9rem; font-family: var(--font-display); font-weight: 560; font-size: clamp(2rem, 1.4rem + 2vw, 3rem); line-height: 1.1; }
.vp-head .chip-row a { color: inherit; }
.dropcaps { display: grid; gap: 1.5rem 3rem; max-width: 1000px; margin: 0 auto; }
@media (min-width: 992px) { .dropcaps { grid-template-columns: 1fr 1fr; } }
.dropcap { margin: 0; font-size: 1.05rem; line-height: 1.8; color: var(--ink-700); }
.dropcap::first-letter { float: left; display: block; margin: .3rem .9rem .2rem 0; font-family: var(--font-display); font-weight: 600; line-height: 1; text-align: center; }
.dropcap--plain::first-letter { font-size: 4.2rem; line-height: .85; color: var(--brand-600); }
.dropcap--border::first-letter { padding: .6rem .8rem; font-size: 2.6rem; color: var(--brand-800); border: 2px solid var(--brand-200); border-radius: 12px; }
.dropcap--round::first-letter { padding: .55rem .85rem .65rem; font-size: 2.5rem; color: var(--brand-950); background: var(--grad-gold); border-radius: 50%; }
.dropcap--dark::first-letter { padding: .55rem .8rem; font-size: 2.5rem; color: var(--gold-400); background: var(--brand-950); border-radius: 12px; }
.vp-sign { max-width: 1000px; margin: 2.5rem auto 0; }
.initials { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; list-style: none; margin: 0; padding: 0; }
@media (min-width: 768px) { .initials { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .initials { grid-template-columns: repeat(5, 1fr); } }
.initials li {
    display: grid; justify-items: center; gap: .9rem; padding: 1.6rem 1rem 1.5rem; border-radius: 22px; text-align: center;
    background: #fff; border: 1px solid #F1E7C8; box-shadow: var(--shadow-sm); transition: transform .5s var(--ease-out), box-shadow .5s;
}
.initials li:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.initials li:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (min-width: 768px) { .initials li:last-child:nth-child(odd) { grid-column: auto; } }
.initials__cap { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 22px; font-family: var(--font-display); font-weight: 600; font-size: 2.4rem; line-height: 1; color: var(--gold-400); background: var(--grad-night); transition: transform .6s var(--ease-out); }
.initials li:nth-child(even) .initials__cap { color: var(--brand-950); background: var(--grad-gold); }
.initials li:hover .initials__cap { transform: rotate(-8deg) scale(1.05); }
.initials__word { font-family: var(--font-display); font-weight: 560; font-size: 1.2rem; line-height: 1.3; color: var(--brand-950); overflow-wrap: anywhere; }
@media (max-width: 399.98px) { .initials li { padding-inline: .6rem; } .initials__word { font-size: 1.05rem; } }

/* ==========================================================================
   Academics pages
   ========================================================================== */

/* Course Overview (page-course-list): left sidebar, image-left course rows */
.clist-layout { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 992px) { .clist-layout { grid-template-columns: 300px minmax(0, 1fr); gap: 3rem; } }
@media (min-width: 992px) and (min-height: 680px) { .clist-sidebar { position: sticky; top: calc(var(--sticky-h) + 90px); } }
@media (max-width: 991.98px) { .clist-sidebar { order: 2; } }
.tag-cloud { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; margin: 0; padding: 0; }
.tag-cloud li { padding: .4rem .8rem; border-radius: 10px; font-size: .82rem; font-weight: 600; color: var(--ink-700); background: #fff; border: 1px solid var(--line); transition: color .3s, background-color .3s, border-color .3s; }
.tag-cloud li:hover { color: #fff; background: var(--brand-600); border-color: var(--brand-600); }
.clist { display: grid; gap: 1.5rem; }
.clist-item {
    display: grid; gap: 0; overflow: hidden; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
    transition: box-shadow .5s var(--ease-out), transform .5s var(--ease-out), border-color .3s;
}
@media (min-width: 768px) { .clist-item { grid-template-columns: 300px 1fr; } }
.clist-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.clist-item__media { position: relative; overflow: hidden; min-height: 210px; }
.clist-item__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.clist-item:hover .clist-item__media img { transform: scale(1.08); }
.clist-item__num { position: absolute; left: 1rem; top: 1rem; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--brand-950); background: var(--grad-gold); box-shadow: var(--shadow); }
.clist-item__body { display: flex; flex-direction: column; align-items: flex-start; padding: 1.5rem 1.6rem 1.6rem; }
.clist-item__tag { margin-bottom: .45rem; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-700); }
.clist-item__title { margin: 0 0 .6rem; font-family: var(--font-display); font-weight: 560; font-size: clamp(1.25rem, 1.1rem + .5vw, 1.55rem); line-height: 1.25; }
.clist-item__title a { color: var(--brand-950); }
.clist-item__title a:hover { color: var(--brand-600); }
.clist-item__meta { display: flex; flex-wrap: wrap; gap: .35rem .9rem; margin: 0 0 .85rem; padding: 0; list-style: none; font-size: .82rem; font-weight: 700; color: var(--ink-500); }
.clist-item__meta li { display: inline-flex; align-items: center; gap: .35rem; }
.clist-item__meta i { color: var(--brand-500); }
.clist-item__body p { margin-bottom: 1.1rem; font-size: .96rem; line-height: 1.65; color: var(--ink-700); }
.clist-item__body .btn-ec { margin-top: auto; }

/* Course Duration & Intake (shortcode-odometer) */
.odo { display: inline-flex; align-items: center; font-variant-numeric: tabular-nums; line-height: 1; }
.odo__digit { position: relative; display: inline-block; overflow: hidden; height: 1em; }
.odo__reel { display: flex; flex-direction: column; }
.odo__reel span { display: block; height: 1em; line-height: 1; text-align: center; }
.odo__sep { display: inline-block; }
.odo-pair { display: grid; gap: 1.5rem; max-width: 980px; margin: 0 auto; }
@media (min-width: 768px) { .odo-pair { grid-template-columns: 1fr 1fr; } }
.odo-card {
    position: relative; overflow: hidden; isolation: isolate; display: grid; justify-items: center; gap: 1.1rem; padding: 2.5rem 1.5rem 2.25rem;
    border-radius: var(--radius-lg); text-align: center; color: #fff; background: var(--grad-night); box-shadow: var(--shadow-lg);
}
.odo-card::before { content: ""; position: absolute; left: 50%; top: 45%; z-index: -1; width: 420px; aspect-ratio: 1; margin: -210px 0 0 -210px; border-radius: 50%; background: repeating-conic-gradient(rgba(255, 255, 255, .05) 0deg 6deg, transparent 6deg 16deg); animation: fx-turn 100s linear infinite; }
.odo-card__label { display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-300); }
.odo-card__unit { font-family: var(--font-display); font-style: italic; font-size: 1.6rem; color: rgba(255, 255, 255, .9); }
.odo-card--gold { color: var(--brand-950); background: var(--grad-gold); }
.odo-card--gold::before { background: repeating-conic-gradient(rgba(10, 26, 69, .05) 0deg 6deg, transparent 6deg 16deg); }
.odo-card--gold .odo-card__label { color: var(--brand-800); }
.odo-card--gold .odo-card__unit { color: var(--brand-950); }
/* "train station": split-flap tiles */
.odo--station { gap: .4rem; font-family: var(--font-display); font-weight: 600; font-size: clamp(5rem, 3rem + 7vw, 8.5rem); }
.odo--station .odo__digit { padding: 0 .12em; border-radius: 16px; color: #fff; background: linear-gradient(180deg, #16295c 0 50%, #0d1c45 50% 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 20px 30px -16px rgba(0, 0, 0, .8); }
.odo--station .odo__digit::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: rgba(5, 14, 38, .9); }
/* "slot machine": framed window */
.odo--slot { gap: .25rem; padding: .35rem; border-radius: 22px; font-family: var(--font-display); font-weight: 700; font-size: clamp(5rem, 3rem + 7vw, 8.5rem); background: var(--brand-950); box-shadow: 0 0 0 4px rgba(10, 26, 69, .15), 0 24px 40px -18px rgba(5, 14, 38, .7); }
.odo--slot .odo__digit { padding: 0 .1em; border-radius: 16px; color: var(--brand-950); background: linear-gradient(180deg, #d9dfe9 0%, #fff 22%, #fff 78%, #d9dfe9 100%); }
.odo-note { max-width: 760px; margin: 2rem auto 0; text-align: center; font-family: var(--font-display); font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.6; color: var(--ink-700); }
.odo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; list-style: none; margin: 0; padding: 0; }
@media (min-width: 992px) { .odo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; } }
/* the narrowest phones: one tile per row, so the counters and labels keep their size */
@media (max-width: 359.98px) { .odo-grid { grid-template-columns: minmax(0, 1fr); } }
.odo-tile { display: grid; justify-items: center; align-content: center; gap: .9rem; min-height: 190px; padding: 1.5rem 1rem; border-radius: 22px; text-align: center; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); transition: border-color .4s, background-color .4s, transform .5s var(--ease-out); }
.odo-tile:hover { background: rgba(255, 255, 255, .09); border-color: rgba(249, 230, 90, .4); transform: translateY(-5px); }
.odo-tile__label { max-width: 260px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; line-height: 1.5; color: rgba(255, 255, 255, .72); }
.odo-tile__text { font-family: var(--font-display); font-weight: 560; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem); line-height: 1.1; color: var(--gold-400); }
/* "car": black counter with white digits */
.odo--car { gap: 2px; padding: .2rem; border-radius: 10px; font-family: var(--font-sans); font-weight: 700; font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); background: #000; box-shadow: 0 0 0 2px rgba(255, 255, 255, .25); }
.odo--car .odo__digit { padding: 0 .12em; color: #fff; background: linear-gradient(180deg, #333 0%, #111 40%, #111 60%, #333 100%); }
.odo--car .odo__digit:last-child { color: var(--brand-950); background: linear-gradient(180deg, #fff3a6 0%, var(--gold-400) 50%, #fff3a6 100%); }
/* "digital": glowing green-gold segments */
.odo--digital { padding: .2rem .5rem; border-radius: 10px; font-family: "Courier New", monospace; font-weight: 700; font-size: clamp(2.6rem, 1.8rem + 2.4vw, 3.6rem); color: var(--gold-400); background: #04122f; text-shadow: 0 0 14px rgba(249, 230, 90, .7); box-shadow: inset 0 0 0 1px rgba(249, 230, 90, .3); }
/* "minimal": plain large digits */
.odo--minimal { font-family: var(--font-display); font-weight: 600; font-size: clamp(3rem, 2rem + 3vw, 4.2rem); color: #fff; }
/* "plaza": underlined digits */
.odo--plaza { gap: .3rem; font-family: var(--font-display); font-weight: 600; font-size: clamp(3rem, 2rem + 3vw, 4.2rem); color: #fff; }
.odo--plaza .odo__digit { border-bottom: 3px solid var(--gold-400); }

/* Eligibility (shortcode-tables) */
.tbl-wrap { overflow: hidden; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.tbl { width: 100%; border-collapse: collapse; font-size: .96rem; }
.tbl thead th { padding: 1rem 1.25rem; font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; text-align: left; color: #fff; background: var(--brand-950); }
.tbl tbody th, .tbl tbody td { padding: 1rem 1.25rem; border-top: 1px solid var(--line); text-align: left; vertical-align: middle; }
.tbl tbody th { font-weight: 700; color: var(--brand-950); }
.tbl tbody td { color: var(--ink-700); }
.tbl--main tbody td:first-child { width: 64px; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; color: var(--brand-500); }
.tbl--main tbody th { width: 240px; white-space: nowrap; }
.tbl--main tbody th i { margin-right: .45rem; color: var(--brand-500); }
.tbl--main tbody tr { transition: background-color .3s; }
.tbl--main tbody tr:hover { background: var(--brand-50); }
.tbl--main tbody tr.is-alert { background: var(--cream); }
.tbl--main tbody tr.is-alert th i { color: #C62828; }
@media (max-width: 767.98px) {
    .tbl--main thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .tbl--main tbody tr { display: grid; grid-template-columns: 44px 1fr; gap: .2rem .5rem; padding: 1rem; border-top: 1px solid var(--line); }
    .tbl--main tbody tr:first-child { border-top: 0; }
    .tbl--main tbody th, .tbl--main tbody td { display: block; width: auto; padding: 0; border: 0; white-space: normal; }
    .tbl--main tbody td:first-child { grid-row: span 2; }
}
.tbl-trio { display: grid; gap: 1.25rem; }
@media (min-width: 992px) { .tbl-trio { grid-template-columns: repeat(3, 1fr); } }
.tbl-card { overflow: hidden; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.tbl-card__title { display: flex; align-items: center; gap: .6rem; margin: 0; padding: 1.1rem 1.25rem; font-family: var(--font-display); font-weight: 560; font-size: 1.2rem; }
.tbl-card__title i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; font-size: 1.15rem; color: var(--gold-400); background: var(--grad-night); }
.tbl-card .tbl { font-size: .92rem; }
.tbl-card .tbl thead th { padding: .75rem 1.25rem; background: var(--brand-800); }
.tbl-card .tbl tbody th, .tbl-card .tbl tbody td { padding: .8rem 1.25rem; }
.tbl--striped tbody tr:nth-child(even) { background: var(--paper); }
.tbl--striped td { white-space: nowrap; font-weight: 700; color: var(--brand-950); }
.tbl-bar { display: inline-block; width: 70px; height: 8px; margin-right: .5rem; overflow: hidden; vertical-align: middle; border-radius: 8px; background: var(--brand-100); }
.tbl-bar span { display: block; height: 100%; width: calc(var(--v) * 100%); border-radius: inherit; background: var(--grad-royal); }
.tbl--bordered th, .tbl--bordered td { border: 1px solid var(--line); }
.tbl--bordered tbody td { width: 1%; text-align: center; color: #1E9E5A; font-size: 1.2rem; }
.tbl--hover tbody tr { transition: background-color .3s; }
.tbl--hover tbody tr:hover { background: var(--brand-50); }
.tbl--hover tbody td { font-weight: 600; }

/* Professional Development (page-about2): about / photo / programmes, activities band */
.about2 { display: grid; gap: 2rem; }
@media (min-width: 992px) { .about2 { grid-template-columns: 1.1fr 1fr 1fr; gap: 2.5rem; } }
.about2__title { position: relative; margin: 0 0 1.25rem; padding-bottom: .7rem; font-family: var(--font-display); font-weight: 560; font-size: 1.45rem; }
.about2__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; border-radius: 3px; background: var(--grad-gold); }
.about2__title em { font-style: italic; color: var(--brand-600); }
.about2__col p { color: var(--ink-700); }
.about2__photo { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 10.5; border-radius: 20px; box-shadow: var(--shadow); }
.about2__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.about2__photo:hover img { transform: scale(1.07); }
.about2__zoom { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(5, 14, 38, .35); transition: background-color .4s; }
.about2__zoom i { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; font-size: 1.6rem; color: var(--brand-950); background: var(--grad-gold); box-shadow: 0 0 0 10px rgba(249, 230, 90, .25); animation: fx-pulse-ring 2.4s ease-out infinite; }
@keyframes fx-pulse-ring { 0% { box-shadow: 0 0 0 0 rgba(249, 230, 90, .5); } 100% { box-shadow: 0 0 0 22px rgba(249, 230, 90, 0); } }
.about2__photo:hover .about2__zoom { background: rgba(5, 14, 38, .15); }
.about2__caption { margin: .9rem 0 0; font-size: .88rem; font-weight: 600; color: var(--ink-500); }
.mini-events { display: grid; gap: 1rem; list-style: none; margin: 0; padding: 0; }
.mini-events li { display: flex; gap: 1rem; align-items: center; padding-bottom: 1rem; border-bottom: 1px dashed var(--brand-100); }
.mini-events li:last-child { padding-bottom: 0; border-bottom: 0; }
.mini-events__date { display: grid; place-items: center; align-content: center; flex: none; width: 58px; height: 62px; border-radius: 14px; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-950); background: var(--grad-gold); }
.mini-events__date strong { font-family: var(--font-display); font-size: 1.45rem; letter-spacing: 0; line-height: 1; }
.mini-events__date--icon { font-size: 1.45rem; color: var(--gold-400); background: var(--grad-night); }
.mini-events a { display: block; font-family: var(--font-display); font-weight: 560; font-size: 1.05rem; line-height: 1.3; color: var(--brand-950); }
.mini-events a:hover { color: var(--brand-600); }
.mini-events small { display: inline-flex; align-items: center; gap: .3rem; margin-top: .3rem; font-size: .8rem; font-weight: 600; color: var(--ink-500); }
.mini-events small i { color: var(--brand-500); }
.pd-activities { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; list-style: none; margin: 0; padding: 0; }
@media (min-width: 768px) { .pd-activities { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1200px) { .pd-activities { grid-template-columns: repeat(7, 1fr); } }
.pd-activities li { display: grid; justify-items: center; align-content: start; gap: .9rem; padding: 1.25rem .75rem; border-radius: 20px; text-align: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); transition: background-color .4s, border-color .4s, transform .5s var(--ease-out); }
.pd-activities li:hover { background: rgba(255, 255, 255, .1); border-color: rgba(249, 230, 90, .45); transform: translateY(-5px); }
.pd-activities i { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; font-size: 1.6rem; color: var(--gold-400); border: 1.5px solid rgba(249, 230, 90, .45); }
.pd-activities span { font-size: .85rem; font-weight: 700; line-height: 1.4; color: #fff; }
@media (max-width: 767.98px) { .pd-activities li:last-child { grid-column: 1 / -1; } }

/* ==========================================================================
   Admissions pages
   ========================================================================== */

/* Admission Overview (shortcode-call-to-actions): five call-to-action styles */
.cta-stack { display: grid; gap: 1.25rem; }
.cta-band {
    position: relative; overflow: hidden; isolation: isolate; display: grid; gap: 1.25rem; align-items: center;
    padding: clamp(1.5rem, 1rem + 2vw, 2.4rem); border-radius: var(--radius-lg);
}
@media (min-width: 992px) { .cta-band { grid-template-columns: auto minmax(0, 1fr) auto; gap: 2rem; } }
.cta-band__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; font-size: 1.8rem; }
.cta-band__title { margin: 0 0 .4rem; font-family: var(--font-display); font-weight: 560; font-size: clamp(1.4rem, 1.15rem + .9vw, 1.9rem); line-height: 1.2; }
.cta-band__copy p { margin: 0; max-width: 680px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (min-width: 992px) { .cta-band__actions { justify-content: flex-end; } }
.cta-band--dark { color: rgba(255, 255, 255, .82); background: #11182b; box-shadow: var(--shadow-lg); }
.cta-band--dark .cta-band__title { color: #fff; }
.cta-band--dark .cta-band__icon { color: var(--brand-950); background: var(--grad-gold); }
.cta-band--line { background: #fff; border: 1.5px solid var(--brand-100); }
.cta-band--line .cta-band__icon { color: var(--brand-600); background: var(--brand-50); }
.cta-band__steps { display: flex; flex-wrap: wrap; gap: .45rem; margin: .5rem 0 0; padding: 0; list-style: none; counter-reset: s; }
.cta-band__steps li { counter-increment: s; display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .8rem .35rem .35rem; border-radius: 999px; font-size: .82rem; font-weight: 700; color: var(--brand-900); background: var(--paper); border: 1px solid var(--line); }
.cta-band__steps li::before { content: counter(s); display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: .72rem; color: var(--brand-950); background: var(--gold-400); }
.cta-band--royal { color: rgba(255, 255, 255, .86); background: var(--grad-royal); box-shadow: 0 30px 60px -30px rgba(26, 79, 184, .8); }
.cta-band--royal .cta-band__title { color: #fff; }
.cta-band--royal .cta-band__icon { color: var(--gold-400); background: rgba(255, 255, 255, .12); }
.cta-band--royal::after { content: ""; position: absolute; right: -60px; top: -80px; z-index: -1; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .06); }
.cta-band--photo { min-height: 240px; color: rgba(255, 255, 255, .86); background: var(--brand-950); }
.cta-band__bg { position: absolute; inset: -12% 0; z-index: -2; width: 100%; height: 124%; object-fit: cover; object-position: 50% 30%; }
.cta-band--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 14, 38, .95) 0%, rgba(5, 14, 38, .8) 55%, rgba(5, 14, 38, .55) 100%); }
.cta-band--photo .cta-band__title { color: #fff; }
.cta-band--photo .cta-band__icon { color: var(--brand-950); background: var(--grad-gold); }
.cta-band--note { background: var(--cream); border: 1px solid #F1E7C8; }
.cta-band--note .cta-band__icon { color: var(--gold-700); background: #fff; }
.cta-band--note p { color: var(--ink-700); }

/* Admission Procedure (shortcode-vertical-timeline): centre line that fills while scrolling */
.vtl { --fill: 0; position: relative; display: grid; gap: 1.5rem; max-width: 1080px; margin: 0 auto 2rem; padding: 0; list-style: none; }
.vtl::before, .vtl::after { content: ""; position: absolute; left: 31px; top: 0; bottom: 0; width: 3px; border-radius: 3px; }
.vtl::before { background: var(--brand-100); }
.vtl::after { background: linear-gradient(180deg, var(--gold-500), var(--brand-600)); transform: scaleY(var(--fill)); transform-origin: top; }
.vtl__item { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 1.1rem; align-items: start; }
.vtl__node {
    position: relative; z-index: 1; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
    font-size: 1.5rem; color: var(--brand-600); background: #fff; border: 3px solid var(--brand-100);
    transition: color .5s, background-color .5s, border-color .5s, transform .6s var(--ease-out), box-shadow .6s;
}
.vtl__item.is-active .vtl__node { color: var(--brand-950); background: var(--grad-gold); border-color: #fff; transform: scale(1.06); box-shadow: 0 0 0 6px rgba(249, 230, 90, .25), 0 16px 30px -14px rgba(217, 174, 43, .9); }
.vtl__card { position: relative; padding: 1.4rem 1.5rem; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: box-shadow .5s, border-color .5s; }
.vtl__item.is-active .vtl__card { border-color: var(--gold-500); box-shadow: var(--shadow); }
.vtl__card::before { content: ""; position: absolute; left: -8px; top: 24px; width: 14px; height: 14px; background: #fff; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); transform: rotate(45deg); transition: border-color .5s; }
.vtl__item.is-active .vtl__card::before { border-color: var(--gold-500); }
.vtl__step { display: inline-block; margin-bottom: .45rem; padding: .25rem .7rem; border-radius: 999px; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-700); background: var(--brand-50); }
.vtl__card h3 { margin: 0 0 .45rem; font-family: var(--font-display); font-weight: 560; font-size: 1.3rem; }
.vtl__card p { margin: 0; color: var(--ink-700); }
.vtl__card .more-link { margin-top: .75rem; }
@media (min-width: 992px) {
    .vtl { gap: 0; }
    .vtl::before, .vtl::after { left: 50%; margin-left: -1.5px; }
    .vtl__item { grid-template-columns: 1fr 80px 1fr; gap: 0; min-height: 150px; }
    .vtl__node { grid-column: 2; grid-row: 1; justify-self: center; width: 72px; height: 72px; font-size: 1.7rem; }
    .vtl__card { grid-column: 1; grid-row: 1; margin: 0 1.5rem 2rem 0; text-align: right; }
    .vtl__card::before { left: auto; right: -8px; border: 0; border-right: 1px solid var(--line); border-top: 1px solid var(--line); }
    .vtl__item:nth-child(even) .vtl__card { grid-column: 3; margin: 0 0 2rem 1.5rem; text-align: left; }
    .vtl__item:nth-child(even) .vtl__card::before { left: -8px; right: auto; border: 0; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); }
}

/* Documents Required (job-details-style1): summary box + checklist */
.job { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 992px) { .job { grid-template-columns: 320px minmax(0, 1fr); gap: 3rem; } }
@media (min-width: 992px) and (min-height: 680px) { .job__summary { position: sticky; top: calc(var(--sticky-h) + 90px); } }
.job__summary { display: grid; gap: .75rem; padding: 1.5rem; border-radius: 24px; color: rgba(255, 255, 255, .82); background: var(--grad-night); box-shadow: var(--shadow-lg); }
.job__facts { display: grid; gap: .25rem; list-style: none; margin: 0 0 .75rem; padding: 0; }
.job__facts li { display: flex; gap: .85rem; align-items: center; padding: .8rem 0; border-bottom: 1px dashed rgba(255, 255, 255, .14); }
.job__facts li:last-child { border-bottom: 0; }
.job__facts i { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; font-size: 1.2rem; color: var(--gold-400); background: rgba(255, 255, 255, .07); }
.job__facts small { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.job__facts strong { display: block; font-size: .98rem; color: #fff; }
.job__head { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 1.5rem; }
.job__icon { display: grid; place-items: center; flex: none; width: 72px; height: 72px; border-radius: 22px; font-size: 2rem; color: var(--brand-600); background: var(--brand-50); border: 1px solid var(--brand-100); }
.job__title { margin: 0; font-family: var(--font-display); font-weight: 560; font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); line-height: 1.1; }
.job__sub { margin: .25rem 0 0; font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-700); }
.doc-progress { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.25rem; margin-bottom: 1rem; padding: .9rem 1.1rem; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); }
.doc-progress__text { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; color: var(--ink-700); }
.doc-progress__text i { color: var(--brand-600); font-size: 1.15rem; }
.doc-progress__text strong { color: var(--brand-950); }
.doc-progress__bar { flex: 1; min-width: 140px; height: 8px; overflow: hidden; border-radius: 8px; background: var(--brand-100); }
.doc-progress__bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold-500), var(--brand-600)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.doc-check { display: grid; gap: .65rem; list-style: none; margin: 0; padding: 0; }
@media (min-width: 768px) { .doc-check { grid-template-columns: 1fr 1fr; } }
.doc-check label { position: relative; display: flex; align-items: center; gap: .9rem; height: 100%; padding: .95rem 1.1rem; border-radius: 16px; cursor: pointer; background: #fff; border: 1px solid var(--line); transition: border-color .3s, background-color .3s, box-shadow .3s; }
.doc-check label:hover { border-color: var(--brand-200); box-shadow: var(--shadow-sm); }
.doc-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.doc-check__box { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 9px; border: 2px solid var(--brand-200); background: #fff; transition: background-color .3s, border-color .3s, transform .4s var(--ease-out); }
.doc-check__box::after { content: "\eb7b"; font-family: "remixicon"; font-size: 1rem; color: #fff; transform: scale(0); transition: transform .4s var(--ease-out); }
.doc-check__text { font-weight: 600; line-height: 1.4; color: var(--brand-950); }
.doc-check input:checked + .doc-check__box { background: #1E9E5A; border-color: #1E9E5A; transform: scale(1.06); }
.doc-check input:checked + .doc-check__box::after { transform: scale(1); }
.doc-check input:checked ~ .doc-check__text { color: var(--ink-500); text-decoration: line-through; text-decoration-color: rgba(30, 158, 90, .6); }
.doc-check label:has(input:checked) { background: #F2FBF6; border-color: #BFE6CF; }
.doc-check input:focus-visible + .doc-check__box { outline: 3px solid var(--gold-500); outline-offset: 2px; }
.job__next { margin-top: 1.5rem; padding: 1.25rem 1.4rem; border-radius: 18px; background: var(--brand-50); border: 1px solid var(--brand-100); }
.job__next-title { display: flex; align-items: center; gap: .5rem; margin: 0 0 .4rem; font-family: var(--font-display); font-weight: 560; font-size: 1.15rem; }
.job__next-title i { color: var(--brand-600); }
.job__next p { margin: 0; color: var(--ink-700); }

/* Admission Enquiry (form-appointment-style1): centred appointment card */
.zoho-form { min-width: 0; }
.zoho-form__frame { display: block; max-width: 100%; margin-inline: auto; border: 0; background: #fff; }
.zoho-form--page { max-width: 1080px; margin: 0 auto; padding: clamp(1.5rem, 1rem + 2.5vw, 3rem); border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-lg); }
.appt { max-width: 860px; margin: 0 auto; padding: clamp(1.5rem, 1rem + 2.5vw, 3rem); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.appt__head { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 1.5rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.appt__icon { display: grid; place-items: center; flex: none; width: 64px; height: 64px; border-radius: 20px; font-size: 1.8rem; color: var(--brand-950); background: var(--grad-gold); }
.appt__title { margin: 0; font-family: var(--font-display); font-weight: 560; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.appt__intro { margin: .25rem 0 0; font-size: .92rem; color: var(--ink-600); overflow-wrap: anywhere; }
.appt__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.25rem; }
.appt__foot p { margin: 0; font-size: .92rem; color: var(--ink-600); }
.appt__foot a { font-weight: 700; }
.appt-contacts { display: grid; gap: 1rem; max-width: 860px; margin: 1.5rem auto 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .appt-contacts { grid-template-columns: repeat(3, 1fr); } }
.appt-contacts li { display: flex; gap: .9rem; align-items: flex-start; padding: 1.1rem; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.appt-contacts small { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-500); }
.appt-contacts a { padding-block: 2px; }
.appt-contacts a, .appt-contacts li > span > span { display: block; font-weight: 700; font-size: .92rem; line-height: 1.5; color: var(--brand-950); overflow-wrap: anywhere; }
.appt-contacts a:hover { color: var(--brand-600); }
.step-band { display: grid; gap: 1.5rem; align-items: center; padding: clamp(1.5rem, 1rem + 2.5vw, 3rem); border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); }
@media (min-width: 992px) { .step-band { grid-template-columns: auto 1fr auto; gap: 2.5rem; } }
.step-band__num { display: grid; place-items: center; width: 110px; height: 110px; border-radius: 50%; font-family: var(--font-display); font-weight: 600; font-size: 3.6rem; line-height: 1; color: var(--gold-400); background: var(--grad-night); box-shadow: 0 0 0 10px rgba(26, 79, 184, .08); }
.step-band .section-title { margin-bottom: .6rem; }
.step-band p { margin: 0; color: var(--ink-700); }

/* ==========================================================================
   Facilities pages
   ========================================================================== */

/* Classrooms (shortcode-image-box) */
.class-intro { display: grid; gap: 2rem; align-items: center; max-width: 1080px; margin: 0 auto; }
@media (min-width: 768px) { .class-intro { grid-template-columns: auto 1fr; gap: 3.5rem; } }
.class-intro__num {
    position: relative; display: grid; place-items: center; align-content: center; width: 200px; height: 200px; border-radius: 50%;
    color: #fff; background: var(--grad-night); box-shadow: 0 0 0 12px rgba(26, 79, 184, .08), var(--shadow-lg);
}
.class-intro__num::after { content: ""; position: absolute; inset: -22px; border-radius: 50%; border: 1.5px dashed var(--gold-500); animation: fx-turn 40s linear infinite; }
.class-intro__num strong { font-family: var(--font-display); font-weight: 600; font-size: 5.5rem; line-height: .9; color: var(--gold-400); }
.class-intro__num span { font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.class-intro .section-title { margin-bottom: 1rem; }
.class-intro .lead-text { margin: 0; }
.imgbox-grid { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .imgbox-grid { grid-template-columns: repeat(3, 1fr); } }
.imgbox { display: flex; flex-direction: column; overflow: hidden; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.imgbox:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.imgbox__media { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 10.5; }
.imgbox__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.imgbox:hover .imgbox__media img { transform: scale(1.08); }
.imgbox__zoom { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(5, 14, 38, .45); opacity: 0; transition: opacity .45s; }
.imgbox__zoom i { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; font-size: 1.4rem; color: var(--brand-950); background: var(--gold-400); transform: scale(.6); transition: transform .5s var(--ease-out); }
.imgbox__media:hover .imgbox__zoom, .imgbox__media:focus-visible .imgbox__zoom { opacity: 1; }
.imgbox__media:hover .imgbox__zoom i, .imgbox__media:focus-visible .imgbox__zoom i { transform: none; }
.imgbox__body { position: relative; flex: 1; padding: 2.1rem 1.5rem 1.6rem; text-align: center; }
.imgbox__icon { position: absolute; left: 50%; top: 0; display: grid; place-items: center; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 18px; font-size: 1.5rem; color: var(--gold-400); background: var(--grad-night); box-shadow: 0 0 0 5px #fff; }
.imgbox h3 { margin: .5rem 0 .4rem; font-family: var(--font-display); font-weight: 560; font-size: 1.3rem; line-height: 1.3; }
.imgbox p { margin: 0; color: var(--ink-600); }
.feature-row { display: grid; gap: 1rem; list-style: none; margin: 0; padding: 0; }
@media (min-width: 576px) { .feature-row { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .feature-row { grid-template-columns: repeat(5, 1fr); } }
.feature-row li { display: grid; justify-items: center; gap: .9rem; padding: 1.5rem 1rem; border-radius: 20px; text-align: center; font-weight: 700; line-height: 1.4; color: #fff; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); transition: background-color .4s, border-color .4s, transform .5s var(--ease-out); }
.feature-row li:hover { background: rgba(255, 255, 255, .09); border-color: rgba(249, 230, 90, .45); transform: translateY(-5px); }
.feature-row i { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; font-size: 1.55rem; color: var(--brand-950); background: var(--grad-gold); }
@media (min-width: 576px) and (max-width: 991.98px) { .feature-row li:last-child { grid-column: 1 / -1; } }

/* Nursing Laboratories (page-course-gird): also-supported cards */
.support-grid { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .support-grid { grid-template-columns: repeat(3, 1fr); } }
.support-card { position: relative; overflow: hidden; isolation: isolate; min-height: 260px; margin: 0; border-radius: 24px; background: var(--brand-900); box-shadow: var(--shadow); }
.support-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.support-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(5, 14, 38, .9) 5%, rgba(5, 14, 38, .1) 60%); }
.support-card:hover img { transform: scale(1.07); }
.support-card figcaption { position: absolute; left: 1.25rem; right: 1.25rem; bottom: 1.25rem; display: flex; align-items: center; gap: .7rem; font-family: var(--font-display); font-weight: 560; font-size: 1.3rem; color: #fff; }
.support-card figcaption i { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; font-size: 1.2rem; color: var(--brand-950); background: var(--gold-400); }
.support-card--icon { background: var(--grad-royal); }
.support-card--icon::before { background: radial-gradient(70% 60% at 50% 35%, rgba(255, 255, 255, .14), transparent 70%); }
.support-card__art { position: absolute; left: 50%; top: 40%; display: grid; place-items: center; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; font-size: 3rem; color: var(--gold-400); border: 1.5px dashed rgba(255, 255, 255, .35); }
.support-card__art::after { content: ""; position: absolute; inset: -18px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .12); animation: fx-turn 30s linear infinite; }

/* Library (page-pricing-style1): collections */
.shelf { display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem; list-style: none; margin: 0; padding: 0; }
@media (min-width: 992px) { .shelf { grid-template-columns: repeat(4, 1fr); gap: 1.1rem; } }
.shelf li { position: relative; display: flex; flex-direction: column; gap: .9rem; min-height: 150px; padding: 1.3rem 1.2rem; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .45s var(--ease-out), box-shadow .45s; }
.shelf li::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--gold-400), var(--brand-600)); transform: scaleY(0); transform-origin: top; transition: transform .5s var(--ease-out); }
.shelf li:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.shelf li:hover::after { transform: none; }
.shelf i { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; font-size: 1.35rem; color: var(--brand-600); background: var(--brand-50); }
.shelf span { font-weight: 700; line-height: 1.4; color: var(--brand-950); }

/* Sports & Recreation (shortcode-tabs: vertical tabs) */
.vtabs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; max-width: 1080px; margin: 0 auto; }
@media (min-width: 992px) { .vtabs { grid-template-columns: 320px 1fr; gap: 0; } }
.vtabs__nav { display: grid; gap: .6rem; }
@media (max-width: 991.98px) { .vtabs__nav { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.vtabs__btn {
    display: flex; align-items: center; gap: .9rem; width: 100%; padding: 1rem 1.1rem; border-radius: 18px; text-align: left;
    color: var(--ink-700); background: var(--paper); border: 1px solid var(--line); transition: background-color .35s, color .35s, box-shadow .35s, border-color .35s;
}
@media (min-width: 992px) { .vtabs__btn { border-radius: 18px 0 0 18px; border-right: 0; } }
.vtabs__btn i { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; font-size: 1.3rem; color: var(--brand-600); background: #fff; transition: background-color .35s, color .35s; }
.vtabs__btn strong { display: block; font-family: var(--font-display); font-weight: 560; font-size: 1.08rem; line-height: 1.25; color: var(--brand-950); }
.vtabs__btn small { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-500); }
.vtabs__btn:hover { border-color: var(--brand-200); }
.vtabs__btn.active { color: #fff; background: var(--grad-night); border-color: transparent; box-shadow: var(--shadow); }
.vtabs__btn.active i { color: var(--brand-950); background: var(--grad-gold); }
.vtabs__btn.active strong { color: #fff; }
.vtabs__btn.active small { color: var(--gold-300); }
@media (max-width: 575.98px) { .vtabs__btn { flex-direction: column; align-items: center; gap: .5rem; padding: .85rem .5rem; text-align: center; } .vtabs__btn strong { font-size: .92rem; } }
.vtabs__panes { min-height: 100%; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.vtabs__title { position: relative; margin: 0 0 1.4rem; padding-bottom: .7rem; font-family: var(--font-display); font-weight: 560; font-size: 1.6rem; }
.vtabs__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 44px; height: 3px; border-radius: 3px; background: var(--grad-gold); }
.game-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; list-style: none; margin: 0; padding: 0; }
@media (min-width: 768px) { .game-grid { grid-template-columns: repeat(3, 1fr); } }
.game-grid li { display: flex; flex-direction: column; align-items: flex-start; gap: .8rem; padding: 1.2rem; border-radius: 18px; font-family: var(--font-display); font-weight: 560; font-size: 1.15rem; color: var(--brand-950); background: var(--paper); border: 1px solid var(--line); transition: transform .45s var(--ease-out), background-color .4s, color .4s; }
.game-grid li i { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; font-size: 1.5rem; color: var(--brand-600); background: #fff; box-shadow: var(--shadow-sm); transition: transform .6s var(--ease-out); }
.game-grid li:hover { transform: translateY(-4px); color: #fff; background: var(--brand-800); }
.game-grid li:hover i { transform: rotate(-20deg); color: var(--brand-950); background: var(--gold-400); }
.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; max-width: 1000px; margin: 0 auto; list-style: none; padding: 0; }
@media (min-width: 992px) { .value-grid { grid-template-columns: repeat(4, 1fr); } }
.value-grid li { display: grid; justify-items: center; gap: .9rem; padding: 1.6rem 1rem; border-radius: 22px; text-align: center; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); }
.value-grid i { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; font-size: 1.7rem; color: var(--gold-400); border: 1.5px solid rgba(249, 230, 90, .45); }
.value-grid span { font-family: var(--font-display); font-weight: 560; font-size: 1.15rem; color: #fff; }

/* Hostel & Mess (shortcode-listgroup-panels) */
.panel-grid { display: grid; gap: 1.25rem; align-items: start; }
@media (min-width: 992px) { .panel-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.lpanel { overflow: hidden; border-radius: 22px; background: #fff; border: 1px solid #F1E7C8; box-shadow: var(--shadow-sm); }
.lpanel__head { display: flex; align-items: center; gap: .7rem; margin: 0; padding: 1.1rem 1.3rem; font-family: var(--font-display); font-weight: 560; font-size: 1.3rem; color: var(--brand-950); background: var(--paper); border-bottom: 1px solid var(--line); }
.lpanel__head i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; font-size: 1.15rem; color: var(--brand-600); background: #fff; }
.lpanel--royal .lpanel__head { color: #fff; background: var(--grad-royal); border-color: transparent; }
.lpanel--royal .lpanel__head i { color: var(--brand-950); background: var(--gold-400); }
.lpanel--night .lpanel__head { color: #fff; background: var(--grad-night); border-color: transparent; }
.lpanel--night .lpanel__head i { color: var(--gold-400); background: rgba(255, 255, 255, .08); }
.lgroup { list-style: none; margin: 0; padding: .4rem 0; }
.lgroup li { display: flex; align-items: center; gap: .8rem; padding: .85rem 1.3rem; font-weight: 600; color: var(--brand-950); border-bottom: 1px solid var(--line); transition: background-color .3s, padding-left .35s var(--ease-out); }
.lgroup li:last-child { border-bottom: 0; }
.lgroup li i { color: var(--brand-500); font-size: 1.15rem; }
.lgroup li:hover { padding-left: 1.6rem; background: var(--brand-50); }
.lgroup--badges li::after { content: "\eb7b"; font-family: "remixicon"; display: grid; place-items: center; width: 24px; height: 24px; margin-left: auto; border-radius: 50%; font-size: .8rem; color: #fff; background: var(--brand-600); }
.lpanel__body { display: flex; gap: .7rem; margin: 0; padding: 1.1rem 1.3rem 1.3rem; font-size: .95rem; line-height: 1.6; color: var(--ink-700); background: var(--cream); border-top: 1px solid #F1E7C8; }
.lpanel__body i { color: #1E9E5A; font-size: 1.2rem; line-height: 1.4; }

/* ==========================================================================
   Student Life pages
   ========================================================================== */

/* Campus Life (shortcode-columns-grids): 2, 4, 3, 2/1 and 5 column rows */
.cols { display: grid; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
@media (min-width: 768px) { .cols--2 { grid-template-columns: 1fr 1fr; gap: 1.5rem; } .cols--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 992px) { .cols--2-1 { grid-template-columns: 2fr 1fr; gap: 2rem; align-items: center; } }
.cols--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .cols--5 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .cols--5 { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 359.98px) { .cols--5 { grid-template-columns: minmax(0, 1fr); } }
.cols__cell { position: relative; padding: 1.75rem 1.75rem 1.6rem; border-radius: 24px; background: var(--paper); border: 1px solid var(--line); }
.cols__cell p { margin: 0; font-family: var(--font-display); font-size: clamp(1.1rem, 1rem + .45vw, 1.35rem); line-height: 1.55; color: var(--brand-950); }
.cols__label { display: inline-block; margin-bottom: .8rem; padding: .3rem .8rem; border-radius: 999px; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-700); background: #fff; border: 1px solid var(--brand-100); }
.cols__cell--accent { background: var(--grad-night); border-color: transparent; }
.cols__cell--accent p { color: #fff; }
.cols__cell--accent .cols__label { color: var(--brand-950); background: var(--gold-400); border-color: transparent; }
.col-photo { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3.2; border-radius: 22px; box-shadow: var(--shadow); }
.col-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.col-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5, 14, 38, .85) 5%, transparent 55%); }
.col-photo__cap { position: absolute; left: 1.1rem; right: 1.1rem; bottom: 1rem; z-index: 1; display: flex; align-items: center; gap: .55rem; font-weight: 700; color: #fff; }
.col-photo__cap i { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; color: var(--brand-950); background: var(--gold-400); transition: transform .5s var(--ease-out); }
.col-photo:hover img { transform: scale(1.08); }
.col-photo:hover .col-photo__cap i { transform: scale(1.12) rotate(-10deg); }
.col-quote { position: relative; margin: 0; padding: clamp(1.75rem, 1rem + 2.5vw, 3rem); border-radius: var(--radius-lg); background: #fff; border: 1px solid #F1E7C8; box-shadow: var(--shadow); }
.col-quote::before { content: "\ec51"; font-family: "remixicon"; position: absolute; right: 1.5rem; top: .75rem; font-size: 4.5rem; line-height: 1; color: rgba(217, 174, 43, .25); }
.col-quote blockquote { margin: 0 0 1.25rem; }
.col-quote blockquote p { margin: 0; font-family: var(--font-display); font-style: italic; font-size: clamp(1.2rem, 1rem + .7vw, 1.6rem); line-height: 1.5; color: var(--brand-950); }
.col-quote figcaption { display: flex; align-items: center; gap: .8rem; font-size: .92rem; font-weight: 600; color: var(--ink-600); }
.col-quote figcaption a { font-weight: 700; }
.col-links { padding: 1.6rem 1.5rem; border-radius: 24px; background: #fff; border: 1px solid var(--line); }
.col-links__title { position: relative; margin: 0 0 .8rem; padding-bottom: .6rem; font-family: var(--font-display); font-weight: 560; font-size: 1.3rem; }
.col-links__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 2px; background: var(--gold-500); }
.col-outcome { display: grid; justify-items: center; gap: .9rem; padding: 1.6rem 1rem; border-radius: 22px; text-align: center; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); transition: transform .5s var(--ease-out), border-color .4s; }
.col-outcome:hover { transform: translateY(-5px); border-color: rgba(249, 230, 90, .45); }
.col-outcome i { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 18px; font-size: 1.6rem; color: var(--brand-950); background: var(--grad-gold); }
.col-outcome span { font-family: var(--font-display); font-weight: 560; font-size: 1.12rem; color: #fff; }
@media (max-width: 767.98px) { .col-outcome:last-child { grid-column: 1 / -1; } }

/* Co-Curricular Activities (events-grid-3column) */
.egrid { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .egrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .egrid { grid-template-columns: repeat(3, 1fr); } }
.ecard3 { display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.ecard3:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.ecard3__media { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; }
.ecard3__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.ecard3__media::after { content: "\f2db"; font-family: "remixicon"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.6rem; color: #fff; background: rgba(5, 14, 38, .45); opacity: 0; transition: opacity .45s; }
.ecard3:hover .ecard3__media img { transform: scale(1.08); }
.ecard3__media:hover::after, .ecard3__media:focus-visible::after { opacity: 1; }
.ecard3__badge { position: absolute; right: 1rem; bottom: -1px; z-index: 1; display: grid; place-items: center; width: 52px; height: 46px; border-radius: 14px 14px 0 0; font-size: 1.3rem; color: var(--brand-950); background: var(--grad-gold); }
.ecard3__body { flex: 1; padding: 1.25rem 1.4rem 1.5rem; }
.ecard3__meta { display: flex; gap: 1rem; margin: 0 0 .5rem; padding: 0; list-style: none; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-700); }
.ecard3__meta li { display: inline-flex; align-items: center; gap: .35rem; }
.ecard3 h3 { margin: 0; font-family: var(--font-display); font-weight: 560; font-size: 1.28rem; line-height: 1.3; }

/* Seminars & Programmes (events-list-no-sidebar) */
.elist { display: grid; gap: 1.25rem; max-width: 1140px; margin: 0 auto; }
.erow { position: relative; display: grid; gap: 0; overflow: hidden; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: box-shadow .5s var(--ease-out), border-color .3s; }
@media (min-width: 768px) { .erow { grid-template-columns: 300px minmax(0, 1fr); } }
@media (min-width: 1200px) { .erow { grid-template-columns: 380px minmax(0, 1fr) 120px; } }
.erow:hover { box-shadow: var(--shadow-lg); border-color: transparent; }
.erow__media { position: relative; display: block; overflow: hidden; min-height: 220px; }
.erow__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.erow:hover .erow__media img { transform: scale(1.06); }
.erow__media--art { display: grid; place-items: center; background: var(--grad-royal); }
.erow__media--art::before { content: ""; position: absolute; inset: 16% 22%; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .35); animation: fx-turn 40s linear infinite; }
.erow__media--art i { position: relative; display: grid; place-items: center; width: 90px; height: 90px; border-radius: 50%; font-size: 2.4rem; color: var(--brand-950); background: var(--grad-gold); box-shadow: 0 20px 40px -14px rgba(5, 14, 38, .7); }
.erow__body { padding: 1.5rem 1.6rem 1.6rem; }
.erow__tag { display: inline-block; margin-bottom: .45rem; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-700); }
.erow h3 { margin: 0 0 .7rem; font-family: var(--font-display); font-weight: 560; font-size: clamp(1.3rem, 1.1rem + .6vw, 1.65rem); line-height: 1.25; }
.erow__meta { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin: 0 0 .9rem; padding: 0; list-style: none; font-size: .86rem; font-weight: 600; color: var(--ink-600); }
.erow__meta li { display: inline-flex; align-items: center; gap: .35rem; }
.erow__meta i { color: var(--brand-500); }
.erow__body p { margin: 0 0 1rem; color: var(--ink-700); }
.erow__body p:last-child { margin-bottom: 0; }
.erow__date { display: none; }
@media (min-width: 1200px) {
    .erow__date { display: grid; place-items: center; align-content: center; gap: .1rem; border-left: 1px dashed var(--brand-100); background: var(--paper); text-align: center; }
    .erow__date strong { font-family: var(--font-display); font-weight: 600; font-size: 2.6rem; line-height: 1; color: var(--brand-700); }
    .erow__date span { font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-700); }
    .erow__date small { font-size: .78rem; font-weight: 700; color: var(--ink-500); }
    .erow__date--icon i { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; font-size: 1.5rem; color: var(--gold-400); background: var(--grad-night); }
}

/* ==========================================================================
   Anti-Ragging pages
   ========================================================================== */

/* Policy (shortcode-alerts): success, danger, info and warning boxes */
.alerts { display: grid; gap: .9rem; }
.alert-box { position: relative; display: flex; gap: 1rem; align-items: flex-start; padding: 1.15rem 1.25rem 1.15rem 1.1rem; border-radius: 18px; border: 1px solid; border-left-width: 5px; }
.alert-box > i { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; font-size: 1.3rem; }
.alert-box__title { display: block; margin-bottom: .2rem; font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.alert-box p { margin: 0; line-height: 1.6; color: var(--ink-900); }
.alert-box__link { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.alert-box--success { background: #EEF9F2; border-color: #BFE6CF; border-left-color: #1E9E5A; }
.alert-box--success > i { color: #fff; background: #1E9E5A; }
.alert-box--success .alert-box__title { color: #157346; }
.alert-box--danger { background: #FDF0F0; border-color: #F3C7C7; border-left-color: #D93838; }
.alert-box--danger > i { color: #fff; background: #D93838; }
.alert-box--danger .alert-box__title { color: #A82727; }
.alert-box--info { background: var(--brand-50); border-color: var(--brand-100); border-left-color: var(--brand-600); }
.alert-box--info > i { color: #fff; background: var(--brand-600); }
.alert-box--info .alert-box__title, .alert-box--info .alert-box__link { color: var(--brand-700); }
.alert-box--warning { background: var(--cream); border-color: #F1E7C8; border-left-color: var(--gold-600); }
.alert-box--warning > i { color: var(--brand-950); background: var(--gold-400); }
.alert-box--warning .alert-box__title { color: var(--gold-700); }
.stop-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; max-width: 1000px; margin: 0 auto; list-style: none; padding: 0; }
@media (min-width: 992px) { .stop-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 359.98px) { .stop-grid { grid-template-columns: minmax(0, 1fr); } }
.stop-grid li { display: grid; justify-items: center; gap: .9rem; padding: 1.6rem 1rem; border-radius: 22px; text-align: center; background: #fff; border: 1px solid #F3C7C7; box-shadow: var(--shadow-sm); transition: transform .5s var(--ease-out), box-shadow .5s; }
.stop-grid li:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.stop-grid i { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; font-size: 1.7rem; color: #D93838; background: #FDF0F0; }
.stop-grid span { font-family: var(--font-display); font-weight: 560; font-size: 1.2rem; color: var(--brand-950); }
.bodies { display: grid; gap: 1.25rem; max-width: 1000px; margin: 0 auto; }
@media (min-width: 768px) { .bodies { grid-template-columns: 1fr 1fr; } }
.body-card { position: relative; overflow: hidden; display: grid; gap: .6rem; padding: 1.75rem; border-radius: 24px; color: var(--ink-700); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .5s var(--ease-out), box-shadow .5s; }
.body-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: var(--ink-700); }
.body-card__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; font-size: 1.6rem; color: var(--brand-600); background: var(--brand-50); }
.body-card__count { position: absolute; right: 1.5rem; top: .8rem; font-family: var(--font-display); font-weight: 600; font-size: 4.5rem; line-height: 1; color: var(--brand-100); }
.body-card__title { font-family: var(--font-display); font-weight: 560; font-size: 1.5rem; color: var(--brand-950); }
.body-card__more { display: inline-flex; align-items: center; gap: .4rem; font-size: .9rem; font-weight: 700; color: var(--brand-600); transition: gap .35s var(--ease-out); }
.body-card:hover .body-card__more { gap: .7rem; }
.body-card--night { color: rgba(255, 255, 255, .8); background: var(--grad-night); border-color: transparent; }
.body-card--night:hover { color: rgba(255, 255, 255, .8); }
.body-card--night .body-card__icon { color: var(--brand-950); background: var(--grad-gold); }
.body-card--night .body-card__count { color: rgba(255, 255, 255, .08); }
.body-card--night .body-card__title { color: #fff; }
.body-card--night .body-card__more { color: var(--gold-400); }

/* Committee (events-table): table on a photo */
.table-stage { position: relative; isolation: isolate; overflow: hidden; padding-block: var(--section-y); background: var(--brand-950); }
.table-stage__bg { position: absolute; inset: -10% 0; z-index: -2; }
.table-stage__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.table-stage::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 14, 38, .9), rgba(10, 26, 69, .82)); }
.table-stage .data-table-wrap { max-width: 1080px; margin: 0 auto; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }
.call-cards { display: grid; gap: 1rem; }
.call-card { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; padding: 1.2rem 1.3rem; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); transition: border-color .3s, box-shadow .4s; }
.call-card:hover { border-color: var(--gold-500); box-shadow: var(--shadow); }
.call-card__who { flex: 1; min-width: 160px; }
.call-card__who strong { display: block; font-family: var(--font-display); font-weight: 560; font-size: 1.15rem; color: var(--brand-950); }
.call-card__who small { display: block; font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-700); }
.call-card__note { display: flex; align-items: baseline; gap: .35rem; margin-top: .3rem; font-size: .86rem; font-weight: 600; color: var(--ink-600); }
.call-card__note i { color: var(--brand-600); }
.call-card__btn { display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.15rem; border-radius: 999px; font-weight: 700; color: #fff; background: var(--grad-royal); box-shadow: 0 12px 24px -12px rgba(26, 79, 184, .8); transition: transform .4s var(--ease-out); }
.call-card__btn:hover { color: #fff; transform: translateY(-2px); }

/* Squad (page-teachers-style1) */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; list-style: none; margin: 0; padding: 0; }
@media (min-width: 768px) { .team-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.team-card { overflow: hidden; border-radius: 22px; text-align: center; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .5s var(--ease-out), box-shadow .5s; }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-card__portrait { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; background: var(--grad-night); }
.team-card__portrait::before { content: ""; position: absolute; width: 150%; aspect-ratio: 1; border-radius: 50%; background: repeating-conic-gradient(rgba(255, 255, 255, .05) 0deg 6deg, transparent 6deg 16deg); animation: fx-turn 90s linear infinite; }
.team-card__portrait img { position: absolute; right: -24px; bottom: -24px; width: 120px; opacity: .08; filter: grayscale(1) brightness(3); }
.team-card__portrait .monogram--xl { transition: transform .6s var(--ease-out); }
.team-card:hover .team-card__portrait .monogram--xl { transform: scale(1.08); }
.team-card__body { position: relative; display: block; padding: 1.2rem 1rem 1.4rem; }
.team-card__body::before { content: ""; position: absolute; left: 50%; top: 0; width: 46px; height: 3px; margin-left: -23px; border-radius: 3px; background: var(--grad-gold); }
.team-card strong { display: block; font-family: var(--font-display); font-weight: 560; font-size: 1.2rem; color: var(--brand-950); }
.team-card small { display: block; margin-top: .15rem; font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-700); }
@media (max-width: 575.98px) { .team-card .monogram--xl { width: 84px; height: 84px; font-size: 1.7rem; } .team-card strong { font-size: 1.02rem; } }

/* ==========================================================================
   Gallery pages
   ========================================================================== */

/* Banner variants: a mosaic of the gallery's own photos, or no photo at all (Sports) */
.page-hero__mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 1fr); gap: 4px; background: var(--brand-950); }
.page-hero__tile { width: 100%; height: 100%; object-fit: cover; }
.page-hero--mosaic-5 .page-hero__mosaic { grid-template-columns: repeat(6, 1fr); }
.page-hero--mosaic-5 .page-hero__tile:nth-child(-n+2) { grid-column: span 3; }
.page-hero--mosaic-5 .page-hero__tile:nth-child(n+3) { grid-column: span 2; }
@media (max-width: 767.98px) { .page-hero__mosaic { grid-template-columns: repeat(2, 1fr); } .page-hero__tile:nth-child(n+5) { display: none; } .page-hero--mosaic-5 .page-hero__mosaic { grid-template-columns: repeat(2, 1fr); } .page-hero--mosaic-5 .page-hero__tile { grid-column: auto !important; } }
.page-hero--plain { background: radial-gradient(80% 90% at 80% 10%, rgba(45, 102, 211, .45), transparent 60%), var(--grad-night); }
.page-hero__icons { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.page-hero__icons i { position: absolute; font-size: clamp(3rem, 2rem + 4vw, 6rem); color: rgba(249, 230, 90, .1); animation: fx-float 7s ease-in-out infinite; }
.page-hero__icons i:nth-child(1) { left: 6%; top: 18%; }
.page-hero__icons i:nth-child(2) { left: 22%; bottom: 10%; animation-delay: -2s; color: rgba(157, 190, 242, .12); }
.page-hero__icons i:nth-child(3) { right: 8%; top: 14%; animation-delay: -4s; }
.page-hero__icons i:nth-child(4) { right: 24%; bottom: 8%; animation-delay: -1s; color: rgba(157, 190, 242, .12); }
.page-hero__icons i:nth-child(5) { left: 44%; top: 6%; animation-delay: -3s; font-size: 3rem; }
.page-hero__icons i:nth-child(6) { right: 44%; bottom: 4%; animation-delay: -5s; font-size: 3rem; color: rgba(157, 190, 242, .1); }

/* Campus (page-gallery-3col-tiles) */
.gallery__head--stack { flex-direction: column; align-items: flex-start; }
.tiles3 { grid-auto-flow: row; }
@media (min-width: 1200px) { .tiles3 { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 250px; } }

/* Laboratories (page-gallery-masonry-tiles) */
.masonry { columns: 2; column-gap: .75rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .masonry { columns: 3; column-gap: 1rem; } }
@media (min-width: 1200px) { .masonry { columns: 4; } }
.masonry .gitem { display: block; margin: 0 0 .75rem; break-inside: avoid; }
@media (min-width: 768px) { .masonry .gitem { margin-bottom: 1rem; } }
.masonry .gitem.is-hidden { display: none; }
.masonry .gitem img { height: auto; }

/* Events & Seminars (page-gallery-grid): groups in 2 and 3 columns */
.ggrid-head { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 1.75rem; }
.ggrid-head .section-title { margin: 0; }
.ggrid-head .eyebrow { margin-bottom: .5rem; }
.ggrid-head__num { display: grid; place-items: center; flex: none; width: 70px; height: 70px; border-radius: 22px; font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; color: var(--gold-400); background: var(--grad-night); }
.ggrid { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .ggrid--2 { grid-template-columns: 1.3fr 1fr; gap: 1.5rem; } .ggrid--3 { grid-template-columns: repeat(3, 1fr); } .ggrid--reverse > :first-child { order: 2; } .ggrid--reverse { grid-template-columns: 1fr 1.3fr; } }
.gitem--card { aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.ggrid--2 .gitem--card { aspect-ratio: 16 / 10; }
.ggrid-note { display: flex; flex-direction: column; justify-content: center; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: 22px; background: var(--paper); border: 1px solid var(--line); }
.ggrid-note__date { display: inline-flex; align-items: center; gap: .45rem; margin-bottom: .75rem; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-700); }
.ggrid-note__date strong { font-family: var(--font-display); font-size: 2rem; letter-spacing: 0; line-height: 1; color: var(--brand-700); }
.ggrid-note h3 { margin: 0 0 .75rem; font-family: var(--font-display); font-weight: 560; font-size: clamp(1.35rem, 1.1rem + .8vw, 1.8rem); line-height: 1.25; }
.ggrid-note p { color: var(--ink-700); }
.ggrid-note .more-link { align-self: flex-start; margin-top: 0; }
.ggrid-note--night { background: var(--grad-night); border-color: transparent; }
.ggrid-note--night h3 { color: #fff; }
.ggrid-note--night p { color: rgba(255, 255, 255, .8); }
.ggrid-note--night .ggrid-note__date { color: var(--gold-300); }
.ggrid-note--night .more-link { color: #fff; }

/* Sports (shortcode-flipbox) */
.flip-group { display: flex; align-items: center; gap: .6rem; margin: 2.25rem 0 1rem; font-family: var(--font-display); font-weight: 560; font-size: 1.35rem; }
.flip-group:first-of-type { margin-top: 0; }
.flip-group i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; font-size: 1.15rem; color: var(--gold-400); background: var(--grad-night); }
.flip-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .flip-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .flip-grid { grid-template-columns: repeat(5, 1fr); } }
.flip { display: block; width: 100%; height: 200px; padding: 0; border: 0; background: none; perspective: 1000px; cursor: pointer; }
.flip__inner { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .8s var(--ease-out); }
@media (hover: hover) { .flip:hover .flip__inner { transform: rotateY(180deg); } }
.flip[aria-pressed="true"] .flip__inner { transform: rotateY(180deg); }
.flip__front, .flip__back { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: .9rem; padding: 1rem; border-radius: 22px; text-align: center; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.flip__front { color: #fff; background: var(--grad-night); box-shadow: var(--shadow); }
.flip__front i { display: grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; font-size: 2rem; color: var(--gold-400); border: 1.5px solid rgba(249, 230, 90, .4); }
.flip__front strong { font-family: var(--font-display); font-weight: 560; font-size: 1.2rem; }
.flip__back { color: var(--brand-950); background: var(--grad-gold); transform: rotateY(180deg); box-shadow: var(--shadow); }
.flip__back small { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-800); }
.flip__back strong { font-family: var(--font-display); font-weight: 600; font-size: 1.45rem; }
.flip-grid--gold .flip__front { color: var(--brand-950); background: var(--grad-gold); }
.flip-grid--gold .flip__front i { color: var(--brand-950); border-color: rgba(10, 26, 69, .3); }
.flip-grid--gold .flip__back { color: #fff; background: var(--grad-night); }
.flip-grid--gold .flip__back small { color: var(--gold-300); }
.flip-grid--gray .flip__front { color: var(--brand-950); background: #E9EDF4; }
.flip-grid--gray .flip__front i { color: var(--brand-600); border-color: var(--brand-200); }
.flip-grid--gray .flip__back { color: #fff; background: var(--grad-royal); }
.flip-grid--gray .flip__back small { color: var(--gold-300); }
.flip:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 4px; border-radius: 22px; }
@media (max-width: 575.98px) { .flip { height: 180px; } .flip__back strong { font-size: 1.2rem; } .flip__back small { letter-spacing: .08em; } }
@media (prefers-reduced-motion: reduce) { .flip__inner { transition: none; } }

/* Student Activities (shortcode-sliders): image slider with thumbnails, text carousel */
.showcase-head { margin-bottom: 1.5rem; }
.showcase-head .section-title { margin: 0; }
.showcase__frame { position: relative; overflow: hidden; border-radius: var(--radius-lg); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); }
.showcase__main { aspect-ratio: 16 / 9; background: #000; }
@media (max-width: 575.98px) { .showcase__main { aspect-ratio: 4 / 3.4; } }
.showcase__slide { position: relative; height: 100%; margin: 0; }
.showcase__figure { height: 100%; margin: 0; }
.showcase__slide img { width: 100%; height: 100%; object-fit: cover; }
.showcase__slide figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: .8rem; padding: 3.5rem 1.5rem 1.4rem; font-family: var(--font-display); font-weight: 560; font-size: clamp(1.05rem, .95rem + .6vw, 1.45rem); color: #fff; background: linear-gradient(0deg, rgba(5, 14, 38, .9), transparent); }
.showcase__slide figcaption span { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; font-size: 1rem; color: var(--brand-950); background: var(--grad-gold); }
.showcase__ui { position: absolute; right: 1.25rem; top: 1.25rem; z-index: 2; display: flex; align-items: center; gap: .6rem; }
.showcase__count { margin-right: .5rem; padding: .4rem .8rem; border-radius: 999px; font-size: .85rem; font-weight: 700; color: rgba(255, 255, 255, .8); background: rgba(5, 14, 38, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.showcase__count strong { color: var(--gold-400); }
.showcase__ui .round-btn { width: 44px; height: 44px; color: #fff; background: rgba(5, 14, 38, .55); border-color: rgba(255, 255, 255, .3); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.showcase__ui .round-btn:hover { color: var(--brand-950); background: var(--gold-400); border-color: var(--gold-400); }
.showcase__thumbs { margin-top: 1rem; }
.showcase__thumb { overflow: hidden; aspect-ratio: 4 / 3; border-radius: 14px; cursor: pointer; opacity: .45; border: 2px solid transparent; transition: opacity .4s, border-color .4s; }
.showcase__thumb img { width: 100%; height: 100%; object-fit: cover; }
.showcase__thumb:hover { opacity: .8; }
.showcase__thumb.swiper-slide-thumb-active { opacity: 1; border-color: var(--gold-400); }
.text-slider { max-width: 900px; margin: 0 auto; padding-bottom: 2.5rem; text-align: center; }
.text-slider__slide { margin: 0; padding: 0 1rem; }
.text-slider__slide blockquote { margin: 0; }
.text-slider__slide::before { content: "\ec51"; font-family: "remixicon"; display: block; margin-bottom: .5rem; font-size: 3rem; line-height: 1; color: var(--gold-500); }
.text-slider__slide p { margin: 0; font-family: var(--font-display); font-style: italic; font-size: clamp(1.3rem, 1.05rem + 1.1vw, 2rem); line-height: 1.45; color: var(--brand-950); }
.text-slider__dots { position: absolute; left: 0; right: 0; bottom: -7px; display: flex; justify-content: center; gap: 0; }
/* 10 px dots with a 24 px tap area (padding outside the painted dot) */
.text-slider__dots .swiper-pagination-bullet { box-sizing: content-box; width: 10px; height: 10px; margin: 0 !important; padding: 7px; opacity: 1; background: var(--brand-200); background-clip: content-box; transition: width .4s var(--ease-out), background-color .4s; }
.text-slider__dots .swiper-pagination-bullet-active { width: 32px; border-radius: 6px; background: var(--grad-gold); }

/* ==========================================================================
   Contact pages
   ========================================================================== */

/* Location (shortcode-maps): one map, three renderings */
.map-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 1.5rem; }
.map-head .section-title { margin: 0; }
.map-styles { display: flex; flex-wrap: wrap; gap: .4rem; padding: .35rem; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }
.map-style { display: inline-flex; align-items: center; gap: .4rem; padding: .55rem 1rem; border: 0; border-radius: 999px; font-size: .86rem; font-weight: 700; color: var(--ink-600); background: transparent; transition: background-color .3s, color .3s, box-shadow .3s; }
.map-style:hover { color: var(--brand-700); }
.map-style.is-active { color: #fff; background: var(--grad-royal); box-shadow: 0 10px 20px -10px rgba(26, 79, 184, .8); }
.map-box { position: relative; overflow: hidden; height: clamp(340px, 46vw, 540px); border-radius: var(--radius-lg); background: var(--brand-100); box-shadow: var(--shadow-lg); }
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; transition: filter .8s var(--ease-out); }
.map-box[data-style="muted"] iframe { filter: grayscale(1) contrast(1.05) brightness(1.05); }
.map-box[data-style="night"] iframe { filter: invert(.92) hue-rotate(185deg) saturate(.8) brightness(.95); }
.map-box__consent {
    position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 1rem; padding: 1.5rem 1.5rem 6rem; text-align: center; color: #fff;
    background:
        repeating-linear-gradient(35deg, transparent 0 46px, rgba(255, 255, 255, .06) 46px 48px),
        repeating-linear-gradient(-55deg, transparent 0 70px, rgba(249, 230, 90, .07) 70px 73px),
        radial-gradient(60% 70% at 50% 40%, rgba(45, 102, 211, .55), transparent 70%),
        var(--grad-night);
}
.map-box__consent p { max-width: 420px; margin: 0; color: rgba(255, 255, 255, .85); }
.map-box__consent .btn-row { justify-content: center; margin-top: .25rem; }
.map-box__pin { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50% 50% 50% 8px; transform: rotate(-45deg); font-size: 2rem; color: var(--brand-950); background: var(--grad-gold); box-shadow: 0 18px 36px -14px rgba(217, 174, 43, .9); }
.map-box__pin i { transform: rotate(45deg); }
@media (max-width: 575.98px) { .map-box__consent { padding-bottom: 7rem; } }
.map-box__card { position: absolute; left: 1.25rem; bottom: 1.25rem; z-index: 2; display: flex; align-items: center; gap: .9rem; max-width: calc(100% - 2.5rem); padding: .9rem 1.1rem; border-radius: 18px; color: var(--brand-950); background: rgba(255, 255, 255, .9); }
.map-box__card strong { display: block; font-family: var(--font-display); font-size: 1.1rem; }
.map-box__card small { display: block; font-size: .82rem; color: var(--ink-600); }
.locate { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 992px) { .locate { grid-template-columns: 1fr 1.2fr; gap: 3rem; } }
.locate__card { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.locate__title { margin: 0 0 .8rem; font-family: var(--font-display); font-weight: 560; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); }
.locate__address { font-size: 1.1rem; font-weight: 600; line-height: 1.7; color: var(--brand-950); }
.locate .btn-row { margin-top: 1.5rem; }
.locate__contacts { display: grid; gap: .5rem; margin: 1.5rem 0 0; padding: 1.25rem 0 0; list-style: none; border-top: 1px dashed var(--brand-100); }
.locate__contacts li { display: flex; align-items: center; gap: .6rem; }
.locate__contacts i { color: var(--brand-600); }
.locate__contacts a { font-weight: 700; color: var(--brand-950); overflow-wrap: anywhere; }
.locate__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* Contact Numbers (page-contact2) */
.ask-row { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .ask-row { grid-template-columns: repeat(3, 1fr); } }
.ask { display: grid; justify-items: center; align-content: start; gap: .5rem; padding: 2rem 1.5rem; border-radius: 24px; text-align: center; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .5s var(--ease-out), box-shadow .5s; }
.ask:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.ask__icon { display: grid; place-items: center; width: 72px; height: 72px; margin-bottom: .5rem; border-radius: 50%; font-size: 1.9rem; color: var(--brand-600); background: var(--brand-50); box-shadow: 0 0 0 8px rgba(26, 79, 184, .05); }
.ask h3 { margin: 0 0 .25rem; font-family: var(--font-display); font-weight: 560; font-size: 1.35rem; }
.ask__emails { display: grid; gap: .25rem; }
.ask a { font-weight: 700; color: var(--brand-950); overflow-wrap: anywhere; }
.ask a:hover { color: var(--brand-600); }
.ask address { font-weight: 600; line-height: 1.6; color: rgba(255, 255, 255, .85); }
.ask--featured { color: #fff; background: var(--grad-night); border-color: transparent; box-shadow: var(--shadow-lg); }
.ask--featured h3 { color: #fff; }
.ask--featured .ask__icon { color: var(--brand-950); background: var(--grad-gold); box-shadow: 0 0 0 8px rgba(249, 230, 90, .12); }
.ask--featured .more-link { color: #fff; }
.num-grid { display: grid; gap: 1.25rem; max-width: 900px; margin: 0 auto; }
@media (min-width: 768px) { .num-grid { grid-template-columns: 1fr 1fr; } }
/* three numbers: the third card takes a whole row on tablets, three columns from 992 px (smaller digits so they fit) */
@media (min-width: 768px) { .num-grid--three > :last-child { grid-column: 1 / -1; } }
@media (min-width: 992px) {
    .num-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1140px; }
    .num-grid--three > :last-child { grid-column: auto; }
    .num-grid--three .num-card strong { font-size: clamp(1.6rem, .9rem + 1.1vw, 2.1rem); }
}
.num-card { position: relative; overflow: hidden; display: grid; gap: .3rem; padding: 1.75rem; border-radius: 24px; color: #fff; background: var(--grad-night); box-shadow: var(--shadow-lg); transition: transform .5s var(--ease-out); }
.num-card:hover { transform: translateY(-5px); }
/* only the number is the phone link; its ::after covers the card so the whole card stays one tap target */
.num-card__link { color: inherit; }
.num-card__link:hover { color: inherit; }
.num-card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.num-card__link:focus-visible { outline: none; }
.num-card:focus-within { outline: 3px solid var(--gold-500); outline-offset: 3px; }
.num-card::after { content: ""; position: absolute; right: -50px; top: -50px; width: 180px; height: 180px; border-radius: 50%; border: 30px solid rgba(255, 255, 255, .05); }
.num-card__icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: .6rem; border-radius: 18px; font-size: 1.55rem; color: var(--brand-950); background: var(--grad-gold); }
.num-card small { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .65); }
.num-card strong { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); line-height: 1.15; }
.num-card__go { display: inline-flex; align-items: center; gap: .4rem; margin-top: .4rem; font-size: .88rem; font-weight: 700; color: var(--gold-300); }
.num-card--gold { color: var(--brand-950); background: var(--grad-gold); }
.num-card--gold:hover { color: var(--brand-950); }
.num-card--gold .num-card__icon { color: var(--gold-400); background: var(--grad-night); }
.num-card--gold small { color: var(--brand-800); }
.num-card--gold .num-card__go { color: var(--brand-800); }
.num-card--gold::after { border-color: rgba(10, 26, 69, .06); }
.num-sub { display: flex; align-items: center; justify-content: center; gap: .5rem; margin: 2.25rem 0 1rem; font-family: var(--font-display); font-weight: 560; font-size: 1.3rem; }
.num-sub i { color: var(--brand-600); }
.num-card--line { color: var(--brand-950); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.num-card--line:hover { color: var(--brand-950); }
.num-card--line small { color: var(--gold-700); }
.num-card--line strong { font-size: 1.6rem; }
.num-card__note { display: flex; align-items: baseline; gap: .35rem; font-size: .86rem; font-weight: 600; color: var(--ink-600); }
.num-card__note i { color: var(--brand-600); }
.num-card--line::after { border-color: rgba(26, 79, 184, .05); }
.contact2 { max-width: 900px; margin: 0 auto; padding: clamp(1.5rem, 1rem + 2.5vw, 3rem); border-radius: var(--radius-lg); background: #EEF1F6; border: 1px solid var(--line); }
.contact2__title { margin: 0 0 .5rem; font-family: var(--font-display); font-weight: 560; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); text-align: center; text-transform: uppercase; letter-spacing: .04em; }
.contact2__intro { max-width: 640px; margin: 0 auto 1.5rem; text-align: center; color: var(--ink-600); }
.contact2.form-light .field input, .contact2.form-light .field select, .contact2.form-light .field textarea { background-color: #fff; }

/* Email (form-quick-contact-style1) */
.quick { display: grid; gap: 1.5rem; align-items: stretch; max-width: 1080px; margin: 0 auto; }
@media (min-width: 992px) { .quick { grid-template-columns: 1.1fr 1fr; gap: 2rem; } }
.quick--single { grid-template-columns: 1fr; margin: 2rem auto 0; }
.contact-form-first { width: min(100%, 960px); margin-inline: auto; }
.mail-card { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; gap: 1rem; padding: clamp(1.75rem, 1rem + 3vw, 3rem); border-radius: var(--radius-lg); color: rgba(255, 255, 255, .82); background: var(--grad-night); box-shadow: var(--shadow-lg); }
.mail-card::before { content: "\eef6"; font-family: "remixicon"; position: absolute; right: -20px; bottom: -40px; z-index: -1; font-size: 14rem; line-height: 1; color: rgba(255, 255, 255, .04); }
.mail-card__icon { display: grid; place-items: center; width: 70px; height: 70px; border-radius: 22px; font-size: 2rem; color: var(--brand-950); background: var(--grad-gold); }
.mail-card__title { margin: 0; font-size: .8rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-300); }
.mail-card__address { font-family: var(--font-display); font-weight: 560; font-size: clamp(1.4rem, 1rem + 1.6vw, 2.2rem); line-height: 1.2; color: #fff; overflow-wrap: anywhere; }
.mail-card__address-list { display: grid; gap: .35rem; }
.mail-card__address-list .mail-card__address { font-size: clamp(1rem, .9rem + .55vw, 1.3rem); line-height: 1.4; }
.mail-card__address:hover { color: var(--gold-300); }
.mail-card__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.mail-card__more { display: grid; gap: .6rem; margin: auto 0 0; padding: 1.25rem 0 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .92rem; }
.mail-card__more li { display: flex; gap: .6rem; align-items: flex-start; }
.mail-card__more i { color: var(--gold-400); line-height: 1.5; }
.mail-card__more a { font-weight: 700; color: #fff; }
.quick-form { display: grid; gap: 1rem; align-content: start; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.quick-form__title { display: flex; align-items: center; gap: .6rem; margin: 0 0 .25rem; font-family: var(--font-display); font-weight: 560; font-size: 1.5rem; }
.quick-form__title i { color: var(--brand-600); }
.quick-form .btn-ec { justify-self: start; }
.quick-form__note { margin: 0; font-size: .86rem; color: var(--ink-500); }
/* Home: Our Institutions */
.institutions { position: relative; overflow: hidden; background: linear-gradient(180deg, #f5f7fb 0%, #fff 100%); }
.institutions__intro { max-width: 660px; margin: 0 auto; color: var(--ink-600); }
.institutions__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; max-width: 1040px; margin: 2.5rem auto 0; }
.institution-card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: clamp(1.5rem, 1rem + 2vw, 2.25rem); border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); transition: transform .35s var(--ease-out), box-shadow .35s; }
.institution-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.institution-card__head { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.4rem; }
.institution-card__icon { display: grid; place-items: center; flex: none; width: 58px; height: 58px; border-radius: 18px; color: #fff; background: var(--grad-royal); font-size: 1.7rem; }
.institution-card--pharmacy .institution-card__icon { color: var(--brand-950); background: var(--grad-gold); }
.institution-card__category { color: var(--gold-700); font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.institution-card h3 { margin: 0 0 .65rem; color: var(--brand-950); font-family: var(--font-display); font-size: clamp(1.4rem, 1.1rem + .9vw, 1.9rem); font-weight: 560; }
.institution-card p { max-width: 46ch; margin: 0 0 1.25rem; color: var(--ink-600); line-height: 1.7; }
.institution-card__link { display: inline-flex; align-items: center; gap: .5rem; margin-top: auto; color: var(--brand-700); font-weight: 800; }
.institution-card__link:hover { color: var(--gold-700); }
.institution-card__link:focus-visible { outline: 3px solid var(--brand-600); outline-offset: 4px; border-radius: 3px; }
@media (max-width: 767.98px) { .institutions__grid { grid-template-columns: 1fr; margin-top: 1.75rem; } }
/* Our Institutions: interactive cards */
.institutions__grid { gap: clamp(1rem, 2vw, 1.5rem); }
.institution-card {
    --institution-accent: var(--brand-600);
    --institution-glow: rgba(26, 79, 184, .12);
    position: relative; isolation: isolate; overflow: hidden; min-height: 310px;
    border-color: rgba(26, 79, 184, .13);
    background: radial-gradient(ellipse at 100% 0%, var(--institution-glow), transparent 48%), #fff;
    box-shadow: 0 18px 40px -28px rgba(10, 26, 69, .5);
    transition: transform .45s var(--ease-out), border-color .35s, box-shadow .45s var(--ease-out);
}
.institution-card--pharmacy { --institution-accent: var(--gold-500); --institution-glow: rgba(217, 174, 43, .17); }
.institution-card::before { content: ""; position: absolute; z-index: 2; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--institution-accent), transparent 88%); transform: scaleX(.58); transform-origin: left; transition: transform .55s var(--ease-out); }
.institution-card::after { content: ""; position: absolute; z-index: 0; top: -112px; right: -105px; width: 230px; height: 230px; border: 1px solid var(--institution-glow); border-radius: 50%; box-shadow: 0 0 0 22px rgba(26, 79, 184, .025), 0 0 0 46px rgba(26, 79, 184, .018); transition: transform .65s var(--ease-out), opacity .4s; }
.institution-card > * { position: relative; z-index: 1; }
.institution-card:hover, .institution-card:focus-within { transform: translateY(-8px); border-color: var(--institution-accent); box-shadow: 0 26px 54px -28px rgba(10, 26, 69, .55); }
.institution-card:hover::before, .institution-card:focus-within::before { transform: scaleX(1); }
.institution-card:hover::after, .institution-card:focus-within::after { transform: translate(-18px, 18px) scale(1.08); opacity: .8; }
.institution-card__head { margin-bottom: 1.5rem; }
.institution-card__icon { position: relative; width: 64px; height: 64px; border-radius: 20px; box-shadow: 0 12px 24px -12px rgba(10, 26, 69, .55); transition: transform .45s var(--ease-out), box-shadow .45s; }
.institution-card__icon::after { content: ""; position: absolute; inset: -5px; border: 1px solid currentColor; border-radius: 24px; opacity: .22; transform: scale(.92); transition: transform .45s var(--ease-out), opacity .45s; }
.institution-card:hover .institution-card__icon, .institution-card:focus-within .institution-card__icon { transform: translateY(-4px) rotate(-4deg); box-shadow: 0 18px 28px -12px rgba(10, 26, 69, .55); }
.institution-card:hover .institution-card__icon::after, .institution-card:focus-within .institution-card__icon::after { transform: scale(1.12); opacity: .5; }
.institution-card__category { padding: .45rem .75rem; border-radius: 999px; color: var(--brand-700); background: rgba(26, 79, 184, .07); }
.institution-card--pharmacy .institution-card__category { color: var(--gold-700); background: rgba(217, 174, 43, .12); }
.institution-card h3 { max-width: 22ch; }
.institution-card p { max-width: 43ch; }
.institution-card__link { gap: .6rem; transition: color .25s; }
.institution-card__link i { display: inline-block; transition: transform .3s var(--ease-out); }
.institution-card__link:hover i, .institution-card__link:focus-visible i { transform: translate(3px, -3px); }
.institution-card__link:focus-visible { outline-offset: 6px; }
@media (max-width: 767.98px) { .institution-card { min-height: 0; } }
@media (prefers-reduced-motion: reduce) {
    .institution-card, .institution-card::before, .institution-card::after, .institution-card__icon, .institution-card__icon::after, .institution-card__link, .institution-card__link i { transition: none; }
    .institution-card:hover, .institution-card:focus-within, .institution-card:hover .institution-card__icon, .institution-card:focus-within .institution-card__icon, .institution-card__link:hover i, .institution-card__link:focus-visible i { transform: none; }
}
/* Our Institutions: blue and gold gloss */
.institution-card { box-shadow: 0 18px 40px -28px rgba(10, 26, 69, .5), inset 0 4px 0 var(--institution-accent); }
.institution-card--nursing {
    --institution-accent: var(--gold-400);
    --institution-glow: rgba(255, 255, 255, .22);
    color: rgba(255, 255, 255, .88);
    border-color: rgba(255, 255, 255, .22);
    background: radial-gradient(ellipse at 14% 0%, rgba(255, 255, 255, .26), transparent 48%), linear-gradient(135deg, #1f5bc4 0%, #124095 48%, #0a1d52 100%);
}
.institution-card--pharmacy {
    --institution-accent: var(--brand-700);
    --institution-glow: rgba(255, 255, 255, .68);
    color: var(--brand-950);
    border-color: rgba(130, 94, 8, .22);
    background: radial-gradient(ellipse at 90% 0%, rgba(255, 255, 255, .72), transparent 48%), linear-gradient(135deg, #fff0ad 0%, #f2cf69 48%, #dfb13e 100%);
}
.institution-card--nursing h3 { color: #fff; }
.institution-card--nursing p { color: rgba(255, 255, 255, .84); }
.institution-card--nursing .institution-card__category { color: var(--gold-300); background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); }
.institution-card--nursing .institution-card__icon { color: #fff; background: linear-gradient(145deg, rgba(255, 255, 255, .3), rgba(255, 255, 255, .1)); border: 1px solid rgba(255, 255, 255, .35); backdrop-filter: blur(8px); }
.institution-card--nursing .institution-card__link { color: var(--gold-300); }
.institution-card--nursing .institution-card__link:hover { color: #fff; }
.institution-card--pharmacy h3 { color: var(--brand-950); }
.institution-card--pharmacy p { color: rgba(10, 26, 69, .78); }
.institution-card--pharmacy .institution-card__category { color: var(--brand-950); background: rgba(255, 255, 255, .48); border: 1px solid rgba(255, 255, 255, .65); }
.institution-card--pharmacy .institution-card__icon { color: var(--brand-950); background: linear-gradient(145deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .32)); border: 1px solid rgba(255, 255, 255, .7); backdrop-filter: blur(8px); }
.institution-card--pharmacy .institution-card__link { color: var(--brand-950); }
.institution-card--pharmacy .institution-card__link:hover { color: var(--gold-700); }
.institution-card::before { z-index: 0; inset: 0; height: 100%; background: linear-gradient(112deg, transparent 28%, rgba(255, 255, 255, .28) 46%, transparent 63%); opacity: 0; transform: translateX(-125%) skewX(-12deg); transition: transform .85s var(--ease-out), opacity .2s ease-out; pointer-events: none; }
.institution-card:hover::before, .institution-card:focus-within::before { opacity: 1; transform: translateX(125%) skewX(-12deg); }
.institution-card--pharmacy::after { border-color: rgba(130, 94, 8, .16); box-shadow: 0 0 0 22px rgba(255, 255, 255, .14), 0 0 0 46px rgba(130, 94, 8, .05); }
.institution-card__link { border-bottom: 1px solid currentColor; padding-bottom: .25rem; }
@media (prefers-reduced-motion: reduce) {
    .institution-card::before, .institution-card:hover::before, .institution-card:focus-within::before { opacity: 0; transform: none; }
}
