/* NFCR Legacy Sliders. Every rule is scoped to .nfcr-ls, so nothing outside the slider is touched.
   Look follows the home hero slider of NFCR Blocks (round navy arrows). */

.nfcr-ls {
	--nfcr-ls-navy: var(--nfcr-navy, #002C76);
	--nfcr-ls-accent: var(--nfcr-accent, #FF5012);
	--nfcr-ls-surface: var(--nfcr-surface, #EEF1F6);
	--nfcr-ls-gap: 16px;
	--nfcr-ls-radius: 24px;
	--nfcr-ls-per: var(--nfcr-ls-per-d, 1);
	position: relative;
	margin: 1.5rem 0;
	clear: both;
}
@media (max-width: 1024px) { .nfcr-ls { --nfcr-ls-per: var(--nfcr-ls-per-t, 1); } }
@media (max-width: 767px)  { .nfcr-ls { --nfcr-ls-per: var(--nfcr-ls-per-m, 1); --nfcr-ls-radius: 18px; } }

.nfcr-ls,
.nfcr-ls *,
.nfcr-ls *::before,
.nfcr-ls *::after { box-sizing: border-box; }

/* ---- Track: a native scroll-snap row, so touch swipe works without script ---- */
.nfcr-ls .nfcr-ls__track {
	position: relative;
	display: flex;
	gap: var(--nfcr-ls-gap);
	margin: 0;
	padding: 0;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	overscroll-behavior-x: contain;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	-ms-overflow-style: none;
	border-radius: var(--nfcr-ls-radius);
}
.nfcr-ls .nfcr-ls__track::-webkit-scrollbar { display: none; }
.nfcr-ls .nfcr-ls__track:focus-visible { outline: 3px solid var(--nfcr-ls-navy); outline-offset: 3px; }

.nfcr-ls .nfcr-ls__slide {
	flex: 0 0 calc((100% - (var(--nfcr-ls-per) - 1) * var(--nfcr-ls-gap)) / var(--nfcr-ls-per));
	min-width: 0;
	margin: 0;
	padding: 0;
	scroll-snap-align: start;
	border-radius: var(--nfcr-ls-radius);
	overflow: hidden;
}

/* ---- Photos ---- */
.nfcr-ls--images .nfcr-ls__slide {
	aspect-ratio: var(--nfcr-ls-ratio, 16 / 10);
	background: var(--nfcr-ls-surface);
}
.nfcr-ls--images .nfcr-ls__slide img.nfcr-ls__img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	object-fit: cover;
}

/* ---- Testimonials ---- */
.nfcr-ls--quotes .nfcr-ls__slide {
	display: flex;
	align-items: center;
	background: var(--nfcr-ls-surface);
}
.nfcr-ls--quotes .nfcr-ls__quote {
	width: 100%;
	margin: 0;
	padding: 44px 84px;
}
.nfcr-ls--quotes blockquote.nfcr-ls__text {
	margin: 0 0 20px;
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
	quotes: none;
	font-size: inherit;
	font-style: normal;
	line-height: 1.65;
	color: inherit;
	text-align: left;
}
.nfcr-ls--quotes blockquote.nfcr-ls__text::before,
.nfcr-ls--quotes blockquote.nfcr-ls__text::after { content: none; display: none; }
.nfcr-ls--quotes .nfcr-ls__text p { margin: 0 0 .8em; }
.nfcr-ls--quotes .nfcr-ls__text p:last-child { margin-bottom: 0; }
.nfcr-ls--quotes .nfcr-ls__cite {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 0;
	font-style: normal;
	font-weight: 600;
	line-height: 1.35;
	color: var(--nfcr-ls-navy);
}
.nfcr-ls--quotes .nfcr-ls__cite img.nfcr-ls__avatar {
	flex: 0 0 56px;
	width: 56px;
	height: 56px;
	max-width: none;
	margin: 0;
	border: 2px solid var(--nfcr-ls-navy);
	border-radius: 50%;
	object-fit: cover;
}

/* ---- Arrows ---- */
.nfcr-ls .nfcr-ls__arrow {
	position: absolute;
	z-index: 2;
	top: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	min-width: 0;
	margin: -20px 0 0;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .5);
	border-radius: 50%;
	background: rgba(0, 44, 118, .6);
	background: color-mix(in srgb, var(--nfcr-ls-navy) 55%, transparent);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	box-shadow: none;
	color: #fff;
	line-height: 1;
	cursor: pointer;
	transition: background-color .15s ease;
}
.nfcr-ls .nfcr-ls__arrow:hover {
	background: rgba(0, 44, 118, .88);
	background: color-mix(in srgb, var(--nfcr-ls-navy) 85%, transparent);
	color: #fff;
}
.nfcr-ls .nfcr-ls__arrow--prev { left: 16px; }
.nfcr-ls .nfcr-ls__arrow--next { right: 16px; }
.nfcr-ls .nfcr-ls__arrow svg { display: block; }
.nfcr-ls--quotes .nfcr-ls__arrow { border-color: transparent; background: var(--nfcr-ls-navy); -webkit-backdrop-filter: none; backdrop-filter: none; }
.nfcr-ls--quotes .nfcr-ls__arrow:hover { background: var(--nfcr-navy-hover, #00399A); }
.nfcr-ls--images .nfcr-ls__arrow:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.nfcr-ls--quotes .nfcr-ls__arrow:focus-visible { outline: 3px solid var(--nfcr-ls-accent); outline-offset: 2px; }
.nfcr-ls .nfcr-ls__arrow[hidden] { display: none; }

/* ---- Phone ---- */
@media (max-width: 767px) {
	.nfcr-ls .nfcr-ls__arrow--prev { left: 10px; }
	.nfcr-ls .nfcr-ls__arrow--next { right: 10px; }
	.nfcr-ls--quotes .nfcr-ls__quote { padding: 28px 22px 72px; }
	/* Arrows move under the quote, so they never cover the text. */
	.nfcr-ls--quotes .nfcr-ls__arrow { top: auto; bottom: 14px; margin: 0; }
	.nfcr-ls--quotes .nfcr-ls__arrow--prev { left: auto; right: 64px; }
	.nfcr-ls--quotes .nfcr-ls__arrow--next { right: 16px; }
}

@media (prefers-reduced-motion: reduce) {
	.nfcr-ls .nfcr-ls__track { scroll-behavior: auto; }
	.nfcr-ls .nfcr-ls__arrow { transition: none; }
}

@media print {
	.nfcr-ls .nfcr-ls__arrow { display: none; }
	.nfcr-ls .nfcr-ls__track { flex-wrap: wrap; overflow: visible; }
}
