@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700;800&display=swap');

*,
*:before,
*:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html,
body {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #565b5f;
    background-color: #ffffff;
    padding: 0;
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-font-smoothing: antialiased;
    -o-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: initial !important;
}

p {
    font-size: 14px;
    font-style: normal;
    font-family: 'Poppins', sans-serif;
    margin: 0 0 10px 0 !important;
    min-height: 20px;
    line-height: 23px;
}


header {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    position: relative; /* Assure que l'ombre passe au-dessus du contenu */
    z-index: 1000;
    border-bottom: 1px solid #f0f0f0;
}

h1.main,
h1 {
    font-family: 'Garamond', serif;
    font-size: 42px;
    font-weight: 700;
    color: #003366;
    text-transform: uppercase;
    letter-spacing: 2px;
    
    /* RELIEF SANS CONTOUR : Une ombre unique, diffuse et élégante */
    /* On l'éloigne un peu (8px) pour que la séparation soit visible */
    text-shadow: 4px 6px 12px rgba(0, 51, 102, 0.25);
    
    /* Séparation avec le header */
    margin: 80px auto 40px auto !important; 
    padding: 0 0 20px 0 !important;
    
    /* Structure */
    width: 95%;
    max-width: 1150px;
    position: relative;
    border-bottom: 2px solid #f0f0f0;
}

/* Ta barre rouge (inchangée car elle fonctionnait bien) */
h1.main::after,
h1::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100px;
    height: 5px;
    background: #e30617;
}

.content h1::before {
    display: none !important;
}

h2 {
	font-family: 'garamond', sans-serif;
	font-size: 38px;
	font-weight: 600;
	color: #15172e;
	/* text-transform: uppercase; */
	/* position: relative; */
	/*margin-top: 4% !important;*/
}

h3 {
	font-family: 'garamond', sans-serif;
	font-size: 30px;
	font-weight: 600;
	color: #3d3928;
	margin: 0 0 15px 0 !important;
}

h4 {
	font-family: 'Poppins', sans-serif;
	font-size: 19px;
	font-weight: 600;
	color: #2d2b36;
	margin: 0 0 20px 0 !important;
	line-height: 22px;
}

h5 {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #e30617;
    margin: 0 0 10px 0 !important;
}

h6 {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #565b5f;
    margin: 0 0 10px 0 !important;
}

.editable > pre {
    background: none;
    padding: 0;
    overflow: auto;
    font-family: inherit !important;
    border-left: 4px solid #e30617;
    padding: 0 0 0 8px;
    line-height: 20px;
    font-style: italic;
    font-size: 13px;
    color: #898989;
}

.primary {
	font-size: 17px !important;
	font-family: 'Poppins', sans-serif;
	font-weight: 400;
	color: white !important;
	line-height: 22px;
	background: #e30617 !important;
	padding: 8px 18px !important;
	margin-top: 2% !important;
	display: inline-block;
	cursor: pointer !important;
	border: 0 !important;
	border-radius: 6px !important;
	min-width: 150px;
	text-align: center;
	box-shadow: rgba(0, 0, 0, 0.5) 0px 5px 15px !important;
}

.secondary {
    color: #e30617 !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    font-weight: 500;
}

.secondary::before {
    content: "\f0a9";
    font-family: Icons;
    font-size: 16px;
    vertical-align: top;
    margin: 0 5px 0 0;
    color: #49c589;
}

.secondary:hover {
    transition: all 0.4s ease 0s;
    background: none !important;
    color: #49c589 !important;
}

button:hover,
.button:hover {
    box-shadow: none;
    color: white;
    transition: all 0.4s ease 0s;
}

a,
a:visited {
    color: #e30617;
    text-decoration: none;
}

a:hover,
a:focus,
a:active {
    color: #259fe0;
    text-decoration: none;
}

b,
strong {
    font-weight: 600;
}

ul {
    margin: 1% 0 1% 1%;
    padding: 0;
    list-style: none;
    font-family: 'Poppins', sans-serif;
}

ol {
    font-family: 'Poppins', sans-serif;
}

ul li,
ol li {
    margin: 10px 0;
    color: #565b5f;
    font-weight: 400;
}

ul li::before {
    content: "\f061";
    font-family: Icons;
    font-size: 11px;
    color: #e30617;
    vertical-align: top;
    margin: 1%;
}

ul li ul li::before {
    color: #e30617;
}

ul li ul,
ol li ol {
    margin: 1% 0 0px 3%;
}

table td {
    padding: 5px 0 !important;
    vertical-align: top !important;
    border-bottom: 1px solid #ccc !important;
}

table td p {
    margin: 0 !important;
}

page-spacing {
    padding: 1%;
}

/*** HEADER ***********************************************************************/

.wrapper {
    width: 1150px;
    margin: 0 auto !important;
}

header .editable p {
    margin: 0 !important;
}

header a:hover,
header a:focus,
header a:active {
    text-decoration: none;
}

/**/

header .logo {
    padding: 1% 0;
    width: 8% !important;
}

    header .logo img {
        max-width: 100%;
        display: block;
        height: auto !important;
    }

header .divmenu {
	align-self: center;
	padding: 0;
	width: 70% !important;
}

header .don {
	padding: 0;
	width: 13% !important;
	/*padding-top: 3%;*/
}

/*header .don a {
	font-size: 14px;
	color: #fff;
	display: inline-block;
	padding: 8px;
	border-radius: 7px;
	font-weight: bold;
}*/

