.grc-carousel {
	--grc-gap: 20px;
	--grc-columns: 3;
	max-width: 1100px;
	margin: 0 auto;
	padding: 20px 0;
}

.grc-track-wrap {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
}

.grc-track {
	display: flex;
	gap: var(--grc-gap);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding: 8px 4px 16px;
	flex: 1;
	-ms-overflow-style: none;
	scrollbar-width: none;
}
.grc-track::-webkit-scrollbar {
	display: none;
}

.grc-slide {
	flex: 0 0 calc((100% - (var(--grc-columns) - 1) * var(--grc-gap)) / var(--grc-columns));
	scroll-snap-align: start;
	min-width: 0;
}

.grc-card {
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
	padding: 24px;
	height: 100%;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
}

.grc-stars {
	margin-bottom: 14px;
	font-size: 20px;
	line-height: 1;
	letter-spacing: 2px;
}

.grc-star {
	color: #e0e0e0;
}
.grc-star.is-filled {
	color: #ffc60a;
}

.grc-text {
	color: #333;
	font-size: 15px;
	line-height: 1.55;
	margin: 0 0 20px;
	flex: 1;
	display: -webkit-box;
	-webkit-line-clamp: 5;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.grc-author {
	display: flex;
	align-items: center;
	gap: 12px;
}

.grc-avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}
.grc-avatar-placeholder {
	background: #d9d9d9;
}

.grc-author-info {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.grc-author-name {
	font-size: 14px;
	color: #1a1a1a;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.grc-author-time {
	font-size: 13px;
	color: #8a8a8a;
}

.grc-nav {
	flex-shrink: 0;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 1px solid #e2e2e2;
	background: #fff;
	color: #333;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}
.grc-nav:hover {
	background: #f5f5f5;
}
.grc-nav:disabled {
	opacity: 0.35;
	cursor: default;
}

.grc-dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 4px;
}

.grc-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #ddd;
	border: none;
	padding: 0;
	cursor: pointer;
}
.grc-dot.is-active {
	background: #999;
}

.grc-admin-error {
	background: #fbeaea;
	border: 1px solid #e0b4b4;
	color: #8a2d2d;
	padding: 12px 16px;
	border-radius: 8px;
}

/* El conteo de columnas responsivo lo calcula grc.js (setProperty en el
   propio elemento, por eso gana siempre a estas reglas si se dejaran acá)
   a partir del valor de escritorio configurado en Ajustes. */

@media (max-width: 600px) {
	.grc-nav {
		display: none;
	}
}
