.iti-tests-detail-page .site-content,
.iti-tests-detail-page .content-area,
.iti-tests-detail-page #primary,
.iti-tests-detail-page .site-main,
.iti-tests-detail-page .inside-article,
.iti-tests-detail-page .entry-content {
	width: 100%;
	max-width: none;
	padding: 0;
	margin: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
}

.iti-tests-detail-page .entry-header,
.iti-tests-detail-page .entry-meta {
	display: none;
}

.iti-tests {
	--iti-t-navy: #0b1f44;
	--iti-t-blue: #2563eb;
	--iti-t-green: #16a34a;
	--iti-t-border: #e2e8f0;
	--iti-t-muted: #64748b;
	--iti-t-bg: #f4f7fb;
	background: var(--iti-t-bg);
	padding: 20px 0 40px;
}

.iti-tests-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 16px;
}

.iti-tests-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 0.82rem;
	color: var(--iti-t-muted);
	margin-bottom: 10px;
}

.iti-tests-breadcrumb a {
	color: var(--iti-t-blue);
	text-decoration: none;
}

.iti-tests-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 220px;
	gap: 24px;
	align-items: center;
	background: #fff;
	border: 1px solid var(--iti-t-border);
	border-radius: 16px;
	padding: 24px;
	margin-bottom: 16px;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.iti-tests-hero h1 {
	margin: 0 0 10px;
	font-size: clamp(1.5rem, 3vw, 2rem);
	color: var(--iti-t-navy);
}

.iti-tests-hero p {
	margin: 0 0 16px;
	color: #475569;
	font-size: 0.9rem;
	line-height: 1.6;
	max-width: 620px;
}

.iti-tests-hero__cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.iti-tests-hero-card {
	display: grid;
	gap: 4px;
	padding: 14px;
	border-radius: 12px;
	text-decoration: none;
	color: inherit;
	border: 1px solid var(--iti-t-border);
}