header .don a {
	color: white;
	font-size: 16px;
	height: 100px;
	width: 100px;
	display: block;
	padding: 10% 0;
	font-weight: 800;
	/* text-transform: uppercase; */
	/* margin: 0 0 0 5px; */
}
    
header .don i {
        font-size: 30px;
        margin: 0%;
    }
	
	
	header .don a span {
        display: block;
        font-weight: 400;
    }


/***/

.bloc-menu {
    background: #E20517;
    color: #000;
    display: flex;
    justify-content: space-between;
}

.bloc-menu .wrapper {
    display: flex;
}

section.menu {
    width: 97%;
}

.bloc-search {
    text-align: right;
    width: 3%;
    padding: 11px 0 0 0;
}

.bloc-search a {
    color: #5e6367;
}

.bloc-search a i {
    font-size: 20px;
}

/*** MENU RESPONSIVE VERTICAL *******************************************************/

section.menu nav {
    position: relative;
    line-height: initial;
    margin: 0 auto;
    z-index: 2;
}

/* button */

section.menu nav .arrow {
    display: flex;
    justify-content: center;
    cursor: pointer;
    width: 30px;
    height: 100%;
    line-height: 30px;
    position: absolute;
    right: 0;
    top: 0;
    color: #e30617;
}

section.menu nav .arrow::before {
    content: "\f0dd";
    font-family: 'Icons';
}

/***/

section.menu nav .button {
    width: 100%;
    padding: 1em;
    background: #e30617;
    color: white;
    cursor: pointer;
    border-radius: 0;
}

section.menu nav .button:before {
    content: "Menu";
}

section.menu nav .button+input {
    width: 100%;
    height: 40px;
    opacity: 0;
    position: absolute;
    cursor: pointer;
    margin: 0;
    left: 0;
    top: 0;
}

/**/

section.menu nav ul {
    padding: 0;
    margin: 0;
    font-size: 0;
    color: transparent;
    overflow: hidden;
    transition: font-size 0.3s 0.2s, color 0.2s;
}

section.menu nav ul li {
    margin: 0;
}

section.menu nav ul li::before {
    content: none;
    margin: 0;
}

section.menu nav input:checked+ul {
    font-size: 14px;
    color: #fff;
    transition: font-size 0.3s, color 0.2s 0.3s;
}


section.menu nav li:focus>ul {
    font-size: 13px;
    color: #e30617;
    transition: font-size 0.3s, color 0.2s 0.3s;
}

section.menu nav li:hover,
section.menu nav li:focus {
    background: #F0F0F0;
}

section.menu nav li {
    list-style-type: none;
    outline: none;
    position: relative;
}

section.menu nav li a,
section.menu nav li .label,
section.menu nav li a:visited {
    padding: 1em;
    display: block;
    cursor: pointer;
    color: inherit;
    text-transform: uppercase;
    font-weight: 500;
    color: #565b5f;
}

section.menu nav li a:hover,
section.menu nav li a:focus,
section.menu nav li a:active,
section.menu nav li.active a {
    color: #fff;
    background: #F0F0F0;
    text-decoration: none;
}

        /* submenu show*/
        section.menu nav ul li ul {
            background: #e20517;
        }


        section.menu nav ul li ul li:hover {
            background: #e20517;
        }
		
.item-4491519 .block-45561 .editable {
	padding: 3%;
	width: 50%;
	position: relative;
  padding-bottom: 80px;
}

.item-4491519 .block-45561 .editable p:has(.button) {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0; /* Pour que le text-center fonctionne toujours */
}
	
		
.item-4491519 .block-45561 .editable:nth-child(1) {
	background-color: #f9f0eb;
	border-top-left-radius: 20px ;
	border-bottom-left-radius: 20px ;
}

.item-4491519 .block-45561 .editable:nth-child(2) {
	background-color: #d22d34;
	color: #fff;
	border-top-right-radius: 20px;
	border-bottom-right-radius: 20px;
}

.item-4491519 .block-45561 .editable:nth-child(2) h3 {
	color: #fff;
}




/*****************************************************/
/***** AFFICHAGE DES CARTES DES GALLERIE D'EVENT *****/
/*****************************************************/

/* CARTE */
item-gallery .grid .item {
  max-width: 420px;
  background: #fff;
  border: 1px solid #eee;
  display: flex;
  flex-direction: column;     /* 🔑 */
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  z-index:1;
}

item-gallery .grid .item:hover {
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
  transform: translateY(-4px);
}

/* IMAGE */
item-gallery .grid .image {
  overflow: hidden;
}

item-gallery .grid .image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

item-gallery .grid .item:hover .image img {
  transform: scale(1.05);
}

/* TITRE */
item-gallery .grid .title {
  padding: 20px 20px 10px;
}

item-gallery .grid .title h3 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.4;
}

item-gallery .grid .title a {
  color: #000;
  text-decoration: none;
}

item-gallery .grid .title a:hover {
  color: #c40000;
}

/* TEXTE */
item-gallery .grid .text {
  padding: 0 20px 30px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
}

item-gallery .grid .item .content .text {
  padding: 0 20px 30px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
}

/* LIRE LA SUITE */
item-gallery .grid .more {
  margin-top: auto;          /* 🔑 pousse en bas */
  padding: 0 20px 20px;
  text-align: right;
}

item-gallery .grid .more a {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #c40000;
  text-decoration: none;
  font-weight: 600;
}

