/*!
Theme Name: alefh
Theme URI: https://alefh.fr
Author: Emmanuel Viandier
Author URI: https://connect-eure.fr
Description: Thème personnalisé développé pour l'association ALEFH.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: alefh
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

alefh is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/* =========================
   FONTS
========================= */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('asset/fonts/montserrat-v31-latin-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('asset/fonts/montserrat-v31-latin-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('asset/fonts/montserrat-v31-latin-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('asset/fonts/open-sans-v44-latin-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('asset/fonts/open-sans-v44-latin-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('asset/fonts/open-sans-v44-latin-700.woff2') format('woff2');
}

/* =========================
   TYPOGRAPHIE
========================= */
h1,
h2,
h3,
.entry-title,
.section-header__title,
.home-hero__title,
.pole-card__title,
.actualite-card__title,
.info-card h3,
.pole-hero__title,
.pole-section__title,
.article-hero__title,
.planning-card__title,
.widget-title {
  font-family: var(--font-title);
}
/* =========================
   VARIABLES
========================= */
:root {
/* Fonts */
--font-title: 'Montserrat', Arial, Helvetica, sans-serif;
--font-main: 'Open Sans', Arial, Helvetica, sans-serif;
/* Colors */
  --vert-alefh : #77BA46;
  --jaune-alefh : #FFEB04;

  --cards-home : #F8F7F3 ;


}

/* =========================
   RESET / BASE
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  overflow-x: hidden;
  font-family: var(--font-main);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
  
}

/* Reset listes */
ul, ol { list-style: none; }

a { text-decoration: none; }

img { vertical-align: bottom; }

/* WRAP */
.wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
	width: 100%;
	position: relative;
	z-index: 100;
	background: #e6dfdf;
}

.header-full {
	width: 100%;
	height: 100px;
	display: flex;
	align-items: center;
}

/* NAV CONTAINER */

.header-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 100%;
}

/* =========================================================
   LOGO
   ========================================================= */

.header-logo {
	display: flex;
	align-items: center;
}

.header-logo a {
	display: flex;
	align-items: center;
}

.header-logo img {
	display: block;
	width: auto;
	height: 200px;
}

/* =========================================================
   NAVIGATION
   Compatible avec le HTML généré par wp_nav_menu()
   ========================================================= */

.main-nav {
	display: flex;
	height: 100%;
}

.main-nav_list {
	display: flex;
	align-items: center;
	gap: 32px;
	height: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}

.main-nav_list > li {
	display: flex;
	align-items: center;
	height: 100%;
}

.main-nav_list > li > a {
	display: flex;
	align-items: center;
	height: 100%;
	font-size: 0.95rem;
	font-weight: 600;
	font-family: var(--font-main);
	line-height: 1;
	color: inherit;
	text-decoration: none;
	position: relative;
	padding: 0 4px;
}

/* Effet underline au survol */

.main-nav_list > li > a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -6px;
	width: 0%;
	height: 2px;
	background: currentColor;
	transition: width 0.25s ease;
}

.main-nav_list > li > a:hover::after {
	width: 100%;
}

/* Optionnel : garder le soulignement sur la page active */

.main-nav_list > li.current-menu-item > a::after,
.main-nav_list > li.current_page_item > a::after,
.main-nav_list > li.current-menu-ancestor > a::after {
	width: 100%;
}

/* =========================================================
   MENU MOBILE
   ========================================================= */

