/*
 Theme Name:   Calmind Child
 Theme URI:    https://reactheme.com/products/wordpress/calmind
 Description:  Calmind Child
 Author:       ReacThemes
 Author URI:   http://reactheme.com
 Template:     calmind
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
 */

 .sidebar-on-mobile-mega-nav .menu-item-has-children > a[href="#"] {
	display: flex;
	width: 100%;
	cursor: pointer;
}

#menuPrincipal #menu-primary-menu, #menuPrincipal #menu-menu-en{
	gap:40px;
	align-items:center;
}
.eel-mega-menu-wrap .menu > .menu-item.current-menu-ancestor > a, .eel-mega-menu-wrap .menu > .menu-item:hover > a, .eel-mega-menu-wrap .menu > .menu-item.current-menu-item > a{
	color:#fff !important; 
}
.avis-deces-template-single-avis-deces .eel-mega-menu-wrap .menu > .menu-item:hover > a, .page-id-5067 .eel-mega-menu-wrap .menu > .menu-item:hover > a, .page-id-4204 .eel-mega-menu-wrap .menu > .menu-item:hover > a{
	color: #B78B4E !important;
}
.eel-up-scroll .eel-mega-menu-wrap .menu > .menu-item.current-menu-ancestor > a, .eel-up-scroll .eel-mega-menu-wrap .menu > .menu-item:hover > a, .eel-up-scroll .eel-mega-menu-wrap .menu > .menu-item.current-menu-item > a{
	color: #B78B4E !important;
}
.eel-nav-menu__layout-horizontal .menu-item:hover > a{
	color: #B78B4E !important;
}
#menuPrincipal #menu-primary-menu .avisDeDeces a{
	padding:11px 10px;
}
#menuMobile .sidebar-on-mobile-mega-nav .mobile-menu.eel-mega-megamenu li.menu-item.current-menu-item > a, #menuMobile .sidebar-on-mobile-mega-nav .mobile-menu.eel-mega-megamenu li a:focus, #menuMobile .sidebar-on-mobile-mega-nav .mobile-menu.eel-mega-megamenu li a:hover{
	color: #B78B4E !important;
}
#menuPrincipal #menu-primary-menu .avisDeDeces.current-menu-parent a.main-menu-link .eel-menu-text, #menuPrincipal #menu-menu-en .avisDeDeces.current-menu-parent a.main-menu-link .eel-menu-text{
	background-color:#033660;
	color:#fff;
}
#menu-1-e5e7ff6{
	gap:45px;
}
#menu-1-e5e7ff6 li a{
	font-family: Figtree;
	font-size: 13px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
	text-transform: uppercase;
}
#menuPrincipal #menu-primary-menu .avisDeDeces .main-menu-link .eel-menu-text, #menuPrincipal #menu-menu-en .avisDeDeces .main-menu-link .eel-menu-text{
	display: flex;
	width: 171px;
	height: 40px;
	padding: 11px 10px;
	justify-content: center;
	align-items: center;
	gap: 10px;
	border-radius: 20px;
	border: 1px solid #033660;
}
#menuPrincipal #menu-primary-menu li .main-menu-link .eel-menu-text span.submenu-parent-icon, #menuPrincipal #menu-menu-en li .main-menu-link .eel-menu-text span.submenu-parent-icon{
	display:none;
}
.easyel-content-container .eel-hero-slide .hero-slide-content {
    align-items: flex-end;
	padding: 60px 0;
}
#servicesAccueil .elementor-widget-eel-icon-box .eel-bf-default.eel-info-default{
	height: 100%;
    min-height: 438px;
    padding: 25px 33px;
	display:flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 10px;
	flex-shrink:0;
}
.elementor-4204 .elementor-element.elementor-element-aa8b457 p:nth-child(1){
	margin-top:0;
}
.elementor-4120 .elementor-element.elementor-element-97caeb8 .boldform-lite-form__submit:hover{
	background-color: #B78B4E;
	border:1px solid #B78B4E;
	color:#fff;
}
.elementor-2743 .elementor-element.elementor-element-dd85ea0 .eel-mega-menu-area .eel-mega-menu-wrap ul.eel-mega-megamenu #nav-menu-item-5182 .sub-menu:not(.eel-mega-menu-content-part){
	width:256px;
}
.hero-slide-content .hero-slide-button{
	margin-top:25px;
}
.elementor-4204 .elementor-element.elementor-element-6acacd3 .hero-slide-background img{
	object-position: center;
}
/* ==========================================================================
   GABARIT : SINGLE AVIS DE DÉCÈS
   ========================================================================== */

	 body:not([class*=elementor-page-]):not(.elementor-archive-template):not(.elementor-single-template).avis-deces-template-single-avis-deces .easyel-content-container {
		max-width: 100%;
		padding: 0;
	}
	body.single-avis-deces .site-content,
body.single-avis-deces .content-area,
body.single-avis-deces .entry-content,
body.avis-deces-template-single-avis-deces .easyel-content-container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
	.fiche-avis-deces {
		font-family: inherit;
		color: #2c2c2c;
		line-height: 1.6;
	}
	
	.fiche-avis-deces .container {
		max-width: 1322px;
		margin: 0 auto;
		padding: 0;
	}
	
	.fiche-avis-deces .container-narrow {
		max-width: 51%;
		margin: 0 auto;
		padding: 0;
	}
	
	.fiche-avis-deces .container-form {
		max-width: 1322px;
		margin: 0 auto;
		padding: 106px 0 74px 0;
	}
	.fiche-avis-deces .breadcrumbs-wrapper a, .fiche-avis-deces .breadcrumbs-wrapper span{
		font-size: 12px;
		text-transform: uppercase;
	}
