/*! RD Logo Showcase v2.0.1 */

.rdls {
	--rdls-cols: var(--rdls-cols-d, 5);
	--rdls-gap: 24px;
	--rdls-ratio: 11 / 6;
	--rdls-tile-bg: transparent;
	--rdls-tile-pad: 0px;
	--rdls-tile-radius: 0px;
	--rdls-max-h: none;
	--rdls-arrow-size: 34px;
	--rdls-arrow-bg: rgba(0, 0, 0, 0.5);
	--rdls-arrow-fg: #fff;
	--rdls-dot: rgba(0, 0, 0, 0.25);
	--rdls-dot-active: rgba(0, 0, 0, 0.7);
	position: relative;
	width: 100%;
	margin: 0 auto;
}

@media (max-width: 980px) {
	.rdls { --rdls-cols: var(--rdls-cols-t, 3); }
}

@media (max-width: 640px) {
	.rdls { --rdls-cols: var(--rdls-cols-m, 2); }
}

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

.rdls-heading {
	margin: 0 0 0.75em;
}

.rdls-empty {
	padding: 1em;
	border: 1px dashed currentColor;
	opacity: 0.8;
	font-size: 0.9em;
}

.rdls .rdls-viewport {
	overflow: hidden;
	touch-action: pan-y;
}

/* Before the script runs, and if it never does, the row still scrolls sideways. */
.rdls--slider:not(.is-ready) .rdls-viewport {
	overflow-x: auto;
	scrollbar-width: thin;
}

.rdls .rdls-track,
.rdls .rdls-marquee-track {
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rdls .rdls-track {
	will-change: transform;
}

.rdls .rdls-slide {
	flex: 0 0 calc(100% / var(--rdls-cols));
	min-width: 0;
	margin: 0;
	padding: 0 calc(var(--rdls-gap) / 2);
	text-align: center;
	user-select: none;
	-webkit-user-select: none;
}

.rdls .rdls-link {
	display: block;
	color: inherit;
	text-decoration: none;
	border: 0;
	box-shadow: none;
}

.rdls a.rdls-link:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.rdls .rdls-tile {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: var(--rdls-ratio);
	padding: var(--rdls-tile-pad);
	background: var(--rdls-tile-bg);
	border-radius: var(--rdls-tile-radius);
	overflow: hidden;
}

.rdls .rdls-tile img,
.rdls img.rdls-img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: var(--rdls-max-h);
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	object-fit: contain;
	-webkit-user-drag: none;
}

/* Natural heights: no fixed tile shape. */
.rdls--natural .rdls-tile {
	aspect-ratio: auto;
}

.rdls--natural .rdls-tile img,
.rdls--natural img.rdls-img {
	width: auto;
	max-width: 100%;
	height: auto;
}

.rdls--grayscale .rdls-img {
	filter: grayscale(1);
	opacity: 0.7;
	transition: filter 0.3s ease, opacity 0.3s ease;
}

.rdls--grayscale .rdls-slide:hover .rdls-img,
.rdls--grayscale .rdls-link:focus-visible .rdls-img {
	filter: grayscale(0);
	opacity: 1;
}

.rdls .rdls-title {
	display: block;
	margin-top: 0.5em;
	font-size: 0.875em;
	line-height: 1.3;
}

/* Every logo already fits, so nothing needs to move. */
.rdls.is-static .rdls-track {
	justify-content: center;
	transform: none !important;
}

.rdls.is-static .rdls-clone {
	display: none;
}

/* ------------------------------------------------------------------
 * Arrows
 * ------------------------------------------------------------------ */

.rdls .rdls-arrow {
	position: absolute;
	top: 50%;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	width: var(--rdls-arrow-size);
	height: var(--rdls-arrow-size);
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--rdls-arrow-bg);
	color: var(--rdls-arrow-fg);
	line-height: 1;
	cursor: pointer;
	transform: translateY(-50%);
	transition: opacity 0.25s ease, filter 0.2s ease;
}

.rdls .rdls-arrow[hidden] {
	display: none;
}

.rdls .rdls-arrow svg {
	display: block;
	width: 20px;
	height: 20px;
}

