/* ==========================================================================
   Scholara theme
   ========================================================================== */
:root {
	--s-primary: #1b3fd0;
	--s-dark: #0b1a3f;
	--s-accent: #ffb21a;
	--s-text: #4a5570;
	--s-soft: #f3f6fc;
	--s-line: #e3e8f2;
	--s-muted: #6b7690;
	--s-font-head: "Plus Jakarta Sans";
	--s-font-body: "DM Sans";
	--s-base: 16px;
	--s-max: 1240px;
	--s-gutter: clamp(16px, 4vw, 40px);
	--s-logo-h: 44px;
	--s-header-h: 80px;
	--s-head: var(--s-font-head), system-ui, -apple-system, "Segoe UI", sans-serif;
	--s-body: var(--s-font-body), system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--s-text); font-family: var(--s-body); font-size: var(--s-base); line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--s-primary); text-decoration: none; transition: color .2s; }
a:hover { color: color-mix(in srgb, var(--s-primary) 80%, #000); }
h1, h2, h3, h4, h5, h6 { font-family: var(--s-head); color: var(--s-dark); line-height: 1.2; letter-spacing: -.01em; margin: 0 0 .6em; font-weight: 800; }
p { margin: 0 0 1.1em; }
button, input, select, textarea { font: inherit; color: inherit; }
input[type="text"], input[type="email"], input[type="url"], input[type="tel"], input[type="search"], input[type="password"], input[type="number"], select, textarea { border: 1.5px solid var(--s-line); border-radius: 12px; padding: 12px 14px; background: #fff; color: var(--s-dark); width: 100%; transition: border-color .2s; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--s-primary); }
:focus-visible { outline: 2px solid var(--s-primary); outline-offset: 3px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { clip: auto; width: auto; height: auto; left: 12px; top: 12px; z-index: 100000; background: #fff; padding: 10px 16px; border-radius: 8px; }
.s-icon { width: 1.15em; height: 1.15em; flex: none; }
.s-container { width: 100%; max-width: calc(var(--s-max) + var(--s-gutter) * 2); margin: 0 auto; padding: 0 var(--s-gutter); }
.s-container--narrow { max-width: calc(820px + var(--s-gutter) * 2); }
.s-eyebrow { font-family: var(--s-head); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--s-primary); margin: 0 0 12px; }

/* Buttons */
.s-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent; font-family: var(--s-head); font-weight: 700; font-size: 14.5px; line-height: 1; cursor: pointer; transition: .2s; white-space: nowrap; }
.s-btn--primary { background: var(--s-primary); color: #fff; }
.s-btn--primary:hover { background: color-mix(in srgb, var(--s-primary) 85%, #000); color: #fff; transform: translateY(-1px); }
.s-btn--ghost { border-color: var(--s-line); color: var(--s-dark); background: #fff; }
.s-btn--ghost:hover { border-color: var(--s-primary); color: var(--s-primary); }
.s-btn--block { width: 100%; }
.s-iconbtn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--s-line); background: #fff; color: var(--s-dark); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: .2s; padding: 0; }
.s-iconbtn:hover { border-color: var(--s-primary); color: var(--s-primary); }

/* ---------- Header ---------- */
.s-headerwrap { position: relative; z-index: 999; }
.s-headerwrap.is-sticky { position: sticky; top: calc(var(--s-topbar-h, 0px) * -1); }
body.admin-bar .s-headerwrap.is-sticky { top: calc(32px - var(--s-topbar-h, 0px)); }
@media (max-width: 782px) { body.admin-bar .s-headerwrap.is-sticky { top: calc(var(--s-topbar-h, 0px) * -1); } }
.s-topbar { background: var(--s-dark); color: rgba(255, 255, 255, .8); font-size: 13.5px; transition: margin .3s; }
.s-topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 42px; }
.s-topbar__text { margin: 0; display: flex; align-items: center; gap: 10px; }
.s-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--s-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--s-accent) 25%, transparent); animation: s-pulse 2s infinite; flex: none; }
@keyframes s-pulse { 50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--s-accent) 0%, transparent); } }
.s-topbar__right { display: flex; align-items: center; gap: 22px; }
.s-topbar__right > a { color: rgba(255, 255, 255, .85); display: inline-flex; align-items: center; gap: 7px; }
.s-topbar__right > a:hover { color: #fff; }
.s-topbar .s-icon { width: 15px; height: 15px; color: var(--s-accent); }
.s-header__main { background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s, background .3s; }
.s-headerwrap.is-scrolled .s-header__main { box-shadow: 0 10px 30px -18px rgba(11, 26, 63, .35); border-bottom-color: var(--s-line); background: rgba(255, 255, 255, .97); }
.s-header__inner { display: flex; align-items: center; gap: 28px; min-height: var(--s-header-h); }
.s-logo { display: inline-flex; align-items: center; gap: 10px; flex: none; color: var(--s-dark); }
.s-logo img { height: var(--s-logo-h); width: auto; display: block; }
.s-logo__mark { width: 42px; height: 42px; border-radius: 12px; background: var(--s-primary); color: #fff; display: flex; align-items: center; justify-content: center; }
.s-logo__mark .s-icon { width: 24px; height: 24px; }
.s-logo__text { font-family: var(--s-head); font-weight: 800; font-size: 21px; letter-spacing: -.02em; color: var(--s-dark); }
.s-logo--light .s-logo__text { color: #fff; }
.s-header__nav { flex: 1; display: flex; justify-content: center; }
.s-nav { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.s-nav li { position: relative; }
.s-nav > li > a { display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: 999px; font-family: var(--s-head); font-weight: 600; font-size: 15px; color: var(--s-dark); }
.s-nav > li > a:hover, .s-nav > li.current-menu-item > a, .s-nav > li.current-menu-ancestor > a { color: var(--s-primary); background: color-mix(in srgb, var(--s-primary) 7%, transparent); }
.s-nav__caret { width: 15px; height: 15px; transition: transform .2s; }
.s-nav li:hover > a .s-nav__caret { transform: rotate(180deg); }
.s-nav .sub-menu { list-style: none; margin: 0; padding: 10px; position: absolute; left: 50%; top: 100%; min-width: 250px; background: #fff; border: 1px solid var(--s-line); border-radius: 16px; box-shadow: 0 30px 60px -25px rgba(11, 26, 63, .35); opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: .2s; z-index: 10; }
.s-nav li:hover > .sub-menu, .s-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 4px); }
.s-nav .sub-menu a { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 10px; color: var(--s-dark); font-weight: 500; font-size: 14.5px; }
.s-nav .sub-menu a:hover { background: var(--s-soft); color: var(--s-primary); }
.s-nav .sub-menu .sub-menu { left: 100%; top: 0; transform: translate(6px, 0); }
.s-header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.s-header__nav + .s-header__actions { margin-left: 0; }
.s-burger { display: none; }

/* Drawer */
.s-drawer, .s-search { position: fixed; inset: 0; z-index: 100002; visibility: hidden; }
.s-drawer.is-open, .s-search.is-open { visibility: visible; }
.s-drawer__scrim, .s-search__scrim { position: absolute; inset: 0; background: rgba(6, 14, 38, .55); opacity: 0; transition: opacity .3s; backdrop-filter: blur(3px); }
.is-open > .s-drawer__scrim, .is-open > .s-search__scrim { opacity: 1; }
.s-drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 88vw); background: #fff; padding: 20px 22px 28px; display: flex; flex-direction: column; gap: 18px; transform: translateX(104%); transition: transform .35s cubic-bezier(.2, .7, .2, 1); overflow-y: auto; }
.s-drawer.is-open .s-drawer__panel { transform: none; }
.s-drawer__top { display: flex; justify-content: space-between; align-items: center; }
.s-mnav { list-style: none; margin: 0; padding: 0; }
.s-mnav li { border-bottom: 1px solid var(--s-line); }
.s-mnav a { display: block; padding: 14px 4px; font-family: var(--s-head); font-weight: 700; font-size: 17px; color: var(--s-dark); }
.s-mnav .sub-menu { list-style: none; padding: 0 0 10px 12px; margin: 0; display: none; }
.s-mnav .sub-menu li { border: 0; }
.s-mnav .sub-menu a { font-weight: 500; font-size: 15.5px; padding: 8px 4px; }
.s-mnav li.is-open > .sub-menu { display: block; }
.s-mnav .menu-item-has-children > a { display: flex; justify-content: space-between; align-items: center; }
.s-mnav .s-nav__caret { width: 18px; height: 18px; }
.s-mnav li.is-open > a .s-nav__caret { transform: rotate(180deg); }
.s-drawer__contact { margin-top: auto; display: grid; gap: 10px; }
.s-drawer__contact > a { display: flex; align-items: center; gap: 10px; color: var(--s-dark); font-weight: 600; }
.s-drawer__contact .s-icon { color: var(--s-primary); }

/* Search overlay */
.s-search__box { position: absolute; left: 50%; top: 12vh; width: min(760px, calc(100% - 32px)); transform: translate(-50%, -20px); opacity: 0; transition: .3s; background: #fff; border-radius: 24px; padding: 30px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5); }
.s-search.is-open .s-search__box { transform: translate(-50%, 0); opacity: 1; }
.s-search__close { position: absolute; top: 16px; right: 16px; }
.s-search__label { font-family: var(--s-head); font-weight: 800; font-size: 22px; color: var(--s-dark); margin: 0 0 16px; }
.s-search__form { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--s-line); border-radius: 16px; padding: 6px 6px 6px 16px; }
.s-search__form:focus-within { border-color: var(--s-primary); }
.s-search__form > .s-icon { color: var(--s-muted); }
.s-search__form input { border: 0 !important; padding: 12px 0 !important; font-size: 17px; }
.s-search__popular { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; font-size: 14px; }
.s-search__popular span { color: var(--s-muted); font-weight: 600; }
.s-search__popular a { background: var(--s-soft); color: var(--s-dark); padding: 6px 12px; border-radius: 999px; font-weight: 500; }
.s-search__popular a:hover { background: var(--s-primary); color: #fff; }
html.s-noscroll, html.s-noscroll body { overflow: hidden; }

/* ---------- Footer ---------- */
.s-footer { background: var(--s-dark); color: rgba(255, 255, 255, .72); font-size: 15px; position: relative; overflow: hidden; }
.s-footer::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; left: -200px; top: -260px; background: radial-gradient(circle, color-mix(in srgb, var(--s-primary) 45%, transparent), transparent 70%); pointer-events: none; }
.s-footer__grid { position: relative; display: grid; grid-template-columns: 1.4fr repeat(3, 1fr) 1.3fr; gap: 40px; padding-top: clamp(56px, 7vw, 88px); padding-bottom: 48px; }
.s-footer__brand p { margin: 18px 0 20px; max-width: 320px; line-height: 1.7; }
.s-footer h4 { color: #fff; font-size: 16px; margin: 6px 0 18px; }
.s-footer__menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.s-footer__menu a, .s-footer__contact a { color: rgba(255, 255, 255, .72); }
.s-footer__menu a:hover, .s-footer__contact a:hover { color: #fff; }
.s-footer__contact ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.s-footer__contact li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; }
.s-footer__contact .s-icon { color: var(--s-accent); margin-top: 2px; }
.s-footer__bottom { position: relative; border-top: 1px solid rgba(255, 255, 255, .1); }
.s-footer__bottominner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 22px; padding-bottom: 22px; font-size: 14px; }
.s-footer__bottominner p { margin: 0; }
.s-footer__legal { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; }
.s-footer__legal a { color: rgba(255, 255, 255, .6); }
.s-social { display: flex; gap: 8px; align-items: center; }
.s-social a { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .08); color: #fff; transition: .2s; }
.s-social a:hover { background: var(--s-accent); color: var(--s-dark); }
.s-social .s-icon { width: 17px; height: 17px; }
.s-social--top a { width: 28px; height: 28px; background: transparent; }
.s-social--top .s-icon { width: 15px; height: 15px; color: rgba(255, 255, 255, .85); }
.s-drawer .s-social a { background: var(--s-soft); color: var(--s-dark); }

/* ---------- Pages & blog ---------- */
.s-main { padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 8vw, 104px); }
.s-main--elementor { padding: 0; }
.s-pageheader { padding: clamp(48px, 7vw, 96px) 0 clamp(32px, 4vw, 48px); background: radial-gradient(900px 380px at 100% 0, color-mix(in srgb, var(--s-primary) 10%, transparent), transparent 65%), linear-gradient(180deg, var(--s-soft), #fff); }
.s-pageheader__title { font-size: clamp(34px, 5vw, 56px); margin: 0; }
.s-pageheader__text { font-size: 18px; max-width: 680px; margin-top: 14px; }
.s-pageheader__text p:last-child { margin: 0; }
.s-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.s-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--s-line); border-radius: 22px; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.s-card:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -24px rgba(11, 26, 63, .3); }
.s-card__media { aspect-ratio: 16 / 10; background: var(--s-soft); overflow: hidden; display: block; }
.s-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.s-card__body { padding: 22px; }
.s-card__title { font-size: 20px; margin: 8px 0 8px; }
.s-card__title a { color: var(--s-dark); }
.s-card__title a:hover { color: var(--s-primary); }
.s-card__excerpt { margin: 0; font-size: 15px; }
.s-meta { font-size: 13.5px; color: var(--s-muted); font-weight: 500; }
.s-meta a { color: var(--s-primary); }
.pagination, .nav-links { margin-top: 44px; }
.pagination .nav-links { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.page-numbers { min-width: 42px; height: 42px; padding: 0 12px; border-radius: 12px; border: 1.5px solid var(--s-line); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; color: var(--s-dark); }
.page-numbers.current { background: var(--s-primary); border-color: var(--s-primary); color: #fff; }
.s-empty { text-align: center; padding: 60px 0; }
.s-searchform { display: flex; gap: 10px; max-width: 520px; margin: 20px auto 0; }

.s-single__head { padding: clamp(40px, 6vw, 80px) 0 32px; background: linear-gradient(180deg, var(--s-soft), #fff); }
.s-single__title { font-size: clamp(32px, 4.6vw, 52px); margin: 12px 0 14px; }
.s-single__lead { font-size: 19px; margin: 0; }
.s-single__media { margin: 0 auto 40px; }
.s-single__media img, .s-featured img { width: 100%; border-radius: 26px; display: block; aspect-ratio: 16 / 8; object-fit: cover; }
.s-featured { margin: 0 0 32px; }
.s-withside { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; }
.s-prose { font-size: 17.5px; line-height: 1.8; color: var(--s-text); }
.s-prose > * + * { margin-top: 1.1em; }
.s-prose h2 { font-size: 30px; margin-top: 1.6em; }
.s-prose h3 { font-size: 23px; margin-top: 1.4em; }
.s-prose ul, .s-prose ol { padding-left: 1.3em; }
.s-prose li + li { margin-top: .4em; }
.s-prose blockquote { margin: 1.6em 0; padding: 22px 26px; border-left: 4px solid var(--s-primary); background: var(--s-soft); border-radius: 0 16px 16px 0; font-size: 19px; color: var(--s-dark); }
.s-prose img { border-radius: 18px; }
.s-prose a { text-decoration: underline; text-underline-offset: 3px; }
.s-prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.s-prose th, .s-prose td { padding: 12px; border-bottom: 1px solid var(--s-line); text-align: left; }
.s-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.s-tags a { background: var(--s-soft); color: var(--s-dark); padding: 6px 12px; border-radius: 999px; font-size: 14px; text-decoration: none; }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; }
.post-navigation a { display: block; padding: 18px 20px; border: 1px solid var(--s-line); border-radius: 18px; color: var(--s-dark); }
.post-navigation small { display: block; color: var(--s-muted); font-size: 13px; }
.post-navigation span { font-family: var(--s-head); font-weight: 700; }
.post-navigation .nav-next { text-align: right; }
.s-sidebar .widget { margin-bottom: 32px; }
.s-comments { margin-top: 56px; }
.s-comments__list { list-style: none; padding: 0; }
.comment-body { padding: 18px 0; border-bottom: 1px solid var(--s-line); }
.comment-form input[type="submit"] { background: var(--s-primary); color: #fff; border: 0; border-radius: 999px; padding: 14px 26px; font-weight: 700; cursor: pointer; }
.s-404 { text-align: center; padding: clamp(80px, 12vw, 160px) 0; }
.s-404__code { font-family: var(--s-head); font-weight: 800; font-size: clamp(90px, 16vw, 180px); line-height: 1; margin: 0; background: linear-gradient(135deg, var(--s-primary), var(--s-accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.s-404 h1 { font-size: clamp(28px, 3.6vw, 40px); margin: 12px 0; }
.s-404__actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* Elementor */
.elementor-page .s-main--elementor { overflow-x: clip; }
.e-con.e-parent:has(> .e-con-inner > .elementor-widget[class*="elementor-widget-scholara-"]) { padding-left: 0; padding-right: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1140px) {
	.s-nav > li > a { padding: 10px 10px; font-size: 14.5px; }
	.s-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
	.s-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 1024px) {
	.s-header__nav { display: none; }
	.s-header__nav + .s-header__actions { margin-left: auto; }
	.s-burger { display: inline-flex; }
	.s-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.s-withside { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
	:root { --s-header-h: 68px; --s-logo-h: 36px; }
	.s-topbar__text { display: none; }
	.s-topbar__inner { justify-content: center; min-height: 38px; }
	.s-topbar__right { gap: 14px; }
	.s-topbar__right > a:nth-child(2) { display: none; }
	.s-header__cta { display: none; }
	.s-header__inner { gap: 12px; }
	.s-logo__text { font-size: 18px; }
	.s-logo__mark { width: 36px; height: 36px; }
	.s-grid { grid-template-columns: minmax(0, 1fr); }
	.s-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
	.s-footer__contact { grid-column: 1 / -1; }
	.s-footer__bottominner { justify-content: center; text-align: center; }
	.post-navigation .nav-links { grid-template-columns: 1fr; }
	.s-search__box { top: 16px; padding: 22px; }
	.s-search__form { flex-wrap: wrap; padding: 6px; }
	.s-search__form .s-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Elementor header layout: make the whole layout wrapper sticky. */
.scholara-layout--header { position: relative; z-index: 999; }
.scholara-layout--header:has(.s-headerwrap.is-sticky) { position: sticky; top: calc(var(--s-topbar-h, 0px) * -1); }
body.admin-bar .scholara-layout--header:has(.s-headerwrap.is-sticky) { top: calc(32px - var(--s-topbar-h, 0px)); }
.scholara-layout--header .s-headerwrap.is-sticky { position: relative; top: auto; }
.scholara-layout--header .elementor-section, .scholara-layout--footer .elementor-section { padding: 0; }

/* ==========================================================================
   v1.1 — modern header, mega menus, footer banner
   ========================================================================== */
:root { --s-violet: #7b3ff2; --s-grad: linear-gradient(135deg, var(--s-primary) 0%, var(--s-violet) 100%); }
.s-btn--accent { background: var(--s-accent); color: var(--s-dark); }
.s-btn--accent:hover { background: #fff; color: var(--s-dark); transform: translateY(-1px); }
.s-btn .s-icon { width: 17px; height: 17px; }
.s-btn--glass { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(8px); }
.s-btn--glass:hover { background: #fff; color: var(--s-dark); }
.s-header__cta { background: var(--s-grad); box-shadow: 0 10px 24px -10px rgba(36, 71, 245, .6); }
.s-header__cta:hover { filter: brightness(1.08); }

/* Transparent header over a photo hero */
.s-logo__light, .s-logo img.s-logo__light { display: none; }
.s-headerwrap.is-over { position: fixed; left: 0; right: 0; top: 0; }
body.admin-bar .s-headerwrap.is-over { top: 32px; }
@media (max-width: 782px) { body.admin-bar .s-headerwrap.is-over { top: 46px; } body.admin-bar .s-headerwrap.is-over.is-scrolled { top: 0; } }
.s-headerwrap.is-over .s-topbar { background: rgba(6, 14, 38, .35); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.s-headerwrap.is-over:not(.is-scrolled) .s-header__main { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom-color: rgba(255, 255, 255, .12); box-shadow: none; }
.s-headerwrap.is-over:not(.is-scrolled) .s-nav > li > a, .s-headerwrap.is-over:not(.is-scrolled) .s-logo__text { color: #fff; }
.s-headerwrap.is-over:not(.is-scrolled) .s-nav > li > a:hover, .s-headerwrap.is-over:not(.is-scrolled) .s-nav > li.current-menu-item > a, .s-headerwrap.is-over:not(.is-scrolled) .s-nav > li.current-menu-ancestor > a { background: rgba(255, 255, 255, .14); color: #fff; }
.s-headerwrap.is-over:not(.is-scrolled) .s-iconbtn { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); color: #fff; }
.s-headerwrap.is-over:not(.is-scrolled) .s-logo--has-light > :not(.s-logo__light) { display: none; }
.s-headerwrap.is-over:not(.is-scrolled) .s-logo--has-light .s-logo__light { display: block; height: var(--s-logo-h); width: auto; }
.s-headerwrap.is-over.is-scrolled .s-topbar { margin-top: calc(var(--s-topbar-h, 0px) * -1); }
.s-headerwrap.is-over .s-topbar { transition: margin .35s; }
.scholara-layout--header:has(.s-headerwrap.is-over) { position: static; height: 0; }

/* Mega menus */
.s-header__inner { position: relative; }
.s-nav > li.s-has-mega { position: static; }
.s-nav > li.s-has-mega > .sub-menu { display: none; }
.s-mega { position: absolute; left: 50%; top: calc(100% - 6px); width: min(1180px, calc(100vw - 40px)); transform: translate(-50%, 10px); opacity: 0; visibility: hidden; transition: opacity .22s, transform .22s, visibility .22s; z-index: 30; padding-top: 10px; }
.s-nav > li.s-has-mega:hover > .s-mega, .s-nav > li.s-has-mega:focus-within > .s-mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.s-mega__inner { background: #fff; border-radius: 24px; box-shadow: 0 40px 80px -30px rgba(11, 26, 63, .45), 0 0 0 1px rgba(11, 26, 63, .06); padding: 26px; display: grid; gap: 22px; color: var(--s-text); }
.s-mega--programs .s-mega__inner { grid-template-columns: 1fr 1fr 1fr 1.25fr; }
.s-mega--destinations .s-mega__inner { grid-template-columns: 1fr 300px; }
.s-mega--areas .s-mega__inner { grid-template-columns: 1fr 300px; }
.s-mega__h { font-family: var(--s-head); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--s-muted); font-weight: 700; margin: 4px 0 10px; }
.s-mega__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.s-mega__links a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; color: var(--s-dark); font-weight: 600; font-size: 14.5px; }
.s-mega__links a:hover { background: var(--s-soft); color: var(--s-primary); }
.s-mega__links a span { flex: 1; }
.s-mega__links em { font-style: normal; font-size: 12px; color: var(--s-muted); background: var(--s-soft); padding: 2px 8px; border-radius: 6px; font-weight: 600; }
.s-mega__links .sw-icon { width: 18px; height: 18px; color: var(--s-primary); }
.s-mega__feature { border-radius: 18px; padding: 24px; background: var(--s-grad); color: rgba(255, 255, 255, .85); display: flex; flex-direction: column; gap: 10px; background-size: cover; background-position: center; }
.s-mega__kicker { margin: 0; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--s-accent); }
.s-mega__big { margin: 0 0 6px; font-family: var(--s-head); font-weight: 800; font-size: 22px; line-height: 1.2; color: #fff; }
.s-mega__search { display: flex; background: #fff; border-radius: 12px; padding: 4px; }
.s-mega__search input { border: 0 !important; padding: 10px 12px !important; min-width: 0; font-size: 14.5px; }
.s-mega__search button { border: 0; background: var(--s-accent); color: var(--s-dark); border-radius: 9px; width: 42px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.s-mega__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 700; font-size: 14px; }
.s-mega__more .s-icon { width: 16px; height: 16px; transition: transform .2s; }
.s-mega__more:hover { color: #fff; } .s-mega__more:hover .s-icon { transform: translateX(3px); }
.s-mega__feature .s-btn { align-self: flex-start; min-height: 42px; }
.s-mega__dests { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.s-mega__dest { position: relative; display: block; border-radius: 16px; overflow: hidden; min-height: 118px; color: #fff; }
.s-mega__destimg { position: absolute; inset: 0; background: var(--s-dark) center / cover; transition: transform .5s; }
.s-mega__destimg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 14, 38, .05), rgba(6, 14, 38, .82)); }
.s-mega__dest:hover .s-mega__destimg { transform: scale(1.06); }
.s-mega__destbody { position: absolute; left: 14px; right: 14px; bottom: 12px; display: flex; flex-direction: column; }
.s-mega__destbody strong { font-family: var(--s-head); font-size: 16px; color: #fff; }
.s-mega__destbody small { font-size: 12.5px; color: rgba(255, 255, 255, .8); }
.s-mega__areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; align-content: start; }
.s-mega__area { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; color: var(--s-dark); }
.s-mega__area:hover { background: var(--s-soft); color: var(--s-primary); }
.s-mega__area strong { display: block; font-family: var(--s-head); font-size: 14.5px; line-height: 1.25; }
.s-mega__area small { font-size: 12.5px; color: var(--s-muted); }
.s-mega__areaicon { width: 42px; height: 42px; flex: none; border-radius: 12px; background: color-mix(in srgb, var(--s-primary) 10%, #fff); color: var(--s-primary); display: flex; align-items: center; justify-content: center; }
.s-mega__area:hover .s-mega__areaicon { background: var(--s-grad); color: #fff; }
.s-mega__areaicon .sw-icon { width: 21px; height: 21px; }
.s-mega__feature--photo { justify-content: flex-end; min-height: 240px; }
.s-mega__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.s-mega__chips a { background: rgba(255, 255, 255, .16); color: #fff; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; backdrop-filter: blur(6px); }
.s-mega__chips a:hover { background: #fff; color: var(--s-dark); }

/* Footer banner (sits above the footer on every page) */
.s-footer--banner { margin-top: 110px; }
.s-footer--banner::before { top: -60px; }
.s-fbanner { position: relative; transform: translateY(-110px); margin-bottom: -60px; border-radius: 32px; overflow: hidden; padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; color: rgba(255, 255, 255, .86); background: linear-gradient(110deg, rgba(20, 33, 110, .96) 0%, rgba(36, 71, 245, .86) 55%, rgba(123, 63, 242, .55) 100%), var(--s-fb-img, none) center / cover, var(--s-grad); box-shadow: 0 40px 80px -40px rgba(11, 26, 63, .6); isolation: isolate; }
.s-fbanner::after { content: ""; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .15); z-index: -1; }
.s-fbanner__eyebrow { margin: 0 0 12px; font-family: var(--s-head); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--s-accent); }
.s-fbanner__title { color: #fff; font-size: clamp(28px, 3.6vw, 46px); line-height: 1.1; margin: 0 0 14px; max-width: 720px; }
.s-fbanner__text { font-size: 17px; margin: 0; max-width: 600px; }
.s-fbanner__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.s-fbanner__actions .s-btn { min-height: 52px; padding: 0 26px; }
.s-fbanner__call { display: flex; align-items: center; gap: 14px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); border-radius: 20px; padding: 16px 20px; color: #fff; backdrop-filter: blur(10px); }
.s-fbanner__call:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.s-fbanner__call small { display: block; font-size: 12.5px; color: rgba(255, 255, 255, .75); }
.s-fbanner__call strong { font-family: var(--s-head); font-size: 19px; }
.s-fbanner__callicon { width: 48px; height: 48px; border-radius: 14px; background: var(--s-accent); color: var(--s-dark); display: flex; align-items: center; justify-content: center; }
.s-footer--banner .s-footer__grid { padding-top: 0; }
.s-logo--footer .s-logo__mark { background: var(--s-grad); }

@media (max-width: 1100px) {
	.s-mega--programs .s-mega__inner { grid-template-columns: 1fr 1fr 1fr; }
	.s-mega--programs .s-mega__feature { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
	.s-fbanner { grid-template-columns: 1fr; border-radius: 24px; transform: translateY(-80px); margin-bottom: -40px; }
	.s-footer--banner { margin-top: 80px; }
	.s-fbanner__actions .s-btn { width: 100%; }
}

/* Footer banner: overlap without clipping */
.s-footer.s-footer--banner { margin-top: 0; padding-top: 0; background: linear-gradient(180deg, var(--s-page-bg, #fff) 0, var(--s-page-bg, #fff) 150px, var(--s-dark) 150px); }
.s-footer--banner::before { top: 90px; }
.s-footer--banner .s-fbanner { transform: none; margin: 0 0 64px; }
@media (max-width: 767px) {
	.s-footer.s-footer--banner { background: linear-gradient(180deg, var(--s-page-bg, #fff) 0, var(--s-page-bg, #fff) 110px, var(--s-dark) 110px); }
	.s-footer--banner .s-fbanner { transform: none; margin-bottom: 44px; }
}

/* ==========================================================================
   v1.2 — smart sticky header, floating buttons, developer credit
   ========================================================================== */
.s-headerwrap.is-smart { transition: transform .38s cubic-bezier(.2, .7, .2, 1); will-change: transform; }
.s-headerwrap.is-smart.is-hidden { transform: translateY(-110%); }
/* Pinned header (set by theme.js): always position: fixed, so no parent overflow or sticky quirk can break it. */
.s-headerwrap.is-pinned, .scholara-layout--header .s-headerwrap.is-pinned { position: fixed !important; top: 0; left: 0; right: 0; width: 100%; z-index: 9999; }
body.admin-bar .s-headerwrap.is-pinned { top: 32px; }
@media (max-width: 782px) { body.admin-bar .s-headerwrap.is-pinned { top: 46px; } }
@media (max-width: 600px) { body.admin-bar .s-headerwrap.is-pinned.is-scrolled { top: 0; } }
.s-headerwrap.is-pinned.is-scrolled .s-topbar { margin-top: calc(var(--s-topbar-h, 0px) * -1); }
.s-headerwrap.is-pinned .s-topbar { transition: margin .35s; }
.s-headerwrap.is-pinned.is-hidden { transform: translateY(-110%) !important; }
.scholara-layout--header:has(.s-headerwrap.is-pinned) { position: relative !important; top: auto !important; transform: none !important; }
.scholara-layout--header:has(.s-headerwrap.is-pinned.is-over) { height: 0; }
.s-header-spacer { display: block; }
/* Elementor editor: keep the header in the flow so it can be edited. */
body.elementor-editor-active .s-headerwrap.is-over { position: relative !important; }

.s-fab { position: fixed; right: 22px; bottom: 22px; z-index: 9990; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; pointer-events: none; }
.s-fab > * { pointer-events: auto; }
.s-totop { --p: 0; position: relative; width: 50px; height: 50px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: #fff; color: var(--s-dark); box-shadow: 0 14px 30px -12px rgba(11, 26, 63, .45); display: inline-flex; align-items: center; justify-content: center; opacity: 0; transform: translateY(14px) scale(.9); visibility: hidden; transition: opacity .3s, transform .3s, visibility .3s, background .2s, color .2s; margin-right: 5px; }
.s-fab.is-up .s-totop { opacity: 1; transform: none; visibility: visible; }
.s-totop:hover { background: var(--s-primary); color: #fff; }
.s-totop .s-icon { width: 20px; height: 20px; position: relative; }
.s-totop__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.s-totop__ring circle { fill: none; stroke: var(--s-primary); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--p)); transition: stroke-dashoffset .15s linear; }
.s-totop:hover .s-totop__ring circle { stroke: #fff; }
.s-wa { display: inline-flex; align-items: center; gap: 10px; height: 60px; padding: 0 6px 0 20px; border-radius: 999px; background: #25d366; color: #fff; font-weight: 700; font-size: 15px; box-shadow: 0 16px 34px -12px rgba(37, 211, 102, .75); text-decoration: none; transition: transform .2s, box-shadow .2s; position: relative; }
.s-wa:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 20px 40px -12px rgba(37, 211, 102, .9); }
.s-wa svg { width: 48px; height: 48px; padding: 9px; border-radius: 50%; background: rgba(255, 255, 255, .18); flex: none; }
.s-wa::before { content: ""; position: absolute; right: 6px; top: 6px; width: 48px; height: 48px; border-radius: 50%; box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); animation: s-wa-pulse 2.4s infinite; pointer-events: none; }
@keyframes s-wa-pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); } 70%, 100% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); } }
.s-wa__label { white-space: nowrap; }
.s-credit { margin: 0; color: rgba(255, 255, 255, .6); }
.s-credit strong { color: rgba(255, 255, 255, .85); font-weight: 600; }
.s-credit a { color: var(--s-accent); }
.s-credit a:hover { color: #fff; }
@media (max-width: 767px) {
	.s-fab { right: 14px; bottom: 14px; gap: 10px; }
	.s-wa { padding: 0; height: 56px; width: 56px; justify-content: center; }
	.s-wa__label { display: none; }
	.s-wa svg { width: 56px; height: 56px; padding: 13px; background: none; }
	.s-wa::before { right: 0; top: 0; width: 56px; height: 56px; }
	.s-totop { width: 46px; height: 46px; margin-right: 5px; }
}
@media (prefers-reduced-motion: reduce) { .s-wa::before { animation: none; } .s-headerwrap.is-smart { transition: none; } }
@media print { .s-fab { display: none; } }
body:has(.s-fab .s-wa) .s-footer__bottominner { padding-right: 200px; }
@media (max-width: 1024px) { body:has(.s-fab .s-wa) .s-footer__bottominner { padding-right: 0; padding-bottom: 140px; } }
.s-mega img.emoji, .s-footer img.emoji, .s-header img.emoji { position: static !important; display: inline-block !important; width: 1em !important; height: 1em !important; margin: 0 .05em !important; border-radius: 0 !important; box-shadow: none !important; object-fit: contain !important; vertical-align: -0.12em !important; }

/* ==========================================================================
   v1.4 — compact mobile footer (collapsible menus)
   ========================================================================== */
.s-footer__chev { display: none; }
@media (max-width: 767px) {
	.s-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 8px; padding-bottom: 8px; }
	.s-footer--banner .s-footer__grid { padding-top: 0; }
	.s-footer__brand { display: flex; flex-direction: column; align-items: center; text-align: center; padding-bottom: 20px; }
	.s-footer__brand .s-logo img { height: auto; max-height: 64px; max-width: 190px; }
	.s-footer__brand p { font-size: 14px; line-height: 1.6; margin: 10px auto 14px; max-width: 320px; }
	.s-footer__brand .s-social { justify-content: center; }
	.s-footer__col { border-top: 1px solid rgba(255, 255, 255, .1); }
	.s-footer__col:last-child { border-bottom: 1px solid rgba(255, 255, 255, .1); }
	.s-footer__col > h4 { margin: 0; padding: 15px 2px; font-size: 15.5px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent; }
	.s-footer__chev { display: inline-block; width: 9px; height: 9px; border-right: 2px solid var(--s-accent); border-bottom: 2px solid var(--s-accent); transform: rotate(45deg) translate(-2px, -2px); transition: transform .25s; flex: none; margin-right: 4px; }
	.s-footer__col.is-open .s-footer__chev { transform: rotate(-135deg) translate(-2px, -2px); }
	.s-footer__col > .s-footer__menu, .s-footer__col > ul { display: none; padding: 0 2px 16px; }
	.s-footer__col.is-open > .s-footer__menu { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; font-size: 14.5px; }
	.s-footer__col.is-open > ul { display: grid; gap: 12px; font-size: 14.5px; }
	.s-footer__contact { grid-column: auto; }
	.s-footer__bottominner { flex-direction: column; gap: 8px; padding-top: 18px; font-size: 13px; }
	.s-footer__legal { justify-content: center; }
	/* Footer banner: tighter on phones */
	.s-footer--banner .s-fbanner { padding: 26px 22px; gap: 18px; margin-bottom: 28px; }
	.s-fbanner__eyebrow { font-size: 12px; margin-bottom: 8px; }
	.s-fbanner__title { font-size: 24px; margin-bottom: 10px; }
	.s-fbanner__text { font-size: 14.5px; }
	.s-fbanner__actions { margin-top: 18px; gap: 10px; }
	.s-fbanner__actions .s-btn { min-height: 48px; }
	.s-fbanner__call { padding: 12px 14px; border-radius: 16px; }
	.s-fbanner__callicon { width: 40px; height: 40px; border-radius: 12px; }
	.s-fbanner__call strong { font-size: 17px; }
	.s-footer.s-footer--banner { background: linear-gradient(180deg, var(--s-page-bg, #fff) 0, var(--s-page-bg, #fff) 90px, var(--s-dark) 90px); }
}

/* v1.4.4 — wider header (Customizer → Header → Header width) */
.s-headerwrap .s-container { max-width: var(--s-header-max, 1520px); }
@media (min-width: 1280px) { .s-headerwrap .s-container { padding-left: clamp(24px, 2.6vw, 48px); padding-right: clamp(24px, 2.6vw, 48px); } .s-header__inner { gap: clamp(28px, 3vw, 56px); } }
