/* Shared carousel base (news + testimonials). */
/* width + min-width: never grow with the track inside flex containers. */
.ffg-carousel {
	position: relative;
	width: 100%;
	min-width: 0;
}

.ffg-carousel *,
.ffg-carousel *::before,
.ffg-carousel *::after {
	box-sizing: border-box;
}

.ffg-carousel__viewport {
	position: relative;
	width: 100%;
	overflow: hidden;
	touch-action: pan-y;
}

.ffg-carousel__track {
	display: flex;
	will-change: transform;
}

.ffg-carousel__item {
	flex: 0 0 auto;
	min-width: 0;
}

.ffg-carousel.is-dragging .ffg-carousel__viewport {
	cursor: grabbing;
}

.ffg-carousel.is-dragging a {
	pointer-events: none;
}

.ffg-carousel.is-jumping .ffg-carousel__item,
.ffg-carousel.is-jumping .ffg-carousel__item * {
	transition: none !important;
}

.ffg-carousel__nav {
	position: absolute;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	cursor: pointer;
	line-height: 1;
}

.ffg-carousel__nav .ffg-icon {
	display: block;
	width: 1em;
	height: 1em;
}

.ffg-carousel__nav:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}
