/**
 * taxonomy-exam.css
 *
 * ONE stylesheet, TWO templates (both enqueue handle `ev-taxonomy-exam`, dep `ev-global`):
 *
 *   taxonomy-exam_board.php  →  /exam/{board}/   wrapper class  .evx-page   (sections 1-11)
 *   page-exam.php            →  /exam/           wrapper class  .evx-hub    (section 12)
 *
 * Shared by both: page tokens (--evx-*), box-sizing/link/list/heading resets and focus
 * ring (section 1 targets :is(.evx-page, .evx-hub)), and the hero gradient, .evx-pager
 * container and .evx-search / .evx-empty base rules.
 * Hub-only rules are always prefixed .evx-hub, so they out-rank the board rules that
 * share a class name and can never leak into the board page.
 *
 * Requires ev-global.css for: design tokens (--teal-*, --navy-*, --amber-*, --green-*,
 * --font-*, --off-white ...), .ev-container (1200px system), .screen-reader-text.
 *
 * Sections
 *   1. Page tokens + base (board + hub)
 *   2. Hero (board)            3. Subject tabs         4. Layout + card shell
 *   5. MCQ panel               6. Pagination           7. More MCQ sets
 *   8. Sidebar                 9. Why practice + Subscribe
 *  10. Responsive (board)     11. Hero search, past papers, sidebar extras, SEO, FAQ
 *  12. Exam hub (page-exam.php): hero, popular boards, tiles, practice MCQ cards, guide, subscribe
 */

/* ══════════════════════════════════════════════════════════════════════════
   1. PAGE TOKENS + BASE
══════════════════════════════════════════════════════════════════════════ */

:is(.evx-page, .evx-hub) {
	--evx-teal:      var(--teal-dark);
	--evx-teal-2:    var(--teal-dark);
	--evx-teal-deep: var(--navy-mid);
	--evx-ink:       var(--navy);
	--evx-text:      var(--g700);
	--evx-muted:     var(--text-light);
	--evx-line:      var(--border);
	--evx-line-2:    var(--off-white);
	--evx-bg:        var(--off-white);
	--evx-chip:      var(--teal-pale);
	--evx-blue:      var(--teal-dark);
	--evx-amber:     var(--amber);
	--evx-shadow:    0 2px 12px rgba(11, 29, 58, .05);

	background: var(--evx-bg);
	color: var(--evx-ink);
	font-family: var(--font-body, "DM Sans", sans-serif);
	font-size: 15px;
	line-height: 1.5;
	padding-bottom: 16px;
}

:is(.evx-page, .evx-hub) *,
:is(.evx-page, .evx-hub) *::before,
:is(.evx-page, .evx-hub) *::after { box-sizing: border-box; }

/* :where() keeps these resets at zero specificity so component rules always win */
:is(.evx-page, .evx-hub) :where(a) { text-decoration: none; color: inherit; }
:is(.evx-page, .evx-hub) :where(ul, ol) { list-style: none; margin: 0; padding: 0; }
:is(.evx-page, .evx-hub) :where(h1, h2, h3) { margin: 0; color: var(--evx-ink); }
:is(.evx-page, .evx-hub) :where(p) { margin: 0; }
:is(.evx-page, .evx-hub) .evx-i { display: block; flex-shrink: 0; }

:is(.evx-page, .evx-hub) a:focus-visible,
:is(.evx-page, .evx-hub) button:focus-visible,
:is(.evx-page, .evx-hub) select:focus-visible,
:is(.evx-page, .evx-hub) input:focus-visible,
:is(.evx-page, .evx-hub) summary:focus-visible {
	outline: 3px solid var(--amber-light, var(--amber-light));
	outline-offset: 2px;
	box-shadow: none;
}


/* ══════════════════════════════════════════════════════════════════════════
   2. HERO
══════════════════════════════════════════════════════════════════════════ */

.evx-hero {
	position: relative;
	overflow: hidden;
	color: #fff;
	background: linear-gradient(100deg, var(--teal-deep) 0%, var(--teal-deep) 46%, var(--navy-mid) 100%);
}

.evx-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 80% 35%, rgba(255, 255, 255, .17), transparent 52%),
		radial-gradient(circle at 5% 130%, rgba(0, 0, 0, .22), transparent 50%);
	pointer-events: none;
}

/* Breadcrumb strip */














/* Hero grid */
.evx-hero__grid {
	--evx-hero-logo: 100px;
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: var(--evx-hero-logo) minmax(0, 1fr) 360px;
	grid-template-areas:
		"logo copy art"
		"stats stats art";
	column-gap: 22px;
	row-gap: 16px;
	align-items: center;
	padding-top: 18px;
	padding-bottom: 22px;
	min-height: 210px;
}

.evx-hero__logo {
	grid-area: logo;
	width: var(--evx-hero-logo);
	height: var(--evx-hero-logo);
	aspect-ratio: 1 / 1;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 9px;
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 8px 22px rgba(11,29,58, .25);
	color: var(--evx-teal);
	overflow: hidden;
}

.evx-hero__logo > *,
.evx-hero__logo .evx-term-visual { width: 100%; height: 100%; min-width: 0; min-height: 0; }
.evx-hero__logo img { display: block; width: 100%; height: 100%; max-width: 100%; object-fit: contain; border-radius: 6px; }
.evx-hero__logo .evx-term-visual--icon { display: grid; place-items: center; }
.evx-term-visual--icon { font-size: calc(var(--evx-hero-logo, 100px) * .52); line-height: 1; }

.evx-hero__copy { grid-area: copy; }

.evx-hero__copy h1 {
	font-family: var(--font-display, "Sora", sans-serif);
	font-size: 40px;
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -.02em;
	color: #fff;
	margin-bottom: 8px;
}

.evx-hero__copy p {
	max-width: 560px;
	font-size: 15px;
	line-height: 1.55;
	color: rgba(255, 255, 255, .93);
}