.burger {
	display: none;
	margin-left: auto;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.burger span {
	display: block;
	width: 32px;
	height: 3px;
	margin: 6px 0;
	border-radius: 999px;
	background: #2f2a22;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.burger.is-active span:nth-child(1) {
	transform: translateY(9px) rotate(45deg);
}

.burger.is-active span:nth-child(2) {
	opacity: 0;
}

.burger.is-active span:nth-child(3) {
	transform: translateY(-9px) rotate(-45deg);
}

.mobile-menu {
	display: none;
	padding: 0 0 16px;
	background: #e6dfdf;
	border-top: 1px solid rgba(47, 42, 34, 0.08);
}

.mobile-menu.is-open {
	display: block;
}

.mobile-menu__list {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	margin: 0;
	padding: 12px 0 0;
}

.mobile-menu__list > li {
	width: 100%;
}

.mobile-menu__list > li > a {
	display: block;
	width: 100%;
	padding: 12px 16px;
	color: inherit;
	font-weight: 600;
	text-align: center;
}

.mobile-menu__list > li.current-menu-item > a,
.mobile-menu__list > li.current_page_item > a,
.mobile-menu__list > li.current-menu-ancestor > a {
	text-decoration: underline;
	text-underline-offset: 4px;
}




/* =========================================================
   FRONT PAGE - BASE
   ========================================================= */

.front-page {
	padding: 0;
}

/* =========================================================
   WRAP
   ========================================================= */

.wrap {
	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 24px;
}

/* =========================================================
   PAGES EDITORIALES
   ========================================================= */

.page .entry-header {
  padding: 48px 24px 16px;
}

.page .entry-title {
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
  font-size: 2.2rem;
  line-height: 1.2;
}

.page .entry-content {
  max-width: 760px;
  margin: 0 auto 64px;
  padding: 0 24px;
  text-align: left;
  line-height: 1.7;
}

.page .entry-content p {
  margin: 0 0 1.25rem;
}

.page .entry-content h2,
.page .entry-content h3,
.page .entry-content h4 {
  margin: 2rem 0 1rem;
  line-height: 1.3;
}

.page .entry-content ul,
.page .entry-content ol {
  margin: 0 0 1.5rem 1.5rem;
  padding-left: 1rem;
}

.page .entry-content ul {
  list-style: disc;
}

.page .entry-content ol {
  list-style: decimal;
}

.page .entry-content li {
  margin-bottom: 0.5rem;
}

.page .entry-content a {
  text-decoration: underline;
}

/* =========================================================
   PAGE EQUIPE
   ========================================================= */

.page-equipe .entry-content {
  margin-bottom: 32px;
}

.equipe-section {
  padding: 0 0 56px;
}

.equipe-section__title {
  margin: 0 0 24px;
  text-align: center;
  font-size: 1.8rem;
  line-height: 1.2;
}

.equipe-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 260px));
  justify-content: center;
  gap: 20px;
}

.membre-card {
  overflow: hidden;
  max-width: 260px;
  border-radius: 14px;
  background: #f8f7f3;
  text-align: left;
}

.membre-card__image {
  aspect-ratio: 5 / 6;
  overflow: hidden;
  background: #ece7e7;
}

.membre-card__photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.membre-card__content {
  padding: 16px;
}

.membre-card__name {
  margin: 0 0 6px;
  font-size: 1.05rem;
  line-height: 1.2;
}

.membre-card__role {
  margin: 0;
  font-size: 0.95rem;
  color: #5f5a53;
  line-height: 1.5;
}

/* =========================================================
   PAGE ASSOCIATION
   ========================================================= */

.association-page {
  padding-bottom: 24px;
}

.association-article {
  text-align: left;
}

.association-hero {
  padding: 32px 0 0;
}

