/* =============================================================
   IQ DIDACTIC — Theme Stylesheet
   Mobile-first. Zero horizontal overflow. No frameworks.
   ============================================================= */

/* ---------- 1. Reset & root tokens ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; tab-size: 4; }
body {
	margin: 0;
	min-height: 100vh;
	overflow-x: hidden;
	font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	color: var(--iqd-text);
	background: var(--iqd-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
img, video, svg { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; }
a { color: var(--iqd-primary); text-decoration: none; transition: color 180ms ease; }
a:hover { color: var(--iqd-primary-hover); }
h1, h2, h3, h4, h5, h6 { margin: 0 0 0.5em; line-height: 1.2; letter-spacing: -0.02em; font-weight: 700; color: var(--iqd-text); }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
input, textarea, select, button { font-family: inherit; font-size: inherit; }

:root {
	--iqd-bg: #fafaf9;
	--iqd-surface: #ffffff;
	--iqd-surface-alt: #f5f5f4;
	--iqd-border: #e7e5e4;
	--iqd-border-strong: #d6d3d1;
	--iqd-text: #0f172a;
	--iqd-text-soft: #57534e;
	--iqd-text-muted: #78716c;
	--iqd-primary: #4f46e5;
	--iqd-primary-hover: #4338ca;
	--iqd-primary-soft: #eef2ff;
	--iqd-accent: #f59e0b;
	--iqd-success: #10b981;
	--iqd-danger: #ef4444;

	--iqd-radius: 14px;
	--iqd-radius-sm: 8px;
	--iqd-radius-lg: 22px;
	--iqd-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
	--iqd-shadow:    0 4px 24px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
	--iqd-shadow-lg: 0 24px 64px rgba(15, 23, 42, 0.10), 0 4px 12px rgba(15, 23, 42, 0.06);

	--iqd-container: 1240px;
	--iqd-header-h: 70px;
}

/* ---------- 2. Layout helpers ---------- */
.iqd-container {
	width: 100%;
	max-width: var(--iqd-container);
	margin-left: auto;
	margin-right: auto;
	padding-left: 20px;
	padding-right: 20px;
}
@media (min-width: 768px) {
	.iqd-container { padding-left: 32px; padding-right: 32px; }
}

.iqd-skip {
	position: absolute;
	left: -9999px;
	background: var(--iqd-primary);
	color: #fff;
	padding: 12px 18px;
	border-radius: var(--iqd-radius-sm);
	z-index: 999;
}
.iqd-skip:focus { left: 12px; top: 12px; color: #fff; }

.iqd-hide-mobile { display: none !important; }
@media (min-width: 880px) { .iqd-hide-mobile { display: inline-flex !important; } }

/* ---------- 3. Buttons ---------- */
.iqd-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 20px;
	border: 0;
	border-radius: 999px;
	background: var(--iqd-primary);
	color: #fff;
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
	transition: all 180ms ease;
	white-space: nowrap;
}
.iqd-btn:hover { background: var(--iqd-primary-hover); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(79, 70, 229, 0.25); }
.iqd-btn--ghost { background: transparent; color: var(--iqd-text); border: 1px solid var(--iqd-border-strong); }
.iqd-btn--ghost:hover { background: var(--iqd-surface-alt); color: var(--iqd-text); box-shadow: none; }
.iqd-btn--lg { padding: 14px 28px; font-size: 15px; }
.iqd-btn--block { width: 100%; display: flex; }

/* ---------- 4. Header ---------- */
.iqd-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: saturate(180%) blur(12px);
	-webkit-backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid var(--iqd-border);
}
.iqd-header__inner {
	display: flex;
	align-items: center;
	gap: 20px;
	height: var(--iqd-header-h);
}
.iqd-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--iqd-text);
	font-weight: 800;
	font-size: 17px;
	letter-spacing: -0.02em;
	text-decoration: none;
	flex-shrink: 0;
}
.iqd-logo:hover { color: var(--iqd-text); }
.iqd-logo svg { flex-shrink: 0; }
.iqd-logo img { max-height: 40px; width: auto; }
.iqd-logo__text { white-space: nowrap; }
@media (max-width: 480px) {
	.iqd-logo__text { display: none; }
}

.iqd-nav { display: none; flex: 1; }
@media (min-width: 880px) { .iqd-nav { display: flex; justify-content: center; } }
.iqd-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 4px;
}
.iqd-nav__list a {
	display: inline-block;
	padding: 8px 14px;
	color: var(--iqd-text-soft);
	font-size: 14px;
	font-weight: 500;
	border-radius: var(--iqd-radius-sm);
	transition: all 180ms ease;
}
.iqd-nav__list a:hover { background: var(--iqd-surface-alt); color: var(--iqd-text); }
.iqd-nav__list .current-menu-item > a { color: var(--iqd-primary); font-weight: 600; }

.iqd-header__actions { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; }

.iqd-menu-toggle {
	background: transparent;
	border: 1px solid var(--iqd-border);
	border-radius: var(--iqd-radius-sm);
	color: var(--iqd-text);
	width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: all 180ms ease;
}
.iqd-menu-toggle:hover { background: var(--iqd-surface-alt); }
@media (min-width: 880px) { .iqd-menu-toggle { display: none; } }

.iqd-mobile-menu {
	background: var(--iqd-surface);
	border-bottom: 1px solid var(--iqd-border);
	padding: 16px 20px 24px;
}
.iqd-mobile-menu[hidden] { display: none; }
.iqd-mobile-menu__list { list-style: none; margin: 0 0 16px; padding: 0; }
.iqd-mobile-menu__list a {
	display: block;
	padding: 12px 14px;
	color: var(--iqd-text);
	font-size: 15px;
	font-weight: 500;
	border-radius: var(--iqd-radius-sm);
}
.iqd-mobile-menu__list a:hover { background: var(--iqd-surface-alt); }
.iqd-mobile-menu__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

