/* =============================================================================
   Footer testimonials (replaces Slider Revolution slider 9, 16th November, 2026)
   -----------------------------------------------------------------------------
   All quotes sit in the same grid cell, so the box is always as tall as the
   longest quote and the footer never jumps as they change. The script
   (js/hwfs-slider.js) only moves .is-active; the fade is here.
   Markup: HWFS_Testimonials_Widget in inc/testimonials.php.
   ============================================================================= */

.hwfs-testimonials {
	display: grid;
}

.hwfs-testimonials__item {
	grid-area: 1 / 1;
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 15px;
	line-height: 1.7;
	font-weight: 300;
	color: #fff;
	opacity: 0;
	visibility: hidden;
	transition: opacity 1s ease, visibility 0s linear 1s;
}

.hwfs-testimonials__item.is-active {
	opacity: 1;
	visibility: visible;
	transition: opacity 1s ease, visibility 0s linear 0s;
}

.hwfs-testimonials__item p {
	margin: 0 0 0.9em;
	font-size: inherit;
	line-height: inherit;
	color: inherit;
}

.hwfs-testimonials__item cite {
	display: block;
	margin-top: 1.2em;
	font-style: italic;
	color: inherit;
}

@media (prefers-reduced-motion: reduce) {
	.hwfs-testimonials__item,
	.hwfs-testimonials__item.is-active {
		transition: none;
	}
}

/* Hidden below 977px, as the Slider Revolution version was ("too long and
   random" on phones, per the old style.css note). Remove this block to show them. */
@media screen and (max-width: 977px) {
	.widget_hwfs_testimonials {
		display: none;
	}
}