.association-hero__media {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.association-hero__image {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 24px;
}

.association-hero__content {
  max-width: 860px;
  padding-top: 32px;
  padding-bottom: 8px;
}

.association-hero__title {
  margin: 0;
  font-size: 2.6rem;
  line-height: 1.1;
}

.association-hero__chapo {
  max-width: 720px;
  margin: 18px 0 0;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #4f4a43;
}

.association-sections {
  padding: 24px 0 32px;
}

.association-sections__inner {
  max-width: 860px;
}

.association-section + .association-section {
  margin-top: 44px;
}

.association-section__title {
  margin: 0 0 16px;
  font-size: 1.8rem;
  line-height: 1.2;
}

.association-section__text {
  color: #38342f;
  line-height: 1.8;
}

.association-section__text p {
  margin: 0 0 1.1rem;
}

.association-highlights {
  padding: 16px 0 64px;
}

.association-highlights__inner {
  padding: 32px 24px;
  border-radius: 24px;
  background: #f8f7f3;
}

.association-transition {
  max-width: 640px;
  margin: 0 auto 32px;
  text-align: center;
}

.association-transition__title {
  margin: 0 0 12px;
  font-size: 1.5rem;
  line-height: 1.2;
}

.association-transition__text {
  margin: 0;
  color: #5f5a53;
  line-height: 1.7;
}

.association-highlights__title {
  margin: 0 0 24px;
  font-size: 1.9rem;
  line-height: 1.2;
  text-align: center;
}

.association-highlights__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.association-highlight-card {
  min-height: 100%;
  padding: 22px 20px;
  border-radius: 18px;
  background: #ffffff;
  border-top: 6px solid #d9d2c6;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
}

.association-highlight-card__value {
  margin: 0 0 10px;
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  color: #2f2a22;
}

.association-highlight-card__label {
  margin: 0;
  color: #5f5a53;
  line-height: 1.6;
}

.association-highlight-card:nth-child(7n + 1) {
  border-top-color: #77ba46;
}

.association-highlight-card:nth-child(7n + 2) {
  border-top-color: #a8cf45;
}

.association-highlight-card:nth-child(7n + 3) {
  border-top-color: #e2cf2b;
}

.association-highlight-card:nth-child(7n + 4) {
  border-top-color: #e7b83f;
}

.association-highlight-card:nth-child(7n + 5) {
  border-top-color: #d7a86e;
}

.association-highlight-card:nth-child(7n + 6) {
  border-top-color: #b9a07d;
}

.association-highlight-card:nth-child(7n + 7) {
  border-top-color: #8aa85a;
}

/* =========================================================
   PAGE VIE ASSOCIATIVE
   ========================================================= */

.vie-associative-page {
  padding-bottom: 24px;
}

.vie-associative-article {
  text-align: left;
}

.vie-associative-hero {
  padding: 32px 0 0;
}

.vie-associative-hero__media {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.vie-associative-hero__image {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 24px;
}

.vie-associative-hero__content {
  max-width: 860px;
  padding-top: 32px;
  padding-bottom: 8px;
}

.vie-associative-hero__title {
  margin: 0;
  font-size: 2.6rem;
  line-height: 1.1;
}

.vie-associative-hero__chapo {
  max-width: 720px;
  margin: 18px 0 0;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #4f4a43;
}

.vie-associative-intro {
  padding: 24px 0 24px;
}

.vie-associative-intro__inner,
.vie-associative-note__inner {
  max-width: 860px;
}

.vie-associative-intro__title,
.vie-associative-note__title {
  margin: 0 0 16px;
  font-size: 1.8rem;
  line-height: 1.2;
}

.vie-associative-intro__text,
.vie-associative-note__text {
  color: #38342f;
  line-height: 1.8;
}

.vie-associative-intro__text p,
.vie-associative-note__text p {
  margin: 0 0 1.1rem;
}

.vie-associative-archives {
  padding: 16px 0 40px;
}

.archive-year + .archive-year {
  margin-top: 36px;
}

.archive-year__title {
  margin: 0 0 20px;
  font-size: 1.7rem;
  line-height: 1.2;
}

.archive-year__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.archive-card {
  min-height: 100%;
  padding: 22px 20px;
  border-radius: 18px;
  background: #f8f7f3;
  border: 1px solid #ece3d8;
}

.archive-card__preview {
  margin: -6px -4px 16px;
  border-radius: 12px;
  overflow: hidden;
  background: #ece7e7;
}

.archive-card__preview-image {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.archive-card__title {
  margin: 0 0 14px;
  font-size: 1.1rem;
  line-height: 1.35;
}

.archive-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #d8d0c4;
  color: #2f2a22;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.archive-card__link:hover {
  background: #fff8d9;
  border-color: #e2cf2b;
}

.contact-card__action {
  margin: 14px 0 0;
}

.contact-card__map {
  margin-top: 16px;
  overflow: hidden;
  border-radius: 16px;
  background: #ece7e7;
}

.contact-card__map-iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}

.contact-card__action a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #d8d0c4;
  color: #2f2a22;
  text-decoration: none;
  font-weight: 600;
}

/* =========================================================
   PAGE CONTACT
   ========================================================= */

.contact-page {
  padding-bottom: 24px;
}

.contact-article {
  text-align: left;
}

.contact-hero {
  padding: 32px 0 0;
}

