/* --------------------------------------------------------------------------
   Calendrier des sorties — shortcode [sorties]

   Trois niveaux de présence à l'écran, du plus fort au plus discret :
   la prochaine sortie (carte), les suivantes (liste franche), les réalisées
   (liste en retrait). L'annulation se lit au barré, pas à la couleur seule.

   Couleurs et polices viennent du thème : rien n'est codé en dur ici, la
   palette de theme.json reste la seule source.
   -------------------------------------------------------------------------- */

.eah-sorties {
	--eah-trait: color-mix(in srgb, var(--wp--preset--color--accent-5) 22%, transparent);
	margin-block: 2rem 3rem;
}

/* --- jauge de saison ---------------------------------------------------- */

.eah-avancement {
	margin-bottom: 2.5rem;
}

.eah-avancement-texte {
	margin: 0 0 .6rem;
	font-size: .95rem;
	font-weight: 600;
	color: var(--wp--preset--color--accent-5);
}

.eah-jauge {
	height: .5rem;
	border-radius: 99px;
	background: var(--wp--preset--color--accent-3);
	overflow: hidden;
}

.eah-jauge-remplie {
	display: block;
	height: 100%;
	border-radius: 99px;
	background: var(--wp--preset--color--accent-2);
}

/* --- la prochaine sortie ------------------------------------------------ */

.eah-prochaine {
	position: relative;
	padding: 1.75rem 1.75rem 1.5rem;
	margin-bottom: 3rem;
	border-radius: 1rem;
	background: var(--wp--preset--color--accent-6);
	/* le liseré jaune porte la hiérarchie : c'est le seul bloc qui en a un */
	box-shadow: inset 0 0 0 2px var(--wp--preset--color--accent-1);
}

.eah-surtitre {
	margin: 0 0 .5rem;
	font-size: .95rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent-2);
}

.eah-surtitre strong {
	color: var(--wp--preset--color--contrast);
}

.eah-prochaine-titre {
	margin: 0 0 .35rem;
	font-family: var(--wp--preset--font-family--heading);
	font-size: clamp(1.4rem, 3vw, 1.9rem);
	line-height: 1.2;
}

.eah-prochaine .eah-date {
	margin: 0 0 .5rem;
	font-size: 1.05rem;
	font-weight: 600;
	color: var(--wp--preset--color--contrast);
}

/* dans la carte, les détails occupent leur propre ligne */
.eah-prochaine .eah-details {
	display: block;
}

/* --- la prochaine sortie, sur la photo du massif --------------------------

   Le Mont-Blanc à l'heure bleue en fond, le texte en blanc sur le ciel, à
   gauche, un voile sombre derrière lui pour qu'il se lise quelle que soit la
   largeur. Toute la carte est cliquable : le lien du titre s'étend sur elle,
   et le bouton jaune dit en toutes lettres qu'il faut cliquer. Au survol, la
   carte se soulève et la flèche avance. */

.eah-prochaine--massif {
	display: flex;
	align-items: center;
	min-height: clamp(16rem, 26vw, 20rem);
	padding: 2rem 2.2rem;
	overflow: hidden;
	isolation: isolate;
	background: #0f1d33;
	/* le liseré jaune en contour : une ombre intérieure passerait sous la photo */
	outline: 2px solid var(--wp--preset--color--accent-1);
	outline-offset: -2px;
	box-shadow: 0 14px 34px -14px rgb(15 29 51 / .55);
	transition: transform .2s ease, box-shadow .2s ease;
}

.eah-prochaine--massif:hover,
.eah-prochaine--massif:focus-within {
	transform: translateY(-3px);
	box-shadow: 0 22px 44px -16px rgb(15 29 51 / .65);
}

/* deux classes : le thème met `height: auto` et une ombre à toute image du
   contenu */
.eah-prochaine--massif .eah-prochaine-photo {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	max-width: none;
	height: 100%;
	margin: 0;
	border-radius: 0;
	box-shadow: none;
	object-fit: cover;
	object-position: center 35%;
}

/* le voile : sombre à gauche sous le texte, il s'efface vers les sommets */
.eah-prochaine--massif::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, rgb(10 20 38 / .78) 0%, rgb(10 20 38 / .45) 45%, rgb(10 20 38 / 0) 75%);
}

.eah-prochaine-texte {
	max-width: 40rem;
}

.eah-prochaine--massif,
.eah-prochaine--massif .eah-prochaine-titre,
.eah-prochaine--massif .eah-date,
.eah-prochaine--massif .eah-details,
.eah-prochaine--massif .eah-surtitre strong {
	color: #fff;
}

.eah-prochaine--massif .eah-surtitre {
	color: var(--wp--preset--color--accent-1);
}

.eah-prochaine--massif .eah-details {
	opacity: .85;
}

.eah-prochaine--massif .eah-prochaine-titre {
	font-size: clamp(1.5rem, 3vw, 2.1rem);
	text-shadow: 0 1px 12px rgb(0 0 0 / .35);
}

/* le lien du titre couvre toute la carte */
.eah-prochaine--massif .eah-titre-lien::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: inherit;
}

.eah-prochaine--massif .eah-titre-lien:focus-visible {
	outline-color: var(--wp--preset--color--accent-1);
}

/* le bouton : une gélule vert forêt, la flèche dans un rond */
.eah-prochaine-action {
	display: inline-flex;
	align-items: center;
	gap: .7rem;
	margin-top: 1.25rem;
	padding: .55rem .55rem .55rem 1.3rem;
	border-radius: 999px;
	background: linear-gradient(160deg, var(--wp--preset--color--foret) 0%, var(--wp--preset--color--foret-nuit) 100%);
	color: var(--wp--preset--color--base);
	font-size: .95rem;
	font-weight: 700;
	box-shadow: 0 8px 20px -8px rgb(0 0 0 / .6);
}

.eah-prochaine-fleche {
	display: grid;
	place-items: center;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	background: var(--wp--preset--color--contrast);
	color: #fff;
	transition: transform .2s ease;
}

.eah-prochaine--massif:hover .eah-prochaine-fleche,
.eah-prochaine--massif:focus-within .eah-prochaine-fleche {
	transform: translateX(.25rem);
}

@media (prefers-reduced-motion: reduce) {
	.eah-prochaine--massif,
	.eah-prochaine-fleche {
		transition: none;
	}

	.eah-prochaine--massif:hover,
	.eah-prochaine--massif:focus-within {
		transform: none;
	}
}

/* étroit : la photo garde le haut (le ciel et les sommets), le voile passe
   du bas vers le haut sous le texte */
@media (max-width: 720px) {
	.eah-prochaine--massif {
		align-items: flex-end;
		min-height: 22rem;
		padding: 1.25rem 1.25rem 1.4rem;
	}

	.eah-prochaine--massif .eah-prochaine-photo {
		object-position: 38% center;
	}

	.eah-prochaine--massif::before {
		background: linear-gradient(to top, rgb(10 20 38 / .85) 0%, rgb(10 20 38 / .55) 50%, rgb(10 20 38 / .1) 85%);
	}

	.eah-prochaine-action {
		margin-top: 1rem;
	}
}

/* --- listes ------------------------------------------------------------- */

.eah-bloc {
	margin-bottom: 2.75rem;
}

.eah-bloc-titre {
	display: flex;
	align-items: baseline;
	gap: .6rem;
	margin: 0 0 .25rem;
	padding-bottom: .6rem;
	border-bottom: 1px solid var(--eah-trait);
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.15rem;
}

.eah-compte {
	font-family: var(--wp--preset--font-family--body);
	font-size: .95rem;
	font-weight: 700;
	padding: .1rem .5rem;
	border-radius: 99px;
	background: var(--wp--preset--color--accent-3);
	color: var(--wp--preset--color--accent-5);
}

.eah-liste {
	list-style: none;
	margin: 0;
	padding: 0;
}

.eah-item {
	display: grid;
	/* la colonne de dates est fixe : les dates s'alignent, l'œil descend droit.
	   16rem tient « 26 septembre – 4 octobre 2026 » sur une seule ligne, le
	   libellé le plus long que produise une saison. */
	grid-template-columns: 16rem 1fr;
	gap: 0 1.5rem;
	padding: .9rem 0;
	border-bottom: 1px solid var(--eah-trait);
}

.eah-item-date {
	font-size: .95rem;
	font-weight: 600;
	color: var(--wp--preset--color--accent-5);
	font-variant-numeric: tabular-nums;
}

.eah-item-corps {
	display: flex;
	flex-direction: column;
	gap: .15rem;
}

.eah-item-titre {
	font-weight: 600;
	line-height: 1.35;
}

.eah-details {
	font-size: 1rem;
	color: var(--wp--preset--color--accent-5);
}

/* --- le titre est le lien -----------------------------------------------

   Pas de soulignement au repos : dans une liste de dix-sept sorties, autant
   de titres soulignés font un mur. Il apparaît au survol et au clavier, là
   où il faut savoir ce qu'on vise. */

