/* Florya Testimonials slider */
.florya-ts,
.florya-ts * {
	box-sizing: border-box;
}

.florya-ts {
	position: relative;
	width: 100%;
	overflow: hidden;
	background: var(--fl-navy-deep);
	font-family: var(--fl-font-body);
	color: #fff;
}

/* Full width: break out of a boxed container */
.florya-ts--full {
	position: relative;
	left: 50%;
	width: 100vw;
	max-width: 100vw;
	margin-left: -50vw;
}

html:has(.florya-ts--full) {
	overflow-x: clip;
}

/* Slides share one grid cell, so the widget is as tall as the tallest slide */
.florya-ts__slides {
	display: grid;
}

.florya-ts__slide {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 0;
	grid-area: 1 / 1;
	min-height: 450px;
	padding: 70px 20px;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0s linear var(--fts-speed), visibility 0s linear var(--fts-speed);
}

.florya-ts__slide.is-active {
	z-index: 1;
	opacity: 1;
	visibility: visible;
	transition: opacity var(--fts-speed) ease, visibility 0s linear 0s;
}

.florya-ts__media {
	position: absolute;
	inset: 0;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

/* Sticky background: the image stays put while the page scrolls */
.florya-ts--fixed .florya-ts__media {
	background-attachment: fixed;
}

.florya-ts__overlay {
	position: absolute;
	inset: 0;
	background-color: rgba(7, 22, 61, 0.6);
	pointer-events: none;
}

.florya-ts__content {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 640px;
	text-align: center;
}

.florya-ts__slide.is-active .florya-ts__content > * {
	animation: florya-ts-in 0.9s ease both;
}

.florya-ts__slide.is-active .florya-ts__content > *:nth-child(2) { animation-delay: 0.12s; }
.florya-ts__slide.is-active .florya-ts__content > *:nth-child(3) { animation-delay: 0.24s; }

@keyframes florya-ts-in {
	from { opacity: 0; transform: translateY(16px); }
	to   { opacity: 1; transform: none; }
}

.florya-ts__stars {
	display: flex;
	justify-content: center;
	gap: 3px;
	margin-bottom: 18px;
	color: var(--fl-gold);
}

.florya-ts__quote {
	margin: 0 0 34px;
	padding: 0;
	border: 0;
	font-family: var(--fl-font-heading);
	font-size: 22px;
	font-style: italic;
	font-weight: 400;
	line-height: 1.65;
	color: #fff;
}

.florya-ts__quote::before {
	content: '\201C\00a0';
}

.florya-ts__quote::after {
	content: '\00a0\201D';
}

.florya-ts__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0 10px;
	font-size: 16px;
}

.florya-ts__name {
	color: #fff;
}

.florya-ts__sep {
	color: var(--fl-gold-light);
}

.florya-ts__link {
	border-bottom: 1px solid currentColor;
	text-decoration: none;
	color: var(--fl-gold-light);
	transition: color 0.3s ease;
}

.florya-ts__link:hover {
	color: #fff;
}

/* Dots */
.florya-ts__dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 22px;
	z-index: 3;
	display: flex;
	justify-content: center;
	gap: 6px;
}

.florya-ts__dot {
	display: block;
	width: 7px;
	height: 7px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.35);
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.florya-ts__dot.is-active {
	background-color: var(--fl-gold);
}

/* Fixed backgrounds are unreliable on touch devices: use a normal background there */
@media (hover: none), (max-width: 1024px) {
	.florya-ts--fixed .florya-ts__media {
		background-attachment: scroll;
	}
}

@media (max-width: 767px) {
	.florya-ts__slide {
		padding: 60px 20px;
	}

	.florya-ts__quote {
		font-size: 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.florya-ts__slide {
		transition-duration: 0.01s;
	}

	.florya-ts__slide.is-active .florya-ts__content > * {
		animation: none;
	}
}