.contact-hero__media {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.contact-hero__image {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 24px;
}

.contact-hero__content {
  max-width: 860px;
  padding-top: 32px;
  padding-bottom: 8px;
}

.contact-hero__title {
  margin: 0;
  font-size: 2.6rem;
  line-height: 1.1;
}

.contact-hero__chapo {
  max-width: 720px;
  margin: 18px 0 0;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #4f4a43;
}

.contact-intro {
  padding: 24px 0 24px;
}

.contact-intro__inner,
.contact-note__inner {
  max-width: 860px;
}

.contact-intro__title,
.contact-note__title {
  margin: 0 0 16px;
  font-size: 1.8rem;
  line-height: 1.2;
}

.contact-intro__text,
.contact-note__text {
  color: #38342f;
  line-height: 1.8;
}

.contact-intro__text p,
.contact-note__text p {
  margin: 0 0 1.1rem;
}

.contact-details {
  padding: 16px 0 40px;
}

.contact-details__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 300px));
  gap: 20px;
  align-items: start;
  justify-content: center;
}

.contact-card {
  padding: 22px 20px;
  border-radius: 18px;
  background: #f8f7f3;
  border: 1px solid #ece3d8;
}

.contact-card--address {
  grid-column: 1 / -1;
  max-width: 760px;
  width: 100%;
  justify-self: center;
}

.contact-card--compact {
  min-height: 0;
}

.contact-card__title {
  margin: 0 0 14px;
  font-size: 1.25rem;
  line-height: 1.25;
}

.contact-card__text {
  color: #38342f;
  line-height: 1.7;
}

.contact-card__text p {
  margin: 0 0 0.9rem;
}

.contact-card__text a {
  color: inherit;
  text-decoration: underline;
}

.contact-note {
  padding: 8px 0 64px;
}

.contact-note__inner {
  padding: 28px 24px;
  border-radius: 22px;
  background: #f8f7f3;
}

.vie-associative-note {
  padding: 8px 0 64px;
}

.vie-associative-note__inner {
  padding: 28px 24px;
  border-radius: 22px;
  background: #f8f7f3;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  padding: 32px 0;
  background: #f4efe8;
  border-top: 1px solid #e4ddd2;
  margin-top: 48px;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer__brand {
  text-align: left;
}

.site-footer__title {
  margin: 0 0 6px;
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
}

.site-footer__text {
  margin: 0;
  color: #5f5a53;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px 24px;
}

.site-footer__nav a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.site-footer__nav a:hover,
.site-footer__nav a:focus {
  text-decoration: underline;
}

/* =========================================================
   SECTIONS COMMUNES
   ========================================================= */

.front-page section {
	padding: 72px 0;
}

.section-header {
	margin-bottom: 32px;
}

.section-header__surtitle {
	margin: 0 0 8px;
	font-size: 0.95rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.section-header__title {
	margin: 0 0 16px;
	font-size: 2rem;
	line-height: 1.2;
}

.section-header__text {
	margin: 0;
	max-width: 720px;
	font-size: 1rem;
	line-height: 1.6;
}

.section-footer-link {
	margin-top: 32px;
	display: flex;
	justify-content: center;
}

/* =========================================================
   BOUTONS
   ========================================================= */

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 24px;
	border: 1px solid transparent;
	border-radius: 10px;
	text-decoration: none;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	transition: all 0.2s ease;
}

.button--secondary {
	border: 1px solid currentColor;
	background: transparent;
}

.button--outline {
	border: 1px solid currentColor;
	background: transparent;
}

/* =========================================================
   HERO
   ========================================================= */

.home-hero {
	padding: 96px 0;
}

.home-hero .wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 60px;
}

.home-hero__content {
	display: flex;
	flex-direction: column;
	flex: 1;
	max-width: 600px;
}
.img_droite {
	flex: 1;
	display: flex;
	justify-content: flex-end;
}
.hero-image-wrapper {

	position: relative;
	max-width: 520px;

}

