/**
 * Premium Airline Partners Slider
 * Visual language taken from mayarhajj.com:
 * Mayar blue #0d80d0, accent yellow #ffe21c, heading ink #222222,
 * Vipes / Poppins / PT Sans.
 */

.paps-section {
	--paps-blue: #0d80d0;
	--paps-yellow: #ffe21c;
	--paps-ink: #222222;
	--paps-bg: #f5f8fb;
	--paps-logo-h: var(--paps-logo-h-set, 52px);
	--paps-gap: var(--paps-gap-set, 72px);
	--paps-pad: var(--paps-pad-set, 36px);
	box-sizing: border-box;
	position: relative;
	clear: both;
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding: var(--paps-pad) 0;
	overflow: hidden;
	background-color: var(--paps-bg);
	color: var(--paps-ink);
	border-top: 3px solid var(--paps-blue);
	font-family: Poppins, "PT Sans", "Segoe UI", sans-serif;
}

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

.paps-bg-soft {
	--paps-bg: #f5f8fb;
}

.paps-bg-white {
	--paps-bg: #ffffff;
}

.paps-bg-brand {
	--paps-bg: #0d80d0;
	--paps-ink: #ffffff;
}

.paps-bg-transparent {
	--paps-bg: transparent;
}

.paps-on-dark {
	--paps-ink: #ffffff;
}

.paps-section .paps-inner {
	margin: 0 auto 22px;
	padding: 0 24px;
	text-align: center;
}

.paps-section .paps-heading {
	margin: 0 0 12px;
	padding: 0;
	color: var(--paps-ink);
	font-family: vipes, Poppins, "PT Sans", sans-serif;
	font-size: 29px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 1px;
}

.paps-section[dir="rtl"] .paps-heading {
	letter-spacing: 0;
}

.paps-section .paps-rule {
	position: relative;
	width: 72px;
	height: 2px;
	margin: 0 auto;
	background: var(--paps-blue);
}

.paps-on-dark .paps-rule {
	background: rgba(255, 255, 255, 0.85);
}

.paps-section .paps-rule-dot {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--paps-yellow);
	transform: translate(-50%, -50%);
}

.paps-viewport {
	overflow: hidden;
	width: 100%;
	min-height: var(--paps-logo-h);
	touch-action: pan-y;
}

.paps-track {
	display: flex;
	width: max-content;
	animation: paps-marquee var(--paps-duration, 46s) linear infinite;
}

.paps-section[dir="rtl"] .paps-track {
	animation-name: paps-marquee-rtl;
}

.paps-section .paps-group {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
	gap: var(--paps-gap);
	margin: 0;
	padding: 0;
	padding-inline-end: var(--paps-gap);
	list-style: none;
}

.paps-section .paps-item {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	height: var(--paps-logo-h);
	margin: 0;
	padding: 0;
	list-style: none;
}

.paps-section img.paps-logo {
	display: block;
	width: auto;
	height: var(--paps-logo-h);
	max-width: 240px;
	max-height: var(--paps-logo-h);
	margin: 0;
	padding: 0;
	object-fit: contain;
	object-position: center;
	border: 0;
	background: transparent;
	box-shadow: none;
	user-select: none;
	-webkit-user-drag: none;
	pointer-events: none;
}

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

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

@media (hover: hover) and (pointer: fine) {
	.paps-section:hover .paps-track {
		animation-play-state: paused;
	}
}

@media (max-width: 600px) {
	.paps-section {
		--paps-logo-h: calc(var(--paps-logo-h-set, 52px) * 0.84);
		--paps-gap: calc(var(--paps-gap-set, 72px) * 0.62);
		--paps-pad: calc(var(--paps-pad-set, 36px) * 0.78);
	}

	.paps-section .paps-heading {
		font-size: 24px;
	}

	.paps-section img.paps-logo {
		max-width: 180px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.paps-track {
		animation: none;
		transform: none;
		width: 100%;
		max-width: 100%;
		flex-wrap: wrap;
		justify-content: center;
	}

	.paps-section .paps-group[aria-hidden="true"],
	.paps-section .paps-item[aria-hidden="true"] {
		display: none;
	}

	.paps-section .paps-group {
		flex-wrap: wrap;
		justify-content: center;
		width: 100%;
		padding: 0 20px;
		row-gap: 22px;
	}

	.paps-viewport {
		overflow: visible;
	}
}

@media print {
	.paps-track {
		animation: none;
		transform: none;
	}

	.paps-section .paps-group[aria-hidden="true"] {
		display: none;
	}
}