item-gallery .grid .more a::after {
  content: " →";
}


/* Container en deux colonnes */
.item-4487461 .two-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* Bloc “glass card” moderne */
.item-4487461 .two-columns .editable {
  position: relative;
  background: rgba(255, 255, 255, 0.85); /* translucide */
  backdrop-filter: blur(8px);
  border-radius: 20px;
  padding: 35px 25px;
  flex: 1 1 320px;
  max-width: 480px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  border-left: 6px solid #e10600; /* rouge accent subtil */
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

/* Hover moderne */
.item-4487461 .two-columns .editable:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.3);
  border-color: #ff4d4d;
}

/* Titres */
.item-4487461 .two-columns .editable h3 {
  font-size: 1.6rem;
  font-weight: 600;
  color: #e10600; /* accent rouge */
  margin-bottom: 15px;
}

/* Paragraphes */
.item-4487461 .two-columns .editable p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 18px;
}

/* Boutons modernes */
.item-4487461 .two-columns .editable a.button {
  display: inline-block;
  background: linear-gradient(135deg, #e10600, #ff4d4d);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(225,6,0,0.3);
  transition: all 0.3s ease;
}

.item-4487461 .two-columns .editable a.button:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 10px 20px rgba(225,6,0,0.4);
}



/* ==== FLIP CARDS CLIQUABLES ==== */
.item-4487461 .second-zone .four-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
}

.item-4487461 .second-zone .four-columns .editable {
    width: 210px;
    height: 210px;
    perspective: 1000px;
    position: relative;
    margin-bottom: 25px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

/* MASQUE LE TEXTE ORIGINAL */
.item-4487461 .second-zone .four-columns .editable .text-center {
    display: none;
}

/* === FACE AVANT = IMAGE + bordure + ombre === */
.item-4487461 .second-zone .four-columns .editable::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 14px;
    backface-visibility: hidden;

    /*background-size: cover;     */
    background-repeat: no-repeat;
    background-position: center;

    border: 2px solid rgba(0,0,0,0.15);
    box-sizing: border-box;
    box-shadow: 0 8px 16px rgba(0,0,0,0.18);

    transition: transform 0.8s, box-shadow 0.3s;
}

/* === FACE ARRIERE = TEXTE === */
.item-4487461 .second-zone .four-columns .editable::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 14px;
    background: #c8102e;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    backface-visibility: hidden;
    transform: rotateY(180deg);

    border: 2px solid rgba(0,0,0,0.15);
    box-shadow: 0 12px 24px rgba(0,0,0,0.2);

    transition: transform 0.8s, box-shadow 0.3s, background 0.3s;
}

