/* ============================================================
   Testimonials Slick slider
   ============================================================ */

/* Neutralize the original CSS grid once Slick takes over */
.pf-testimonials-grid.slick-initialized {
	display: block;
}

/* Equal-height slides via a pure flex-stretch chain (no height:100% percentage
   chain, so it holds up at every slidesToShow / breakpoint):
   track stretches all slides -> slide is a flex column -> slide wrapper stretches
   -> card grows to fill. Horizontal gap between cards via slide margins. */
.pf-testimonials-grid .slick-list {
	margin: 0 -12px;
}
.pf-testimonials-grid .slick-track {
	display: flex;
	align-items: stretch;
}
.pf-testimonials-grid .slick-slide {
	height: auto;          /* override Slick's fixed slide height so it can stretch */
	margin: 0 12px;
	display: flex;
	flex-direction: column;
}
.pf-testimonials-grid .slick-slide > div {
	display: flex;
	flex: 1 1 auto;        /* wrapper fills the stretched slide */
}

/* Card fills the slide height + keeps visible even when Slick clones it
   (the theme's .reveal sets opacity:0 and clones never get .is-visible) */
.pf-testimonials-grid .pf-testimonial {
	opacity: 1 !important;
	transform: none !important;
	flex: 1 1 auto;        /* grow to match the tallest card in the row */
}

/* ---- Bottom navigation: [ prev ]  • • •  [ next ] ---- */
.testi-slider-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.25rem;
	margin-top: 2.5rem;
}

.testi-arrow {
	width: 48px;
	height: 48px;
	flex: 0 0 auto;
	border-radius: 9999px;
	border: 1px solid #e2e8f0;
	background: #ffffff;
	color: var(--pflegori-blue, #0066cc);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.4rem;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
	transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.testi-arrow:hover,
.testi-arrow:focus-visible {
	background: var(--pflegori-blue, #0066cc);
	color: #ffffff;
	transform: translateY(-2px);
	outline: none;
}
.testi-arrow.slick-disabled {
	opacity: 0.45;
	cursor: default;
	transform: none;
}
.testi-arrow--prev { order: 0; }
.testi-arrow--next { order: 2; }

/* Dots sit between the arrows */
.testi-slider-nav .slick-dots {
	order: 1;
	position: static;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: nowrap;
	gap: 8px;
	/* Fixed width so the arrows never shift when the active dot widens */
	width: 150px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.testi-slider-nav .slick-dots li {
	width: auto;
	height: auto;
	margin: 0;
}
.testi-slider-nav .slick-dots li button {
	width: 10px;
	height: 10px;
	padding: 0;
	border: 0;
	border-radius: 9999px;
	background: #cbd5e1;
	cursor: pointer;
	transition: background-color 0.2s ease, width 0.2s ease;
}
.testi-slider-nav .slick-dots li button:before {
	display: none;
}
.testi-slider-nav .slick-dots li.slick-active button {
	width: 26px;
	background: var(--pflegori-blue, #0066cc);
}

/* ============================================================
   Authentic Google review card
   ============================================================ */

/* Tighter vertical rhythm than the generic testimonial card */
.pf-review {
	gap: 0.875rem;
}

/* Header: avatar | (name + time) | Google logo — top of the card */
.pf-review .pf-review-head {
	display: flex;
	align-items: center;
	gap: 0.875rem;
}
.pf-review-meta {
	flex: 1 1 auto;
	min-width: 0;
}
.pf-review .pf-testimonial-name {
	font-weight: 600;
	font-size: 1rem;
	color: #1f2937;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.pf-review .pf-testimonial-role {
	font-size: 0.8125rem;
	color: #70757a;
	margin-top: 2px;
}

/* Round profile photo (falls back to the initials avatar) */
.pf-testimonial-avatar--photo {
	padding: 0;
	overflow: hidden;
	background: none;
	flex: 0 0 auto;
}
.pf-testimonial-avatar--photo img {
	width: 100%;
	height: 100%;
	border-radius: 0;
	object-fit: cover;
	display: block;
}

/* Google "G" anchored to the top-right of the header */
.pf-review-google {
	flex: 0 0 auto;
	align-self: flex-start;
	display: inline-flex;
	line-height: 0;
}

/* Google-style gold stars, sitting just under the name */
.pf-review .pf-testimonial-stars {
	gap: 1px;
	color: #fbbc04;
}
.pf-review .pf-testimonial-stars .pf-star {
	width: 18px;
	height: 18px;
}

/* Real reviews aren't italic; lighten + clamp long quotes for tidy cards */
.pf-review .pf-testimonial-quote {
	font-style: normal;
	color: #3c4043;
	font-size: 0.9375rem;
	line-height: 1.6;
	display: -webkit-box;
	-webkit-line-clamp: 6;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
