/* Essence Point Education Consult: tokens, fonts and interactive components.
   Page layout and typography are Elementor Global Classes (epe-*); this file covers
   what Elementor cannot: fonts, shortcode markup and motion. */

:root {
	--epe-navy: #0A1630;
	--epe-navy-2: #0F2A52;
	--epe-ink: #071026;
	--epe-gold: #C9A44C;
	--epe-gold-hover: #D9B65E;
	--epe-gold-text: #8A6914;
	--epe-gold-tint: #F4ECD8;
	--epe-cream: #F6F4EE;
	--epe-soft: #F6F8FB;
	--epe-text: #1B2433;
	--epe-text-2: #3A4558;
	--epe-muted: #5E6A7D;
	--epe-line: #E3E7EE;
	--epe-line-warm: #E6E1D3;
	--epe-on-navy: #C7D3E6;
	--epe-radius-control: 8px;
	--epe-radius-card: 16px;
	--epe-radius-media: 22px;
	--epe-container: 1240px;
	--epe-font-heading: "Manrope", system-ui, sans-serif;
	--epe-font-body: "Inter", system-ui, sans-serif;
	--epe-ease: cubic-bezier(.2, .7, .2, 1);
}

@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/manrope-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/manrope-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }

body.epe-site {
	font-family: var(--epe-font-body);
	font-size: 16px;
	line-height: 1.65;
	color: var(--epe-text);
	background: #FFFFFF;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
.epe-site [hidden] { display: none !important; }
.epe-site section[id] { scroll-margin-top: 88px; }
.epe-site :focus-visible { outline: 3px solid var(--epe-gold); outline-offset: 2px; }
.epe-site .elementor-shortcode { width: 100%; }

/* Buttons used inside shortcode markup */
.epe-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 0 22px; border-radius: var(--epe-radius-control);
	font: 700 15px/1.2 var(--epe-font-body); text-decoration: none;
	transition: background .16s, color .16s, transform .16s var(--epe-ease);
}
.epe-btn:hover { transform: translateY(-1px); }
.epe-btn--gold { background: var(--epe-gold); color: var(--epe-navy); }
.epe-btn--gold:hover { background: var(--epe-gold-hover); color: var(--epe-navy); }
.epe-btn--outline { background: transparent; color: var(--epe-navy); box-shadow: inset 0 0 0 1.5px var(--epe-navy); }
.epe-btn--outline:hover { background: var(--epe-navy); color: #FFFFFF; }

/* Next steps after the assessment (Student Stories) */
.epe-next { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; background: #FFFFFF; border: 1px solid var(--epe-line); border-radius: var(--epe-radius-card); padding: clamp(22px, 3vw, 36px); width: 100%; }
.epe-next--done { border-color: var(--epe-gold); box-shadow: 0 18px 48px rgba(10, 22, 48, .08); }
.epe-next__body { flex: 1 1 420px; }
.epe-next__eyebrow { margin: 0 0 6px; font: 700 13px/1.2 var(--epe-font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--epe-gold-text); }
.epe-next__title { margin: 0 0 10px; font: 800 clamp(22px, 2.4vw, 30px)/1.2 var(--epe-font-heading); color: var(--epe-navy); }
.epe-next__steps { margin: 12px 0 0; padding-left: 1.2em; color: var(--epe-text); line-height: 1.6; }
.epe-next__steps li { margin: 6px 0; }
.epe-next__actions { display: flex; flex-wrap: wrap; gap: 12px; flex: 0 1 auto; }
.epe-next__while { margin: 28px 0 0; font-size: 17px; color: var(--epe-text); }

/* Course finder */
.epe-finder { background: #FFFFFF; color: var(--epe-text); border-radius: var(--epe-radius-card); padding: 18px; box-shadow: 0 24px 60px rgba(0, 0, 0, .32); width: 100%; max-width: 600px; }
.epe-finder--flat { box-shadow: none; border: 1px solid var(--epe-line); max-width: none; }
.epe-finder__label { display: block; font-size: 13px; font-weight: 600; color: var(--epe-muted); margin: 0 0 8px 4px; }
.epe-finder__box { display: flex; align-items: center; gap: 10px; border: 1px solid #DCE2EB; border-radius: 10px; padding: 0 14px; min-height: 52px; color: var(--epe-muted); transition: border-color .16s; }
.epe-finder__box:focus-within { border-color: var(--epe-gold); }
.epe-site input.epe-finder__input { border: 0; outline: 0; box-shadow: none; flex: 1 1 auto; min-width: 0; min-height: 48px; padding: 0; background: transparent; font: 16px var(--epe-font-body); color: var(--epe-text); }
.epe-finder__input::placeholder { color: var(--epe-muted); opacity: 1; }
.epe-finder__status { margin: 6px 4px 0; font-size: 13px; color: var(--epe-muted); min-height: 0; }
.epe-finder__status:empty { display: none; }
.epe-finder__results { list-style: none; margin: 6px 0 0; padding: 0; max-height: 280px; overflow-y: auto; }
.epe-finder__results a { display: flex; justify-content: space-between; gap: 16px; padding: 11px 6px; border-top: 1px solid #EEF1F5; color: var(--epe-text); text-decoration: none; }
.epe-finder__results a:hover { background: var(--epe-soft); }
.epe-finder__results b { font-weight: 600; }
.epe-finder__results span { color: var(--epe-muted); font-size: 14px; text-align: right; }
.epe-finder__popular { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; font-size: 13px; color: var(--epe-muted); }
.epe-finder__chip { font: 500 13px var(--epe-font-body); padding: 6px 12px; min-height: 34px; border-radius: 999px; border: 1px solid #DCE2EB; background: var(--epe-soft); color: var(--epe-navy-2); cursor: pointer; transition: border-color .16s; }
.epe-finder__chip:hover { border-color: var(--epe-gold); }

.epe-finder__head { padding: 12px 6px 4px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--epe-gold-text); border-top: 1px solid #EEF1F5; }
.epe-finder__head:first-child { border-top: 0; }
.epe-finder__head + li a { border-top: 0; }
.epe-finder__results small { font-size: 12px; color: var(--epe-gold-text); font-weight: 600; }

/* Programme finder */
.epe-pf { display: flex; flex-direction: column; gap: 26px; background: #FFFFFF; border: 1px solid var(--epe-line); border-radius: 18px; padding: clamp(20px, 3vw, 34px); }
.epe-pf__step { display: flex; flex-direction: column; gap: 12px; }
.epe-pf__label { margin: 0; display: flex; align-items: center; gap: 10px; font: 700 17px var(--epe-font-heading); color: var(--epe-navy); }
.epe-pf__label span { width: 28px; height: 28px; border-radius: 50%; background: var(--epe-navy); color: #FFFFFF; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.epe-pf__options { display: flex; flex-wrap: wrap; gap: 8px; }
.epe-pf__opt { font: 600 14px var(--epe-font-body); padding: 0 18px; min-height: 44px; border-radius: 999px; border: 1px solid var(--epe-line); background: #FFFFFF; color: var(--epe-navy); cursor: pointer; transition: background .16s, color .16s, border-color .16s; }
.epe-pf__opt:hover { border-color: var(--epe-gold); }
.epe-pf__opt[aria-checked="true"] { background: var(--epe-navy); border-color: var(--epe-navy); color: #FFFFFF; }
.epe-pf__status { margin: 0; font-size: 14px; color: var(--epe-muted); }
.epe-pf__results { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; max-height: 420px; overflow-y: auto; }
.epe-pf__results li { flex: 1 1 260px; }
.epe-pf__results a { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 14px 16px; border: 1px solid var(--epe-line-warm); border-radius: 12px; text-decoration: none; background: var(--epe-cream); transition: border-color .16s, background .16s; }
.epe-pf__results a:hover { border-color: var(--epe-gold); background: #FFFFFF; }
.epe-pf__results b { font-weight: 600; color: var(--epe-navy); line-height: 1.35; }
.epe-pf__results span { font-size: 13px; color: var(--epe-muted); }
.epe-pf__own a { background: #FFFFFF; border-style: dashed; }

/* Assessment selection note */
.epe-assess__picked { background: var(--epe-gold-tint); border: 1px solid #E6D3A3; border-radius: 12px; padding: 14px 18px; color: var(--epe-navy); }
.epe-assess__picked span { display: block; font-size: 14px; color: var(--epe-text-2); margin-top: 2px; }

/* Offices and map */
.epe-offices { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 16px; }
.epe-office { flex: 1 1 260px; display: flex; gap: 14px; align-items: flex-start; background: #FFFFFF; border: 1px solid var(--epe-line); border-radius: 16px; padding: 22px; }
.epe-office__icon { width: 40px; height: 40px; border-radius: 10px; background: var(--epe-gold-tint); color: var(--epe-gold-text); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.epe-office__city { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--epe-gold-text); }
.epe-office__name { margin: 2px 0 6px; font: 700 18px var(--epe-font-heading); color: var(--epe-navy); }
.epe-office__addr { margin: 0 0 8px; font-size: 15px; color: var(--epe-text-2); }
.epe-office__link { font-size: 14px; font-weight: 600; color: var(--epe-navy-2); }
.epe-map__frame { position: relative; width: 100%; aspect-ratio: 16 / 9; min-height: 320px; border-radius: 18px; overflow: hidden; background: linear-gradient(135deg, #0F2A52, #0A1630); }
.epe-map__frame::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 40px 40px; }
.epe-map__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.epe-map__cover { position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 24px; color: #FFFFFF; }
.epe-map__title { margin: 0; font: 800 24px var(--epe-font-heading); }
.epe-map__addr { margin: 0 0 6px; color: var(--epe-on-navy); }
.epe-map__ext { color: #D5DEEC; font-size: 14px; }

/* Blog cards */
.epe-posts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 22px; }
.epe-post { flex: 1 1 300px; min-width: 0; }
.epe-post__link { display: flex; flex-direction: column; height: 100%; background: #FFFFFF; border: 1px solid var(--epe-line); border-radius: 16px; overflow: hidden; text-decoration: none; transition: transform .2s var(--epe-ease), box-shadow .2s; }
.epe-post__link:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(11, 31, 63, .12); }
.epe-post__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--epe-soft); }
.epe-post__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.epe-post__body { display: flex; flex-direction: column; gap: 8px; padding: 22px; flex: 1; }
.epe-post__meta { font-size: 13px; color: var(--epe-muted); }
.epe-post__title { font: 700 19px/1.35 var(--epe-font-heading); color: var(--epe-navy); }
.epe-post__excerpt { font-size: 15px; color: var(--epe-text-2); }
.epe-post__more { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 600; color: var(--epe-navy-2); }

/* Single blog post */
.single-post.epe-site .entry-content { font-size: 17px; line-height: 1.75; color: var(--epe-text-2); }
.single-post.epe-site .entry-content h2 { font: 800 clamp(24px, 2.4vw, 30px)/1.2 var(--epe-font-heading); color: var(--epe-navy); margin: 1.6em 0 .5em; }
.single-post.epe-site .entry-content h3 { font: 700 20px/1.3 var(--epe-font-heading); color: var(--epe-navy); }
.single-post.epe-site .entry-title, .blog.epe-site .page-title, .epe-site .entry-card .entry-title { font-family: var(--epe-font-heading); color: var(--epe-navy); }
.single-post.epe-site .epe-post-cta { background: var(--epe-navy); color: #FFFFFF; border-radius: 16px; padding: 26px; margin-top: 2em; }
.single-post.epe-site .epe-post-cta a { color: var(--epe-gold-hover); font-weight: 700; }

/* Scrolling message in the header top bar (Blocksy text item) */
.epe-ticker { overflow: hidden; width: 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.epe-ticker__track { display: inline-flex; white-space: nowrap; animation: epe-marquee 38s linear infinite; }
.epe-ticker:hover .epe-ticker__track { animation-play-state: paused; }
.epe-ticker__item { display: inline-flex; align-items: center; gap: 14px; padding: 0 28px; font: 500 13px/1 var(--epe-font-body); letter-spacing: .04em; color: #E8EEF7; }
.epe-ticker__item i { font-style: italic; color: #D9B65E; }
.epe-ticker__item::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #C9A44C; margin-left: 28px; }
[data-row="top"] .ct-header-text { width: 100%; }

/* Footer contact icons */
.epe-fc { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.epe-fc li { display: flex; gap: 10px; align-items: flex-start; }
.epe-fc svg { flex-shrink: 0; margin-top: 3px; color: #C9A44C; }
.epe-fc b { display: block; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #8494AE; }

/* Fact strip */
.epe-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 40px; color: #B9C6DA; font-size: 14px; }
.epe-facts b { font: 800 22px var(--epe-font-heading); color: #FFFFFF; margin-right: 6px; }

/* City strip */
.epe-strip { width: 100%; }
.epe-strip__label { margin: 0 0 16px; text-align: center; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--epe-gold-text); }
.epe-strip__viewport { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.epe-strip__track { list-style: none; margin: 0; padding: 0; display: flex; width: max-content; animation: epe-marquee 52s linear infinite; }
.epe-strip:hover .epe-strip__track, .epe-strip:focus-within .epe-strip__track { animation-play-state: paused; }
.epe-strip__track li { border-right: 1px solid var(--epe-line); }
.epe-strip__track a { display: flex; align-items: center; gap: 12px; padding: 4px 36px; white-space: nowrap; text-decoration: none; }
.epe-strip__zh { font: 700 26px "Songti SC", "Noto Serif SC", "Noto Serif CJK SC", "SimSun", serif; color: var(--epe-gold-text); }
.epe-strip__en { font: 800 16px var(--epe-font-heading); letter-spacing: .06em; text-transform: uppercase; color: var(--epe-navy); }
@keyframes epe-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Cities explorer */
.epe-x { display: flex; flex-direction: column; gap: 28px; }
.epe-x__tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.epe-x__tab { font: 600 14px var(--epe-font-body); padding: 0 16px; min-height: 44px; border-radius: 999px; cursor: pointer; border: 1px solid #DCD5C2; background: #FFFFFF; color: var(--epe-navy); transition: background .16s, color .16s, border-color .16s; }
.epe-x__tab span { opacity: .65; font-weight: 500; margin-left: 2px; }
.epe-x__tab:hover { border-color: var(--epe-gold); }
.epe-x__tab[aria-selected="true"] { background: var(--epe-navy); border-color: var(--epe-navy); color: #FFFFFF; }
.epe-x__panel { display: flex; flex-wrap: wrap; gap: 28px; align-items: stretch; animation: epe-fade .28s var(--epe-ease); }
.epe-x__intro { flex: 1 1 320px; background: var(--epe-navy); color: #FFFFFF; border-radius: 18px; padding: 34px; display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden; }
.epe-x__intro::after { content: ""; position: absolute; right: -70px; bottom: -70px; width: 220px; height: 220px; border-radius: 50%; border: 1px solid rgba(201, 164, 76, .25); pointer-events: none; }
.epe-x__count { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--epe-gold-hover); }
.epe-x__name { margin: 0; font: 800 40px/1.1 var(--epe-font-heading); letter-spacing: -.02em; color: #FFFFFF; }
.epe-x__name span { font: 700 22px "Songti SC", "Noto Serif SC", "SimSun", serif; color: var(--epe-gold); margin-left: 6px; }
.epe-x__blurb { margin: 0 0 8px; color: var(--epe-on-navy); }
.epe-x__intro .epe-btn { margin-top: auto; align-self: flex-start; }
.epe-x__courses { flex: 2 1 520px; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; align-content: flex-start; }
.epe-x__courses li { flex: 1 1 260px; display: flex; }
.epe-x__courses a { flex: 1; display: flex; gap: 12px; align-items: center; background: #FFFFFF; border: 1px solid var(--epe-line-warm); border-radius: 12px; padding: 16px 18px; font-weight: 600; color: var(--epe-navy); line-height: 1.4; text-decoration: none; transition: border-color .16s, transform .16s var(--epe-ease); }
.epe-x__courses a:hover { border-color: var(--epe-gold); transform: translateY(-1px); }
.epe-x__courses a span { flex: 1; }
.epe-x__courses em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--epe-gold-text); opacity: 0; transition: opacity .16s; }
.epe-x__courses a:hover em, .epe-x__courses a:focus-visible em { opacity: 1; }
.epe-x__courses svg { flex-shrink: 0; color: var(--epe-gold-text); }
.epe-x__note { margin: 0; font-size: 14px; color: var(--epe-muted); }
@keyframes epe-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Video testimonials */
.epe-videos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 22px; }
.epe-video { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.epe-video__frame { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: #13264A; }
.epe-video__img, .epe-video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.epe-video__img { opacity: .88; transition: opacity .2s, transform .4s var(--epe-ease); }
.epe-video__frame:hover .epe-video__img { opacity: 1; transform: scale(1.03); }
.epe-video__play { position: absolute; left: 50%; top: 50%; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; background: var(--epe-gold); color: var(--epe-navy); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); transition: transform .2s var(--epe-ease); }
.epe-video__frame:hover .epe-video__play { transform: scale(1.08); }
.epe-video__who { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--epe-gold-hover); }
.epe-video__title { margin: 0; font: 700 18px/1.35 var(--epe-font-heading); color: #FFFFFF; }

/* FAQs */
.epe-faq { display: flex; flex-direction: column; gap: 10px; }
.epe-faq__group { margin: 28px 0 6px; font: 800 22px/1.2 var(--epe-font-heading); color: var(--epe-navy); }
.epe-faq__group:first-child { margin-top: 0; }
.epe-faq__item { background: #FFFFFF; border: 1px solid var(--epe-line); border-radius: 12px; transition: border-color .16s; }
.epe-faq__item[open] { border-color: #D9C48F; }
.epe-faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; min-height: 56px; font: 700 17px/1.4 var(--epe-font-heading); color: var(--epe-navy); }
.epe-faq__item summary::-webkit-details-marker { display: none; }
.epe-faq__item summary span { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.epe-faq__item summary span::before, .epe-faq__item summary span::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; background: var(--epe-gold-text); transition: transform .2s var(--epe-ease); }
.epe-faq__item summary span::after { transform: rotate(90deg); }
.epe-faq__item[open] summary span::after { transform: rotate(0deg); }
.epe-faq__item p { margin: 0; padding: 0 22px 20px; color: var(--epe-text-2); font-size: 15px; }

/* Requirements */
.epe-req { display: flex; flex-direction: column; gap: 22px; }
.epe-req__tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.epe-req__tab { font: 600 15px var(--epe-font-body); padding: 0 18px; min-height: 46px; border-radius: 999px; cursor: pointer; border: 1px solid var(--epe-line); background: #FFFFFF; color: var(--epe-navy); transition: background .16s, color .16s, border-color .16s; }
.epe-req__tab:hover { border-color: var(--epe-gold); }
.epe-req__tab[aria-selected="true"] { background: var(--epe-navy); border-color: var(--epe-navy); color: #FFFFFF; }
.epe-req__panel { flex-direction: column; gap: 18px; background: #FFFFFF; border: 1px solid var(--epe-line); border-radius: 18px; padding: clamp(22px, 3vw, 36px); }
.epe-req__head h3 { margin: 0 0 6px; font: 800 24px var(--epe-font-heading); color: var(--epe-navy); }
.epe-req__head h3 span { font: 600 13px var(--epe-font-body); color: var(--epe-gold-text); background: var(--epe-gold-tint); border-radius: 999px; padding: 4px 10px; margin-left: 8px; vertical-align: middle; }
.epe-req__head p { margin: 0; color: var(--epe-text-2); }
.epe-req__list { margin: 0; padding: 0; list-style: none; counter-reset: req; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.epe-req__list li { counter-increment: req; flex: 1 1 340px; display: flex; gap: 14px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--epe-line); color: var(--epe-text); }
.epe-req__list li::before { content: counter(req, decimal-leading-zero); font: 800 13px var(--epe-font-heading); color: var(--epe-gold-text); min-width: 22px; }

/* Header: "Student Stories" links to a section of Home, so it never shows as the current page */
.epe-site .ct-header .menu-item-1000 > a { color: #D5DEEC !important; }
.epe-site .ct-header .menu-item-1000 > a:hover { color: #FFFFFF !important; }
.epe-site #offcanvas .menu-item-1000 > a { color: #FFFFFF !important; }
.epe-site .ct-header .menu-item-1000 > a::before, .epe-site .ct-header .menu-item-1000 > a::after { opacity: 0 !important; }

/* Hero: keep the photo pinned to the top so web fonts loading cannot move it */
.epe-site #top .epe-row { align-items: flex-start; }
.epe-site #top .epe-media { margin-top: 8px; }
/* Diploma Scholarship Programme box ([epe_diploma_programme]) */
.epe-dip { background: var(--epe-navy); color: #FFFFFF; border-radius: var(--epe-radius-card); padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; gap: 22px; border: 1px solid rgba(201, 164, 76, .35); }
.epe-dip__tag { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--epe-gold); }
.epe-dip__title { margin: 0; font: 800 clamp(22px, 2.4vw, 30px)/1.2 var(--epe-font-heading); color: #FFFFFF; }
.epe-dip__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px 40px; }
.epe-dip__label { margin: 0 0 10px; font-size: 14px; font-weight: 700; color: var(--epe-gold); }
.epe-dip__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.epe-dip__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; line-height: 1.45; color: rgba(255, 255, 255, .92); }
.epe-dip__list svg { flex: 0 0 18px; margin-top: 2px; color: var(--epe-gold); }
.epe-dip__btn { align-self: flex-start; }
/* Home hero (full-background photo): compact finder so the hero fits on one laptop screen. */
.epe-site #top .epe-finder { max-width: 640px; padding: 16px; }
@media (min-width: 768px) {
	.epe-site #top .epe-finder__popular { flex-wrap: nowrap; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
	.epe-site #top .epe-finder__chip { flex: 0 0 auto; white-space: nowrap; padding: 6px 11px; }
}

/* Footer newsletter form on the dark footer */
.epe-site footer .fluentform .ff-el-input--label label, .epe-site footer .fluentform .ff-el-input--label { color: #D5DEEC !important; }
.epe-site footer .fluentform .ff-el-is-required.asterisk-right label::after { color: #E9C46A !important; }
.epe-site footer .fluentform .ff-el-form-control { background: #0D1B38; border-color: #22355A; color: #FFFFFF; }
.epe-site footer .fluentform .ff-el-form-control::placeholder { color: #A9B6CB; }

/* Assessment and booking */
.epe-assess__label { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--epe-gold-text); }
.epe-assess__panel .fluentform { width: 100%; }
.epe-site .fluent_booking_wrap, .epe-site .fcal_calendar_wrap { width: 100%; }

/* Locked part of a document checklist */
.epe-req__locked { position: relative; display: flex; flex-direction: column; gap: 14px; border-top: 1px dashed var(--epe-line); padding-top: 16px; }
.epe-req__ghost { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; opacity: .55; }
.epe-req__ghost li { flex: 1 1 340px; padding: 14px 0; border-bottom: 1px solid var(--epe-line); }
.epe-req__ghost span { display: block; height: 10px; border-radius: 6px; background: linear-gradient(90deg, #E3E7EE, #EEF1F5); }
.epe-req__unlock { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; background: var(--epe-gold-tint); border: 1px solid #E6D3A3; border-radius: 12px; padding: 14px 18px; }
.epe-req__unlock p { margin: 0; color: var(--epe-navy); }
.epe-req__unlock p span { display: block; font-size: 13px; color: var(--epe-text-2); }
.epe-gate__btn { border: 0; cursor: pointer; }
.epe-gate__btn svg { flex-shrink: 0; }
.epe-gate-inline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; background: var(--epe-gold-tint); border: 1px solid #E6D3A3; border-radius: 14px; padding: 18px 20px; margin: 1.6em 0; }
.epe-gate-inline p { margin: 0; flex: 1 1 280px; color: var(--epe-navy); font-size: 16px; }

/* Checklist popup */
.epe-gate { width: min(480px, calc(100vw - 32px)); border: 0; border-radius: 20px; padding: 34px 30px 28px; text-align: center; color: var(--epe-text); box-shadow: 0 30px 80px rgba(7, 16, 38, .35); }
.epe-gate::backdrop { background: rgba(7, 16, 38, .62); backdrop-filter: blur(3px); }
.epe-gate[open] { animation: epe-pop .22s var(--epe-ease); }
.epe-gate__close { position: absolute; top: 10px; right: 12px; width: 40px; height: 40px; border: 0; background: transparent; font-size: 26px; line-height: 1; color: var(--epe-muted); cursor: pointer; border-radius: 8px; }
.epe-gate__close:hover { background: var(--epe-soft); color: var(--epe-navy); }
.epe-gate__icon { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 16px; background: var(--epe-gold-tint); color: var(--epe-gold-text); display: flex; align-items: center; justify-content: center; }
.epe-gate__title { margin: 0 0 10px; font: 800 22px/1.25 var(--epe-font-heading); color: var(--epe-navy); }
.epe-gate__text { margin: 0 0 22px; font-size: 15px; line-height: 1.65; color: var(--epe-text-2); }
.epe-gate__actions { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.epe-gate__actions .epe-btn { width: 100%; min-height: 52px; font-size: 16px; }
.epe-gate__later { border: 0; background: transparent; color: var(--epe-muted); font: 500 14px var(--epe-font-body); padding: 10px; cursor: pointer; }
.epe-gate__later:hover { color: var(--epe-navy); }
@keyframes epe-pop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }

/* Fluent Forms on new pages */
.epe-site .fluentform .ff-el-input--label label { font-weight: 600; color: var(--epe-navy); }
.epe-site .fluentform .ff-el-form-control { border-radius: var(--epe-radius-control); border-color: #DCE2EB; min-height: 48px; font-family: var(--epe-font-body); }
.epe-site .fluentform .ff-el-form-control:focus { border-color: var(--epe-gold); box-shadow: 0 0 0 3px rgba(201, 164, 76, .2); }
.epe-site .fluentform .ff-btn-submit { background: var(--epe-gold) !important; color: var(--epe-navy) !important; border-radius: var(--epe-radius-control); min-height: 48px; font-weight: 700; }

@media (max-width: 767px) {
	.epe-x__tabs { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; margin: 0 -16px; padding: 2px 16px 8px; scrollbar-width: none; }
	.epe-x__tabs::-webkit-scrollbar { display: none; }
	.epe-x__tab { flex: 0 0 auto; scroll-snap-align: start; }
	.epe-req__tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 8px; scrollbar-width: none; }
	.epe-req__tab { flex: 0 0 auto; }
	.epe-x__intro { padding: 26px; }
	.epe-x__name { font-size: 32px; }
	.epe-strip__track a { padding: 4px 24px; }
	.epe-strip__zh { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
	.epe-site *, .epe-site *::before, .epe-site *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
	.epe-strip__viewport { overflow-x: auto; }
}