/* ---------- 5. Footer ---------- */
.iqd-footer {
	margin-top: 80px;
	padding: 56px 0 32px;
	background: #0c0a09;
	color: rgba(245,245,244,0.7);
}
.iqd-footer .iqd-logo, .iqd-footer .iqd-logo__text { color: #fff; }
.iqd-footer h4, .iqd-footer .iqd-footer__heading { color: #fff; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px; }
.iqd-footer__top {
	display: grid;
	gap: 32px;
	padding-bottom: 32px;
	border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (min-width: 768px) {
	.iqd-footer__top { grid-template-columns: 1fr 2fr; gap: 64px; }
}
.iqd-footer__tagline { color: rgba(245,245,244,0.6); margin-top: 12px; max-width: 38ch; }
.iqd-footer__widgets { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 32px; }
.iqd-footer__widget ul, .iqd-footer__list { list-style: none; padding: 0; margin: 0; }
.iqd-footer__widget li, .iqd-footer__list li { margin-bottom: 8px; }
.iqd-footer__widget a, .iqd-footer__list a { color: rgba(245,245,244,0.7); font-size: 14px; }
.iqd-footer__widget a:hover, .iqd-footer__list a:hover { color: #fff; }
.iqd-footer__bottom { padding-top: 24px; text-align: center; font-size: 13px; color: rgba(245,245,244,0.5); }
.iqd-footer__bottom p { margin: 0; }

/* ---------- 6. Generic content ---------- */
.iqd-main { min-height: 60vh; padding: 32px 0 64px; }
.iqd-main > .iqd-container { padding-top: 16px; }

.iqd-page-header { margin-bottom: 32px; }
.iqd-page-header h1 { font-size: clamp(28px, 4.5vw, 44px); }
.iqd-page-header p { color: var(--iqd-text-soft); font-size: 17px; }

.iqd-prose { max-width: 72ch; line-height: 1.7; color: var(--iqd-text-soft); }
.iqd-prose h2 { margin: 1.5em 0 0.5em; color: var(--iqd-text); font-size: 24px; }
.iqd-prose h3 { margin: 1.5em 0 0.5em; color: var(--iqd-text); font-size: 19px; }
.iqd-prose img { border-radius: var(--iqd-radius-sm); margin: 1.5em 0; }
.iqd-prose blockquote {
	margin: 1.5em 0;
	padding: 16px 22px;
	border-left: 4px solid var(--iqd-primary);
	background: var(--iqd-primary-soft);
	border-radius: 0 var(--iqd-radius-sm) var(--iqd-radius-sm) 0;
	color: var(--iqd-text);
	font-style: italic;
}
.iqd-prose code { background: var(--iqd-surface-alt); padding: 2px 6px; border-radius: 4px; font-size: 0.9em; }
.iqd-prose pre { background: #0f172a; color: #f1f5f9; padding: 18px; border-radius: var(--iqd-radius-sm); overflow-x: auto; }
.iqd-prose pre code { background: transparent; padding: 0; color: inherit; }

/* ---------- 7. Home / front page ---------- */
.iqd-hero {
	position: relative;
	overflow: hidden;
	background: linear-gradient(135deg, #1e1b4b 0%, #312e81 60%, #4f46e5 100%);
	color: #fff;
	border-radius: var(--iqd-radius-lg);
	padding: 48px 28px;
	margin-bottom: 48px;
}
@media (min-width: 768px) {
	.iqd-hero { padding: 80px 56px; }
}
.iqd-hero::after {
	content: '';
	position: absolute;
	inset: -20% -10% auto auto;
	width: 60%;
	height: 200%;
	background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 60%);
	pointer-events: none;
}
.iqd-hero__inner { position: relative; z-index: 1; max-width: 720px; }
.iqd-hero__eyebrow {
	display: inline-block;
	padding: 6px 14px;
	background: rgba(255,255,255,0.15);
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #fff;
	margin-bottom: 20px;
}
.iqd-hero__title { color: #fff; font-size: clamp(32px, 5.5vw, 56px); margin-bottom: 20px; }
.iqd-hero__sub { color: rgba(255,255,255,0.85); font-size: clamp(16px, 2vw, 19px); max-width: 56ch; margin-bottom: 28px; }
.iqd-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.iqd-hero .iqd-btn--ghost { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.25); }
.iqd-hero .iqd-btn--ghost:hover { background: rgba(255,255,255,0.18); }

.iqd-section { margin-bottom: 64px; }
.iqd-section__head { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.iqd-section__head h2 { font-size: clamp(24px, 3vw, 34px); margin: 0; }
.iqd-section__head p { color: var(--iqd-text-soft); margin: 4px 0 0; }

.iqd-features {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.iqd-feature {
	padding: 28px;
	background: var(--iqd-surface);
	border: 1px solid var(--iqd-border);
	border-radius: var(--iqd-radius);
	transition: all 220ms ease;
}
.iqd-feature:hover { transform: translateY(-4px); box-shadow: var(--iqd-shadow); border-color: var(--iqd-border-strong); }
.iqd-feature__icon {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--iqd-primary-soft);
	color: var(--iqd-primary);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
}
.iqd-feature h3 { font-size: 18px; margin-bottom: 8px; }
.iqd-feature p { color: var(--iqd-text-soft); font-size: 14px; margin: 0; }

/* ---------- 8. Course archive (catalog) ---------- */
.iqd-archive-hero {
	background: linear-gradient(135deg, var(--iqd-primary) 0%, #7c3aed 100%);
	color: #fff;
	border-radius: var(--iqd-radius-lg);
	padding: 40px 28px;
	margin-bottom: 32px;
	position: relative;
	overflow: hidden;
}
@media (min-width: 768px) {
	.iqd-archive-hero { padding: 56px 48px; }
}
.iqd-archive-hero::after {
	content: '';
	position: absolute;
	inset: -50% -10% auto auto;
	width: 60%;
	height: 200%;
	background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 60%);
	pointer-events: none;
}
.iqd-archive-hero__inner { position: relative; z-index: 1; max-width: 640px; }
.iqd-archive-hero h1 { color: #fff; font-size: clamp(28px, 4vw, 44px); margin-bottom: 12px; }
.iqd-archive-hero p { color: rgba(255,255,255,0.85); margin: 0; max-width: 56ch; }

.iqd-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	padding: 16px;
	background: var(--iqd-surface);
	border: 1px solid var(--iqd-border);
	border-radius: var(--iqd-radius);
	margin-bottom: 28px;
}
.iqd-search {
	position: relative;
	flex: 1 1 220px;
	min-width: 0;
}
.iqd-search input {
	width: 100%;
	padding: 11px 16px 11px 40px;
	border: 1px solid var(--iqd-border);
	border-radius: 999px;
	background: var(--iqd-surface-alt);
	font-size: 14px;
	color: var(--iqd-text);
	transition: all 180ms ease;
}
.iqd-search input:focus {
	outline: 0;
	border-color: var(--iqd-primary);
	background: var(--iqd-surface);
	box-shadow: 0 0 0 4px var(--iqd-primary-soft);
}
.iqd-search::before {
	content: '';
	position: absolute;
	left: 14px;
	top: 50%;
	width: 16px;
	height: 16px;
	transform: translateY(-50%);
	background: no-repeat center / contain url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2378716c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='8'/><line x1='21' y1='21' x2='16.65' y2='16.65'/></svg>");
}
.iqd-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.iqd-chip {
	padding: 7px 13px;
	border-radius: 999px;
	background: var(--iqd-surface-alt);
	border: 1px solid var(--iqd-border);
	font-size: 13px;
	font-weight: 500;
	color: var(--iqd-text-soft);
	cursor: pointer;
	transition: all 180ms ease;
	white-space: nowrap;
}
.iqd-chip:hover { color: var(--iqd-text); border-color: var(--iqd-border-strong); }
.iqd-chip[aria-pressed="true"] { background: var(--iqd-primary); border-color: var(--iqd-primary); color: #fff; }

.iqd-grid {
	display: grid;
	gap: 20px;
	grid-template-columns: 1fr;
}
@media (min-width: 540px) { .iqd-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 880px) { .iqd-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
@media (min-width: 1200px) { .iqd-grid { grid-template-columns: repeat(4, 1fr); } }

.iqd-card {
	background: var(--iqd-surface);
	border: 1px solid var(--iqd-border);
	border-radius: var(--iqd-radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	color: inherit;
	text-decoration: none;
	transition: all 220ms ease;
}
.iqd-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--iqd-shadow-lg);
	border-color: var(--iqd-border-strong);
	color: inherit;
}
.iqd-card__media {
	position: relative;
	aspect-ratio: 16 / 10;
	background: var(--iqd-surface-alt);
	overflow: hidden;
}
.iqd-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 400ms ease;
}
.iqd-card:hover .iqd-card__media img { transform: scale(1.04); }
.iqd-card__placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--iqd-primary-soft), #ddd6fe);
}
.iqd-card__cat {
	position: absolute;
	top: 12px;
	left: 12px;
	padding: 4px 10px;
	background: rgba(255,255,255,0.95);
	color: var(--iqd-text);
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	border-radius: 999px;
	backdrop-filter: blur(8px);
}
.iqd-card__body {
	padding: 16px 18px 18px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
}
.iqd-card__title {
	font-size: 16px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--iqd-text);
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.iqd-card__meta-top {
	font-size: 12px;
	color: var(--iqd-text-muted);
	margin: 0;
}
.iqd-card__meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: auto;
	padding-top: 12px;
	border-top: 1px solid var(--iqd-border);
	font-size: 13px;
	color: var(--iqd-text-muted);
}
.iqd-card__price { font-weight: 700; color: var(--iqd-text); font-size: 15px; }
.iqd-rating { display: inline-flex; align-items: center; gap: 4px; color: var(--iqd-accent); font-weight: 600; }
.iqd-rating__count { color: var(--iqd-text-muted); font-weight: 400; }

.iqd-pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	margin-top: 40px;
}
.iqd-pagination a, .iqd-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border-radius: var(--iqd-radius-sm);
	background: var(--iqd-surface);
	border: 1px solid var(--iqd-border);
	color: var(--iqd-text);
	font-weight: 500;
	font-size: 14px;
	text-decoration: none;
}
.iqd-pagination a:hover { border-color: var(--iqd-primary); color: var(--iqd-primary); }
.iqd-pagination .current { background: var(--iqd-primary); color: #fff; border-color: var(--iqd-primary); }

.iqd-empty {
	text-align: center;
	padding: 60px 20px;
	background: var(--iqd-surface);
	border: 1px dashed var(--iqd-border-strong);
	border-radius: var(--iqd-radius);
}
.iqd-empty h3 { margin-bottom: 8px; }
.iqd-empty p { color: var(--iqd-text-soft); margin: 0; }

/* ---------- 9. Single course ---------- */
.iqd-single-course { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 960px) { .iqd-single-course { grid-template-columns: 1fr 360px; gap: 40px; align-items: start; } }

.iqd-course-hero {
	background: linear-gradient(135deg, #1e1b4b 0%, #312e81 60%, #4f46e5 100%);
	color: #fff;
	border-radius: var(--iqd-radius-lg);
	padding: 32px 24px;
	margin-bottom: 28px;
}
@media (min-width: 768px) {
	.iqd-course-hero { padding: 48px 40px; }
}
.iqd-course-hero h1 { color: #fff; font-size: clamp(26px, 4vw, 38px); margin-bottom: 12px; }
.iqd-course-hero p { color: rgba(255,255,255,0.85); max-width: 60ch; }
.iqd-course-hero__cat {
	display: inline-block;
	padding: 4px 12px;
	background: rgba(255,255,255,0.15);
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 12px;
	color: #fff;
}
.iqd-course-hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	margin-top: 18px;
	font-size: 14px;
	color: rgba(255,255,255,0.9);
}
.iqd-course-hero__meta span { display: inline-flex; align-items: center; gap: 6px; }
.iqd-course-hero__meta svg { width: 16px; height: 16px; }

.iqd-block {
	background: var(--iqd-surface);
	border: 1px solid var(--iqd-border);
	border-radius: var(--iqd-radius);
	padding: 24px;
	margin-bottom: 20px;
}
@media (min-width: 768px) { .iqd-block { padding: 32px; } }
.iqd-block h2 { font-size: clamp(20px, 2.4vw, 26px); margin-bottom: 16px; }

.iqd-curriculum__topic {
	border: 1px solid var(--iqd-border);
	border-radius: var(--iqd-radius-sm);
	margin-bottom: 10px;
	overflow: hidden;
}
.iqd-curriculum__head {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 14px 18px;
	background: var(--iqd-surface-alt);
	border: 0;
	font-family: inherit;
	font-weight: 600;
	font-size: 15px;
	color: var(--iqd-text);
	cursor: pointer;
	text-align: left;
	transition: background 180ms ease;
}
.iqd-curriculum__head:hover { background: var(--iqd-border); }
.iqd-curriculum__head .iqd-curriculum__chev { transition: transform 220ms ease; flex-shrink: 0; }
.iqd-curriculum__head[aria-expanded="true"] .iqd-curriculum__chev { transform: rotate(180deg); }
.iqd-curriculum__count { font-weight: 500; color: var(--iqd-text-muted); font-size: 13px; }
.iqd-curriculum__items { padding: 8px; display: none; }
.iqd-curriculum__topic[data-open="1"] .iqd-curriculum__items { display: block; }
.iqd-curriculum__item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 14px;
	border-radius: var(--iqd-radius-sm);
	font-size: 14px;
	color: var(--iqd-text-soft);
	text-decoration: none;
	transition: all 180ms ease;
}
.iqd-curriculum__item:hover { background: var(--iqd-surface-alt); color: var(--iqd-text); }
.iqd-curriculum__icon {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--iqd-primary-soft);
	color: var(--iqd-primary);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.iqd-curriculum__icon svg { width: 12px; height: 12px; }

.iqd-enroll-card {
	background: var(--iqd-surface);
	border: 1px solid var(--iqd-border);
	border-radius: var(--iqd-radius);
	padding: 22px;
	box-shadow: var(--iqd-shadow);
}
@media (min-width: 960px) { .iqd-enroll-card { position: sticky; top: calc(var(--iqd-header-h) + 16px); } }
.iqd-enroll-card__thumb { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 10px; margin-bottom: 18px; }
.iqd-enroll-card__price { font-size: 28px; font-weight: 800; color: var(--iqd-text); margin-bottom: 14px; letter-spacing: -0.02em; }
.iqd-enroll-card__features { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; font-size: 14px; color: var(--iqd-text-soft); }
.iqd-enroll-card__features li { display: flex; gap: 10px; align-items: flex-start; }
.iqd-enroll-card__features svg { width: 18px; height: 18px; color: var(--iqd-success); flex-shrink: 0; margin-top: 2px; }

/* ---------- 10. Lesson player ---------- */
.iqd-lesson-layout { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 960px) { .iqd-lesson-layout { grid-template-columns: 1fr 320px; align-items: start; } }

.iqd-lesson-main {
	background: var(--iqd-surface);
	border: 1px solid var(--iqd-border);
	border-radius: var(--iqd-radius);
	overflow: hidden;
}
.iqd-lesson-crumb {
	padding: 14px 22px;
	border-bottom: 1px solid var(--iqd-border);
	font-size: 13px;
	color: var(--iqd-text-muted);
}
.iqd-lesson-crumb a { color: var(--iqd-text-soft); font-weight: 500; }
.iqd-lesson-video {
	aspect-ratio: 16/9;
	background: #000;
	position: relative;
}
.iqd-lesson-video iframe,
.iqd-lesson-video video {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}
.iqd-lesson-video--empty {
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255,255,255,0.5);
	font-size: 14px;
}
.iqd-lesson-body { padding: 24px; }
@media (min-width: 768px) { .iqd-lesson-body { padding: 36px; } }
.iqd-lesson-body h1 { font-size: clamp(22px, 3vw, 30px); margin-bottom: 18px; }
.iqd-lesson-body .iqd-prose { color: var(--iqd-text-soft); font-size: 16px; line-height: 1.75; max-width: none; }

.iqd-lesson-sidebar {
	background: var(--iqd-surface);
	border: 1px solid var(--iqd-border);
	border-radius: var(--iqd-radius);
	padding: 18px;
}
@media (min-width: 960px) {
	.iqd-lesson-sidebar {
		position: sticky;
		top: calc(var(--iqd-header-h) + 16px);
		max-height: calc(100vh - var(--iqd-header-h) - 32px);
		overflow-y: auto;
	}
}
.iqd-lesson-sidebar h3 { margin-bottom: 14px; font-size: 15px; }
.iqd-lesson-topic { margin-bottom: 14px; }
.iqd-lesson-topic__title {
	font-weight: 600;
	font-size: 12px;
	color: var(--iqd-text-muted);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 8px 12px;
}
.iqd-lesson-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border-radius: var(--iqd-radius-sm);
	font-size: 14px;
	color: var(--iqd-text-soft);
	text-decoration: none;
	transition: all 180ms ease;
	line-height: 1.4;
}
.iqd-lesson-item:hover { background: var(--iqd-surface-alt); color: var(--iqd-text); }
.iqd-lesson-item--current { background: var(--iqd-primary-soft); color: var(--iqd-primary); font-weight: 600; }
.iqd-lesson-check {
	width: 18px;
	height: 18px;
	border: 1.5px solid var(--iqd-border-strong);
	border-radius: 50%;
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: transparent;
}
.iqd-lesson-item--done .iqd-lesson-check { background: var(--iqd-success); border-color: var(--iqd-success); color: #fff; }
.iqd-lesson-check svg { width: 10px; height: 10px; }

/* ---------- 11. Dashboard ---------- */
.iqd-dash { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 880px) { .iqd-dash { grid-template-columns: 240px 1fr; } }

.iqd-dash__sidebar {
	background: var(--iqd-surface);
	border: 1px solid var(--iqd-border);
	border-radius: var(--iqd-radius);
	padding: 20px;
	height: fit-content;
}
@media (min-width: 880px) {
	.iqd-dash__sidebar { position: sticky; top: calc(var(--iqd-header-h) + 16px); }
}
.iqd-dash__user { text-align: center; padding-bottom: 18px; border-bottom: 1px solid var(--iqd-border); margin-bottom: 14px; }
.iqd-dash__avatar { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 12px; object-fit: cover; border: 3px solid var(--iqd-primary-soft); }
.iqd-dash__name { font-weight: 700; color: var(--iqd-text); font-size: 15px; }
.iqd-dash__email { font-size: 12px; color: var(--iqd-text-muted); margin-top: 2px; word-break: break-all; }
.iqd-dash__nav { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.iqd-dash__nav a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	border-radius: var(--iqd-radius-sm);
	color: var(--iqd-text-soft);
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
}
.iqd-dash__nav a:hover { background: var(--iqd-surface-alt); color: var(--iqd-text); }
.iqd-dash__nav a.active { background: var(--iqd-primary); color: #fff; }

.iqd-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-bottom: 28px; }
.iqd-stat {
	background: var(--iqd-surface);
	border: 1px solid var(--iqd-border);
	border-radius: var(--iqd-radius);
	padding: 18px;
}
.iqd-stat__label { font-size: 12px; color: var(--iqd-text-muted); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.iqd-stat__value { font-size: 28px; font-weight: 800; color: var(--iqd-text); margin-top: 4px; letter-spacing: -0.02em; }

.iqd-enrolled { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 540px) { .iqd-enrolled { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .iqd-enrolled { grid-template-columns: repeat(3, 1fr); } }
.iqd-enrolled__card {
	background: var(--iqd-surface);
	border: 1px solid var(--iqd-border);
	border-radius: var(--iqd-radius);
	overflow: hidden;
	color: inherit;
	text-decoration: none;
	transition: all 220ms ease;
	display: flex;
	flex-direction: column;
}
.iqd-enrolled__card:hover { transform: translateY(-4px); box-shadow: var(--iqd-shadow-lg); color: inherit; }
.iqd-enrolled__media { aspect-ratio: 16/9; background: var(--iqd-surface-alt); overflow: hidden; }
.iqd-enrolled__media img { width: 100%; height: 100%; object-fit: cover; }
.iqd-enrolled__body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.iqd-enrolled__title { font-weight: 600; font-size: 14px; color: var(--iqd-text); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 38px; }
.iqd-progress-text { display: flex; justify-content: space-between; font-size: 12px; color: var(--iqd-text-muted); margin-top: auto; }
.iqd-progress {
	height: 6px;
	background: var(--iqd-surface-alt);
	border-radius: 999px;
	overflow: hidden;
}
.iqd-progress__bar {
	height: 100%;
	background: linear-gradient(90deg, var(--iqd-primary), #7c3aed);
	border-radius: 999px;
	transition: width 600ms ease;
}

/* ---------- 12. Posts / pages / comments ---------- */
.iqd-article-meta { font-size: 13px; color: var(--iqd-text-muted); margin-bottom: 12px; }
.iqd-article__thumb { width: 100%; max-height: 480px; object-fit: cover; border-radius: var(--iqd-radius); margin: 24px 0; }
.iqd-comments { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--iqd-border); }
.iqd-comments h2 { font-size: 22px; margin-bottom: 16px; }
.commentlist, .comment-list { list-style: none; padding: 0; }
.commentlist .comment, .comment-list .comment { padding: 16px 0; border-bottom: 1px solid var(--iqd-border); }
form input[type="text"], form input[type="email"], form input[type="url"], form input[type="password"], form input[type="search"], form textarea {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid var(--iqd-border);
	border-radius: var(--iqd-radius-sm);
	background: var(--iqd-surface);
	font-size: 14px;
	color: var(--iqd-text);
}
form input:focus, form textarea:focus { outline: 0; border-color: var(--iqd-primary); box-shadow: 0 0 0 4px var(--iqd-primary-soft); }
form label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; color: var(--iqd-text); }
form p { margin-bottom: 14px; }

/* ---------- 13. 404 ---------- */
.iqd-404 {
	text-align: center;
	padding: 80px 20px;
}
.iqd-404 h1 { font-size: clamp(60px, 12vw, 120px); margin-bottom: 0; color: var(--iqd-primary); line-height: 1; }
.iqd-404 h2 { font-size: clamp(20px, 3vw, 28px); margin-bottom: 16px; }
.iqd-404 p { color: var(--iqd-text-soft); margin-bottom: 24px; }

/* =============================================================
   FULL DEMO SECTIONS — homepage, about, contact, expanded footer
   ============================================================= */

/* ---- Shared bits ---- */
.iqd-eyebrow {
	display: inline-block;
	padding: 5px 12px;
	background: var(--iqd-primary-soft);
	color: var(--iqd-primary);
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-bottom: 12px;
}
.iqd-section__head--center { text-align: center; flex-direction: column; align-items: center; }
.iqd-section__head--center > div { max-width: 640px; margin: 0 auto; }
.iqd-section--alt {
	background: linear-gradient(180deg, var(--iqd-surface-alt) 0%, var(--iqd-bg) 100%);
	padding: 64px 0;
	margin: 64px calc(50% - 50vw);
	padding-left: max(20px, calc(50vw - 620px));
	padding-right: max(20px, calc(50vw - 620px));
}

/* ---- Hero refinements ---- */
.iqd-hero__trust {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 32px;
	flex-wrap: wrap;
}
.iqd-hero__avatars { display: inline-flex; }
.iqd-hero__avatars span {
	display: inline-block;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 3px solid #1e1b4b;
	margin-left: -10px;
}
.iqd-hero__avatars span:first-child { margin-left: 0; }
.iqd-hero__trust-stars { color: #fbbf24; font-size: 14px; letter-spacing: 2px; }
.iqd-hero__trust-text { color: rgba(255,255,255,0.85); font-size: 13px; }

.iqd-hero--soft {
	background: linear-gradient(135deg, var(--iqd-primary-soft) 0%, #ede9fe 100%);
	color: var(--iqd-text);
}
.iqd-hero--soft .iqd-hero__title { color: var(--iqd-text); }
.iqd-hero--soft .iqd-hero__sub { color: var(--iqd-text-soft); }
.iqd-hero--soft .iqd-hero__eyebrow { background: rgba(79, 70, 229, 0.15); color: var(--iqd-primary); }
.iqd-hero--soft::after { display: none; }

/* ---- Stats band ---- */
.iqd-stats-band {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1px;
	background: var(--iqd-border);
	border: 1px solid var(--iqd-border);
	border-radius: var(--iqd-radius);
	overflow: hidden;
	margin-bottom: 64px;
}
@media (min-width: 768px) { .iqd-stats-band { grid-template-columns: repeat(4, 1fr); } }
.iqd-stat-band {
	padding: 28px 20px;
	text-align: center;
	background: var(--iqd-surface);
}
.iqd-stat-band__value {
	font-size: clamp(28px, 4vw, 40px);
	font-weight: 800;
	color: var(--iqd-text);
	letter-spacing: -0.03em;
	line-height: 1;
}
.iqd-stat-band__label {
	font-size: 13px;
	color: var(--iqd-text-muted);
	margin-top: 6px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-weight: 600;
}
.iqd-stats-band--dark { background: #0c0a09; border-color: #0c0a09; }
.iqd-stats-band--dark .iqd-stat-band { background: #0c0a09; }
.iqd-stats-band--dark .iqd-stat-band__value { color: #fff; }
.iqd-stats-band--dark .iqd-stat-band__label { color: rgba(255,255,255,0.6); }

/* ---- Categories grid ---- */
.iqd-cats {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) { .iqd-cats { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 880px) { .iqd-cats { grid-template-columns: repeat(4, 1fr); } }
.iqd-cat {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 24px 20px;
	background: var(--iqd-surface);
	border: 1px solid var(--iqd-border);
	border-radius: var(--iqd-radius);
	text-decoration: none;
	color: inherit;
	transition: all 220ms ease;
	position: relative;
	overflow: hidden;
}
.iqd-cat:hover {
	transform: translateY(-4px);
	box-shadow: var(--iqd-shadow-lg);
	color: inherit;
	border-color: transparent;
}
.iqd-cat::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, hsl(var(--cat-hue, 240), 80%, 95%), hsl(var(--cat-hue, 240), 80%, 88%));
	opacity: 0;
	transition: opacity 220ms ease;
	z-index: 0;
}
.iqd-cat:hover::before { opacity: 1; }
.iqd-cat > * { position: relative; z-index: 1; }
.iqd-cat__icon {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: hsl(var(--cat-hue, 240), 80%, 95%);
	color: hsl(var(--cat-hue, 240), 60%, 45%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 8px;
}
.iqd-cat__title { font-size: 16px; font-weight: 700; color: var(--iqd-text); margin: 0; }
.iqd-cat__count { font-size: 13px; color: var(--iqd-text-muted); margin: 0; }

/* ---- How it works (3 steps) ---- */
.iqd-steps {
	display: grid;
	gap: 24px;
	grid-template-columns: 1fr;
	counter-reset: step;
}
@media (min-width: 768px) { .iqd-steps { grid-template-columns: repeat(3, 1fr); } }
.iqd-step {
	padding: 32px 28px;
	background: var(--iqd-surface);
	border: 1px solid var(--iqd-border);
	border-radius: var(--iqd-radius);
	position: relative;
}
.iqd-step__num {
	font-size: 48px;
	font-weight: 800;
	color: var(--iqd-primary-soft);
	letter-spacing: -0.04em;
	line-height: 1;
	margin-bottom: 16px;
}
.iqd-step h3 { font-size: 18px; margin-bottom: 8px; }
.iqd-step p { color: var(--iqd-text-soft); margin: 0; font-size: 14px; }

/* ---- Instructors grid ---- */
.iqd-instructors {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) { .iqd-instructors { grid-template-columns: repeat(4, 1fr); } }
.iqd-instructor {
	background: var(--iqd-surface);
	border: 1px solid var(--iqd-border);
	border-radius: var(--iqd-radius);
	overflow: hidden;
	transition: all 220ms ease;
	text-align: center;
}
.iqd-instructor:hover { transform: translateY(-4px); box-shadow: var(--iqd-shadow-lg); }
.iqd-instructor__media { aspect-ratio: 1 / 1; overflow: hidden; }
.iqd-instructor__media img { width: 100%; height: 100%; object-fit: cover; }
.iqd-instructor__body { padding: 16px 14px 20px; }
.iqd-instructor__name { font-size: 15px; font-weight: 700; margin: 0; color: var(--iqd-text); }
.iqd-instructor__role { font-size: 13px; color: var(--iqd-text-muted); margin: 4px 0 0; }
.iqd-instructor__count { font-size: 12px; color: var(--iqd-primary); margin: 6px 0 0; font-weight: 600; }

/* ---- Testimonials ---- */
.iqd-testimonials {
	display: grid;
	gap: 20px;
	grid-template-columns: 1fr;
}
@media (min-width: 768px) { .iqd-testimonials { grid-template-columns: repeat(3, 1fr); } }
.iqd-testimonial {
	background: var(--iqd-surface);
	border: 1px solid var(--iqd-border);
	border-radius: var(--iqd-radius);
	padding: 28px 24px;
	margin: 0;
}
.iqd-testimonial__stars {
	color: var(--iqd-accent);
	font-size: 14px;
	letter-spacing: 2px;
	margin-bottom: 14px;
}
.iqd-testimonial blockquote {
	font-size: 16px;
	line-height: 1.6;
	color: var(--iqd-text);
	margin: 0 0 20px;
	padding: 0;
	border: 0;
	background: transparent;
	font-style: normal;
}
.iqd-testimonial figcaption {
	display: flex;
	gap: 12px;
	align-items: center;
}
.iqd-testimonial__avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-weight: 700;
	font-size: 14px;
	flex-shrink: 0;
}
.iqd-testimonial__name { font-weight: 600; color: var(--iqd-text); font-size: 14px; }
.iqd-testimonial__role { font-size: 13px; color: var(--iqd-text-muted); }

/* ---- Pricing ---- */
.iqd-pricing {
	display: grid;
	gap: 20px;
	grid-template-columns: 1fr;
}
@media (min-width: 880px) { .iqd-pricing { grid-template-columns: repeat(3, 1fr); align-items: start; } }
.iqd-plan {
	background: var(--iqd-surface);
	border: 1px solid var(--iqd-border);
	border-radius: var(--iqd-radius);
	padding: 32px 28px;
	position: relative;
	display: flex;
	flex-direction: column;
}
.iqd-plan--featured {
	border: 2px solid var(--iqd-primary);
	box-shadow: var(--iqd-shadow-lg);
	transform: scale(1.02);
}
@media (max-width: 879px) { .iqd-plan--featured { transform: none; } }
.iqd-plan__badge {
	position: absolute;
	top: -12px;
	left: 50%;
	transform: translateX(-50%);
	padding: 5px 14px;
	background: var(--iqd-primary);
	color: #fff;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}
.iqd-plan__name { font-size: 17px; margin: 0 0 6px; color: var(--iqd-text); }
.iqd-plan__sub { color: var(--iqd-text-muted); font-size: 14px; margin: 0 0 20px; }
.iqd-plan__price {
	font-size: 44px;
	font-weight: 800;
	letter-spacing: -0.03em;
	color: var(--iqd-text);
	line-height: 1;
	margin-bottom: 20px;
}
.iqd-plan__currency { font-size: 22px; vertical-align: top; line-height: 1.6; font-weight: 700; }
.iqd-plan__per { font-size: 14px; font-weight: 500; color: var(--iqd-text-muted); letter-spacing: 0; }
.iqd-plan__list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; flex: 1; }
.iqd-plan__list li { color: var(--iqd-text-soft); font-size: 14px; line-height: 1.5; }

/* ---- FAQ ---- */
.iqd-faq {
	max-width: 760px;
	margin: 0 auto;
	display: grid;
	gap: 10px;
}
.iqd-faq__item {
	background: var(--iqd-surface);
	border: 1px solid var(--iqd-border);
	border-radius: var(--iqd-radius-sm);
	overflow: hidden;
}
.iqd-faq__item summary {
	list-style: none;
	cursor: pointer;
	padding: 18px 22px;
	font-weight: 600;
	color: var(--iqd-text);
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	font-size: 15px;
}
.iqd-faq__item summary::-webkit-details-marker { display: none; }
.iqd-faq__icon { transition: transform 220ms ease; flex-shrink: 0; color: var(--iqd-text-muted); }
.iqd-faq__item[open] .iqd-faq__icon { transform: rotate(180deg); }
.iqd-faq__body {
	padding: 0 22px 22px;
	color: var(--iqd-text-soft);
	line-height: 1.65;
	font-size: 15px;
}

/* ---- CTA band (bottom of pages, above footer) ---- */
.iqd-cta-band {
	margin-top: 64px;
	padding: 56px 0;
	background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4f46e5 100%);
	color: #fff;
	position: relative;
	overflow: hidden;
}
.iqd-cta-band::after {
	content: '';
	position: absolute;
	inset: -50% -20% auto auto;
	width: 60%;
	height: 200%;
	background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 60%);
	pointer-events: none;
}
.iqd-cta-band__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 32px;
	flex-wrap: wrap;
	position: relative;
	z-index: 1;
}
.iqd-cta-band h2 { color: #fff; font-size: clamp(22px, 3vw, 32px); margin-bottom: 6px; }
.iqd-cta-band p { color: rgba(255,255,255,0.85); margin: 0; }
.iqd-cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.iqd-cta-band .iqd-btn--ghost { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.25); }
.iqd-cta-band .iqd-btn--ghost:hover { background: rgba(255,255,255,0.18); }

/* ---- Footer 4-column ---- */
.iqd-footer__grid {
	display: grid;
	gap: 40px 48px;
	grid-template-columns: 1fr;
	align-items: start;
	padding-bottom: 40px;
	border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (min-width: 640px) { .iqd-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .iqd-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.4fr; } }
.iqd-footer__col { min-width: 0; }
.iqd-footer__col--brand { padding-right: 24px; }
.iqd-footer .iqd-logo, .iqd-footer .iqd-logo__text { color: #fff; }

/* Keep the footer logo a sane size — the header logo height does not apply here. */
.iqd-footer .iqd-logo { display: inline-flex; align-items: center; gap: 10px; }
.iqd-footer .iqd-logo img,
.iqd-footer .custom-logo,
.iqd-footer .custom-logo-link img,
.iqd-footer__col--brand img {
	height: auto;
	max-height: 52px;
	width: auto;
	max-width: 200px;
	object-fit: contain;
}
.iqd-footer__tagline { color: rgba(245,245,244,0.6); margin: 16px 0 18px; font-size: 14px; line-height: 1.6; max-width: 40ch; }

/* Make any dropped-in widgets / nav menus inherit the footer styling so the
   footer looks deliberate no matter how it is populated. */
.iqd-footer .widget + .widget { margin-top: 28px; }
.iqd-footer .widget-title,
.iqd-footer .widgettitle { color: #fff; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 16px; }
.iqd-footer .widget ul { list-style: none; padding: 0; margin: 0; }
.iqd-footer .widget li { margin-bottom: 10px; }
.iqd-footer .widget a { color: rgba(245,245,244,0.7); font-size: 14px; transition: color 180ms ease; text-decoration: none; }
.iqd-footer .widget a:hover { color: #fff; }
.iqd-footer .widget p,
.iqd-footer .textwidget { color: rgba(245,245,244,0.6); font-size: 14px; line-height: 1.6; }

.iqd-socials { display: flex; gap: 10px; flex-wrap: wrap; }
.iqd-social {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255,255,255,0.08);
	color: rgba(255,255,255,0.8);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: all 180ms ease;
}
.iqd-social:hover { background: var(--iqd-primary); color: #fff; transform: translateY(-2px); }

.iqd-footer__heading { color: #fff; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 16px; }
.iqd-footer__list { list-style: none; padding: 0; margin: 0; }
.iqd-footer__list li { margin-bottom: 10px; }
.iqd-footer__list a { color: rgba(245,245,244,0.7); font-size: 14px; transition: color 180ms ease; }
.iqd-footer__list a:hover { color: #fff; }

.iqd-footer__newsletter-blurb { color: rgba(245,245,244,0.6); font-size: 13px; margin: 0 0 14px; line-height: 1.5; }
.iqd-newsletter {
	display: flex;
	gap: 8px;
	background: rgba(255,255,255,0.06);
	border: 1px solid rgba(255,255,255,0.1);
	border-radius: 999px;
	padding: 4px 4px 4px 16px;
	transition: border-color 180ms ease;
}
.iqd-newsletter:focus-within { border-color: var(--iqd-primary); }
.iqd-newsletter input {
	flex: 1;
	min-width: 0;
	background: transparent;
	border: 0;
	color: #fff;
	font-size: 14px;
	padding: 8px 0;
	outline: none;
}
.iqd-newsletter input::placeholder { color: rgba(245,245,244,0.4); }
.iqd-newsletter .iqd-btn { padding: 8px 16px; font-size: 13px; }
.iqd-btn--sm { padding: 8px 16px; font-size: 13px; }
.iqd-footer__fine { color: rgba(245,245,244,0.4); font-size: 12px; margin-top: 10px; }

.iqd-footer__bottom {
	padding-top: 28px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
	font-size: 13px;
	color: rgba(245,245,244,0.5);
}
.iqd-footer__bottom p { margin: 0; }
.iqd-footer__legal-list { list-style: none; padding: 0; margin: 0; display: flex; gap: 20px; flex-wrap: wrap; }
.iqd-footer__legal-list a { color: rgba(245,245,244,0.5); font-size: 13px; }
.iqd-footer__legal-list a:hover { color: #fff; }

/* ---- About: split section ---- */
.iqd-split { display: grid; gap: 40px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 880px) { .iqd-split { grid-template-columns: 1fr 1.2fr; gap: 64px; } }
.iqd-split--reverse .iqd-split__media { order: 2; }
@media (max-width: 879px) { .iqd-split--reverse .iqd-split__media { order: 0; } }
.iqd-split__body h2 { font-size: clamp(24px, 3.5vw, 36px); }
.iqd-split__body .iqd-prose { color: var(--iqd-text-soft); font-size: 16px; line-height: 1.7; margin-bottom: 16px; }
.iqd-image-card { width: 100%; border-radius: var(--iqd-radius-lg); overflow: hidden; }

/* ---- Contact ---- */
.iqd-contact-cards {
	display: grid;
	gap: 20px;
	grid-template-columns: 1fr;
	margin-bottom: 32px;
}
@media (min-width: 768px) { .iqd-contact-cards { grid-template-columns: repeat(3, 1fr); } }
.iqd-contact-card {
	background: var(--iqd-surface);
	border: 1px solid var(--iqd-border);
	border-radius: var(--iqd-radius);
	padding: 28px 24px;
	transition: all 220ms ease;
}
.iqd-contact-card:hover { transform: translateY(-4px); box-shadow: var(--iqd-shadow); }
.iqd-contact-card h3 { font-size: 17px; margin: 14px 0 4px; }
.iqd-contact-card p { color: var(--iqd-text-muted); font-size: 14px; margin: 0 0 10px; }
.iqd-contact-card a { font-weight: 600; }
.iqd-contact-card address { font-style: normal; color: var(--iqd-text-soft); font-size: 14px; line-height: 1.5; }

.iqd-contact-form {
	background: var(--iqd-surface);
	border: 1px solid var(--iqd-border);
	border-radius: var(--iqd-radius);
	padding: 28px;
}
@media (min-width: 768px) { .iqd-contact-form { padding: 36px; } }
.iqd-form-row { display: grid; gap: 16px; grid-template-columns: 1fr; margin-bottom: 16px; }
@media (min-width: 540px) { .iqd-form-row { grid-template-columns: 1fr 1fr; } }
.iqd-form-field { margin-bottom: 16px; }
.iqd-form-field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--iqd-text); }
.iqd-form-field input, .iqd-form-field textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--iqd-border);
	border-radius: var(--iqd-radius-sm);
	background: var(--iqd-surface-alt);
	font-size: 15px;
	color: var(--iqd-text);
	font-family: inherit;
	transition: all 180ms ease;
}
.iqd-form-field input:focus, .iqd-form-field textarea:focus {
	outline: 0;
	background: var(--iqd-surface);
	border-color: var(--iqd-primary);
	box-shadow: 0 0 0 4px var(--iqd-primary-soft);
}
.iqd-form-field textarea { resize: vertical; min-height: 140px; }
.iqd-form-fine { font-size: 12px; color: var(--iqd-text-muted); margin-top: 12px; text-align: center; }

.iqd-contact-list {
	list-style: none;
	padding: 0;
	margin: 18px 0 0;
	display: grid;
	gap: 10px;
}
.iqd-contact-list li {
	display: flex;
	gap: 10px;
	align-items: center;
	color: var(--iqd-text-soft);
	font-size: 14px;
}
.iqd-contact-list svg { color: var(--iqd-success); flex-shrink: 0; }

.iqd-alert {
	padding: 14px 18px;
	border-radius: var(--iqd-radius-sm);
	font-size: 14px;
	margin-bottom: 20px;
	display: flex;
	gap: 10px;
	align-items: center;
}
.iqd-alert--success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.iqd-alert--error   { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* ---- 14. Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
}

/* =============================================================
   15. Dark / light theme  (toggled via <html data-theme>)
   Most components already read CSS variables, so overriding the
   tokens flips the whole site. A few hard-coded light spots are
   patched below.
   ============================================================= */
[data-theme="dark"] {
	--iqd-bg: #0c0a09;
	--iqd-surface: #1c1917;
	--iqd-surface-alt: #26211d;
	--iqd-border: #292524;
	--iqd-border-strong: #44403c;
	--iqd-text: #f5f5f4;
	--iqd-text-soft: #d6d3d1;
	--iqd-text-muted: #a8a29e;
	--iqd-primary-soft: #1e1b4b;
	--iqd-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
	--iqd-shadow:    0 4px 24px rgba(0, 0, 0, 0.45), 0 1px 2px rgba(0, 0, 0, 0.5);
	--iqd-shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.55), 0 4px 12px rgba(0, 0, 0, 0.45);
	color-scheme: dark;
}
[data-theme="dark"] a            { color: #a5b4fc; }
[data-theme="dark"] a:hover      { color: #c7d2fe; }
[data-theme="dark"] .iqd-header  { background: rgba(12, 10, 9, 0.8); }
[data-theme="dark"] .iqd-hero--soft { background: linear-gradient(135deg, #1e1b4b 0%, #0c0a09 100%); }
[data-theme="dark"] .iqd-hero--soft .iqd-hero__eyebrow { background: rgba(129, 140, 248, 0.18); color: #a5b4fc; }
[data-theme="dark"] .iqd-alert--success { background: #052e23; color: #6ee7b7; border-color: #065f46; }
[data-theme="dark"] .iqd-alert--error   { background: #3f1414; color: #fca5a5; border-color: #7f1d1d; }
body { transition: background-color 200ms ease, color 200ms ease; }

/* ---- Theme toggle button (header) ---- */
.iqd-theme-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid var(--iqd-border);
	background: transparent;
	border-radius: 10px;
	color: var(--iqd-text);
	cursor: pointer;
	flex-shrink: 0;
	transition: background 180ms ease, border-color 180ms ease;
}
.iqd-theme-toggle:hover { background: var(--iqd-surface-alt); }
.iqd-theme-toggle svg { width: 20px; height: 20px; }
.iqd-theme-toggle__moon { display: none; }
[data-theme="dark"] .iqd-theme-toggle__sun  { display: none; }
[data-theme="dark"] .iqd-theme-toggle__moon { display: block; }

/* ---- 16. Misc polish ---- */
/* Header grows gracefully when a taller logo height is set in the Customizer. */
.iqd-header__inner { height: auto; min-height: var(--iqd-header-h); }
.custom-logo-link  { display: inline-flex; align-items: center; }

/* Hide the socials row entirely when no networks are filled in. */
.iqd-socials:empty { display: none; }

/* Contact-form honeypot: present for bots, invisible to people and screen-flow. */
.iqd-hp {
	position: absolute !important;
	left: -9999px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ---------- 16. Tutor LMS logic additions (enroll / curriculum / lesson) ---------- */
.iqd-curriculum__item-title { flex: 1 1 auto; }
.iqd-curriculum__item--locked { color: var(--iqd-text-muted); cursor: default; }
.iqd-curriculum__item--locked:hover { background: transparent; color: var(--iqd-text-muted); }
.iqd-curriculum__lock { flex-shrink: 0; color: var(--iqd-text-muted); opacity: 0.7; }

/* Enroll card: every action is a full-width block button that stacks with a
   clean, even gap (no inline-overlap, regardless of how Tutor injects markup). */
.iqd-enroll-card__cta { margin: 0; }
.iqd-enroll-card__cta + .iqd-enroll-card__cta,
.iqd-enroll-card__cta + .iqd-complete-course-form,
.iqd-enroll-card__cta + .iqd-btn,
.iqd-enroll-card .iqd-btn + .iqd-btn,
.iqd-enroll-card .iqd-btn + form,
.iqd-enroll-card form + .iqd-btn,
.iqd-enroll-card form + form { margin-top: 12px; }
.iqd-enroll-card form { margin: 0; }
.iqd-enroll-card .iqd-btn,
.iqd-enroll-card form .iqd-btn { width: 100%; display: flex; }
.iqd-enroll-progress { margin-bottom: 18px; }
.iqd-enroll-card__note { font-size: 13px; color: var(--iqd-text-muted); margin: 14px 0 0; }
.iqd-enroll-card__note strong { color: var(--iqd-success); }

/* Lesson footer nav — buttons are block-level so they can never overlap; they
   sit in a tidy row on wide screens and stack full-width on narrow columns. */
.iqd-lesson-footer { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--iqd-border); }
@media (min-width: 768px) { .iqd-lesson-footer { padding-left: 36px; padding-right: 36px; } }
.iqd-lesson-footer__nav {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.iqd-lesson-footer__nav > span:empty { display: none; }
.iqd-lesson-complete-form { margin: 0; width: 100%; }
.iqd-lesson-footer__nav .iqd-btn,
.iqd-lesson-footer__nav .iqd-lesson-complete-form .iqd-btn,
.iqd-lesson-footer__nav .iqd-lesson-done {
	display: flex;
	width: 100%;
	justify-content: center;
}
.iqd-lesson-done {
	align-items: center;
	gap: 8px;
	padding: 10px 20px;
	font-size: 14px;
	font-weight: 600;
	color: var(--iqd-success);
}
@media (min-width: 560px) {
	.iqd-lesson-footer__nav {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}
	.iqd-lesson-footer__nav > * { flex: 0 0 auto; }
	.iqd-lesson-complete-form { width: auto; margin: 0 auto; }
	.iqd-lesson-footer__nav .iqd-btn,
	.iqd-lesson-footer__nav .iqd-lesson-complete-form .iqd-btn,
	.iqd-lesson-footer__nav .iqd-lesson-done { width: auto; }
}
.iqd-lesson-attachments { padding: 0 24px 8px; }
@media (min-width: 768px) { .iqd-lesson-attachments { padding: 0 36px 8px; } }
.iqd-lesson-attachments h3 { font-size: 15px; margin-bottom: 10px; }
.iqd-lesson-attachments ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.iqd-lesson-attachments a {
	display: inline-flex; align-items: center; gap: 10px;
	font-size: 14px; color: var(--iqd-primary); text-decoration: none;
}
.iqd-lesson-attachments a:hover { text-decoration: underline; }

/* Quiz/play icons sit nicely inside the small completion bubble */
.iqd-lesson-item .iqd-lesson-check svg { width: 11px; height: 11px; }
.iqd-lesson-item:not(.iqd-lesson-item--done) .iqd-lesson-check { color: var(--iqd-text-muted); }

/* ---------- 17. Tutor LMS native screens (quiz player, course sidebar) — brand match ---------- */
/* Quizzes use Tutor's built-in immersive player (correct UX for assessments).
   We simply re-skin it to the iqd palette so it never looks like a foreign plugin. */
:root {
	--tutor-color-primary: #4f46e5 !important;
	--tutor-color-primary-hover: #4338ca !important;
	--tutor-color-primary-rgb: 79, 70, 229 !important;
	--tutor-fonts: inherit;
}
.tutor-wrap,
.tutor-course-spotlight-wrapper,
.tutor-quiz-wrapper,
[class*="tutor-quiz"],
.tutor-course-topic-single-wrapper { font-family: inherit; }

/* Rounder, calmer primary buttons to match the iqd pill language */
.tutor-btn.tutor-btn-primary { border-radius: 999px; }
.tutor-btn.tutor-btn-primary:hover { background-color: var(--tutor-color-primary-hover); }

/* Soften the player chrome (top bar / cards) */
.tutor-course-spotlight-header,
.tutor-quiz-single-wrap .tutor-quiz-question-paginations { background-color: var(--iqd-primary); }
.tutor-card { border-radius: var(--iqd-radius, 14px); }

/* ===========================================================================
   18. NATIVE HOMEPAGE v2 (ZeroAI Technologies) — hero, why, circles, stats,
       features, who-we-serve, vision. All Customizer-driven.
   =========================================================================== */
.iqd-hp-eyebrow { font-weight: 700; color: var(--iqd-text); letter-spacing: .01em; font-size: 15px; margin: 6px 0 0; }

/* ---- Hero ---- */
.iqd-hp-hero { padding: clamp(48px, 8vw, 110px) 0; background: var(--iqd-surface-alt); }
.iqd-hp-hero--image {
	position: relative;
	background-image: linear-gradient(rgba(8,8,20,var(--hero-overlay,.55)), rgba(8,8,20,var(--hero-overlay,.55))), var(--hero-img);
	background-size: cover;
	background-position: center;
}
.iqd-hp-hero__inner { max-width: 760px; }
.iqd-hp-hero--image .iqd-hp-hero__inner { color: #fff; }
.iqd-hp-hero__title { font-size: clamp(34px, 5.5vw, 64px); line-height: 1.05; letter-spacing: -.02em; margin: 0 0 24px; font-weight: 800; }
.iqd-hp-hero--image .iqd-hp-hero__title { color: #fff; }
.iqd-hp-hero__body { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.7; color: var(--iqd-text-soft); margin: 0 0 22px; max-width: 60ch; }
.iqd-hp-hero--image .iqd-hp-hero__body { color: rgba(255,255,255,.92); }
.iqd-hp-hero__note { font-size: 16px; line-height: 1.6; color: var(--iqd-text-soft); margin: 0 0 32px; max-width: 52ch; }
.iqd-hp-hero--image .iqd-hp-hero__note { color: rgba(255,255,255,.82); }
.iqd-hp-hero__cta .iqd-btn { background: #fff; color: var(--iqd-primary); border-radius: 999px; padding: 16px 34px; font-size: 16px; font-weight: 700; }
.iqd-hp-hero__cta .iqd-btn:hover { background: #fff; color: var(--iqd-primary-hover); transform: translateY(-2px); }
.iqd-hp-hero:not(.iqd-hp-hero--image) .iqd-hp-hero__cta .iqd-btn { background: var(--iqd-primary); color: #fff; }

/* ---- Section heads ---- */
.iqd-hp-section-head { margin-bottom: 44px; }
.iqd-hp-section-head--center { text-align: center; }
.iqd-hp-section-head h2,
.iqd-hp-why__head h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 800; letter-spacing: -.02em; margin: 0; }
.iqd-hp-why__head { text-align: center; margin-bottom: 48px; }

/* ---- Why + Learning Areas ---- */
.iqd-hp-why__grid { display: grid; gap: 40px; align-items: start; }
/* minmax(0,1fr) is the real fix for the grid min-content blowout — it lets the
   wide circle carousel shrink & scroll instead of squashing the text column.
   Both columns are equal width. */
@media (min-width: 900px) { .iqd-hp-why__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; } }
.iqd-hp-why__grid > * { min-width: 0; }
.iqd-hp-why__text p { color: var(--iqd-text-soft); font-size: 16px; line-height: 1.8; margin: 0 0 20px; }
.iqd-hp-areas__title { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.02em; margin: 0 0 4px; }

/* ---- Scrolling category circles ---- */
.iqd-circles { position: relative; margin-top: 28px; min-width: 0; max-width: 100%; }
.iqd-circles__track {
	display: flex; gap: 22px;
	overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory;
	padding: 12px 4px 16px; margin: 0 -4px;
	-ms-overflow-style: none; scrollbar-width: none;
}
.iqd-circles__track::-webkit-scrollbar { display: none; }
.iqd-circle { flex: 0 0 auto; scroll-snap-align: start; text-decoration: none; display: block; }
.iqd-circle__disc {
	width: 172px; height: 172px; border-radius: 50%;
	background: radial-gradient(circle at 50% 42%, #20304a 0%, #0b1220 78%);
	border: 4px solid var(--ring, #4f46e5);
	display: flex; align-items: center; justify-content: center;
	position: relative;
	box-shadow: 0 1px 0 rgba(255,255,255,.05) inset, 0 22px 38px -18px var(--ring, #4f46e5);
	transition: transform 220ms ease, box-shadow 220ms ease;
}
.iqd-circle:hover .iqd-circle__disc { transform: translateY(-4px); box-shadow: 0 28px 46px -18px var(--ring, #4f46e5); }
/* Icon: large, centred, nudged up so the label pill has clear room below it. */
.iqd-circle__icon {
	color: var(--ring, #4f46e5);
	width: 62px; height: 62px;
	display: inline-flex; align-items: center; justify-content: center;
	transform: translateY(-15px);
}
.iqd-circle__icon svg { width: 100%; height: 100%; display: block; }
.iqd-circle__pill {
	position: absolute; left: 50%; bottom: 32px; transform: translateX(-50%);
	background: var(--ring, #4f46e5); color: #0b1220;
	font-size: 9px; font-weight: 800; letter-spacing: .03em; line-height: 1;
	padding: 6px 13px; border-radius: 999px; white-space: nowrap; max-width: 116px;
	overflow: hidden; text-overflow: ellipsis;
}
.iqd-circles__nav {
	position: absolute; top: 98px; transform: translateY(-50%);
	width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
	background: var(--iqd-surface); color: var(--iqd-text);
	box-shadow: var(--iqd-shadow); display: inline-flex; align-items: center; justify-content: center;
	z-index: 3; transition: background 160ms ease, opacity 160ms ease;
}
.iqd-circles__nav:hover { background: var(--iqd-primary); color: #fff; }
.iqd-circles__nav--prev { left: -10px; }
.iqd-circles__nav--next { right: -10px; }
.iqd-circles__nav[disabled] { opacity: .35; cursor: default; }
.iqd-circles__dots { display: flex; gap: 7px; justify-content: center; margin-top: 10px; }
.iqd-circles__dots button {
	width: 8px; height: 8px; border-radius: 999px; border: 0; padding: 0; cursor: pointer;
	background: var(--iqd-border-strong); transition: all 200ms ease;
}
.iqd-circles__dots button[aria-current="true"] { background: var(--iqd-primary); width: 22px; }

/* ---- Stats band ---- */
.iqd-hp-stats { background: var(--iqd-primary); padding: clamp(36px, 5vw, 56px) 0; }
.iqd-hp-stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 16px; text-align: center; }
@media (min-width: 760px) { .iqd-hp-stats__grid { grid-template-columns: repeat(4, 1fr); } }
.iqd-hp-stat__value { font-size: clamp(36px, 5vw, 56px); font-weight: 800; color: #fff; line-height: 1; }
.iqd-hp-stat__label { color: rgba(255,255,255,.85); font-size: 15px; margin-top: 8px; }

/* ---- Platform Features + Who We Serve ---- */
.iqd-hp-features__grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .iqd-hp-features__grid { grid-template-columns: 1.1fr 1fr; gap: 56px; } }
.iqd-hp-feature { display: flex; gap: 16px; margin-bottom: 28px; }
.iqd-hp-feature:last-child { margin-bottom: 0; }
.iqd-hp-feature__icon {
	flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%;
	background: var(--iqd-primary); color: #fff;
	display: inline-flex; align-items: center; justify-content: center;
}
.iqd-hp-feature h3 { font-size: 18px; font-weight: 700; margin: 4px 0 6px; }
.iqd-hp-feature p { color: var(--iqd-text-soft); font-size: 14.5px; line-height: 1.65; margin: 0; }
.iqd-hp-serve {
	background: var(--iqd-primary); color: #fff;
	border-radius: var(--iqd-radius); padding: clamp(28px, 4vw, 44px);
}
.iqd-hp-serve__title { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; color: #fff; margin: 0 0 6px; }
.iqd-hp-serve__sub { color: rgba(255,255,255,.9); font-weight: 700; margin: 0 0 22px; }
.iqd-hp-serve__list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
.iqd-hp-serve__list li { display: flex; gap: 12px; align-items: flex-start; color: rgba(255,255,255,.95); font-size: 15.5px; }
.iqd-hp-serve__list svg { flex: 0 0 auto; margin-top: 2px; color: #a7f3d0; }
.iqd-hp-serve__foot { font-weight: 700; color: #fff; margin: 0 0 18px; }
.iqd-hp-serve__cta { background: #fff; color: var(--iqd-primary); }
.iqd-hp-serve__cta:hover { background: #fff; color: var(--iqd-primary-hover); transform: translateY(-2px); }

/* ---- Vision + Community ---- */
.iqd-hp-vision__body { max-width: 760px; margin: 0 auto 32px; text-align: center; color: var(--iqd-text-soft); font-size: 17px; line-height: 1.8; }
.iqd-hp-community { max-width: 760px; margin: 0 auto; display: grid; gap: 14px; }
.iqd-hp-community input {
	width: 100%; padding: 16px 18px; border-radius: 12px;
	border: 1px solid var(--iqd-border-strong); background: var(--iqd-surface); color: var(--iqd-text);
	font-size: 15px; outline: none;
}
.iqd-hp-community input:focus { border-color: var(--iqd-primary); }

/* ===========================================================================
   19. FOOTER v2 — brand footer redesign
   =========================================================================== */
.iqd-footer__brand { padding-right: 24px; }
.iqd-footer__logo { margin-bottom: 16px; }
.iqd-footer__logo .iqd-logo, .iqd-footer__logo .iqd-logo__text { color: #fff; }
.iqd-footer__logo .custom-logo,
.iqd-footer__logo img { height: auto; max-height: 50px; width: auto; max-width: 190px; object-fit: contain; }
.iqd-footer__contacts { display: grid; gap: 6px; margin: 16px 0 18px; }
.iqd-footer__contacts a { color: #fff; font-size: 15px; font-weight: 600; text-decoration: none; }
.iqd-footer__contacts a:hover { color: var(--iqd-primary); }
.iqd-footer__motto { color: rgba(245,245,244,.65); font-size: 14px; font-weight: 600; }
.iqd-footer__copy { margin: 0; }
.iqd-footer__bottom { gap: 14px 24px; }
@media (max-width: 640px) { .iqd-footer__bottom { flex-direction: column; align-items: flex-start; text-align: left; } }

/* Native homepage sits flush under the header (full-bleed hero & bands) */
.home .iqd-main { padding-top: 0; padding-bottom: 24px; }
.home .iqd-main > .iqd-container { padding-top: 0; }
