/* "Type Slider" — quick-access card strip for the site's main sections
   (Test Series, Video Courses, Online Exam, etc). Auto-injected right
   after <body> on every front-end page (class-gte-type-slider.php). */

.gte-tslider {
	--gte-ts-primary: #2b1a7a;
	--gte-ts-accent: #e9513b;
	/* Explicit stacking context: many themes' sticky/fixed headers are
	   positioned elements that paint above any plain in-flow sibling
	   regardless of source order, which otherwise hides this completely
	   on every page that uses such a header (not just the homepage). */
	position: relative;
	z-index: 9999;
	display: flex;
	align-items: center;
	gap: 8px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 10px 44px;
	font-family: 'Reddit Sans', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
	background: #fff;
	border-bottom: 1px solid #e6e8ef;
	box-sizing: border-box;
}
.gte-tslider * { box-sizing: border-box; }

.gte-tslider-track {
	flex: 1;
	display: flex;
	gap: 12px;
	overflow-x: auto;
	scroll-snap-type: x proximity;
	scrollbar-width: none;
	-ms-overflow-style: none;
}
.gte-tslider-track::-webkit-scrollbar { display: none; }

.gte-tslider-card {
	flex: none;
	scroll-snap-align: start;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 9px 16px;
	border-radius: 999px;
	background: #f7f7fb;
	border: 1px solid #e6e8ef;
	color: #1f2433;
	text-decoration: none;
	font-size: 13.5px;
	font-weight: 600;
	white-space: nowrap;
	transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.gte-tslider-card:hover {
	background: linear-gradient(135deg, var(--gte-ts-primary), var(--gte-ts-accent));
	border-color: transparent;
	color: #fff;
	transform: translateY(-1px);
}
.gte-tslider-icon { font-size: 16px; line-height: 1; }

.gte-tslider-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	flex: none;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	border: 1px solid #e6e8ef;
	background: #fff;
	color: var(--gte-ts-primary);
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1;
}
.gte-tslider-arrow:hover { background: #f1effc; }
.gte-tslider-prev { left: 8px; }
.gte-tslider-next { right: 8px; }
.gte-tslider-arrow[hidden] { display: none; }

@media (max-width: 600px) {
	.gte-tslider { padding: 8px 36px; }
	.gte-tslider-card { padding: 7px 12px; font-size: 12.5px; }
	.gte-tslider-arrow { width: 26px; height: 26px; font-size: 16px; }
}