.iti-tests-hero-card--blue { background: #eff6ff; border-color: #bfdbfe; }
.iti-tests-hero-card--green { background: #f0fdf4; border-color: #bbf7d0; }

.iti-tests-hero-card__icon {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 0.9rem;
}

.iti-tests-hero-card--blue .iti-tests-hero-card__icon { background: var(--iti-t-blue); }
.iti-tests-hero-card--green .iti-tests-hero-card__icon { background: var(--iti-t-green); }

.iti-tests-hero-card strong { font-size: 0.82rem; color: var(--iti-t-navy); }
.iti-tests-hero-card span { font-size: 0.72rem; color: var(--iti-t-muted); }
.iti-tests-hero-card em { font-size: 0.72rem; font-style: normal; font-weight: 700; }
.iti-tests-hero-card--blue em { color: var(--iti-t-blue); }
.iti-tests-hero-card--green em { color: var(--iti-t-green); }

.iti-tests-hero__art {
	position: relative;
	height: 160px;
}

.iti-tests-hero__screen {
	position: absolute;
	left: 30px;
	top: 20px;
	width: 100px;
	height: 72px;
	border-radius: 10px;
	background: #dbeafe;
	border: 2px solid #93c5fd;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--iti-t-blue);
	font-size: 2rem;
}

.iti-tests-hero__clock {
	position: absolute;
	right: 20px;
	top: 10px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #fef3c7;
	border: 2px solid #fcd34d;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #d97706;
	font-size: 1.1rem;
}

.iti-tests-hero__books {
	position: absolute;
	right: 30px;
	bottom: 10px;
	width: 56px;
	height: 56px;
	border-radius: 12px;
	background: #dcfce7;
	border: 2px solid #86efac;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--iti-t-green);
	font-size: 1.4rem;
}

.iti-tests-stats {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 10px;
	margin-bottom: 16px;
}

.iti-tests-stats__item {
	background: #fff;
	border: 1px solid var(--iti-t-border);
	border-radius: 12px;
	padding: 12px 10px;
	text-align: center;
	font-size: 0.72rem;
	color: var(--iti-t-muted);
}

.iti-tests-stats__item i {
	display: block;
	font-size: 1.1rem;
	margin-bottom: 6px;
}

.iti-tests-stats__icon--blue { color: #2563eb; }
.iti-tests-stats__icon--green { color: #16a34a; }
.iti-tests-stats__icon--orange { color: #ea580c; }
.iti-tests-stats__icon--purple { color: #7c3aed; }
.iti-tests-stats__icon--teal { color: #0d9488; }

.iti-tests-stats__item strong {
	display: block;
	color: var(--iti-t-navy);
	font-size: 0.9rem;
}

.iti-tests-layout {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	gap: 16px;
	align-items: start;
	margin-bottom: 24px;
}

.iti-tests-sidebar {
	display: grid;
	gap: 14px;
}

.iti-tests-sidebar__box,
.iti-tests-main {
	background: #fff;
	border: 1px solid var(--iti-t-border);
	border-radius: 14px;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.iti-tests-sidebar__box {
	padding: 16px;
}

.iti-tests-sidebar__box h2 {
	margin: 0 0 12px;
	font-size: 0.95rem;
	color: var(--iti-t-navy);
}

.iti-tests-field {
	display: grid;
	gap: 8px;
	margin-bottom: 14px;
	border: 0;
	padding: 0;
}

.iti-tests-field legend,
.iti-tests-field > span {
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--iti-t-navy);
}

.iti-tests-field label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.78rem;
	color: #334155;
}

.iti-tests-field select {
	width: 100%;
	padding: 8px 10px;
	border: 1px solid var(--iti-t-border);
	border-radius: 8px;
	font-size: 0.78rem;
}

.iti-tests-apply {
	width: 100%;
	padding: 10px;
	border: 0;
	border-radius: 8px;
	background: var(--iti-t-blue);
	color: #fff;
	font-weight: 700;
	font-size: 0.82rem;
	cursor: pointer;
	margin-bottom: 8px;
}

.iti-tests-reset {
	width: 100%;
	padding: 9px;
	border: 1px solid var(--iti-t-border);
	border-radius: 8px;
	background: #fff;
	color: var(--iti-t-blue);
	font-weight: 700;
	font-size: 0.78rem;
	cursor: pointer;
}

.iti-tests-quick {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 6px;
}

.iti-tests-quick a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 10px;
	border-radius: 8px;
	text-decoration: none;
	color: #334155;
	font-size: 0.78rem;
	border: 1px solid #edf2f7;
}

.iti-tests-quick a:hover {
	background: #f8fafc;
}

.iti-tests-quick a i {
	color: var(--iti-t-blue);
	width: 16px;
}

.iti-tests-quick__badge {
	margin-left: auto;
	padding: 2px 6px;
	border-radius: 999px;
	background: #dcfce7;
	color: #166534;
	font-size: 0.62rem;
	font-weight: 800;
}

.iti-tests-main {
	padding: 16px;
	min-width: 0;
}

.iti-tests-tabs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin-bottom: 14px;
}

.iti-tests-tab {
	border: 1px solid var(--iti-t-border);
	background: #f8fafc;
	padding: 10px;
	border-radius: 8px;
	font-size: 0.72rem;
	font-weight: 700;
	color: var(--iti-t-muted);
	cursor: pointer;
}

.iti-tests-tab.is-active {
	background: var(--iti-t-blue);
	border-color: var(--iti-t-blue);
	color: #fff;
}

.iti-tests-toolbar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 160px;
	gap: 10px;
	margin-bottom: 12px;
}

.iti-tests-search {
	display: flex;
	align-items: center;
	gap: 8px;
	border: 1px solid var(--iti-t-border);
	border-radius: 8px;
	padding: 0 10px;
	background: #fff;
}

.iti-tests-search i { color: var(--iti-t-muted); }

.iti-tests-search input,
.iti-tests-sort select {
	border: 0;
	width: 100%;
	padding: 10px 0;
	font-size: 0.82rem;
	background: transparent;
}

.iti-tests-sort select {
	border: 1px solid var(--iti-t-border);
	border-radius: 8px;
	padding: 10px;
	background: #fff;
}

.iti-tests-table-wrap {
	overflow-x: auto;
	border: 1px solid var(--iti-t-border);
	border-radius: 12px;
}

.iti-tests-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.78rem;
}

.iti-tests-table th {
	background: #f8fafc;
	color: var(--iti-t-navy);
	text-align: left;
	padding: 10px 12px;
	border-bottom: 1px solid var(--iti-t-border);
	white-space: nowrap;
}

.iti-tests-table td {
	padding: 10px 12px;
	border-bottom: 1px solid #edf2f7;
	color: #334155;
	vertical-align: middle;
}

.iti-tests-table tbody tr:nth-child(even) {
	background: #f8fbff;
}

.iti-tests-row.is-hidden {
	display: none;
}

.iti-tests-row__name {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 220px;
}

.iti-tests-row__name i {
	color: var(--iti-t-blue);
	font-size: 1rem;
}

.iti-tests-row__name strong {
	color: var(--iti-t-navy);
	font-size: 0.78rem;
	line-height: 1.35;
}

.iti-tests-start-btn {
	display: inline-flex;
	padding: 6px 12px;
	border-radius: 6px;
	background: var(--iti-t-blue);
	color: #fff !important;
	font-size: 0.68rem;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.iti-tests-empty {
	padding: 24px;
	text-align: center;
	color: var(--iti-t-muted);
}

.iti-tests-empty.is-hidden {
	display: none;
}

.iti-tests-table-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 12px;
	font-size: 0.76rem;
	color: var(--iti-t-muted);
}

.iti-tests-view-all {
	color: var(--iti-t-blue);
	font-weight: 700;
	text-decoration: none;
}

.iti-tests-popular {
	margin-bottom: 24px;
}

.iti-tests-popular h2 {
	margin: 0 0 14px;
	font-size: 1rem;
	color: var(--iti-t-navy);
}

.iti-tests-popular__grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 12px;
}

.iti-tests-popular-card {
	display: grid;
	gap: 4px;
	justify-items: center;
	text-align: center;
	padding: 16px 10px;
	background: #fff;
	border: 1px solid var(--iti-t-border);
	border-radius: 14px;
	text-decoration: none;
	color: inherit;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.iti-tests-popular-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.iti-tests-popular-card__icon {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: #eff6ff;
	color: var(--iti-t-blue);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.2rem;
}

.iti-tests-popular-card strong {
	font-size: 0.72rem;
	color: var(--iti-t-navy);
	line-height: 1.35;
}

.iti-tests-popular-card span {
	font-size: 0.68rem;
	color: var(--iti-t-muted);
}

.iti-tests-how {
	background: #fff;
	border: 1px solid var(--iti-t-border);
	border-radius: 14px;
	padding: 20px;
	margin-bottom: 16px;
}

.iti-tests-how h2 {
	margin: 0 0 16px;
	font-size: 1rem;
	color: var(--iti-t-navy);
	text-align: center;
}

.iti-tests-how__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.iti-tests-how__grid div {
	text-align: center;
	padding: 12px;
	border: 1px dashed #cbd5e1;
	border-radius: 12px;
}

.iti-tests-how__grid span {
	display: inline-flex;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--iti-t-blue);
	color: #fff;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	margin-bottom: 8px;
}

.iti-tests-how__grid strong {
	display: block;
	font-size: 0.82rem;
	color: var(--iti-t-navy);
}

.iti-tests-how__grid small {
	display: block;
	font-size: 0.68rem;
	color: var(--iti-t-muted);
}

.iti-tests-features {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 10px;
	margin-bottom: 16px;
}

.iti-tests-features div {
	background: #fff;
	border: 1px solid var(--iti-t-border);
	border-radius: 10px;
	padding: 12px 8px;
	text-align: center;
	font-size: 0.68rem;
	font-weight: 700;
	color: var(--iti-t-navy);
}

.iti-tests-features i {
	display: block;
	color: var(--iti-t-blue);
	margin-bottom: 6px;
	font-size: 1rem;
}

.iti-tests-trust {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	border-radius: 10px;
	padding: 12px;
	font-size: 0.78rem;
	color: #166534;
	font-weight: 600;
}

.iti-tests-trust i {
	color: var(--iti-t-green);
}

.inside-article .iti-tests a.iti-tests-apply,
.inside-article .iti-tests a.iti-tests-start-btn,
.inside-article .iti-tests .iti-tests-tab.is-active {
	color: #fff !important;
}

.inside-article .iti-tests .iti-tests-breadcrumb a,
.inside-article .iti-tests .iti-tests-view-all {
	color: var(--iti-t-blue) !important;
}

@media (max-width: 1024px) {
	.iti-tests-hero,
	.iti-tests-layout {
		grid-template-columns: 1fr;
	}

	.iti-tests-stats,
	.iti-tests-popular__grid,
	.iti-tests-features {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

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

	.iti-tests-hero__art {
		display: none;
	}
}

@media (max-width: 768px) {
	.iti-tests-hero__cards,
	.iti-tests-toolbar,
	.iti-tests-stats,
	.iti-tests-popular__grid,
	.iti-tests-how__grid,
	.iti-tests-features,
	.iti-tests-tabs {
		grid-template-columns: 1fr;
	}
}

html.iti-dark-mode body.iti-tests-detail-page .site,
html.iti-dark-mode body.iti-tests-detail-page .site-content,
html.iti-dark-mode body.iti-tests-detail-page .content-area,
html.iti-dark-mode body.iti-tests-detail-page .site-main {
	background: #0f172a;
}

html.iti-dark-mode .iti-tests {
	--iti-t-navy: #f8fafc;
	--iti-t-blue: #60a5fa;
	--iti-t-border: #334155;
	--iti-t-muted: #94a3b8;
	--iti-t-bg: #0f172a;
	background: var(--iti-t-bg);
}

html.iti-dark-mode .iti-tests-hero,
html.iti-dark-mode .iti-tests-stats__item,
html.iti-dark-mode .iti-tests-sidebar__box,
html.iti-dark-mode .iti-tests-main,
html.iti-dark-mode .iti-tests-popular-card,
html.iti-dark-mode .iti-tests-how,
html.iti-dark-mode .iti-tests-features div,
html.iti-dark-mode .iti-tests-table-wrap,
html.iti-dark-mode .iti-tests-search,
html.iti-dark-mode .iti-tests-sort select,
html.iti-dark-mode .iti-tests-reset,
html.iti-dark-mode .iti-tests-quick a {
	background: #1e293b;
	border-color: #334155;
}

html.iti-dark-mode .iti-tests-hero p,
html.iti-dark-mode .iti-tests-table td,
html.iti-dark-mode .iti-tests-field label,
html.iti-dark-mode .iti-tests-quick a {
	color: #cbd5e1;
}

html.iti-dark-mode .iti-tests-table th {
	background: #111827;
	color: #f8fafc;
}

html.iti-dark-mode .iti-tests-table tbody tr:nth-child(even) {
	background: rgba(15, 23, 42, 0.5);
}

html.iti-dark-mode .iti-tests-tab {
	background: #111827;
	color: #94a3b8;
}

html.iti-dark-mode .iti-tests-hero-card--blue {
	background: rgba(37, 99, 235, 0.12);
	border-color: rgba(96, 165, 250, 0.35);
}

html.iti-dark-mode .iti-tests-hero-card--green {
	background: rgba(22, 163, 74, 0.12);
	border-color: rgba(34, 197, 94, 0.35);
}

html.iti-dark-mode .iti-tests-popular-card__icon {
	background: rgba(37, 99, 235, 0.18);
}

html.iti-dark-mode .iti-tests-trust {
	background: rgba(22, 163, 74, 0.12);
	border-color: rgba(34, 197, 94, 0.35);
	color: #86efac;
}

html.iti-dark-mode .inside-article .iti-tests .iti-tests-breadcrumb a,
html.iti-dark-mode .inside-article .iti-tests .iti-tests-view-all {
	color: #93c5fd !important;
}