/* --------------------------------------------------------------------------
   SECTION 1 : HERO & NOTICE BIOGRAPHIQUE (CORRECTIF BOUTONS 257PX)
   -------------------------------------------------------------------------- */
	 .avis-section-hero {
		padding: 200px 0 60px 0;
		background-color: #ffffff;
	}
	
	.avis-back-link {
		margin-bottom: 25px;
	}
	
	.avis-back-link a {
		font-family: "Figtree", sans-serif;
		color: #000000;
		font-size: 16px;
		font-weight: 400;
		line-height: 20px;
		display: flex;
		align-items: center;
		gap: 12px;
		text-decoration: none;
	}
	
	.avis-back-link a:hover {
		color: #B78B4E;
	}
	
	/* Grille principale 2 colonnes */
	.avis-main-layout {
		display: flex;
		align-items: flex-start;
		gap: 62px;
	}
	
	/* COLONNE GAUCHE */
	.avis-left-col {
		width: 427px;
		flex-shrink: 0;
	}
	
	.avis-photo-wrapper {
		width: 100%;
		margin-bottom: 25px;
	}
	
	.avis-photo {
		width: 100%;
		height: auto;
		border-radius: 15px;
		object-fit: cover;
		display: block;
	}
	
	/* Empilement vertical des boutons */
	.avis-actions-vertical {
		display: flex;
		flex-direction: column;
		gap: 12px;
		width: 100%;
	}
	.btn-cta .btn-icon {
		display: none;
		width: 20px;
		height: 20px;
		flex-shrink: 0;
	}
	
	/* Boutons CTA fixes à 257px de large */
	.btn-cta {
		display: flex;
		justify-content: center;
		align-items: center;
		width: 257px;
		max-width: 100%;
		height: 40px;
		padding: 10px 22px 9px 22px !important;
		border-radius: 20px !important;
		font-family: "Figtree", sans-serif !important;
		font-size: 12px !important;
		font-style: normal !important;
		font-weight: 500 !important;
		line-height: normal;
		text-transform: uppercase;
		text-decoration: none;
		text-align: center;
		transition: all 0.2s ease;
		border: none;
		cursor: pointer;
		box-sizing: border-box;
		white-space: nowrap;
	}
	
	/* 1. Écrire un message de sympathie */
	.btn-dark {
		background-color: #033660;
		color: #ffffff !important;
	}
	
	.btn-dark:hover {
		background-color: #022340;
		color: #ffffff !important;
	}
	
	/* 2. Partager sur Facebook */
	.btn-blue {
		background-color: #1877F2;
		color: #ffffff !important;
	}
	
	.btn-blue:hover {
		background-color: #115cc4;
		color: #ffffff !important;
	}
	
	/* 3. Envoyer des fleurs & 4. Faire un don */
	.btn-beige {
		background-color: #B78B4E;
		color: #ffffff !important;
	}
	
	.btn-beige:hover {
		background-color: #9a723c;
		color: #ffffff !important;
	}
	
	/* 5. Imprimer l'avis (Texte Noir) */
	.btn-print-beige {
		background-color: #EADFD0 !important;
		color: #000000 !important;
		border: 1px solid #EADFD0 !important;
	}
	
	.btn-print-beige:hover {
		background-color: #d8cbba !important;
		color: #000000 !important;
	}
	
	/* COLONNE DROITE */
	.avis-right-col {
		flex-grow: 1;
	}
	
	.avis-nom {
		font-family: "Forum", serif !important;
		font-size: 60px !important;
		font-weight: 400 !important;
		line-height: 65px !important;
		margin: 0 0 15px 0;
		color: #033660;
	}
	
	.avis-annees {
		font-family: "Figtree", sans-serif;
		font-size: 32px;
		font-weight: 400;
		line-height: 18px;
		color: #033660;
		margin-bottom: 25px;
	}
	
	/* Style de l'introduction (1er paragraphe) */
	.avis-intro-text p,  .avis-intro-text p span{
		font-family: "Figtree", sans-serif;
		font-size: 16px !important;
		font-weight: 400;
		line-height: 20px;
		color: #000000;
		max-width: 550px;
		width: 100%;
		margin-bottom: 0;
		margin-top:30px;
	}
	
	/* Style du reste du corps de l'avis */
	.avis-body-content,  .avis-body-content span{
		font-family: "Figtree", sans-serif;
		font-size: 16px !important;
		font-weight: 400;
		line-height: 20px;
		color: #000000;
		width: 100%;
		max-width:85%;
		margin: 0;
	}
	
	.avis-body-content p {
		margin-bottom: 20px;
	}
	.avis-body-content p a{
		color:#000;
		text-decoration: underline;
	}
	.avis-body-content p a:hover{
		color:#B78B4E;
	}
	.avis-body-content p:last-child {
		margin-bottom: 0;
	}
	
	/* --------------------------------------------------------------------------
		 SECTION 2 : MOTS DE REMERCIEMENT
		 -------------------------------------------------------------------------- */
	.avis-section-remerciements {
		background-color: #EADFD0;
		padding: 60px 0 80px 0;
	}
	.avis-section-remerciements .container{
		align-items: center;
		display: flex;
		flex-flow: column;
	}
	
	.avis-section-remerciements .section-title {
		margin-bottom: 30px;
		color:  #033660;
		text-align: center;
		font-family: "Forum", serif;
		font-size: 45px;
		font-style: normal;
		font-weight: 400;
		line-height: normal;
		max-width:414px;
	}
	
	.text-center {
		text-align: center;
	}
	
	.remerciements-text {
		color: #000;
		font-size: 22px !important;
		font-style: normal;
		font-weight: 400;
		line-height: 26px;
		font-family: "Figtree", sans-serif;
	}
	.remerciements-text p{
		margin:0;
	}
	.remerciements-text span{
		font-size: 22px !important;
		font-style: normal;
		font-weight: 400;
		line-height: 26px;
		font-family: "Figtree", sans-serif;
	}
	
	/* --------------------------------------------------------------------------
		 SECTION 3 : MESSAGES DE SYMPATHIE EXISTANTS
		 -------------------------------------------------------------------------- */
	.avis-section-sympathies-list {
		padding: 108px 0;
		background-color: #ffffff;
	}
	
	.avis-section-sympathies-list .container-narrow h2 {
		font-size: 45px;
		font-weight: 400;
		color: #033660;
		text-align: center;
		margin: 0;
		font-family: "Forum", serif;
	}
	
	.sympathies-list {
		list-style: none;
		padding: 0;
		margin: 40px 0 0 0;
		width: 100%;
	}
	
	/* Chaque commentaire avec la ligne de séparation (hr) */
	.sympathie-item {
		padding: 25px 0;
		border-bottom: 1px solid #000000; /* La ligne de séparation de 1px */
	}
	
	/* Retrait de la ligne sous le DERNIER commentaire */
	.sympathie-item:last-child {
		border-bottom: none;
	}
	
	/* Style du texte du message */
	.sympathie-texte {
		font-family: "Figtree", sans-serif;
		font-size: 16px;
		font-style: normal;
		font-weight: 400;
		line-height: 20px; /* 125% */
		color: #000000;
		margin-bottom: 15px;
	}
	
	/* Conteneur de l'auteur et de la ville */
	.sympathie-auteur {
		display: flex;
		flex-direction: column;
	}
	
	/* Style du Nom, Prénom */
	.sympathie-auteur strong {
		font-family: "Figtree", sans-serif;
		font-size: 16px;
		font-style: normal;
		font-weight: 700;
		line-height: 20px; /* 125% */
		color: #000000;
		margin: 0;
	}
	
	/* Style de la Ville */
	.sympathie-ville {
		font-family: "Figtree", sans-serif;
		font-size: 16px;
		font-style: normal;
		font-weight: 700;
		line-height: 20px; /* 125% */
		color: #000000;
		margin: 0;
	}
	
	.aucun-message {
		font-family: "Figtree", sans-serif;
		font-size: 18px;
		color: #555;
		margin-top: 30px;
		font-style: italic;
	}
	
	/* --------------------------------------------------------------------------
		 SECTION 4 : FORMULAIRE DE SYMPATHIE
		 -------------------------------------------------------------------------- */
	.avis-section-formulaire {
		background-color: rgba(234, 223, 208, 0.3);
		padding: 60px 0;
	}
	
	.form-grid {
		display: flex;
		gap: 92px;
		align-items: flex-start;
	}
	
	.form-title-col {
		width: 34.8%;
	}
	.form-fields-col{
		width:548px;
	}
	
	.form-title-col h2 {
		font-size: 60px;
		font-weight: 400;
		line-height: 65px;
		color: #033660;
		margin: 0;
		font-family: "Forum", serif;
	}
	.form-fields-col .comment-respond #submit{
		padding: 14px 20px 13px 20px !important;
		justify-content: space-between;
		display:flex !important;
		align-items: center;
		font-size: 15px !important;
		font-style: normal;
		font-weight: 400;
		line-height: normal;
		text-transform: uppercase;
		color:#fff !important;
		font-family: "Figtree", sans-serif;
		border-radius: 20px !important;
		margin-top: 50px !important;
	}
	
	.form-fields-col input[type="text"]:focus,
	.form-fields-col textarea:focus,
	.form-fields-col select:focus {
		border-bottom-color: #1a2b4c;
	}
	
	.form-fields-col p {
		margin-bottom: 20px;
	}
	
	.form-fields-col label {
		display: block;
	}
	/* Forcer l'affichage des labels du formulaire de sympathie */
