/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/



p sup {
    font-size: 30px !important;
    bottom: 0px;
    line-height: normal !important;
}


/* CONTENEUR */

.carousel {
	position: relative;
	width: 100%;
	overflow: hidden;
}

.carousel-viewport {
	width: 100%;
	overflow: hidden;
}

.carousel-track {
	display: flex;
	gap: 0;
	width: 100%;
	cursor: grab;
	touch-action: pan-y;
	will-change: transform;
}

.carousel.is-dragging .carousel-track {
	cursor: grabbing;
}

/* UNE IMAGE PAR ÉCRAN */

.carousel-slide {
	position: relative;
	flex: 0 0 100%;
	width: 100%;
	min-width: 0;
	overflow: hidden;
}

.carousel-slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	user-select: none;
	-webkit-user-drag: none;
}

.carousel-track {
	will-change: transform;
	backface-visibility: hidden;
	transform: translateZ(0);
}

.carousel-slide {
	overflow: hidden;
	backface-visibility: hidden;
}

.carousel-slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	backface-visibility: hidden;
	max-height: 80vh !important;
}


/* FLÈCHES EN BAS À DROITE */

.carousel-controls {
	position: absolute;
	z-index: 10;
	display: flex;
	gap: 8px;
}

.carousel-controls {
	right: 24px !important;
	bottom: 24px !important;
}

.carousel-left,
.carousel-right {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 1px solid rgba(255,255,255,.45);
	border-radius: 50%;
	background: #6e69448a;
	color: white;
	font-size: 19px;
	font-weight: 400;
	line-height: 1;
	cursor: pointer;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	transition: background .25s, opacity .25s;
}

.carousel-left:hover,
.carousel-right:hover,
.carousel-left:focus,
.carousel-right:focus{
	background: #6e69444d;
}



.carousel-left:disabled,
.carousel-right:disabled {
	opacity: 0.2;
	cursor: default;
	pointer-events: none;
}


/* MOBILE */


@media (max-width: 767px) {
	.carousel-left,
	.carousel-right {
		width: 34px;
		height: 34px;
		font-size: 17px;
	}
	
	.carousel-slide{
		min-height: 400px !important;
	}
}



