/* HQ Testimonial Block — Styles */

.hq-testimonial {
	display: flex;
	justify-content: center;
	padding: 8px;
}

.hq-testimonial-card {
	width: 100%;
	max-width: 560px;
	margin: 0;
	padding: 36px 40px;
	box-shadow: 0 4px 24px rgba(0,0,0,0.08);
	position: relative;
}

/* Opening quote mark */
.hq-testimonial-card::before {
	content: '\201C';
	position: absolute;
	top: 16px;
	left: 28px;
	font-size: 5em;
	line-height: 1;
	opacity: 0.12;
	font-family: Georgia, serif;
	pointer-events: none;
}

/* Stars */
.hq-stars {
	display: flex;
	gap: 4px;
	margin-bottom: 16px;
}

.hq-star {
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	display: flex;
	align-items: center;
	transition: transform 0.15s ease;
}

.hq-star:hover {
	transform: scale(1.2);
}

/* Quote text */
.hq-testimonial-quote {
	font-size: 1.05em;
	line-height: 1.7;
	margin: 0 0 24px;
	font-style: italic;
}

/* Author footer */
.hq-testimonial-author {
	display: flex;
	align-items: center;
	gap: 14px;
}

.hq-testimonial-avatar {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}

.hq-avatar-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
}

.hq-testimonial-author-info {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.hq-testimonial-name {
	font-weight: 700;
	font-style: normal;
	font-size: 0.95em;
}

.hq-testimonial-role {
	font-size: 0.85em;
	opacity: 0.65;
}

/* ── Layout: minimal */
.hq-testimonial-minimal .hq-testimonial-card {
	box-shadow: none;
	border-left: 4px solid currentColor;
	border-radius: 0;
	padding-left: 28px;
}
.hq-testimonial-minimal .hq-testimonial-card::before {
	display: none;
}

/* ── Layout: centered */
.hq-testimonial-centered .hq-testimonial-card {
	text-align: center;
}
.hq-testimonial-centered .hq-stars {
	justify-content: center;
}
.hq-testimonial-centered .hq-testimonial-author {
	flex-direction: column;
	align-items: center;
	text-align: center;
}
.hq-testimonial-centered .hq-testimonial-card::before {
	display: none;
}

/* Editor helpers */
.hq-color-row {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
}
.hq-color-label {
	flex: 1;
	font-size: 12px;
	font-weight: 500;
}
.hq-color-row input[type="color"] {
	width: 40px;
	height: 32px;
	padding: 2px;
	border: 1px solid #ccc;
	border-radius: 4px;
	cursor: pointer;
	background: none;
}
.hq-media-btn {
	width: 100%;
	justify-content: center;
	margin-bottom: 8px;
}

@media (max-width: 480px) {
	.hq-testimonial-card { padding: 28px 24px; }
}