/* Stats */
.evx-stats {
	grid-area: stats;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.evx-stats li {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 9px 16px 9px 9px;
	background: rgba(255, 255, 255, .13);
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 12px;
	backdrop-filter: blur(2px);
	min-height: 64px;
}

.evx-stat__ico {
	width: 46px;
	height: 46px;
	display: grid;
	place-items: center;
	border-radius: 10px;
	background: rgba(255, 255, 255, .95);
	color: var(--evx-teal);
	flex-shrink: 0;
}

.evx-stats li > span:last-child { display: flex; flex-direction: column; min-width: 0; }

.evx-stats strong {
	font-family: var(--font-display, "Sora", sans-serif);
	font-size: 19px;
	font-weight: 700;
	line-height: 1.15;
	color: #fff;
	white-space: nowrap;
}

.evx-stats small {
	font-size: 12px;
	line-height: 1.3;
	color: rgba(255, 255, 255, .85);
	white-space: nowrap;
}

/* Right-hand artwork: SVG books + pencil cup + flag, over a faded building scene.
   Replace the foreground with a real photo via term meta ev_hero_art_id. */
.evx-hero__art {
	grid-area: art;
	justify-self: end;
	align-self: end;
	width: 100%;
	max-width: 360px;
	margin-bottom: -22px; /* sits on the hero's bottom edge */
}

.evx-hero__art .evx-art { width: 100%; height: auto; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .3)); }
.evx-hero__art-img { width: 100%; height: auto; margin-left: auto; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .28)); }

.evx-hero__scene {
	position: absolute;
	z-index: 0;
	top: 0;
	right: 0;
	bottom: 0;
	width: 56%;
	pointer-events: none;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 55%);
	mask-image: linear-gradient(90deg, transparent 0, #000 55%);
}

.evx-scene-svg { display: block; width: 100%; height: 100%; }


/* ══════════════════════════════════════════════════════════════════════════
   3. SUBJECT TABS
══════════════════════════════════════════════════════════════════════════ */

.evx-tabs { padding: 16px 0 2px; }

.evx-tabs ul { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }

.evx-tab {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 38px;
	padding: 0 18px;
	border-radius: 999px;
	background: var(--evx-chip);
	color: var(--text-mid);
	font-size: 13px;
	font-weight: 500;
	white-space: nowrap;
	cursor: pointer;
	list-style: none;
	transition: background .18s, color .18s, box-shadow .18s;
}

.evx-tab::-webkit-details-marker { display: none; }
.evx-tab:hover { background: var(--border); }

.evx-tab--all { height: 42px; padding: 0 24px; }

.evx-tab.is-active,
.evx-tab.is-active:hover {
	background: var(--evx-teal);
	color: #fff;
	font-weight: 700;
	box-shadow: 0 4px 12px rgba(0,194,203, .28);
}

.evx-more-wrap { position: relative; }
.evx-more { position: relative; }
.evx-more[open] > summary { background: var(--border); }

.evx-more__panel {
	position: absolute;
	z-index: 30;
	top: calc(100% + 6px);
	right: 0;
	min-width: 210px;
	max-height: 320px;
	overflow-y: auto;
	padding: 6px;
	background: #fff;
	border: 1px solid var(--evx-line);
	border-radius: 12px;
	box-shadow: 0 14px 34px rgba(11, 29, 58, .16);
}

.evx-more__panel a {
	display: block;
	padding: 8px 12px;
	border-radius: 8px;
	font-size: 13px;
	color: var(--evx-text);
}

.evx-more__panel a:hover,
.evx-more__panel a.is-active { background: var(--evx-chip); color: var(--evx-teal); }


/* ══════════════════════════════════════════════════════════════════════════
   4. LAYOUT + CARD SHELL
══════════════════════════════════════════════════════════════════════════ */

.evx-body { padding-top: 14px; }

.evx-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 262px;
	gap: 18px;
	align-items: start;
}

.evx-main { min-width: 0; }
.evx-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }

.evx-card {
	background: #fff;
	border: 1px solid var(--evx-line);
	border-radius: 12px;
	box-shadow: var(--evx-shadow);
}

.evx-panel__head {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 18px;
}

.evx-panel__ico {
	width: 34px;
	height: 34px;
	display: grid;
	place-items: center;
	border-radius: 9px;
	background: var(--evx-blue);
	color: #fff;
	flex-shrink: 0;
}

.evx-panel__head h2 {
	font-family: var(--font-display, "Sora", sans-serif);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -.01em;
}

.evx-link-all {
	margin-left: auto;
	font-size: 12px;
	font-weight: 700;
	color: var(--evx-teal);
	white-space: nowrap;
}

.evx-link-all:hover { text-decoration: underline; }


/* ══════════════════════════════════════════════════════════════════════════
   5. MCQ PANEL (card design shared with the MCQ archive)
══════════════════════════════════════════════════════════════════════════ */

.evx-panel { overflow: hidden; }

.evx-panel__range {
	margin-left: auto;
	font-size: 12.5px;
	color: var(--evx-muted);
	white-space: nowrap;
}

.evx-perpage select {
	height: 34px;
	min-width: 118px;
	padding: 0 32px 0 14px;
	border: 1px solid var(--border);
	border-radius: 8px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230B1D3A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 11px center;
	-webkit-appearance: none;
	appearance: none;
	font: 600 12.5px/1 var(--font-body, "DM Sans", sans-serif);
	color: var(--evx-ink);
	cursor: pointer;
}

.evx-perpage button {
	height: 34px;
	padding: 0 12px;
	margin-left: 6px;
	border: 1px solid var(--border);
	border-radius: 8px;
	background: #fff;
}

.evx-mcqs__total { color: var(--text-light); font-size: 13px; font-weight: 600; }
.evx-mcqs { display: grid; gap: 14px; }
.evx-panel .evx-mcqs { padding: 14px 18px 18px; border-top: 1px solid var(--off-white); }

