/* =============================================================================
   Science Vision Public School -- tenant theme.
   Layout modelled on the reference site the client chose: dark header, grey
   menu bar, orange hero, pill-shaped images. Written for this tenant; uses only
   Bootstrap 5.3 + Bootstrap Icons (vendored) and Google Fonts Inter/Montserrat.

   Rebrand: change the tokens in :root. Everything else reads from them.
   ========================================================================== */
:root {
    --navy: #252e3a;        /* header, footer, gallery band, dark buttons */
    --navy-2: #2f3a48;
    --orange: #f5832f;      /* hero, pills, accents */
    --orange-dk: #dd6d1c;
    --bar: #dcdcdc;         /* menu bar */
    --green: #4caf50;       /* home button */
    --app: #55b04a;         /* mobile-app card */
    --coral: #ec5b5b;       /* inner-page title badge */
    --blue: #1b5a95;        /* hero notice buttons */
    --red: #e3121b;
    --ink: #1f2328;
    --text: #555c63;
    --soft: #f5f5f5;
    --tile: #ececec;
    --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --display: 'Montserrat', 'Inter', Arial, sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); background: #fff; font-size: 16px; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--orange); }
img { max-width: 100%; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 3000; background: var(--orange); color: #fff; padding: 8px 16px; }
.skip-link:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
@media (min-width: 1400px) { .container { max-width: 1326px; } }

/* ---- buttons ------------------------------------------------------------- */
.btn-pill { display: inline-block; border: 0; border-radius: 40px; padding: 9px 30px; font-size: 15px; font-weight: 500; text-transform: uppercase; letter-spacing: .02em; line-height: 1.3; transition: background .2s, color .2s, transform .2s; cursor: pointer; }
.btn-pill.sm { padding: 6px 18px; font-size: 13px; }
.btn-pill.dark { background: var(--navy); color: #fff; }
.btn-pill.dark:hover { background: var(--orange); color: #fff; }
.btn-pill.orange { background: var(--orange); color: #fff; padding: 10px 36px; }
.btn-pill.orange:hover { background: #fff; color: var(--orange); }
.btn-pill.light { background: #fff; color: var(--orange); }
.btn-pill.light:hover { background: var(--navy); color: #fff; }

.sec-title { font-weight: 800; font-size: 32px; color: #555; text-transform: uppercase; margin: 0 0 18px; letter-spacing: -.01em; }
.body-text { font-size: 17px; line-height: 1.5; color: var(--text); text-align: justify; margin-bottom: 26px; }

/* ================================ HEADER ================================== */
.head-bar { background: var(--navy); padding: 12px 0; }
.head-bar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand:hover { color: #fff; }
.brand img { height: 66px; width: auto; }
.brand-text { display: flex; flex-direction: column; align-items: center; line-height: 1.2; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 19px; text-transform: uppercase; letter-spacing: .01em; }
.brand-tag { font-family: var(--display); font-weight: 400; font-size: 17px; }
.head-contact { display: flex; align-items: center; gap: 30px; }
.hc-item { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: 16px; }
.hc-item i { font-size: 20px; }
.qa-btn { display: inline-flex; align-items: center; gap: 10px; background: #fff; color: #555; border: 0; border-radius: 30px; padding: 6px 14px 6px 6px; font-size: 15px; font-weight: 500; }
.qa-ico { width: 30px; height: 30px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; font-size: 14px; }
.quick-access .dropdown-menu { border: 0; border-top: 3px solid var(--orange); border-radius: 0 0 10px 10px; box-shadow: 0 12px 30px rgba(0,0,0,.18); padding: 6px 0; min-width: 230px; }
.quick-access .dropdown-item { padding: 9px 18px; font-size: 14.5px; }
.quick-access .dropdown-item i { color: var(--orange); margin-right: 8px; }
.quick-access .dropdown-item:hover { background: var(--orange); color: #fff; }
.quick-access .dropdown-item:hover i { color: #fff; }
.nav-toggle { background: none; border: 1px solid rgba(255,255,255,.35); color: #fff; font-size: 26px; line-height: 1; padding: 4px 9px; border-radius: 8px; }

.nav-bar { background: var(--bar); border-bottom: 1px solid #cfcfcf; position: relative; z-index: 50; }
.main-menu { list-style: none; margin: 0; padding: 5px 0; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; }
.main-menu > li { position: relative; }
.menu-link { display: block; background: none; border: 0; padding: 12px 10px; font-size: 15px; color: #111; font-weight: 400; white-space: nowrap; }
.main-menu > li:hover > .menu-link, .main-menu > li.active > .menu-link, .menu-link.active { color: var(--orange-dk); }
.home-btn { width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 19px; margin-right: 6px; }
.home-btn:hover { background: var(--orange); color: #fff; }
.sub-menu { list-style: none; margin: 0; padding: 6px 0; background: #fff; min-width: 250px; box-shadow: 0 14px 30px rgba(0,0,0,.16); border-top: 3px solid var(--orange); border-radius: 0 0 10px 10px; }
.sub-menu a { display: block; padding: 9px 20px; font-size: 14.5px; color: #222; }
.sub-menu a:hover, .sub-menu a.active { background: var(--orange); color: #fff; }

@media (min-width: 1200px) {
    .sub-menu { position: absolute; top: 100%; left: 0; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s ease; }
    .main-menu > li:last-child .sub-menu, .main-menu > li:nth-last-child(2) .sub-menu { left: auto; right: 0; }
    .main-menu > li:hover > .sub-menu, .main-menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
}
@media (max-width: 1199.98px) {
    .head-contact { gap: 14px; }
    .main-menu { flex-direction: column; align-items: stretch; padding: 8px 0 14px; }
    .main-menu > li { border-bottom: 1px solid #cdcdcd; }
    .main-menu .home-item { border: 0; padding: 4px 0 8px; }
    .menu-link { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; padding: 12px 4px; }
    .sub-menu { display: none; box-shadow: none; border-top: 0; border-radius: 0; background: #ececec; margin-bottom: 8px; }
    .has-sub.open > .sub-menu { display: block; }
    .has-sub.open > .menu-link i { transform: rotate(180deg); }
}
@media (max-width: 575.98px) {
    .brand img { height: 52px; }
    .brand-name { font-size: 15px; }
    .brand-tag { font-size: 13px; }
}

/* ================================= HERO =================================== */
.hero { position: relative; background: var(--orange); overflow: hidden; }
.hero-notices { position: absolute; left: 4px; top: 4px; z-index: 6; width: 190px; display: flex; flex-direction: column; gap: 3px; max-height: calc(100% - 8px); overflow: auto; scrollbar-width: none; }
.hero-notices::-webkit-scrollbar { display: none; }
.hn-head, .hn-item { display: block; color: #fff; text-align: center; font-weight: 700; text-transform: uppercase; font-size: 13px; line-height: 1.35; padding: 7px 8px; border: 2px solid #fff; }
.hn-head { background: var(--red); font-size: 14px; }
.hn-item { background: var(--blue); }
.hn-item.hot { background: var(--red); }
.hn-head:hover, .hn-item:hover { background: var(--navy); color: #fff; }

.hero-inner { display: grid; grid-template-columns: minmax(0, 37%) minmax(0, 63%); min-height: 610px; padding-left: 230px; }
.hero-text { position: relative; display: flex; align-items: center; padding: 60px 30px 60px 0; }
.ht-slide { display: none; color: #fff; }
.ht-slide.active { display: block; animation: htIn .7s ease both; }
.ht-slide h2 { font-family: var(--display); font-weight: 300; font-size: 46px; line-height: 1.2; max-width: 400px; text-transform: uppercase; margin: 0 0 18px; }
.ht-slide h2 b { font-weight: 800; }
.ht-slide p { font-size: 18px; line-height: 1.35; max-width: 290px; margin: 0; }
@keyframes htIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.hero-media { position: relative; overflow: hidden; }
.hm-track { position: absolute; inset: 0; }
.hm-slide { position: absolute; left: 0; right: 0; top: 95px; height: 420px; margin: 0; border-radius: 210px 0 0 210px; overflow: hidden; background: rgba(255,255,255,.25);
    transform: translateY(900px); opacity: 0; transition: transform .8s cubic-bezier(.6,.05,.3,1), opacity .8s; }
.hm-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hm-slide.active { transform: none; opacity: 1; }
.hm-slide.is-prev { transform: translateY(-450px); opacity: 1; }
.hm-slide.is-next { transform: translateY(450px); opacity: 1; }
.hm-ctrl { position: absolute; left: 50%; z-index: 3; width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 15px; transform: translateX(-50%); }
.hm-ctrl:hover { background: #fff; color: var(--navy); }
.hm-ctrl.up { top: 79px; }
.hm-ctrl.down { top: 499px; }

@media (max-width: 1399.98px) { .ht-slide h2 { font-size: 40px; } }
@media (max-width: 991.98px) {
    .hero-notices { position: static; width: auto; flex-direction: row; overflow-x: auto; padding: 6px; gap: 6px; max-height: none; }
    .hn-head, .hn-item { flex: 0 0 auto; max-width: 220px; white-space: normal; font-size: 12px; }
    .hero-inner { grid-template-columns: 1fr; padding-left: 0; min-height: 0; }
    .hero-text { padding: 26px 20px 10px; }
    .ht-slide h2 { font-size: 32px; }
    .hero-media { height: 340px; }
    .hm-slide { top: 40px; height: 260px; margin-left: 20px; border-radius: 130px 0 0 130px; }
    .hm-slide.is-prev { transform: translateY(-280px); }
    .hm-slide.is-next { transform: translateY(280px); }
    .hm-ctrl.up { top: 24px; }
    .hm-ctrl.down { top: 284px; }
}

/* ============================== QUICK TILES =============================== */
.quick-tiles { padding: 46px 0 26px; }
.qt-row { display: grid; grid-template-columns: repeat(4, minmax(0, 252px)); justify-content: space-evenly; gap: 30px; }
.qt-tile { height: 150px; border-radius: 75px; background: var(--tile); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #222; font-size: 15px; transition: background .25s, color .25s, transform .25s; }
.qt-tile i { font-size: 42px; line-height: 1; }
.qt-tile:hover { background: var(--orange); color: #fff; transform: translateY(-4px); }
@media (max-width: 991.98px) { .qt-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } .qt-tile { height: 120px; } }

/* ============================== NOTICE BOARD ============================== */
.notice-board { padding: 20px 0 50px; }
.notice-board .sec-title { color: #222; font-size: 28px; }
.nb-viewport { max-width: 1060px; margin: 0 auto; overflow: hidden; }
.nb-track { display: flex; gap: 40px; transition: transform .7s ease; }
.nb-pill { flex: 0 0 calc(50% - 20px); min-height: 160px; border-radius: 90px; background: var(--orange); color: #fff; padding: 26px 70px; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.nb-pill:hover { background: var(--orange-dk); color: #fff; }
.nb-date { font-family: var(--display); font-weight: 800; font-size: 24px; text-transform: uppercase; line-height: 1.1; }
.nb-date b { font-size: 34px; }
.nb-title { font-size: 13px; font-weight: 700; text-transform: uppercase; line-height: 1.35; }
.nb-meta { font-size: 12px; opacity: .9; }
@media (max-width: 767.98px) { .nb-pill { flex-basis: 100%; padding: 24px 44px; } }

/* =============================== MESSAGES ================================= */
.messages { padding: 40px 0 30px; }
.msg-slide { display: none; }
.msg-slide.active { display: flex; animation: htIn .6s ease both; }
.msg-photo { height: 370px; background: #eee; }
.msg-quote { font-size: 16px; color: #333; font-style: italic; margin-bottom: 18px; }
.slide-arrows { display: flex; gap: 8px; flex-shrink: 0; padding-top: 6px; }
.slide-arrows button { width: 30px; height: 30px; border-radius: 50%; border: 0; background: var(--orange); color: #fff; display: grid; place-items: center; font-size: 14px; }
.slide-arrows button:hover { background: var(--navy); }

/* ======================= SPLIT SECTIONS (about, founder) ================== */
.split { padding: 40px 0; }
.split-photo { height: 370px; }
.shape-left, .shape-right { overflow: hidden; }
.shape-left { border-radius: 999px 0 0 999px; }
.shape-right { border-radius: 0 999px 999px 0; }
.shape-left img, .shape-right img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
@media (max-width: 991.98px) { .split-photo, .msg-photo { height: 280px; } }

/* ============================= GALLERY BAND =============================== */
.gallery-band { background: var(--navy); padding: 50px 0; margin-top: 10px; }
.gb-title { color: var(--orange); font-weight: 800; font-size: 32px; text-transform: uppercase; margin: 0 0 14px; }
.gb-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 248px)); gap: 12px 15px; }
.gb-tile { position: relative; display: block; height: 210px; overflow: hidden; background: var(--navy-2); }
.gb-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.gb-tile:hover img { transform: scale(1.06); }
.gb-col.left { text-align: right; }
.gb-col.left .gb-grid { justify-content: end; }
.gb-col.left .gb-tile:nth-child(1) { border-top-left-radius: 100% 100%; }
.gb-col.left .gb-tile:nth-child(3) { border-bottom-left-radius: 100% 100%; }
.gb-col.right .gb-tile:nth-child(2) { border-top-right-radius: 100% 100%; }
.gb-col.right .gb-tile:nth-child(4) { border-bottom-right-radius: 100% 100%; }
.gb-more { margin-top: 30px; }
.play { position: absolute; left: 6px; bottom: 6px; width: 42px; height: 42px; border-radius: 50%; border: 2px solid #fff; color: #fff; display: grid; place-items: center; font-size: 24px; background: rgba(0,0,0,.25); }
@media (max-width: 991.98px) {
    .gb-col.left, .gb-col.right { text-align: center; }
    .gb-grid, .gb-col.left .gb-grid { justify-content: center; }
    .gb-col.left .gb-more { padding-right: 0; }
}
@media (max-width: 575.98px) { .gb-tile { height: 150px; } }

/* =============================== SPOTLIGHT ================================ */
.spotlight { padding: 60px 0 30px; }
.sp-head span { display: block; font-size: 20px; text-transform: uppercase; color: #222; }
.sp-head h2 { font-weight: 800; font-size: 32px; color: var(--navy); text-transform: uppercase; margin: 0; }
.sp-pill { position: relative; height: 430px; margin-top: 24px; background: var(--orange); overflow: hidden; }
.sp-pill.left { border-radius: 215px 0 0 215px; }
.sp-pill.right { border-radius: 0 215px 215px 0; }
.sp-slide { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 28px; opacity: 0; transition: opacity .8s ease; padding: 30px; }
.sp-slide.active { opacity: 1; }
.sp-pill.left .sp-slide { justify-content: flex-end; padding-left: 120px; }
.sp-pill.right .sp-slide { justify-content: flex-start; padding-right: 120px; }
.sp-photo { width: 135px; height: 160px; background: rgba(255,255,255,.3); flex-shrink: 0; }
.sp-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sp-name { writing-mode: vertical-rl; color: #fff; text-transform: uppercase; display: flex; gap: 6px; max-height: 360px; }
.sp-name b { font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1; }
.sp-name small { font-size: 18px; }
.sp-pill.left .sp-slide { flex-direction: row; }
.sp-pill.left .sp-name { flex-direction: row-reverse; }
@media (max-width: 767.98px) {
    .sp-head { text-align: center !important; }
    .sp-pill { height: 300px; }
    .sp-pill.left, .sp-pill.right { border-radius: 150px; }
    .sp-pill.left .sp-slide, .sp-pill.right .sp-slide { justify-content: center; padding: 30px; }
    .sp-name b { font-size: 22px; }
}

/* =============================== APP BAND ================================= */
.app-band { padding: 30px 0 50px; }
.ab-pill { min-height: 435px; border-radius: 220px; background-size: cover; background-position: left center; display: flex; justify-content: flex-end; align-items: center; padding: 18px; }
.ab-card { width: 610px; max-width: 100%; min-height: 400px; border-radius: 200px; background: var(--app); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px 70px; }
.ab-ico { width: 28px; height: 28px; border-radius: 50%; background: #fff; color: var(--app); display: grid; place-items: center; font-size: 15px; margin-bottom: 12px; }
.ab-kicker { font-size: 20px; text-transform: uppercase; color: #111; }
.ab-card h2 { font-weight: 800; font-size: 30px; text-transform: uppercase; color: #111; margin: 0 0 8px; }
.ab-stores { display: flex; gap: 6px; margin-bottom: 14px; }
.ab-stores a, .ab-stores span { background: #111; color: #fff; border-radius: 5px; padding: 4px 10px; font-size: 12px; display: inline-flex; gap: 6px; align-items: center; }
.ab-card p { color: #fff; font-size: 19px; line-height: 1.3; margin-bottom: 14px; }
.ab-code { color: #fff; font-size: 19px; text-transform: uppercase; line-height: 1.25; }
.ab-code b { display: block; font-weight: 800; }
@media (max-width: 991.98px) {
    .ab-pill { border-radius: 40px; justify-content: center; padding: 160px 14px 14px; background-position: center top; }
    .ab-card { border-radius: 40px; min-height: 0; padding: 30px 24px; }
}

/* ================================ FOOTER ================================== */
.site-footer { background: var(--navy); color: #fff; padding: 50px 0 0; }
.f-address { font-size: 18px; margin: 28px 0 18px; font-style: normal; line-height: 1.4; }
.f-address strong { font-weight: 500; }
.f-contact { list-style: none; padding: 0; margin: 0; }
.f-contact li { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; font-size: 16px; }
.f-contact i { font-size: 18px; }
.f-contact a:hover { color: var(--orange); }
.f-follow { color: var(--orange); font-size: 20px; font-weight: 700; text-transform: uppercase; margin: 30px 0 14px; }
.f-social { display: flex; gap: 10px; }
.f-social a { width: 39px; height: 39px; border-radius: 50%; border: 1.5px solid var(--orange); display: grid; place-items: center; font-size: 17px; color: #fff; }
.f-social a:hover { background: var(--orange); color: #fff; }
.f-pill { background: var(--orange); border-radius: 190px; min-height: 370px; padding: 60px 70px 60px 170px; display: flex; flex-direction: column; justify-content: center; }
.f-pill h4 { font-size: 20px; font-weight: 800; text-transform: uppercase; margin: 0 0 22px; }
.f-links { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 50px; }
.f-links li { margin-bottom: 14px; break-inside: avoid; }
.f-links a { color: #fff; font-weight: 300; font-size: 16px; }
.f-links a:hover { color: var(--navy); }
.f-bottom { text-align: center; font-size: 14px; padding: 22px 0 24px; margin-top: 30px; }
@media (max-width: 991.98px) { .f-pill { border-radius: 40px; padding: 40px; min-height: 0; } }
@media (max-width: 575.98px) { .f-links { columns: 1; } }

/* ============================== INNER PAGES =============================== */
.inner-page { background: var(--soft); padding: 22px 0 40px; }
.page-card { background: #fff; padding: 24px 26px 60px; min-height: 520px; }
.title-badge { display: table; position: relative; margin: 0 auto 30px; background: var(--coral); color: #fff; font-size: 26px; font-weight: 700; text-transform: uppercase; padding: 5px 28px; border-radius: 2px; text-align: center; line-height: 1.25; }
.title-badge::after { content: ''; position: absolute; left: 50%; bottom: -10px; transform: translateX(-50%); border: 11px solid transparent; border-bottom: 0; border-top-color: var(--coral); }
@media (max-width: 575.98px) { .page-card { padding: 20px 16px 40px; } .title-badge { font-size: 21px; } }

/* prose produced by editorJsToHtml() */
.page-card .blog_details-area .container, .home-prose .blog_details-area .container { max-width: none; padding: 0; }
.page-card .blog_details-area .row { margin: 0; }
.page-card .blog_details-area [class*="col-"] { padding: 0; }
.page-card .mr-80, .page-card .mb-60 { margin: 0 !important; }
.blog_details-inner-text p { font-size: 17px; line-height: 1.5; color: #333; text-align: justify; margin-bottom: 14px; }
.blog_details-inner-text h2, .blog_details-inner-text h3, .blog_details-inner-text h4 { color: var(--navy); font-weight: 700; margin: 26px 0 12px; }
.blog_details-inner-text h2 { font-size: 24px; }
.blog_details-inner-text h3 { font-size: 20px; }
.blog_details-inner-text h3::after { content: ''; display: block; width: 46px; height: 3px; background: var(--orange); margin-top: 8px; border-radius: 2px; }
.blog_details-inner-text img { display: block; margin: 18px auto 22px; max-height: 420px; width: auto; max-width: 100%; border-radius: 4px; }
.blog_details-inner-text .list-group { display: block; list-style: none; padding: 0; margin: 0 0 18px; border-radius: 0; counter-reset: li; }
.blog_details-inner-text .list-group-item { border: 0; background: none; padding: 6px 0 6px 34px; position: relative; font-size: 17px; color: #333; line-height: 1.45; }
.blog_details-inner-text ul.list-group .list-group-item::before { content: ''; position: absolute; left: 10px; top: 15px; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); }
.blog_details-inner-text ol.list-group .list-group-item::before { counter-increment: li; content: counter(li); position: absolute; left: 0; top: 7px; width: 24px; height: 24px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 12.5px; font-weight: 700; display: grid; place-items: center; }
.blog_details-inner-text .table { margin: 6px 0 22px; border: 1px solid #e3e3e3; font-size: 16px; }
.blog_details-inner-text .table td { padding: 10px 14px; border-color: #e3e3e3; vertical-align: top; }
.blog_details-inner-text .table tr:first-child td { background: var(--navy); color: #fff; font-weight: 600; }
.blog_details-inner-text .table tr:nth-child(even) td { background: #fafafa; }
.blog_details-quote { border-left: 4px solid var(--orange); background: #fff6ee; padding: 16px 22px; margin: 18px 0 22px; border-radius: 0 8px 8px 0; }
.blog_details-quote p { font-style: italic; font-size: 18px; color: #333; margin: 0 0 4px !important; text-align: left !important; }
.blog_details-quote footer { font-size: 14px; color: #777; }
.blog_details-quote footer:not(:empty)::before { content: '— '; }
.warning { border: 1px solid #f2d39b; background: #fff8e8; border-radius: 8px; padding: 12px 16px; margin: 12px 0 18px; font-size: 15.5px; color: #6b5214; }
.empty-note { text-align: center; color: #888; padding: 30px 0; font-size: 16px; }
.lead-sm { color: var(--text); font-size: 17px; margin-bottom: 24px; }

/* notices */
.notice-row { display: flex; gap: 20px; padding: 18px 0; border-bottom: 1px solid #ececec; max-width: 980px; margin: 0 auto; }
.nr-date { flex: 0 0 76px; height: 76px; border-radius: 50%; background: var(--orange); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; }
.nr-date b { font-size: 24px; font-family: var(--display); }
.nr-date small { font-size: 11px; text-transform: uppercase; }
.nr-body h3 { font-size: 19px; font-weight: 700; color: var(--navy); margin: 4px 0 6px; }
.nr-body p { margin-bottom: 6px; color: var(--text); }
.nr-file { color: var(--orange-dk); font-weight: 600; font-size: 14.5px; }

/* events */
.event-card { border: 1px solid #ececec; border-radius: 14px; overflow: hidden; height: 100%; background: #fff; transition: box-shadow .25s, transform .25s; }
.event-card:hover { box-shadow: 0 14px 30px rgba(0,0,0,.08); transform: translateY(-3px); }
.ec-photo { position: relative; aspect-ratio: 4 / 3; background: #eee; }
.ec-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ec-date { position: absolute; left: 14px; top: 14px; background: var(--orange); color: #fff; border-radius: 30px; padding: 4px 14px; font-size: 13px; }
.ec-date b { font-size: 17px; margin-right: 4px; }
.ec-body { padding: 18px 20px 20px; }
.ec-body h3 { font-size: 19px; font-weight: 700; color: var(--navy); margin: 0 0 6px; }
.ec-time { font-size: 14px; color: var(--orange-dk); margin-bottom: 8px; }
.ec-body p { color: var(--text); margin: 0; }

/* people (staff, achievers, toppers) */
.people-grid { margin-top: 6px; }
.person-card { text-align: center; }
.pc-photo { aspect-ratio: 4 / 5; border-radius: 160px 160px 14px 14px; overflow: hidden; background: #eee; margin-bottom: 14px; border: 4px solid var(--orange); }
.pc-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.person-card h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin: 0 0 2px; }
.pc-l1 { color: var(--orange-dk); font-weight: 600; font-size: 15px; }
.pc-l2 { color: #777; font-size: 14px; }

/* gallery pages */
.gal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.gal-tile { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 10px; background: #eee; }
.gal-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.gal-tile:hover img { transform: scale(1.06); }
.gal-tile .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 10px; color: #fff; font-size: 14px; background: linear-gradient(transparent, rgba(0,0,0,.65)); }
.gal-tile.video .play { left: 50%; top: 50%; bottom: auto; transform: translate(-50%, -50%); width: 56px; height: 56px; font-size: 30px; }

/* documents */
.doc-list { list-style: none; padding: 0; margin: 10px auto 0; max-width: 900px; }
.doc-list li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 16px; border: 1px solid #ececec; border-radius: 10px; margin-bottom: 10px; }
.doc-list i { color: var(--coral); font-size: 20px; margin-right: 6px; }

/* contact / reach */
.form-wrap { max-width: 820px; margin: 0 auto; }
.svps-form label { font-size: 14.5px; font-weight: 600; color: #333; margin-bottom: 5px; }
.svps-form .form-control { border-radius: 10px; padding: 10px 14px; border-color: #d8d8d8; }
.svps-form .form-control:focus { border-color: var(--orange); box-shadow: 0 0 0 .2rem rgba(245,131,47,.18); }
.reach-card { background: var(--navy); color: #fff; border-radius: 30px; padding: 32px; height: 100%; }
.reach-card h3 { font-size: 21px; font-weight: 800; text-transform: uppercase; margin-bottom: 20px; }
.reach-card h4 { font-size: 16px; font-weight: 700; color: var(--orange); text-transform: uppercase; margin: 22px 0 10px; }
.reach-card p { display: flex; gap: 12px; margin-bottom: 12px; }
.reach-card p i { color: var(--orange); font-size: 18px; }
.reach-card a { color: #fff; }
.reach-card .hours td { padding: 3px 18px 3px 0; font-size: 15px; }
.map-frame { border-radius: 30px; overflow: hidden; min-height: 380px; height: 100%; background: #eee; }
.map-frame iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
.map-frame.empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; color: #888; padding: 30px; }
.map-frame.empty i { font-size: 40px; color: var(--orange); }

/* ============================ SHARED WIDGETS ============================== */
.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 1500; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--orange); color: #fff; font-size: 20px; display: grid; place-items: center; box-shadow: 0 8px 20px rgba(0,0,0,.2);
    opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--navy); }

.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(15,20,27,.94); display: none; align-items: center; justify-content: center; padding: 56px 16px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox .lb-cap { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: #fff; font-size: 15px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 22px; display: grid; place-items: center; }
.lightbox button:hover { background: var(--orange); }
.lightbox .lb-close { top: 14px; right: 14px; }
.lightbox .lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .ht-slide.active, .msg-slide.active { animation: none; }
    .hm-slide, .sp-slide, .nb-track { transition: none; }
}

/* ---- small screens ------------------------------------------------------ */
@media (max-width: 575.98px) {
    /* justified text leaves rivers in narrow columns */
    .body-text, .blog_details-inner-text p { text-align: left; }
    .sec-title, .gb-title, .sp-head h2 { font-size: 25px; }
    .person-card h3 { font-size: 15px; }
    .pc-l1, .pc-l2 { font-size: 13px; }
    .pc-photo { border-width: 3px; }
}
