/* Bandeau des offres [montana_offres] : couleurs et typo du kit Elementor (PAPER, WHITE, BLACK, typo PTS4). */

.mt-offres {
	--mt-offres-duree: 30s;
	display: flex;
	align-items: center;
	min-height: 60px;
	overflow: hidden;
	background: var(--e-global-color-bee636a, #e1dabe);
	border-block: 3px solid var(--e-global-color-4937c55, #fff);
	box-shadow: 0 0 0 3px var(--e-global-color-694de25, #000);
	user-select: none;
}

.mt-offres__track {
	display: flex;
	flex-wrap: nowrap;
	width: max-content;
}

.mt-offres__group {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	flex-shrink: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Espacement par marge droite (et non « gap ») : chaque groupe a la même largeur, la boucle tombe juste. */
.mt-offres__item {
	flex: 0 0 auto;
	margin: 0;
	padding: 0 1.5em;
	white-space: nowrap;
	font-family: var(--e-global-typography-d77b78c-font-family, "PT Serif"), serif;
	font-size: var(--e-global-typography-d77b78c-font-size, 17px);
	font-style: var(--e-global-typography-d77b78c-font-style, italic);
	font-weight: var(--e-global-typography-d77b78c-font-weight, 400);
	line-height: var(--e-global-typography-d77b78c-line-height, 1.6);
	color: var(--e-global-color-694de25, #000);
}

.mt-offres__item::after {
	content: "•";
	margin-left: 3em;
	font-style: normal;
}

/* Double classe : passe devant la couleur des liens du kit Elementor (.elementor-kit-… a). */
.mt-offres .mt-offres__item a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Sans JavaScript ou mouvement réduit : liste centrée et fixe, sur plusieurs lignes si besoin. */
.mt-offres:not(.is-loop) .mt-offres__track {
	width: 100%;
	justify-content: center;
}

.mt-offres:not(.is-loop) .mt-offres__group {
	flex-shrink: 1;
	min-width: 0;
}

.mt-offres:not(.is-loop) .mt-offres__item:last-child::after {
	content: none;
}

/* Boucle : une seule ligne (posée avant la mesure), puis animation une fois les groupes construits. */
.mt-offres.is-loop .mt-offres__group {
	flex-wrap: nowrap;
}

.mt-offres.is-ready .mt-offres__track {
	animation: mt-offres-defile var(--mt-offres-duree) linear infinite;
	will-change: transform;
}

.mt-offres.is-ready:hover .mt-offres__track,
.mt-offres.is-ready:focus-within .mt-offres__track {
	animation-play-state: paused;
}

@keyframes mt-offres-defile {
	to {
		transform: translate3d(-50%, 0, 0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.mt-offres .mt-offres__track {
		animation: none;
	}
}

@media (max-width: 767px) {
	.mt-offres__item {
		font-size: var(--e-global-typography-d77b78c-font-size-mobile, 16px);
	}
}