.evx-mcq {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 14px;
	box-shadow: 0 4px 16px rgba(11,29,58,.06);
	padding: 18px 20px 14px;
}
.evx-mcq__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 10px;
}
.evx-mcq__tags { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.evx-mcq-tag {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
}
.evx-mcq-tag--subject { background: var(--green-pale); color: var(--green-dark); font-weight: 800; }
.evx-mcq-tag--topic   { background: var(--navy-pale);  color: var(--text-mid); }

/* Comment icon: top-right corner */
.evx-mcq__right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.evx-mcq__num { color: var(--text-light); font-size: 13px; font-weight: 500; white-space: nowrap; }
.evx-mcq-comment {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 6px 12px;
	background: var(--navy-pale);
	border: 1px solid var(--border);
	border-radius: 9px;
	color: var(--navy);
	font-size: 13px;
	transition: background .15s, color .15s;
}
.evx-mcq-comment:hover { background: var(--teal-pale); color: var(--teal-deep); }
.evx-mcq-comment b { font-weight: 800; }

.evx-mcq__q {
	margin: 0 0 14px;
	font-family: var(--font-display);
	font-size: 20px;
	font-weight: 800;
	line-height: 1.35;
	color: var(--navy);
}
.evx-mcq__q a { color: inherit; }
.evx-mcq__q a:hover { color: var(--teal-deep); }

/* Options: plain A/B/C/D (no radio buttons) */
.evx-mcq-opts { display: grid; gap: 8px; margin: 0 0 14px; }
.evx-mcq-opt {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 14px;
	border: 1px solid var(--border);
	border-radius: 10px;
	background: #fff;
	color: #000;
	font-size: 16px;
	line-height: 1.4;
}
.evx-mcq-opt__key {
	display: inline-grid;
	place-items: center;
	flex: 0 0 28px;
	width: 28px;
	height: 28px;
	border-radius: 7px;
	background: var(--navy-pale);
	color: var(--navy);
	font-size: 13px;
	font-weight: 800;
}
/* Correct option: bold, black, 2px larger */
.evx-mcq-opt.is-correct {
	color: #000;
	font-weight: 800;
	font-size: 18px;
}
.evx-mcq-opt.is-correct .evx-mcq-opt__key { color: #000; }

.evx-mcq-opt__tick { margin-left: auto; display: inline-flex; color: var(--green-dark); }
.evx-mcq-opt.is-correct { border-color: var(--green-dark); background: var(--green-pale); }

/* Correct answer line + explanation link */
.evx-mcq-answer-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 16px;
	margin: 0 0 12px;
}
.evx-mcq-answer { margin: 0; color: var(--green-dark); font-size: 16px; font-weight: 800; }
.evx-mcq-readexp {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--green-dark);
	font-size: 14px;
	font-weight: 700;
}
.evx-mcq-readexp:hover { color: var(--green-deep); text-decoration: underline; }

.evx-mcq__foot {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 6px 18px;
	padding-top: 10px;
	border-top: 1px solid var(--border);
	color: var(--text-light);
	font-size: 13px;
}
.evx-mcq__foot b { color: var(--navy); font-weight: 700; }


@media (max-width: 600px) {
	.evx-mcq { padding: 14px; }
	.evx-mcq__q { font-size: 18px; }
	.evx-mcq-opt { font-size: 15px; padding: 9px 10px; gap: 10px; }
	.evx-mcq-opt.is-correct { font-size: 17px; }
	.evx-mcq__num { display: none; }
}

.evx-empty {
	padding: 34px 18px;
	text-align: center;
	color: var(--evx-muted);
	border-top: 1px solid var(--evx-line-2);
}


/* ══════════════════════════════════════════════════════════════════════════
   6. PAGINATION
══════════════════════════════════════════════════════════════════════════ */

:is(.evx-page, .evx-hub)r {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 8px;
	margin: 18px 0;
}

:is(.evx-page, .evx-hub)r__num,
:is(.evx-page, .evx-hub)r__prev,
:is(.evx-page, .evx-hub)r__next {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-width: 36px;
	height: 36px;
	padding: 0 11px;
	border: 1px solid var(--border);
	border-radius: 7px;
	background: #fff;
	font-size: 13px;
	font-weight: 600;
	color: var(--evx-ink);
	transition: border-color .18s, color .18s;
}

:is(.evx-page, .evx-hub)r__prev { padding: 0 14px; font-weight: 500; color: var(--evx-muted); }
:is(.evx-page, .evx-hub)r__next { padding: 0 14px; font-weight: 700; }

:is(.evx-page, .evx-hub)r a:hover { border-color: var(--evx-teal); color: var(--evx-teal); }

:is(.evx-page, .evx-hub)r__num.is-current,
:is(.evx-page, .evx-hub)r__num.is-current:hover {
	background: var(--evx-teal);
	border-color: var(--evx-teal);
	color: #fff;
}

:is(.evx-page, .evx-hub)r .is-disabled { opacity: .55; pointer-events: none; }

:is(.evx-page, .evx-hub)r__dots { padding: 0 4px; letter-spacing: .08em; color: var(--evx-muted); }


/* ══════════════════════════════════════════════════════════════════════════
   7. MORE MCQ SETS
══════════════════════════════════════════════════════════════════════════ */

.evx-sets { padding-bottom: 14px; }

.evx-sets__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	padding: 2px 10px 0;
}

.evx-set {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--evx-line);
	border-radius: 10px;
	transition: box-shadow .2s, transform .2s;
}

.evx-set:hover { box-shadow: 0 10px 26px rgba(11, 29, 58, .12); transform: translateY(-2px); }

.evx-set__thumb {
	position: relative;
	display: grid;
	place-items: center;
	height: 98px;
	overflow: hidden;
	/* light tint so transparent PNG/SVG subject icons stay readable */
	background: linear-gradient(135deg, var(--teal-pale), #fff 70%);
	border-bottom: 1px solid var(--evx-line-2);
}

/* Subject icon: shown whole (contain), never cropped */
.evx-set__thumb img,
.evx-set__thumb .evx-set__icon {
	display: block;
	width: 64px;
	height: 64px;
	max-width: 100%;
	object-fit: contain;
}

.evx-set__fallback {
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	font-size: 40px;
	line-height: 1;
}

.evx-badge {
	position: absolute;
	top: 8px;
	right: 8px;
	padding: 2px 11px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.5;
	color: #fff;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .22);
}

.evx-badge--easy   { background: var(--green-dark); }
.evx-badge--medium { background: var(--saffron-b); }
.evx-badge--hard   { background: var(--rose); }

.evx-set__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 9px 9px 10px;
}

.evx-set__body h3 {
	font-family: var(--font-body, "DM Sans", sans-serif);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0;
	margin-bottom: 6px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.6em;
}

.evx-set__body h3 a:hover { color: var(--evx-teal); }

.evx-set__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 10px;
	margin-bottom: 9px;
	font-size: 10.5px;
	color: var(--evx-muted);
}

.evx-set__meta span { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }

.evx-set__btn {
	margin-top: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 30px;
	border-radius: 6px;
	background: var(--evx-teal);
	color: #fff;
	font-size: 11.5px;
	font-weight: 700;
	transition: background .18s;
}

.evx-set__btn:hover { background: var(--evx-teal-deep); color: #fff; }


/* ══════════════════════════════════════════════════════════════════════════
   8. SIDEBAR
══════════════════════════════════════════════════════════════════════════ */

.evx-side-card { padding: 14px 14px 10px; }

.evx-side-title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-display, "Sora", sans-serif);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -.01em;
	margin-bottom: 8px;
}

.evx-side-title__ico { color: var(--navy-light); display: inline-flex; }

.evx-side-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.evx-side-head .evx-side-title { margin-bottom: 0; font-size: 14px; }
.evx-side-head .evx-link-all { margin-left: 0; font-size: 11px; }