.hero-image-wrapper::before {

	content: "";
	position: absolute;

	width: 520px;
	height: 520px;

	background: #51a813;

	border-radius: 60% 40% 60% 40%;

	top: -40px;
	left: -40px;

	z-index: -1;

}
.home-hero__image {
	max-width: 100%;
	height: auto;
	border-radius: 20px;
	box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.home-hero__surtitle {
	margin: 0 0 12px;
	font-size: 0.95rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.home-hero__title {
	margin: 0 0 20px;
	font-size: 3rem;
	line-height: 1.1;
}

.home-hero__text {
	margin: 0 0 28px;
	font-size: 1.1rem;
	line-height: 1.7;
	max-width: 680px;
}

.home-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

/* =========================================================
   POLES
   ========================================================= */

.home-poles__grid {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
}

.pole-card {
	display: flex;
	width: calc(33.333% - 16px);
	min-width: 280px;
}

.pole-card__link {
	display: flex;
	flex-direction: column;
	width: 100%;
	text-decoration: none;
	color: inherit;
	overflow: hidden;
	border-radius: 16px;
}

.pole-card__image {
	overflow: hidden;
	border-radius: 20px 20px 0 0;
	aspect-ratio: 3 / 2;
}

.pole-card__image {
	overflow: hidden;
	display: bloc;
	width: 100%;
	object-fit: cover;
}

.pole-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pole-card__content {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 20px;
	background-color: var(--cards-home)
}

.pole-card__title {
	margin: 0 0 12px;
	font-size: 1.35rem;
	line-height: 1.2;
}

.pole-card__excerpt {
	margin-bottom: 16px;
	line-height: 1.6;
}

.pole-card__cta {
	margin-top: auto;
	font-weight: 600;
}

/* =========================================================
   ACTUALITES
   ========================================================= */

.home-actualites__grid {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
}

.actualite-card {
	display: flex;
	width: calc(33.333% - 16px);
	min-width: 280px;
}

.actualite-card__link {
	display: flex;
	flex-direction: column;
	width: 100%;
	text-decoration: none;
	overflow: hidden;
	border-radius: 16px;
}

.actualite-card__image {
	display: flex;
	width: 100%;
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.actualite-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.actualite-card__content {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 20px;
}

.actualite-card__date {
	margin: 0 0 10px;
	font-size: 0.9rem;
}

.actualite-card__title {
	margin: 0 0 12px;
	font-size: 1.3rem;
	line-height: 1.25;
}

.actualite-card__excerpt {
	margin-bottom: 16px;
	line-height: 1.6;
}

.actualite-card__cta {
	margin-top: auto;
	font-weight: 600;
}

/* =========================================================
   BLOC ADOS
   ========================================================= */

.home-ados__content {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.home-ados__intro {
	display: flex;
	flex: 1 1 500px;
	max-width: 760px;
}

.home-ados__intro p {
	margin: 0;
	line-height: 1.7;
}

.home-ados__actions {
	display: flex;
	flex: 0 0 auto;
}

/* =========================================================
   GALERIE
   ========================================================= */

.home-galerie__grid {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.home-galerie__grid > * {
	display: flex;
	width: calc(25% - 12px);
	min-width: 220px;
}

/* =========================================================
   INSCRIPTIONS
   ========================================================= */

.home-inscriptions__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.home-inscriptions__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 8px;
}

/* =========================================================
   ASSOCIATION
   ========================================================= */

.home-association__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	max-width: 760px;
	gap: 24px;
}

.home-association__content p {
	margin: 0;
	line-height: 1.7;
}

/* =========================================================
   INFOS PRATIQUES
   ========================================================= */

.home-infos-pratiques__grid {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
}

.info-card {
	display: flex;
	flex-direction: column;
	width: calc(33.333% - 16px);
	min-width: 240px;
	padding: 24px;
	border-radius: 16px;
}

.info-card h3 {
	margin: 0 0 12px;
	font-size: 1.5rem;
	line-height: 1.2;
}

.info-card p {
	margin: 0;
	line-height: 1.6;
}

/* =========================================================
	SINGLE POLE
	======================================================== */

	.pole-single {
	padding-bottom: 80px;
}

.pole-hero {
	padding: 56px 0 40px;
	background: #f8f6f2;
}

.pole-hero__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 40px;
}

.pole-hero__content {
	flex: 1 1 420px;
}

.pole-hero__media {
	flex: 1 1 420px;
}

.pole-hero__media img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 24px;
}

.pole-hero__title {
	margin: 0 0 16px;
}

.pole-hero__excerpt {
	font-size: 1.1rem;
	line-height: 1.6;
}

.pole-section {
	padding: 56px 0;
}

.pole-section:nth-child(even) {
	background: #fcfbf8;
}

.pole-section__title {
	margin: 0 0 20px;
}

.pole-section__content {
	max-width: 900px;
	text-align: left;
}
.pole-section__content ul {
	list-style: disc;
	padding-left: 1.5rem;
	margin: 1rem 0;
}

.pole-section__content ol {
	list-style: decimal;
	padding-left: 1.5rem;
	margin: 1em 0;
}

.pole-section__content li {
	margin-bottom: 0.4em;
}

.pole-section__content p:last-child {
	margin-bottom: 0;
}

.pole-cta {
	padding: 24px 0 0;
	text-align: center;
}

.pole-cta__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 24px;
	border-radius: 999px;
	text-decoration: none;
}
/* ==========================================================
	SINGLE-POST
=============================================================*/
.single-article {
	padding: 0 0 4rem;
}

