.slick-prev,
.slick-next {
	position: absolute;
	top: 50%;
	width: 44px;
	height: 44px;
	background-color: theme('colors.white');
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	margin-top: -22px;
	z-index: 1;
}

.slick-figures {
	figure {
		img {
			width: 100%;
			// height: 100%;
			object-fit: cover;
			object-position: center;
		}
		figcaption {
			bottom: 0;
			left: 0;
			width: 100%;
			background-color: theme('colors.white');
			@apply text-center text-black text-opacity-30 text-sm lg:text-base font-normal;
		}
	}
}
.slick-galerie {
	.slick-slide {
		aspect-ratio: 10/12;
		div,
		img {
			height: 100%;
		}
	}
	.slick-next {
		right: 20px;
	}
	.slick-prev {
		left: 20px;
	}
}
.slick-insta {
	width: 100%;
	overflow: hidden;
	max-height: 450px;
	/* the slides */
	.slick-slide {
		margin: 0 2px;
		overflow: hidden;
		aspect-ratio: 1;
		// &:nth-child(even) {
		// 	aspect-ratio: 3/4;
		// }
		// &:nth-child(odd) {
		// 	aspect-ratio: 1;
		// }
		* {
			height: 100%;
		}
	}
	/* the parent */
	.slick-list {
		// width: calc(100% - 10px);
		margin: 0;
	}
}
.slick-transversal {
	// max-width: 100%;
	margin: 0 auto;
	width: calc(50% + 30px) !important;
	@screen md {
		margin: 0;
		width: calc(100% - 120px) !important;
	}
	@screen lg {
		width: calc(100% - 180px) !important;
	}
	@screen xl {
		width: calc(100% - 230px) !important;
	}
	@screen 2xl {
		width: calc(100% - 150px) !important;
	}

	// width: calc(100%) !important;
	padding-left: 0 !important;
	.slick-list {
		overflow: visible;
		@screen md {
			overflow: hidden;
		}
	}
	.slick-slide {
		// width: 200px !important;
		@screen md {
			// width: 250px !important;
		}
		text-align: center;
		img {
			margin-left: auto;
			margin-right: auto;
		}
		.text {
			max-width: 250px;
		}
	}
}

.slick-transversal-v2-container {
	position: relative;
	margin: 0 20px;
	@screen md {
		margin: 0;
	}
	.slick-transversal-v2 {
		width: 100%;
		margin: 0;
		padding-left: 0;
		overflow: visible;

		@screen md {
			width: 100% !important;
		}
		.slick-list {
			overflow: visible;
			margin: 0;
			padding: 0;
		}
		.slick-track {
			display: flex;
			align-items: flex-start;
		}

		.slick-slide {
			margin: 0 10px 0 0px;
			opacity: 1;
			transition: opacity 0.3s ease;

			> div,
			a {
				width: 100% !important;
			}
			&:hover {
				opacity: 0.8;
			}
		}
	}
}
.slick-navigation-v2 {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 1;
	width: 100%;
	.slick-arrow {
		position: absolute;
		top: 50%;
		transform: translateY(calc(-50% - 30px));
		z-index: 10;
		width: 3rem;
		height: 3rem;
		@screen 2xl {
			width: 5.2rem;
			height: 5.2rem;
		}
		display: flex;
		align-items: center;
		justify-content: center;
		background: white;
		border-radius: 50%;
		box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
		cursor: pointer;
		transition: all 0.3s ease;

		svg {
			width: 1.5rem;

			@screen 2xl {
				width: 2.6875rem;
			}
		}
		&:hover {
			box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
		}

		&.slick-prev {
			left: 2rem;
			@screen 2xl {
				left: -2.6rem;
			}
		}

		&.slick-next {
			right: 2rem;
			@screen 2xl {
				right: 20px;
			}
		}
		&.slick-disabled {
			opacity: 0;
			cursor: not-allowed;
		}
	}
}

.slick-dots {
	position: absolute;
	bottom: -20px;
	display: block;
	width: 100%;
	padding: 0;
	margin: 0;
	list-style: none;
	text-align: center;
	display: flex;
	justify-content: center;
	li {
		position: relative;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 10px;
		height: 10px;
		margin: 0 5px;
		padding: 0;
		cursor: pointer;
		button {
			font-size: 0;
			line-height: 0;
			display: block;
			width: 7px;
			height: 7px;
			padding: 5px;
			cursor: pointer;
			color: transparent;
			border: 0;
			outline: none;
			border-radius: 50%;
			opacity: 0.3;
			background-color: theme('colors.black');
			@screen lg {
				width: 6px;
				height: 6px;
			}
		}
		&.slick-active {
			button {
				opacity: 1;
			}
		}
	}
}