/* HOVER = FLIP + ombre renforcée */
.item-4487461 .second-zone .four-columns .editable:hover::before {
    transform: rotateY(180deg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}
.item-4487461 .second-zone .four-columns .editable:hover::after {
    transform: rotateY(0deg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}

/* ==== LIEN SUR TOUTE LA CARTE ==== */
.item-4487461 .second-zone .four-columns .editable a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10; /* devant les faces avant/arrière */
    text-indent: -9999px; /* cache le texte visible du lien */
    display: block;
}

/* ==== IMAGE / TEXTE SPECIFIQUE ==== */
/* Premier bloc */
.item-4487461 .four-columns:nth-of-type(2) .editable:nth-child(1)::before { 
    background-image: url('/f/00010145a2d810ee4b1de7e9b893dc6341277f78/816_ckeditor_perso_43775_5a6f4cc0db49c_1.png'); 
}
.item-4487461 .four-columns:nth-of-type(2) .editable:nth-child(2)::before { 
    background-image: url('/f/459b72bea78282e0b05d4ed8763be95e4cf9ff1c/816_ckeditor_perso_43775_5a6f4cc0db49c_2_gris.png'); 
}
.item-4487461 .four-columns:nth-of-type(2) .editable:nth-child(3)::before { 
    background-image: url('/f/33d1cc43ed39a589ea704ff8a7752ed3732a47cb/816_ckeditor_perso_43775_5aa294d9aefda_9.png'); 
}
.item-4487461 .four-columns:nth-of-type(2) .editable:nth-child(4)::before { 
    background-image: url('/f/d3f25f1572047a618fe37b9605f1b42a8dbf4012/816_ckeditor_perso_43775_5a6f4cc0db49c_4.png'); 
}

.item-4487461 .four-columns:nth-of-type(2) .editable:nth-child(1)::after { content: "Dîner des missions"; }
.item-4487461 .four-columns:nth-of-type(2) .editable:nth-child(2)::after { content: "Théâtre"; }
.item-4487461 .four-columns:nth-of-type(2) .editable:nth-child(3)::after { content: "Franklin en blanc"; }
.item-4487461 .four-columns:nth-of-type(2) .editable:nth-child(4)::after { content: "Restauration"; }

/* Deuxième bloc */
.item-4487461 .four-columns:nth-of-type(3) .editable:nth-child(1)::before { 
    background-image: url('/f/15a32690dd9f22c8116d9494b01ac23161ca6dc3/816_ckeditor_perso_43775_5a6f4cc0db49c_5_gris.png'); 
}
.item-4487461 .four-columns:nth-of-type(3) .editable:nth-child(2)::before { 
    background-image: url('/f/cb18ee8d6d271b95ce76393efc64b3a191ddc155/816_ckeditor_perso_43775_5a6f4cc0db49c_6.png'); 
}
.item-4487461 .four-columns:nth-of-type(3) .editable:nth-child(3)::before { 
    background-image: url('/f/53c731f78b34243bc517725eb36c03953140e6f1/816_ckeditor_perso_43775_5a6f4cc0db49c_7.png'); 
}
.item-4487461 .four-columns:nth-of-type(3) .editable:nth-child(4)::before { 
    background-image: url('/f/553479ee708bbb898b3eed36de868053c7b14738/816_ckeditor_perso_43775_5a6f4cc0db49c_8_gris.png'); 
}

.item-4487461 .four-columns:nth-of-type(3) .editable:nth-child(1)::after { content: "Concerts"; }
.item-4487461 .four-columns:nth-of-type(3) .editable:nth-child(2)::after { content: "Tournois"; }
.item-4487461 .four-columns:nth-of-type(3) .editable:nth-child(3)::after { content: "Jeux en famille"; }
.item-4487461 .four-columns:nth-of-type(3) .editable:nth-child(4)::after { content: "Ateliers"; }

/* ==== RESPONSIVE ==== */
@media screen and (max-width: 750px) {
    .item-4487461 .second-zone .four-columns .editable {
        width: 48%;
        height: 180px;
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 450px) {
    .item-4487461 .second-zone .four-columns .editable {
        width: 82%;
        height: 200px;
        margin: 10px auto;
    }
}

/* ============================= */
/* ==== FIX FLIP EN RESPONSIVE === */
/* ============================= */

@media (hover: none) and (pointer: coarse) {

    /* Désactive la perspective */
    .item-4487461 .second-zone .four-columns .editable {
        perspective: none;
    }

    /* Face avant masquée */
    .item-4487461 .second-zone .four-columns .editable::before {
        transform: rotateY(180deg);
        box-shadow: none;
    }

    /* Face arrière affichée */
    .item-4487461 .second-zone .four-columns .editable::after {
        transform: rotateY(0deg);
        box-shadow: 0 12px 30px rgba(0,0,0,0.25);
    }

    /* Pas d'animation inutile sur mobile */
    .item-4487461 .second-zone .four-columns .editable::before,
    .item-4487461 .second-zone .four-columns .editable::after {
        transition: none;
    }
}





/* Grille principale */
.block-45562 .three-columns.grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 50% / 50% */
  grid-template-rows: repeat(2, 1fr);
  gap: 20px;
}

/* 1. La grande carte occupe toute la colonne de gauche */

.block-45562 .three-columns.grid .item {
	width: 100% !important;
	max-width: 100% !important;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
}

.block-45562 .three-columns.grid .item:first-child {
  grid-row: span 3;
}

.block-45562 .item .content {
  display: flex;
  height: 100%;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* 2. Style de la GRANDE carte (Vertical) */
.block-45562 .three-columns.grid .item:first-child .content {
  flex-direction: column;
}

/* 3. Style des PETITES cartes de droite (Horizontal : Image puis Texte) */
.block-45562 .three-columns.grid .item:not(:first-child) .content {
  flex-direction: row; /* Image à gauche, texte à droite */
}

/* Gestion des proportions pour les petites cartes */
.block-45562 .three-columns.grid .item:not(:first-child) .image {
  flex: 0 0 40%; /* L'image prend 40% de la largeur du bloc */
}

.block-45562 .three-columns.grid .item:not(:first-child) .title,
.block-45562 .three-columns.grid .item:not(:first-child) .text {
  flex: 1;
  padding: 15px;
}

/* Ajustement universel des images */
.block-45562 .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* On ignore les styles "order" du HTML pour respecter le flux naturel */
.block-45562 .item .image, 
.block-45562 .item .title, 
.block-45562 .item .text, 
.block-45562 .item .more {
  order: unset !important;
}




.block-45562 .item:nth-child(2) .content,
.block-45562 .item:nth-child(3) .content,
.block-45562 .item:nth-child(4) .content {
  display: flex;
  flex-direction: row-reverse; /* Envoie l'image à droite car elle est en premier dans le HTML */
  align-items: center;        /* Aligne verticalement le texte et l'image */
  justify-content:衔between;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  gap: 20px;
}

/* Conteneur pour grouper les textes à gauche */
/* Puisque vos éléments (title, text, more) sont des enfants directs de .content, 
   nous devons gérer leur empilement */

.block-45562 .item:nth-child(2) .image,
.block-45562 .item:nth-child(3) .image,
.block-45562 .item:nth-child(4) .image {
  flex: 0 0 40%; /* L'image prend 40% de la largeur */
  order: 2 !important; /* Force l'image à droite */
}

.block-45562 .item:nth-child(2) .title, 
.block-45562 .item:nth-child(2) .text, 
.block-45562 .item:nth-child(2) .more,
.block-45562 .item:nth-child(3) .title, 
.block-45562 .item:nth-child(3) .text, 
.block-45562 .item:nth-child(3) .more,
.block-45562 .item:nth-child(4) .title, 
.block-45562 .item:nth-child(4) .text, 
.block-45562 .item:nth-child(4) .more {
  flex: 1;
  order: 1 !important; /* Force les textes à gauche */
  padding-left: 20px;
}

/* Pour que les textes s'empilent bien les uns sous les autres à gauche, 
   il est préférable de tricher un peu avec le layout ou d'entourer vos textes d'une div. 
   Si vous ne pouvez pas modifier le HTML, utilisez ceci : */

.block-45562 .item:nth-child(2) .content,
.block-45562 .item:nth-child(3) .content,
.block-45562 .item:nth-child(4) .content {
  display: grid;
  /* On définit deux colonnes : 40% pour l'image, le reste pour le texte */
  grid-template-columns: 40% 1fr; 
  /* On crée une zone "img" à gauche qui couvre 3 lignes de texte à droite */
  grid-template-areas: 
    "img title"
    "img text"
    "img more";
  gap: 0 20px; /* Pas d'espace vertical entre les lignes de texte, 20px entre image et texte */
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  align-items: start;
}

.block-45562 .item:nth-child(2) .image, .block-45562 .item:nth-child(3) .image, .block-45562 .item:nth-child(4) .image { grid-area: img;height: 100%; }
.block-45562 .item:nth-child(2) .title, .block-45562 .item:nth-child(3) .title, .block-45562 .item:nth-child(4) .title { grid-area: title; padding-top: 15px; }
.block-45562 .item:nth-child(2) .text, .block-45562 .item:nth-child(3) .text, .block-45562 .item:nth-child(4) .text  { grid-area: text; }
.block-45562 .item:nth-child(2) .more, .block-45562 .item:nth-child(3) .more, .block-45562 .item:nth-child(4) .more  { grid-area: more; padding-bottom: 15px; }

.block-45562 .item:nth-child(2) .image img,
.block-45562 .item:nth-child(3) .image img,
.block-45562 .item:nth-child(4) .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-bottom-right-radius:10px;
}

.block-45562 .date {
	display: none;
}


		
    

/*** MAIN MENU  HORIZONTAL *******************************************************/

@media screen and (min-width: 900px) {

    /* button */

    section.menu nav .button {
        display: none;
    }

    section.menu nav ul li .arrow {
        display: none;
    }

    /***/

    section.menu nav ul {
        display: flex;
        justify-content: space-between;
        overflow: inherit;
    }

    section.menu nav ul li {
        position: initial;
    }

    section.menu nav li:hover,
    section.menu nav li:focus {
        background: none;
        color: #fff;
    }

    section.menu nav li:hover .label,
    section.menu nav li:focus .label {
        color: #e30617;
    }

    section.menu nav ul li a,
    section.menu nav ul li .label,
    section.menu nav li a:visited { 
        font-size: 14px !important;
        color: #000;
        text-transform: uppercase;
        font-weight: 600;
        border-bottom: none;
        padding: 10px;
    }

    section.menu nav ul li a:hover,
    section.menu nav ul li a:focus,
    section.menu nav ul li a:active,
    section.menu nav ul li .label:hover,
    section.menu nav li.active a {
        background: #fff;
        color: #000 !important;
        text-decoration: none;
    }

    section.menu nav ul li ul li a {
        font-size: 13px;
    }

    section.menu nav ul li ul li a:hover {
        background: #fff;
        color: #000 !important;
    }

        /* submenu show*/
        section.menu nav ul li ul {
            display: none;
            z-index: 100;
            background: #e20517;
        }
    
        section.menu nav ul li:hover ul {
            display: block;
            position: absolute;
            transition: 0.4s;
            z-index:10;
        }
}

/*** MAIN ***********************************************************************/

#content {
    padding: 2% 0;
}