.article-hero {
	padding: 1.5rem 0 1rem;
	background: #f7f3f3;
	border-bottom: 1px solid #e5dddd;
}

.article-hero__inner {
	max-width: 760px;
	margin: 0 auto;
}

.article-hero__image {
	margin-bottom: 1.5rem;
}

.article-hero__image img {
	max-height: 200px; 
	width: auto;
	height: auto;
	display: block;
	margin: 0 auto;
	border-radius: 12px;
}

.article-hero__meta {
	margin: 0 0 0.75rem;
	font-size: 0.95rem;
	color: #666;
}

.article-hero__title {
	margin: 0 0 1rem;
	font-size: 1.8rem;
	line-height: 1.15;
}

.article-hero__categories {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}


.article-badge {
	display: inline-flex;
	align-items: center;
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
	background: #ece7e7;
	font-size: 0.9rem;
	font-weight: 600;
}

.article-content {
	max-width: 760px;
	margin: 3rem auto 0;
	font-size: 1.05rem;
	line-height: 1.8;
}

.article-content p {
	margin: 0 0 1.25rem;
}

.article-content h2,
.article-content h3,
.article-content h4 {
	margin: 2rem 0 1rem;
	line-height: 1.3;
}

.article-content ul,
.article-content ol {
	margin: 0 0 1.5rem 1.5rem;
}

.article-content a {
	text-decoration: underline;
}

.article-content .wp-block-file {
	margin: 1.5rem 0;
	padding: 1rem 1.25rem;
	background: #f5f5f5;
	border-radius: 12px;
}

.article-content .wp-block-button {
	margin: 1.5rem 0;
}



/* =========================================================
	PLANNINGS
	======================================================== */
.pole-plannings {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.planning-card {
	background: #fff;
	padding: 30px;
	border-radius: 12px;
	box-shadow: 0 6px 24px rgba(0,0,0,0.08);
}

.planning-card__header {
	margin-bottom: 15px;
}

.planning-card__title {
	margin: 0 0 6px 0;
	font-size: 1.4rem;
}

.planning-card__periode {
	font-weight: 600;
	color: #666;
	margin: 0;
}

.planning-card__dates {
	font-size: 0.9rem;
	color: #888;
	margin: 0;
}
.planning-card__text {
	margin-bottom: 20px;
}
.planning-card__images {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin-top: 20px;
}
.planning-card__images p {
	margin: 0 0 20px;
}

.planning-card__images img {
	display: block;
	max-width: 100%;
	height: auto;
	margin-bottom: 20px;
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
	cursor: zoom-in;
}
.planning-card__image-link {
	display: block;
	position: relative;
	width: 240px;
	border-radius: 8px;
	overflow: hidden;
	cursor: zoom-in;
}
.planning-card__image {
	display: block;
	width: 100%;
	height: auto;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.planning-card__images p:last-child,
.planning-card__text p:last-child {
	margin-bottom: 0;
}
.planning-card__image-link:hover .planning-card__image {
	transform: scale(1.05);
	box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.planning-card__image-link::after {
	content: "🔍";
	position: absolute;
	top: 10px;
	right: 10px;
	background: rgba(0,0,0,0.6);
	color: #fff;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	opacity: 0;
	transition: opacity 0.2s ease;
}

.planning-card__image-link:hover::after {
	opacity: 1;
}

.planning-card__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 20px;
	border-radius: 999px;
	text-decoration: none;
}
/* MODALE LIGHTBOX */

.planning-lightbox {
	position: fixed;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 9999;
}

.planning-lightbox.is-open {
	display: flex;
}

.planning-lightbox__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.85);
	backdrop-filter: blur(4px);
}