.form-fields-col label.custom-form-label {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	font-family: "Forum", serif !important;
	font-size: 20px !important;
	margin-bottom: 0 !important;
	font-weight: 400 !important;
	color:  #000 !important;
	line-height: 30px !important; /* 150% */
}

/* Ajustement des champs sous le label */
.form-fields-col input[type="text"],
.form-fields-col textarea,
.form-fields-col select {
	width: 100%;
	padding: 10px 0;
	background: transparent;
	border: none;
	border-bottom: 1px solid #000000;
	border-radius: 0;
	font-size: 18px;
	font-family: "Figtree", sans-serif;
	color: #000000;
	outline: none;
}
	
	/* Retrait des éléments parasites WordPress native */
	.comment-respond .logged-in-as,
	.comment-respond .must-log-in,
	.comment-respond .comment-reply-title {
		display: none !important;
	}
	#menuMobile{
		display:none;
	}
/* --------------------------------------------------------------------------
   RESPONSIVE (MOBILE & TABLETTE)
   -------------------------------------------------------------------------- */
	 @media (max-width: 1512px){
			.eel-mega-menu-area .eel-mega-menu-wrap ul.eel-mega-megamenu #nav-menu-item-56 .sub-menu, .eel-mega-menu-area .eel-mega-menu-wrap ul.eel-mega-megamenu #nav-menu-item-5182 .sub-menu{
				right:0 !important;
			}
	 }
	 @media (max-width: 1440px){
		.elementor-element .eel-faq-answer{
			padding: 0px 30px 10px 0px !important;  
		}
	 }
	 @media (max-width: 1280px){
		.fiche-avis-deces .container {
			max-width: 95%;
		}
		.avis-section-remerciements .section-title{
			max-width:100%;
		}
		.form-title-col {
			width: 40%;
		}
		.form-fields-col {
			width: 50%;
		}
		.form-grid {
			display: flex;
			gap: 50px;
			align-items: flex-start;
		}
		.fiche-avis-deces .container-form{
			padding:80px 0;
		}
	 }
	 @media (max-width: 1024px) {
    /* 1. Basculer entre les deux widgets d'en-tête */
    #menuPrincipal,
    .elementor-element-dd85ea0 {
        display: none !important;
    }

    #menuMobile,
    .elementor-element-5a9efee {
        display: block !important;
    }

    /* 2. Écraser le style inline d'Easy Elements qui forçait la liste horizontale */
    .elementor-element-5a9efee .eel-mega-menu-wrap > ul,
    .elementor-element-dd85ea0 .eel-mega-menu-wrap > ul {
        display: none !important;
    }

    /* 3. Forcer l'affichage de l'icône burger */
    .elementor-element-5a9efee .eel-mega-menu-icon-mobile,
    .elementor-element-dd85ea0 .eel-mega-menu-icon-mobile {
        display: block !important;
    }

    /* 4. Largeur du sous-menu mobile */
    .eel-mega-menu-content-part.sub-menu {
        width: 100% !important;
    }
		.elementor-4100 .elementor-element.elementor-element-272436c{
			margin-top:120px;
		}
		.elementor-4100 .elementor-element.elementor-element-1f84857a .e-e-heading, .elementor-4100 .elementor-element.elementor-element-1b43e2fd .eel-page-title-wrapper{
			text-align: left;
		}
		.elementor-4100 .elementor-element.elementor-element-1b43e2fd .eel-page-title{
			font-size: 70px;
		}
		.elementor-4100 .elementor-element.elementor-element-34c0ccaf img, .elementor-4100 .elementor-element.elementor-element-c3b810f img, .elementor-4100 .elementor-element.elementor-element-7a93e04 img{
			width:60%;
		}
		.elementor-4100 .elementor-element.elementor-element-c3b810f img{
			margin-top:40px;
		}
		.elementor-4100 .elementor-element.elementor-element-1a40dca6, .elementor-4100 .elementor-element.elementor-element-85421e8{
			flex-flow:column-reverse;
		}
		.page-id-5109 .elementor-4100 .elementor-element.elementor-element-1b43e2fd .eel-page-title{
			max-width: 70%;
    	line-height: 75px;
		}
		.elementor-4204 .elementor-element.elementor-element-6acacd3 .hero-slide-description{
			max-width:70%;
			font-size: 16px;
    	line-height: 20px;
		}
		.elementor-4204 .elementor-element.elementor-element-6acacd3 .hero-slide-title{
			font-size: 70px;
    	line-height: 75px;
		}
		.elementor-4204 .elementor-element.elementor-element-9ec37eb .eel-animated-title .e-e-title br{
			display: none;
		}
		.form-grid {
			flex-wrap:wrap;
			gap:20px;
		}
		.form-title-col {
			width: 100%;
		}
		.form-fields-col {
			width: 100%;
		}
		.avis-section-formulaire {
			padding: 0;
		}
		.avis-left-col {
			width: 35%;
		}
		.avis-main-layout{
			gap:30px;
		}
}
	 @media (max-width: 992px) {
		/* SECTION 1 : Passage de la grille principale en 1 seule colonne */
		.avis-main-layout {
			flex-direction: column;
			gap: 35px;
		}
	
		.avis-left-col,
		.avis-right-col {
			width: 100%;
		}
	
		.avis-photo-wrapper {
			max-width: 320px;
			margin: 0 auto 25px auto;
		}
	
		.avis-nom {
			font-size: 42px;
			line-height: 48px;
		}
	
		.avis-annees {
			font-size: 24px;
			margin-bottom: 20px;
		}
	
		/* SECTION 2 & 3 : Réajustement des conteneurs étroits */
		.fiche-avis-deces .container-narrow {
			max-width: 100%;
			padding: 0 20px;
		}
	
		/* SECTION 4 : Passage du formulaire en 1 seule colonne */
		.form-grid {
			flex-direction: column;
			gap: 30px;
		}
	
		.form-title-col {
			width: 100%;
		}
	
		.form-title-col h2 {
			font-size: 42px;
			line-height: 48px;
		}
	
		.fiche-avis-deces .container-form {
			padding: 60px 20px;
		}
	}
	@media (max-width: 834px) {
		.elementor-82 .elementor-element.elementor-element-1141ac7.elementor-element svg{
			width:200px;
			height:200px;
		}
		.elementor-4204 .elementor-element.elementor-element-6acacd3 .hero-slide-title{
			line-height:70px;
		}
		.elementor-4204 .elementor-element.elementor-element-6acacd3 .hero-slide-description{
			max-width:90%;
		}
		.elementor-4196 .elementor-element.elementor-element-778f5f7, .elementor-5252 .elementor-element.elementor-element-778f5f7, .elementor-4992 .elementor-element.elementor-element-778f5f7{
			width:35% !important;
		}
		.elementor-4120 .elementor-element.elementor-element-4765a19{
			min-height:40vh;
			
		}
		.elementor-4120 .elementor-element.elementor-element-4765a19:not(.elementor-motion-effects-element-type-background){
			background-position: 0%;
		}
		.avis-left-col{
			display: flex;
			gap: 20px;
			align-items: flex-end;
		}
		.avis-photo-wrapper {
			max-width: 50%;
			width: 50%;
			margin: 0;
			margin-bottom: 0;
		}
		.avis-actions-vertical {
			width: 50%;
		}
		.elementor-4100 .elementor-element.elementor-element-34c0ccaf img, .elementor-4100 .elementor-element.elementor-element-c3b810f img, .elementor-4100 .elementor-element.elementor-element-7a93e04 img {
			width: 70%;
		}
		.elementor-5109 .elementor-element.elementor-element-701e70fc:not(.elementor-motion-effects-element-type-background), .elementor-5109 .elementor-element.elementor-element-701e70fc > .elementor-motion-effects-container > .elementor-motion-effects-layer, .elementor-4100 .elementor-element.elementor-element-701e70fc:not(.elementor-motion-effects-element-type-background), .elementor-4100 .elementor-element.elementor-element-701e70fc > .elementor-motion-effects-container > .elementor-motion-effects-layer  {
			background-position: 85%;
		}

	}
	@media (max-width: 744px){
		.elementor-4102 .elementor-element.elementor-element-4f19ccba .e-con-inner, .elementor-4102 .elementor-element.elementor-element-476f06f .e-con-inner, .elementor-5184 .elementor-element.elementor-element-4f19ccba .e-con-inner, .elementor-5184 .elementor-element.elementor-element-916159f .e-con-inner, .elementor-4104 .elementor-element.elementor-element-4f19ccba .e-con-inner, .elementor-4104 .elementor-element.elementor-element-916159f .e-con-inner{
			margin-left:0;
		}
		.elementor-4100 .elementor-element.elementor-element-272436c {
			margin-top: 90px;
		}
		.elementor-4100 .elementor-element.elementor-element-1b43e2fd .eel-page-title{
			font-size: 50px;
		}
		.elementor-4100 .elementor-element.elementor-element-272436c{
			margin-left: 2.5%;
			margin-right:2.5%;
		}
		.fiche-avis-deces .container-form {
			padding: 60px 0;
		}
		.fiche-avis-deces .container-narrow{
			padding:0 2.5%;
		}
		.elementor-4118 .elementor-element.grid-lecture.elementor-widget.elementor-widget-eel-icon-box{
			width:95%;
		}
		.elementor-4118 .elementor-element.elementor-element-793b775{
			--e-con-grid-template-columns: repeat(1, 1fr) !important;
		}
		.elementor-4118 .elementor-element.elementor-element-f5777c8{
			width:100%;
		}
		.elementor-4118 .elementor-element .ee--icon-box.right, .elementor-4118 .elementor-element .ee--icon-box.left{
			justify-content: center;
		}
		.elementor-4118 .elementor-element.grid-lecture .ee--icon-box .eel-icon.eel-icon-image img{
			max-width:100%;
			height: auto;
			max-height: unset;
		}
		.elementor-4118 .elementor-element.grid-lecture .ee--icon-box .eel-title-content-wrap{
			width:50%;
		}
	}

	@media (max-width: 500px) {
		.elementor-4120 .elementor-element.elementor-element-4765a19 {
			min-height: 50vh;
	}
		.elementor-4118 .elementor-element.grid-lecture.elementor-widget.elementor-widget-eel-icon-box {
			width: 100%;
	}
		.elementor-5184 .elementor-element .ee--icon-box .icon-box-title, .elementor-4104 .elementor-element .ee--icon-box .icon-box-title{
			line-height:30px;
		}
		.elementor-5156 .elementor-element .ee--icon-box.right, .elementor-5156 .elementor-element .ee--icon-box.left, .elementor-4102 .elementor-element .ee--icon-box.right, .elementor-4102 .elementor-element .ee--icon-box.left{
			justify-content: center;
			height:auto;
			min-height: 220px;
		}
		.elementor-4102 .elementor-element .ee--icon-box .eel-title-content-wrap {
			width: 100%;
		}
		.elementor-5156 .elementor-element.elementor-element-793b775, .elementor-5156 .elementor-element.elementor-element-1ed328d, .elementor-4102 .elementor-element.elementor-element-793b775, .elementor-4102 .elementor-element.elementor-element-1ed328d{
			--e-con-grid-template-columns: repeat(1, 1fr) !important;
		}
		.elementor-5156 .elementor-element.elementor-element-701e70fc:not(.elementor-motion-effects-element-type-background), .elementor-5156 .elementor-element.elementor-element-701e70fc > .elementor-motion-effects-container > .elementor-motion-effects-layer, .elementor-4102 .elementor-element.elementor-element-701e70fc:not(.elementor-motion-effects-element-type-background), .elementor-4102 .elementor-element.elementor-element-701e70fc > .elementor-motion-effects-container > .elementor-motion-effects-layer{
			background-position: bottom center;
		}
		.elementor-5220 .elementor-element.elementor-element-64781396 .eel-animated-title .e-e-title br{
			display: none;
		}
		
		
		
		.elementor-4106 .elementor-element.elementor-element-8f53c7c{
			margin-left:auto;
			margin-right: auto;
		}
		.eel-faq-question{
			gap:15px;
		}
		.elementor-4100 .elementor-element.elementor-element-76a14d1 .eel-button, .elementor-4100 .elementor-element.elementor-element-2836397 .eel-button{
			padding: 13px 15px 14px 20px;
			font-size: 15px;
			line-height: 19px;
		}
		.elementor-4100 .elementor-element.elementor-element-34c0ccaf img, .elementor-4100 .elementor-element.elementor-element-c3b810f img, .elementor-4100 .elementor-element.elementor-element-7a93e04 img{
			width:100%;
		}
		.page-id-5109 .elementor-4100 .elementor-element.elementor-element-1b43e2fd .eel-page-title{
			width:100%;
		}
		.elementor-4100 .elementor-element.elementor-element-272436c{
						margin-top: 260px;
		}
		.comment-respond .form-submit #submit{
			width:100% !important;
		}
		.form-title-col h2, .avis-section-remerciements .section-title {
			font-size: 36px;
			line-height: 36px;
		}
		.sympathies-list {
			margin: 20px 0 0 0;
		}
		.avis-section-sympathies-list .container-narrow h2{
			font-size:36px;
			line-height: 36px;
		}
		.avis-nom {
			font-size: 50px !important;
			line-height: 50px !important;
		}
		.avis-actions-vertical {
			width: 100%;
		}
		.avis-actions-vertical {
			display: flex !important;
			flex-direction: row !important;
			justify-content: center !important;
			align-items: center !important;
			gap: 12px !important;
			width: 100% !important;
			margin-top: 15px !important;
		}
		.btn-cta {
			width: 48px !important;
			height: 48px !important;
			min-width: 48px !important;
			border-radius: 50% !important;
			padding: 0 !important;
			display: inline-flex !important;
			align-items: center !important;
			justify-content: center !important;
		}
		.btn-cta .btn-text {
			display: none !important;
		}
		.btn-cta .btn-icon {
			display: block !important;
			width: 20px;
			height: 20px;
		}
		.avis-photo-wrapper {
			max-width: 100%;
			width: 100%;
		}
		.avis-left-col{
			flex-wrap:wrap;
		}
		.elementor-4204 .elementor-element.elementor-widget-eel-icon-box .ee--icon-box{
			text-align: left;
		}
		.elementor-4204 .elementor-element.elementor-element-1993a94 .e-e-heading .e-e-title{
			padding:0;
		}
		.elementor-4204 .elementor-element.elementor-element-1b32b76{
			width:95%;
		}
		#notes p {
			margin-top: 25px;
		}
		.elementor-4204 .elementor-element.elementor-element-2ebee82, .elementor-4204 .elementor-element.elementor-element-2c401ef, .elementor-4204 .elementor-element.elementor-element-ae97941, .elementor-4204 .elementor-element.elementor-element-82e2158{
			width:100%;
		}
		.elementor-4204 .elementor-element.elementor-element-1993a94 .e-e-heading .e-e-title, .elementor-5067 .elementor-element.elementor-element-f1040bf .e-e-heading .e-e-title{
			font-size: 36px;
			line-height: 36px;
		}
		.elementor-4204 .elementor-element.elementor-widget-eel-icon-box{
			width:100%;
		}
		.elementor-4204 .elementor-element.elementor-element-1e78a04:not(.elementor-motion-effects-element-type-background) .e-con-inner .elementor-element, .elementor-4204 .elementor-element.elementor-element-1e78a04 > .elementor-motion-effects-container > .elementor-motion-effects-layer .e-con-inner .elementor-element{
			padding-left:2.5%;
			padding-right:2.5%;
			padding-top:10px;
			padding-right:10px;
		}
		.easyel-content-container .eel-hero-slide .hero-slide-content{
			padding:60px 0 30px 0;
		}
		.elementor-4204 .elementor-element.elementor-element-6acacd3 .hero-slide-description {
        max-width: 100%;
    }
		.elementor-4204 .elementor-element.elementor-element-6acacd3 .hero-slide-background img {
			object-position: 75% 75%;
	}
		.hero-slide-button.eel-add-two-btn{
			flex-wrap:wrap;
		}
		.elementor-4204 .elementor-element.elementor-element-6acacd3 .hero-slide-title, .page-id-5109 .elementor-4100 .elementor-element.elementor-element-1b43e2fd .eel-page-title{
			font-size:55px;
			line-height: 55px;
			text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
		}	 
		.elementor-4196 .elementor-element.elementor-element-778f5f7, .elementor-5252 .elementor-element.elementor-element-778f5f7, .elementor-4992 .elementor-element.elementor-element-778f5f7{
			width:100% !important;
		}
		.avis-section-hero {
			padding: 140px 15px 40px 15px;
		}
	
		.avis-nom {
			font-size: 34px;
			line-height: 40px;
		}
	
		.btn-cta {
			font-size: 11px;
			padding: 10px 15px;
		}
		.elementor-2743 .elementor-element.elementor-element-7e63921, .elementor-15363 .elementor-element.elementor-element-7e63921{
			width:55% !important;
		}
		.elementor-4118 .elementor-element.elementor-element-5d57dc77 {
			width: 90%;
			margin-left: 5%;
			margin-right: 5%;
		}
	}
	@media (max-width: 412px) {
		#blocMenuMobile{
			width:30%;
			padding-left:0;
			padding-right:0;
		}
		.elementor-4120 .elementor-element.elementor-element-4765a19 {
			min-height: 47vh;
		}
}
@media (max-width: 375px){
	.elementor-4120 .elementor-element.elementor-element-4765a19 {
		min-height: 50vh;
}
	.elementor-5067 .elementor-element.elementor-element-6acacd3 .eel-hero-slide {
		height: 90vh;
	}
	.elementor-4204 .elementor-element.elementor-element-6acacd3 .eel-hero-slide {
		height: 90vh;
	}
	.avis-intro-text p, .avis-intro-text p span, .remerciements-text span {
    font-size: 18px !important;
    line-height: 22px;
	}
	.elementor-4100 .elementor-element.elementor-element-76a14d1 .eel-button, .elementor-4100 .elementor-element.elementor-element-2836397 .eel-button {
		font-size: 13.5px;
		line-height: 18px;
	}
}



	/* ==========================================================================
   STYLES D'IMPRESSION (window.print)
   ========================================================================== */
