/**
 * Public review display styles. All rules are scoped to the plugin wrapper.
 */

.pr-google-reviews .reviews-display-container {
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	max-width: 1100px;
	margin: auto;
	gap: 50px 2%;
}

.pr-google-reviews .reviews-toolbar {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	max-width: 1100px;
	margin: 0 auto 24px;
	gap: 10px;
}

.pr-google-reviews .reviews-toolbar label {
	font-weight: 600;
}

.pr-google-reviews .reviews-sort {
	min-width: 170px;
	padding: 8px 32px 8px 10px;
}

.pr-google-reviews .reviews-sort-status {
	min-width: 100px;
	color: #646970;
	font-size: 13px;
}

.pr-google-reviews .reviews-display-rev-container {
	width: 32%;
	height: 100%;
	min-height: 350px;
	padding: 25px 20px;
	background: #fff;
	box-shadow: 0 4px 16px 4px rgba(0, 0, 0, 0.06);
	text-align: left;
}

.pr-google-reviews .logo-cont {
	display: flex;
	align-items: center;
	margin-bottom: 10px;
}

.pr-google-reviews .logo-cont img {
	height: 20px;
}

.pr-google-reviews .logo-cont img:first-child {
	height: 35px;
	margin-right: 10px;
}

.pr-google-reviews .star-rating {
	display: flex;
}

.pr-google-reviews .star-rating svg {
	margin-right: 5px;
}

.pr-google-reviews .star-rating svg path,
.pr-google-reviews .star-rating svg circle {
	fill: #ff850a;
	stroke: #ff850a;
	stroke-width: 2px;
	stroke-linejoin: round;
}

.pr-google-reviews .review-name,
.pr-google-reviews .review-name a {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--secondary, inherit);
	font-size: 20px;
	font-weight: 900;
	text-decoration: none;
}

.pr-google-reviews .reviewer-photo {
	width: 70px;
	height: 70px;
	flex: 0 0 70px;
	border-radius: 50%;
	object-fit: cover;
}

.pr-google-reviews .review-date {
	display: block;
	margin-top: 6px;
	color: #646970;
	font-size: 13px;
}

.pr-google-reviews .review-comment {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid #b9b9b9;
}

.pr-google-reviews .new_morelink {
	display: block;
	margin-top: 8px;
	font-weight: 900;
}

.pr-google-reviews.reviews-hoarding .new_morelink {
	color: #4188f7;
}

.pr-google-reviews .lm-cont {
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: 1160px;
	margin: 60px auto 0;
	gap: 20px;
}

.pr-google-reviews .lm-cont a {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 12px 30px;
	border-radius: 30px;
	background: var(--btn-primary-bg, #3155e7);
	color: #fff;
	font-size: 16px;
	text-decoration: none;
}

.pr-google-reviews.reviews-hoarding .lm-cont a {
	background: #4188f7;
}

.pr-google-reviews .loader {
	display: inline-flex;
	margin-left: 7px;
}

.pr-google-reviews .reviews-spinner {
	display: inline-block;
	width: 16px;
	height: 16px;
	border: 3px solid rgba(255, 255, 255, 0.35);
	border-top-color: #fff;
	border-radius: 50%;
	animation: pr-google-reviews-spin 0.7s linear infinite;
}

@keyframes pr-google-reviews-spin {
	to {
		transform: rotate(360deg);
	}
}

@media (min-width: 768px) and (max-width: 991px) {
	.pr-google-reviews .reviews-display-rev-container {
		width: 46%;
		flex: 1 1 33%;
	}
}

@media (max-width: 767px) {
	.pr-google-reviews .reviews-toolbar {
		align-items: stretch;
		flex-direction: column;
	}

	.pr-google-reviews .reviews-sort {
		width: 100%;
	}

	.pr-google-reviews .reviews-display-container {
		gap: 30px 2%;
	}

	.pr-google-reviews .reviews-display-rev-container {
		width: 100%;
		flex: 1 1 50%;
	}

	.pr-google-reviews .lm-cont {
		flex-direction: column;
	}
}