.evx-side-text {
	margin-bottom: 8px;
	font-size: 12.5px;
	line-height: 1.55;
	color: var(--text-mid);
}

.evx-links li + li { border-top: 0; }

.evx-links a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 7px 2px;
	font-size: 12.5px;
	color: var(--evx-text);
	transition: color .18s;
}

.evx-links a:hover { color: var(--evx-teal); }
.evx-links__label { flex: 1; min-width: 0; }
.evx-links a > .evx-i { color: var(--text-mid); }

.evx-links--plain li { border-bottom: 1px solid var(--evx-line-2); }
.evx-links--plain li:last-child { border-bottom: 0; }
.evx-links--plain a { padding: 8px 2px; }

/* Tinted icon squares */
.evx-ico {
	width: 24px;
	height: 24px;
	display: grid;
	place-items: center;
	border-radius: 6px;
	flex-shrink: 0;
}

.evx-ico--teal   { background: var(--teal-pale); color: var(--teal-deep); }
.evx-ico--green  { background: var(--green-pale); color: var(--green-dark); }
.evx-ico--red    { background: var(--red-pale); color: var(--rose); }
.evx-ico--amber  { background: var(--amber-pale); color: var(--amber-dark); }
.evx-ico--orange { background: var(--amber-pale); color: var(--amber-dark); }
.evx-ico--blue   { background: var(--border); color: var(--teal-dark); }
.evx-ico--purple { background: var(--g200); color: var(--royal); }

/* Sub topics list */
.evx-topics a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 5px 2px;
	font-size: 12.5px;
	color: var(--evx-text);
}

.evx-topics a:hover .evx-topic__name { color: var(--evx-teal); }

.evx-topic__ico {
	width: 22px;
	height: 22px;
	display: grid;
	place-items: center;
	flex-shrink: 0;
	border-radius: 6px;
	font-size: 15px;
	line-height: 1;
	overflow: hidden;
}

.evx-topic__ico img { width: 22px; height: 22px; object-fit: contain; border-radius: 5px; }
.evx-topic__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.evx-topic__count { font-size: 12px; color: var(--evx-muted); font-variant-numeric: tabular-nums; }


/* ══════════════════════════════════════════════════════════════════════════
   9. WHY PRACTICE + SUBSCRIBE
══════════════════════════════════════════════════════════════════════════ */

.evx-why {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	align-items: center;
	gap: 18px;
	margin-top: 16px;
	padding: 12px 16px;
}

.evx-why__intro { display: flex; align-items: center; gap: 14px; }

.evx-why__ico {
	width: 52px;
	height: 52px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--navy-pale);
	color: var(--evx-blue);
	flex-shrink: 0;
}

.evx-why__intro h2 {
	font-family: var(--font-display, "Sora", sans-serif);
	font-size: 16px;
	font-weight: 700;
	margin-bottom: 3px;
}

.evx-why__intro p { font-size: 12.5px; line-height: 1.5; color: var(--text-mid); }

.evx-why__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; text-align: center; }
.evx-why__list li { display: flex; flex-direction: column; align-items: center; }
.evx-why__list strong { font-size: 12.5px; font-weight: 700; color: var(--evx-ink); line-height: 1.3; }
.evx-why__list small { font-size: 11px; color: var(--evx-muted); line-height: 1.35; }

.evx-why__badge {
	width: 40px;
	height: 40px;
	display: grid;
	place-items: center;
	margin-bottom: 5px;
	border-radius: 50%;
}