.eah-titre-lien {
	color: inherit;
	text-decoration: none;
	text-underline-offset: .2em;
}

.eah-titre-lien:hover,
.eah-titre-lien:focus-visible {
	text-decoration: underline;
	text-decoration-thickness: 2px;
}

.eah-titre-lien:focus-visible {
	outline: 2px solid var(--wp--preset--color--accent-2);
	outline-offset: 3px;
	border-radius: 2px;
}

/* Dit aux lecteurs d'écran, invisible à l'œil. Sans cela, dix-sept liens
   parcourus hors contexte ne diraient plus où ils mènent. */

.eah-lecture-seule {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

/* --- à venir : la couleur du titre suffit à les distinguer -------------- */

.eah-bloc--avenir .eah-item-date {
	color: var(--wp--preset--color--accent-2);
}

/* --- déjà faites : en retrait, mais lisibles ---------------------------- */

.eah-bloc--passee .eah-item-titre {
	font-weight: 500;
}

.eah-reste {
	margin: .9rem 0 0;
	font-size: .9rem;
	font-style: italic;
	color: var(--wp--preset--color--accent-5);
}

/* --- annulées : le barré porte l'information, pas la couleur ------------ */

.eah-bloc--annulee .eah-item-date,
.eah-bloc--annulee .eah-item-titre {
	text-decoration: line-through;
	text-decoration-thickness: 1px;
	color: var(--wp--preset--color--accent-4);
}

.eah-motif {
	font-size: 1rem;
	font-weight: 600;
	color: var(--wp--preset--color--accent-4);
}

.eah-sorties-vide {
	font-style: italic;
	color: var(--wp--preset--color--accent-5);
}

/* --- étroit : la date passe au-dessus du titre -------------------------- */

@media (max-width: 640px) {
	.eah-item {
		grid-template-columns: 1fr;
		gap: .2rem;
	}

	.eah-prochaine {
		padding: 1.35rem 1.25rem 1.25rem;
	}
}

/* --------------------------------------------------------------------------
   Le programme de la saison — shortcode [programme]

   Une seule colonne verticale, du 1er janvier à l'assemblée générale. Le trait
   qui court à gauche est plein sur la part parcourue, pointillé sur celle qui
   reste : la progression se lit avant même d'avoir lu une seule date.
   -------------------------------------------------------------------------- */

.eah-programme {
	margin-block: 1.5rem;
}

.eah-prog-liste {
	list-style: none;
	margin: 0;
	padding: 0;
}

.eah-prog-item {
	position: relative;
	display: grid;
	grid-template-columns: 1.75rem 1fr;
	gap: 0 .9rem;
	padding: .7rem 0 .7rem .1rem;
}

/* le trait de progression, tracé par les puces elles-mêmes */
.eah-prog-item::before {
	content: "";
	position: absolute;
	left: .8rem;
	top: 0;
	bottom: 0;
	width: 2px;
	background: var(--wp--preset--color--accent-2);
}

.eah-prog-item:first-child::before {
	top: 1.35rem;
}

.eah-prog-item:last-child::before {
	bottom: calc(100% - 1.35rem);
}

/* ce qui reste à parcourir : trait interrompu, plus discret */
.eah-prog--avenir::before,
.eah-prog--annulee::before {
	background: repeating-linear-gradient(
		to bottom,
		var(--wp--preset--color--accent-5) 0 4px,
		transparent 4px 8px
	);
	opacity: .45;
}

.eah-prog-marque {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 1.75rem;
	height: 1.75rem;
	border-radius: 50%;
	font-size: .85rem;
	font-weight: 700;
	line-height: 1;
	background: var(--wp--preset--color--accent-2);
	color: var(--wp--preset--color--accent-6);
}

.eah-prog--avenir .eah-prog-marque {
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--accent-5);
	box-shadow: inset 0 0 0 2px var(--wp--preset--color--accent-3);
}

.eah-prog--annulee .eah-prog-marque {
	background: var(--wp--preset--color--accent-4);
	color: var(--wp--preset--color--accent-6);
}

/* l'état est porté par une forme et un texte, jamais par la seule couleur */
.eah-prog-lecture {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.eah-prog-date {
	grid-column: 2;
	font-size: .88em;
	font-weight: 600;
	color: var(--wp--preset--color--accent-5);
}

.eah-prog-corps {
	grid-column: 2;
	display: flex;
	flex-direction: column;
	gap: .1rem;
}

.eah-prog-titre {
	font-weight: 600;
	line-height: 1.35;
}

.eah-prog--annulee .eah-prog-date,
.eah-prog--annulee .eah-prog-titre {
	text-decoration: line-through;
	text-decoration-thickness: 1px;
	color: var(--wp--preset--color--accent-4);
}

/* --- le repère « nous en sommes là » ------------------------------------ */

.eah-prog-repere {
	display: flex;
	align-items: center;
	gap: .75rem;
	margin: .35rem 0 .35rem 0;
	font-size: .8em;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent-1);
}

.eah-prog-repere::before {
	content: "";
	flex: 0 0 1.75rem;
	height: 2px;
	background: var(--wp--preset--color--accent-1);
}

.eah-prog-repere::after {
	content: "";
	flex: 1;
	height: 2px;
	background: var(--wp--preset--color--accent-1);
	opacity: .35;
}

/* --------------------------------------------------------------------------
   Le programme en cartes — shortcode [calendrier]

   Une carte par sortie, comme une case du flyer : la date en pastille à
   gauche, la randonnée, son niveau et ses G.O. Les sorties à venir d'abord,
   de la prochaine à la plus lointaine, puis les faites, de la plus récente
   à la plus ancienne.
   L'état se lit à une étiquette écrite, jamais à la seule couleur.
   -------------------------------------------------------------------------- */

.eah-bloc--programme .eah-bloc-titre {
	margin-bottom: 1rem;
}

