/**
 * Marrakech Tickets card carousel layout.
 *
 * Card appearance lives in mt-cards.css.
 * Swiper base styles are provided by Elementor's bundled Swiper library.
 */

.mt-carousel {
	position: relative;
	width: 100%;
}

.mt-carousel__swiper.swiper {
	overflow: hidden;
}

.mt-carousel__swiper .swiper-wrapper {
	display: flex;
	box-sizing: border-box;
	align-items: stretch;
}

.mt-carousel__swiper .swiper-slide {
	flex-shrink: 0;
	height: auto;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-self: stretch;
}

.mt-carousel__slide {
	height: auto;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
}

.mt-carousel__item {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-width: 0;
	height: 100%;
	min-height: 100%;
}

.mt-carousel__item > .mt-card,
.mt-carousel__item > article.mt-card {
	width: 100%;
	height: 100%;
	min-height: 100%;
}

.mt-carousel__nav {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	border: 1px solid #d8d2c8;
	border-radius: 999px;
	background: #ffffff;
	color: #1a1a1a;
	transform: translateY(-50%);
	cursor: pointer;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

.mt-carousel__nav:hover {
	border-color: #bdb6aa;
	background: #faf9f7;
}

.mt-carousel__nav:focus {
	outline: none;
}

.mt-carousel__nav:focus-visible {
	outline: 2px solid #1a6fd4;
	outline-offset: 2px;
}

.mt-carousel__nav--prev {
	left: -20px;
}

.mt-carousel__nav--next {
	right: -20px;
}

.mt-carousel__nav-icon {
	display: block;
	width: 8px;
	height: 8px;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
}

.mt-carousel__nav--prev .mt-carousel__nav-icon {
	transform: rotate(-135deg);
	margin-left: 3px;
}

.mt-carousel__nav--next .mt-carousel__nav-icon {
	transform: rotate(45deg);
	margin-right: 3px;
}

.mt-carousel__nav.swiper-button-disabled {
	opacity: 0.35;
	cursor: default;
}

.mt-carousel__pagination {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 16px;
}

.mt-carousel__pagination .swiper-pagination-bullet {
	width: 8px;
	height: 8px;
	margin: 0 !important;
	border-radius: 999px;
	background: #d8d2c8;
	opacity: 1;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.mt-carousel__pagination .swiper-pagination-bullet-active {
	background: #1a1a1a;
	transform: scale(1.15);
}

.mt-carousel-section__heading {
	margin: 0 0 16px;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.3;
	color: #1a1a1a;
}

.mt-carousel-section__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 16px;
}

.mt-carousel-section__header .mt-carousel-section__heading {
	margin: 0;
}

.mt-carousel-section__link {
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
	color: #1a6fd4;
	text-decoration: none;
	white-space: nowrap;
}

.mt-carousel-section__link:hover {
	text-decoration: underline;
}

.mt-carousel-section__empty {
	margin: 0;
	padding: 24px 0;
	color: #5c5c5c;
	font-size: 14px;
	line-height: 1.5;
	text-align: center;
}

@media (max-width: 767px) {
	.mt-carousel__nav {
		display: none;
	}

	.mt-carousel__pagination {
		margin-top: 12px;
	}

	.mt-carousel__swiper .swiper-wrapper {
		align-items: flex-start;
	}

	.mt-carousel__swiper .swiper-slide,
	.mt-carousel__slide,
	.mt-carousel__item {
		height: auto;
	}

	.mt-carousel__item > .mt-card,
	.mt-carousel__item > article.mt-card {
		height: auto;
		min-height: 0;
	}
}

@media (max-width: 1024px) {
	.mt-carousel__nav--prev {
		left: -8px;
	}

	.mt-carousel__nav--next {
		right: -8px;
	}
}

@media (min-width: 1280px) {
	.mt-carousel-section__header {
		margin-bottom: 20px;
	}
}
