/* AFF-AI-GADGET-012: keep the inline article pager usable in the roundup template. */
.tkl-roundup-guide__content .tkl-ai-gadget-pager {
	align-items: stretch;
	background: linear-gradient(135deg, #f5f3ff, #eff6ff);
	border: 1px solid #c4b5fd;
	border-radius: 18px;
	box-shadow: 0 10px 24px rgba(109, 40, 217, .10);
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
	margin: 54px 0 34px;
	padding: 16px;
}

.tkl-roundup-guide__content .tkl-ai-gadget-pager a {
	align-items: center;
	background: linear-gradient(135deg, #6d28d9, #2563eb);
	border: 1px solid #5b21b6;
	border-radius: 10px;
	color: #fff !important;
	display: inline-flex;
	flex: 1 1 180px;
	font-weight: 900;
	justify-content: center;
	line-height: 1.35;
	min-height: 52px;
	padding: 12px 20px;
	text-align: center;
	text-decoration: none;
}

.tkl-roundup-guide__content .tkl-ai-gadget-pager a:hover,
.tkl-roundup-guide__content .tkl-ai-gadget-pager a:focus-visible {
	background: linear-gradient(135deg, #5b21b6, #1d4ed8);
	color: #fff !important;
	transform: translateY(-1px);
}

.tkl-roundup-guide__content .tkl-ai-gadget-pager__count {
	align-items: center;
	background: #fff;
	border: 1px solid #c4b5fd;
	border-radius: 10px;
	color: #4c1d95;
	display: inline-flex;
	flex: 1 1 132px;
	font-size: .95rem;
	font-weight: 900;
	justify-content: center;
	line-height: 1.45;
	padding: 10px 16px;
	text-align: center;
}

@media (max-width: 520px) {
	.tkl-roundup-guide__content .tkl-ai-gadget-pager {
		margin: 36px 0 28px;
		padding: 12px;
	}

	.tkl-roundup-guide__content .tkl-ai-gadget-pager a,
	.tkl-roundup-guide__content .tkl-ai-gadget-pager__count {
		flex-basis: 100%;
	}
}