/* une sortie par ligne, comme une ligne du tableau du flyer */
.eah-cartes {
	display: grid;
	grid-template-columns: 1fr;
	gap: .75rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

/* le repère « nous en sommes là » traverse toute la grille */
.eah-cartes .eah-prog-repere {
	grid-column: 1 / -1;
	margin: .5rem 0;
}

.eah-carte-sortie {
	display: grid;
	grid-template-columns: 4.75rem 1fr;
	gap: 1rem;
	padding: 1rem;
	border-radius: .9rem;
	background: var(--wp--preset--color--accent-6);
	box-shadow: 0 1px 0 var(--eah-trait), 0 6px 18px rgb(34 54 74 / .06);
}

/* --- la pastille de date ------------------------------------------------ */

.eah-pastille {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: .1rem;
	padding: .6rem .3rem;
	border-radius: .65rem;
	background: var(--wp--preset--color--accent-2);
	color: var(--wp--preset--color--accent-6);
	text-align: center;
	line-height: 1.05;
	align-self: start;
}

.eah-pastille-jour {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.65rem;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

/* « 11–12 » : deux nombres doivent tenir dans la même largeur */
.eah-pastille-jour--plage {
	font-size: 1.2rem;
}

.eah-pastille-mois {
	font-size: .95rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
}

.eah-pastille-petit {
	font-size: .9rem;
	font-weight: 600;
	opacity: .9;
}

/* --- le contenu --------------------------------------------------------- */

.eah-carte-sortie-corps {
	display: flex;
	flex-direction: column;
	gap: .3rem;
	min-width: 0;
}

.eah-carte-sortie-haut {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: .3rem .6rem;
	margin: 0;
}

.eah-carte-sortie-date {
	font-size: 1rem;
	font-weight: 600;
	color: var(--wp--preset--color--accent-5);
}

.eah-carte-sortie-date::first-letter {
	text-transform: uppercase;
}

.eah-badge {
	padding: .1rem .55rem;
	border-radius: 99px;
	font-size: .9rem;
	font-weight: 700;
	letter-spacing: .03em;
	white-space: nowrap;
}

.eah-badge--avenir {
	background: var(--wp--preset--color--accent-1);
	color: var(--wp--preset--color--contrast);
}

.eah-badge--annonce-prete {
	background: #2f8f4e;
	color: #fff;
}

.eah-badge--annonce-attendue {
	background: #c0392b;
	color: #fff;
}

.eah-badge--passee {
	background: var(--wp--preset--color--accent-3);
	color: var(--wp--preset--color--accent-5);
}

.eah-badge--annulee {
	background: var(--wp--preset--color--accent-4);
	color: var(--wp--preset--color--accent-6);
}

.eah-carte-sortie-titre {
	margin: 0;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.2rem;
	line-height: 1.3;
}

.eah-carte-sortie-sous {
	margin: 0;
	font-size: 1rem;
	font-style: italic;
	color: var(--wp--preset--color--accent-5);
}

.eah-carte-sortie-infos {
	display: flex;
	flex-wrap: wrap;
	gap: .4rem 1.25rem;
	margin: .35rem 0 0;
	padding-top: .55rem;
	border-top: 1px dashed var(--eah-trait);
	font-size: 1.05rem;
}

.eah-carte-sortie-infos div {
	display: flex;
	align-items: baseline;
	gap: .4rem;
}

.eah-carte-sortie-infos dt {
	font-size: .9rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent-5);
}

.eah-carte-sortie-infos dd {
	margin: 0;
	font-weight: 600;
}

.eah-niveau::first-letter {
	text-transform: uppercase;
}

/* --- les états ---------------------------------------------------------- */

/* à venir : le liseré dit où en est l'annonce — vert quand elle est en
   ligne, rouge tant qu'elle manque. L'étiquette le dit aussi en toutes
   lettres, la couleur n'est jamais seule. */
.eah-carte-sortie--avenir {
	box-shadow: inset 0 0 0 2px var(--wp--preset--color--accent-1), 0 6px 18px rgb(34 54 74 / .06);
}

.eah-carte-sortie--annonce-prete {
	box-shadow: inset 0 0 0 2px #2f8f4e, 0 6px 18px rgb(34 54 74 / .06);
}

.eah-carte-sortie--annonce-attendue {
	box-shadow: inset 0 0 0 2px #c0392b, 0 6px 18px rgb(34 54 74 / .06);
}

/* faites : en retrait, mais lisibles */
.eah-carte-sortie--passee .eah-pastille {
	background: color-mix(in srgb, var(--wp--preset--color--accent-2) 75%, var(--wp--preset--color--accent-6));
}

/* annulées : le barré et l'étiquette portent l'information */
.eah-carte-sortie--annulee .eah-pastille {
	background: var(--wp--preset--color--accent-4);
}

.eah-carte-sortie--annulee .eah-carte-sortie-titre,
.eah-carte-sortie--annulee .eah-carte-sortie-date {
	text-decoration: line-through;
	text-decoration-thickness: 1px;
	color: var(--wp--preset--color--accent-4);
}

.eah-carte-sortie .eah-motif {
	margin: .2rem 0 0;
}

/* Assez large : niveau et G.O. passent en colonnes à droite, alignées d'une
   ligne à l'autre comme celles du flyer. */
@media (min-width: 760px) {
	.eah-carte-sortie-corps {
		display: grid;
		grid-template-columns: 1fr 8rem 12rem 6.5rem;
		column-gap: 1.25rem;
		row-gap: .25rem;
		align-content: center;
	}

	.eah-carte-sortie-corps > * {
		grid-column: 1;
	}

	/* la date reste au-dessus du titre, l'état prend la dernière colonne */
	.eah-carte-sortie-haut {
		display: contents;
	}

	.eah-carte-sortie-date {
		grid-column: 1;
		grid-row: 1;
	}

	.eah-carte-sortie-corps .eah-badge {
		grid-column: 4;
		grid-row: 1 / span 3;
		align-self: center;
		justify-self: end;
	}

	.eah-carte-sortie-corps > .eah-carte-sortie-infos {
		grid-column: 2 / 4;
		grid-row: 1 / span 3;
		display: grid;
		grid-template-columns: 8rem 12rem;
		column-gap: 1.25rem;
		align-self: center;
		margin: 0;
		padding: 0;
		border-top: 0;
	}

	/* le libellé au-dessus de la valeur, comme l'en-tête d'une colonne */
	.eah-carte-sortie-infos div {
		flex-direction: column;
		gap: .1rem;
	}
}

@media (max-width: 420px) {
	.eah-carte-sortie {
		grid-template-columns: 4rem 1fr;
		gap: .8rem;
		padding: .85rem;
	}
}

/* --- documents à télécharger -------------------------------------------- */

.eah-docs {
	list-style: none;
	margin: 0;
	padding: 0;
}

.eah-docs li + li {
	margin-top: .5rem;
}

.eah-docs a {
	display: flex;
	align-items: baseline;
	gap: .6rem;
	padding: .7rem .9rem;
	border-radius: .6rem;
	background: var(--wp--preset--color--accent-6);
	box-shadow: inset 0 0 0 1px var(--eah-trait);
	font-weight: 600;
	text-decoration: none;
}

.eah-docs a:hover,
.eah-docs a:focus-visible {
	box-shadow: inset 0 0 0 2px var(--wp--preset--color--accent-1);
}

.eah-docs a::before {
	content: "PDF";
	flex: none;
	font-size: .68em;
	font-weight: 700;
	letter-spacing: .06em;
	padding: .15rem .4rem;
	border-radius: .25rem;
	background: var(--wp--preset--color--accent-3);
	color: var(--wp--preset--color--accent-5);
}

.eah-annee {
	margin: 1.75rem 0 .6rem;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent-5);
}

.eah-annee:first-child {
	margin-top: 0;
}

/* --------------------------------------------------------------------------
   La page d'une sortie

   Une hiérarchie de lecture qui suit l'ordre des questions : quand ? où se
   retrouve-t-on ? puis-je y aller ? qu'emporter ? Le rendez-vous est le seul
   bloc encadré — c'est la seule information sans laquelle personne ne vient.

   Couleurs et polices viennent du thème : rien n'est codé en dur ici.
   -------------------------------------------------------------------------- */

.eah-fiche {
	--eah-trait: color-mix(in srgb, var(--wp--preset--color--accent-5) 22%, transparent);
	margin-block: 0 2.5rem;
	/* La fiche se règle sur sa propre largeur, non sur celle de l'écran :
	   l'aperçu de « Préparer l'annonce », plus étroit, s'affiche alors
	   exactement comme la page. */
	container: fiche / inline-size;
}

/* --- l'en-tête : ce que le flyer sait de la sortie ------------------------

   La date, puis deux pastilles en gélule : le niveau, en jaune comme les
   boutons, et l'organisateur, en verre clair comme les champs du formulaire. */

