/**
 * Pour aller plus loin Pays de la Loire —
 * fond blanc · navy #022b60 · orange #fbaf3f · filets bleu clair.
 */
html:has(.wpcursor-aller-plus-loin-pdl) {
	overflow-x: clip;
}

.entry-content > .wpcursor-component.wpcursor-aller-plus-loin-pdl,
.entry-content[data-ast-blocks-layout] > .wpcursor-component.wpcursor-aller-plus-loin-pdl,
.wpcursor-component.wpcursor-aller-plus-loin-pdl.alignfull {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	max-width: 100vw;
	width: 100vw;
}

.wpcursor-component.wpcursor-aller-plus-loin-pdl {
	--sr-navy: #022b60;
	--sr-orange: #fbaf3f;
	--sr-white: #ffffff;
	--sr-line: #c5d4e4;
	--sr-font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
	--sr-pad: max(1.5rem, env(safe-area-inset-left), env(safe-area-inset-right));
	--sr-content: 84rem;
	--sr-gutter: max(var(--sr-pad), calc((100vw - min(100vw, var(--sr-content))) / 2 + var(--sr-pad)));
	--sr-ease: cubic-bezier(0.22, 1, 0.36, 1);
	background: var(--sr-white);
	box-sizing: border-box;
	color: var(--sr-navy);
	font-family: var(--sr-font);
	isolation: isolate;
	overflow: hidden;
	padding: clamp(3.75rem, 8vw, 6.25rem) 0 0;
	scroll-margin-top: 5.5rem;
	width: 100%;
}

.wpcursor-component.wpcursor-aller-plus-loin-pdl *,
.wpcursor-component.wpcursor-aller-plus-loin-pdl *::before,
.wpcursor-component.wpcursor-aller-plus-loin-pdl *::after {
	box-sizing: border-box;
}

.wpcursor-component.wpcursor-aller-plus-loin-pdl .wpcursor-aller-plus-loin-pdl__inner {
	margin: 0 auto;
	padding: 0 var(--sr-gutter) clamp(2.75rem, 5vw, 4rem);
	width: 100%;
}

.wpcursor-component.wpcursor-aller-plus-loin-pdl .wpcursor-aller-plus-loin-pdl__grid {
	display: grid;
	gap: 2.5rem;
	grid-template-columns: 1fr;
}

/* ---------- Copy ---------- */
.wpcursor-component.wpcursor-aller-plus-loin-pdl .wpcursor-aller-plus-loin-pdl__copy {
	max-width: 28rem;
}

.wpcursor-component.wpcursor-aller-plus-loin-pdl .wpcursor-aller-plus-loin-pdl__eyebrow {
	color: var(--sr-orange) !important;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	line-height: 1.35;
	margin: 0 0 1.1rem;
	text-transform: uppercase;
}

