/**
 * Avis Google Accueil — petit carrousel · navy #8c1515 · orange #8c1515
 */
html:has(.wpcursor-avis-google) {
	overflow-x: clip;
}

.entry-content > .wpcursor-component.wpcursor-avis-google,
.entry-content[data-ast-blocks-layout] > .wpcursor-component.wpcursor-avis-google,
.wpcursor-component.wpcursor-avis-google.alignfull {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	max-width: 100vw;
	width: 100vw;
}

.wpcursor-component.wpcursor-avis-google {
	--sr-navy: #8c1515;
	--sr-orange: #8c1515;
	--sr-orange-hover: #8c1515;
	--sr-white: #ffffff;
	--sr-ink: #590e0d;
	--sr-muted: #8c1515;
	--sr-line: #f98700;
	--sr-soft: #f3f6fa;
	--sr-font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
	--sr-pad: max(1rem, env(safe-area-inset-left), env(safe-area-inset-right));
	--sr-content: 84rem;
	--sr-card-w: min(19.5rem, 84vw);
	background: var(--sr-soft);
	box-sizing: border-box;
	color: var(--sr-ink);
	font-family: var(--sr-font);
	isolation: isolate;
	overflow: hidden;
	padding: 1.65rem 0 1.85rem;
	position: relative;
	width: 100%;
}

.wpcursor-component.wpcursor-avis-google *,
.wpcursor-component.wpcursor-avis-google *::before,
.wpcursor-component.wpcursor-avis-google *::after {
	box-sizing: border-box;
}

.wpcursor-component.wpcursor-avis-google .wpcursor-avis-google__inner {
	display: grid;
	gap: 1rem;
	margin: 0 auto;
	max-width: var(--sr-content);
	padding: 0 var(--sr-pad);
	position: relative;
	width: 100%;
	z-index: 1;
}

.wpcursor-component.wpcursor-avis-google .wpcursor-avis-google__header {
	align-items: end;
	display: grid;
	gap: 0.85rem;
}

.wpcursor-component.wpcursor-avis-google .wpcursor-avis-google__eyebrow {
	color: var(--sr-orange) !important;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1.3;
	margin: 0 0 0.4rem;
	text-transform: uppercase;
}

.wpcursor-component.wpcursor-avis-google .wpcursor-avis-google__title-row {
	align-items: center;
	display: flex;
	gap: 0.55rem;
}

.wpcursor-component.wpcursor-avis-google .wpcursor-avis-google__g {
	align-items: center;
	background: var(--sr-white);
	border: 1px solid var(--sr-line);
	border-radius: 999px;
	box-shadow: 0 1px 3px rgba(12, 74, 34, 0.06);
	display: inline-flex;
	flex: 0 0 auto;
	height: 1.7rem;
	justify-content: center;
	width: 1.7rem;
}

.wpcursor-component.wpcursor-avis-google .wpcursor-avis-google__title {
	color: var(--sr-navy) !important;
	font-size: clamp(1.05rem, 2.2vw, 1.35rem);
	font-weight: 700;
	letter-spacing: -0.015em;
	line-height: 1.25;
	margin: 0;
}

.wpcursor-component.wpcursor-avis-google .wpcursor-avis-google__score {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem 0.7rem;
	margin-top: 0.45rem;
}