@media print {
  /* 1. Masquer les éléments de navigation et de structure inutiles sur papier */
  #wpadminbar,
  header.easy-site-header,
  footer#colophon,
  .avis-back-link,
  .avis-cta-group,
  .avis-print-wrapper,
  .avis-section-remerciements,
  .avis-section-sympathies-list,
  .avis-section-formulaire,
  #global-video-popup {
    display: none !important;
  }

  /* 2. Réinitialiser le fond et les marges de la page */
  body, html {
    background: #ffffff !important;
    color: #000000 !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 12pt !important;
  }

  .avis-section-hero {
    padding: 0 !important;
    background: transparent !important;
  }

  .fiche-avis-deces .container {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* 3. Re-disposer la photo et les infos pour une feuille A4 */
  .avis-hero-grid {
    display: flex !important;
    flex-direction: row !important;
    gap: 30px !important;
    margin-bottom: 20px !important;
    page-break-inside: avoid;
  }

  .avis-photo-col {
    width: 200px !important; /* Taille réduite pour le papier */
    flex-shrink: 0 !important;
  }

  .avis-photo {
    width: 100% !important;
    height: auto !important;
    border-radius: 8px !important;
  }

  .avis-nom {
    font-size: 28pt !important;
    line-height: 32pt !important;
    color: #033660 !important;
    margin-bottom: 5px !important;
  }

  .avis-annees {
    font-size: 16pt !important;
    color: #033660 !important;
    margin-bottom: 15px !important;
  }

  /* 4. Ajuster le corps du texte */
  .avis-hero-grid .avis-intro-text p,
  .avis-body-content {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 15px 0 !important;
    font-size: 11pt !important;
    line-height: 1.4 !important;
    color: #000000 !important;
  }

  /* Empêcher les coupures de page bizarres au milieu d'un paragraphe */
  p, h1, .avis-hero-grid {
    orphans: 3;
    widows: 3;
  }
}


