/* Pacific Guesty Reviews — styled to sit next to the site's Trustindex Google widget. */
.pgr-widget {
	--pgr-star: #f6bb06;
	--pgr-text: #000;
	--pgr-muted: #6b6b6b;
	--pgr-card-bg: #fff;
	--pgr-radius: 12px;
	--pgr-gap: 16px;
	display: flex;
	align-items: center;
	gap: 24px;
	font-family: "Open Sans", Arial, Helvetica, sans-serif;
	font-size: 15px;
	color: var(--pgr-text);
	width: 100%;
	box-sizing: border-box;
}
.pgr-widget *, .pgr-widget *::before, .pgr-widget *::after { box-sizing: border-box; }

/* Score block */
.pgr-summary {
	flex: 0 0 210px;
	text-align: center;
}
.pgr-summary-label {
	font-size: 22px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .02em;
	margin-bottom: 4px;
}
.pgr-summary-text { font-size: 14px; color: var(--pgr-muted); margin-top: 6px; line-height: 1.4; }
.pgr-summary-text strong { color: var(--pgr-text); }
.pgr-summary-sources { font-size: 13px; font-weight: 600; margin-top: 6px; color: var(--pgr-text); }

/* Stars */
.pgr-stars { display: inline-flex; gap: 2px; line-height: 1; vertical-align: middle; }
.pgr-star {
	position: relative;
	width: 17px;
	height: 17px;
	background: #d8d8d8;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.3 1.3-6.6L2.5 9.4l6.6-.8z'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.3 1.3-6.6L2.5 9.4l6.6-.8z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.pgr-star-fill { position: absolute; inset: 0 auto 0 0; background: var(--pgr-star); }
.pgr-stars-lg .pgr-star { width: 26px; height: 26px; }

/* Carousel */
.pgr-carousel { position: relative; flex: 1 1 auto; min-width: 0; }
.pgr-track {
	display: flex;
	gap: var(--pgr-gap);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding: 6px 6px 14px;
	scroll-padding-inline: 6px;
	scrollbar-width: none;
}
.pgr-track::-webkit-scrollbar { display: none; }
.pgr-track:focus-visible { outline: 2px solid #2c6d8c; outline-offset: 2px; }
.pgr-card {
	flex: 0 0 calc((100% - 3 * var(--pgr-gap)) / 4);
	scroll-snap-align: start;
	display: flex;
}
.pgr-card-inner {
	background: var(--pgr-card-bg);
	border-radius: var(--pgr-radius);
	box-shadow: 1px 4px 10px rgba(0, 0, 0, .1), 0 0 2px rgba(0, 0, 0, .05);
	padding: 20px;
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.pgr-card-head { display: flex; align-items: center; gap: 10px; }
.pgr-avatar {
	flex: 0 0 40px;
	height: 40px;
	border-radius: 50%;
	color: #fff;
	font-weight: 600;
	font-size: 17px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.pgr-who { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; }
.pgr-name { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pgr-date { font-size: 13px; color: var(--pgr-muted); }
.pgr-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pgr-source {
	flex: 0 0 auto;
	font-size: 11px;
	font-weight: 700;
	padding: 3px 8px;
	border-radius: 20px;
	background: #f1f1f1;
	color: #444;
	white-space: nowrap;
}
.pgr-text {
	font-size: 15px;
	line-height: 1.45;
	display: -webkit-box;
	-webkit-line-clamp: 5;
	-webkit-box-orient: vertical;
	overflow: hidden;
	word-break: break-word;
}
.pgr-text.is-open { -webkit-line-clamp: unset; display: block; }
.pgr-headline { display: block; margin-bottom: 2px; }
.pgr-more {
	align-self: flex-start;
	background: none;
	border: 0;
	padding: 0;
	font: inherit;
	font-size: 14px;
	color: var(--pgr-muted);
	text-decoration: underline;
	cursor: pointer;
}
.pgr-more[hidden] { display: none; }
.pgr-stay { margin-top: auto; font-size: 13px; color: var(--pgr-muted); }

.pgr-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 0;
	background: #fff;
	box-shadow: 0 1px 6px rgba(0, 0, 0, .2);
	font-size: 24px;
	line-height: 1;
	color: #333;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 0 3px;
}
.pgr-nav[hidden] { display: none; }
.pgr-prev { left: -12px; }
.pgr-next { right: -12px; }

@media (max-width: 1100px) {
	.pgr-card { flex-basis: calc((100% - 2 * var(--pgr-gap)) / 3); }
}
@media (max-width: 860px) {
	.pgr-widget { flex-direction: column; align-items: stretch; }
	.pgr-summary { flex-basis: auto; }
	.pgr-card { flex-basis: calc((100% - var(--pgr-gap)) / 2); }
}
@media (max-width: 560px) {
	.pgr-card { flex-basis: 86%; }
	.pgr-nav { display: none !important; } /* swipe on phones; the next card peeks in */
}

/* Source badges (text only) */
.pgr-source-google { color: #1a73e8; background: #e8f0fe; }
.pgr-source-airbnb2 { color: #d70466; background: #fdeef3; }
.pgr-source-bookingCom { color: #003580; background: #e6eef8; }
.pgr-summary-sources .pgr-source-name { background: none; padding: 0; }
