/* YØUNX Events 1.23.0 — adaptations mobile (chargé uniquement sous 1024 px). Le rendu ordinateur n'est pas modifié. */
.yx-toggle { display: none; }
@media (max-width: 781px) {
	/* Bouton « Voir le détail » */
	.yx-toggle { display: flex; align-items: center; justify-content: center; gap: .5rem; width: 100%; margin: .3rem 0 0; padding: .6rem 1rem; font: 600 .9rem/1.2 var(--wp--preset--font-family--poppins, sans-serif); color: #fff; background: transparent; border: 1px solid rgba(192, 162, 222, .55); border-radius: 999px; cursor: pointer; }
	.yx-toggle::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s; }
	.yx-open > .yx-toggle::after { transform: rotate(-135deg) translate(-2px, -2px); }
	.yx-toggle:focus-visible { outline: 2px solid #C0A2DE; outline-offset: 2px; }
	.yx-folded > .yx-fold { display: none !important; }
	/* Cartes plus compactes */
	.wp-block-columns[class*="yx-cards"] { gap: .9rem !important; }
	.wp-block-columns[class*="yx-cards"] > .wp-block-column > .wp-block-group { padding: 1.1rem 1.15rem !important; gap: .3rem; }
	.wp-block-columns[class*="yx-cards"] > .wp-block-column > .wp-block-group > * { margin-block: 0 !important; }
	.wp-block-columns[class*="yx-cards"] > .wp-block-column > .wp-block-group > .wp-block-buttons { margin-top: .5rem !important; }
	.wp-block-columns[class*="yx-cards"] .yx-badge { align-self: flex-start; }
	.wp-block-columns[class*="yx-cards"] h3 { font-size: 1.35rem; }
	.wp-block-columns[class*="yx-cards"] .yx-stat-number.has-x-large-font-size { font-size: 1.9rem !important; }
	/* Sections : moins d'espace vertical */
	.wp-block-group.alignfull[style*="padding-top"] { padding-top: clamp(2rem, 8vw, 2.75rem) !important; }
	.wp-block-group.alignfull[style*="padding-bottom"] { padding-bottom: clamp(2rem, 8vw, 2.75rem) !important; }
	.wp-block-group.alignfull > .wp-block-group.yx-fade-up { margin-bottom: 1.2rem; }
	.wp-block-columns { gap: 1.1rem !important; }
	.wp-block-group.is-layout-constrained > * + *, .wp-block-group.is-layout-flow > * + * { margin-block-start: .85rem; }
	.is-style-yx-lead { font-size: 1rem; line-height: 1.6; }
	main h2.wp-block-heading { font-size: clamp(1.45rem, 6.2vw, 1.9rem); line-height: 1.15; }
	/* Photos : moins hautes (hors logos, icônes, avatars) */
	.wp-block-image:not(.yx-icon-img):not(.yx-avatar):not(.yx-logo) img { width: 100%; max-height: 190px; object-fit: cover; }
	.wp-block-image.yx-contain img { object-fit: contain; }
	.yx-photo-row .wp-block-image img, .yx-event-card .wp-block-image img, .yx-event-imgs .wp-block-image img, .yx-occasions .wp-block-image img { aspect-ratio: 16 / 9; max-height: 170px; }
	.yx-event-imgs { flex-direction: row !important; flex-wrap: nowrap !important; gap: .5rem !important; }
	.yx-event-imgs > .wp-block-column { flex: 1 1 0 !important; }
	.yx-event-imgs .wp-block-image img { max-height: 120px; }
	.yx-collage { aspect-ratio: 16 / 8; }
	.wp-block-cover:not(.yx-hero) { min-height: 200px !important; }
	.yx-hero { min-height: 420px !important; }
	/* Chiffres clés : sur une seule ligne */
	.yx-stats { flex-direction: row !important; flex-wrap: nowrap !important; gap: .5rem !important; }
	.yx-stats > .wp-block-column { flex: 1 1 0 !important; min-width: 0; }
	.yx-stats .yx-stat-number { font-size: 1.8rem !important; }
	.yx-stats p { font-size: .78rem; line-height: 1.3; }
	/* Étapes : 2 par ligne */
	.yx-steps-4 { flex-wrap: wrap !important; }
	.yx-steps-4 > .wp-block-column { flex: 1 1 calc(50% - .6rem) !important; }
	/* FAQ plus serrée */
	.yx-faq summary, details.is-style-yx-faq summary { padding-block: .85rem; font-size: 1rem; }
}
@media (max-width: 781px) {
	.yx-step-number { font-size: 2rem !important; line-height: 1 !important; }
	.yx-cards .yx-step-number + h3 { margin-top: .2rem !important; }
}