/* ==========================================================================
   ARCHIVE AVIS DE DÉCÈS (J.B. CÔTÉ & VALCOURT)
   ========================================================================== */

	 .archive-hero {
		padding: 180px 0 40px 0;
		background-color: #ffffff;
	}
	
	.breadcrumbs-wrapper {
		font-family: "Figtree", sans-serif;
		font-size: 14px;
		color: #666;
		margin-bottom: 10px;
	}
	
	.breadcrumbs-wrapper a {
		color: #000;
		text-decoration: none;
	}
	
	.archive-title {
		font-family: "Forum", serif;
		font-size: 60px;
		font-weight: 400;
		color: #033660;
		margin: 0;
	}
	
	.archive-grid-section {
		padding: 40px 0 100px 0;
		background-color: #ffffff;
	}
	
	/* Style de la Carte Beige de la Maquette */
	.card-avis-item {
		background-color: #EADFD0;
		border-radius: 15px;
		overflow: hidden;
		display: flex;
		flex-direction: column;
		height: 100%;
		transition: transform 0.2s ease, box-shadow 0.2s ease;
	}
	
	.card-avis-item:hover {
		transform: translateY(-4px);
		box-shadow: 0 8px 20px rgba(0,0,0,0.08);
	}
	
	.card-photo-col {
		width: 100%;
		height: 280px;
		overflow: hidden;
	}
	
	.card-photo-img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
	
	.card-content-col {
		padding: 22px 20px 25px 20px;
		display: flex;
		flex-direction: column;
		flex-grow: 1;
	}
	
	.card-title-nom {
		font-family: "Forum", serif;
		font-size: 26px;
		font-weight: 400;
		color: #033660;
		margin: 0 0 12px 0;
	}
	
	.card-info-meta {
		display: flex;
		justify-content: space-between;
		font-family: "Figtree", sans-serif;
		font-size: 14px;
		color: #000000;
		margin-bottom: 20px;
	}
	
	.btn-card-voir {
		display: inline-block;
		background-color: #033660;
		color: #ffffff !important;
		padding: 10px 20px;
		border-radius: 20px;
		font-family: "Figtree", sans-serif;
		font-size: 11px;
		font-weight: 500;
		text-transform: uppercase;
		text-decoration: none;
		align-self: flex-start;
		transition: background 0.2s ease;
	}
	
	.btn-card-voir:hover {
		background-color: #022340;
	}

