:root {
	--iexamhub-navy: #08204a;
	--iexamhub-blue: #2563eb;
	--iexamhub-blue-dark: #1746aa;
	--iexamhub-orange: #f97316;
	--iexamhub-orange-dark: #ea580c;
	--iexamhub-green: #16a34a;
	--iexamhub-cyan: #0891b2;
	--iexamhub-purple: #7c3aed;
	--iexamhub-red: #ef4444;
	--iexamhub-text: #13213c;
	--iexamhub-muted: #65738d;
	--iexamhub-border: #dbe6f5;
	--iexamhub-surface: #ffffff;
	--iexamhub-soft: #f5f8fc;
	--iexamhub-soft-blue: #eef6ff;
	--iexamhub-shadow: 0 18px 44px rgba(8, 32, 74, 0.10);
	--iexamhub-shadow-soft: 0 10px 26px rgba(8, 32, 74, 0.08);
	--iexamhub-radius: 8px;
	--iexamhub-container: 1180px;
	--iexamhub-header-offset: 92px;
	--iexamhub-logo-max-width: 180px;
	--iexamhub-logo-max-height: 56px;
	--iexamhub-footer-logo-max-width: 160px;
	--iexamhub-footer-logo-max-height: 48px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	max-width: 100%;
	overflow-x: visible;
	scroll-behavior: smooth;
}

html,
body {
	min-height: 100%;
}

body {
	display: flex;
	flex-direction: column;
	margin: 0;
	background: #ffffff;
	color: var(--iexamhub-text);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	min-height: 100vh;
	max-width: 100%;
	overflow-x: visible;
}

.site-main,
.site-footer {
	max-width: 100%;
	overflow-x: clip;
}

@supports not (overflow: clip) {
	.site-main,
	.site-footer {
		overflow-x: hidden;
	}
}

.site-main {
	flex: 1 0 auto;
}

.site-footer {
	flex-shrink: 0;
}

@supports (min-height: 100dvh) {
	body {
		min-height: 100dvh;
	}
}

a {
	color: inherit;
	text-decoration: none;
}

a:hover,
a:focus {
	color: var(--iexamhub-orange);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 3px solid rgba(249, 115, 22, 0.35);
	outline-offset: 3px;
}

img {
	height: auto;
	max-width: 100%;
}

button,
input {
	font: inherit;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal;
}

.screen-reader-text:focus {
	background: #ffffff;
	border-radius: var(--iexamhub-radius);
	box-shadow: var(--iexamhub-shadow-soft);
	clip: auto;
	clip-path: none;
	color: var(--iexamhub-navy);
	display: block;
	height: auto;
	left: 16px;
	padding: 10px 14px;
	top: 16px;
	width: auto;
	z-index: 100000;
}

.iexamhub-container {
	margin: 0 auto;
	max-width: var(--iexamhub-container);
	padding: 0 24px;
	width: 100%;
}

.site-header {
	background: rgba(255, 255, 255, 0.94);
	border-bottom: 1px solid rgba(219, 230, 245, 0.86);
	position: relative;
	z-index: 50;
}

.site-header.is-sticky-enabled {
	background: #ffffff;
	position: sticky;
	top: 0;
	z-index: 999;
}

.site-header.has-header-shadow {
	box-shadow: 0 1px 0 rgba(15, 31, 68, 0.08), 0 12px 30px rgba(15, 31, 68, 0.04);
}

body.admin-bar .site-header.is-sticky-enabled {
	top: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar .site-header.is-sticky-enabled {
		top: 46px;
	}
}

@media (max-width: 767px) {
	.site-header.is-sticky-enabled:not(.is-mobile-sticky-enabled) {
		position: relative;
		top: auto;
	}

	body.admin-bar .site-header.is-sticky-enabled:not(.is-mobile-sticky-enabled) {
		top: auto;
	}
}

.header-inner {
	align-items: center;
	display: flex;
	gap: 22px;
	min-height: 76px;
}

.site-header.header-style-compact .header-inner {
	min-height: 64px;
}

.site-header.header-style-compact .brand-mark {
	height: 38px;
	width: 38px;
}

.site-header.header-style-compact .primary-menu a {
	padding-bottom: 8px;
	padding-top: 8px;
}

.site-header.header-style-compact .header-icon-button {
	height: 40px;
	width: 40px;
}

.site-header.header-style-compact .header-login {
	min-height: 40px;
	padding-left: 14px;
	padding-right: 14px;
}

.site-branding {
	align-items: center;
	display: flex;
	flex: 0 0 auto;
	gap: 10px;
}

.brand-link,
.footer-brand {
	align-items: center;
	display: inline-flex;
	gap: 12px;
}

.custom-logo-link {
	align-items: center;
	display: inline-flex;
	flex: 0 0 auto;
	max-height: var(--iexamhub-logo-max-height);
	max-width: var(--iexamhub-logo-max-width);
	min-width: 0;
	overflow: hidden;
}

.site-branding .custom-logo {
	display: block;
	height: auto;
	max-height: var(--iexamhub-logo-max-height);
	max-width: var(--iexamhub-logo-max-width);
	object-fit: contain;
	width: auto;
}