main {
    margin: 0 !important;
    padding: 0;
}

main > div {
    margin: 0 !important;
    padding: 0;
}

.padding {
    padding: 1% 0;
}

.first-zone {
	background-color:#fcf7f4;
}

.second-zone,
.fourth-zone {
    background-color: #FFF;
}

.third-zone {
	background-color:#fcf7f4;
}

/*** CAROUSEL ******************************************************************************/

file-carousel .carousel,
[data-is="file-carousel"] .carousel {
    max-width: 100% !important;
}

file-carousel img,
[data-is="file-carousel"] img {
    width: 100%;
}

.slick-initialized .slick-slide {
    width: 100%;
    position: relative;
}

.slick-slide img {
    padding: 0 !important;
    margin: 0 !important;
}

.slick-prev,
.slick-next {
    background: transparent !important;
}

.slick-next {
    right: 5px !important;
}

.slick-prev {
    left: 5px !important;
    z-index: 100;
}

.slick-dots li button {
    background: transparent !important;
}
/* 1. Conteneur principal centré */
.carousel .content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    width: 90%;
    max-width: 850px;
    padding: 60px;
    
    background-color: rgba(255, 255, 255, 0.75);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    z-index: 10;
}

/* 2. Titre avec les barres rouges latérales */
.carousel .title {
    color: #1a2b56; 
    font-size: clamp(1.5rem, 5vw, 3rem); /* S'adapte à la taille de l'écran */
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: none;
}

.carousel .title::before, 
.carousel .title::after {
    content: "";
    height: 4px;
    width: 60px;
    background-color: #a31d2d;
    margin: 0 15px;
    flex-shrink: 0; /* Empêche les barres de s'écraser sur mobile */
}

/* 3. Description */
.carousel .description {
    color: #333;
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 30px;
    line-height: 1.4;
}

/* 4. Bouton (Lien) */
.carousel .link a {
    display: inline-block;
    background-color: #bc202e;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 35px;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.carousel .link a:hover {
    background-color: #961a25;
    transform: scale(1.05); /* Petit effet dynamique au survol */
}

/* Responsive : ajustement pour mobiles */
@media (max-width: 600px) {
    .carousel .title::before, 
    .carousel .title::after {
        width: 30px; /* Barres plus courtes sur petit écran */
    }
    .carousel .content {
        padding: 20px;
    }
}