.planning-lightbox__content {
	position: relative;
	z-index: 2;
	max-width: 95vw;
	max-height: 95vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 30px;
}

.planning-lightbox__image {
	display: block;
	max-width: 100%;
	max-height: 90vh;
	width: auto;
	height: auto;
	border-radius: 6px;
	box-shadow: 0 15px 50px rgba(0, 0, 0, 0.7);
}

.planning-lightbox__close {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 4;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	line-height: 1;
	background: rgba(0,0,0,0.65);
	border: 1px solid rgba(255,255,255,0.25);
	border-radius: 50%;
	color: #fff;
	cursor: pointer;
	transition: background 0.2s ease;
}
.planning-lightbox__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 4;
	width: 52px;
	height: 52px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 38px;
	line-height: 1;
	background: rgba(0, 0, 0, 0.65);
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 50%;
	color: #fff;
	cursor: pointer;
}

.planning-lightbox__nav--prev {
	left: 12px;
}
.planning-lightbox__nav--next {
	right: 12px;
}
.planning-lightbox__actions {
	position: absolute;
	left: 50%;
	bottom: 12px;
	transform: translateX(-50%);
	z-index: 4;
	display: flex;
	gap: 12px;
}

.planning-lightbox__action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 16px;
	background: rgba(0, 0, 0, 0.72);
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 999px;
	color: #fff;
	text-decoration: none;
	cursor: pointer;
	font: inherit;
}

.planning-lightbox__action:hover,
.planning-lightbox__close:hover,
.planning-lightbox__nav:hover {
	background: rgba(0, 0, 0, 0.9);
}


body.lightbox-open {
	overflow: hidden;
}


/* =========================================================
   MOBILE
   ========================================================= */

   @media (max-width: 768px) {
	.pole-hero {
		padding: 40px 0 24px;
	}

	.pole-hero__inner {
		gap: 24px;
	}

	.pole-section {
		padding: 40px 0;
	}
}

/* =========================================================
   TABLETTE
   ========================================================= */

@media screen and (max-width: 1024px) {
	.front-page section {
		padding: 56px 0;
	}

	.home-hero {
		padding: 72px 0;
	}

	.home-hero__title {
		font-size: 2.4rem;
	}

	.section-header__title {
		font-size: 1.8rem;
	}

	.pole-card,
	.actualite-card,
	.info-card {
		width: calc(50% - 12px);
	}

	.home-galerie__grid > * {
		width: calc(50% - 8px);
	}

	.equipe-grid {
		grid-template-columns: repeat(2, minmax(0, 240px));
	}

	.association-highlights__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.archive-year__grid {
		grid-template-columns: 1fr;
	}

	.contact-details__grid {
		grid-template-columns: repeat(2, minmax(240px, 300px));
	}

	.contact-card--address {
		max-width: none;
	}
}

