/* HHR Property Page Layout — reviews slider */

/* Yellow stars: the plugin draws each star as a mask, so the colour is its background. */
.hhr-reviews .svg-wprsp-star,
.hhr-reviews .wprevpro_star_imgs .svgicons {
	background-color: var(--hhr-star, #ffc100) !important;
	color: var(--hhr-star, #ffc100) !important;
}

.hhr-rev {
	position: relative;
	padding: 0 52px;
}
.hhr-rev__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 22px) / 2);
	column-gap: 22px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	outline: none;
}
.hhr-rev__track::-webkit-scrollbar { display: none; }
.hhr-rev__track > .outerrevdiv {
	width: auto !important;
	max-width: none !important;
	float: none !important;
	padding: 0 !important;
	margin: 0 !important;
	scroll-snap-align: start;
	display: flex;
}
.hhr-rev__track > .outerrevdiv > * {
	flex: 1;
	margin: 0 !important;
}
.hhr-rev__track .wpproslider_t2_DIV_2 {
	height: 100%;
	box-sizing: border-box;
}

/* Arrows: thin chevrons, as in the design. */
.hhr-rev__arrow {
	position: absolute;
	top: 50%;
	width: 40px;
	height: 56px;
	margin-top: -28px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	color: #3a5ba8;
	transition: opacity .3s;
}
.hhr-rev__arrow::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 22px;
	height: 22px;
	border-left: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translate(-30%, -50%) rotate(45deg);
}
.hhr-rev__arrow--prev { left: 0; }
.hhr-rev__arrow--next { right: 0; }
.hhr-rev__arrow--next::before { transform: translate(-70%, -50%) rotate(-135deg); }
.hhr-rev__arrow:disabled { opacity: .25; cursor: default; }
.hhr-rev__arrow:not(:disabled):hover { color: var(--hhr-teal, #0a4552); }

/* The plugin's own load more button, in the site's button style. */
.hhr-reviews .wprevpro_load_more_div {
	text-align: center;
	margin-top: 41px;
}
.hhr-reviews .wprevpro_load_more_btn {
	display: inline-block;
	padding: 0 26px !important;
	line-height: 48px !important;
	border: 0 !important;
	border-radius: 6px !important;
	background: var(--hhr-teal, #0a4552) !important;
	color: #fff !important;
	font-family: var(--hhr-sans, ct_font_figtree, Figtree, sans-serif);
	font-size: 19px !important;
	text-transform: none;
	cursor: pointer;
}
.hhr-reviews .wprevpro_load_more_btn:hover { background: #0d5666 !important; }
.hhr-reviews .wprevpro_load_more_btn::first-letter { text-transform: uppercase; }

/* "View all reviews" button sits beside load more, in the outline style. */
.hhr-reviews .wprevpro_load_more_div {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 14px;
}
.hhr-reviews .wprevpro_load_more_div > img { order: 3; }
.hhr-rev__viewall {
	display: inline-block;
	padding: 0 26px;
	line-height: 46px;
	border: 1px solid var(--hhr-teal, #0a4552);
	border-radius: 6px;
	background: transparent;
	color: var(--hhr-teal, #0a4552);
	font-family: var(--hhr-sans, ct_font_figtree, Figtree, sans-serif);
	font-size: 19px;
	cursor: pointer;
	transition: background .25s, color .25s;
}
.hhr-rev__viewall:hover:not(:disabled) { background: var(--hhr-teal, #0a4552); color: #fff; }
.hhr-rev__viewall:disabled { opacity: .6; cursor: progress; }

/* All reviews: a plain grid, 3 across. */
.hhr-rev.hhr-rev--all { padding: 0; }
.hhr-rev--all .hhr-rev__arrow { display: none; }
.hhr-rev--all .hhr-rev__track {
	grid-auto-flow: row;
	grid-auto-columns: auto;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	row-gap: 22px;
	overflow: visible;
	scroll-snap-type: none;
}
@media (max-width: 1000px) {
	.hhr-rev--all .hhr-rev__track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
	.hhr-rev--all .hhr-rev__track { grid-template-columns: 1fr; }
	.hhr-rev { padding: 0 34px; }
	.hhr-rev__track { grid-auto-columns: 100%; }
	.hhr-rev__arrow { width: 30px; }
	.hhr-rev__arrow::before { width: 16px; height: 16px; }
}