.rdls .rdls-arrow:hover {
	filter: brightness(1.25) saturate(1.1);
}

.rdls .rdls-arrow:focus-visible {
	outline: 2px solid var(--rdls-arrow-fg);
	outline-offset: 2px;
}

/*
 * Overlay: the arrows never move. They sit in one place and only fade, so a
 * fading arrow can never slide under or out from beneath the pointer and set
 * off a hover loop. The is-hovered class comes from mouseenter and mouseleave
 * on the wrapper, which, unlike :hover, ignore anything moving inside it.
 */
.rdls--arrows-overlay .rdls-arrow {
	opacity: 0;
	pointer-events: none;
}

.rdls--arrows-overlay .rdls-arrow--prev { left: 10px; }
.rdls--arrows-overlay .rdls-arrow--next { right: 10px; }

.rdls--arrows-overlay.is-hovered .rdls-arrow,
.rdls--arrows-overlay:focus-within .rdls-arrow {
	opacity: 1;
	pointer-events: auto;
}

/* Touch screens have no hover, so the arrows stay put. */
@media (hover: none) {
	.rdls--arrows-overlay .rdls-arrow {
		opacity: 1;
		pointer-events: auto;
	}
	.rdls--arrows-overlay .rdls-arrow--prev { left: 4px; }
	.rdls--arrows-overlay .rdls-arrow--next { right: 4px; }
}

/* Outside: always visible, clear of the logos. */
.rdls--arrows-outside {
	padding-left: calc(var(--rdls-arrow-size) + 14px);
	padding-right: calc(var(--rdls-arrow-size) + 14px);
}

.rdls--arrows-outside .rdls-arrow--prev { left: 0; }
.rdls--arrows-outside .rdls-arrow--next { right: 0; }

@media (max-width: 640px) {
	.rdls--arrows-outside {
		padding-left: calc(var(--rdls-arrow-size) + 4px);
		padding-right: calc(var(--rdls-arrow-size) + 4px);
	}
}

/* ------------------------------------------------------------------
 * Dots
 * ------------------------------------------------------------------ */

.rdls .rdls-dots {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-top: 14px;
}

.rdls .rdls-dots[hidden] {
	display: none;
}

.rdls .rdls-dot {
	width: 10px;
	height: 10px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--rdls-dot);
	cursor: pointer;
}

.rdls .rdls-dot[aria-current="true"] {
	background: var(--rdls-dot-active);
}

.rdls .rdls-dot:focus-visible {
	outline: 2px solid var(--rdls-dot-active);
	outline-offset: 2px;
}

/* ------------------------------------------------------------------
 * Marquee: two identical halves slide left by exactly one half.
 * ------------------------------------------------------------------ */

.rdls--marquee .rdls-marquee-track {
	width: max-content;
	animation: rdls-marquee var(--rdls-duration, 40s) linear infinite;
}

.rdls--marquee .rdls-slide {
	flex: 0 0 var(--rdls-tile-w, 200px);
	width: var(--rdls-tile-w, 200px);
}

.rdls--marquee:hover .rdls-marquee-track,
.rdls--marquee:focus-within .rdls-marquee-track,
.rdls--marquee.is-offscreen .rdls-marquee-track {
	animation-play-state: paused;
}

.rdls--marquee.rdls--arrows-outside,
.rdls--marquee.rdls--arrows-overlay {
	padding-left: 0;
	padding-right: 0;
}

@media (max-width: 640px) {
	.rdls--marquee .rdls-slide {
		flex-basis: calc(var(--rdls-tile-w, 200px) * 0.75);
		width: calc(var(--rdls-tile-w, 200px) * 0.75);
	}
}

@keyframes rdls-marquee {
	from { transform: translate3d(0, 0, 0); }
	to { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
	.rdls--marquee .rdls-marquee-track {
		width: auto;
		flex-wrap: wrap;
		justify-content: center;
		row-gap: var(--rdls-gap);
		animation: none;
	}
	.rdls--marquee .rdls-dup {
		display: none;
	}
	.rdls .rdls-track {
		transition: none !important;
	}
}