@media screen and (max-width: 767px) {
	.wrap {
		padding: 0 16px;
	}

	.header-full {
		height: auto;
		min-height: 92px;
	}

	.header-nav {
		position: relative;
		min-height: 92px;
	}

	.header-logo {
		flex: 0 0 auto;
	}

	.header-logo img {
		height: 108px;
		max-width: 100%;
	}

	.main-nav {
		display: none;
	}

	.burger {
		display: block;
	}

	.site-footer__inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.site-footer__nav {
		flex-direction: column;
		align-items: flex-start;
		justify-content: flex-start;
		gap: 12px;
	}

	.front-page section {
		padding: 44px 0;
	}

	.home-hero {
		padding: 56px 0;
		overflow: hidden;
	}

	.home-hero__title {
		font-size: 2rem;
	}

	.home-hero__text {
		font-size: 1rem;
	}

	.section-header {
		margin-bottom: 24px;
	}

	.section-header__title {
		font-size: 1.6rem;
	}

	.home-hero__actions,
	.home-inscriptions__actions {
		flex-direction: column;
		align-items: stretch;
		width: 100%;
	}


	.home-hero__actions .button,
	.home-inscriptions__actions .button {
		width: 100%;
	}
	.home-hero .wrap {
		flex-direction: column;
		text-align: center;
	}

	.img_droite {
		width: 100%;
		justify-content: center;
		margin-top: 40px;
	}

	/* On réduit le décor du hero sur mobile pour éviter le débordement latéral. */
	.hero-image-wrapper {
		width: min(100%, 320px);
	}

	.hero-image-wrapper::before {
		width: 100%;
		height: auto;
		aspect-ratio: 1 / 1;
		top: -18px;
		left: -12px;
	}


	.pole-card,
	.actualite-card,
	.info-card,
	.home-galerie__grid > * {
		width: 100%;
		min-width: 0;
	}

	.equipe-grid {
		grid-template-columns: 1fr;
		justify-content: stretch;
	}

	.membre-card {
		max-width: none;
	}

	.association-hero {
		padding-top: 20px;
	}

	.association-hero__media {
		padding: 0 16px;
	}

	.association-hero__image {
		max-height: 300px;
		border-radius: 18px;
	}

	.association-hero__content {
		padding-top: 24px;
	}

	.association-hero__title {
		font-size: 2rem;
	}

	.association-hero__chapo {
		font-size: 1rem;
	}

	.association-section + .association-section {
		margin-top: 36px;
	}

	.association-section__title,
	.association-transition__title,
	.association-highlights__title {
		font-size: 1.55rem;
	}

	.association-highlights {
		padding-bottom: 48px;
	}

	.association-highlights__inner {
		padding: 24px 16px;
		border-radius: 18px;
	}

	.association-transition {
		margin-bottom: 24px;
	}

	.association-highlights__grid {
		grid-template-columns: 1fr;
	}

	.vie-associative-hero {
		padding-top: 20px;
	}

	.vie-associative-hero__media {
		padding: 0 16px;
	}

	.vie-associative-hero__image {
		max-height: 300px;
		border-radius: 18px;
	}

	.vie-associative-hero__content {
		padding-top: 24px;
	}

	.vie-associative-hero__title {
		font-size: 2rem;
	}

	.vie-associative-hero__chapo {
		font-size: 1rem;
	}

	.vie-associative-intro__title,
	.vie-associative-note__title,
	.archive-year__title {
		font-size: 1.55rem;
	}

	.vie-associative-note {
		padding-bottom: 48px;
	}

	.vie-associative-note__inner {
		padding: 24px 16px;
		border-radius: 18px;
	}

	.contact-hero {
		padding-top: 20px;
	}

	.contact-hero__media {
		padding: 0 16px;
	}

	.contact-hero__image {
		max-height: 300px;
		border-radius: 18px;
	}

	.contact-hero__content {
		padding-top: 24px;
	}

	.contact-hero__title {
		font-size: 2rem;
	}

	.contact-hero__chapo {
		font-size: 1rem;
	}

	.contact-intro__title,
	.contact-note__title {
		font-size: 1.55rem;
	}

	.contact-details__grid {
		grid-template-columns: 1fr;
	}

	.contact-card--address {
		max-width: none;
	}

	.contact-card__map-iframe {
		height: 280px;
	}

	.contact-note {
		padding-bottom: 48px;
	}

	.contact-note__inner {
		padding: 24px 16px;
		border-radius: 18px;
	}

	.home-ados__content {
		flex-direction: column;
		align-items: flex-start;
	}

	.home-ados__actions {
		width: 100%;
	}

	.home-ados__actions .button {
		width: 100%;
	}

	.section-footer-link {
		justify-content: stretch;
	}

	.section-footer-link .button {
		width: 100%;
	}

	/* SINGLE POLE */
	.pole-hero {
		padding: 40px 0 24px;
	}

	.pole-hero__inner {
		gap: 24px;
	}

	.pole-section {
		padding: 40px 0;
	}

/* REPERES INTEGRATION */
}

.home-actualites,
.home-inscriptions,
.home-infos-pratiques {
	background: #f8f8f8;
}
