/* Arts & Festivals — accueil (conteneurs Elementor eca01fd et f52dd44 de la page 295). */

/* Affiche 2026 : boîte de 1140 px, image centrée ; hauteur minimale de 80 % de l'écran au-dessus de 1024 px */
.aef-accueil__affiche {
	display: flex;
	flex-direction: column;
	min-height: 80vh;
}
.aef-accueil__affiche-boite {
	width: 100%;
	max-width: min(100%, 1140px);
	margin: 0 auto;
	text-align: center;
}
.aef-accueil__affiche img { display: inline-block; vertical-align: top; }

/* Mot du maire : clocher à gauche, texte à droite (empilés jusqu'à 1024 px) */
.aef-accueil__edito {
	display: flex;
	flex-wrap: wrap;
	max-width: var(--aef-boite);
	margin: 150px auto;
}
.aef-accueil__visuel,
.aef-accueil__texte {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 50%;
}
.aef-accueil__visuel {
	justify-content: center;
	background: var(--aef-noir) url("../../../../../uploads/2026/04/Tour-du-plan-de-la-tour.webp") center / cover no-repeat;
}
.aef-accueil__visuel img {
	display: block;
	width: auto;
	max-width: 100%;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='50'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='50'/%3E%3C/svg%3E") center / contain no-repeat;
}
.aef-accueil__logo { display: block; width: 300px; }
.aef-accueil__mot,
.aef-accueil__equipe,
.aef-accueil__signature {
	width: 80%;
	font: 400 16px/24px var(--aef-police-texte);
	color: var(--aef-texte);
}
.aef-accueil__mot p + p { margin-top: 24px; }
.aef-accueil__equipe { margin: 12px 0; text-align: center; }
.aef-accueil__signature { text-align: end; }

@media (max-width: 1540px) {
	.aef-accueil__visuel { justify-content: space-between; }
	.aef-accueil__logo { width: 250px; }
}

@media (max-width: 1280px) {
	.aef-accueil__edito { margin: 0 auto; }
	.aef-accueil__visuel { justify-content: center; }
	.aef-accueil__mot,
	.aef-accueil__equipe,
	.aef-accueil__signature { width: 90%; }
	.aef-accueil__signature { padding-bottom: 20px; }
}

@media (max-width: 1024px) {
	.aef-accueil__affiche { min-height: 0; }
	.aef-accueil__edito { flex-direction: column-reverse; max-width: none; }
	.aef-accueil__visuel,
	.aef-accueil__texte { width: 100%; }
	.aef-accueil__texte { margin-bottom: 24px; }
}

@media (max-width: 767px) {
	.aef-accueil__texte { margin-bottom: 0; padding-bottom: 24px; }
	.aef-accueil__logo { width: 275px; }
}

@media (max-width: 479px) {
	.aef-accueil__edito { flex-direction: column; }
	.aef-accueil__texte { padding: 0 20px 20px; }
	.aef-accueil__logo { width: 250px; }
	.aef-accueil__mot,
	.aef-accueil__equipe,
	.aef-accueil__signature { width: 100%; }
}
