.scr-reviews-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 1.5rem;
}

.scr-review {
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	padding: 1.25rem 1.5rem;
	background: #fff;
}

.scr-review-text p:last-child {
	margin-bottom: 0.75rem;
}

.scr-review-footer {
	font-size: 0.9rem;
	color: #555;
}

.scr-review-name {
	font-weight: 600;
}

.scr-review-link {
	text-decoration: underline;
}

.scr-elementor-reviews-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 1.5rem;
}

.scr-elementor-review-item {
	height: 100%;
}

.scr-review-content p:last-child {
	margin-bottom: 0;
}

/*
 * Sentence-aware trimming in PHP means one review's excerpt can still end up
 * longer than another's (it always finishes its sentence). This clamp is the
 * visual backstop that keeps every card the same height regardless — it only
 * kicks in for the rare outlier that runs past 6 lines.
 */
.scr-review-content {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 6;
	line-clamp: 6;
	overflow: hidden;
}

.scr-load-more-wrap {
	text-align: center;
	margin-top: 2rem;
}

/*
 * Matches the site's Elementor button styling by reusing its global color
 * variables (Site Settings -> Global Colors) instead of hardcoded hex, so it
 * stays in sync with the theme. Falls back to the brand orange seen on the
 * header CTA if those variables aren't defined on a given page.
 */
.scr-load-more-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 16px !important;
	border: none;
	border-radius: 50px;
	background-color: var(--e-global-color-primary, #DD9158);
	color: var(--e-global-color-2726e0e, #fff);
	font-weight: 600;
	font-size: 1rem;
	cursor: pointer;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.scr-load-more-btn:hover:not(:disabled) {
	opacity: 0.85;
	transform: translateY(-2px);
  	background-color: var(--e-global-color-primary, #DD9158);
}

.scr-load-more-btn:disabled {
	opacity: 0.6;
	cursor: default;
	transform: none;
}
