/* Sponsors carousel: auto-rolling, draggable, with arrow buttons.
   script.js builds the track and adds .is-rolling-9097; without it (editor, no JS) the normal tile grid is shown. */
.elementor .sponsors-carousel.is-rolling-9097 {
	position: relative;
	display: block !important;
	flex-wrap: nowrap !important;
	overflow: hidden !important;
	touch-action: pan-y;
	cursor: grab;
	-webkit-user-select: none;
	user-select: none;
}

.elementor .sponsors-carousel.is-rolling-9097.is-dragging-9097 {
	cursor: grabbing;
}

.elementor .sponsors-carousel.is-rolling-9097 .sponsors-track-9097 {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	width: max-content;
	will-change: transform;
}

.elementor .sponsors-carousel.is-rolling-9097 .sponsors-track-9097 .sponsor-tile {
	flex: 0 0 285px;
	width: 285px;
	margin: 0 1rem 0 0;
	box-sizing: border-box;
}

.elementor .sponsors-carousel.is-rolling-9097 .sponsors-track-9097 .sponsor-logo {
	height: 180px;
	-webkit-user-drag: none;
}

/* Colour on hover: keyed to the whole tile (not only the image) so it works while the track moves. */
@media (hover: hover) {
	.elementor .sponsors-carousel.is-rolling-9097:not(.is-dragging-9097) .sponsors-track-9097 .sponsor-tile:hover .sponsor-logo {
		opacity: 100%;
		filter: none;
	}
}

.elementor .sponsors-carousel.is-rolling-9097 .sponsors-arrow-9097 {
	position: absolute;
	top: 50%;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin: -24px 0 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background-color: #FE1E32;
	color: #FFFFFF;
	cursor: pointer;
	transition: background-color 0.25s ease;
}

.elementor .sponsors-carousel.is-rolling-9097 .sponsors-arrow-9097:hover,
.elementor .sponsors-carousel.is-rolling-9097 .sponsors-arrow-9097:focus-visible {
	background-color: #0A0A0A;
	color: #FFFFFF;
}

.elementor .sponsors-carousel.is-rolling-9097 .sponsors-arrow-9097--prev {
	left: 0;
}

.elementor .sponsors-carousel.is-rolling-9097 .sponsors-arrow-9097--next {
	right: 0;
}

.elementor .sponsors-carousel.is-rolling-9097 .sponsors-arrow-9097 svg {
	width: 24px;
	height: 24px;
	fill: none;
	stroke: currentColor;
	stroke-width: 4;
	stroke-linecap: square;
	stroke-linejoin: miter;
}

@media (max-width: 1024px) {
	.elementor .sponsors-carousel.is-rolling-9097 .sponsors-track-9097 .sponsor-tile {
		flex-basis: 230px;
		width: 230px;
	}
	.elementor .sponsors-carousel.is-rolling-9097 .sponsors-track-9097 .sponsor-logo {
		height: 144px;
	}
}

@media (max-width: 767px) {
	.elementor .sponsors-carousel.is-rolling-9097 .sponsors-track-9097 .sponsor-tile {
		flex-basis: 150px;
		width: 150px;
		margin-right: 0.5rem;
	}
	.elementor .sponsors-carousel.is-rolling-9097 .sponsors-track-9097 .sponsor-logo {
		height: 115px;
	}
	.elementor .sponsors-carousel.is-rolling-9097 .sponsors-arrow-9097 {
		width: 40px;
		height: 40px;
		margin-top: -20px;
	}
	.elementor .sponsors-carousel.is-rolling-9097 .sponsors-arrow-9097 svg {
		width: 20px;
		height: 20px;
	}
}
