/* Net Launch: Google reviews */
.nlc-rv {
	--rv-line: var(--wp--preset--color--border, #e4e4e7);
	--rv-card: var(--wp--preset--color--base, #fff);
	--rv-text: var(--wp--preset--color--contrast, #1d2433);
	--rv-accent: var(--wp--preset--color--accent, #1f6fe5);
	--rv-star: #fbbc04;
	color: var(--rv-text);
	font-size: 16px;
	line-height: 1.55;
}
.nlc-rv-stars {
	position: relative;
	display: inline-block;
	width: max-content;
	align-self: flex-start;
	font-size: var(--s, 18px);
	line-height: 1;
	letter-spacing: 2px;
	white-space: nowrap;
}
.nlc-rv-stars__bg {
	color: color-mix(in srgb, currentColor 18%, transparent);
}
.nlc-rv-stars__on {
	position: absolute;
	inset: 0 auto 0 0;
	overflow: hidden;
	color: var(--rv-star);
}
.nlc-rv-g {
	flex: none;
	vertical-align: middle;
}

/* Summary panel */
.nlc-rv--slider,
.nlc-rv--grid {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: 28px;
	align-items: start;
}
.nlc-rv-sum {
	text-align: center;
	padding: 22px 16px;
	border: 1px solid var(--rv-line);
	border-radius: 16px;
	background: var(--rv-card);
}
.nlc-rv-sum p {
	margin: 0;
}
.nlc-rv-sum__label {
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 14px;
}
.nlc-rv-sum__n b {
	display: block;
	font-size: 54px;
	line-height: 1.05;
	margin: 6px 0 4px;
}
.nlc-rv-sum__count {
	font-size: 14px;
	margin-top: 8px !important;
	opacity: 0.85;
}
.nlc-rv-sum__count a {
	color: inherit;
}
.nlc-rv-sum__g {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 12px !important;
	font-weight: 600;
	font-size: 15px;
}

/* Cards */
.nlc-rv-card {
	margin: 0;
	padding: 20px;
	border: 1px solid var(--rv-line);
	border-radius: 16px;
	background: var(--rv-card);
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
}
.nlc-rv-card__top {
	display: flex;
	align-items: center;
	gap: 10px;
}
.nlc-rv-card__top figcaption {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	line-height: 1.3;
}
.nlc-rv-card__top strong {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.nlc-rv-card__top a {
	color: inherit;
	text-decoration: none;
}
.nlc-rv-card__top small {
	opacity: 0.7;
	font-size: 13px;
}
.nlc-rv-av {
	flex: none;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-weight: 700;
	font-size: 15px;
	color: #fff;
	background: var(--rv-accent);
}
.nlc-rv-text {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 15px;
}
.nlc-rv-text p {
	margin: 0;
}
.nlc-rv-text.is-long:not(.is-open) p {
	display: -webkit-box;
	-webkit-line-clamp: 5;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.nlc-rv-more {
	align-self: flex-start;
	padding: 0;
	border: 0;
	background: none;
	color: var(--rv-accent);
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}

/* Slider */
.nlc-rv-slide {
	position: relative;
	min-width: 0;
}
.nlc-rv-track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 32px) / 3);
	gap: 16px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	padding-bottom: 4px;
}
.nlc-rv-track::-webkit-scrollbar {
	display: none;
}
.nlc-rv-track > .nlc-rv-card {
	scroll-snap-align: start;
}
.nlc-rv-nav {
	display: flex;
	gap: 8px;
	justify-content: flex-end;
	margin-top: 12px;
}
.nlc-rv-nav button {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid var(--rv-line);
	background: var(--rv-card);
	color: var(--rv-text);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}
.nlc-rv-nav button:disabled {
	opacity: 0.35;
	cursor: default;
}
.nlc-rv-nav[hidden] {
	display: none;
}

/* Grid */
.nlc-rv-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 16px;
}

/* Buttons */
.nlc-rv-btns {
	grid-column: 1 / -1;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	margin: 8px 0 0;
}
.nlc-rv-btn {
	display: inline-block;
	padding: 11px 20px;
	border-radius: 999px;
	background: var(--rv-accent);
	color: #fff !important;
	text-decoration: none !important;
	font-weight: 600;
	font-size: 15px;
}
.nlc-rv-btn--ghost {
	background: transparent;
	color: var(--rv-text) !important;
	border: 1px solid var(--rv-line);
}

/* Badge */
.nlc-rv--badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border: 1px solid var(--rv-line);
	border-radius: 999px;
	background: var(--rv-card);
	color: var(--rv-text) !important;
	text-decoration: none !important;
	font-size: 15px;
}
.nlc-rv--badge span:last-child {
	opacity: 0.8;
}

/* Quote */
.nlc-rv--quote {
	max-width: 760px;
	margin-inline: auto;
	text-align: center;
}
.nlc-rv-card--big {
	align-items: center;
	padding: 28px;
}
.nlc-rv-card--big .nlc-rv-stars {
	align-self: center;
}
.nlc-rv-card--big .nlc-rv-card__top {
	justify-content: center;
}
.nlc-rv-card--big .nlc-rv-card__top figcaption {
	flex: none;
	text-align: left;
}
.nlc-rv-card--big .nlc-rv-text {
	font-size: 19px;
}
.nlc-rv-quote__sum {
	margin: 14px 0 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: center;
	justify-content: center;
	font-size: 15px;
}
.nlc-rv-quote__sum a {
	color: inherit;
}

.nlc-rv-empty {
	padding: 18px;
	border: 1px dashed #c3c4c7;
	border-radius: 8px;
	text-align: center;
	color: #50575e;
	font-size: 14px;
}

@media (max-width: 1000px) {
	.nlc-rv-track {
		grid-auto-columns: calc((100% - 16px) / 2);
	}
}
@media (max-width: 760px) {
	.nlc-rv--slider,
	.nlc-rv--grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 18px;
	}
	.nlc-rv-track {
		grid-auto-columns: 86%;
	}
}

/* Rating only (no review texts from Google) */
.nlc-rv--summary {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
}
.nlc-rv--summary .nlc-rv-sum {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 6px 18px;
	padding: 18px 26px;
}
.nlc-rv--summary .nlc-rv-sum__n b {
	font-size: 44px;
	margin: 0;
}
.nlc-rv--summary .nlc-rv-sum p {
	margin: 0 !important;
}
.nlc-rv--summary .nlc-rv-btns {
	margin: 0;
}