.evx-why__badge--green  { background: var(--green-dark); color: #fff; box-shadow: 0 0 0 4px var(--green-pale); }
.evx-why__badge--orange { background: var(--amber-dark); color: #fff; box-shadow: 0 0 0 4px var(--amber-pale); }
.evx-why__badge--blue   { background: var(--royal); color: #fff; box-shadow: 0 0 0 4px var(--border); }
.evx-why__badge--purple { background: var(--royal); color: #fff; box-shadow: 0 0 0 4px var(--g200); }

.evx-subscribe {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: 12px;
	padding: 12px 16px;
}

.evx-subscribe__ico { color: var(--evx-teal); display: inline-flex; flex-shrink: 0; width: 50px; justify-content: center; }
.evx-subscribe__copy { flex: 1; min-width: 0; }

.evx-subscribe__copy h2 {
	font-family: var(--font-display, "Sora", sans-serif);
	font-size: 16px;
	font-weight: 700;
	margin-bottom: 2px;
}

.evx-subscribe__copy p { font-size: 12px; color: var(--text-mid); }

.evx-subscribe__form { display: flex; gap: 8px; flex: 0 0 auto; width: min(100%, 470px); }

.evx-subscribe__form input {
	flex: 1;
	min-width: 0;
	height: 44px;
	padding: 0 16px;
	border: 1px solid var(--border);
	border-radius: 8px;
	background: #fff;
	font: 400 13px/1 var(--font-body, "DM Sans", sans-serif);
	color: var(--evx-ink);
}

.evx-subscribe__form input::placeholder { color: var(--g300); }
.evx-subscribe__form input:focus { border-color: var(--evx-teal); outline: none; box-shadow: 0 0 0 3px rgba(0,194,203, .15); }

.evx-subscribe__form button {
	height: 44px;
	padding: 0 24px;
	border: 0;
	border-radius: 8px;
	background: var(--evx-amber);
	color: var(--navy-mid);
	font: 700 13.5px/1 var(--font-body, "DM Sans", sans-serif);
	white-space: nowrap;
	transition: background .18s, transform .18s;
}

.evx-subscribe__form button:hover { background: var(--amber-dark); transform: translateY(-1px); }


/* ══════════════════════════════════════════════════════════════════════════
   11. HERO SEARCH, PAST PAPERS, SIDEBAR EXTRAS, SEO, FAQ
══════════════════════════════════════════════════════════════════════════ */

.evx-main { display: grid; gap: 16px; align-content: start; }
.evx-body .ev-container > .evx-card { margin-top: 16px; }

/* Hero search */
.evx-search {
	display: flex;
	align-items: center;
	gap: 8px;
	max-width: 560px;
	margin-top: 14px;
	padding: 5px 5px 5px 14px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 8px 22px rgba(11, 29, 58, .22);
}
.evx-search__ico { display: inline-flex; color: var(--evx-muted); }
.evx-search input[type="search"] {
	flex: 1;
	min-width: 0;
	height: 40px;
	border: 0;
	background: transparent;
	font: 400 14px/1 var(--font-body, "DM Sans", sans-serif);
	color: var(--evx-ink);
	outline: none;
	box-shadow: none;
}
.evx-search button {
	height: 40px;
	padding: 0 22px;
	border: 0;
	border-radius: 9px;
	background: var(--evx-amber);
	color: var(--navy-mid);
	font: 700 13.5px/1 var(--font-body, "DM Sans", sans-serif);
	cursor: pointer;
	transition: background .18s;
}
.evx-search button:hover { background: var(--amber-dark); }

/* Panel icon (used by panel heads and the FAQ title) */
.evx-panel__head .evx-panel__ico,
.evx-faq h2 .evx-panel__ico { width: 30px; height: 30px; border-radius: 8px; }

/* Past papers */
.evx-papers__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	padding: 2px 14px 16px;
}
.evx-paper {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 12px;
	background: #fff;
	border: 1px solid var(--evx-line);
	border-radius: 10px;
	transition: box-shadow .2s, transform .2s;
}
.evx-paper:hover { box-shadow: 0 10px 26px rgba(11, 29, 58, .12); transform: translateY(-2px); }
.evx-paper__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 11px; font-weight: 700; color: var(--evx-muted); }
.evx-paper__top span { padding: 2px 9px; border-radius: 999px; background: var(--evx-chip); color: var(--teal-deep); }
.evx-paper h3 {
	font-family: var(--font-body, "DM Sans", sans-serif);
	font-size: 13.5px;
	font-weight: 700;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.7em;
}
.evx-paper h3 a:hover { color: var(--evx-teal); }
.evx-paper__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 11.5px; color: var(--evx-muted); }
.evx-paper .evx-set__btn { margin-top: auto; }

/* Sidebar extras */
.evx-fact { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 2px; font-size: 12.5px; color: var(--evx-text); }
.evx-fact b { font-weight: 800; color: var(--evx-ink); font-variant-numeric: tabular-nums; }
.evx-cta {
	padding: 16px;
	border-radius: 12px;
	background: linear-gradient(135deg, var(--teal-deep), var(--navy-mid));
	color: #fff;
}
.evx-cta h3 { margin-bottom: 6px; font-family: var(--font-display, "Sora", sans-serif); font-size: 15px; font-weight: 700; line-height: 1.25; color: #fff; }
.evx-cta p { margin-bottom: 12px; font-size: 12.5px; line-height: 1.5; color: rgba(255, 255, 255, .88); }
.evx-cta a {
	display: inline-flex;
	align-items: center;
	height: 34px;
	padding: 0 16px;
	border-radius: 8px;
	background: var(--evx-amber);
	color: var(--navy-mid);
	font-size: 12.5px;
	font-weight: 700;
}
.evx-cta a:hover { background: var(--amber-dark); }

/* SEO + FAQ */
.evx-seo { padding: 18px 20px; }
.evx-seo h2 { margin-bottom: 8px; font-family: var(--font-display, "Sora", sans-serif); font-size: 18px; font-weight: 700; line-height: 1.3; }
.evx-seo p { font-size: 13.5px; line-height: 1.7; color: var(--text-mid); }
.evx-seo p + p { margin-top: 8px; }

.evx-faq { padding: 16px 18px 12px; }
.evx-faq h2 { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-family: var(--font-display, "Sora", sans-serif); font-size: 17px; font-weight: 700; }
.evx-faq .evx-panel__ico { display: grid; place-items: center; background: var(--evx-blue); color: #fff; }
.evx-faq__list details { border-top: 1px solid var(--evx-line-2); }
.evx-faq__list summary {
	position: relative;
	padding: 12px 28px 12px 2px;
	font-size: 14px;
	font-weight: 600;
	color: var(--evx-ink);
	cursor: pointer;
	list-style: none;
}
.evx-faq__list summary::-webkit-details-marker { display: none; }
.evx-faq__list summary::after {
	content: "+";
	position: absolute;
	right: 6px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 20px;
	font-weight: 500;
	color: var(--evx-teal);
}
.evx-faq__list details[open] summary::after { content: "−"; }
.evx-faq__list details p { padding: 0 2px 14px; font-size: 13.5px; line-height: 1.65; color: var(--text-mid); }

@media (max-width: 1100px) {
	.evx-papers__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	.evx-search { flex-wrap: wrap; padding: 8px; }
	.evx-search input[type="search"] { flex: 1 1 calc(100% - 40px); }
	.evx-search button { width: 100%; }
}
@media (max-width: 520px) {
	.evx-papers__grid { grid-template-columns: minmax(0, 1fr); }
}

/* ══════════════════════════════════════════════════════════════════════════
   10. RESPONSIVE
══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 1100px) {
	.evx-hero__grid { grid-template-columns: var(--evx-hero-logo) minmax(0, 1fr) 300px; }
	.evx-sets__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-bottom: 2px; }
	.evx-why { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
	.evx-layout { grid-template-columns: minmax(0, 1fr); }
	.evx-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
	.evx-side > .evx-side-card:first-child { grid-column: 1 / -1; }
	.evx-hero__grid {
		--evx-hero-logo: 84px;
		grid-template-columns: var(--evx-hero-logo) minmax(0, 1fr);
		grid-template-areas:
			"logo copy"
			"stats stats";
	}
	.evx-hero__art,
	.evx-hero__scene { display: none; }
	.evx-hero__copy h1 { font-size: 34px; }
}

@media (max-width: 720px) {
	.evx-subscribe { flex-wrap: wrap; }
	.evx-subscribe__form { width: 100%; }
	.evx-panel__head { flex-wrap: wrap; row-gap: 8px; }
	.evx-panel__range { margin-left: auto; }
	.evx-side { grid-template-columns: minmax(0, 1fr); }
	.evx-why__list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 14px; }
}

@media (max-width: 600px) {
	.evx-hero__grid {
		--evx-hero-logo: 64px;
		grid-template-columns: var(--evx-hero-logo) minmax(0, 1fr);
		column-gap: 14px;
		padding-top: 14px;
		padding-bottom: 16px;
	}
	.evx-hero__logo { border-radius: 12px; box-shadow: 0 4px 12px rgba(11,29,58, .22); }
	.evx-hero__copy h1 { font-size: 26px; margin-bottom: 4px; }
	.evx-hero__copy p { font-size: 13.5px; }
	.evx-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.evx-stats li { padding: 8px 10px 8px 8px; gap: 9px; min-height: 0; }
	.evx-stat__ico { width: 36px; height: 36px; }
	.evx-stat__ico .evx-i { width: 20px; height: 20px; }
	.evx-stats strong { font-size: 15px; white-space: normal; }
	.evx-stats small { font-size: 11px; white-space: normal; }
	.evx-tab { height: 34px; padding: 0 14px; font-size: 12.5px; }
	.evx-tab--all { height: 36px; padding: 0 20px; }
	.evx-sets__grid { gap: 10px; padding: 2px 10px 0; }
}

@media (max-width: 520px) {
	.evx-sets__grid { grid-template-columns: minmax(0, 1fr); }
	.evx-subscribe__form { flex-direction: column; }
	.evx-subscribe__form button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	:is(.evx-page, .evx-hub) *,
	:is(.evx-page, .evx-hub) *::before,
	:is(.evx-page, .evx-hub) *::after { transition: none !important; animation: none !important; }
	.evx-set:hover { transform: none; }
}


/* ══════════════════════════════════════════════════════════════════════════
   12. EXAM HUB  —  page-exam.php  (/exam/)
   Every rule is prefixed .evx-hub so nothing leaks into the board template.
   Class names shared with the board page (.evx-hero, .evx-hero__grid,
   .evx-search, .evx-empty, .evx-pager) are re-declared here with the extra
   .evx-hub parent, which out-ranks the board rules above.
══════════════════════════════════════════════════════════════════════════ */

.evx-hub { padding-bottom: 0; }

/* ── Hero ─────────────────────────────────────────────────────────────── */






.evx-hub .evx-hero__grid {
	grid-template-columns: minmax(0, 1fr) minmax(0, 500px);
	grid-template-areas: none;
	column-gap: 40px;
	row-gap: 20px;
	min-height: 0;
	padding-top: 22px;
	padding-bottom: 36px;
}
.evx-hub .evx-hero__copy { grid-area: auto; }

.evx-hub .evx-kicker {
	display: inline-flex;
	align-items: center;
	margin-bottom: 12px;
	padding: 4px 12px;
	border: 1px solid rgba(255, 255, 255, .25);
	border-radius: 999px;
	background: rgba(255, 255, 255, .14);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--amber-light);
}

.evx-hub .evx-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

.evx-hub .evx-metrics li {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
	padding: 12px 16px 12px 12px;
	background: rgba(255, 255, 255, .13);
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 14px;
	backdrop-filter: blur(2px);
}

.evx-hub .evx-metrics__ico {
	width: 52px;
	height: 52px;
	display: grid;
	place-items: center;
	flex-shrink: 0;
	border-radius: 12px;
	background: rgba(255, 255, 255, .95);
	color: var(--evx-teal);
}
.evx-hub .evx-metrics__ico svg { width: 28px; height: 28px; }
.evx-hub .evx-metrics__ico--cyan  { background: var(--teal-pale);  color: var(--teal-deep); }
.evx-hub .evx-metrics__ico--peach { background: var(--amber-pale); color: var(--amber-dark); }

.evx-hub .evx-metrics li > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.evx-hub .evx-metrics strong { font-family: var(--font-display, "Sora", sans-serif); font-size: 22px; font-weight: 700; line-height: 1.15; color: #fff; }
.evx-hub .evx-metrics small  { font-size: 12.5px; line-height: 1.3; color: rgba(255, 255, 255, .85); }

/* ── Sections + heads ─────────────────────────────────────────────────── */
.evx-hub .evx-sec { padding: 38px 0; }
.evx-hub .evx-sec--tint { background: linear-gradient(180deg, var(--teal-pale) 0%, #fff 100%); }
.evx-hub .evx-sec--practice { background: var(--evx-bg); border-top: 1px solid var(--evx-line); }
.evx-hub .evx-sec--practice .evx-practice__main { min-width: 0; }

.evx-hub .evx-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px 20px;
	margin-bottom: 20px;
}
.evx-hub .evx-head--tight { margin-bottom: 16px; }

.evx-hub .evx-head h2 {
	font-family: var(--font-display, "Sora", sans-serif);
	font-size: 24px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -.015em;
}

.evx-hub .evx-viewall {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13.5px;
	font-weight: 700;
	color: var(--evx-teal);
	white-space: nowrap;
	transition: gap .18s, color .18s;
}
.evx-hub .evx-viewall:hover { gap: 10px; color: var(--teal-deep); }

/* ── Logo tile (term visual: image, emoji or initials) ──────────────────
   Size is driven by --logo so each breakpoint only changes one value.
   Flex + 100%/100% children + object-fit:contain keeps any aspect ratio
   crisp and centred; width/height attrs from PHP prevent layout shift. */
.evx-hub .evx-logo {
	--logo: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: var(--logo);
	height: var(--logo);
	aspect-ratio: 1 / 1;
	padding: calc(var(--logo) * .125);
	overflow: hidden;
	border: 1px solid var(--evx-line);
	border-radius: 12px;
	background: #fff;
	color: var(--evx-teal);
	font-family: var(--font-display, "Sora", sans-serif);
	font-size: calc(var(--logo) * .31);
	font-weight: 800;
	line-height: 1;
}
.evx-hub .evx-logo--lg { --logo: 64px; border-radius: 14px; }
.evx-hub .evx-logo > * { width: 100%; height: 100%; min-width: 0; min-height: 0; }
.evx-hub .evx-logo img { display: block; width: 100%; height: 100%; max-width: 100%; object-fit: contain; image-rendering: auto; }
.evx-hub .evx-logo .ev-exam-term-visual,
.evx-hub .evx-logo .ev-exam-term-fallback { display: grid; place-items: center; text-align: center; }
.evx-hub .evx-logo img.ev-exam-term-visual { display: block; }

/* ── Popular boards ───────────────────────────────────────────────────── */
.evx-hub .evx-pop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

.evx-hub .evx-pop {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	grid-template-areas: "logo copy go" "stats stats stats";
	align-items: center;
	column-gap: 14px;
	row-gap: 14px;
	padding: 16px;
	background: #fff;
	border: 1px solid var(--evx-line);
	border-radius: 14px;
	box-shadow: var(--evx-shadow);
	transition: transform .2s, box-shadow .2s, border-color .2s;
}
.evx-hub .evx-pop:hover { transform: translateY(-3px); border-color: var(--teal-tint); box-shadow: 0 12px 30px rgba(11, 29, 58, .12); }

.evx-hub .evx-pop > .evx-logo { grid-area: logo; }
.evx-hub .evx-pop__copy { grid-area: copy; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.evx-hub .evx-pop__copy strong { overflow-wrap: anywhere; font-family: var(--font-display, "Sora", sans-serif); font-size: 16px; font-weight: 700; line-height: 1.25; color: var(--evx-ink); }
.evx-hub .evx-pop__copy small {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 12.5px;
	line-height: 1.4;
	color: var(--evx-muted);
}

.evx-hub .evx-pop__go {
	grid-area: go;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--evx-chip);
	color: var(--teal-deep);
	transition: background .18s, color .18s;
}
.evx-hub .evx-pop:hover .evx-pop__go { background: var(--evx-teal); color: #fff; }

.evx-hub .evx-pop__stats {
	grid-area: stats;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	padding-top: 12px;
	border-top: 1px solid var(--evx-line-2);
	font-size: 12.5px;
	font-weight: 600;
	color: var(--evx-text);
}
.evx-hub .evx-pop__stats span { display: inline-flex; align-items: center; gap: 6px; }
.evx-hub .evx-pop__stats svg { color: var(--evx-teal); }

/* ── All boards: search + tiles ───────────────────────────────────────── */
.evx-hub .evx-head .evx-search {
	flex: 0 1 340px;
	width: 100%;
	max-width: 340px;
	margin: 0;
	padding: 4px 4px 4px 14px;
	border: 1px solid var(--evx-line);
	box-shadow: none;
}
.evx-hub .evx-head .evx-search:focus-within { border-color: var(--evx-teal); box-shadow: 0 0 0 3px rgba(0, 194, 203, .15); }
.evx-hub .evx-head .evx-search input[type="search"] { height: 38px; font-size: 13.5px; }
.evx-hub .evx-head .evx-search button {
	display: grid;
	place-items: center;
	flex-shrink: 0;
	width: 38px;
	height: 38px;
	padding: 0;
	background: var(--evx-teal);
	color: #fff;
}
.evx-hub .evx-head .evx-search button:hover { background: var(--teal-deep); }

.evx-hub .evx-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 12px; }

.evx-hub .evx-tile {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	padding: 12px 14px;
	background: #fff;
	border: 1px solid var(--evx-line);
	border-radius: 12px;
	box-shadow: var(--evx-shadow);
	transition: transform .18s, border-color .18s, box-shadow .18s;
}
.evx-hub .evx-tile strong { flex: 1; min-width: 0; overflow-wrap: anywhere; font-size: 14px; font-weight: 700; line-height: 1.3; color: var(--evx-ink); }
.evx-hub .evx-tile > svg { color: var(--evx-muted); transition: color .18s, transform .18s; }
.evx-hub .evx-tile:hover { transform: translateY(-2px); border-color: var(--evx-teal); box-shadow: 0 10px 24px rgba(11, 29, 58, .1); }
.evx-hub .evx-tile:hover > svg { color: var(--evx-teal); transform: translateX(2px); }

.evx-hub .evx-empty {
	padding: 40px 20px;
	border: 1px dashed var(--evx-line);
	border-radius: 14px;
	background: #fff;
}
.evx-hub .evx-empty h3 { margin-bottom: 4px; font-family: var(--font-display, "Sora", sans-serif); font-size: 18px; font-weight: 700; }

/* ── Practice MCQs ────────────────────────────────────────────────────── */
.evx-hub .evx-practice { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; align-items: start; }
.evx-hub .evx-practice__main { min-width: 0; }

.evx-hub .evx-panel__head .evx-select { margin-left: 12px; }
.evx-hub .evx-select { display: inline-flex; align-items: center; gap: 8px; color: var(--evx-muted); }
.evx-hub .evx-select select {
	height: 38px;
	min-width: 160px;
	padding: 0 34px 0 14px;
	border: 1px solid var(--border);
	border-radius: 8px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230B1D3A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
	-webkit-appearance: none;
	appearance: none;
	font: 600 13px/1 var(--font-body, "DM Sans", sans-serif);
	color: var(--evx-ink);
	cursor: pointer;
}
.evx-hub .evx-select button {
	height: 38px;
	padding: 0 14px;
	border: 1px solid var(--border);
	border-radius: 8px;
	background: #fff;
	font: 600 13px/1 var(--font-body, "DM Sans", sans-serif);
}

/* Practice cards reuse the board's .evx-mcq markup + styles (section 5); only the panel wrapper is hub-specific */
.evx-hub .evx-mcq-opt__text { flex: 1; min-width: 0; }
.evx-hub .evx-panel__head h2 { min-width: 0; }

/* Pagination (hub uses plain <a> children) */
.evx-hub .evx-pager a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 11px;
	border: 1px solid var(--border);
	border-radius: 7px;
	background: #fff;
	font-size: 13px;
	font-weight: 600;
	color: var(--evx-ink);
	transition: border-color .18s, color .18s;
}
.evx-hub .evx-pager a.is-current,
.evx-hub .evx-pager a.is-current:hover { background: var(--evx-teal); border-color: var(--evx-teal); color: #fff; }

/* Sidebar: exam categories */
.evx-hub .evx-cats {
	padding: 16px 16px 8px;
	background: #fff;
	border: 1px solid var(--evx-line);
	border-radius: 12px;
	box-shadow: var(--evx-shadow);
}
.evx-hub .evx-cats h3 { margin-bottom: 6px; font-family: var(--font-display, "Sora", sans-serif); font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.evx-hub .evx-cats li + li { border-top: 1px solid var(--evx-line-2); }
.evx-hub .evx-cats a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 2px; font-size: 13.5px; color: var(--evx-text); transition: color .18s; }
.evx-hub .evx-cats a:hover { color: var(--evx-teal); }
.evx-hub .evx-cats a span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.evx-hub .evx-cats b { flex-shrink: 0; padding: 2px 10px; border-radius: 999px; background: var(--evx-chip); font-size: 12px; font-weight: 700; color: var(--teal-deep); font-variant-numeric: tabular-nums; }

/* ── Guide band ───────────────────────────────────────────────────────── */
.evx-hub .evx-guide { padding: 30px 0; background: var(--evx-bg); }
.evx-hub .evx-guide__in { display: flex; align-items: center; gap: 20px; }
.evx-hub .evx-guide__ico { display: grid; place-items: center; flex-shrink: 0; width: 68px; height: 68px; border-radius: 50%; background: var(--evx-chip); color: var(--teal-deep); }
.evx-hub .evx-guide__in > div { flex: 1; min-width: 0; }
.evx-hub .evx-guide h2 { margin-bottom: 4px; font-family: var(--font-display, "Sora", sans-serif); font-size: 20px; font-weight: 700; line-height: 1.3; }
.evx-hub .evx-guide p { max-width: 640px; font-size: 14px; line-height: 1.6; color: var(--text-mid); }
.evx-hub .evx-guide__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
	height: 46px;
	padding: 0 22px;
	border-radius: 10px;
	background: var(--evx-teal);
	font-size: 14px;
	font-weight: 700;
	color: #fff;
	white-space: nowrap;
	transition: background .18s, transform .18s;
}
.evx-hub .evx-guide__btn:hover { background: var(--teal-deep); color: #fff; transform: translateY(-1px); }

/* ── Subscribe band ───────────────────────────────────────────────────── */
.evx-hub .evx-sub { padding: 36px 0; color: #fff; background: linear-gradient(100deg, var(--teal-deep) 0%, var(--navy-mid) 100%); }
.evx-hub .evx-sub__in { display: flex; align-items: center; gap: 24px; }
.evx-hub .evx-sub__ico { display: grid; place-items: center; flex-shrink: 0; width: 64px; height: 64px; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; }
.evx-hub .evx-sub__copy { flex: 1; min-width: 0; }
.evx-hub .evx-sub__copy small { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--amber-light); }
.evx-hub .evx-sub__copy h2 { margin-bottom: 4px; font-family: var(--font-display, "Sora", sans-serif); font-size: 22px; font-weight: 700; line-height: 1.25; color: #fff; }
.evx-hub .evx-sub__copy p { max-width: 520px; font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, .88); }

.evx-hub .evx-sub__form { flex: 0 0 auto; width: min(100%, 460px); }
.evx-hub .evx-sub__form form { display: flex; gap: 8px; }
.evx-hub .evx-sub__form input[type="email"] {
	flex: 1;
	min-width: 0;
	height: 46px;
	padding: 0 16px;
	border: 0;
	border-radius: 10px;
	background: #fff;
	font: 400 14px/1 var(--font-body, "DM Sans", sans-serif);
	color: var(--evx-ink);
}
.evx-hub .evx-sub__form input::placeholder { color: var(--g300); }
.evx-hub .evx-sub__form button {
	height: 46px;
	padding: 0 24px;
	border: 0;
	border-radius: 10px;
	background: var(--evx-amber);
	font: 700 14px/1 var(--font-body, "DM Sans", sans-serif);
	color: var(--navy-mid);
	white-space: nowrap;
	cursor: pointer;
	transition: background .18s, transform .18s;
}
.evx-hub .evx-sub__form button:hover { background: var(--amber-dark); transform: translateY(-1px); }
.evx-hub .evx-sub__note { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 12px; color: rgba(255, 255, 255, .8); }

/* ── Hub responsive ───────────────────────────────────────────────────── */
@media (max-width: 1100px) {
	.evx-hub .evx-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); column-gap: 28px; }
	.evx-hub .evx-pop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
	.evx-hub .evx-hero__grid { grid-template-columns: minmax(0, 1fr); }
	.evx-hub .evx-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.evx-hub .evx-metrics li { flex-direction: column; align-items: flex-start; gap: 8px; }
	.evx-hub .evx-practice { grid-template-columns: minmax(0, 1fr); }
	.evx-hub .evx-sub__in { flex-wrap: wrap; }
	.evx-hub .evx-sub__form { width: 100%; }
}

@media (max-width: 720px) {
	.evx-hub .evx-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.evx-hub .evx-metrics li { flex-direction: row; align-items: center; gap: 12px; }
	.evx-hub .evx-guide__in { flex-wrap: wrap; }
	.evx-hub .evx-guide__btn { width: 100%; justify-content: center; }
}

@media (max-width: 600px) {
	.evx-hub .evx-hero__grid { grid-template-columns: minmax(0, 1fr); padding-top: 14px; padding-bottom: 22px; }
	.evx-hub .evx-metrics { gap: 8px; }
	.evx-hub .evx-metrics li { padding: 8px 10px 8px 8px; gap: 9px; }
	.evx-hub .evx-metrics__ico { width: 40px; height: 40px; border-radius: 10px; }
	.evx-hub .evx-metrics__ico svg { width: 22px; height: 22px; }
	.evx-hub .evx-metrics strong { font-size: 16px; }
	.evx-hub .evx-metrics small { font-size: 11px; }
	.evx-hub .evx-sec { padding: 28px 0; }
	.evx-hub .evx-head h2 { font-size: 20px; }
	.evx-hub .evx-head .evx-search { flex-basis: 100%; max-width: none; }
	.evx-hub .evx-pop-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.evx-hub .evx-pop { padding: 14px; column-gap: 12px; row-gap: 12px; }
	.evx-hub .evx-logo--lg { --logo: 56px; border-radius: 12px; }
	/* two compact tiles per row instead of one long column */
	.evx-hub .evx-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.evx-hub .evx-tile { padding: 10px; gap: 10px; }
	.evx-hub .evx-tile .evx-logo { --logo: 40px; border-radius: 10px; }
	.evx-hub .evx-tile strong { font-size: 13px; }
	.evx-hub .evx-tile > svg { display: none; }
	.evx-hub .evx-pager a { min-width: 40px; height: 40px; }
	.evx-hub .evx-select { width: 100%; }
	.evx-hub .evx-select select { flex: 1; }
	.evx-hub .evx-sub__ico { display: none; }
}

@media (max-width: 359px) {
	.evx-hub .evx-tiles { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 520px) {
	.evx-hub .evx-sub__form form { flex-direction: column; }
	.evx-hub .evx-sub__form button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.evx-hub .evx-pop:hover,
	.evx-hub .evx-tile:hover,
	.evx-hub .evx-tile:hover > svg,
	.evx-hub .evx-guide__btn:hover,
	.evx-hub .evx-sub__form button:hover { transform: none; }
}
/* ExamVillage responsive icon, thumbnail and pagination refinements */
.evx-hub .evx-pop-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.evx-hub .evx-pop { min-width: 0; padding: 14px; }
.evx-hub .evx-pop .evx-logo img, .evx-hub .evx-tile .evx-logo img { width: 100%; height: 100%; object-fit: contain; }
.evx-set__thumb { overflow: hidden; }
.evx-set__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.evx-pager { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 22px 0; }
.evx-pager a, .evx-pager span { display: inline-flex; min-width: 38px; min-height: 38px; align-items: center; justify-content: center; padding: 6px 12px; border: 1px solid #dbe3ec; border-radius: 8px; text-decoration: none; }
.evx-pager .is-current, .evx-pager [aria-current="page"] { background: #126d78; border-color: #126d78; color: #fff; }
@media (max-width: 1100px) { .evx-hub .evx-pop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 680px) { .evx-hub .evx-pop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .evx-hub .evx-pop { padding: 10px; } }
@media (max-width: 390px) { .evx-hub .evx-pop-grid { grid-template-columns: minmax(0, 1fr); } }