.wpcursor-component.wpcursor-aller-plus-loin-pdl .wpcursor-aller-plus-loin-pdl__title {
	color: var(--sr-navy) !important;
	font-size: clamp(1.55rem, 2.8vw, 2.15rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.2;
	margin: 0 0 1.1rem;
	text-wrap: balance;
}

.wpcursor-component.wpcursor-aller-plus-loin-pdl .wpcursor-aller-plus-loin-pdl__text {
	color: var(--sr-navy) !important;
	font-size: clamp(0.98rem, 1.25vw, 1.05rem);
	font-weight: 400;
	line-height: 1.65;
	margin: 0;
	opacity: 0.88;
}

/* ---------- Nav links ---------- */
.wpcursor-component.wpcursor-aller-plus-loin-pdl .wpcursor-aller-plus-loin-pdl__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.wpcursor-component.wpcursor-aller-plus-loin-pdl .wpcursor-aller-plus-loin-pdl__item {
	border-bottom: 1px solid var(--sr-line);
	margin: 0;
}

.wpcursor-component.wpcursor-aller-plus-loin-pdl .wpcursor-aller-plus-loin-pdl__item:first-child {
	border-top: 1px solid var(--sr-line);
}

.wpcursor-component.wpcursor-aller-plus-loin-pdl .wpcursor-aller-plus-loin-pdl__link {
	align-items: center;
	color: var(--sr-navy) !important;
	display: grid;
	gap: 0.85rem 1.15rem;
	grid-template-columns: auto minmax(0, 1fr) auto;
	min-height: 4.5rem;
	padding: 1.15rem 0;
	text-decoration: none !important;
	transition: color 0.25s var(--sr-ease);
	width: 100%;
}

.wpcursor-component.wpcursor-aller-plus-loin-pdl .wpcursor-aller-plus-loin-pdl__num {
	color: var(--sr-orange) !important;
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1;
	min-width: 1.6rem;
}

.wpcursor-component.wpcursor-aller-plus-loin-pdl .wpcursor-aller-plus-loin-pdl__label {
	display: inline-block;
	max-width: 100%;
	min-width: 0;
	position: relative;
}

.wpcursor-component.wpcursor-aller-plus-loin-pdl .wpcursor-aller-plus-loin-pdl__label-text {
	color: inherit;
	display: inline;
	font-size: clamp(1.05rem, 1.8vw, 1.35rem);
	font-weight: 600;
	letter-spacing: -0.015em;
	line-height: 1.3;
}

.wpcursor-component.wpcursor-aller-plus-loin-pdl .wpcursor-aller-plus-loin-pdl__label::after {
	background: var(--sr-orange);
	border-radius: 999px;
	bottom: -0.2em;
	content: "";
	display: block;
	height: 2px;
	left: 0;
	position: absolute;
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 0.35s var(--sr-ease);
	width: 100%;
}

.wpcursor-component.wpcursor-aller-plus-loin-pdl .wpcursor-aller-plus-loin-pdl__arrow {
	align-items: center;
	color: var(--sr-orange);
	display: inline-flex;
	flex-shrink: 0;
	justify-content: center;
	line-height: 0;
	transform: translate3d(0, 0, 0);
	transition: transform 0.35s var(--sr-ease);
}

.wpcursor-component.wpcursor-aller-plus-loin-pdl .wpcursor-aller-plus-loin-pdl__arrow svg {
	display: block;
	height: auto;
	width: 1.35rem;
}

.wpcursor-component.wpcursor-aller-plus-loin-pdl .wpcursor-aller-plus-loin-pdl__link:hover .wpcursor-aller-plus-loin-pdl__label::after,
.wpcursor-component.wpcursor-aller-plus-loin-pdl .wpcursor-aller-plus-loin-pdl__link:focus-visible .wpcursor-aller-plus-loin-pdl__label::after {
	transform: scaleX(1);
}

.wpcursor-component.wpcursor-aller-plus-loin-pdl .wpcursor-aller-plus-loin-pdl__link:hover .wpcursor-aller-plus-loin-pdl__arrow,
.wpcursor-component.wpcursor-aller-plus-loin-pdl .wpcursor-aller-plus-loin-pdl__link:focus-visible .wpcursor-aller-plus-loin-pdl__arrow {
	transform: translate3d(6px, 0, 0);
}

.wpcursor-component.wpcursor-aller-plus-loin-pdl .wpcursor-aller-plus-loin-pdl__link:focus-visible {
	outline: 2px solid var(--sr-orange);
	outline-offset: 4px;
}

/* ---------- Band ---------- */
.wpcursor-component.wpcursor-aller-plus-loin-pdl .wpcursor-aller-plus-loin-pdl__band {
	height: clamp(5.5rem, 12vw, 8.5rem);
	margin: 0;
	overflow: hidden;
	position: relative;
	width: 100%;
}

.wpcursor-component.wpcursor-aller-plus-loin-pdl .wpcursor-aller-plus-loin-pdl__band-img {
	display: block;
	height: 100%;
	object-fit: cover;
	object-position: center 78%;
	opacity: 0.92;
	width: 100%;
}

/* ---------- Desktop ---------- */
@media (min-width: 992px) {
	.wpcursor-component.wpcursor-aller-plus-loin-pdl .wpcursor-aller-plus-loin-pdl__grid {
		align-items: start;
		gap: 3rem 4.5rem;
		grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
	}

	.wpcursor-component.wpcursor-aller-plus-loin-pdl .wpcursor-aller-plus-loin-pdl__link {
		gap: 1rem 1.35rem;
		min-height: 5rem;
		padding: 1.35rem 0;
	}

	.wpcursor-component.wpcursor-aller-plus-loin-pdl .wpcursor-aller-plus-loin-pdl__label-text {
		font-size: clamp(1.15rem, 1.55vw, 1.4rem);
	}
}

/* ---------- Animations ---------- */
@keyframes sr-zpdl-apl-rise {
	from {
		opacity: 0;
		transform: translate3d(0, 16px, 0);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.wpcursor-aller-plus-loin-pdl:not(.is-inview) .wpcursor-aller-plus-loin-pdl__copy > *,
	.wpcursor-aller-plus-loin-pdl:not(.is-inview) .wpcursor-aller-plus-loin-pdl__item {
		opacity: 0;
		transform: translate3d(0, 16px, 0);
	}

	.wpcursor-aller-plus-loin-pdl.is-inview .wpcursor-aller-plus-loin-pdl__copy > * {
		animation: sr-zpdl-apl-rise 0.75s var(--sr-ease) both;
	}

	.wpcursor-aller-plus-loin-pdl.is-inview .wpcursor-aller-plus-loin-pdl__copy > :nth-child(2) {
		animation-delay: 0.08s;
	}

	.wpcursor-aller-plus-loin-pdl.is-inview .wpcursor-aller-plus-loin-pdl__copy > :nth-child(3) {
		animation-delay: 0.16s;
	}

	.wpcursor-aller-plus-loin-pdl.is-inview .wpcursor-aller-plus-loin-pdl__item {
		animation: sr-zpdl-apl-rise 0.7s var(--sr-ease) both;
	}

	.wpcursor-aller-plus-loin-pdl.is-inview .wpcursor-aller-plus-loin-pdl__item:nth-child(1) {
		animation-delay: 0.22s;
	}

	.wpcursor-aller-plus-loin-pdl.is-inview .wpcursor-aller-plus-loin-pdl__item:nth-child(2) {
		animation-delay: 0.32s;
	}

	.wpcursor-aller-plus-loin-pdl.is-inview .wpcursor-aller-plus-loin-pdl__item:nth-child(3) {
		animation-delay: 0.42s;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wpcursor-component.wpcursor-aller-plus-loin-pdl .wpcursor-aller-plus-loin-pdl__copy > *,
	.wpcursor-component.wpcursor-aller-plus-loin-pdl .wpcursor-aller-plus-loin-pdl__item {
		opacity: 1;
		transform: none;
	}

	.wpcursor-component.wpcursor-aller-plus-loin-pdl .wpcursor-aller-plus-loin-pdl__label::after,
	.wpcursor-component.wpcursor-aller-plus-loin-pdl .wpcursor-aller-plus-loin-pdl__arrow {
		transition: none;
	}
}