.brand-mark {
	align-items: center;
	background: linear-gradient(135deg, var(--iexamhub-orange), #ffb15f);
	border: 3px solid #fff3e6;
	border-radius: var(--iexamhub-radius);
	box-shadow: 0 8px 18px rgba(249, 115, 22, 0.24);
	color: #ffffff;
	display: inline-flex;
	font-size: 13px;
	font-weight: 900;
	height: 42px;
	justify-content: center;
	letter-spacing: 0;
	width: 42px;
}

.brand-mark-small {
	height: 34px;
	width: 34px;
}

.brand-copy {
	display: grid;
	gap: 0;
	min-width: 0;
}

.brand-name {
	color: var(--iexamhub-navy);
	font-size: 24px;
	font-weight: 900;
	line-height: 1;
}

.brand-name::first-letter {
	color: var(--iexamhub-blue);
}

.brand-tagline {
	color: var(--iexamhub-muted);
	font-size: 11px;
	font-weight: 700;
	margin-top: 4px;
}

.primary-nav {
	flex: 1 1 auto;
}

.primary-menu {
	align-items: center;
	display: flex;
	gap: 6px;
	justify-content: center;
	list-style: none;
	margin: 0;
	padding: 0;
}

.primary-menu a {
	border-radius: var(--iexamhub-radius);
	color: var(--iexamhub-navy);
	display: inline-flex;
	font-size: 15px;
	font-weight: 700;
	padding: 11px 10px;
	position: relative;
	white-space: nowrap;
}

.primary-menu a::after {
	background: var(--iexamhub-orange);
	border-radius: 10px;
	bottom: 3px;
	content: "";
	height: 3px;
	left: 12px;
	opacity: 0;
	position: absolute;
	right: 12px;
	transform: translateY(4px);
	transition: opacity 180ms ease, transform 180ms ease;
}

.primary-menu a:hover::after,
.primary-menu a:focus::after,
.primary-menu .current-menu-item > a::after {
	opacity: 1;
	transform: translateY(0);
}

.header-actions {
	align-items: center;
	display: flex;
	gap: 12px;
}

.header-icon-button,
.menu-toggle {
	align-items: center;
	background: #ffffff;
	border: 1px solid var(--iexamhub-border);
	border-radius: 50%;
	color: var(--iexamhub-navy);
	display: inline-flex;
	height: 44px;
	justify-content: center;
	width: 44px;
}

.header-icon-button:hover,
.header-icon-button:focus,
.menu-toggle:hover,
.menu-toggle:focus {
	border-color: var(--iexamhub-blue);
	color: var(--iexamhub-blue);
}

.menu-toggle {
	display: none;
}

.menu-toggle-bars,
.menu-toggle-bars::before,
.menu-toggle-bars::after {
	background: currentColor;
	border-radius: 10px;
	display: block;
	height: 2px;
	position: relative;
	width: 18px;
}

.menu-toggle-bars::before,
.menu-toggle-bars::after {
	content: "";
	left: 0;
	position: absolute;
}

.menu-toggle-bars::before {
	top: -6px;
}

.menu-toggle-bars::after {
	top: 6px;
}

.button {
	align-items: center;
	border: 1px solid transparent;
	border-radius: var(--iexamhub-radius);
	cursor: pointer;
	display: inline-flex;
	font-size: 14px;
	font-weight: 800;
	gap: 8px;
	justify-content: center;
	line-height: 1;
	min-height: 44px;
	padding: 0 18px;
	transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover,
.button:focus {
	box-shadow: 0 10px 22px rgba(8, 32, 74, 0.10);
	transform: translateY(-1px);
}

.button-primary {
	background: var(--iexamhub-orange);
	color: #ffffff;
}

.button-primary:hover,
.button-primary:focus {
	background: var(--iexamhub-orange-dark);
	color: #ffffff;
}

.button-outline {
	background: #ffffff;
	border-color: #9ec1ff;
	color: var(--iexamhub-blue);
}

.button-outline:hover,
.button-outline:focus {
	background: var(--iexamhub-soft-blue);
	border-color: var(--iexamhub-blue);
	color: var(--iexamhub-blue-dark);
}

.button-small {
	font-size: 12px;
	min-height: 34px;
	padding: 0 12px;
}

.button-icon {
	align-items: center;
	background: var(--iexamhub-blue);
	border-radius: 50%;
	color: #ffffff;
	display: inline-flex;
	font-size: 10px;
	font-weight: 900;
	height: 18px;
	justify-content: center;
	text-transform: uppercase;
	width: 18px;
}

.hero-section {
	background:
		radial-gradient(circle at 78% 18%, rgba(37, 99, 235, 0.13), transparent 32%),
		radial-gradient(circle at 16% 22%, rgba(249, 115, 22, 0.10), transparent 28%),
		linear-gradient(180deg, #f8fbff 0%, #ffffff 78%);
	overflow: hidden;
	padding: 46px 0 22px;
}

.hero-grid {
	align-items: center;
	display: grid;
	gap: 42px;
	grid-template-columns: minmax(0, 0.98fr) minmax(350px, 1.02fr);
	min-height: 430px;
	min-width: 0;
}

.hero-content {
	min-width: 0;
}

.section-kicker {
	color: var(--iexamhub-blue);
	font-size: 13px;
	font-weight: 900;
	letter-spacing: 0;
	margin: 0 0 10px;
	text-transform: uppercase;
}

.hero-content h1 {
	color: var(--iexamhub-navy);
	font-size: clamp(40px, 5vw, 64px);
	letter-spacing: 0;
	line-height: 0.98;
	margin: 0;
	max-width: 650px;
	overflow-wrap: break-word;
}

.hero-content h1 span {
	color: var(--iexamhub-orange);
	display: block;
	max-width: 100%;
	overflow-wrap: break-word;
}

.hero-copy {
	color: var(--iexamhub-muted);
	font-size: 18px;
	margin: 18px 0 22px;
	max-width: 560px;
}

.hero-search {
	align-items: center;
	background: #ffffff;
	border: 1px solid #ffb177;
	border-radius: var(--iexamhub-radius);
	box-shadow: 0 18px 44px rgba(249, 115, 22, 0.14), var(--iexamhub-shadow-soft);
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr) auto;
	max-width: 610px;
	overflow: hidden;
	width: 100%;
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.hero-search:focus-within {
	border-color: var(--iexamhub-orange);
	box-shadow: 0 0 0 5px rgba(249, 115, 22, 0.12), var(--iexamhub-shadow);
	transform: translateY(-1px);
}

.hero-search input {
	border: 0;
	color: var(--iexamhub-text);
	min-height: 58px;
	outline: 0;
	width: 100%;
}

.hero-search input::placeholder {
	color: #8a96aa;
}

.search-prefix {
	color: var(--iexamhub-navy);
	display: inline-flex;
	justify-content: center;
}

.hero-search .button {
	border-radius: 0;
	min-height: 58px;
	padding: 0 28px;
}

.hero-ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 16px;
}

.hero-ctas .button {
	min-width: 150px;
}

.quick-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 16px;
	max-width: 100%;
}

.filter-chip {
	align-items: center;
	background: #ffffff;
	border: 1px solid var(--iexamhub-border);
	border-radius: 999px;
	color: var(--iexamhub-navy);
	display: inline-flex;
	font-size: 13px;
	font-weight: 800;
	min-height: 38px;
	padding: 0 16px;
	transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

.filter-chip:hover,
.filter-chip:focus {
	background: var(--iexamhub-soft-blue);
	border-color: #9ec1ff;
	box-shadow: 0 8px 18px rgba(37, 99, 235, 0.12);
	color: var(--iexamhub-blue);
	transform: translateY(-1px);
}

.hero-visual {
	aspect-ratio: 1.35 / 1;
	justify-self: end;
	max-width: 620px;
	min-height: 330px;
	position: relative;
	width: 100%;
}

.visual-orbit {
	background: linear-gradient(135deg, rgba(37, 99, 235, 0.16), rgba(8, 145, 178, 0.08));
	border-radius: 50%;
	height: 82%;
	left: 9%;
	position: absolute;
	top: 6%;
	width: 84%;
}

.visual-book-stack {
	bottom: 16%;
	height: 180px;
	left: 26%;
	position: absolute;
	width: 360px;
}

.book {
	border-radius: var(--iexamhub-radius);
	box-shadow: 0 16px 26px rgba(8, 32, 74, 0.18);
	display: block;
	height: 46px;
	position: absolute;
	transform: skewY(-8deg);
	width: 340px;
}

.book::after {
	background: rgba(255, 255, 255, 0.82);
	border-radius: 0 var(--iexamhub-radius) var(--iexamhub-radius) 0;
	content: "";
	height: 19px;
	position: absolute;
	right: 12px;
	top: 13px;
	width: 220px;
}

.book-top {
	background: var(--iexamhub-blue);
	left: 4px;
	top: 14px;
}

.book-mid {
	background: var(--iexamhub-orange);
	left: 24px;
	top: 74px;
}

.book-bottom {
	background: #2f9ec4;
	left: 2px;
	top: 132px;
}

.visual-cap {
	background: #0d285a;
	border-radius: var(--iexamhub-radius);
	box-shadow: 0 14px 24px rgba(8, 32, 74, 0.24);
	height: 74px;
	left: 39%;
	position: absolute;
	top: 18%;
	transform: perspective(240px) rotateX(50deg) rotateZ(8deg);
	width: 230px;
}

.visual-cap span {
	background: #123a79;
	border-radius: 0 0 12px 12px;
	bottom: -44px;
	height: 52px;
	left: 72px;
	position: absolute;
	width: 92px;
}

.visual-cap::after {
	background: #f6bc2d;
	border-radius: 999px;
	content: "";
	height: 6px;
	position: absolute;
	right: -8px;
	top: 35px;
	transform: rotate(20deg);
	width: 90px;
}

.visual-globe {
	align-items: center;
	background: linear-gradient(145deg, #5bbdf6, #2563eb);
	border: 7px solid #ffffff;
	border-radius: 50%;
	bottom: 20%;
	box-shadow: var(--iexamhub-shadow-soft);
	color: #ffffff;
	display: flex;
	font-size: 28px;
	font-weight: 900;
	height: 120px;
	justify-content: center;
	left: 6%;
	position: absolute;
	width: 120px;
}

.visual-board {
	background: #ffffff;
	border: 8px solid #b68661;
	border-radius: var(--iexamhub-radius);
	box-shadow: var(--iexamhub-shadow);
	display: grid;
	gap: 18px;
	padding: 32px 28px;
	position: absolute;
	right: 2%;
	top: 30%;
	width: 190px;
}

.visual-board span {
	background: linear-gradient(90deg, #5ba3ff 0 16px, #e7eef9 16px);
	border-radius: 999px;
	height: 12px;
}

.visual-pencil {
	background: linear-gradient(90deg, #ffd35a, #f97316 72%, #0d285a 72%);
	border-radius: 999px;
	bottom: 9%;
	height: 24px;
	position: absolute;
	right: 19%;
	transform: rotate(-2deg);
	width: 210px;
}

.visual-floating-badge,
.visual-floating-card {
	position: absolute;
	z-index: 3;
}

.visual-floating-badge {
	align-items: center;
	background: #ffffff;
	border: 1px solid var(--iexamhub-border);
	border-radius: var(--iexamhub-radius);
	box-shadow: var(--iexamhub-shadow-soft);
	color: var(--iexamhub-blue);
	display: inline-flex;
	font-size: 13px;
	font-weight: 900;
	height: 46px;
	justify-content: center;
	width: 58px;
}

.visual-floating-pdf {
	left: 16%;
	top: 18%;
	animation: iexamhub-float 5.8s ease-in-out infinite;
}

.visual-floating-search {
	right: 14%;
	top: 12%;
	animation: iexamhub-float 6.4s ease-in-out infinite reverse;
}

.visual-floating-card {
	background: linear-gradient(135deg, #ffffff, #eef6ff);
	border: 1px solid var(--iexamhub-border);
	border-radius: var(--iexamhub-radius);
	box-shadow: var(--iexamhub-shadow-soft);
	height: 40px;
	width: 74px;
}

.visual-floating-card::after {
	background: var(--iexamhub-orange);
	border-radius: 999px;
	content: "";
	height: 6px;
	left: 10px;
	position: absolute;
	top: 14px;
	width: 42px;
}

.visual-floating-card-one {
	bottom: 18%;
	left: 18%;
	animation: iexamhub-float 7s ease-in-out infinite;
}

.visual-floating-card-two {
	bottom: 28%;
	right: 7%;
	transform: scale(0.82);
	animation: iexamhub-float 6.8s ease-in-out infinite reverse;
}

@keyframes iexamhub-float {
	0%,
	100% {
		transform: translate3d(0, 0, 0);
	}

	50% {
		transform: translate3d(0, -10px, 0);
	}
}

.archive-section {
	padding: 16px 0;
}

#grades,
#subjects,
#latest-papers,
#overview,
#saved,
#recent,
#history,
#profile {
	scroll-margin-top: var(--iexamhub-header-offset);
}

body.admin-bar #grades,
body.admin-bar #subjects,
body.admin-bar #latest-papers,
body.admin-bar #overview,
body.admin-bar #saved,
body.admin-bar #recent,
body.admin-bar #history,
body.admin-bar #profile {
	scroll-margin-top: calc(var(--iexamhub-header-offset) + 32px);
}

@media screen and (max-width: 782px) {
	body.admin-bar #grades,
	body.admin-bar #subjects,
	body.admin-bar #latest-papers,
	body.admin-bar #overview,
	body.admin-bar #saved,
	body.admin-bar #recent,
	body.admin-bar #history,
	body.admin-bar #profile {
		scroll-margin-top: calc(var(--iexamhub-header-offset) + 46px);
	}
}

.archive-section-tight {
	margin-top: -6px;
	position: relative;
	z-index: 2;
}

.archive-section-bottom {
	padding-bottom: 36px;
}

.grade-access-section {
	padding: 40px 0 24px;
}

.grade-access-heading {
	margin: 0 auto 26px;
	max-width: 760px;
	text-align: center;
}

.grade-access-heading .section-kicker {
	margin-bottom: 8px;
}

.grade-access-heading h2 {
	color: var(--iexamhub-orange);
	font-size: clamp(28px, 3vw, 36px);
	line-height: 1.12;
	margin: 0;
}

.grade-access-subtitle {
	color: var(--iexamhub-navy);
	font-size: 16px;
	font-weight: 800;
	line-height: 1.45;
	margin: 12px auto 0;
	max-width: 760px;
}

.category-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(auto-fit, minmax(162px, 174px));
	justify-content: center;
	margin-left: auto;
	margin-right: auto;
	max-width: 1124px;
}

.grade-access-section .category-grid {
	gap: 24px;
	grid-template-columns: repeat(5, minmax(0, 180px));
	max-width: 1000px;
	padding-top: 28px;
}

.category-card,
.content-panel,
.paper-card,
.stats-strip,
.dashboard-sidebar,
.dashboard-welcome,
.summary-card,
.saved-paper-card,
.download-row,
.post-card,
.page-article {
	background: var(--iexamhub-surface);
	border: 1px solid var(--iexamhub-border);
	border-radius: var(--iexamhub-radius);
	box-shadow: var(--iexamhub-shadow-soft);
}

.category-card {
	align-items: center;
	display: grid;
	gap: 14px;
	grid-template-columns: 60px minmax(0, 1fr);
	min-height: 116px;
	padding: 16px;
	position: relative;
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
	overflow: hidden;
}

.grade-access-section .category-card {
	align-items: center;
	border-radius: 12px;
	box-shadow: 0 14px 34px rgba(8, 32, 74, 0.05);
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 150px;
	overflow: visible;
	padding: 46px 18px 24px;
	text-align: center;
}

.category-card::before {
	background: color-mix(in srgb, var(--card-accent, var(--iexamhub-blue)) 9%, transparent);
	border-radius: 50%;
	content: "";
	height: 96px;
	position: absolute;
	right: -34px;
	top: -40px;
	width: 96px;
}

.grade-access-section .category-card::before {
	display: none;
}

.category-card:hover,
.category-card:focus,
.subject-card:hover,
.subject-card:focus,
.paper-card:hover,
.paper-card:focus-within {
	border-color: color-mix(in srgb, var(--card-accent, var(--iexamhub-blue)) 45%, #ffffff);
	box-shadow: var(--iexamhub-shadow);
	transform: translateY(-2px);
}

.card-icon,
.subject-icon,
.stat-icon,
.summary-card > span,
.download-icon,
.saved-paper-card > span {
	align-items: center;
	background: color-mix(in srgb, var(--card-accent, var(--iexamhub-blue)) 13%, #ffffff);
	border-radius: var(--iexamhub-radius);
	color: var(--card-accent, var(--iexamhub-blue));
	display: inline-flex;
	font-weight: 900;
	justify-content: center;
}

.card-icon {
	background: var(--card-accent, var(--iexamhub-blue));
	color: #ffffff;
	font-size: 16px;
	height: 60px;
	position: relative;
	width: 60px;
	z-index: 1;
}

.grade-access-section .card-icon {
	background: color-mix(in srgb, var(--card-accent, var(--iexamhub-blue)) 18%, #ffffff);
	border: 1px solid color-mix(in srgb, var(--card-accent, var(--iexamhub-blue)) 24%, #ffffff);
	box-shadow: 0 12px 24px color-mix(in srgb, var(--card-accent, var(--iexamhub-blue)) 16%, transparent);
	color: var(--card-accent, var(--iexamhub-blue));
	font-size: 17px;
	height: 58px;
	left: 50%;
	position: absolute;
	top: -28px;
	transform: translateX(-50%);
	width: 58px;
}

.card-copy {
	display: grid;
	min-width: 0;
	position: relative;
	z-index: 1;
}

.grade-access-section .card-copy {
	justify-items: center;
}

.card-copy strong {
	color: var(--iexamhub-navy);
	font-size: 16px;
	line-height: 1.2;
	overflow-wrap: anywhere;
}

.card-copy small {
	color: var(--iexamhub-muted);
	font-size: 12px;
	margin-top: 3px;
}

.grade-access-section .card-copy strong {
	font-size: 17px;
	line-height: 1.25;
}

.grade-access-section .card-copy small {
	font-size: 14px;
	margin-top: 6px;
}

.card-action {
	align-items: center;
	color: var(--iexamhub-navy);
	display: inline-flex;
	font-size: 12px;
	font-weight: 900;
	gap: 6px;
	margin-top: 8px;
	text-transform: uppercase;
}

.grade-access-section .card-action {
	display: none;
}

.grade-access-footer {
	display: flex;
	justify-content: center;
	margin-top: 22px;
}

.grade-access-footer a {
	align-items: center;
	border: 1px solid var(--iexamhub-border);
	border-radius: 999px;
	color: var(--iexamhub-blue);
	display: inline-flex;
	font-size: 13px;
	font-weight: 900;
	gap: 6px;
	min-height: 38px;
	padding: 0 16px;
	transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.grade-access-footer a:hover,
.grade-access-footer a:focus {
	background: var(--iexamhub-soft-blue);
	border-color: #9ec1ff;
	color: var(--iexamhub-blue-dark);
	transform: translateY(-1px);
}

.card-arrow {
	display: inline-block;
	font-size: 16px;
	line-height: 1;
	transition: transform 180ms ease;
}

.category-card:hover .card-arrow,
.category-card:focus .card-arrow,
.subject-card:hover .subject-action span,
.subject-card:focus .subject-action span,
.quick-access-card:hover .quick-access-link span,
.quick-access-card:focus .quick-access-link span {
	transform: translateX(4px);
}

.content-panel {
	padding: 24px;
}

.content-panel-full {
	width: 100%;
}

.section-heading {
	align-items: center;
	display: flex;
	gap: 20px;
	justify-content: space-between;
	margin-bottom: 18px;
}

.section-heading-wide {
	margin-bottom: 18px;
}

.section-heading-centered {
	justify-content: center;
	text-align: center;
}

.section-heading-centered h2 {
	max-width: 720px;
}

.section-heading h2 {
	color: var(--iexamhub-navy);
	font-size: 22px;
	line-height: 1.2;
	margin: 0;
}

.section-subtitle {
	color: var(--iexamhub-muted);
	font-size: 15px;
	margin: 8px auto 0;
	max-width: 620px;
}

.section-heading a {
	color: var(--iexamhub-blue);
	font-size: 13px;
	font-weight: 900;
	white-space: nowrap;
}

.featured-subjects-section {
	padding-top: 18px;
}

.latest-papers-section {
	padding-top: 14px;
}

.home-popular-papers {
	padding-top: 14px;
}

.latest-papers-section .content-panel {
	border-color: #cfe0f6;
	box-shadow: 0 22px 54px rgba(8, 32, 74, 0.08);
	padding: 24px;
}

.home-popular-papers .content-panel {
	border-color: #d6e4f7;
	box-shadow: 0 18px 44px rgba(8, 32, 74, 0.07);
	padding: 24px;
}

.latest-papers-heading {
	align-items: center;
	margin-bottom: 22px;
}

.latest-papers-heading__title {
	align-items: center;
	display: flex;
	gap: 14px;
	min-width: 0;
}

.latest-papers-heading__icon {
	align-items: center;
	background: linear-gradient(135deg, #eef6ff 0%, #eaf1ff 100%);
	border-radius: 12px;
	color: var(--iexamhub-blue);
	display: inline-flex;
	flex: 0 0 auto;
	height: 48px;
	justify-content: center;
	width: 48px;
}

.latest-papers-heading h2 {
	font-size: clamp(24px, 2.2vw, 30px);
	letter-spacing: 0;
}

.latest-papers-heading .section-subtitle {
	font-size: 15px;
	line-height: 1.45;
	margin: 4px 0 0;
	max-width: none;
}

.popular-papers-heading__icon {
	background: linear-gradient(135deg, #fff7ed 0%, #eef6ff 100%);
	color: var(--iexamhub-orange);
}

.subject-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
}

.subject-grid-featured {
	align-items: stretch;
}

.subject-card {
	align-items: center;
	background: #fbfdff;
	border: 1px solid #edf3fb;
	border-radius: var(--iexamhub-radius);
	color: var(--iexamhub-navy);
	display: flex;
	flex-direction: column;
	font-size: 14px;
	font-weight: 800;
	gap: 11px;
	min-height: 142px;
	justify-content: center;
	min-width: 0;
	padding: 16px 12px;
	text-align: center;
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.subject-title {
	display: block;
	line-height: 1.25;
	max-width: 100%;
	overflow-wrap: anywhere;
}

.subject-icon {
	font-size: 20px;
	height: 62px;
	width: 62px;
}

.subject-action {
	align-items: center;
	color: var(--card-accent, var(--iexamhub-blue));
	display: inline-flex;
	font-size: 11px;
	font-weight: 900;
	gap: 5px;
	line-height: 1;
	text-transform: uppercase;
}

.subject-action span {
	display: inline-block;
	transition: transform 180ms ease;
}

.paper-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.paper-grid-latest {
	align-items: stretch;
	gap: 18px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.paper-grid-popular {
	align-items: stretch;
	gap: 18px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.paper-card {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-height: 318px;
	min-width: 0;
	padding: 18px;
	position: relative;
	transition: border-color 180ms ease, transform 180ms ease;
}

.paper-card__top {
	align-items: center;
	display: flex;
	font-size: 13px;
	font-weight: 900;
	gap: 10px;
	justify-content: space-between;
	line-height: 1.2;
	min-width: 0;
	text-transform: uppercase;
}

.paper-card__pills {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	min-width: 0;
}

.paper-badge {
	background: var(--iexamhub-orange);
	border-radius: 999px;
	color: #ffffff;
	font-size: 10px;
	font-weight: 900;
	left: 14px;
	line-height: 1;
	padding: 6px 8px;
	position: absolute;
	text-transform: uppercase;
	top: 12px;
	z-index: 2;
}

.paper-badge-inline {
	box-shadow: 0 8px 18px rgba(249, 115, 22, 0.20);
	left: auto;
	position: static;
	top: auto;
}

.paper-badge-popular {
	background: var(--iexamhub-blue);
	box-shadow: 0 8px 18px rgba(37, 99, 235, 0.18);
}

.paper-meta {
	align-items: center;
	display: flex;
	font-size: 13px;
	font-weight: 900;
	gap: 8px;
	justify-content: space-between;
	line-height: 1.2;
	margin-bottom: 0;
	min-width: 0;
	text-transform: uppercase;
}

.paper-meta-badge {
	align-items: center;
	background: var(--iexamhub-soft-blue);
	border-radius: 999px;
	color: var(--iexamhub-blue);
	display: inline-flex;
	gap: 6px;
	line-height: 1;
	min-width: 0;
	overflow-wrap: anywhere;
	padding: 7px 9px;
}

.paper-meta-year {
	background: #fff7ed;
	color: var(--iexamhub-orange-dark);
}

.paper-card h3 {
	color: var(--iexamhub-navy);
	font-size: 16px;
	line-height: 1.32;
	margin: 0;
	overflow-wrap: anywhere;
}

.paper-card__divider {
	background: var(--iexamhub-border);
	display: block;
	height: 1px;
	width: 100%;
}

.paper-details {
	display: grid;
	gap: 10px;
	margin: 0;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.paper-details div {
	display: grid;
	gap: 2px;
}

.paper-details dt {
	color: var(--iexamhub-muted);
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
}

.paper-details dd {
	color: var(--iexamhub-text);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.35;
	margin: 0;
	overflow-wrap: anywhere;
}

.paper-type {
	background: var(--iexamhub-soft);
	border-radius: 999px;
	color: var(--iexamhub-muted);
	display: inline-flex;
	font-size: 11px;
	font-weight: 800;
	line-height: 1.25;
	margin: 0;
	max-width: 100%;
	padding: 4px 8px;
	place-self: start;
}

.paper-badge-row {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	min-width: 0;
}

.paper-exam-term {
	background: #f0fdf4;
	border-radius: 999px;
	color: #15803d;
	display: inline-flex;
	font-size: 11px;
	font-weight: 800;
	line-height: 1.25;
	max-width: 100%;
	overflow-wrap: anywhere;
	padding: 4px 8px;
}

.paper-answer-badge {
	border-radius: 999px;
	display: inline-flex;
	font-size: 11px;
	font-weight: 800;
	line-height: 1.25;
	max-width: 100%;
	overflow-wrap: anywhere;
	padding: 4px 8px;
}

.paper-answer-answers_included {
	background: #dcfce7;
	color: #047857;
}

.paper-answer-separate_marking_scheme {
	background: #eef2ff;
	color: #4338ca;
}

.paper-answer-question_only {
	background: #f1f5f9;
	color: #475569;
}

.paper-type-past-paper {
	background: #eff6ff;
	color: #1d4ed8;
}

.paper-type-marking-scheme {
	background: #f3e8ff;
	color: #7e22ce;
}

.paper-type-term-test,
.paper-type-term-paper {
	background: #fff7ed;
	color: #c2410c;
}

.paper-type-provincial-paper {
	background: #ecfeff;
	color: #0e7490;
}

.paper-type-model-paper {
	background: #f1f5f9;
	color: #475569;
}

.paper-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: auto;
	min-width: 0;
}

.paper-actions .button {
	flex: 1 1 118px;
	min-width: 0;
	padding-left: 10px;
	padding-right: 10px;
	text-align: center;
	white-space: normal;
}

.paper-card--latest {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, #ffffff 100%),
		radial-gradient(circle at 88% 0%, rgba(37, 99, 235, 0.08), transparent 34%);
	border: 1px solid #cfe0f6;
	border-radius: 12px;
	box-shadow: 0 14px 32px rgba(8, 32, 74, 0.06);
	gap: 13px;
	min-height: 332px;
	padding: 18px;
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.paper-card--popular {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, #ffffff 100%),
		radial-gradient(circle at 88% 0%, rgba(249, 115, 22, 0.10), transparent 34%);
}

.paper-card--latest:hover,
.paper-card--latest:focus-within {
	border-color: #b8d1f3;
	box-shadow: 0 24px 46px rgba(8, 32, 74, 0.12);
	transform: translateY(-3px);
}

.paper-card--latest h3 {
	font-size: clamp(17px, 1.45vw, 20px);
	line-height: 1.3;
	margin-top: 2px;
}

.paper-card--latest .paper-meta-badge {
	font-size: 12px;
	padding: 7px 10px;
}

.paper-card--latest .paper-meta-exam {
	background: #edf5ff;
	color: var(--iexamhub-blue);
}

.paper-card--latest .paper-meta-year {
	background: #fff3e7;
	color: var(--iexamhub-orange-dark);
	font-size: 15px;
}

.paper-pill-icon {
	align-items: center;
	background: var(--iexamhub-blue);
	border-radius: 999px;
	color: #ffffff;
	display: inline-flex;
	font-size: 9px;
	height: 18px;
	justify-content: center;
	letter-spacing: 0;
	width: 18px;
}

.paper-card--latest .paper-details {
	border-bottom: 1px dashed #d7e4f5;
	gap: 12px 18px;
	padding-bottom: 12px;
}

.paper-card--latest .paper-details div {
	column-gap: 9px;
	grid-template-columns: 24px minmax(0, 1fr);
}

.paper-card--latest .paper-details dt,
.paper-card--latest .paper-details dd {
	grid-column: 2;
}

.paper-card--latest .paper-details dt {
	color: #637390;
	font-size: 10px;
	line-height: 1;
}

.paper-card--latest .paper-details dd {
	color: var(--iexamhub-navy);
	font-size: 13px;
	font-weight: 800;
}

.paper-detail-icon {
	align-items: center;
	border: 1px solid #d5e5ff;
	border-radius: 8px;
	color: var(--iexamhub-blue);
	display: inline-flex;
	font-size: 8px;
	font-weight: 900;
	grid-row: 1 / span 2;
	height: 24px;
	justify-content: center;
	line-height: 1;
	width: 24px;
}

.paper-card--latest .paper-badge-row {
	margin-top: -2px;
}

.paper-card--latest .paper-type,
.paper-card--latest .paper-exam-term {
	font-size: 11px;
	padding: 6px 10px;
}

.paper-download-count {
	background: #fff7ed;
	border-radius: 999px;
	color: var(--iexamhub-orange-dark);
	display: inline-flex;
	font-size: 11px;
	font-weight: 900;
	line-height: 1.25;
	max-width: 100%;
	padding: 6px 10px;
}

.paper-term-1st-term-test {
	background: #dcfce7;
	color: #15803d;
}

.paper-term-2nd-term-test {
	background: #e0f2fe;
	color: #0369a1;
}

.paper-term-3rd-term-test {
	background: #f3e8ff;
	color: #7e22ce;
}

.paper-term-final-term-test {
	background: #fff7ed;
	color: #c2410c;
}

.paper-term-full-year-paper {
	background: #eef2ff;
	color: #4338ca;
}

.paper-term-not-applicable {
	background: #f1f5f9;
	color: #475569;
}

.paper-card--latest .paper-actions {
	display: grid;
	gap: 8px;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) 44px;
	margin-top: auto;
}

.paper-card--latest .paper-actions--no-save {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
}

.paper-card--latest .paper-actions--no-download,
.paper-card--latest .paper-actions--no-save.paper-actions--no-download {
	grid-template-columns: minmax(0, 1fr);
}

.paper-card--latest .paper-actions .button {
	flex: initial;
	font-size: 12px;
	min-height: 40px;
	padding-left: 10px;
	padding-right: 10px;
	white-space: nowrap;
}

.paper-action-icon {
	align-items: center;
	border: 1px solid currentColor;
	border-radius: 999px;
	display: inline-flex;
	font-size: 11px;
	font-weight: 900;
	height: 16px;
	justify-content: center;
	line-height: 1;
	width: 16px;
}

.paper-download-button .paper-action-icon {
	border: 0;
	font-size: 17px;
	height: auto;
	width: auto;
}

.paper-card--latest .ihc-save-button {
	background: #ffffff;
	border-color: #bfd1ea;
	color: #415574;
	min-width: 0;
	padding-left: 0;
	padding-right: 0;
}

.paper-card--latest .ihc-save-button > span:not(.paper-save-icon) {
	position: absolute;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	width: 1px;
	white-space: nowrap;
}

.paper-card--latest .ihc-save-button:hover,
.paper-card--latest .ihc-save-button:focus {
	background: var(--iexamhub-soft-blue);
	border-color: var(--iexamhub-blue);
	color: var(--iexamhub-blue);
}

.paper-card--latest .ihc-save-button.is-saved {
	background: #ecfdf5;
	border-color: #86efac;
	color: #15803d;
}

.paper-save-icon {
	align-items: center;
	display: inline-flex;
	height: 22px;
	justify-content: center;
	line-height: 1;
	width: 18px;
}

.paper-save-icon svg {
	display: block;
	height: 22px;
	width: 18px;
}

.paper-card--latest .ihc-save-button.is-saved .paper-save-icon path {
	fill: currentColor;
	stroke: currentColor;
}

.home-empty-state {
	background: linear-gradient(135deg, #f8fbff 0%, #fff7ed 100%);
	border: 1px dashed #cfe0f6;
	border-radius: 14px;
	color: var(--iexamhub-muted);
	font-size: 15px;
	font-weight: 800;
	padding: 24px;
	text-align: center;
}

.home-empty-state p {
	margin: 0;
}

.home-explore-papers {
	background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.explore-paper-groups {
	display: grid;
	gap: 18px;
}

.explore-paper-group {
	background: #ffffff;
	border: 1px solid var(--iexamhub-border);
	border-radius: 14px;
	box-shadow: 0 16px 38px rgba(8, 32, 74, 0.06);
	padding: 20px;
}

.explore-paper-group__header {
	align-items: center;
	display: flex;
	gap: 12px;
	justify-content: space-between;
	margin-bottom: 14px;
}

.explore-paper-group__header h3 {
	color: var(--iexamhub-navy);
	font-size: 18px;
	line-height: 1.25;
	margin: 0;
}

.explore-paper-grid {
	display: grid;
	gap: 14px;
}

.explore-paper-grid-mediums {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.explore-paper-grid-types {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.explore-paper-card {
	background:
		linear-gradient(180deg, #ffffff 0%, #fbfdff 100%),
		radial-gradient(circle at 100% 0%, rgba(37, 99, 235, 0.08), transparent 42%);
	border: 1px solid #edf3fb;
	border-radius: 12px;
	color: var(--iexamhub-navy);
	display: grid;
	gap: 10px;
	min-height: 164px;
	min-width: 0;
	padding: 16px;
	position: relative;
	transition: border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

.explore-paper-card:hover,
.explore-paper-card:focus {
	border-color: #b8d1f3;
	box-shadow: 0 18px 34px rgba(8, 32, 74, 0.10);
	color: var(--iexamhub-navy);
	transform: translateY(-3px);
}

.explore-paper-card__icon {
	align-items: center;
	background: #eef6ff;
	border-radius: 12px;
	color: var(--card-accent, var(--iexamhub-blue));
	display: inline-flex;
	font-size: 13px;
	font-weight: 900;
	height: 46px;
	justify-content: center;
	letter-spacing: 0;
	width: 46px;
}

.explore-paper-card strong {
	color: var(--iexamhub-navy);
	font-size: 15px;
	line-height: 1.25;
	overflow-wrap: anywhere;
}

.explore-paper-card small {
	color: var(--iexamhub-muted);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.45;
}

.explore-paper-card__link {
	align-items: center;
	color: var(--card-accent, var(--iexamhub-blue));
	display: inline-flex;
	font-size: 12px;
	font-weight: 900;
	gap: 5px;
	line-height: 1;
	margin-top: auto;
	text-transform: uppercase;
}

.explore-paper-card__link span {
	display: inline-block;
	transition: transform 180ms ease;
}

.explore-paper-card:hover .explore-paper-card__link span,
.explore-paper-card:focus .explore-paper-card__link span {
	transform: translateX(3px);
}

.ihc-save-button {
	background: #fff7ed;
	border-color: #fed7aa;
	color: var(--iexamhub-orange-dark);
}

.ihc-save-button:hover,
.ihc-save-button:focus {
	background: #ffedd5;
	border-color: var(--iexamhub-orange);
	color: var(--iexamhub-orange-dark);
}

.ihc-save-button.is-saved {
	background: #ecfdf5;
	border-color: #bbf7d0;
	color: var(--iexamhub-green);
}

.ihc-save-button.is-saved:hover,
.ihc-save-button.is-saved:focus {
	background: #dcfce7;
	border-color: var(--iexamhub-green);
	color: #15803d;
}

.stats-strip {
	display: grid;
	gap: 0;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	overflow: hidden;
	padding: 0;
}

.quick-access-section,
.how-section {
	background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.quick-access-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.quick-access-card,
.how-card {
	background: var(--iexamhub-surface);
	border: 1px solid var(--iexamhub-border);
	border-radius: var(--iexamhub-radius);
	box-shadow: var(--iexamhub-shadow-soft);
}

.quick-access-card {
	display: grid;
	gap: 10px;
	min-height: 192px;
	padding: 18px;
	position: relative;
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
	overflow: hidden;
}

.quick-access-card::after {
	background: color-mix(in srgb, var(--card-accent, var(--iexamhub-blue)) 10%, transparent);
	border-radius: 50%;
	content: "";
	height: 90px;
	position: absolute;
	right: -36px;
	top: -36px;
	width: 90px;
}

.quick-access-card:hover,
.quick-access-card:focus,
.how-card:hover,
.how-card:focus-within {
	border-color: color-mix(in srgb, var(--card-accent, var(--iexamhub-blue)) 38%, #ffffff);
	box-shadow: var(--iexamhub-shadow);
	transform: translateY(-3px);
}

.quick-access-icon,
.how-icon {
	align-items: center;
	border-radius: var(--iexamhub-radius);
	display: inline-flex;
	font-weight: 900;
	justify-content: center;
}

.quick-access-icon {
	background: color-mix(in srgb, var(--card-accent, var(--iexamhub-blue)) 14%, #ffffff);
	color: var(--card-accent, var(--iexamhub-blue));
	height: 54px;
	width: 54px;
}

.quick-access-card strong {
	color: var(--iexamhub-navy);
	font-size: 17px;
	line-height: 1.25;
}

.quick-access-card small {
	color: var(--iexamhub-muted);
	font-size: 13px;
	line-height: 1.45;
}

.quick-access-link {
	align-items: center;
	color: var(--card-accent, var(--iexamhub-blue));
	display: inline-flex;
	font-size: 12px;
	font-weight: 900;
	gap: 6px;
	margin-top: auto;
	text-transform: uppercase;
}

.quick-access-link span {
	display: inline-block;
	transition: transform 180ms ease;
}

.how-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.how-card {
	align-items: start;
	display: grid;
	gap: 16px;
	grid-template-columns: 58px minmax(0, 1fr);
	padding: 20px;
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.how-icon {
	background: linear-gradient(135deg, var(--iexamhub-blue), #6ea8ff);
	color: #ffffff;
	height: 58px;
	width: 58px;
}

.how-card h3 {
	color: var(--iexamhub-navy);
	font-size: 18px;
	line-height: 1.25;
	margin: 0 0 6px;
}

.how-card p {
	color: var(--iexamhub-muted);
	font-size: 14px;
	margin: 0;
}

.reveal-on-scroll {
	opacity: 1;
	transform: none;
}

.js .reveal-on-scroll {
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 520ms ease, transform 520ms ease;
}

.js .reveal-on-scroll.is-visible {
	opacity: 1;
	transform: translateY(0);
}

html.js body.iexamhub-animations-disabled .reveal-on-scroll {
	opacity: 1;
	transform: none;
	transition: none;
}

body.iexamhub-animations-disabled .visual-floating-badge,
body.iexamhub-animations-disabled .visual-floating-card {
	animation: none;
}

.stat-item {
	align-items: center;
	display: grid;
	gap: 16px;
	grid-template-columns: 58px minmax(0, 1fr);
	min-height: 112px;
	padding: 18px 24px;
}

.stat-item + .stat-item {
	border-left: 1px solid var(--iexamhub-border);
}

.stat-icon {
	font-size: 14px;
	height: 58px;
	width: 58px;
}

.stat-item strong {
	color: var(--card-accent, var(--iexamhub-blue));
	display: block;
	font-size: 17px;
	line-height: 1.2;
	margin-bottom: 4px;
}

.stat-item p {
	color: var(--iexamhub-muted);
	font-size: 13px;
	line-height: 1.45;
	margin: 0;
}

.page-main,
.dashboard-main {
	background: linear-gradient(180deg, #f8fbff 0%, #ffffff 320px);
	padding: 44px 0 58px;
}

.page-article {
	margin: 0 auto;
	max-width: 860px;
	padding: 34px;
}

.page-article-wide {
	background: transparent;
	border: 0;
	box-shadow: none;
	max-width: var(--iexamhub-container);
	padding: 0;
}

.page-article-wide .page-header {
	margin-bottom: 24px;
}

.page-header h1,
.dashboard-welcome h1 {
	color: var(--iexamhub-navy);
	font-size: clamp(34px, 4vw, 50px);
	line-height: 1.05;
	margin: 0;
}

.entry-content {
	color: var(--iexamhub-text);
}

.entry-content a {
	color: var(--iexamhub-blue);
	text-decoration: underline;
}

.page-article-legal {
	max-width: 900px;
	padding: 40px;
}

.page-article-legal .page-header {
	border-bottom: 1px solid var(--iexamhub-border);
	margin-bottom: 24px;
	padding-bottom: 20px;
}

.page-article-legal .entry-content {
	color: var(--iexamhub-text);
	font-size: 17px;
	line-height: 1.75;
}

.page-article-legal .entry-content p {
	margin: 0 0 18px;
}

.page-article-legal .entry-content h2 {
	color: var(--iexamhub-navy);
	font-size: 24px;
	line-height: 1.25;
	margin: 28px 0 14px;
}

.page-article-info .entry-content {
	font-size: 17px;
	line-height: 1.75;
}

.page-article-info .entry-content h2,
.entry-content h2 {
	color: var(--iexamhub-navy);
	font-size: 24px;
	line-height: 1.25;
	margin: 28px 0 14px;
}

.page-article-info .entry-content ul,
.page-article-info .entry-content ol,
.page-article-legal .entry-content ul,
.page-article-legal .entry-content ol {
	margin: 0 0 22px 1.2em;
	padding: 0;
}

.page-article-info .entry-content li,
.page-article-legal .entry-content li {
	margin-bottom: 8px;
}

.ihc-legal-notice,
.ihc-legal-contact {
	border-radius: var(--iexamhub-radius);
	margin: 0 0 24px;
	padding: 16px 18px;
}

.ihc-legal-notice {
	background: #fff7ed;
	border: 1px solid #fed7aa;
	color: #9a3412;
	font-size: 15px;
	line-height: 1.6;
}

.ihc-legal-contact {
	background: var(--iexamhub-soft-blue);
	border: 1px solid var(--iexamhub-border);
	color: var(--iexamhub-navy);
}

.ihc-legal-steps {
	background: #fbfdff;
	border: 1px solid var(--iexamhub-border);
	border-radius: var(--iexamhub-radius);
	display: grid;
	gap: 10px;
	margin: 0 0 22px;
	padding: 18px 18px 18px 42px;
}

.ihc-legal-steps li {
	padding-left: 4px;
}

.post-list {
	display: grid;
	gap: 16px;
}

.post-card {
	padding: 24px;
}

.post-card h2 {
	margin: 0 0 8px;
}

.post-meta {
	color: var(--iexamhub-muted);
	font-size: 14px;
	margin: 0 0 10px;
}

.pagination-wrap {
	margin-top: 28px;
}

.empty-state {
	margin: 0 auto;
	max-width: 720px;
}

.ihc-public-main {
	background: linear-gradient(180deg, #f8fbff 0%, #ffffff 420px);
}

.ihc-archive-hero,
.ihc-single-hero {
	padding: 46px 0 24px;
}

.ihc-archive-hero h1,
.ihc-single-hero h1 {
	color: var(--iexamhub-navy);
	font-size: clamp(36px, 5vw, 58px);
	letter-spacing: 0;
	line-height: 1.03;
	margin: 0;
	max-width: 860px;
}

.ihc-archive-hero p,
.ihc-single-hero p {
	color: var(--iexamhub-muted);
	font-size: 17px;
	margin: 14px 0 0;
	max-width: 780px;
}

.ihc-public-section {
	padding: 18px 0 52px;
}

.ihc-paper-search-form {
	align-items: end;
	background: #ffffff;
	border: 1px solid var(--iexamhub-border);
	border-radius: var(--iexamhub-radius);
	box-shadow: var(--iexamhub-shadow-soft);
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
	margin-bottom: 18px;
	padding: 18px;
}

.ihc-paper-search-form > label:first-child {
	grid-column: span 2;
}

.ihc-paper-search-form .ihc-search-actions {
	align-self: end;
}

.ihc-paper-search-form label {
	display: grid;
	gap: 7px;
	min-width: 0;
}

.ihc-paper-search-form label span {
	color: var(--iexamhub-navy);
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
}

.ihc-paper-search-form input,
.ihc-paper-search-form select {
	background: #ffffff;
	border: 1px solid var(--iexamhub-border);
	border-radius: var(--iexamhub-radius);
	color: var(--iexamhub-text);
	min-height: 42px;
	padding: 0 11px;
	width: 100%;
}

.ihc-search-actions {
	display: flex;
	gap: 8px;
}

.ihc-results-bar {
	align-items: center;
	display: flex;
	gap: 14px;
	justify-content: space-between;
	margin: 18px 0;
}

.ihc-results-bar strong {
	color: var(--iexamhub-navy);
	font-size: 18px;
}

.ihc-results-bar span {
	color: var(--iexamhub-muted);
	font-size: 13px;
	font-weight: 700;
}

.ihc-paper-archive-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ihc-term-groups {
	display: grid;
	gap: 28px;
}

.ihc-term-group {
	background: #ffffff;
	border: 1px solid var(--iexamhub-border);
	border-radius: var(--iexamhub-radius);
	box-shadow: var(--iexamhub-shadow-soft);
	padding: 18px;
}

.ihc-term-group__header {
	align-items: center;
	display: flex;
	gap: 12px;
	justify-content: space-between;
	margin-bottom: 16px;
}

.ihc-term-group__header h2 {
	color: var(--iexamhub-navy);
	font-size: 22px;
	line-height: 1.25;
	margin: 0;
}

.ihc-term-group__header span {
	background: var(--iexamhub-soft-blue);
	border-radius: 999px;
	color: var(--iexamhub-blue);
	font-size: 12px;
	font-weight: 900;
	padding: 7px 10px;
	white-space: nowrap;
}

.ihc-empty-state {
	padding: 30px;
	text-align: center;
}

.ihc-empty-state h1,
.ihc-empty-state h2 {
	color: var(--iexamhub-navy);
	margin: 0 0 8px;
}

.ihc-empty-state p {
	color: var(--iexamhub-muted);
	margin: 0 0 18px;
}

.ihc-pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	margin-top: 26px;
}

.ihc-pagination a {
	align-items: center;
	background: #ffffff;
	border: 1px solid var(--iexamhub-border);
	border-radius: var(--iexamhub-radius);
	color: var(--iexamhub-navy);
	display: inline-flex;
	font-weight: 900;
	height: 40px;
	justify-content: center;
	min-width: 40px;
	padding: 0 12px;
}

.ihc-pagination a.is-current,
.ihc-pagination a:hover,
.ihc-pagination a:focus {
	background: var(--iexamhub-blue);
	border-color: var(--iexamhub-blue);
	color: #ffffff;
}

.ihc-single-hero-grid {
	align-items: end;
	display: grid;
	gap: 22px;
	grid-template-columns: minmax(0, 1fr) 280px;
}

.ihc-back-link {
	color: var(--iexamhub-blue);
	display: inline-flex;
	font-size: 13px;
	font-weight: 900;
	margin-bottom: 12px;
}

.ihc-paper-metrics {
	display: grid;
	gap: 12px;
	grid-template-columns: 1fr 1fr;
}

.ihc-paper-metrics div {
	background: #ffffff;
	border: 1px solid var(--iexamhub-border);
	border-radius: var(--iexamhub-radius);
	box-shadow: var(--iexamhub-shadow-soft);
	padding: 18px;
	text-align: center;
}

.ihc-paper-metrics strong {
	color: var(--iexamhub-navy);
	display: block;
	font-size: 28px;
	line-height: 1;
}

.ihc-paper-metrics span {
	color: var(--iexamhub-muted);
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
}

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

.ihc-single-panel,
.ihc-related-panel {
	padding: 22px;
}

.ihc-detail-grid {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-bottom: 18px;
}

.ihc-detail-grid div {
	background: var(--iexamhub-soft);
	border-radius: var(--iexamhub-radius);
	padding: 12px;
}

.ihc-detail-grid span {
	color: var(--iexamhub-muted);
	display: block;
	font-size: 11px;
	font-weight: 900;
	margin-bottom: 4px;
	text-transform: uppercase;
}

.ihc-detail-grid strong {
	color: var(--iexamhub-navy);
	display: block;
	overflow-wrap: anywhere;
}

.ihc-answer-notice {
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	border-radius: var(--iexamhub-radius);
	color: #065f46;
	font-weight: 800;
	margin: 0 0 18px;
	padding: 12px 14px;
}

.ihc-single-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 18px;
}

.ihc-pdf-viewer {
	background: #f0f5fb;
	border: 1px solid var(--iexamhub-border);
	border-radius: var(--iexamhub-radius);
	min-height: 0;
	overflow: hidden;
}

.ihc-empty-state-inline {
	background: var(--iexamhub-soft);
	border-radius: var(--iexamhub-radius);
	box-shadow: none;
}

.ihc-related-panel h2 {
	color: var(--iexamhub-navy);
	font-size: 20px;
	margin: 0 0 14px;
}

.ihc-related-list {
	display: grid;
	gap: 10px;
}

.ihc-related-list a {
	background: var(--iexamhub-soft);
	border: 1px solid transparent;
	border-radius: var(--iexamhub-radius);
	display: grid;
	gap: 4px;
	padding: 12px;
}

.ihc-related-list a:hover,
.ihc-related-list a:focus {
	background: var(--iexamhub-soft-blue);
	border-color: #9ec1ff;
}

.ihc-related-list strong {
	color: var(--iexamhub-navy);
	line-height: 1.3;
}

.ihc-related-list span {
	color: var(--iexamhub-muted);
	font-size: 13px;
}

.site-footer {
	background: #081b3d;
	color: rgba(255, 255, 255, 0.78);
	padding: 36px 0 28px;
}

.footer-inner {
	display: grid;
	gap: 24px;
}

.footer-main {
	align-items: start;
	display: grid;
	gap: 36px;
	grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
}

.footer-brand-column {
	min-width: 0;
}

.footer-brand {
	color: #ffffff;
	font-size: 20px;
	font-weight: 900;
}

.footer-logo {
	display: block;
	height: auto;
	max-height: var(--iexamhub-footer-logo-max-height);
	max-width: min(var(--iexamhub-footer-logo-max-width), 100%);
	object-fit: contain;
	width: auto;
}

.footer-description {
	line-height: 1.65;
	margin: 8px 0 0;
	max-width: 360px;
	overflow-wrap: normal;
}

.footer-nav {
	align-items: center;
	align-content: start;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 18px;
	justify-content: flex-end;
	min-width: 0;
}

.footer-nav a {
	color: rgba(255, 255, 255, 0.82);
	font-weight: 800;
	white-space: nowrap;
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	padding-top: 18px;
}

.footer-copy {
	margin: 0;
	text-align: left;
}

.dashboard-layout {
	display: grid;
	gap: 24px;
	grid-template-columns: 268px minmax(0, 1fr);
}

.dashboard-sidebar {
	align-self: start;
	padding: 18px;
	position: sticky;
	top: 108px;
}

body.admin-bar .dashboard-sidebar {
	top: 140px;
}

.dashboard-user {
	align-items: center;
	border-bottom: 1px solid var(--iexamhub-border);
	display: grid;
	gap: 12px;
	grid-template-columns: 48px 1fr;
	padding-bottom: 16px;
}

.dashboard-user strong {
	color: var(--iexamhub-navy);
	display: block;
	line-height: 1.2;
}

.dashboard-user span span,
.profile-card p,
.dashboard-welcome p {
	color: var(--iexamhub-muted);
}

.dashboard-avatar {
	align-items: center;
	background: linear-gradient(135deg, var(--iexamhub-blue), #6ea8ff);
	border-radius: var(--iexamhub-radius);
	color: #ffffff;
	display: inline-flex;
	font-size: 15px;
	font-weight: 900;
	height: 48px;
	justify-content: center;
	width: 48px;
}

.dashboard-avatar-large {
	height: 64px;
	width: 64px;
}

.dashboard-tabs {
	display: grid;
	gap: 8px;
	margin-top: 16px;
}

.dashboard-tabs a {
	border-radius: var(--iexamhub-radius);
	color: var(--iexamhub-navy);
	font-weight: 800;
	padding: 11px 12px;
	white-space: nowrap;
}

.dashboard-tabs a:hover,
.dashboard-tabs a:focus,
.dashboard-tabs a.is-active {
	background: var(--iexamhub-soft-blue);
	color: var(--iexamhub-blue);
}

.dashboard-content {
	display: grid;
	gap: 18px;
}

.dashboard-welcome {
	background:
		linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(249, 115, 22, 0.08)),
		#ffffff;
	padding: 30px;
}

.dashboard-welcome p {
	margin: 12px 0 0;
	max-width: 680px;
}

.dashboard-summary {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.summary-card {
	align-items: center;
	display: grid;
	gap: 14px;
	grid-template-columns: 54px 1fr;
	padding: 18px;
}

.summary-card > span {
	height: 54px;
	width: 54px;
}

.summary-card strong {
	color: var(--iexamhub-navy);
	display: block;
	font-size: 28px;
	line-height: 1;
}

.summary-card p {
	color: var(--iexamhub-muted);
	font-weight: 800;
	margin: 5px 0 0;
}

.dashboard-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
}

.dashboard-panel {
	box-shadow: var(--iexamhub-shadow-soft);
}

.download-list {
	display: grid;
	gap: 12px;
}

.download-row {
	align-items: center;
	box-shadow: none;
	display: grid;
	gap: 14px;
	grid-template-columns: 48px minmax(0, 1fr) auto;
	min-width: 0;
	padding: 14px;
}

.download-icon,
.saved-paper-card > span {
	color: var(--iexamhub-blue);
	height: 48px;
	width: 48px;
}

.download-row h3,
.saved-paper-card h3 {
	color: var(--iexamhub-navy);
	font-size: 15px;
	line-height: 1.25;
	margin: 0;
	overflow-wrap: anywhere;
}

.download-row p,
.saved-paper-card p {
	color: var(--iexamhub-muted);
	font-size: 13px;
	margin: 4px 0 0;
	overflow-wrap: anywhere;
}

.download-row time {
	color: var(--iexamhub-muted);
	font-size: 12px;
	font-weight: 800;
}

.profile-top {
	align-items: center;
	display: grid;
	gap: 14px;
	grid-template-columns: 64px 1fr;
}

.profile-top h2 {
	color: var(--iexamhub-navy);
	font-size: 20px;
	line-height: 1.2;
	margin: 0 0 4px;
}

.profile-card p {
	font-size: 13px;
	margin: 0;
}

.profile-details {
	display: grid;
	gap: 12px;
	margin: 18px 0 0;
}

.profile-details div {
	align-items: center;
	background: var(--iexamhub-soft);
	border-radius: var(--iexamhub-radius);
	display: flex;
	gap: 10px;
	justify-content: space-between;
	padding: 10px 12px;
}

.profile-details dt {
	color: var(--iexamhub-muted);
	font-weight: 800;
}

.profile-details dd {
	color: var(--iexamhub-navy);
	font-weight: 900;
	margin: 0;
	text-align: right;
	word-break: break-all;
}

.saved-paper-grid,
.recent-paper-grid {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.saved-paper-card {
	align-items: center;
	box-shadow: none;
	display: grid;
	gap: 12px;
	grid-template-columns: 48px minmax(0, 1fr);
	min-width: 0;
	padding: 14px;
}

.saved-paper-card .button {
	grid-column: 1 / -1;
}

.ihc-student-shell {
	margin: 0 auto;
	max-width: var(--iexamhub-container);
	width: 100%;
}

.entry-content .ihc-student-shell a {
	text-decoration: none;
}

.page-article-auth {
	background: transparent;
	border: 0;
	box-shadow: none;
	max-width: var(--iexamhub-container);
	padding: 0;
}

.page-article-auth .page-header {
	display: none;
}

.ihc-auth-page {
	max-width: 980px;
}

.ihc-auth-shell {
	display: flex;
	justify-content: center;
	padding: 4px 0 8px;
}

.ihc-auth-card,
.ihc-student-prompt,
.ihc-auth-notice,
.ihc-logged-in-card,
.ihc-profile-panel,
.ihc-student-list-panel {
	background: #ffffff;
	border: 1px solid var(--iexamhub-border);
	border-radius: var(--iexamhub-radius);
	box-shadow: var(--iexamhub-shadow-soft);
}

.ihc-auth-card {
	display: grid;
	grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
	max-width: 980px;
	overflow: hidden;
	padding: 0;
	width: 100%;
}

.ihc-auth-visual {
	background:
		radial-gradient(circle at 18% 16%, rgba(249, 115, 22, 0.20), transparent 28%),
		linear-gradient(145deg, #eef6ff 0%, #ffffff 54%, #fff7ed 100%);
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 560px;
	overflow: hidden;
	padding: 38px;
	position: relative;
}

.ihc-auth-visual::before,
.ihc-auth-visual::after {
	border-radius: 50%;
	content: "";
	position: absolute;
}

.ihc-auth-visual::before {
	background: rgba(37, 99, 235, 0.10);
	height: 190px;
	right: -76px;
	top: -72px;
	width: 190px;
}

.ihc-auth-visual::after {
	background: rgba(249, 115, 22, 0.14);
	bottom: -62px;
	height: 150px;
	left: -58px;
	width: 150px;
}

.ihc-auth-visual > * {
	position: relative;
	z-index: 1;
}

.ihc-auth-visual-icon,
.ihc-logged-in-icon,
.ihc-auth-notice-icon {
	align-items: center;
	background: linear-gradient(135deg, var(--iexamhub-orange), #ffb15f);
	border: 3px solid #fff3e6;
	border-radius: var(--iexamhub-radius);
	box-shadow: 0 14px 30px rgba(249, 115, 22, 0.22);
	color: #ffffff;
	display: inline-flex;
	font-size: 15px;
	font-weight: 900;
	height: 58px;
	justify-content: center;
	margin-bottom: 20px;
	width: 58px;
}

.ihc-auth-visual h2,
.ihc-auth-form-panel h2,
.ihc-auth-notice h2,
.ihc-logged-in-card h2,
.ihc-student-prompt h2,
.dashboard-welcome h2,
.ihc-profile-panel h2,
.ihc-student-list-panel h2 {
	color: var(--iexamhub-navy);
	font-size: clamp(26px, 3vw, 38px);
	letter-spacing: 0;
	line-height: 1.08;
	margin: 0;
}

.ihc-auth-visual p,
.ihc-auth-form-panel p,
.ihc-auth-notice p,
.ihc-logged-in-card p,
.ihc-student-prompt p,
.ihc-profile-panel p {
	color: var(--iexamhub-muted);
	margin: 12px 0 0;
}

.ihc-auth-benefits {
	display: grid;
	gap: 10px;
	list-style: none;
	margin: 24px 0 0;
	padding: 0;
}

.ihc-auth-benefits li {
	align-items: center;
	background: rgba(255, 255, 255, 0.74);
	border: 1px solid rgba(219, 230, 245, 0.86);
	border-radius: var(--iexamhub-radius);
	color: var(--iexamhub-navy);
	display: flex;
	font-size: 14px;
	font-weight: 800;
	gap: 10px;
	padding: 10px 12px;
}

.ihc-auth-benefits li::before {
	background: #dcfce7;
	border-radius: 999px;
	color: var(--iexamhub-green);
	content: "OK";
	display: inline-flex;
	flex: 0 0 auto;
	font-size: 9px;
	font-weight: 900;
	height: 22px;
	justify-content: center;
	line-height: 22px;
	width: 22px;
}

.ihc-auth-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 26px;
}

.ihc-auth-badges span {
	background: #ffffff;
	border: 1px solid var(--iexamhub-border);
	border-radius: 999px;
	box-shadow: var(--iexamhub-shadow-soft);
	color: var(--iexamhub-blue);
	font-size: 12px;
	font-weight: 900;
	padding: 7px 11px;
	text-transform: uppercase;
}

.ihc-auth-form-panel {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 38px;
}

.ihc-auth-form {
	display: grid;
	gap: 16px;
	margin-top: 22px;
}

.ihc-auth-form label,
.ihc-form-row {
	display: grid;
	gap: 7px;
}

.ihc-auth-form label > span,
.ihc-auth-form .ihc-form-label,
.ihc-password-fieldset h3 {
	color: var(--iexamhub-navy);
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
}

.ihc-auth-form input {
	background: #ffffff;
	border: 1px solid var(--iexamhub-border);
	border-radius: var(--iexamhub-radius);
	color: var(--iexamhub-text);
	min-height: 48px;
	padding: 0 14px;
	transition: border-color 180ms ease, box-shadow 180ms ease;
	width: 100%;
}

.ihc-auth-form input:focus {
	border-color: var(--iexamhub-blue);
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.13);
	outline: 0;
}

.ihc-password-control {
	min-width: 0;
	position: relative;
}

.ihc-auth-form .ihc-password-control input {
	padding-right: 58px;
}

.ihc-password-control input::-ms-clear,
.ihc-password-control input::-ms-reveal {
	display: none;
}

.ihc-password-toggle {
	align-items: center;
	background: var(--iexamhub-soft-blue);
	border: 1px solid transparent;
	border-radius: 6px;
	color: var(--iexamhub-blue-dark);
	cursor: pointer;
	display: inline-flex;
	height: 40px;
	justify-content: center;
	padding: 0;
	position: absolute;
	right: 4px;
	top: 50%;
	transform: translateY(-50%);
	transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
	width: 44px;
	z-index: 1;
}

.ihc-password-toggle:hover,
.ihc-password-toggle:focus-visible,
.ihc-password-toggle[aria-pressed="true"] {
	background: #e0ecff;
	border-color: #b9d0f4;
	color: var(--iexamhub-orange-dark);
}

.ihc-password-toggle:focus-visible {
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.16);
	outline: 0;
}

.ihc-password-icon {
	height: 20px;
	pointer-events: none;
	width: 20px;
}

.ihc-password-icon--hide {
	display: none;
}

.ihc-password-toggle[aria-pressed="true"] .ihc-password-icon--show {
	display: none;
}

.ihc-password-toggle[aria-pressed="true"] .ihc-password-icon--hide {
	display: block;
}

.ihc-auth-form .button {
	min-height: 48px;
	width: 100%;
}

.ihc-auth-options {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: space-between;
}

.ihc-checkbox-field {
	align-items: center;
	display: flex !important;
	gap: 10px;
}

.ihc-checkbox-field input {
	height: 18px;
	min-height: 0;
	width: 18px;
}

.ihc-auth-links,
.ihc-auth-actions,
.ihc-prompt-actions,
.ihc-card-actions,
.ihc-row-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.ihc-auth-links {
	align-items: center;
	background: var(--iexamhub-soft);
	border: 1px solid var(--iexamhub-border);
	border-radius: var(--iexamhub-radius);
	justify-content: space-between;
	margin-top: 20px;
	padding: 12px 14px;
}

.ihc-auth-links span {
	color: var(--iexamhub-muted);
	font-size: 13px;
	font-weight: 800;
}

.ihc-auth-links a,
.ihc-auth-link {
	color: var(--iexamhub-blue);
	font-size: 13px;
	font-weight: 900;
}

.ihc-auth-links a:hover,
.ihc-auth-links a:focus,
.ihc-auth-link:hover,
.ihc-auth-link:focus {
	color: var(--iexamhub-orange);
}

.ihc-form-grid {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ihc-password-fieldset {
	background: var(--iexamhub-soft);
	border: 1px solid var(--iexamhub-border);
	border-radius: var(--iexamhub-radius);
	display: grid;
	gap: 12px;
	margin-top: 6px;
	padding: 16px;
}

.ihc-password-fieldset h3,
.ihc-password-fieldset p {
	margin: 0;
}

.ihc-student-notice {
	border-radius: var(--iexamhub-radius);
	font-size: 14px;
	font-weight: 800;
	margin: 0 0 18px;
	padding: 12px 14px;
}

.ihc-student-notice-success {
	background: #ecfdf5;
	border: 1px solid #bbf7d0;
	color: #166534;
}

.ihc-student-notice-error {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
}

.ihc-auth-notice,
.ihc-logged-in-card {
	margin: 0 auto;
	max-width: 760px;
	overflow: hidden;
	padding: 34px;
	position: relative;
	text-align: center;
}

.ihc-auth-notice::before,
.ihc-logged-in-card::before {
	background: radial-gradient(circle, rgba(37, 99, 235, 0.10), transparent 65%);
	content: "";
	height: 220px;
	position: absolute;
	right: -90px;
	top: -110px;
	width: 220px;
}

.ihc-auth-notice > *,
.ihc-logged-in-card > * {
	position: relative;
	z-index: 1;
}

.ihc-auth-notice-icon,
.ihc-logged-in-icon {
	margin-left: auto;
	margin-right: auto;
}

.ihc-student-prompt {
	margin: 0 auto;
	max-width: 760px;
	padding: 30px;
	text-align: center;
}

.ihc-prompt-actions,
.ihc-auth-actions {
	justify-content: center;
	margin-top: 20px;
}

.ihc-auth-actions .button {
	min-width: 150px;
}

.ihc-dashboard-app {
	max-width: none;
}

.ihc-student-sidebar .dashboard-tabs a:last-child {
	color: var(--iexamhub-red);
}

.ihc-row-actions {
	align-items: center;
	justify-content: flex-end;
	min-width: 160px;
}

.ihc-row-actions time,
.saved-paper-card time {
	color: var(--iexamhub-muted);
	display: block;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.35;
}

.ihc-profile-edit-link {
	margin-top: 18px;
	width: 100%;
}

.ihc-student-empty {
	background: var(--iexamhub-soft);
	border-radius: var(--iexamhub-radius);
	color: var(--iexamhub-muted);
	font-weight: 800;
	margin: 0;
	padding: 18px;
	text-align: center;
}

.ihc-student-card-grid {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.ihc-student-paper-card {
	align-items: start;
	grid-template-columns: 48px minmax(0, 1fr);
}

.ihc-card-actions {
	grid-column: 1 / -1;
}

.ihc-card-actions .button {
	flex: 1 1 130px;
}

.ihc-profile-form {
	margin-top: 24px;
}

@media (max-width: 1100px) {
	.dashboard-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 1160px) {
	.hero-grid {
		gap: 24px;
		grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
		min-height: 360px;
	}

	.hero-content h1 {
		font-size: clamp(38px, 4.8vw, 54px);
	}

	.hero-visual {
		min-height: 300px;
	}

	.category-grid {
		grid-template-columns: repeat(auto-fit, minmax(210px, 230px));
		max-width: 722px;
	}

	.grade-access-section .category-grid {
		grid-template-columns: repeat(auto-fit, minmax(190px, 210px));
		max-width: 690px;
	}

	.paper-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.paper-grid-latest {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.paper-grid-popular {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.explore-paper-grid-types {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.quick-access-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.ihc-paper-search-form {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.ihc-search-actions {
		grid-column: 1 / -1;
	}

	.ihc-paper-archive-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 920px) {
	.header-inner {
		gap: 14px;
		min-height: 68px;
	}

	.menu-toggle {
		display: inline-flex;
		margin-left: 0;
		order: 3;
	}

	.site-branding {
		margin-right: auto;
	}

	.primary-nav {
		background: #ffffff;
		border-bottom: 1px solid var(--iexamhub-border);
		box-shadow: var(--iexamhub-shadow-soft);
		display: block;
		left: 0;
		max-height: 0;
		opacity: 0;
		overflow: hidden;
		padding: 12px 24px 18px;
		pointer-events: none;
		position: absolute;
		right: 0;
		top: 68px;
		transform: translateY(-8px);
		transition: max-height 220ms ease, opacity 180ms ease, transform 180ms ease;
		visibility: hidden;
	}

	.site-header.header-style-compact .primary-nav {
		top: 64px;
	}

	.nav-open .primary-nav {
		max-height: 440px;
		opacity: 1;
		pointer-events: auto;
		transform: translateY(0);
		visibility: visible;
	}

	.primary-menu {
		align-items: stretch;
		display: grid;
		gap: 4px;
		justify-content: stretch;
	}

	.primary-menu a {
		display: flex;
		padding: 13px 10px;
	}

	.primary-menu a::after {
		display: none;
	}

	.header-actions {
		display: flex;
		gap: 8px;
		order: 2;
	}

	.header-icon-button {
		height: 40px;
		width: 40px;
	}

	.header-login {
		min-height: 40px;
		padding: 0 12px;
	}

	.hero-grid {
		grid-template-columns: 1fr;
		min-height: 0;
		padding-top: 22px;
	}

	.hero-content h1 {
		font-size: clamp(38px, 8vw, 58px);
	}

	.hero-visual {
		margin: 0 auto;
		max-width: 620px;
		min-height: 310px;
		width: 100%;
	}

	.latest-papers-section .content-panel {
		padding: 20px;
	}

	.home-popular-papers .content-panel {
		padding: 20px;
	}

	.paper-grid-latest {
		gap: 18px;
	}

	.paper-grid-popular {
		gap: 18px;
	}

	.paper-card--latest {
		padding: 18px;
	}

	.paper-card--latest .paper-actions {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}

	.paper-card--latest .paper-actions--no-download,
	.paper-card--latest .paper-actions--no-save.paper-actions--no-download {
		grid-template-columns: minmax(0, 1fr);
	}

	.paper-card--latest .ihc-save-button {
		grid-column: 1 / -1;
		padding-left: 14px;
		padding-right: 14px;
	}

	.paper-card--latest .ihc-save-button > span:not(.paper-save-icon) {
		clip: auto;
		clip-path: none;
		height: auto;
		overflow: visible;
		position: static;
		white-space: normal;
		width: auto;
	}

	.subject-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.category-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		max-width: 560px;
	}

	.grade-access-section {
		padding-top: 34px;
	}

	.grade-access-section .category-grid {
		gap: 22px 16px;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		max-width: 520px;
	}

	.quick-access-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.explore-paper-grid-mediums,
	.explore-paper-grid-types {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.how-grid {
		grid-template-columns: 1fr;
	}

	.stats-strip {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.stat-item + .stat-item {
		border-left: 0;
	}

	.stat-item:nth-child(even) {
		border-left: 1px solid var(--iexamhub-border);
	}

	.stat-item:nth-child(n+3) {
		border-top: 1px solid var(--iexamhub-border);
	}

	.footer-main {
		grid-template-columns: 1fr;
	}

	.footer-nav {
		justify-content: flex-start;
	}

	.footer-copy {
		text-align: left;
	}

	.dashboard-layout {
		grid-template-columns: 1fr;
	}

	.dashboard-sidebar {
		position: static;
	}

	.dashboard-tabs {
		display: flex;
		flex-wrap: wrap;
		gap: 8px;
	}

	.dashboard-grid {
		grid-template-columns: 1fr;
	}

	.ihc-single-hero-grid,
	.ihc-single-layout {
		grid-template-columns: 1fr;
	}

	.ihc-paper-metrics {
		max-width: 360px;
	}

	.ihc-detail-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ihc-auth-card {
		grid-template-columns: 1fr;
	}

	.ihc-auth-form-panel {
		order: 1;
	}

	.ihc-auth-visual {
		min-height: 0;
		order: 2;
	}
}

@media (max-width: 768px) {
	.hero-section {
		padding: 24px 0 14px;
	}

	.hero-grid {
		gap: 18px;
		padding-top: 0;
	}

	.hero-content .section-kicker {
		font-size: 12px;
		line-height: 1.3;
		margin-bottom: 8px;
	}

	.hero-content h1 {
		font-size: clamp(2.25rem, 9vw, 3rem);
		line-height: 1.04;
		max-width: 100%;
	}

	.hero-copy {
		font-size: 16px;
		line-height: 1.55;
		margin: 14px 0 18px;
		max-width: 100%;
	}

	.hero-search {
		box-shadow: 0 12px 26px rgba(249, 115, 22, 0.12), var(--iexamhub-shadow-soft);
		grid-template-columns: 42px minmax(0, 1fr);
		max-width: none;
	}

	.hero-search input {
		min-height: 50px;
		min-width: 0;
	}

	.hero-search .button {
		border-radius: 0;
		grid-column: 1 / -1;
		min-height: 50px;
		padding: 0 18px;
		width: 100%;
	}

	.hero-ctas {
		display: grid;
		gap: 10px;
		grid-template-columns: 1fr;
		margin-top: 12px;
	}

	.hero-ctas .button {
		min-height: 48px;
		width: 100%;
	}

	.quick-filters {
		flex-wrap: nowrap;
		margin: 14px -24px 0;
		overflow-x: auto;
		padding: 0 24px 8px;
		scroll-padding-left: 24px;
		scroll-snap-type: x proximity;
		-webkit-overflow-scrolling: touch;
	}

	.filter-chip {
		flex: 0 0 auto;
		min-height: 42px;
		scroll-snap-align: start;
		white-space: nowrap;
	}

	.hero-visual {
		aspect-ratio: 16 / 8;
		justify-self: center;
		margin: 2px auto 0;
		max-height: 220px;
		max-width: 430px;
		min-height: 200px;
		overflow: hidden;
	}
}

@media (max-width: 680px) {
	.iexamhub-container {
		padding: 0 16px;
	}

	.content-panel {
		padding: 18px;
	}

	.page-article-legal {
		padding: 24px;
	}

	.page-article-legal .entry-content {
		font-size: 16px;
	}

	.brand-tagline {
		display: none;
	}

	.custom-logo-link,
	.site-branding .custom-logo {
		max-height: min(var(--iexamhub-logo-max-height), 44px);
		max-width: min(var(--iexamhub-logo-max-width), 150px);
	}

	.header-login {
		font-size: 0;
		gap: 0;
		min-width: 40px;
		padding: 0;
		width: 40px;
	}

	.brand-name {
		font-size: 22px;
	}

	.hero-section {
		padding-top: 18px;
	}

	.hero-search {
		grid-template-columns: 40px minmax(0, 1fr);
	}

	.hero-search .button {
		border-radius: 0;
		grid-column: 1 / -1;
		width: 100%;
	}

	.hero-ctas {
		display: grid;
		grid-template-columns: 1fr;
	}

	.hero-ctas .button {
		width: 100%;
	}

	.quick-filters {
		flex-wrap: nowrap;
		margin-left: -16px;
		margin-right: -16px;
		overflow-x: auto;
		padding: 0 16px 6px;
		scroll-padding-left: 16px;
		scroll-snap-type: x proximity;
	}

	.filter-chip {
		flex: 0 0 auto;
		min-height: 42px;
		scroll-snap-align: start;
	}

	.ihc-archive-hero,
	.ihc-single-hero {
		padding: 30px 0 16px;
	}

	.ihc-paper-search-form,
	.ihc-paper-archive-grid,
	.ihc-detail-grid {
		grid-template-columns: 1fr;
	}

	.ihc-paper-search-form > label:first-child {
		grid-column: auto;
	}

	.ihc-term-group {
		padding: 14px;
	}

	.ihc-term-group__header {
		align-items: flex-start;
		display: grid;
	}

	.ihc-search-actions,
	.ihc-results-bar,
	.ihc-single-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.ihc-search-actions .button,
	.ihc-single-actions .button {
		width: 100%;
	}

	.ihc-pdf-viewer {
		height: auto;
		min-height: 0;
	}

	.paper-grid,
	.dashboard-summary,
	.saved-paper-grid,
	.recent-paper-grid {
		grid-template-columns: 1fr;
	}

	.paper-grid-latest {
		grid-template-columns: 1fr;
	}

	.paper-grid-popular {
		grid-template-columns: 1fr;
	}

	.category-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		max-width: 520px;
	}

	.grade-access-heading h2 {
		font-size: 28px;
	}

	.grade-access-subtitle {
		font-size: 14px;
	}

	.grade-access-section .category-card {
		min-height: 138px;
		padding: 42px 14px 20px;
	}

	.grade-access-section .card-icon {
		height: 52px;
		top: -25px;
		width: 52px;
	}

	.subject-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.quick-access-grid,
	.how-grid,
	.explore-paper-grid-mediums,
	.explore-paper-grid-types {
		grid-template-columns: 1fr;
	}

	.explore-paper-group {
		padding: 18px;
	}

	.quick-access-card {
		min-height: 0;
	}

	.paper-details {
		grid-template-columns: 1fr;
	}

	.latest-papers-heading {
		align-items: flex-start;
	}

	.latest-papers-heading__title {
		align-items: flex-start;
	}

	.latest-papers-heading__icon {
		height: 44px;
		width: 44px;
	}

	.latest-papers-heading h2 {
		font-size: 24px;
	}

	.latest-papers-heading .section-subtitle {
		font-size: 15px;
	}

	.paper-card--latest .paper-details {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.paper-actions .button {
		flex-basis: 100%;
		min-height: 44px;
	}

	.paper-card--latest .paper-actions .button {
		min-height: 44px;
	}

	.stats-strip {
		grid-template-columns: 1fr;
	}

	.stat-item,
	.stat-item:nth-child(even),
	.stat-item:nth-child(n+3) {
		border-left: 0;
		border-top: 1px solid var(--iexamhub-border);
	}

	.stat-item:first-child {
		border-top: 0;
	}

	.hero-visual {
		max-height: 210px;
		min-height: 190px;
	}

	.visual-book-stack {
		left: 22%;
		transform: scale(0.72);
		transform-origin: left bottom;
	}

	.visual-cap {
		left: 33%;
		transform: perspective(240px) rotateX(50deg) rotateZ(8deg) scale(0.78);
		transform-origin: left top;
	}

	.visual-globe {
		bottom: 19%;
		height: 88px;
		width: 88px;
	}

	.visual-board {
		right: 0;
		transform: scale(0.78);
		transform-origin: right top;
	}

	.visual-pencil {
		right: 14%;
		transform: scale(0.74) rotate(-2deg);
		transform-origin: right bottom;
	}

	.visual-floating-badge,
	.visual-floating-card {
		transform: scale(0.78);
	}

	.section-heading {
		align-items: flex-start;
		flex-direction: column;
		gap: 8px;
	}

	.section-heading-centered {
		align-items: center;
	}

	.download-row {
		grid-template-columns: 48px minmax(0, 1fr);
	}

	.download-row time {
		grid-column: 2;
	}

	.ihc-auth-form-panel,
	.ihc-auth-visual,
	.ihc-auth-notice,
	.ihc-logged-in-card,
	.ihc-student-prompt,
	.ihc-profile-panel,
	.ihc-student-list-panel {
		padding: 22px;
	}

	.ihc-auth-card {
		padding: 0;
	}

	.ihc-form-grid,
	.ihc-student-card-grid {
		grid-template-columns: 1fr;
	}

	.ihc-auth-links {
		display: grid;
		gap: 10px;
		justify-content: stretch;
	}

	.ihc-row-actions {
		align-items: stretch;
		grid-column: 1 / -1;
		justify-content: flex-start;
		min-width: 0;
	}

	.ihc-row-actions .button,
	.ihc-card-actions .button,
	.ihc-auth-actions .button,
	.ihc-prompt-actions .button {
		width: 100%;
	}

	.footer-nav {
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
	}

	.footer-nav a {
		white-space: normal;
	}
}

@media (max-width: 520px) {
	.hero-section {
		padding-bottom: 10px;
	}

	.hero-grid {
		gap: 0;
	}

	.hero-search input {
		font-size: 15px;
	}

	.hero-visual {
		display: none;
	}

	.category-grid {
		grid-template-columns: 1fr;
		max-width: 360px;
	}

	.grade-access-section .category-grid {
		grid-template-columns: 1fr;
		max-width: 340px;
	}

	.latest-papers-section .content-panel {
		padding: 18px;
	}

	.home-popular-papers .content-panel {
		padding: 18px;
	}

	.latest-papers-heading__title {
		gap: 12px;
	}

	.latest-papers-heading__icon {
		height: 44px;
		width: 44px;
	}

	.paper-card--latest {
		border-radius: 12px;
		min-height: 0;
		padding: 18px;
	}

	.paper-card--latest .paper-card__top {
		align-items: flex-start;
	}

	.paper-card--latest .paper-meta-badge {
		font-size: 12px;
	}

	.paper-card--latest .paper-meta-year {
		font-size: 15px;
	}

	.paper-card--latest .paper-details {
		grid-template-columns: 1fr;
	}

	.paper-card--latest .paper-actions {
		grid-template-columns: 1fr;
	}

	.paper-card--latest .paper-actions .button,
	.paper-card--latest .ihc-save-button {
		grid-column: auto;
		white-space: normal;
		width: 100%;
	}

	.explore-paper-groups {
		gap: 14px;
	}

	.explore-paper-group {
		padding: 16px;
	}

	.explore-paper-card {
		min-height: 0;
		padding: 15px;
	}
}

@media (max-width: 420px) {
	.brand-mark {
		height: 34px;
		width: 34px;
	}

	.custom-logo-link,
	.site-branding .custom-logo {
		max-height: min(var(--iexamhub-logo-max-height), 38px);
		max-width: min(var(--iexamhub-logo-max-width), 120px);
	}

	.brand-name {
		font-size: 18px;
	}

	.header-inner {
		gap: 10px;
	}

	.header-actions {
		gap: 5px;
	}

	.header-icon-button,
	.theme-toggle,
	.menu-toggle,
	.header-login {
		height: 36px;
		min-height: 36px;
		min-width: 36px;
		width: 36px;
	}

	.button-icon {
		height: 17px;
		width: 17px;
	}

	.hero-content h1 {
		font-size: clamp(2.05rem, 10vw, 2.35rem);
	}

	.hero-copy {
		font-size: 15px;
	}

	.paper-card--latest h3 {
		font-size: 18px;
	}

	.category-card {
		grid-template-columns: 54px minmax(0, 1fr);
		min-height: 108px;
		padding: 14px;
	}

	.card-icon {
		height: 54px;
		width: 54px;
	}
}

.theme-toggle {
	align-items: center;
	background: #ffffff;
	border: 1px solid var(--iexamhub-border);
	border-radius: 50%;
	color: var(--iexamhub-navy);
	cursor: pointer;
	display: inline-flex;
	flex: 0 0 auto;
	font-size: 17px;
	font-weight: 900;
	height: 44px;
	justify-content: center;
	line-height: 1;
	padding: 0;
	transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
	width: 44px;
}

.theme-toggle:hover,
.theme-toggle:focus {
	border-color: var(--iexamhub-blue);
	box-shadow: 0 8px 18px rgba(37, 99, 235, 0.12);
	color: var(--iexamhub-blue);
	transform: translateY(-1px);
}

.theme-toggle__icon {
	line-height: 1;
}

.theme-toggle__icon--light {
	display: none;
}

/* Light mode visual polish. Keep these rules scoped so dark mode remains isolated. */
html[data-theme="light"] {
	--iexamhub-text: #10213f;
	--iexamhub-muted: #60708b;
	--iexamhub-border: #d5e3f5;
	--iexamhub-surface: #ffffff;
	--iexamhub-soft: #f5f8fe;
	--iexamhub-soft-blue: #edf5ff;
	--iexamhub-shadow: 0 18px 44px rgba(29, 78, 140, 0.11);
	--iexamhub-shadow-soft: 0 10px 28px rgba(29, 78, 140, 0.08);
	color-scheme: light;
}

html[data-theme="light"] body {
	background:
		radial-gradient(circle at 8% 6%, rgba(249, 115, 22, 0.055), transparent 26rem),
		radial-gradient(circle at 92% 9%, rgba(37, 99, 235, 0.075), transparent 30rem),
		#f4f7fd;
}

html[data-theme="light"] .site-header {
	background: rgba(255, 255, 255, 0.92);
	border-bottom-color: rgba(190, 209, 235, 0.82);
	backdrop-filter: blur(14px);
}

html[data-theme="light"] .site-header.is-sticky-enabled {
	background: rgba(255, 255, 255, 0.96);
}

html[data-theme="light"] .site-header.has-header-shadow {
	box-shadow: 0 1px 0 rgba(29, 78, 140, 0.07), 0 12px 30px rgba(29, 78, 140, 0.065);
}

html[data-theme="light"] .hero-section {
	background:
		radial-gradient(circle at 83% 18%, rgba(37, 99, 235, 0.16), transparent 31%),
		radial-gradient(circle at 11% 27%, rgba(249, 115, 22, 0.11), transparent 27%),
		linear-gradient(118deg, #fff9f3 0%, #f7faff 42%, #eaf3ff 100%);
	border-bottom: 1px solid rgba(199, 218, 242, 0.68);
}

html[data-theme="light"] .hero-search {
	border-color: #f7a261;
	box-shadow: 0 18px 42px rgba(249, 115, 22, 0.13), 0 10px 26px rgba(29, 78, 140, 0.08);
}

html[data-theme="light"] .filter-chip {
	background: rgba(255, 255, 255, 0.9);
	border-color: #cbdcf3;
	box-shadow: 0 5px 14px rgba(29, 78, 140, 0.055);
}

html[data-theme="light"] .button-primary {
	background: linear-gradient(135deg, #f97316, #f05a0b);
	border-color: #ed5b0c;
	box-shadow: 0 9px 20px rgba(249, 115, 22, 0.2);
}

html[data-theme="light"] .button-primary:hover,
html[data-theme="light"] .button-primary:focus {
	background: linear-gradient(135deg, #ea580c, #d94808);
	box-shadow: 0 12px 24px rgba(234, 88, 12, 0.24);
}

html[data-theme="light"] .button-outline {
	background: rgba(255, 255, 255, 0.86);
	border-color: #a9c7f1;
}

html[data-theme="light"] .grade-access-section {
	background:
		radial-gradient(circle at 8% 18%, rgba(37, 99, 235, 0.055), transparent 20rem),
		linear-gradient(180deg, #eef5ff 0%, #f7faff 100%);
	border-bottom: 1px solid rgba(207, 224, 246, 0.7);
	border-top: 1px solid rgba(207, 224, 246, 0.7);
}

html[data-theme="light"] .quick-access-section {
	background:
		radial-gradient(circle at 92% 12%, rgba(8, 145, 178, 0.07), transparent 21rem),
		linear-gradient(180deg, #f8fbff 0%, #edf5ff 100%);
}

html[data-theme="light"] .featured-subjects-section .content-panel {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.98), #fbfdff),
		radial-gradient(circle at 96% 0%, rgba(37, 99, 235, 0.08), transparent 25%);
	border-color: #cbdff7;
	box-shadow: 0 18px 44px rgba(29, 78, 140, 0.085);
}

html[data-theme="light"] .latest-papers-section .content-panel {
	background: linear-gradient(145deg, #fafdff 0%, #ffffff 54%, #f2f7ff 100%);
	border-color: #c7dbf4;
}

html[data-theme="light"] .home-popular-papers .content-panel {
	background:
		radial-gradient(circle at 95% 5%, rgba(249, 115, 22, 0.075), transparent 24rem),
		linear-gradient(145deg, #fffaf5 0%, #ffffff 48%, #eff6ff 100%);
	border-color: #d3e1f5;
}

html[data-theme="light"] .home-explore-papers {
	background:
		radial-gradient(circle at 10% 10%, rgba(249, 115, 22, 0.065), transparent 24rem),
		linear-gradient(180deg, #fffaf5 0%, #f2f7ff 100%);
	border-bottom: 1px solid rgba(209, 225, 245, 0.72);
	border-top: 1px solid rgba(209, 225, 245, 0.72);
}

html[data-theme="light"] .how-section {
	background:
		radial-gradient(circle at 88% 20%, rgba(37, 99, 235, 0.065), transparent 22rem),
		linear-gradient(180deg, #f7faff 0%, #edf5ff 100%);
}

html[data-theme="light"] .category-card,
html[data-theme="light"] .quick-access-card,
html[data-theme="light"] .subject-card,
html[data-theme="light"] .how-card,
html[data-theme="light"] .explore-paper-card,
html[data-theme="light"] .summary-card,
html[data-theme="light"] .saved-paper-card,
html[data-theme="light"] .download-row,
html[data-theme="light"] .post-card {
	background:
		radial-gradient(circle at 92% 0%, rgba(37, 99, 235, 0.08), transparent 34%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.99), #ffffff);
	border-color: #cedff5;
	box-shadow: 0 12px 30px rgba(29, 78, 140, 0.075);
}

html[data-theme="light"] .category-card:hover,
html[data-theme="light"] .category-card:focus,
html[data-theme="light"] .quick-access-card:hover,
html[data-theme="light"] .quick-access-card:focus,
html[data-theme="light"] .subject-card:hover,
html[data-theme="light"] .subject-card:focus,
html[data-theme="light"] .how-card:hover,
html[data-theme="light"] .how-card:focus-within,
html[data-theme="light"] .explore-paper-card:hover,
html[data-theme="light"] .explore-paper-card:focus {
	box-shadow: 0 20px 40px rgba(29, 78, 140, 0.13);
}

html[data-theme="light"] .paper-card,
html[data-theme="light"] .paper-card--latest,
html[data-theme="light"] .paper-card--popular {
	background:
		radial-gradient(circle at 90% 0%, rgba(37, 99, 235, 0.09), transparent 36%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.99), #ffffff);
	border-color: #c6daf4;
	box-shadow: 0 14px 34px rgba(29, 78, 140, 0.085);
}

html[data-theme="light"] .paper-card--popular {
	background:
		radial-gradient(circle at 90% 0%, rgba(249, 115, 22, 0.1), transparent 36%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.99), #ffffff);
}

html[data-theme="light"] .paper-card:hover,
html[data-theme="light"] .paper-card:focus-within {
	border-color: #a9c8ef;
	box-shadow: 0 22px 46px rgba(29, 78, 140, 0.14);
}

html[data-theme="light"] .stats-strip {
	background: rgba(255, 255, 255, 0.96);
	border-color: #cbdff6;
	box-shadow: 0 16px 38px rgba(29, 78, 140, 0.09);
}

html[data-theme="light"] .stat-item {
	background: linear-gradient(145deg, #ffffff, #f8fbff);
}

html[data-theme="light"] .page-main,
html[data-theme="light"] .dashboard-main {
	background:
		radial-gradient(circle at 8% 2%, rgba(249, 115, 22, 0.055), transparent 25rem),
		radial-gradient(circle at 92% 4%, rgba(37, 99, 235, 0.075), transparent 28rem),
		linear-gradient(180deg, #edf4ff 0%, #f6f9fe 340px, #f4f7fd 100%);
}

html[data-theme="light"] .ihc-public-main {
	background:
		radial-gradient(circle at 90% 4%, rgba(37, 99, 235, 0.09), transparent 28rem),
		radial-gradient(circle at 8% 8%, rgba(249, 115, 22, 0.055), transparent 24rem),
		linear-gradient(180deg, #edf4ff 0%, #f7f9fe 430px, #f4f7fd 100%);
}

html[data-theme="light"] .ihc-paper-search-form,
html[data-theme="light"] .ihc-term-group,
html[data-theme="light"] .ihc-single-panel,
html[data-theme="light"] .ihc-related-panel,
html[data-theme="light"] .ihc-paper-metrics div,
html[data-theme="light"] .page-article,
html[data-theme="light"] .dashboard-sidebar,
html[data-theme="light"] .dashboard-welcome,
html[data-theme="light"] .ihc-profile-panel,
html[data-theme="light"] .ihc-student-list-panel {
	background: rgba(255, 255, 255, 0.97);
	border-color: #cbdff5;
	box-shadow: 0 16px 38px rgba(29, 78, 140, 0.085);
}

html[data-theme="light"] .ihc-paper-search-form input,
html[data-theme="light"] .ihc-paper-search-form select,
html[data-theme="light"] .ihc-auth-form input,
html[data-theme="light"] .ihc-profile-form input,
html[data-theme="light"] input,
html[data-theme="light"] select,
html[data-theme="light"] textarea {
	background: #ffffff;
	border-color: #bfd3ee;
}

html[data-theme="light"] input:focus,
html[data-theme="light"] select:focus,
html[data-theme="light"] textarea:focus {
	border-color: #72a3e8;
	box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.11);
	outline: 0;
}

html[data-theme="light"] .ihc-auth-card,
html[data-theme="light"] .ihc-auth-notice,
html[data-theme="light"] .ihc-logged-in-card,
html[data-theme="light"] .ihc-student-prompt {
	border-color: #c7dbf4;
	box-shadow: 0 24px 58px rgba(29, 78, 140, 0.13);
}

html[data-theme="light"] .ihc-auth-visual {
	background:
		radial-gradient(circle at 16% 14%, rgba(249, 115, 22, 0.18), transparent 30%),
		radial-gradient(circle at 88% 12%, rgba(37, 99, 235, 0.13), transparent 30%),
		linear-gradient(145deg, #eaf3ff 0%, #f9fbff 52%, #fff3e8 100%);
}

html[data-theme="light"] .ihc-auth-form-panel {
	background: linear-gradient(180deg, #ffffff, #fbfdff);
}

html[data-theme="light"] .page-article-legal,
html[data-theme="light"] .page-article-info {
	background:
		radial-gradient(circle at 100% 0%, rgba(37, 99, 235, 0.08), transparent 30%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.99), #ffffff);
}

html[data-theme="light"] .ihc-legal-notice {
	background: linear-gradient(135deg, #fff4e7, #fffaf5);
	border-color: #f7c895;
}

html[data-theme="light"] .ihc-legal-contact,
html[data-theme="light"] .ihc-legal-steps {
	background: linear-gradient(135deg, #edf5ff, #f9fbff);
	border-color: #c8dcf5;
}

html[data-theme="light"] .site-footer {
	border-top: 4px solid transparent;
	background:
		linear-gradient(#081b3d, #081b3d) padding-box,
		linear-gradient(90deg, #2b6ee8, #f97316, #2b6ee8) border-box;
}

html[data-theme="dark"] {
	--iexamhub-navy: #f3f7ff;
	--iexamhub-blue: #66a3ff;
	--iexamhub-blue-dark: #9cc4ff;
	--iexamhub-orange: #ff8a3d;
	--iexamhub-orange-dark: #ffb07a;
	--iexamhub-green: #4ade80;
	--iexamhub-cyan: #38bdf8;
	--iexamhub-purple: #c4b5fd;
	--iexamhub-red: #f87171;
	--iexamhub-text: #dce8ff;
	--iexamhub-muted: #a4b3ce;
	--iexamhub-border: #263957;
	--iexamhub-surface: #101b2f;
	--iexamhub-soft: #0b1628;
	--iexamhub-soft-blue: #122947;
	--iexamhub-shadow: 0 18px 44px rgba(0, 0, 0, 0.38);
	--iexamhub-shadow-soft: 0 10px 26px rgba(0, 0, 0, 0.26);
	color-scheme: dark;
}

html[data-theme="dark"] body {
	background: #071222;
	color: var(--iexamhub-text);
}

html[data-theme="dark"] .theme-toggle {
	background: #13223a;
	border-color: #30466d;
	color: #fbbf24;
}

html[data-theme="dark"] .theme-toggle__icon--light {
	display: inline;
}

html[data-theme="dark"] .theme-toggle__icon--dark {
	display: none;
}

html[data-theme="dark"] .site-header {
	background: rgba(8, 18, 34, 0.94);
	border-bottom-color: rgba(79, 108, 151, 0.42);
}

html[data-theme="dark"] .site-header.is-sticky-enabled {
	background: rgba(8, 18, 34, 0.96);
}

html[data-theme="dark"] .site-header.has-header-shadow {
	box-shadow: 0 1px 0 rgba(148, 163, 184, 0.10), 0 16px 34px rgba(0, 0, 0, 0.30);
}

html[data-theme="dark"] .primary-nav {
	background: var(--iexamhub-surface);
}

html[data-theme="dark"] .header-icon-button,
html[data-theme="dark"] .menu-toggle,
html[data-theme="dark"] .button-outline {
	background: #101d32;
	border-color: #30466d;
	color: #dce8ff;
}

html[data-theme="dark"] .header-icon-button:hover,
html[data-theme="dark"] .header-icon-button:focus,
html[data-theme="dark"] .menu-toggle:hover,
html[data-theme="dark"] .menu-toggle:focus,
html[data-theme="dark"] .button-outline:hover,
html[data-theme="dark"] .button-outline:focus {
	background: #142a49;
	border-color: var(--iexamhub-blue);
	color: #ffffff;
}

html[data-theme="dark"] .hero-section,
html[data-theme="dark"] .page-main,
html[data-theme="dark"] .dashboard-main,
html[data-theme="dark"] .ihc-public-main,
html[data-theme="dark"] .quick-access-section,
html[data-theme="dark"] .how-section,
html[data-theme="dark"] .home-explore-papers {
	background:
		radial-gradient(circle at 80% 14%, rgba(37, 99, 235, 0.22), transparent 32%),
		radial-gradient(circle at 16% 18%, rgba(249, 115, 22, 0.16), transparent 28%),
		linear-gradient(180deg, #071222 0%, #0a1628 58%, #071222 100%);
}

html[data-theme="dark"] .hero-search,
html[data-theme="dark"] .ihc-paper-search-form,
html[data-theme="dark"] .ihc-auth-form input,
html[data-theme="dark"] .ihc-profile-form input,
html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea {
	background: #0d1a2e;
	border-color: #30466d;
	color: var(--iexamhub-text);
}

html[data-theme="dark"] .ihc-password-toggle {
	background: #132c4d;
	border-color: #355a8f;
	color: #8fbdff;
}

html[data-theme="dark"] .ihc-password-toggle:hover,
html[data-theme="dark"] .ihc-password-toggle:focus-visible,
html[data-theme="dark"] .ihc-password-toggle[aria-pressed="true"] {
	background: #1b3b65;
	border-color: #4a76ad;
	color: #ffb07a;
}

html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder {
	color: #7f90ad;
}

html[data-theme="dark"] .hero-search {
	box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] .filter-chip,
html[data-theme="dark"] .category-card,
html[data-theme="dark"] .content-panel,
html[data-theme="dark"] .subject-card,
html[data-theme="dark"] .quick-access-card,
html[data-theme="dark"] .how-card,
html[data-theme="dark"] .stats-strip,
html[data-theme="dark"] .stat-item,
html[data-theme="dark"] .page-article,
html[data-theme="dark"] .dashboard-sidebar,
html[data-theme="dark"] .dashboard-welcome,
html[data-theme="dark"] .summary-card,
html[data-theme="dark"] .saved-paper-card,
html[data-theme="dark"] .download-row,
html[data-theme="dark"] .post-card,
html[data-theme="dark"] .ihc-term-group,
html[data-theme="dark"] .ihc-single-panel,
html[data-theme="dark"] .ihc-paper-metrics,
html[data-theme="dark"] .ihc-auth-card,
html[data-theme="dark"] .ihc-auth-form-panel,
html[data-theme="dark"] .ihc-student-prompt,
html[data-theme="dark"] .ihc-auth-notice,
html[data-theme="dark"] .ihc-logged-in-card,
html[data-theme="dark"] .ihc-profile-panel,
html[data-theme="dark"] .ihc-student-list-panel,
html[data-theme="dark"] .explore-paper-group,
html[data-theme="dark"] .explore-paper-card {
	background: var(--iexamhub-surface);
	border-color: var(--iexamhub-border);
	box-shadow: var(--iexamhub-shadow-soft);
	color: var(--iexamhub-text);
}

html[data-theme="dark"] .paper-card,
html[data-theme="dark"] .paper-card--latest,
html[data-theme="dark"] .paper-card--popular {
	background:
		linear-gradient(180deg, rgba(16, 27, 47, 0.98) 0%, #0e192b 100%),
		radial-gradient(circle at 88% 0%, rgba(102, 163, 255, 0.14), transparent 34%);
	border-color: #30466d;
	box-shadow: var(--iexamhub-shadow-soft);
	color: var(--iexamhub-text);
}

html[data-theme="dark"] .ihc-paper-metrics {
	background: transparent;
	box-shadow: none;
	color: var(--iexamhub-text);
}

html[data-theme="dark"] .ihc-paper-metrics div {
	background:
		linear-gradient(180deg, rgba(19, 40, 68, 0.98), rgba(14, 27, 48, 0.98)),
		radial-gradient(circle at 85% 0%, rgba(255, 138, 61, 0.14), transparent 36%);
	border-color: #33527d;
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

html[data-theme="dark"] .ihc-paper-metrics strong {
	color: #ffb07a;
}

html[data-theme="dark"] .ihc-paper-metrics span {
	color: #b8cced;
}

html[data-theme="dark"] .paper-card--popular {
	background:
		linear-gradient(180deg, rgba(16, 27, 47, 0.98) 0%, #0e192b 100%),
		radial-gradient(circle at 88% 0%, rgba(255, 138, 61, 0.16), transparent 34%);
}

html[data-theme="dark"] .page-article-legal .page-header,
html[data-theme="dark"] .footer-bottom {
	background: transparent;
	border-color: var(--iexamhub-border);
}

html[data-theme="dark"] .paper-card__divider {
	background: var(--iexamhub-border);
}

html[data-theme="dark"] .paper-card--latest .paper-details {
	border-bottom-color: #30466d;
}

html[data-theme="dark"] .paper-meta-badge,
html[data-theme="dark"] .paper-card--latest .paper-meta-exam,
html[data-theme="dark"] .paper-type-past-paper,
html[data-theme="dark"] .paper-download-count {
	background: #132c4d;
	color: #8fbdff;
}

html[data-theme="dark"] .paper-meta-year {
	background: #3a2315;
	color: #ffb07a;
}

html[data-theme="dark"] .paper-type-marking-scheme,
html[data-theme="dark"] .paper-term-3rd-term-test {
	background: #2b2146;
	color: #d8c6ff;
}

html[data-theme="dark"] .paper-type-term-test,
html[data-theme="dark"] .paper-type-term-paper,
html[data-theme="dark"] .paper-term-final-term-test {
	background: #3a2315;
	color: #ffb07a;
}

html[data-theme="dark"] .paper-type-provincial-paper,
html[data-theme="dark"] .paper-term-2nd-term-test {
	background: #12323b;
	color: #67e8f9;
}

html[data-theme="dark"] .paper-type-model-paper,
html[data-theme="dark"] .paper-term-not-applicable {
	background: #1c2a3e;
	color: #cbd5e1;
}

html[data-theme="dark"] .paper-exam-term,
html[data-theme="dark"] .paper-term-1st-term-test {
	background: #123321;
	color: #86efac;
}

html[data-theme="dark"] .paper-answer-answers_included,
html[data-theme="dark"] .ihc-answer-notice {
	background: #123321;
	border-color: #1f5c3b;
	color: #86efac;
}

html[data-theme="dark"] .paper-answer-separate_marking_scheme {
	background: #132c4d;
	color: #8fbdff;
}

html[data-theme="dark"] .paper-answer-question_only {
	background: #1c2a3e;
	color: #cbd5e1;
}

html[data-theme="dark"] .paper-detail-icon,
html[data-theme="dark"] .latest-papers-heading__icon,
html[data-theme="dark"] .explore-paper-card__icon {
	background: #132c4d;
	border-color: #355a8f;
	color: #8fbdff;
}

html[data-theme="dark"] .paper-card--latest .ihc-save-button {
	background: #0d1a2e;
	border-color: #3a4f70;
	color: #cbd5e1;
}

html[data-theme="dark"] .paper-card--latest .ihc-save-button:hover,
html[data-theme="dark"] .paper-card--latest .ihc-save-button:focus {
	background: #132c4d;
	color: #ffffff;
}

html[data-theme="dark"] .paper-card--latest .ihc-save-button.is-saved {
	background: #123321;
	border-color: #27834d;
	color: #86efac;
}

html[data-theme="dark"] .visual-board,
html[data-theme="dark"] .visual-floating-badge,
html[data-theme="dark"] .visual-floating-card,
html[data-theme="dark"] .ihc-auth-badges span,
html[data-theme="dark"] .ihc-auth-benefits li {
	background: #101d32;
	border-color: #30466d;
	color: var(--iexamhub-text);
}

html[data-theme="dark"] .ihc-auth-visual {
	background:
		radial-gradient(circle at 18% 16%, rgba(249, 115, 22, 0.20), transparent 28%),
		linear-gradient(145deg, #10213a 0%, #0e192b 54%, #261a12 100%);
}

html[data-theme="dark"] .ihc-auth-links,
html[data-theme="dark"] .ihc-password-fieldset,
html[data-theme="dark"] .ihc-student-empty,
html[data-theme="dark"] .home-empty-state {
	background: var(--iexamhub-soft);
	border-color: var(--iexamhub-border);
	color: var(--iexamhub-muted);
}

html[data-theme="dark"] .ihc-student-notice-success {
	background: #123321;
	border-color: #27834d;
	color: #bbf7d0;
}

html[data-theme="dark"] .ihc-student-notice-error {
	background: #3a1717;
	border-color: #7f1d1d;
	color: #fecaca;
}

html[data-theme="dark"] .ihc-legal-notice {
	background: #3a2315;
	border-color: #7c3f17;
	color: #fed7aa;
}

html[data-theme="dark"] .ihc-legal-contact,
html[data-theme="dark"] .ihc-legal-steps {
	background: #132c4d;
	border-color: #355a8f;
	color: var(--iexamhub-text);
}

html[data-theme="dark"] .entry-content,
html[data-theme="dark"] .entry-content p,
html[data-theme="dark"] .entry-content li,
html[data-theme="dark"] .page-article-legal .entry-content {
	color: var(--iexamhub-text);
}

html[data-theme="dark"] .entry-content h2,
html[data-theme="dark"] .entry-content h3,
html[data-theme="dark"] .entry-content h4 {
	color: var(--iexamhub-navy);
}

html[data-theme="dark"] .site-footer {
	background: #050d1a;
	border-top: 1px solid rgba(148, 163, 184, 0.14);
}

html[data-theme="dark"] .footer-nav a,
html[data-theme="dark"] .footer-copy,
html[data-theme="dark"] .footer-description {
	color: rgba(220, 232, 255, 0.78);
}

html[data-theme="dark"] .footer-brand {
	color: #ffffff;
}

html[data-theme="dark"] .grade-access-section .card-icon {
	background: color-mix(in srgb, var(--card-accent, var(--iexamhub-blue)) 28%, #13223a);
	border-color: color-mix(in srgb, var(--card-accent, var(--iexamhub-blue)) 38%, #30466d);
	color: #ffffff;
}

html[data-theme="dark"] .grade-access-footer a {
	background: #101d32;
	border-color: #30466d;
	color: #dce8ff;
}

html[data-theme="dark"] .grade-access-footer a:hover,
html[data-theme="dark"] .grade-access-footer a:focus {
	background: #132c4d;
	border-color: var(--iexamhub-blue);
	color: #ffffff;
}

@media (max-width: 920px) {
	.theme-toggle {
		font-size: 16px;
		height: 40px;
		width: 40px;
	}
}

@media (max-width: 420px) {
	.header-icon-button,
	.theme-toggle,
	.menu-toggle,
	.header-login {
		height: 36px;
		min-height: 36px;
		min-width: 36px;
		width: 36px;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}

	.js .reveal-on-scroll {
		opacity: 1;
		transform: none;
	}
}
