/* ND Google Reviews — Frontend.
   Farben und Abstände hängen an CSS-Variablen; je Website lassen sie sich im
   Theme oder im Elementor-Kit überschreiben, ohne das Plugin anzufassen. */

.ndgr {
	--ndgr-gold: #c19d75;
	--ndgr-dunkel: #211d18;
	--ndgr-grau: #6f6a61;
	--ndgr-linie: #e7e0d4;
	--ndgr-flaeche: #fdfbf9;
	--ndgr-radius: 6px;
	--ndgr-luecke: 24px;

	font-family: inherit;
	color: var(--ndgr-dunkel);
}

/* Kopfzeile mit Note und Anzahl */
.ndgr-kopf {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 20px;
	font-size: 15px;
}

.ndgr-kopf a {
	display: flex;
	align-items: center;
	gap: 10px;
	color: inherit;
	text-decoration: none;
}

.ndgr-kopf a:hover .ndgr-kopf-text {
	text-decoration: underline;
}

.ndgr-kopf-text {
	font-weight: 600;
}

/* Sterne */
.ndgr-sterne {
	display: inline-flex;
	gap: 2px;
	line-height: 0;
}

.ndgr-stern {
	fill: var(--ndgr-linie);
	flex: none;
}

.ndgr-stern--voll {
	fill: var(--ndgr-gold);
}

/* Karten */
.ndgr-liste {
	display: grid;
	gap: var(--ndgr-luecke);
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.ndgr--liste .ndgr-liste {
	grid-template-columns: 1fr;
}

.ndgr-karte {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding: 26px;
	background: var(--ndgr-flaeche);
	border: 1px solid var(--ndgr-linie);
	border-radius: var(--ndgr-radius);
}

.ndgr-kopfzeile {
	display: flex;
	align-items: center;
	gap: 12px;
}

.ndgr-avatar {
	flex: none;
	border-radius: 50%;
}

.ndgr-person {
	display: flex;
	flex-direction: column;
	line-height: 1.3;
	min-width: 0;
}

.ndgr-name {
	font-weight: 600;
	font-size: 15px;
}

.ndgr-datum {
	font-size: 13px;
	color: var(--ndgr-grau);
}

.ndgr-text {
	margin: 0;
	padding: 0;
	border: 0;
	quotes: none;
	font-size: 15px;
	line-height: 1.7;
	color: var(--ndgr-grau);
}

.ndgr-antwort {
	padding: 14px 16px;
	background: rgba(193, 157, 117, 0.09);
	border-radius: var(--ndgr-radius);
	font-size: 14px;
	line-height: 1.6;
	color: var(--ndgr-grau);
}

.ndgr-antwort-label {
	display: block;
	margin-bottom: 4px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--ndgr-gold);
}

.ndgr-quelle {
	margin-top: auto;
	padding-top: 4px;
	font-size: 12px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--ndgr-grau);
}

/* Nur Note und Anzahl */
.ndgr--badge .ndgr-kopf {
	margin: 0;
}

.ndgr-hinweis {
	padding: 14px 16px;
	border: 1px dashed var(--ndgr-linie, #e7e0d4);
	border-radius: 6px;
	color: #6f6a61;
	font-size: 14px;
}

@media (max-width: 640px) {
	.ndgr-karte {
		padding: 20px;
	}
}

/* Herkunftshinweis — Pflichtangabe nach § 5b Abs. 3 UWG */
.ndgr-herkunft {
	margin: 22px 0 0;
	font-size: 13px;
	line-height: 1.6;
	color: var(--ndgr-grau);
}