/*** PARTNERS ***********************************************************************/

.partners {
    border-top: 1px solid #d2d2d2 ;
    padding: 3% 0;
}

.partners h2 {
    margin: 0 !important;
}

.partners .slick-slide img {
    display: block;
    width: 90%;
}


/*** FOOTER ***********************************************************************/

footer {
    padding: 0 !important;
    margin: 0;
    background: #F0F0F0;
    color: #565b5f;
}

footer .wrapper {
    padding: 2% 0;
}

footer a {
    color: #565b5f !important;
}

footer h3 {
    font-family: 'garamond', sans-serif;
	font-size: 23px;
	font-weight: 600;
	color: #15172e;
	/* text-transform: uppercase; */
	/* position: relative; */
	margin-top: 4% !important;
}

footer .info .secondary {
    margin: 2% 0 5% 0 !important;
    display: block;
  }

footer .instagram  {
    font-size: 28px;
}

.info,
.navigation,
.help {
    text-align: center;
}

footer ul li::before {
    content: none;
}

footer .help-button {
    display: flex;
    justify-content: center;
}

footer .help a {
    color: white !important;
    font-size: 16px;
    height: 120px;
    width: 100px;
    display: block;
    padding: 4% 0;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0 0 0 5px;
}

footer .help a {
	color: white !important;
	font-size: 16px;
	height: 90px;
	width: 90px;
	display: block;
	padding: 3% 0;
	font-weight: 800;
	text-transform: uppercase;
	margin: 0 0 0 5px;
}

footer .help a span {
    display: block;
    font-weight: 400;
}

        .adhesionSite {
            background-color: #7edfb0;
        }

        .donation {
            background-color: #E20517;
        }

        .private {
            background-color: #7e858a;
        }

.legal {
    text-align: center;
    font-size: 11px;
    background: #e30617;
    padding: 4px 0;
}

.legal p {
    margin: 0 !important;
    font-size: 12px;
    color: white;
}

.legal a {
    color: #ffffff !important;
}

.legal a:hover {
    text-decoration: none !important;
    color: #ffffff !important;
    transition: all 0.4s ease 0s;
}


/*** ITEM GALLERY  ***********************************************************************/


[node="1182"] .item {
    width: 23%;
  }


[node="1182"] .item .text,
[node="1182"] .item .more,
[node="1182"] .item .date {
      display: none;
  }

  [node="1182"] .item  .label {
      margin: -10px 0 0 0 !important;
  }


/*** event **/


[node="1181"] .grid .item {
    margin: 0 0 4% 0;
    border-left: 3px solid #4dd895;
    -webkit-box-shadow: 0px 0px 9px -1px rgba(0,0,0,0.3); 
    box-shadow: 0px 0px 9px -1px rgba(0,0,0,0.3);
    border-radius: 6px;
    padding: 1% 2%;
  }

  [node="1181"] .grid .item .image {
      display: none;
  }

/*** reset **/

[limit="3"] .grid .item {
    margin: 0;
}

item-gallery .grid .item {
    margin: 0 0 3% 0;
}

item-gallery .grid {
    margin: 0 !important;
}

item-gallery .grid .content,
[data-is="item-gallery"] .grid .content {
    position: relative;
}

item-gallery .grid .image,
[data-is="item-gallery"] .grid .image {
    position: relative !important;
    height: auto !important;
}

item-gallery .image img,
[data-is="item-gallery"] .image img {
    position: initial !important;
    margin: 0 !important;
    display: block;
}

item-gallery .grid .item .label {
    z-index: 2;
    padding: 0 !important;
    font-size: 14px !important;
    margin: 0;
    text-transform: uppercase;
    text-align: left;
}

item-gallery .grid .item .label .label {
    font-weight: 500;
    border-radius: 0;
    padding: 8px 20px !important;
}

item-gallery .grid .item .title {
    margin: 0 !important;
}

item-gallery .grid .item .title h3 {
    margin: 0 !important;
    line-height: 22px;
    font-weight: 300;
    font-family: 'Poppins', sans-serif;
    padding: 2% 0;
    text-align: left;
}

item-gallery .grid .item .title h3::after {
    background: none;
}

item-gallery .grid .item .title a {
    margin: 0 !important;
    font-size: 18px;
    color: #000;
}

item-gallery .grid .item .date {
    margin: 0 !important;
    font-family: 'Poppins', sans-serif;
    color: #848484;
    font-size: 14px;
    font-weight: 500;
    text-align: left;
    padding: 2% 0;
}

item-gallery .grid .item .text {
    margin: 0 !important;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #444444;
    text-align: left;
    padding: 2% 0;
}

item-gallery .grid .more {
    background: none;
    text-align: right;
}

item-gallery .grid .more a,
[data-is="item-gallery"] .grid .more a {
    background: none !important;
}






/*** PARTNERS ***********************************************************************/

.partners {
    padding: 2% 0;
}

.partners .slick-track {
    position: relative;
    top: 0;
    left: 0;
    display: flex;
    margin-left: auto;
    margin-right: auto;
    align-items: center;
  }

  .partners .slick-slide {
    display: none;
    float: none;
  }

  .partners .slick-slide img {
    display: block;
    width: 90%;
}

.partners .content {
    display: none;
}



/*** PAGE EVENT ********************************************************************************/

.item-data.block-10590.type-date {
    display: inline-block;
}