.eah-fiche {
	/* La matière claire partagée par tous les panneaux de la page : un verre
	   sable et crème, un liseré de lumière, une ombre douce. */
	--eah-clair-fond: linear-gradient(160deg, color-mix(in srgb, var(--wp--preset--color--base) 55%, #fff) 0%, var(--wp--preset--color--accent-3) 100%);
	--eah-clair-trait: color-mix(in srgb, var(--wp--preset--color--contrast) 14%, transparent);
	--eah-clair-ombre: 0 2px 4px rgb(34 54 74 / .06), 0 18px 34px -18px rgb(34 54 74 / .3);
	--eah-lisere: linear-gradient(170deg, #fff, rgb(255 255 255 / .25) 35%, rgb(255 255 255 / 0) 70%, rgb(255 255 255 / .6));
}

.eah-fiche-entete {
	margin-bottom: 1.6rem;
}

.eah-fiche-date {
	margin: 0;
	font-family: var(--wp--preset--font-family--heading, inherit);
	font-size: clamp(1.5rem, 4vw, 2rem);
	font-weight: 600;
	line-height: 1.2;
	color: var(--wp--preset--color--accent-5);
}

.eah-fiche-date::first-letter {
	text-transform: uppercase;
}

.eah-fiche-reperes {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .6rem;
	margin: 1rem 0 0;
	font-size: 1.05rem;
}

.eah-fiche-niveau,
.eah-fiche-orga {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-height: 2.6rem;
	padding: .35rem 1.2rem;
	border-radius: 999px;
}

.eah-fiche-niveau::before,
.eah-fiche-orga::before {
	content: "";
	position: absolute;
	inset: 0;
	padding: 1px;
	border-radius: inherit;
	pointer-events: none;
	background: var(--eah-lisere);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
}

.eah-fiche-niveau {
	background: var(--wp--preset--color--accent-1);
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--wp--preset--color--accent-1) 45%, #6b4a00), 0 6px 14px -8px color-mix(in srgb, var(--wp--preset--color--accent-1) 80%, transparent);
	color: var(--wp--preset--color--contrast);
	font-weight: 700;
}

.eah-fiche-orga {
	background: rgb(255 255 255 / .65);
	box-shadow: 0 0 0 1px var(--eah-clair-trait), 0 6px 14px -10px rgb(34 54 74 / .3);
	color: var(--wp--preset--color--accent-5);
}

.eah-fiche-orga strong {
	margin-left: .3rem;
	color: var(--wp--preset--color--contrast);
}

.eah-fiche-annulee {
	margin: 1rem 0 0;
	padding: .9rem 1.4rem;
	border-radius: 1.4rem;
	background: rgb(255 255 255 / .65);
	box-shadow: 0 0 0 1px var(--eah-clair-trait);
	font-size: 1.1rem;
}

/* --- l'essentiel : la carte, et trois gélules posées dessus ---------------

   Ce qu'on vient chercher en premier : où et quand, quel effort, comment
   s'inscrire. Quand la sortie a un tracé, la carte remplit tout le bloc et
   les trois informations y sont posées à gauche, en gélules de verre teinté :
   le bleu encre du site qui se réchauffe vers son mauve, un fin liseré de
   lumière, un grain léger, des lettres fines et espacées. Sans tracé, les
   gélules restent seules, sur le fond de la page. */

.eah-essentiel,
.eah-inscription,
.eah-bandeau {
	--eah-gel-sombre: color-mix(in srgb, var(--wp--preset--color--contrast) 92%, #000 8%);
	--eah-gel-moyen: color-mix(in srgb, var(--wp--preset--color--contrast) 55%, var(--wp--preset--color--accent-4) 45%);
	--eah-gel-clair: var(--wp--preset--color--base);
	--eah-gel-doux: color-mix(in srgb, var(--wp--preset--color--base) 88%, var(--wp--preset--color--accent-4) 12%);
	--eah-grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.eah-essentiel {
	position: relative;
	margin: 1rem 0 3rem;
}

.eah-essentiel-infos {
	display: flex;
	flex-direction: column;
	gap: 1.1rem;
	max-width: 36rem;
}

/* La carte remplit le bloc ; les gélules flottent dessus, centrées en
   hauteur, sur un voile qui assombrit la gauche de la carte. */
.eah-essentiel--carte {
	display: flex;
	align-items: center;
	min-height: 34rem;
	padding: 1.6rem;
	border-radius: 30px;
	overflow: hidden;
	isolation: isolate;
}

.eah-essentiel--carte .eah-essentiel-infos {
	position: relative;
	z-index: 900;
	width: min(41rem, 100%);
	max-width: none;
}

.eah-essentiel-carte {
	position: absolute;
	inset: 0;
	z-index: 0;
}

/* Le voile : au-dessus des tuiles et du tracé (400), sous les boutons (800) ;
   il laisse passer les clics. */
.eah-essentiel-carte::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 500;
	pointer-events: none;
	background: linear-gradient(to right,
		color-mix(in srgb, var(--eah-gel-sombre) 45%, transparent) 0%,
		color-mix(in srgb, var(--eah-gel-sombre) 27%, transparent) 30%,
		transparent 58%);
}

.eah-trace-carte {
	position: absolute;
	inset: 0;
	z-index: 0;
	background: var(--wp--preset--color--accent-3);
}

/* --- une gélule ---------------------------------------------------------- */

.eah-gelule {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.2rem;
	min-height: 6.4rem;
	/* le texte se tient hors de l'arrondi des bouts */
	padding: 1rem 2rem 1rem 4rem;
	border-radius: 999px;
	color: var(--eah-gel-clair);
	background: linear-gradient(100deg,
		color-mix(in srgb, var(--eah-gel-sombre) 93%, transparent) 0%,
		color-mix(in srgb, color-mix(in srgb, var(--eah-gel-sombre) 55%, var(--eah-gel-moyen)) 90%, transparent) 55%,
		color-mix(in srgb, var(--eah-gel-moyen) 86%, transparent) 100%);
	-webkit-backdrop-filter: blur(14px) saturate(1.2);
	backdrop-filter: blur(14px) saturate(1.2);
	box-shadow:
		inset 0 0 0 1px rgb(255 255 255 / .2),
		inset 0 1px 0 rgb(255 255 255 / .16),
		0 2px 4px rgb(0 0 0 / .25),
		0 18px 34px -8px rgb(0 0 0 / .55);
}

/* celle du milieu prend le dégradé à l'envers */
.eah-gelule--parcours {
	justify-content: center;
	background: linear-gradient(100deg,
		color-mix(in srgb, var(--eah-gel-moyen) 86%, transparent) 0%,
		color-mix(in srgb, color-mix(in srgb, var(--eah-gel-sombre) 55%, var(--eah-gel-moyen)) 90%, transparent) 45%,
		color-mix(in srgb, var(--eah-gel-sombre) 93%, transparent) 100%);
}

/* le grain de la matière */
.eah-gelule::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	pointer-events: none;
	background-image: var(--eah-grain);
	opacity: .09;
	mix-blend-mode: overlay;
}

/* le liseré : plus vif sur l'arête du haut */
.eah-gelule::after {
	content: "";
	position: absolute;
	inset: 0;
	padding: 1px;
	border-radius: inherit;
	pointer-events: none;
	background: linear-gradient(170deg, rgb(255 255 255 / .55), rgb(255 255 255 / .05) 40%, rgb(255 255 255 / 0) 70%, rgb(255 255 255 / .18));
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
}

.eah-gelule > :not(.screen-reader-text) {
	position: relative;
	z-index: 1;
}

.eah-gelule p {
	margin: 0;
}

.eah-gelule-titre {
	margin: 0;
	font-family: var(--wp--preset--font-family--body, inherit);
	font-size: .95rem;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--eah-gel-doux);
}

/* Le rendez-vous : l'heure à gauche, le lieu à droite. */
.eah-rdv-heure {
	font-family: var(--wp--preset--font-family--heading, inherit);
	font-size: 3.1rem;
	font-weight: 500;
	line-height: 1;
	white-space: nowrap;
}

.eah-gelule-cote {
	flex: 1;
	max-width: 23rem;
	padding-left: 1.2rem;
	border-left: 1px solid rgb(255 255 255 / .16);
}

.eah-rdv-lieu {
	font-size: 1.15rem;
	line-height: 1.3;
	font-weight: 700;
	letter-spacing: .02em;
}

.eah-rdv-covoit {
	margin-top: .2rem !important;
	font-size: 1.05rem;
	line-height: 1.35;
	font-weight: 400;
	color: var(--eah-gel-doux);
}

/* Le parcours : trois chiffres séparés par un trait fin. */
.eah-chiffres {
	display: flex;
	align-items: baseline;
	margin: 0;
}

.eah-chiffres div {
	display: flex;
	flex-direction: column-reverse;
	align-items: center;
	padding: 0 1.3rem;
	text-align: center;
}

.eah-chiffres div + div {
	border-left: 1px solid rgb(255 255 255 / .16);
}

.eah-chiffres dd {
	margin: 0;
	font-family: var(--wp--preset--font-family--heading, inherit);
	font-size: 2.1rem;
	font-weight: 500;
	line-height: 1.1;
	white-space: nowrap;
}

/* « pauses comprises », sous « 4 h » */
.eah-chiffres dd small {
	display: block;
	font-family: var(--wp--preset--font-family--body, inherit);
	font-size: .95rem;
	letter-spacing: 0;
	white-space: normal;
	color: var(--eah-gel-doux);
}

.eah-chiffres dt {
	font-size: .9rem;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--eah-gel-doux);
}

/* L'inscription : les places à gauche, le bouton à droite. */
.eah-inscr-places {
	font-size: 1.15rem;
	font-weight: 400;
}

.eah-inscr-places b {
	margin-right: .3rem;
	font-family: var(--wp--preset--font-family--heading, inherit);
	font-size: 2.3rem;
	font-weight: 500;
}

.eah-inscr-details {
	font-size: 1.05rem;
	font-weight: 400;
	color: var(--eah-gel-doux);
}

.eah-inscr-bouton {
	display: inline-flex;
	flex: none;
	align-items: center;
	gap: .6rem;
	padding: 1rem 1.8rem;
	border-radius: 999px;
	background: linear-gradient(160deg, var(--wp--preset--color--foret) 0%, var(--wp--preset--color--foret-nuit) 100%);
	box-shadow:
		inset 0 1px 0 rgb(255 255 255 / .3),
		inset 0 0 0 1px rgb(255 255 255 / .18),
		0 8px 18px -4px color-mix(in srgb, var(--wp--preset--color--foret-nuit) 55%, transparent);
	color: var(--wp--preset--color--base) !important;
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	text-decoration: none !important;
	white-space: nowrap;
	transition: filter .2s;
}

.eah-inscr-bouton::after {
	content: "→";
	letter-spacing: 0;
	transition: transform .2s;
}

.eah-inscr-bouton:hover,
.eah-inscr-bouton:focus-visible {
	filter: brightness(1.06);
}

.eah-inscr-bouton:hover::after {
	transform: translateX(3px);
}

.eah-inscr-bouton:focus-visible {
	outline: 3px solid var(--eah-gel-clair);
	outline-offset: 3px;
}

/* Les boutons de la carte, en verre sombre eux aussi. */
.eah-trace-carte .leaflet-bar,
.eah-trace-carte .leaflet-control-layers {
	border: 0 !important;
	border-radius: 1rem;
	overflow: hidden;
	box-shadow: 0 6px 18px rgb(0 0 0 / .3);
}

.eah-trace-carte .leaflet-bar {
	border-radius: 999px;
}

