/* StackedReview – Ask AI Box. Uses Kadence palette variables, with fallbacks. */
.sr-ai {
	margin: 2em 0;
	padding: 20px 22px 16px;
	border: 1px solid var(--global-gray-400, #e2e8f0);
	border-radius: 14px;
	background: var(--global-palette9, #fff);
	box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 6px 20px rgba(15, 23, 42, .05);
	clear: both;
}
.sr-ai__head {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
}
.sr-ai__icon {
	flex: 0 0 34px;
	height: 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 9px;
	color: var(--global-palette1, #e5484d);
	background: color-mix(in srgb, var(--global-palette1, #e5484d) 12%, transparent);
}
.sr-ai .sr-ai__title {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--global-palette3, #1a202c);
}
.sr-ai__btns {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 8px;
}
.sr-ai a.sr-ai__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 12px;
	border: 1px solid var(--global-gray-400, #e2e8f0);
	border-radius: 10px;
	background: var(--global-palette8, #f7fafc);
	color: var(--global-palette3, #1a202c);
	font-size: .9rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: border-color .15s, background .15s, transform .15s;
}
.sr-ai a.sr-ai__btn:hover,
.sr-ai a.sr-ai__btn:focus-visible {
	border-color: var(--sr-ai-dot, #999);
	background: var(--global-palette9, #fff);
	transform: translateY(-1px);
	color: var(--global-palette3, #1a202c);
}
.sr-ai__dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--sr-ai-dot, #999);
	flex: 0 0 9px;
}
.sr-ai .sr-ai__note {
	margin: 12px 0 0;
	font-size: .75rem;
	line-height: 1.5;
	color: var(--global-palette5, #718096);
}
/* Lighter variant used at the end of the post when "Both" is selected. */
.sr-ai--end {
	background: var(--global-palette8, #f7fafc);
	box-shadow: none;
}
@media (max-width: 480px) {
	.sr-ai { padding: 16px; }
	.sr-ai__btns { grid-template-columns: 1fr 1fr; }
}
