/* Arts Prestige Carousel — reprend le rendu du Card Carousel Supreme (classe carousel-carre) */
.ap-carousel {
	position: relative;
	width: 100%;
	margin-bottom: 0;
}

.ap-carousel__viewport {
	overflow: hidden;
	touch-action: pan-y;
	cursor: grab;
}

.ap-carousel.is-dragging .ap-carousel__viewport {
	cursor: grabbing;
}

.ap-carousel__track {
	display: flex;
	gap: var(--ap-gap, 15px);
	will-change: transform;
}

.ap-carousel.is-animating .ap-carousel__track {
	transition: transform var(--ap-speed, 300ms) ease;
}

.ap-carousel__slide {
	flex: 0 0 calc((100% - (var(--ap-per-view, 3) - 1) * var(--ap-gap, 15px)) / var(--ap-per-view, 3));
	min-width: 0;
}

/* Carte : image plein cadre + titre centré */
.ap-carousel__card {
	position: relative;
	display: block;
	height: var(--ap-height, 380px);
	overflow: hidden;
	line-height: 0;
	color: #fff;
	text-decoration: none;
	-webkit-user-drag: none;
}

.ap-carousel__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100% !important;
	max-width: none;
	object-fit: cover;
	object-position: center;
	pointer-events: none;
	user-select: none;
	-webkit-user-drag: none;
}

/* Même positionnement que le badge Supreme « center » (largeur limitée à la moitié de la carte) */
.ap-carousel__title {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 3;
	max-width: 100%;
	padding: 7px 15px;
	font-family: 'Fraunces', Georgia, "Times New Roman", serif;
	font-weight: 300;
	font-style: italic;
	font-size: 32px;
	line-height: 1em;
	text-align: center;
	color: #fff;
	background: transparent;
	pointer-events: none;
}

/* Flèches (police d'icônes Divi, mêmes glyphes que Supreme) */
.ap-carousel__arrow {
	position: absolute;
	top: 50%;
	z-index: 10;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 45px;
	height: 45px;
	margin-top: -22.5px;
	padding: 0;
	border: 0;
	border-radius: 40px;
	background: #caac68;
	color: #fff;
	cursor: pointer;
	overflow: hidden;
}

.ap-carousel__arrow::before {
	font-family: ETmodules;
	font-weight: 400;
	font-style: normal;
	font-size: 25px;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-transform: none;
	speak: never;
}

.ap-carousel__arrow--prev {
	left: -60px;
}

.ap-carousel__arrow--prev::before {
	content: "\23";
}

.ap-carousel__arrow--next {
	right: -60px;
}

.ap-carousel__arrow--next::before {
	content: "\24";
}

.ap-carousel__arrow:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

/* ---------------------------------------------------------------------------
 * Mise en page « press » (reprend le Card Carousel Supreme de la page Press)
 * ------------------------------------------------------------------------ */
.ap-carousel--press {
	margin-bottom: 60px;
}

.ap-carousel--press .ap-carousel__card--press {
	position: relative;
	display: block;
	height: var(--ap-height, 550px);
	overflow: visible;
	line-height: normal;
	background: #fff;
	box-shadow: var(--ap-shadow, 0 2px 14px 0 rgba(0, 0, 0, .3));
	color: #666;
	text-align: left;
}

.ap-carousel--press .ap-carousel__viewport {
	/* laisse respirer l'ombre des cartes comme Swiper (overflow hidden sur le conteneur) */
	padding: 0;
}

.ap-carousel__stretched {
	position: absolute;
	inset: 0;
	z-index: 1;
}

.ap-carousel__media {
	position: relative;
	box-sizing: border-box;
	height: var(--ap-image-height, 350px);
	border: 15px solid #fff;
	overflow: hidden;
	line-height: 0;
}

.ap-carousel__media .ap-carousel__img {
	position: absolute;
	inset: 0;
}

.ap-carousel__body {
	padding: 20px;
}

.ap-carousel__heading {
	margin: 0;
	padding: 0 0 10px;
	font-family: 'Fraunces', Georgia, "Times New Roman", serif;
	font-weight: 300;
	font-size: 32px;
	line-height: 1em;
	color: #000;
}

.ap-carousel__subtitle,
.ap-carousel__desc {
	font-family: 'Figtree', Helvetica, Arial, Lucida, sans-serif;
	font-weight: 300;
	font-size: 18px;
	line-height: 23.8px; /* identique à Divi : 1.7 × 14px hérité */
	color: #000;
}

.ap-carousel__desc p {
	margin: 0;
	padding: 0;
	line-height: inherit;
}

.ap-carousel__btnwrap {
	position: relative;
	z-index: 2;
}

.ap-carousel__btn {
	position: relative;
	display: inline-block;
	box-sizing: border-box;
	margin-top: 20px;
	padding: .3em 2em .3em 0;
	border: 0;
	background: transparent;
	font-family: 'Figtree', Helvetica, Arial, Lucida, sans-serif;
	font-weight: 500;
	font-size: 16px;
	line-height: 1.7em;
	letter-spacing: 3px;
	text-transform: uppercase;
	text-decoration: none;
	color: #caac68;
}

.ap-carousel__btn::after {
	content: "&";
	position: absolute;
	margin-left: .3em;
	font-family: ETmodules;
	font-weight: 400;
	font-size: 16px;
	line-height: inherit;
	color: #000;
	text-transform: none;
}

/* Flèches press : chevrons à l'intérieur */
.ap-carousel--press .ap-carousel__arrow {
	width: 50px;
	height: 50px;
	margin-top: -25px;
	border-radius: 30px;
	transform: translateY(-50%);
}

.ap-carousel--press .ap-carousel__arrow::before {
	font-size: 30px;
}

.ap-carousel--press .ap-carousel__arrow--prev {
	left: 10px;
	right: auto;
}

.ap-carousel--press .ap-carousel__arrow--prev::before {
	content: "4";
}

.ap-carousel--press .ap-carousel__arrow--next {
	right: 10px;
	left: auto;
}

.ap-carousel--press .ap-carousel__arrow--next::before {
	content: "5";
}

@media only screen and (max-width: 767px) {
	.ap-carousel--press .ap-carousel__arrow {
		width: 36px;
		height: 36px;
		margin-top: -18px;
	}

	.ap-carousel--press .ap-carousel__arrow::before {
		font-size: 16px;
	}

	.ap-carousel--press .ap-carousel__arrow--prev {
		left: 10px;
	}

	.ap-carousel--press .ap-carousel__arrow--next {
		right: 10px;
	}
}

@media only screen and (max-width: 980px) {
	.ap-carousel--default .ap-carousel__arrow--prev {
		left: -54px;
	}

	.ap-carousel__arrow--next {
		right: -54px;
	}
}

@media only screen and (max-width: 767px) {
	.ap-carousel__arrow {
		width: 38px;
		height: 38px;
		margin-top: -19px;
	}

	.ap-carousel__arrow::before {
		font-size: 18px;
	}

	.ap-carousel__arrow--prev {
		left: -40px;
	}

	.ap-carousel__arrow--next {
		right: -40px;
	}
}
