/* Ateliers & Chantiers réunis — pages construites avec Elementor.
   Les classes d'acr.css habillent les widgets natifs d'Elementor. Les sélecteurs
   restent moins précis que les réglages faits dans l'éditeur : ceux-ci l'emportent. */

/* ── Conteneurs : pas de marges ni d'espacements par défaut ───────────── */

.acr-page {
	--container-default-padding-top: 0px;
	--container-default-padding-right: 0px;
	--container-default-padding-bottom: 0px;
	--container-default-padding-left: 0px;
	--container-default-padding-block-start: 0px;
	--container-default-padding-block-end: 0px;
	--container-default-padding-inline-start: 0px;
	--container-default-padding-inline-end: 0px;
	--widgets-spacing: 0px;
	--widgets-spacing-row: 0px;
	--widgets-spacing-column: 0px;
	--kit-widget-spacing: 0px;
}

/* Rangées (boutons, en-têtes) : chaque élément garde sa largeur naturelle. */
.acr-page .acr-row > .elementor-element { width: auto; max-width: 100%; }
.acr-page .acr-row > .ylc-objet__line { flex: 1; }
.acr-page .acr-row > .acr-awards__titles { flex: 1 1 320px; }

/* Elementor plafonne chaque widget à 100 % de large : on rétablit les largeurs de lecture du thème. */
.acr-page .elementor .e-con > .elementor-widget.acr-h2 { max-width: 22ch; }
.acr-page .elementor .e-con > .elementor-widget.acr-measure-18 { max-width: 18ch; }
.acr-page .elementor .e-con > .elementor-widget.acr-measure-60 { max-width: 60ch; }
.acr-page .elementor .e-con > .elementor-widget.acr-measure-62 { max-width: 62ch; }
.acr-page .elementor .e-con > .elementor-widget.ylc-hero__lead { max-width: 56ch; }
.acr-page .elementor .e-con > .elementor-widget.ylc-cta__text { max-width: 52ch; }
.acr-page .elementor .e-con > .elementor-widget.acr-house-hero__lead { max-width: 34ch; }
.acr-page .elementor .e-con > .elementor-widget.ylc-objet__fig { max-width: 760px; }

/* Elementor limite les conteneurs de premier niveau à leur propre largeur. */
.acr-page .elementor > .e-con.acr-wrap { max-width: var(--maxw); }

/* Elementor rend les <hr> transparents. */
.acr-page .elementor hr.acr-rule { background: var(--rule); }

.acr-span-all { grid-column: 1 / -1; }
.ylc-hero__actions--first { margin-top: 8px; }
.acr-sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Titres et textes : la typographie vient des classes du thème ─────── */

.acr-page .elementor-heading-title {
	font: inherit;
	color: inherit;
	letter-spacing: inherit;
	text-transform: inherit;
	line-height: inherit;
}
.acr-page .elementor-widget-text-editor p { margin: 0; }
.acr-page .elementor-widget-text-editor p + p { margin-top: 1.5em; }
.acr-page .acr-text--tight p + p { margin-top: 14px; }
.acr-page .ylc-cta__text p + p { margin-top: 1.85em; } /* une ligne vide */

/* ── Images ───────────────────────────────────────────────────────────── */

.acr-page .acr-image { text-align: left; }
.acr-page .acr-image figure.wp-caption { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.acr-page .acr-image .widget-image-caption {
	margin: 0;
	font-size: 11.5px;
	line-height: 1.6;
	font-style: normal;
	text-align: left;
	color: var(--faint);
}
.acr-page .acr-image--plate img { width: 100%; border: 6px solid var(--panel); outline: 1px solid var(--rule); border-radius: var(--radius); filter: var(--plate-filter); }
.acr-page .acr-image--objet img { aspect-ratio: 4 / 3; object-fit: cover; }
.acr-page .acr-image--portrait img { aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; }
.acr-page .acr-image--portrait-jvg img { object-position: 62% top; }
.acr-page .ylc-objet__fig figure.wp-caption { gap: 12px; }
.acr-page .acr-medal figure.wp-caption { align-items: center; gap: 12px; }
.acr-page .acr-medal .widget-image-caption { text-align: center; }

/* Elementor impose height: auto aux images : le bandeau vidéo garde sa hauteur fixe. */
.acr-page .ylc-bleed { height: var(--bleed-h); }

/* ── Boutons : le widget Bouton d'Elementor prend l'allure de .acr-btn ── */

.acr-page .acr-button .elementor-button {
	display: inline-block;
	padding: var(--btn-pad);
	border: 1px solid rgba(241, 239, 233, 0.4);
	border-radius: var(--radius);
	background: transparent;
	color: var(--ink);
	font-family: inherit;
	font-size: 13px;
	font-weight: 400;
	line-height: normal;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	fill: currentColor;
	transition: none;
}
.acr-page .acr-button--primary .elementor-button { border-color: var(--accent); background: rgba(211, 177, 92, 0.16); }
.acr-page .acr-button .elementor-button:hover { opacity: 0.82; color: var(--ink); }
.acr-page .acr-button--ghost .elementor-button:hover { opacity: 1; border-color: var(--accent); color: var(--accent); }
.acr-page .acr-button--sm .elementor-button { padding: 9px 18px; font-size: 12px; }
.acr-page .acr-button--block .elementor-button { display: block; text-align: center; }
.acr-page .acr-button--underline .elementor-button {
	padding: 0 0 4px;
	border: 0;
	border-bottom: 1px solid var(--accent);
	border-radius: 0;
	background: none;
	font-size: 12px;
	color: var(--accent);
}
.acr-page .acr-button--underline .elementor-button:hover { color: var(--accent); }