.event-date {
    padding: 1% 0;
    color: #0092bb;
    font-weight: 700;
}


/*** LOGIN *******************************************************************************/

user-login .actions {
    margin-top: 6%;
}

/*** Map *******************************************************************************/


item-map {
    z-index: 1;
    position: relative;
}


/*** Contact FORM ********************************************************************/

.ui.form .required::after {
    content: ' *';
}

ui-form .ui.form > .row > .info.header.column,
[data-is="ui-form"] .ui.form > .row > .info.header.column {
    text-align: left;
    font-family: 'Poppins', sans-serif !important;
    font-size: 22px !important;
    font-weight: 600 !important;
    color: #49c589 !important;
    margin: 0 0 15px 0 !important;
}

.ui.header {
    font-family: 'Poppins', sans-serif !important;
    font-size: 22px !important;
    font-weight: 600 !important;
    color: #000 !important;
    margin: 0 0 15px 0 !important;
}

/*** COLUMNS ******************************************************************************/

.one-column>*,
.two-columns>*,
.three-columns>*,
.four-columns>*,
.six-columns>*,
.eight-columns>* {
    display: block;
    box-sizing: border-box;
    vertical-align: top;
    padding: 0;
}

.one-column,
.two-columns,
.three-columns,
.four-columns,
.six-columns,
.eight-columns {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    margin: 0;
    justify-content: space-between;
}

main .one-column,
main .two-columns,
main .three-columns,
main .four-columns,
main .six-columns,
main .eight-columns {
    margin: 2% 0;
}

:root {
    --margin: 3%;
    --quarter: 25%;
    --third: 33%;
}

.one-column>* {
    width: 100%;
}

.one-column.centered>* {
    width: 70%;
    margin: 0 auto;
    background: #e30617;
    color: white;
    padding: 2%;
    border-radius: 10px;
    margin-bottom: 1%;
}

.one-column.centered .editable ul li::before {
    content: "\f061";
    font-family: Icons;
    font-size: 11px;
    vertical-align: top;
    color: white;
    margin: 0 2px 0 0;
}

.one-column.centered a {
    text-decoration: underline;
}

.one-column.centered a:hover {
    color: #324048;
}

.one-column.centered h1,
.one-column.centered h2,
.one-column.centered h3,
.one-column.centered h4,
.one-column.centered h5,
.one-column.centered h6,
.one-column.centered p,
.one-column.centered a,
.one-column.centered a:visited,
.one-column.centered li,
.one-column.centered table td,
.one-column.centered table strong,
.one-column.centered table b,
.one-column.centered b,
.one-column.centered strong {
    color: white !important;
    text-decoration: none !important;
}


.one-column.centered a:hover,
.one-column.centered a:focus,
.one-column.centered a:active {
    color: #1fc6e5 !important;
    text-decoration: underline;
}

.two-columns.third-left> :first-child,
.two-columns.third-right> :last-child {
    width: var(--third);
}

.two-columns.quarter-left> :first-child,
.two-columns.quarter-right> :last-child {
    width: var(--quarter);
}

.two-columns.third-left> :last-child,
.two-columns.third-right> :first-child {
    width: calc((100% - (var(--margin) + var(--third))));
}

.two-columns.quarter-left> :last-child,
.two-columns.quarter-right> :first-child {
    width: calc((100% - (var(--margin) + var(--quarter))));
}

.two-columns>* {
    width: calc((100% - var(--margin)) / 2);
}

.three-columns>* {
    width: calc((100% - (var(--margin)) * 2) / 3);
}

.theme-152 .first-zone .three-columns>* {
    width: calc((100% - (var(--margin)) * 2) / 3);
    -webkit-box-shadow: 0px 0px 9px -1px rgba(0,0,0,0.3); 
    box-shadow: 0px 0px 9px -1px rgba(0,0,0,0.3);
    border-radius: 6px;
    padding: 1% 2%;
}

.four-columns>* {
    width: calc((100% - (var(--margin)) * 3) / 4);
}

.six-columns>* {
    width: calc((100% - (var(--margin)) * 5) / 6);
}

.eight-columns>* {
    width: calc((100% - (var(--margin)) * 7) / 8);
}


/*** RESPONSIVE ***********************************************************************/

@media screen and (max-width: 1150px) {

    .wrapper {
        width: 100%;
        padding: 0 2% !important;
    }

    footer .wrapper {
        padding: 2% !important;
    }

    h1.main {
        width: 100%;
      }
}

@media screen and (max-width: 1050px) {

    section.menu {
        padding: 0;
    }

    .carousel .content {
        width: 50%;
        left: 0;
    }

    .carousel .title {
        font-size: 26px;
        line-height: 25px;
        padding: 0 0 2% 0;
    }

    .carousel .link {
        padding: 2% 0 0 0 !important;
    }
}

@media screen and (max-width: 900px) {

    header .logo {
        padding: 0;
        width: 100% !important;
        text-align: center;
        margin: 0;
      }

    header .logo img {
        margin: 0 auto;
      }
	
	header .divmenu {
		width: 100% !important;
	}
	
    header .slogan {
        align-self: center;
        padding: 0;
        width: 100% !important;
        text-align: center;
        margin: 2% 0;
      }

    header .social {
        position: absolute;
        right: 0;
        top: 0;
      }

    header .don {
        width: 100% !important;
        display: flex;
        justify-content: center;
      }

    header .don a {
        height: auto;
        width: 110px;
        padding: 2% !important;
      }

/**/

.bloc-menu .wrapper {
    display: flex;
    padding: 0 !important;
  }

  .bloc-search {
    display: none;
  }

  section.menu {
    width: 100%;
  }


    .carousel .description {
        display: none;
    }

    .carousel .title {
        text-align: center;
    }

    header .logo {
        width: 33%;
        margin-right: 2%;
    }

    header .bloc-right {
        width: 65%;
    }
}

