.lev-slider-wrapper {
	position: relative;
}

.lev-slider-btn {
	position: absolute;
	min-width: unset;
	top: 50%;
	transform: translateY(-50%);
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	background-color: rgba(0, 92, 169, 0.55);
	color: #fff;
	border: none;
	cursor: pointer;
	transition: background-color 0.15s ease, outline-offset 0.1s ease;

	&.lev-slider-btn--prev {
		left: 0.5rem;
	}

	&.lev-slider-btn--next {
		right: 0.5rem;
	}

	&:hover {
		background-color: rgba(0, 61, 112, 0.85);
	}

	&:focus-visible {
		outline: 3px solid var(--wp--preset--color--primary, #005CA9);
		outline-offset: 3px;
	}

	@media (prefers-reduced-motion: reduce) {
		transition: none;
	}
}

.lev-slider-btn.is-hidden {
	display: none;
}

.lev-slider-btn:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

.lev-slider-btn:disabled:hover {
	background-color: rgba(0, 92, 169, 0.55);
}

.lev-slider {
	--lev-gap: var(--wp--preset--spacing--s, 2rem);
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	gap: var(--lev-gap);
	list-style: none;
	padding: 0;
	margin: 0;
	scrollbar-width: none;
	-ms-overflow-style: none;

	&::-webkit-scrollbar {
		display: none;
	}

	&>li {
		scroll-snap-align: start;
		flex: 0 0 100%;
		min-width: 0;
		display: flex;
	}

	@media (min-width: 768px) {
		&>li {
			flex: 0 0 calc(50% - var(--lev-gap) / 2);
		}
	}

	@media (min-width: 1200px) {
		&>li {
			flex: 0 0 calc(33.3333% - var(--lev-gap) * 2 / 3);
		}
	}

	@media (prefers-reduced-motion: reduce) {
		scroll-behavior: auto;
	}
}

.lev-card {
	background-color: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--white);
	padding: var(--wp--preset--spacing--m, 1rem);
	display: flex;
	flex-direction: column;
	flex: 1;

	& .lev-card__title {
		color: var(--wp--preset--color--white);
		margin: 0;
		margin-bottom: 4rem;
		line-height: 1.3;

		@media (min-width: 768px) {
			margin-bottom: 7.125rem;
		}
	}

	& .lev-card__date,
	& .lev-card__location,
	& .lev-card__stop {
		display: flex;
		align-items: center;
		gap: 0.5rem;
		margin: 0;
		line-height: 1.5;
	}

	& .lev-card__data {
		display: flex;
		flex-direction: column;
		gap: 2.5625rem;
	}

	& .lev-card__location {
		align-items: flex-start;

		.lev-icon {
			--icon-size: 2.25rem;

			@media (min-width: 768px) {
				--icon-size: 3rem;
			}
		}
	}

	& .lev-card__location {
		font-style: normal;
	}

	& .lev-card__description {
		margin: 0;
		margin-top: 2.5rem;
		line-height: 1.5;
	}

	& .lev-icon {
		--icon-size: 2.5rem;
		flex-shrink: 0;
		width: var(--icon-size);
		height: auto;
		color: var(--wp--preset--color--white, #fff);
		margin-top: 0.1em;

		@media (min-width: 768px) {
			--icon-size: 3.375rem;
		}
	}

	& .lev-card__link {
		display: inline-flex;
		align-items: center;
		gap: 0.25rem;
		margin-top: auto;
		padding: 0.5rem 0.75rem;
		min-height: 2.75rem;
		background-color: var(--wp--preset--color--primary, #00549D);
		color: #fff;
		font-size: 0.875rem;
		font-weight: 600;
		text-decoration: none;
		transition: background-color 0.15s ease, outline-offset 0.1s ease;

		&:hover {
			background-color: #003d70;
			text-decoration: underline;
		}

		&:focus-visible {
			outline: 3px solid var(--wp--preset--color--primary, #00549D);
			outline-offset: 3px;
		}

		@media (prefers-reduced-motion: reduce) {
			transition: none;
		}
	}
}

.lev-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}