.eah-trace-carte .leaflet-bar a {
	background: color-mix(in srgb, var(--eah-gel-sombre) 85%, transparent);
	border-bottom-color: rgb(255 255 255 / .12);
	color: var(--eah-gel-clair);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.eah-trace-carte .leaflet-control-layers {
	font: inherit;
	font-size: .9rem;
	background: color-mix(in srgb, var(--eah-gel-sombre) 85%, transparent);
	color: var(--eah-gel-clair);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

/* Étroit : la carte en haut, entière (l'échelle et la mention de l'IGN
   restent visibles), les gélules dessous sur le bleu encre, avec des bouts
   moins arrondis pour que le texte passe à la ligne. Sur tablette, la carte
   est plus haute. */
@container fiche (max-width: 999px) {
	.eah-essentiel--carte {
		--eah-carte-h: 19rem;
		display: block;
		min-height: 0;
		padding: calc(var(--eah-carte-h) + .8rem) .8rem .9rem;
		background: var(--eah-gel-sombre);
	}

	.eah-essentiel-carte {
		bottom: auto;
		height: var(--eah-carte-h);
	}

	.eah-essentiel-carte::before {
		display: none;
	}

	.eah-essentiel-infos,
	.eah-essentiel--carte .eah-essentiel-infos {
		width: auto;
		gap: .8rem;
	}

	.eah-gelule {
		flex-wrap: wrap;
		min-height: 0;
		padding: 1rem 1.2rem;
		border-radius: 2rem;
	}

	.eah-gelule-cote {
		flex-basis: 100%;
		max-width: none;
		padding-left: 0;
		border-left: 0;
	}

	.eah-rdv-heure {
		font-size: 2.6rem;
	}

	.eah-chiffres {
		width: 100%;
	}

	.eah-chiffres div {
		flex: 1;
		padding: 0 .4rem;
	}

	.eah-chiffres dd {
		font-size: 1.7rem;
	}

	.eah-chiffres dt {
		font-size: .9rem;
		letter-spacing: .02em;
	}
}

.eah-icone {
	flex: none;
	color: var(--wp--preset--color--accent-2);
}

/* --- la sortie racontée, et le pratique à côté -----------------------------

   Deux colonnes sur grand écran : à gauche le récit de l'organisateur, dans
   un panneau de verre clair comme le formulaire ; à droite ce qu'on vérifie
   avant de partir, en petites gélules claires, l'icône dans une pastille. */

.eah-fiche-duo {
	display: grid;
	gap: 1.6rem;
	align-items: start;
	margin: 0 0 1rem;
}

@container fiche (min-width: 900px) {
	.eah-fiche-duo {
		grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
		gap: 2rem;
	}
}

/* Les titres de section parlent comme ceux des gélules et du formulaire. */
.eah-section-titre {
	margin: 0 0 1rem;
	font-family: var(--wp--preset--font-family--body, inherit);
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent-5);
}

.eah-fiche-description {
	position: relative;
	isolation: isolate;
	padding: clamp(1.4rem, 3vw, 2rem) clamp(1.4rem, 3vw, 2.2rem);
	border-radius: 28px;
	background: var(--eah-clair-fond);
	box-shadow: inset 0 0 0 1px rgb(255 255 255 / .9), var(--eah-clair-ombre);
	font-size: 1.2rem;
	line-height: 1.65;
}

.eah-fiche-description::after,
.eah-pratique-bloc::after {
	content: "";
	position: absolute;
	inset: 0;
	padding: 1px;
	border-radius: inherit;
	pointer-events: none;
	background: var(--eah-lisere);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
}

.eah-fiche-description p {
	margin: 0 0 .8rem;
}

.eah-fiche-description p:last-child {
	margin-bottom: 0;
}

.eah-pratique {
	padding-top: clamp(1.4rem, 3vw, 2rem);
}

.eah-pratique-grille {
	display: grid;
	gap: .9rem;
}

.eah-pratique-bloc {
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 1rem;
	align-items: start;
	padding: 1rem 1.6rem 1rem 1rem;
	border-radius: 1.8rem;
	background: rgb(255 255 255 / .6);
	box-shadow: 0 0 0 1px var(--eah-clair-trait), 0 10px 22px -16px rgb(34 54 74 / .35);
}

.eah-pratique-pastille {
	display: grid;
	place-items: center;
	width: 2.9rem;
	height: 2.9rem;
	border-radius: 50%;
	background: linear-gradient(160deg, #fff, var(--wp--preset--color--accent-3));
	box-shadow: 0 0 0 1px var(--eah-clair-trait), 0 4px 10px -6px rgb(34 54 74 / .4);
}

.eah-pratique-titre {
	margin: .2rem 0 .25rem;
	font-size: 1.15rem;
}

.eah-pratique-bloc p {
	margin: 0 0 .3rem;
	font-size: 1.1rem;
	line-height: 1.5;
	color: color-mix(in srgb, var(--wp--preset--color--contrast) 85%, var(--wp--preset--color--accent-5));
}

/* Le numéro à appeler : une gélule bleu encre, comme celles de la carte. */
.eah-pratique-contact a {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	margin-top: .3rem;
	padding: .55rem 1.3rem;
	border-radius: 999px;
	background: linear-gradient(100deg,
		color-mix(in srgb, var(--wp--preset--color--contrast) 92%, #000),
		color-mix(in srgb, var(--wp--preset--color--contrast) 55%, var(--wp--preset--color--accent-4)));
	box-shadow: inset 0 0 0 1px rgb(255 255 255 / .2), 0 8px 18px -8px rgb(34 54 74 / .6);
	color: var(--wp--preset--color--base) !important;
	font-size: 1.2rem;
	font-weight: 700;
	letter-spacing: .04em;
	text-decoration: none !important;
}

.eah-pratique-contact a:hover,
.eah-pratique-contact a:focus-visible {
	filter: brightness(1.12);
}

.eah-pratique-contact a:focus-visible {
	outline: 3px solid var(--wp--preset--color--accent-1);
	outline-offset: 3px;
}

/* Le bas de page d'une sortie : la précédente et la suivante, en gélules. */
.single-sortie .wp-block-post-navigation-link a {
	display: inline-flex;
	align-items: center;
	padding: .7rem 1.4rem;
	border-radius: 999px;
	background: rgb(255 255 255 / .6);
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--wp--preset--color--contrast) 14%, transparent), 0 10px 22px -16px rgb(34 54 74 / .35);
	color: var(--wp--preset--color--contrast);
	font-size: 1.05rem;
	font-weight: 600;
	text-decoration: none;
}

.single-sortie .wp-block-post-navigation-link a:hover,
.single-sortie .wp-block-post-navigation-link a:focus-visible {
	background: #fff;
}

/* --- la carte du parcours (trace.php) : l'attente ------------------------- */

.eah-trace-attente {
	display: grid;
	place-items: center;
	height: 100%;
	margin: 0;
	color: var(--wp--preset--color--accent-5);
}

/* --- rien encore --------------------------------------------------------- */

.eah-fiche-attente {
	margin: 0;
	font-style: italic;
	color: var(--wp--preset--color--accent-5);
}

/* --- s'inscrire ------------------------------------------------------------

   Le seul formulaire du site public. Des personnes peu à l'aise avec un
   écran le remplissent : grands champs, grands choix à toucher, un seul
   bouton, et rien qui ressemble à une administration. Il prend la forme
   des gélules du haut de la page, en clair : un panneau de verre sable et
   crème, teinté de mauve dans un coin, un liseré de lumière, un grain
   léger ; les champs et les choix sont des gélules blanches posées dedans. */

.eah-inscription {
	position: relative;
	isolation: isolate;
	/* Sous l'en-tête et le bandeau collants, qui cacheraient le haut. */
	scroll-margin-top: 10rem;
	margin-top: 2.5rem;
	padding: clamp(1.4rem, 4vw, 2.6rem);
	border-radius: 30px;
	--eah-f-texte: var(--wp--preset--color--contrast);
	--eah-f-doux: var(--wp--preset--color--accent-5);
	--eah-f-trait: color-mix(in srgb, var(--wp--preset--color--contrast) 18%, transparent);
	color: var(--eah-f-texte);
	color-scheme: light;
	background:
		radial-gradient(ellipse at 100% 0%, color-mix(in srgb, var(--wp--preset--color--accent-4) 16%, transparent), transparent 55%),
		linear-gradient(160deg, color-mix(in srgb, var(--wp--preset--color--base) 55%, #fff) 0%, var(--wp--preset--color--accent-3) 100%);
	box-shadow:
		inset 0 0 0 1px rgb(255 255 255 / .9),
		0 2px 4px rgb(34 54 74 / .08),
		0 24px 44px -16px rgb(34 54 74 / .3);
}

/* le grain et le liseré, comme sur les gélules */
.eah-inscription::before,
.eah-inscription::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: inherit;
	pointer-events: none;
}

.eah-inscription::before {
	background-image: var(--eah-grain);
	opacity: .05;
	mix-blend-mode: multiply;
}

.eah-inscription::after {
	z-index: 0;
	padding: 1px;
	background: linear-gradient(170deg, #fff, rgb(255 255 255 / .2) 30%, rgb(255 255 255 / 0) 70%, color-mix(in srgb, var(--wp--preset--color--accent-4) 25%, transparent));
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
}

.eah-inscription-titre {
	margin: 0 0 .9rem;
	font-size: clamp(1.7rem, 4.5vw, 2.3rem);
	font-weight: 600;
	color: var(--eah-f-texte);
}

.eah-inscription-compte,
.eah-inscription-intro,
.eah-inscription-close {
	margin: 0 0 1.4rem;
	max-width: 46rem;
	font-size: 1.15rem;
	line-height: 1.55;
	color: var(--eah-f-doux);
}

.eah-inscription-compte strong {
	color: var(--eah-f-texte);
}

/* le merci : une gélule claire, avec une coche */
.eah-inscription-merci {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: .2rem 1rem;
	align-items: center;
	margin: 0 0 1.4rem;
	padding: 1.1rem 1.6rem 1.1rem 1.2rem;
	border-radius: 1.6rem;
	background: rgb(255 255 255 / .75);
	box-shadow: inset 0 0 0 1px var(--eah-f-trait), 0 6px 16px -8px rgb(34 54 74 / .25);
	font-size: 1.1rem;
}

.eah-inscription-merci::before {
	content: "✓";
	grid-row: span 2;
	display: grid;
	place-items: center;
	width: 2.8rem;
	height: 2.8rem;
	border-radius: 50%;
	background: #3f9b5a;
	color: #fff;
	font-size: 1.4rem;
	font-weight: 800;
}

.eah-inscription-merci p {
	margin: 0;
}

.eah-inscription-form {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 1.6rem;
}

.eah-inscription-form p {
	margin: 0;
}

.eah-inscription-piege {
	position: absolute;
	left: -9999px;
}

.eah-inscription-groupe {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

/* Les titres de groupe parlent comme ceux des gélules ; les étiquettes des
   champs restent en lettres normales, grandes et blanches. */
.eah-inscription-groupe > legend {
	margin-bottom: .8rem;
	padding: 0;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--eah-f-doux);
}

.eah-inscription-champ label {
	display: block;
	margin: 0 0 .45rem .9rem;
	font-size: 1.15rem;
	font-weight: 600;
	color: var(--eah-f-texte);
}

.eah-facultatif {
	font-weight: 400;
	color: var(--eah-f-doux);
}

.eah-inscription-aide {
	margin: -.3rem 0 .9rem !important;
	font-size: 1.08rem;
	color: var(--eah-f-doux);
}

/* les champs : des gélules creusées dans le panneau */
.eah-inscription-form input[type="text"],
.eah-inscription-form input[type="tel"],
.eah-inscription-form input[type="email"],
.eah-inscription-form input[type="number"],
.eah-inscription-form textarea {
	box-sizing: border-box;
	width: 100%;
	min-height: 60px;
	padding: .7rem 1.3rem;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast) 25%, transparent);
	border-radius: 999px;
	background: #fff;
	box-shadow: inset 0 2px 5px rgb(34 54 74 / .08), 0 1px 0 rgb(255 255 255 / .9);
	color: var(--eah-f-texte);
	font: inherit;
	font-size: 1.2rem;
	transition: border-color .15s, background .15s;
}

.eah-inscription-form textarea {
	border-radius: 1.4rem;
	padding: .9rem 1.3rem;
	line-height: 1.5;
}

.eah-inscription-form ::placeholder {
	color: color-mix(in srgb, var(--eah-f-doux) 75%, transparent);
	opacity: 1;
}

.eah-inscription-form input:hover,
.eah-inscription-form textarea:hover {
	border-color: color-mix(in srgb, var(--wp--preset--color--contrast) 45%, transparent);
}

.eah-inscription-form input:focus,
.eah-inscription-form textarea:focus {
	border-color: var(--wp--preset--color--contrast);
	background: #fff;
	outline: 3px solid color-mix(in srgb, var(--wp--preset--color--accent-1) 70%, transparent);
	outline-offset: 2px;
}

.eah-inscription-nombres {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.1rem;
}

/* Un choix : toute la gélule se touche, pas seulement le petit rond. */
.eah-choix {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: .15rem 1rem;
	align-items: center;
	margin-bottom: .75rem;
	padding: 1rem 1.6rem 1rem 1.2rem;
	border-radius: 2rem;
	background: rgb(255 255 255 / .6);
	box-shadow: inset 0 0 0 1px var(--eah-f-trait), 0 2px 6px rgb(34 54 74 / .05);
	cursor: pointer;
	transition: background .15s, box-shadow .15s;
}

.eah-choix:hover {
	background: rgb(255 255 255 / .85);
}

.eah-choix:has(input:checked) {
	background: #fff;
	box-shadow: inset 0 0 0 2px var(--wp--preset--color--contrast), 0 10px 22px -12px rgb(34 54 74 / .4);
}

.eah-choix:has(input:focus-visible) {
	outline: 3px solid var(--eah-f-texte);
	outline-offset: 3px;
}

/* le rond, dessiné : vide, puis plein de jaune une fois choisi */
.eah-choix input[type="radio"] {
	grid-row: span 2;
	appearance: none;
	width: 1.7rem;
	height: 1.7rem;
	margin: 0;
	border: 2px solid color-mix(in srgb, var(--wp--preset--color--contrast) 55%, transparent);
	border-radius: 50%;
	background: #fff;
	cursor: pointer;
}

.eah-choix input[type="radio"]:checked {
	border-color: var(--wp--preset--color--contrast);
	background: radial-gradient(circle, var(--wp--preset--color--accent-1) 0 45%, #fff 50%);
}

.eah-choix input[type="radio"]:focus-visible {
	outline: none;
}

.eah-choix-nom {
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--eah-f-texte);
}

.eah-choix-aide {
	font-size: 1.02rem;
	color: var(--eah-f-doux);
}

/* Le nombre de places n'apparaît que pour qui a une voiture. */
.eah-choix-plus {
	display: none;
	grid-column: 2;
	align-items: center;
	gap: .75rem;
	margin-top: .6rem;
	font-size: 1.05rem;
}

.eah-choix:has(input[value="voiture"]:checked) .eah-choix-plus {
	display: flex;
}

.eah-inscription-form .eah-choix-plus input {
	width: 6.5rem;
}

.eah-inscription-autre {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--wp--preset--color--accent-2);
}