@media screen and (max-width: 750px) {

    page-spacing {
        padding: 0;
    }

    header .logo {
        width: 100% !important;
        text-align: center !important;
        padding: 2% !important;
    }

    header .logo img {
        max-width: 100%;
        display: block;
        padding: 0;
        margin: 0 auto;
    }

    header .bloc-right {
        width: 100%;
    }

    main .one-column,
    main .two-columns,
    main .three-columns,
    main .four-columns,
    main .six-columns,
    main .eight-columns {
        margin: 0;
    }

    .content main .one-column>*,
    .content main .two-columns>*,
    .content main .three-columns>*,
    .content main .four-columns>*,
    .content main .six-columns>*,
    .content main .eight-columns>* {
        margin: 2% 0 !important;
    }

    .one-column>* {
        width: 100%;
    }

    .one-column.centered>* {
        width: 100%;
    }

    .two-columns>* {
        width: 100%;
    }
	
	.item-4491519 .block-45561 .editable {
		width:100%
	}
	
	.item-4491519 .block-45561 .editable:nth-child(1),
	.item-4491519 .block-45561 .editable:nth-child(2) {
		border-radius:0px;
	}

    .two-columns.third-left> :first-child,
    .two-columns.third-right> :last-child {
        width: 100%;
    }

    .two-columns.third-left> :last-child,
    .two-columns.third-right> :first-child {
        width: 100%;
    }

    .two-columns.quarter-left> :first-child,
    .two-columns.quarter-right> :last-child {
        width: 100%;
    }

    .two-columns.quarter-left> :last-child,
    .two-columns.quarter-right> :first-child {
        width: 100%;
    }

	  
	 /* 1. On passe la grille sur une seule colonne */
	  .block-45562 .three-columns.grid {
		grid-template-columns: 1fr; 
		grid-template-rows: auto;
		gap: 15px;
	  }

	  /* 2. On annule le "span 2" pour que la 1ère actu ne prenne plus 2 étages */
	  .block-45562 .three-columns.grid .item:first-child {
		grid-row: auto;
	  }

	  /* 3. On repasse l'affichage des petites cartes en vertical (Image au dessus du texte) */
	  .block-45562 .content {
		grid-template-columns: 1fr !important; /* Une seule colonne interne */
		grid-template-areas: 
		  "img"
		  "title"
		  "text"
		  "more" !important;
	  }

	  /* 4. On ajuste la hauteur de l'image sur mobile pour qu'elle ne soit pas trop haute */
	  .block-45562 .image {
		height: 200px; /* Hauteur fixe pour l'image en mode portrait mobile */
	  }

    .three-columns>* {
        width: 100%;
    }

    .four-columns>* {
        width: 50%;
    }

    .six-columns>* {
        width: 50%;
    }

    .eight-columns>* {
        width: 50%;
    }

    .editable>.align-left {
        float: none;
        text-align: center;
        margin: 0 auto !important;
    }

    .one-column>*,
    .two-columns>*,
    .three-columns>*,
    .four-columns>*,
    .six-columns>*,
    .eight-columns>* {
        text-align: center;
    }

    /*** events ***/

    item-gallery .grid .item {
        width: 48%;
    }

    /*** carousel **/

    .carousel .content {
        width: 50%;
    }

    .carousel .title {
        font-size: 25px;
        line-height: 30px;
    }

    .carousel .description {
        display: none;
    }
	
	
	
	
	
	
	
}

@media screen and (max-width: 550px) {

    h1.main,
    h1 {
        font-family: 'Poppins', sans-serif;
        font-size: 30px;
        font-weight: 700;
        color: #e30617;
        text-transform: uppercase;
        position: relative;
    }
    

    h2 {
	font-family: 'garamond', sans-serif;
	font-size: 42px;
	font-weight: 600;
	color: #15172e;
	/* text-transform: uppercase; */
	/* position: relative; */
	margin-top: 4% !important;
    }

    header .logo img {
        padding: 2%;
        margin: 0 auto;
    }

    footer .wrapper {
        padding: 6% 2% !important;
    }

    .three-columns>* {
        width: 100%;
    }

    .four-columns>* {
        width: 100%;
    }

    .six-columns>* {
        width: 100%;
    }

    .eight-columns>* {
        width: 100%;
    }

    .social {
        width: 23%;
    }

    /*** carousel **/
    .carousel .content {
        width: 100%;
        position: relative;
         background-color: rgba(255, 255, 255, 0.75);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    z-index: 10;
        transform: none;
    }
    .carousel .title {
        font-size: 26px;
        line-height: 22px;
        text-align: center;
        color: #1a2b56; 
    padding: 2%;
    }
}

@media screen and (max-width: 450px) {

    /*** events ***/
    item-gallery .grid .item {
        width: 82%;
        margin: 5% auto !important;
    }

    .social {
        width: 30%;
    }

}

[view="9791"] .date {
	display: none;
}

[form="1940"] .info.column {
	width: 87% !important;
	margin: 0 auto;
}