/* ===== Bloque general ===== */

.gr-tst-inner {
  max-width: 756px;
  margin: 0 auto;
}

.gr-tst-swiper {
	padding-top: 20px;
}

/* ===== Card ===== */

.gr-tst-card {
  height: auto;
  display: flex;
}

.gr-tst-card-inner {
	position: relative;
	background: #ffffff;
	padding: 48px 24px 24px 24px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

/* Comillas grandes arriba */
.gr-tst-quote-icon {
  font-size: 52px;
  line-height: 1;
  color: #ffc62a;
  margin-bottom: 16px;
}

/* Texto del testimonio */
.gr-tst-text {
	font-size: 1rem;
	line-height: 1.3;
	color: #404040;
	margin-bottom: 16px;
	font-weight: 500;
}

.gr-tst-text p {
  margin: 0;
}

.comilla-hpr {
	position: absolute;
	top: -20px;
}

/* Estrellas */
.gr-tst-rating {
	display: inline-flex;
	gap: 2px;
	margin-bottom: 32px;
}

.gr-tst-star {
  color: #ffc62a;
  font-size: 28px;
	line-height: 28px;
}

/* Persona */
.gr-tst-person {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gr-tst-avatar-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  padding: 3px;
  border: 2px dashed #0d3b79;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gr-tst-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
}

.gr-tst-person-meta {
  display: flex;
  flex-direction: column;
}

.gr-tst-person-name {
  font-weight: 700;
  font-size: 16px;
  color: #0d274a;
}

.gr-tst-person-role {
  font-size: 14px;
  color: #6a7489;
}

/* ===== Pagination: solo dots ===== */

.gr-tst-pagination {
	margin-top: 24px;
	text-align: center;
	position: relative;
}

.gr-tst-pagination .swiper-pagination-bullet {
	width: 10px;
	height: 10px;
	background: #ffffff;
	opacity: 0.4;
	transition: all 0.3s ease;
	border-radius: 10px;
}

.gr-tst-pagination .swiper-pagination-bullet:hover {
	opacity: 1;
}

.gr-tst-pagination .swiper-pagination-bullet-active {
  opacity: 1;
}

.gr-tst-pagination .swiper-pagination-bullet-active {
	width: 50px;
	border-radius: 10px;
	background: var(--wp--preset--color--custom-amarillo);
}

/* ===== Responsivo ===== */

@media (max-width: 767px) {
	.gr-tst-card-inner {
		padding: 48px 24px 24px 24px;
	}
	.gr-tst-inner {
		max-width: 300px;
	}
}

@media (max-width: 1024px) {
	.gr-tst-inner {
		max-width: 640px;
	}
}