/* Pendilium Slider — site + éditeur */

.pdl-banroll {
	position: relative;
	height: var(--pdl-zone-h, 240px);
	z-index: var(--pdl-z, 50);
	pointer-events: none; /* la zone laisse passer les clics, seul le bandeau les capte */
	overflow: visible;
	box-sizing: border-box;
}

/* Flottant : la zone ne prend aucune place, le contenu suivant passe dessous */
.pdl-banroll.is-floating {
	margin-block-start: 0 !important;
	margin-block-end: calc(-1 * var(--pdl-zone-h, 240px)) !important;
}

.pdl-banroll__band {
	position: absolute;
	left: 0;
	top: 50%;
	width: 100%;
	display: flex;
	align-items: center;
	overflow: hidden;
	transform-origin: 50% 50%;
	pointer-events: auto;
	user-select: none;
	-webkit-user-select: none;
	-webkit-tap-highlight-color: transparent;
	-webkit-touch-callout: none;
	box-sizing: border-box;
}

/* Mode bloc : bande droite qui prend sa place dans la page */
.pdl-banroll.is-block {
	height: auto;
	pointer-events: auto;
}

.pdl-banroll.is-block .pdl-banroll__band {
	position: relative;
	left: auto;
	top: auto;
	width: 100%;
	transform: none;
}

.pdl-banroll:not(.is-ready) .pdl-banroll__band {
	visibility: hidden;
}

.pdl-banroll__track {
	display: flex;
	align-items: center;
	height: 100%;
	width: max-content;
	will-change: transform;
}

.pdl-banroll__set {
	display: flex;
	align-items: center;
	flex: none;
	gap: var(--pdl-gap, 40px);
	padding-inline-end: var(--pdl-gap, 40px);
}

.pdl-banroll__item {
	flex: none;
	display: inline-flex;
	align-items: center;
	white-space: nowrap;
	line-height: 1;
	color: inherit;
	text-decoration: none !important;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

a.pdl-banroll__item {
	cursor: pointer;
}

a.pdl-banroll__item:hover {
	opacity: 0.8;
}

a.pdl-banroll__item:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 4px;
}

.pdl-banroll__item img {
	display: block;
	width: auto;
	max-width: none;
	-webkit-user-drag: none;
	pointer-events: none; /* le clic/tap est porté par le lien parent */
}

.pdl-banroll__sep {
	flex: none;
	line-height: 1;
}
