/* Public website: parts built in Front CMS › Home Page (Libraries\HomeSections) — top bar, ticker, side tab,
   home page sections, footer. Loaded after site.css. */
:root { --hs-gold: #c9a227; --hs-ink: #374151; }
body { font-family: "Poppins", var(--bs-body-font-family); }
.btn-outline-site { border: 1px solid var(--site-accent); color: var(--site-accent); background: transparent; }
.btn-outline-site:hover, .btn-outline-site:focus-visible { background: var(--site-accent); color: #fff; }

/* Top information bar */
.site-infobar { background: var(--bar); color: #fff; font-size: .92rem; font-weight: 500; padding: .45rem 0; }
@media (max-width: 767.98px) { .site-infobar { font-size: .78rem; } }
.site-infobar a { color: inherit; text-decoration: none; }
.site-infobar a:hover { text-decoration: underline; }
.site-infobar-item + .site-infobar-item::before { content: "|"; opacity: .55; margin: 0 .55rem; }

/* News ticker under the banner */
.site-ticker { display: flex; align-items: stretch; background: var(--tk); color: var(--tk-ink); font-size: .9rem; font-weight: 500; overflow: hidden; }
.site-ticker-label { flex: none; background: rgba(0, 0, 0, .18); padding: .55rem 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.site-ticker-track { flex: 1; overflow: hidden; display: flex; align-items: center; }
.site-ticker-run { display: inline-flex; gap: 3rem; white-space: nowrap; padding-left: 1rem; animation: hs-run 40s linear infinite; }
.site-ticker:hover .site-ticker-run, .site-ticker:focus-within .site-ticker-run { animation-play-state: paused; }
.site-ticker a { color: inherit; text-decoration: none; }
.site-ticker a:hover { text-decoration: underline; }
@keyframes hs-run { to { transform: translateX(-50%); } }

/* Side tab */
.site-sidetab { position: fixed; right: 0; top: 45%; z-index: 1030; writing-mode: vertical-rl; transform: rotate(180deg); background: var(--tab); color: #fff; font-weight: 600;
    font-size: .85rem; letter-spacing: .05em; padding: 1rem .5rem; border-radius: 0 .5rem .5rem 0; text-decoration: none; box-shadow: 0 4px 14px rgba(0, 0, 0, .2); }
.site-sidetab:hover { color: #fff; padding-right: .75rem; }

/* Sections */
.site-sections { background: #fff; }
.hs { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.hs-kicker { color: var(--hs-gold); font-size: .85rem; font-weight: 500; margin-bottom: .4rem; }
.hs-title { color: var(--site-accent); font-weight: 600; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.2; margin-bottom: 1rem; }
.hs-title-c { color: var(--site-accent); font-weight: 600; font-size: clamp(1.35rem, 2.4vw, 1.9rem); text-align: center; margin-bottom: .75rem; }
.hs-lead { color: var(--site-muted); max-width: 760px; margin: 0 auto 1.5rem; }
.hs-prose { line-height: 1.75; color: var(--hs-ink); text-align: justify; }
.hs-prose p:last-child { margin-bottom: 0; }
.hs-prose img { max-width: 100%; height: auto; }
.hs-subhead { color: var(--hs-gold); font-size: .95rem; font-weight: 600; text-transform: uppercase; margin: 1.25rem 0 .5rem; }
.hs-features { padding-left: 1.1rem; margin: 0; color: var(--hs-ink); font-size: .92rem; }
.hs-features li { margin-bottom: .2rem; }
.hs-features li::marker { color: var(--hs-gold); }

.hs-quick { background: var(--qb); color: var(--qi); border-radius: .25rem; padding: 1.5rem 1.6rem; box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .35); }
.hs-quick h3 { color: var(--site-accent); font-size: 1.2rem; font-weight: 600; margin-bottom: 1rem; }
.hs-quick ul { list-style: none; margin: 0; padding: 0; }
.hs-quick li + li { border-top: 1px solid rgba(0, 0, 0, .08); }
.hs-quick a { display: flex; gap: .5rem; align-items: center; padding: .55rem 0; color: inherit; text-decoration: none; font-size: .9rem; transition: padding .15s; }
.hs-quick a i { color: var(--site-accent); font-size: .75rem; }
.hs-quick a:hover { color: var(--site-accent); padding-left: .25rem; }

.hs-mission { background: var(--mb); color: var(--mi); }
.hs-mission .hs-title-c { color: var(--mi); }
.hs-mission-text { max-width: 860px; margin: 0 auto; font-size: 1.05rem; line-height: 1.8; color: color-mix(in srgb, var(--hs-gold) 75%, var(--mi)); }

/* Picture + coloured panel */
.hs-feature + .hs-feature { padding-top: 0; }
.hs-split { display: grid; grid-template-columns: 1.15fr 1fr; min-height: 380px; }
.hs-split.is-right { grid-template-columns: 1fr 1.15fr; }
.hs-split.is-right .hs-split-img { order: 2; }
.hs-split-img { position: relative; background: color-mix(in srgb, var(--pb) 25%, #e5e7eb); display: grid; place-items: center; overflow: hidden; }
.hs-split-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hs-split-img i { font-size: 3rem; color: var(--pb); opacity: .5; }
.hs-split-panel { background: var(--pb); color: var(--pi); padding: clamp(2rem, 5vw, 4rem); display: flex; flex-direction: column; justify-content: center; position: relative; }
.hs-split-panel::before { content: ""; position: absolute; top: 12%; bottom: 12%; width: 10px; background: var(--hs-gold); left: 0; }
.hs-split.is-right .hs-split-panel::before { left: auto; right: 0; }
.hs-split-panel h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: .9rem; }
.hs-split-panel .hs-prose { color: inherit; font-size: .92rem; }
.hs-panel-btn { align-self: flex-start; border: 1px solid currentColor; color: inherit; }
.hs-panel-btn:hover { background: rgba(255, 255, 255, .15); color: inherit; }
@media (max-width: 991.98px) {
    .hs-split, .hs-split.is-right { grid-template-columns: 1fr; }
    .hs-split-img { min-height: 260px; }
    .hs-split.is-right .hs-split-img { order: 0; }
}

/* Toppers */
.hs-topgroup { background: #f7f8fb; border-radius: .25rem; padding: 0 1rem 1.25rem; height: 100%; }
.hs-topgroup-head { text-align: center; font-size: .8rem; color: var(--site-muted); text-transform: uppercase; padding: .45rem; margin: 0 -1rem 1rem; background: #eef1f6; }
.hs-topgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 1rem; }
.hs-topper { text-align: center; font-size: .78rem; }
.hs-topper-photo { width: 84px; aspect-ratio: 4 / 5; margin: 0 auto .4rem; border: 3px solid var(--site-accent); border-radius: .25rem; overflow: hidden; background: #e5e7eb; display: grid; place-items: center; }
.hs-topper-photo img { width: 100%; height: 100%; object-fit: cover; }
.hs-topper-photo i { font-size: 2rem; color: #9ca3af; }
.hs-topper-rank { color: var(--hs-gold); font-weight: 700; font-size: .75rem; }
.hs-topper-name { color: var(--site-accent); font-weight: 600; }
.hs-topper-class { color: var(--site-muted); font-size: .72rem; }
.hs-topper-score { display: inline-block; margin-top: .3rem; background: #f2cf3b; color: #3b2f00; font-weight: 700; border-radius: .25rem; padding: .1rem .9rem; }

/* Curriculum circles */
.hs-curriculum { background: #f6f7f9; }
.hs-circles { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(1rem, 3vw, 2.5rem); margin-top: 1rem; }
.hs-circle { display: flex; flex-direction: column; align-items: center; gap: .75rem; color: inherit; text-decoration: none; width: 180px; }
.hs-circle-img { width: 170px; height: 170px; border-radius: 50%; overflow: hidden; border: 6px solid #fff; box-shadow: 0 10px 25px -10px rgba(0, 0, 0, .35);
    background: color-mix(in srgb, var(--site-accent) 15%, #fff); display: grid; place-items: center; transition: transform .2s; }
.hs-circle-img img { width: 100%; height: 100%; object-fit: cover; }
.hs-circle-img i { font-size: 2.5rem; color: var(--site-accent); }
a.hs-circle:hover .hs-circle-img { transform: scale(1.04); }
.hs-circle-label { font-weight: 600; text-transform: uppercase; font-size: .85rem; color: var(--hs-ink); }

/* News + events */
.hs-newsbox { border-left: 4px solid #e35d2f; padding-left: 1.25rem; }
.hs-boxtitle { color: var(--site-accent); font-weight: 600; font-size: 1.3rem; margin-bottom: .2rem; }
.hs-newscard { display: flex; flex-direction: column; gap: .35rem; color: inherit; text-decoration: none; font-size: .88rem; }
.hs-newscard-img { aspect-ratio: 16 / 10; border-radius: .25rem; overflow: hidden; background: color-mix(in srgb, var(--site-accent) 10%, #fff); display: grid; place-items: center; }
.hs-newscard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.hs-newscard-img i { font-size: 2rem; color: var(--site-accent); opacity: .6; }
.hs-newscard:hover img { transform: scale(1.04); }
.hs-newscard:hover .fw-semibold { color: var(--site-accent); }
.hs-eventsbox { background: var(--eb); color: var(--ei); padding: 1.5rem; border-radius: .25rem; height: 100%; }
.hs-event { display: flex; flex-direction: column; gap: .15rem; padding: .7rem 0; color: inherit; text-decoration: none; border-bottom: 1px solid rgba(0, 0, 0, .08); }
.hs-event:hover .fw-semibold { color: var(--site-accent); }

/* FAQ + contact */
.hs-faq { border-top: 1px solid var(--site-border); }
.hs-accordion .accordion-button { font-size: .9rem; font-weight: 500; color: var(--site-accent); }
.hs-accordion .accordion-button:not(.collapsed) { background: #f2cf3b; color: #3b2f00; box-shadow: none; }
.hs-accordion .accordion-body { font-size: .9rem; color: var(--hs-ink); }
.hs-faq .site-form { margin-top: 1rem !important; }

/* Join us */
.hs-join .hs-title-c { font-size: clamp(1.6rem, 3vw, 2.3rem); color: var(--hs-ink); }
.hs-quote { font-style: italic; color: var(--site-muted); max-width: 680px; margin: 0 auto 2rem; }
.hs-join-icons { display: flex; justify-content: center; flex-wrap: wrap; gap: clamp(2rem, 8vw, 6rem); }
.hs-join-item { display: flex; flex-direction: column; align-items: center; gap: .5rem; color: var(--hs-ink); text-decoration: none; font-weight: 600; text-transform: uppercase; font-size: .85rem; }
.hs-join-item i { font-size: 2.6rem; color: #e6b325; transition: transform .2s; }
.hs-join-item:hover i { transform: translateY(-4px); }

/* Footer built in Home Page */
.site-footer2 { background: var(--foot); color: rgba(255, 255, 255, .88); }
.site-footer2 a { color: #fff; text-decoration: none; }
.site-footer2 a:hover { text-decoration: underline; }
.site-footer2 .site-foot-title { color: #fff; text-transform: uppercase; font-size: .9rem; letter-spacing: .04em; }
.site-foot-logo { max-height: 70px; max-width: 220px; background: #fff; padding: .4rem; border-radius: .25rem; }
.site-foot-about { line-height: 1.7; }
.site-foot-about p:last-child { margin-bottom: 0; }
.site-foot-post { display: flex; gap: .75rem; align-items: center; margin-bottom: .9rem; font-size: .85rem; }
.site-foot-post small { display: block; opacity: .75; font-size: .72rem; }
.site-foot-thumb { flex: none; width: 64px; height: 48px; border-radius: .25rem; overflow: hidden; background: rgba(255, 255, 255, .12); display: grid; place-items: center; }
.site-foot-thumb img { width: 100%; height: 100%; object-fit: cover; }
.site-app-badge { display: inline-flex; align-items: center; gap: .5rem; background: #000; border: 1px solid rgba(255, 255, 255, .4); border-radius: .5rem; padding: .35rem .8rem; line-height: 1.1; }
.site-app-badge i { font-size: 1.4rem; }
.site-app-badge small { display: block; font-size: .6rem; }
.site-app-badge:hover { text-decoration: none !important; border-color: #fff; }
.site-copy2 { background: rgba(0, 0, 0, .18); padding: .8rem 0; }
.site-copy2 p { margin: 0; }

/* Header of the Home Page design: white logo block, Login / second button row, uppercase menu */
.site-infobar { text-align: center; }
.site-header2 { background: var(--hdr); color: var(--hdr-ink); box-shadow: 0 2px 10px rgba(0, 0, 0, .15); }
.site-header2-row { display: flex; align-items: stretch; }
.site-header2-logo { flex: none; background: #fff; display: flex; align-items: center; justify-content: center; padding: .45rem 1.5rem; min-width: 300px; text-decoration: none; }
.site-header2-logo img { max-height: 96px; max-width: 260px; width: auto; object-fit: contain; }
.site-header2-logo .site-brand { color: var(--hdr); }
.site-header2-main { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; padding: .5rem 2rem .35rem 1rem; }
.site-header2-actions { display: flex; justify-content: flex-end; align-items: center; gap: 1.75rem; padding: .25rem .7rem .35rem; }
.site-header2-actions a { color: var(--hdr-ink); text-decoration: none; text-transform: uppercase; font-weight: 600; font-size: .88rem; letter-spacing: .05em;
    display: inline-flex; align-items: center; gap: .45rem; }
.site-header2-actions a:hover { opacity: .85; }
.site-header2-actions i { font-size: 1.05rem; }
.site-header2-actions img { height: 28px; width: auto; }
.site-header2 .navbar-nav .nav-link { color: var(--hdr-ink); text-transform: uppercase; font-weight: 500; font-size: .9rem; padding: .45rem .8rem; letter-spacing: .02em; }
.site-header2 .navbar-nav .nav-link:hover, .site-header2 .navbar-nav .nav-link.active, .site-header2 .navbar-nav .nav-link:focus-visible { color: #ffd54f; }
@media (min-width: 992px) {
    .site-header2 .navbar-nav { flex-wrap: wrap; justify-content: flex-end; }
    .site-header2 .navbar-nav .nav-link { white-space: nowrap; }
}
.site-header2 .dropdown-menu { text-transform: none; border: 0; border-top: 3px solid #ffd54f; border-radius: 0 0 .4rem .4rem; }
.site-header2 .dropdown-item { color: #1f2937; }
.site-header2 .dropdown-item:hover, .site-header2 .dropdown-item:focus, .site-header2 .dropdown-item.active { background: var(--hdr); color: var(--hdr-ink); }
.site-header2 .dropdown-toggle::after { vertical-align: .15em; border-top-width: .28em; }
@media (max-width: 991.98px) {
    .site-header2 .dropdown-menu { background: rgba(0, 0, 0, .15); border-top: 0; box-shadow: none; }
    .site-header2 .dropdown-item { color: var(--hdr-ink); }
}
.site-header2 .navbar-toggler { color: var(--hdr-ink); border: 0; font-size: 1.7rem; padding: 0 .25rem; }
.site-header2 .navbar-toggler:focus { box-shadow: 0 0 0 .2rem rgba(255, 255, 255, .35); }
@media (max-width: 1199.98px) {
    .site-header2-logo { min-width: 0; padding: .4rem 1rem; }
    .site-header2-logo img { max-height: 72px; max-width: 200px; }
    .site-header2 .navbar-nav .nav-link { font-size: .8rem; padding: .45rem .5rem; }
}
@media (max-width: 991.98px) {
    .site-header2-row { flex-wrap: wrap; }
    .site-header2-main { display: contents; }
    .site-header2-logo img { max-height: 56px; max-width: 160px; }
    .site-header2-actions { flex: 1; gap: 1rem; padding: .4rem .9rem; flex-wrap: wrap; }
    .site-header2-actions a { font-size: .75rem; }
    .site-header2-actions img { height: 22px; }
    .site-header2 .navbar { width: 100%; }
    .site-header2 .navbar-nav { padding: .25rem 1rem .75rem; }
    .site-header2 .navbar-nav .nav-link { font-size: .9rem; }
}

@media (prefers-reduced-motion: reduce) { .site-ticker-run { animation: none; } }
[dir="rtl"] .site-sidetab { right: auto; left: 0; border-radius: .5rem 0 0 .5rem; transform: none; }
[dir="rtl"] .hs-newsbox { border-left: 0; border-right: 4px solid #e35d2f; padding-left: 0; padding-right: 1.25rem; }