.wpcursor-component.wpcursor-avis-google .wpcursor-avis-google__score-value {
	color: var(--sr-navy);
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.wpcursor-component.wpcursor-avis-google .wpcursor-avis-google__score-meta {
	color: var(--sr-muted);
	font-size: 0.84rem;
}

.wpcursor-component.wpcursor-avis-google .wpcursor-avis-google__controls {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: space-between;
}

.wpcursor-component.wpcursor-avis-google .wpcursor-avis-google__cta {
	align-items: center;
	color: var(--sr-navy) !important;
	display: inline-flex;
	font-size: 0.9rem;
	font-weight: 700;
	gap: 0.35rem;
	line-height: 1.3;
	min-height: 40px;
	text-decoration: none !important;
	transition: color 0.2s ease, gap 0.2s ease;
}

.wpcursor-component.wpcursor-avis-google .wpcursor-avis-google__cta:hover,
.wpcursor-component.wpcursor-avis-google .wpcursor-avis-google__cta:focus-visible {
	color: var(--sr-orange-hover) !important;
	gap: 0.55rem;
	outline: none;
}

.wpcursor-component.wpcursor-avis-google .wpcursor-avis-google__nav {
	display: inline-flex;
	gap: 0.45rem;
}

.wpcursor-component.wpcursor-avis-google .wpcursor-avis-google__btn {
	align-items: center;
	background: var(--sr-white);
	border: 1.5px solid var(--sr-line);
	border-radius: 999px;
	color: var(--sr-navy);
	cursor: pointer;
	display: inline-flex;
	height: 2.4rem;
	justify-content: center;
	padding: 0;
	transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
	width: 2.4rem;
}

.wpcursor-component.wpcursor-avis-google .wpcursor-avis-google__btn:hover,
.wpcursor-component.wpcursor-avis-google .wpcursor-avis-google__btn:focus-visible {
	background: rgba(140, 21, 21, 0.12);
	border-color: var(--sr-orange);
	color: var(--sr-navy);
	outline: none;
}

.wpcursor-component.wpcursor-avis-google .wpcursor-avis-google__btn:disabled {
	cursor: default;
	opacity: 0.35;
}

.wpcursor-component.wpcursor-avis-google .wpcursor-avis-google__viewport {
	margin-inline: calc(-1 * var(--sr-pad));
	min-width: 0;
}

.wpcursor-component.wpcursor-avis-google .wpcursor-avis-google__track {
	display: flex;
	gap: 0.75rem;
	-webkit-overflow-scrolling: touch;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	padding: 0.15rem var(--sr-pad) 0.35rem;
	scroll-behavior: smooth;
	scroll-padding-inline: var(--sr-pad);
	scrollbar-width: none;
	scroll-snap-type: x mandatory;
}

.wpcursor-component.wpcursor-avis-google .wpcursor-avis-google__track:focus-visible {
	outline: 2px solid var(--sr-orange);
	outline-offset: 3px;
}

.wpcursor-component.wpcursor-avis-google .wpcursor-avis-google__track::-webkit-scrollbar {
	display: none;
}

.wpcursor-component.wpcursor-avis-google .wpcursor-avis-google__card {
	background: var(--sr-white);
	border: 1px solid var(--sr-line);
	border-radius: 1rem;
	box-shadow: 0 8px 20px rgba(12, 74, 34, 0.06);
	color: var(--sr-ink);
	display: grid;
	flex: 0 0 var(--sr-card-w);
	gap: 0.55rem;
	grid-template-rows: auto auto 1fr auto;
	min-height: 11.75rem;
	padding: 0.95rem 1rem 0.9rem;
	scroll-snap-align: start;
	user-select: none;
}

.wpcursor-component.wpcursor-avis-google .wpcursor-avis-google__card-head {
	align-items: center;
	display: grid;
	gap: 0.65rem;
	grid-template-columns: auto 1fr auto;
	min-width: 0;
}

.wpcursor-component.wpcursor-avis-google .wpcursor-avis-google__avatar {
	align-items: center;
	background: var(--sr-avatar, #8c1515);
	border-radius: 999px;
	color: #fff;
	display: inline-flex;
	flex: 0 0 auto;
	font-size: 0.95rem;
	font-weight: 700;
	height: 2.35rem;
	justify-content: center;
	line-height: 1;
	text-transform: none;
	width: 2.35rem;
}

.wpcursor-component.wpcursor-avis-google .wpcursor-avis-google__who {
	min-width: 0;
}

.wpcursor-component.wpcursor-avis-google .wpcursor-avis-google__name {
	color: var(--sr-ink) !important;
	font-size: 0.92rem;
	font-weight: 700;
	line-height: 1.25;
	margin: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.wpcursor-component.wpcursor-avis-google .wpcursor-avis-google__meta {
	color: var(--sr-muted);
	font-size: 0.72rem;
	line-height: 1.3;
	margin: 0.1rem 0 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.wpcursor-component.wpcursor-avis-google .wpcursor-avis-google__badge {
	align-items: center;
	display: inline-flex;
	opacity: 0.95;
}

.wpcursor-component.wpcursor-avis-google .wpcursor-avis-google__rating {
	align-items: center;
	display: flex;
	gap: 0.45rem;
}

.wpcursor-component.wpcursor-avis-google .wpcursor-avis-google__stars {
	display: block;
	flex: 0 0 auto;
	height: 15px;
	width: 78px;
}

.wpcursor-component.wpcursor-avis-google .wpcursor-avis-google__when {
	color: var(--sr-muted);
	font-size: 0.74rem;
	line-height: 1.2;
}

.wpcursor-component.wpcursor-avis-google .wpcursor-avis-google__quote {
	-webkit-box-orient: vertical;
	color: #8c1515;
	display: -webkit-box;
	font-size: 0.86rem;
	-webkit-line-clamp: 5;
	line-clamp: 5;
	line-height: 1.45;
	margin: 0;
	overflow: hidden;
}

.wpcursor-component.wpcursor-avis-google .wpcursor-avis-google__visit {
	color: #8c1515;
	font-size: 0.72rem;
	line-height: 1.3;
	margin: 0;
}

@media (min-width: 768px) {
	.wpcursor-component.wpcursor-avis-google {
		--sr-pad: clamp(1.25rem, 3.5vw, 2.75rem);
		padding: 1.85rem 0 2.1rem;
	}

	.wpcursor-component.wpcursor-avis-google .wpcursor-avis-google__header {
		grid-template-columns: minmax(0, 1fr) auto;
	}

	.wpcursor-component.wpcursor-avis-google .wpcursor-avis-google__controls {
		justify-content: flex-end;
		padding-bottom: 0.15rem;
	}

	.wpcursor-component.wpcursor-avis-google .wpcursor-avis-google__card {
		--sr-card-w: 20.5rem;
		min-height: 12.25rem;
	}
}

@media (min-width: 1100px) {
	.wpcursor-component.wpcursor-avis-google .wpcursor-avis-google__card {
		--sr-card-w: 21.25rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wpcursor-component.wpcursor-avis-google .wpcursor-avis-google__track {
		scroll-behavior: auto;
	}

	.wpcursor-component.wpcursor-avis-google .wpcursor-avis-google__btn,
	.wpcursor-component.wpcursor-avis-google .wpcursor-avis-google__cta {
		transition: none !important;
	}
}