/* ==========================================================================
   1. ALIGNEMENT DU CONTENEUR EN LIGNE (ELEMENTOR)
   ========================================================================== */

	 .elementor-element-2acfb04 .e-con-inner {
		display: flex !important;
		flex-direction: row !important;
		align-items: flex-end !important;
		justify-content: space-between !important;
		gap: 30px !important;
	}
	
	
	/* ==========================================================================
		 2. STYLES UNIFIÉS POUR TOUS LES DROPDOWNS (.wpgb-facet-2 & .wpgb-facet-3)
		 ========================================================================== */
	
	.wpgb-facet-2,
	.wpgb-facet-3 {
		position: relative !important;
		min-width: 190px !important;
		margin: 0 !important;
	}
	
	/* Masquer les titres H4 dorés */
	.wpgb-facet-2 h4.wpgb-facet-title,
	.wpgb-facet-3 h4.wpgb-facet-title {
		display: none !important;
	}
	
	.wpgb-facet-2 fieldset,
	.wpgb-facet-3 fieldset {
		border: none !important;
		padding: 0 !important;
		margin: 0 !important;
		background: transparent !important;
	}
	
	.wpgb-facet-2 .wpgb-dropdown-facet label,
	.wpgb-facet-3 .wpgb-sort-facet label {
		position: relative !important;
		display: flex !important;
		align-items: center !important;
		margin: 0 !important;
		padding: 0 !important;
	}
	
	/* Style de la balise SELECT (Police Barlow, Soulignement noir 2px) */
	.wpgb-facet-2 select.wpgb-select,
	.wpgb-facet-3 select.wpgb-select {
		width: 100% !important;
		font-family: "Barlow", "Figtree", sans-serif !important;
		font-size: 13px !important;
		line-height: 1.2 !important;
		font-weight: 600 !important;
		letter-spacing: 1.5px !important;
		text-transform: uppercase !important;
		color: #000000 !important;
		background: transparent !important;
		border: none !important;
		border-bottom: 2px solid #000000 !important;
		border-radius: 0 !important;
		padding: 0 32px 8px 0 !important;
		outline: none !important;
		box-shadow: none !important;
		cursor: pointer !important;
		appearance: none !important;
		-webkit-appearance: none !important;
		-moz-appearance: none !important;
	}
	
	/* Retirer le séparateur vertical gris */
	.wpgb-facet-2 .wpgb-select-separator,
	.wpgb-facet-3 .wpgb-select-separator {
		display: none !important;
	}
	
	/* Repositionnement du conteneur du chevron */
	.wpgb-facet-2 .wpgb-select-controls,
	.wpgb-facet-3 .wpgb-select-controls {
		position: absolute !important;
		right: 0 !important;
		top: 50% !important;
		transform: translateY(-50%) !important;
		margin-top: -4px !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		pointer-events: none !important;
	}
	
	/* Style uniforme et lisible des chevrons */
	.wpgb-facet-2 svg.wpgb-select-toggle,
	.wpgb-facet-3 svg.wpgb-select-toggle {
		width: 16px !important;
		height: 16px !important;
		fill: none !important;
		stroke: #000000 !important;
		stroke-width: 3px !important;
		stroke-linecap: round !important;
		stroke-linejoin: round !important;
	}
	
	/* Style des choix dans la liste déroulante */
	.wpgb-facet-2 select.wpgb-select option,
	.wpgb-facet-3 select.wpgb-select option {
		font-family: "Barlow", "Figtree", sans-serif !important;
		font-size: 13px !important;
		font-weight: 500 !important;
		text-transform: uppercase !important;
		color: #000000 !important;
		background-color: #ffffff !important;
		padding: 10px !important;
	}
	
	
	/* ==========================================================================
		 3. BARRE DE RECHERCHE PILULE (.wpgb-facet-1)
		 ========================================================================== */
	
	.wpgb-facet-1 .wpgb-search-facet {
		max-width: 290px !important;
		margin-left: auto !important;
	}
	
	.wpgb-facet-1 .wpgb-search-facet label {
		position: relative !important;
		display: flex !important;
		align-items: center !important;
		margin: 0 !important;
	}
	
	.wpgb-facet-1 input.wpgb-input[type="search"] {
		width: 100% !important;
		height: 44px !important;
		padding: 0 45px 0 20px !important;
		font-family: "Barlow", "Figtree", sans-serif !important;
		font-size: 12px !important;
		font-weight: 500 !important;
		letter-spacing: 1.2px !important;
		text-transform: uppercase !important;
		color: #000000 !important;
		background-color: #ffffff !important;
		border: 1.5px solid #8E8E8E !important;
		border-radius: 30px !important;
		outline: none !important;
		box-shadow: none !important;
		transition: border-color 0.2s ease-in-out !important;
	}
	
	.wpgb-facet-1 input.wpgb-input[type="search"]::placeholder {
		color: #8E8E8E !important;
		font-size: 12px !important;
		letter-spacing: 1.2px !important;
	}
	
	.wpgb-facet-1 input.wpgb-input[type="search"]:focus {
		border-color: #033660 !important;
	}
	
	.wpgb-facet-1 .wpgb-input-icon {
		position: absolute !important;
		right: 18px !important;
		left: auto !important;
		top: 50% !important;
		transform: translateY(-50%) !important;
		width: 16px !important;
		height: 16px !important;
		fill: none !important;
		stroke: #666666 !important;
		stroke-width: 2px !important;
		pointer-events: none !important;
	}
	
	.wpgb-facet-1 .wpgb-clear-button {
		right: 42px !important;
	}