.eah-inscription-rgpd {
	font-size: 1rem;
	color: var(--eah-f-doux);
}

.eah-inscription-rgpd a {
	color: var(--eah-f-texte);
}

/* l'envoi : une gélule vert forêt, avec le même liseré fin que les gélules du
   haut de la page (plus vif sur l'arête du haut) et une ombre douce */
.eah-inscription-envoyer {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .7rem;
	width: 100%;
	min-height: 64px;
	padding: .9rem 2.4rem;
	border: 0;
	border-radius: 999px;
	background: linear-gradient(160deg, var(--wp--preset--color--foret) 0%, var(--wp--preset--color--foret-nuit) 100%);
	box-shadow:
		inset 0 1px 0 rgb(255 255 255 / .3),
		0 0 0 1px color-mix(in srgb, var(--wp--preset--color--foret-nuit) 80%, #000),
		0 2px 4px rgb(34 54 74 / .15),
		0 16px 30px -10px color-mix(in srgb, var(--wp--preset--color--foret-nuit) 65%, transparent);
	color: var(--wp--preset--color--base);
	font: inherit;
	font-size: 1.2rem;
	font-weight: 700;
	letter-spacing: .04em;
	cursor: pointer;
	transition: transform .2s, box-shadow .2s, filter .2s;
}

/* le liseré */
.eah-inscription-envoyer::before {
	content: "";
	position: absolute;
	inset: 0;
	padding: 1.5px;
	border-radius: inherit;
	pointer-events: none;
	background: linear-gradient(170deg, #fff, rgb(255 255 255 / .55) 35%, rgb(255 255 255 / .15) 70%, rgb(255 255 255 / .7));
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
}

.eah-inscription-envoyer::after {
	content: "→";
	transition: transform .2s;
}

.eah-inscription-envoyer:hover,
.eah-inscription-envoyer:focus-visible {
	filter: brightness(1.05);
	transform: translateY(-1px);
	box-shadow:
		inset 0 1px 0 rgb(255 255 255 / .3),
		0 0 0 1px color-mix(in srgb, var(--wp--preset--color--foret-nuit) 80%, #000),
		0 3px 6px rgb(34 54 74 / .15),
		0 20px 34px -10px color-mix(in srgb, var(--wp--preset--color--foret-nuit) 70%, transparent);
}

.eah-inscription-envoyer:hover::after {
	transform: translateX(3px);
}

.eah-inscription-envoyer:active {
	transform: translateY(1px);
	box-shadow:
		inset 0 2px 5px rgb(0 0 0 / .15),
		0 1px 2px rgb(34 54 74 / .15);
}

.eah-inscription-envoyer:focus-visible {
	outline: 3px solid var(--eah-f-texte);
	outline-offset: 4px;
}

@media (min-width: 640px) {
	.eah-inscription-envoyer {
		width: auto;
	}
}

@media (max-width: 559px) {
	.eah-inscription {
		border-radius: 22px;
	}

	.eah-inscription-nombres {
		grid-template-columns: 1fr;
	}
}

/* --------------------------------------------------------------------------
   Le bandeau de la prochaine sortie

   Une gélule sous l'en-tête, qui reste à l'écran quand on descend :
   « c'est quand la prochaine ? » se demande au milieu d'un récit aussi bien
   qu'en haut de l'accueil.

   Trois niveaux de lecture sur une seule ligne, du plus discret au plus fort :
   l'étiquette dit de quoi il s'agit, le titre porte le nom, le délai tient la
   droite comme une échéance. La flèche avance au survol : le seul mouvement
   de l'ensemble, et il ne se déclenche qu'à l'intention de cliquer.
   -------------------------------------------------------------------------- */

/* La zone du bandeau, sous l'en-tête : transparente. Seule la gélule a une
   matière ; autour d'elle, le contenu défile et reste cliquable — d'où les
   clics rendus à ce qui passe dessous, sur l'en-tête comme sur la zone.
   Elle ne colle pas d'elle-même : elle vit dans l'en-tête, qui colle pour
   deux. */
:where(header):has(> .eah-bandeau) {
	pointer-events: none;
}

:where(header):has(> .eah-bandeau) > :not(.eah-bandeau) {
	pointer-events: auto;
}

.eah-bandeau {
	padding: .55rem var(--wp--style--root--padding-right, 1.25rem) .55rem var(--wp--style--root--padding-left, 1.25rem);
	pointer-events: none;
}

/* La gélule : le verre bleu encre des gélules de la fiche d'une sortie, en
   format ruban — même dégradé, même grain, même liseré de lumière. */
.eah-bandeau-lien {
	position: relative;
	display: flex;
	align-items: center;
	gap: 1rem;
	max-width: var(--wp--style--global--wide-size, 1200px);
	min-height: 3.1rem;
	margin-inline: auto;
	/* le texte se tient hors de l'arrondi des bouts */
	padding: .5rem .6rem .5rem 1.6rem;
	border-radius: 999px;
	color: var(--eah-gel-clair);
	text-decoration: none;
	pointer-events: auto;
	background: linear-gradient(100deg,
		color-mix(in srgb, var(--eah-gel-sombre) 93%, transparent) 0%,
		color-mix(in srgb, color-mix(in srgb, var(--eah-gel-sombre) 55%, var(--eah-gel-moyen)) 90%, transparent) 55%,
		color-mix(in srgb, var(--eah-gel-moyen) 86%, transparent) 100%);
	-webkit-backdrop-filter: blur(14px) saturate(1.2);
	backdrop-filter: blur(14px) saturate(1.2);
	box-shadow:
		inset 0 0 0 1px rgb(255 255 255 / .2),
		inset 0 1px 0 rgb(255 255 255 / .16),
		0 2px 4px rgb(0 0 0 / .2),
		0 12px 24px -10px rgb(0 0 0 / .45);
}

/* le grain de la matière */
.eah-bandeau-lien::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	pointer-events: none;
	background-image: var(--eah-grain);
	opacity: .09;
	mix-blend-mode: overlay;
}

/* le liseré : plus vif sur l'arête du haut */
.eah-bandeau-lien::after {
	content: "";
	position: absolute;
	inset: 0;
	padding: 1px;
	border-radius: inherit;
	pointer-events: none;
	background: linear-gradient(170deg, rgb(255 255 255 / .55), rgb(255 255 255 / .05) 40%, rgb(255 255 255 / 0) 70%, rgb(255 255 255 / .18));
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
}

.eah-bandeau-lien > :not(.eah-lecture-seule) {
	position: relative;
	z-index: 1;
}

/* --- l'étiquette : lettres fines et espacées, comme « Rendez-vous » ----- */

.eah-bandeau-etiquette {
	flex: 0 0 auto;
	font-size: .72rem;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--eah-gel-doux);
	white-space: nowrap;
}

/* --- le corps : nom et date, séparés de l'étiquette par un trait fin ---- */

.eah-bandeau-corps {
	display: flex;
	align-items: baseline;
	gap: .6rem;
	min-width: 0;               /* autorise l'ellipse sur un titre trop long */
	flex: 1 1 auto;
	padding-left: 1rem;
	border-left: 1px solid rgb(255 255 255 / .16);
}

.eah-bandeau-titre {
	font-weight: 700;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.eah-bandeau-date {
	flex: 0 0 auto;
	font-size: .88rem;
	color: var(--eah-gel-doux);
	white-space: nowrap;
}

/* --- le délai : l'échéance, une petite gélule claire calée à droite ----- */

.eah-bandeau-delai {
	flex: 0 0 auto;
	padding: .3rem .8rem;
	border-radius: 999px;
	background: rgb(255 255 255 / .14);
	box-shadow: inset 0 0 0 1px rgb(255 255 255 / .22);
	font-size: .8rem;
	font-weight: 600;
	color: var(--eah-gel-clair);
	white-space: nowrap;
}

/* --- la flèche : la seule chose qui bouge ------------------------------ */

.eah-bandeau-fleche {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 2.1rem;
	height: 2.1rem;
	border-radius: 50%;
	background: var(--eah-gel-clair);
	color: var(--eah-gel-sombre);
	font-size: 1rem;
	transition: transform .18s ease;
}

.eah-bandeau-lien:hover .eah-bandeau-fleche,
.eah-bandeau-lien:focus-visible .eah-bandeau-fleche {
	transform: translateX(.2rem);
}

.eah-bandeau-lien:hover .eah-bandeau-titre,
.eah-bandeau-lien:focus-visible .eah-bandeau-titre {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: .2em;
}

.eah-bandeau-lien:focus-visible {
	outline: 2px solid var(--wp--preset--color--accent-2, #2f6f8f);
	outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	.eah-bandeau-fleche {
		transition: none;
	}
}

/* --- étroit : deux lignes, pas plus -------------------------------------

   Sur un téléphone, le bandeau reste à l'écran en permanence : chaque ligne
   qu'il prend est une ligne de récit en moins. On garde l'essentiel — de quoi
   il s'agit, dans combien de temps, et quoi — et la date exacte s'efface :
   elle attend sur la page de la sortie, à un doigt de là. Les bouts
   s'arrondissent moins, comme les gélules de la fiche, pour tenir deux
   lignes. */

@media (max-width: 720px) {
	.eah-bandeau {
		padding: .4rem .75rem;
	}

	.eah-bandeau-lien {
		flex-wrap: wrap;
		gap: .3rem .6rem;
		padding: .55rem 1rem;
		border-radius: 1.4rem;
	}

	/* première ligne : l'étiquette, et l'échéance calée à droite */
	.eah-bandeau-etiquette { order: 1; }
	.eah-bandeau-delai     { order: 1; margin-left: auto; padding: .15rem .65rem; }

	/* seconde ligne : le nom de la sortie, en entier */
	.eah-bandeau-corps {
		order: 2;
		flex: 1 1 100%;
		padding-left: 0;
		border-left: 0;
	}

	.eah-bandeau-titre {
		white-space: normal;
		line-height: 1.25;
	}

	.eah-bandeau-date,
	.eah-bandeau-fleche {
		display: none;
	}
}

/* « Qui vient avec vous ? » : un champ par personne, sous les nombres. */
.eah-avec-liste {
	display: grid;
	gap: 1.1rem;
	margin-top: 1.1rem;
	padding: 1.3rem 1.4rem;
	border-radius: 1.6rem;
	background: rgb(255 255 255 / .45);
	box-shadow: inset 0 0 0 1px var(--eah-f-trait);
}

.eah-avec-liste[hidden] {
	display: none;
}

/* Une personne : « Adulte 1 », puis prénom et nom côte à côte. */
.eah-avec-personne {
	margin: 0 !important;
	padding: 0;
	border: 0;
	min-width: 0;
}

.eah-avec-personne legend {
	padding: 0;
	margin: 0 0 .5rem .9rem;
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--eah-f-texte);
}

.eah-avec-cases {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: .75rem;
}

.eah-avec-cases p {
	margin: 0 !important;
}

.eah-avec-personne label {
	display: block;
	margin: 0 0 .3rem .9rem;
	font-size: 1.05rem;
	font-weight: 600;
	color: var(--eah-f-doux);
}

@media (max-width: 480px) {
	.eah-avec-cases {
		grid-template-columns: 1fr;
		gap: .5rem;
	}
}

/* Le haut de la page d'une sortie : le titre monte, la carte avec lui. */
.single-sortie main > .wp-block-group.alignfull {
	padding-top: var(--wp--preset--spacing--30) !important;
}

/* Une sortie n'a pas d'étiquettes : leur bloc vide ne laisse pas de trou. */
.single-sortie .wp-block-post-content + .wp-block-group:not(:has(*)) {
	display: none;
}

@container fiche (min-width: 600px) and (max-width: 999px) {
	.eah-essentiel--carte {
		--eah-carte-h: 25rem;
	}
}

/* --------------------------------------------------------------------------
   La page « Adhérer » — shortcode [adhesion] (adhesion.php)

   La même matière que la page d'une sortie : la photo et les raisons dans un
   verre clair, l'adhésion en ligne dans un panneau mis en avant avec son
   bouton vert forêt, les deux autres voies en panneaux clairs. Gros caractères
   partout ; la gélule ne sert qu'aux boutons.
   -------------------------------------------------------------------------- */

.eah-adhesion {
	--eah-adh-clair: linear-gradient(160deg, color-mix(in srgb, var(--wp--preset--color--base) 55%, #fff) 0%, var(--wp--preset--color--accent-3) 100%);
	--eah-adh-trait: color-mix(in srgb, var(--wp--preset--color--contrast) 14%, transparent);
	--eah-adh-ombre: 0 2px 4px rgb(34 54 74 / .06), 0 18px 34px -18px rgb(34 54 74 / .3);
	--eah-adh-lisere: linear-gradient(170deg, #fff, rgb(255 255 255 / .25) 35%, rgb(255 255 255 / 0) 70%, rgb(255 255 255 / .6));
	container: adhesion / inline-size;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2rem;
	margin: 1rem 0 3rem;
	font-size: 1.15rem;
}

.eah-adhesion p {
	margin: 0;
}

/* un liseré de lumière, partagé par les panneaux */
.eah-adh-pourquoi::after,
.eah-adh-voie::after,
.eah-adh-enligne::after,
.eah-adh-bouton::before {
	content: "";
	position: absolute;
	inset: 0;
	padding: 1px;
	border-radius: inherit;
	pointer-events: none;
	background: var(--eah-adh-lisere);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
}

/* --- la photo et les raisons --------------------------------------------- */

.eah-adh-haut {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.4rem;
	align-items: stretch;
}

@container adhesion (min-width: 820px) {
	.eah-adh-haut {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
		gap: 2rem;
	}
}

.eah-adh-cadre {
	overflow: hidden;
	min-height: 16rem;
	border-radius: 28px;
	background: var(--wp--preset--color--accent-3);
	box-shadow: var(--eah-adh-ombre);
}

.eah-adhesion .eah-adh-photo {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.eah-adh-pourquoi {
	position: relative;
	padding: clamp(1.4rem, 3vw, 2.2rem);
	border-radius: 28px;
	background: var(--eah-adh-clair);
	box-shadow: inset 0 0 0 1px rgb(255 255 255 / .9), var(--eah-adh-ombre);
}

.eah-adh-titre {
	margin: 0 0 1.2rem;
	font-size: clamp(1.5rem, 3.5vw, 1.9rem);
}

.eah-adh-raisons {
	display: grid;
	gap: .9rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.eah-adh-raison {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 1rem;
	align-items: start;
	padding: .9rem 1.4rem .9rem .9rem;
	border-radius: 1.8rem;
	background: rgb(255 255 255 / .65);
	box-shadow: 0 0 0 1px var(--eah-adh-trait), 0 10px 22px -16px rgb(34 54 74 / .35);
}

.eah-adh-raison strong {
	display: block;
	margin-top: .15rem;
	font-size: 1.15rem;
	font-weight: 700;
}

.eah-adh-raison div > span {
	display: block;
	font-size: 1.08rem;
	line-height: 1.5;
	color: color-mix(in srgb, var(--wp--preset--color--contrast) 85%, var(--wp--preset--color--accent-5));
}

/* --- l'adhésion en ligne : un panneau clair, mis en avant -----------------

   Un panneau, pas une gélule : la gélule est réservée aux boutons. Il se
   distingue des autres par un voile vert dans le coin et une ombre plus
   présente ; le seul élément arrondi en gélule y est le bouton. */

.eah-adh-enligne {
	position: relative;
	isolation: isolate;
	display: grid;
	gap: 1.4rem;
	align-items: center;
	padding: clamp(1.6rem, 4vw, 2.4rem) clamp(1.6rem, 4vw, 2.6rem);
	border-radius: 28px;
	background:
		radial-gradient(ellipse at 100% 0%, color-mix(in srgb, var(--wp--preset--color--foret) 14%, transparent), transparent 55%),
		var(--eah-adh-clair);
	box-shadow: inset 0 0 0 1px rgb(255 255 255 / .9), 0 2px 4px rgb(34 54 74 / .08), 0 24px 44px -18px rgb(34 54 74 / .38);
}

@container adhesion (min-width: 820px) {
	.eah-adh-enligne {
		grid-template-columns: 1fr auto;
		gap: 2.5rem;
	}
}

.eah-adh-etiquette {
	font-size: .95rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent-5);
}

.eah-adh-enligne-titre {
	margin: .3rem 0 .5rem;
	font-size: clamp(1.6rem, 4vw, 2.2rem);
}

.eah-adh-enligne-texte {
	max-width: 34rem;
	font-size: 1.12rem;
	line-height: 1.55;
	color: color-mix(in srgb, var(--wp--preset--color--contrast) 85%, var(--wp--preset--color--accent-5));
}

/* le bouton : la gélule vert forêt au liseré fin, comme « Envoyer mon inscription » */
.eah-adh-bouton {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .7rem;
	min-height: 68px;
	padding: 1rem 2.4rem;
	border-radius: 999px;
	background: linear-gradient(160deg, var(--wp--preset--color--foret) 0%, var(--wp--preset--color--foret-nuit) 100%);
	box-shadow:
		inset 0 1px 0 rgb(255 255 255 / .3),
		0 0 0 1px color-mix(in srgb, var(--wp--preset--color--foret-nuit) 80%, #000),
		0 16px 30px -10px color-mix(in srgb, var(--wp--preset--color--foret-nuit) 60%, transparent);
	color: var(--wp--preset--color--base) !important;
	font-size: 1.25rem;
	font-weight: 800;
	letter-spacing: .03em;
	text-align: center;
	text-decoration: none !important;
	transition: transform .2s, filter .2s;
}

@container adhesion (min-width: 820px) {
	.eah-adh-bouton {
		white-space: nowrap;
	}
}

@container adhesion (max-width: 480px) {
	.eah-adh-bouton {
		padding: 1rem 1.3rem;
		font-size: 1.12rem;
		letter-spacing: 0;
	}
}

.eah-adh-bouton:hover,
.eah-adh-bouton:focus-visible {
	filter: brightness(1.05);
	transform: translateY(-1px);
}

.eah-adh-bouton:focus-visible {
	outline: 3px solid var(--wp--preset--color--contrast);
	outline-offset: 4px;
}

.eah-adh-bouton-ouvre {
	display: inline-flex;
}

.eah-adh-bouton-ouvre .eah-icone {
	width: 22px;
	height: 22px;
	color: var(--wp--preset--color--base);
}

/* --- les deux autres voies ---------------------------------------------- */

.eah-adh-autres-titre {
	margin: .5rem 0 -1rem;
}

.eah-adh-autres {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.2rem;
}

@container adhesion (min-width: 820px) {
	.eah-adh-autres {
		grid-template-columns: 1fr 1fr;
	}
}

.eah-adh-voie {
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 1rem 1.1rem;
	align-items: start;
	padding: 1.3rem 1.6rem 1.4rem 1.2rem;
	border-radius: 2rem;
	background: var(--eah-adh-clair);
	box-shadow: inset 0 0 0 1px rgb(255 255 255 / .9), var(--eah-adh-ombre);
}

.eah-adh-voie h3 {
	margin: .2rem 0 .35rem;
	font-size: 1.25rem;
}

.eah-adh-voie p {
	font-size: 1.08rem;
	line-height: 1.5;
	color: color-mix(in srgb, var(--wp--preset--color--contrast) 85%, var(--wp--preset--color--accent-5));
}

.eah-adh-qr {
	grid-column: 2;
	width: 160px;
	height: 160px;
	padding: 10px;
	border-radius: 1.2rem;
	background: #fff;
	box-shadow: 0 0 0 1px var(--eah-adh-trait), 0 10px 22px -14px rgb(34 54 74 / .4);
}

/* le bulletin : une gélule claire qu'on touche pour l'ouvrir */
.eah-adh-pdf {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	margin-top: 1rem;
	padding: .75rem 1.4rem;
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--wp--preset--color--contrast) 25%, transparent), 0 8px 18px -12px rgb(34 54 74 / .5);
	color: var(--wp--preset--color--contrast) !important;
	font-size: 1.1rem;
	font-weight: 700;
	text-decoration: none !important;
}

.eah-adh-pdf::after {
	content: "↓";
}

.eah-adh-pdf:hover,
.eah-adh-pdf:focus-visible {
	box-shadow: 0 0 0 2px var(--wp--preset--color--contrast), 0 8px 18px -12px rgb(34 54 74 / .5);
}
