/* Artful Hen Google Reviews. Cards inherit the theme's .testimonial-card styles. */
.ahgr {
	--ahgr-accent: #b01030;
	--ahgr-ink: #303030;
	--ahgr-muted: #6c6a6b;
	--ahgr-star: #e7a23b;
	--ahgr-star-empty: #d9d2c7;
}

.ahgr-sample-note {
	margin: 0 auto 1.25rem;
	max-width: max-content;
	padding: .35rem .9rem;
	border: 1px dashed var(--ahgr-accent);
	border-radius: 999px;
	color: var(--ahgr-accent);
	font-size: .85rem;
	text-align: center;
}

.ahgr-heading {
	text-align: center;
	margin-bottom: 1.5rem;
}

/* ---------- Stars ---------- */
.ahgr-stars {
	position: relative;
	display: inline-block;
	line-height: 0;
	vertical-align: middle;
}
.ahgr-stars svg {
	width: 1.05em;
	height: 1.05em;
	margin-right: .08em;
}
.ahgr-stars__base svg { fill: var(--ahgr-star-empty); }
.ahgr-stars__fill {
	position: absolute;
	inset: 0 auto 0 0;
	overflow: hidden;
	white-space: nowrap;
}
.ahgr-stars__fill svg { fill: var(--ahgr-star); }

/* ---------- Summary ---------- */
.ahgr-summary {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 1.5rem;
	background: #fff;
	border-radius: 16px;
	padding: 1.1rem 1.5rem;
	margin-bottom: 1.5rem;
	box-shadow: 0 20px 44px -30px rgba(0, 0, 0, .4);
}
.ahgr-summary__score {
	display: flex;
	align-items: center;
	gap: .75rem;
}
.ahgr-summary__avg {
	font-family: "Brandon Bold", sans-serif;
	font-size: 2.4rem;
	line-height: 1;
	color: var(--ahgr-ink);
}
.ahgr-summary__meta {
	display: flex;
	flex-direction: column;
	gap: .2rem;
}
.ahgr-summary__meta .ahgr-stars { font-size: 1.15rem; }
.ahgr-summary__count {
	font-size: .9rem;
	color: var(--ahgr-muted);
}
.ahgr-summary__actions {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
}

/* ---------- Cards ---------- */
.ahgr-card__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: .5rem;
}
.ahgr-card__top .ahgr-stars { font-size: 1.05rem; }

.testimonial-card .ahgr-card__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}
.ahgr-card__clamp {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 6;
	line-clamp: 6;
	overflow: hidden;
}
.ahgr-card__clamp p {
	font: inherit;
	color: inherit;
	margin: 0 0 .6em;
}
.ahgr-card__clamp p:last-child { margin-bottom: 0; }
.ahgr-card__text.is-open .ahgr-card__clamp {
	display: block;
	-webkit-line-clamp: unset;
	line-clamp: unset;
}
.ahgr-card__more {
	margin-top: .5rem;
	padding: 0;
	border: 0;
	background: none;
	font-family: "Brandon Bold", sans-serif;
	font-style: normal;
	font-size: .85rem;
	letter-spacing: .04em;
	color: var(--ahgr-accent);
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.ahgr-card__author {
	display: flex;
	align-items: center;
	gap: .75rem;
}
.ahgr-avatar {
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
}
.ahgr-avatar--initials {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #ece4d8;
	color: var(--ahgr-accent);
	font-family: "Brandon Bold", sans-serif;
	font-size: .95rem;
}

@media (max-width: 575.98px) {
	.ahgr-summary { padding: 1rem 1.1rem; }
	.ahgr-summary__actions { width: 100%; }
	.ahgr-summary__actions .btn { flex: 1 1 auto; }
}
