/* =========================================================================
   NHC restyle of Salient's native Testimonial Slider, to match the brand
   mockup. CSS-only override that hooks the classes Salient outputs
   (.testimonial_slider ...). Loaded site-wide, but only matches that widget,
   so it is inert elsewhere.

   The teal "speech bubble" is the quote <p>; the author name / role and the
   prev/next buttons sit outside it.
   ========================================================================= */

/* ---------- Speech bubble (the quote <p>): teal on the active slide only ---------- */
.testimonial_slider blockquote p {
	background-color: transparent !important;   /* side slides stay plain (faded text) */
}
.testimonial_slider blockquote.is-selected p {
	background-color: #2d7d80 !important;
	color: #ffffff !important;
}
/* Side (faded) testimonials have no bubble, so their text must be dark enough
   to stay readable on the light page — Salient colours it white otherwise. */
.testimonial_slider blockquote:not(.is-selected) p {
	color: #9aa6a8 !important;
}
.testimonial_slider blockquote:not(.is-selected) .image-icon {
	opacity: 0 !important;
}

/* Bubble tail under the active slide (the downward triangle) */
.testimonial_slider blockquote.is-selected .bottom-arrow {
	border-top-color: #2d7d80 !important;
}

/* Large quotation mark inside the active bubble */
.testimonial_slider blockquote.is-selected .image-icon {
	color: rgba(255, 255, 255, 0.22) !important;
}

/* ---------- Author name + role (sit below the bubble) ---------- */
.testimonial_slider .testimonial-name {
	color: #333333 !important;
	font-weight: 600;
}
.testimonial_slider .title {
	color: #8a8a8a !important;
}

/* ---------- Prev / next: white round buttons with a dark icon ---------- */
.testimonial_slider .flickity-prev-next-button {
	width: 48px;
	height: 48px;
	background: #ffffff !important;
	border: 0 !important;
	border-radius: 50% !important;
	box-shadow: 0 3px 12px rgba(0, 0, 0, 0.10) !important;
	transition: box-shadow .25s ease;
}
.testimonial_slider .flickity-prev-next-button:hover,
.testimonial_slider .flickity-prev-next-button:focus {
	background: #ffffff !important;
	box-shadow: 0 5px 16px rgba(0, 0, 0, 0.16) !important;
}
.testimonial_slider .flickity-prev-next-button .flickity-button-icon,
.testimonial_slider .flickity-prev-next-button .arrow {
	fill: #333333 !important;
}

/* ---------- Reusable heading highlight ----------
   Wrap a word in <span class="nhc-hl"> in the heading above the slider to get
   the same accent highlight used across the other NHC widgets. */
.nhc-hl {
	font-style: italic;
	font-weight: 700;
	background-image: linear-gradient(to right, #00A1B180 0, rgba(255, 107, 48, 0.01) 100%);
	background-repeat: no-repeat;
	background-size: 100% 0.4em;
	background-position: 0 78%;
	padding: 0 .02em;
}

/* ---------- "Toon meer" for long testimonials ---------- */
.testimonial_slider .nhc-tm__rest[hidden],
.testimonial_slider .nhc-tm__ellipsis[hidden] { display: none; }

.testimonial_slider .nhc-tm__toggle {
	display: inline-block;
	margin-left: 6px;
	padding: 2px 9px;
	background: transparent;
	border: 1px solid currentColor;
	border-radius: 999px;
	color: inherit;
	font-family: inherit;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.55;
	text-decoration: none;
	white-space: nowrap;
	vertical-align: baseline;
	cursor: pointer;
	opacity: .85;
	transition: opacity .2s ease, background-color .2s ease;
}
.testimonial_slider .nhc-tm__toggle:hover,
.testimonial_slider .nhc-tm__toggle:focus-visible {
	opacity: 1;
	background: rgba(128, 128, 128, 0.12);
}
