/*
Theme Name:   Ashe Galima
Template:     ashe
Theme URI:    https://galimanature.fr
Description:  Thème enfant Ashe pour GalimaNature. Consolide en CSS/template
              propres les correctifs historiquement injectés via wp_footer
              (ex-plugin galima-layout-fixes, ~10 000 lignes).
Version:      1.0.2
Author:       GalimaNature
License:      GPLv2 or later
Text Domain:  ashe-galima
*/

/* ==========================================================================
   1. TOKENS
   ========================================================================== */

:root {
	--galima-green: rgb(28, 90, 29);
	--galima-green-hex: #1c5a1d;
	--galima-green-dark: #155a16;
	--galima-green-alpha-05: rgba(28, 90, 29, 0.05);
	--galima-green-alpha-10: rgba(28, 90, 29, 0.1);
	--galima-green-alpha-20: rgba(28, 90, 29, 0.2);
	--galima-orange: #f5981b;
	--galima-orange-text: #a85900; /* 5:1 sur fond clair — WCAG AA pour le texte */
	--galima-violet: #8a56bb;
	--galima-green-btn: #0f5b20;
	--galima-white: #ffffff;
	--galima-font-headings: "Playfair Display", serif;
	--galima-font-accent: "Rokkitt", serif;
	--galima-radius: 6px;
	--galima-transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	--galima-glass: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   2. FOND — GRADIENT ORANGE ROTATIF (identité visuelle du site)
   ========================================================================== */

body {
	background: linear-gradient(
		135deg,
		#ffffff 0%,
		rgba(255, 255, 255, 0.98) 10%,
		rgba(245, 152, 27, 0.06) 25%,
		rgba(245, 152, 27, 0.10) 40%,
		rgba(245, 152, 27, 0.12) 55%,
		rgba(245, 152, 27, 0.14) 70%,
		rgba(245, 152, 27, 0.10) 85%,
		rgba(245, 152, 27, 0.15) 100%
	) !important;
	background-attachment: fixed !important;
	background-size: 300% 300% !important;
	animation: subtleGradientShift 20s ease infinite !important;
}

@keyframes subtleGradientShift {
	0%   { background-position: 0% 50%; }
	50%  { background-position: 100% 50%; }
	100% { background-position: 0% 50%; }
}

/* Halo rotatif superposé */
body::before {
	content: '';
	position: fixed;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(
		circle at 70% 50%,
		rgba(255, 255, 255, 0.4) 0%,
		rgba(255, 255, 255, 0.25) 25%,
		rgba(245, 152, 27, 0.08) 50%,
		rgba(245, 152, 27, 0.12) 75%,
		rgba(245, 152, 27, 0.18) 100%
	);
	animation: gradientRotate 25s ease infinite;
	z-index: -1;
	pointer-events: none;
}

@keyframes gradientRotate {
	0%   { transform: rotate(0deg) scale(1); }
	33%  { transform: rotate(120deg) scale(1.1); }
	66%  { transform: rotate(240deg) scale(0.9); }
	100% { transform: rotate(360deg) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
	body { animation: none !important; }
	body::before { animation: none; }
}

/* Le contenu passe au-dessus du gradient, surfaces transparentes */
#page-wrap,
.page-content,
.main-content {
	position: relative;
	z-index: 1;
	background: transparent !important;
}

#page-header,
#page-header.boxed-wrapper,
.entry-header,
.header-logo {
	background: transparent !important;
}

/* ==========================================================================
   3. TYPOGRAPHIE — Playfair Display partout, accents Rokkitt
   ========================================================================== */

h1, h2, h3, h4, h5, h6,
.post-title, .page-title, .entry-header h1, .entry-header h2,
.widget-title h2, #reply-title,
.comment-author, .page-404 h2 {
	font-family: var(--galima-font-headings) !important;
	color: var(--galima-green-hex);
}

.site-description {
	font-family: var(--galima-font-headings) !important;
	font-weight: 400 !important;
	font-style: italic !important;
	letter-spacing: 0.5px !important;
	font-size: 19px !important;
	line-height: 1.5 !important;
	color: #fff !important;
	padding: 14px 24px !important;
	display: inline-block !important;
	margin-top: 20px !important;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3) !important;
	background: transparent !important;
}

/* ==========================================================================
   4. LIENS & COULEURS DE MARQUE
   ========================================================================== */

a { color: var(--galima-green-hex); }
a:hover, a:focus { color: var(--galima-green-dark); }

/* Supprimer le fond jaune des <mark> */
mark {
	background: none !important;
	color: inherit !important;
	padding: 0 !important;
}

/* Figcaption : texte blanc (sur images couvertes) */
figcaption,
.wp-block-image figcaption,
.blocks-gallery-caption {
	color: #ffffff !important;
}

/* ==========================================================================
   5. HEADER — barre sup, image d'en-tête, boutons
   ========================================================================== */

/* Barre supérieure : compacte + effet verre sur le gradient */
#top-bar {
	padding: 4px 0 !important;
	min-height: auto !important;
	background: var(--galima-glass) !important;
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
}

#top-bar .top-menu-container,
#top-bar nav {
	margin: 0;
	padding: 0;
}

#top-bar #top-menu > li {
	line-height: 1.2;
	margin: 0;
	padding: 0;
}

#top-bar #top-menu li a {
	color: var(--galima-green) !important;
	padding: 5px 14px !important;
	border-radius: 999px;
	transition: all var(--galima-transition);
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	background: transparent;
	line-height: 1.2;
	letter-spacing: 0.3px;
}

/* Petites icônes d'ancrage devant chaque lien */
#top-bar #top-menu li a::before {
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	font-size: 11px;
	margin-right: 7px;
	opacity: 0.85;
}

#top-bar #top-menu li a[href*="conseillere"]::before {
	content: "\f007"; /* fa-user — Qui suis-je ? */
}

#top-bar #top-menu li a[href*="ou-nous-trouver"]::before {
	content: "\f3c5"; /* fa-location-dot — Où nous trouver ? */
}

#top-bar #top-menu li a:hover,
#top-bar #top-menu li a:focus {
	color: var(--galima-white) !important;
	text-decoration: none !important;
	background: var(--galima-green) !important;
	transform: none !important;
	box-shadow: 0 2px 6px rgba(28, 90, 29, 0.25) !important;
}

#top-bar #top-menu .menu-item-has-children > a {
	padding-right: 35px !important;
	overflow: visible;
}

/* Bouton "Rendez-vous" : texte blanc sur fond vert */
#top-bar #top-menu li a[href*="contact"],
#top-bar #top-menu li.rdv-button > a,
#top-bar #top-menu li a.button {
	color: var(--galima-white) !important;
	background: var(--galima-green) !important;
	border-radius: var(--galima-radius);
}

#top-bar #top-menu li a[href*="contact"]:hover,
#top-bar #top-menu li a[href*="contact"]:focus {
	color: var(--galima-white) !important;
	background: var(--galima-green-dark) !important;
	text-decoration: none !important;
}

/* Icônes sociales : pastilles discrètes vertes, remplies au survol */
#top-bar .top-bar-socials a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	margin-left: 6px;
	border-radius: 50%;
	background: rgba(28, 90, 29, 0.1);
	color: var(--galima-green) !important;
	transition: all var(--galima-transition);
}

#top-bar .top-bar-socials a:hover,
#top-bar .top-bar-socials a:focus {
	background: var(--galima-green);
	color: var(--galima-white) !important;
	transform: translateY(-1px);
	box-shadow: 0 3px 7px rgba(28, 90, 29, 0.3);
}

/* Navigation principale : verre sur gradient */
#main-nav {
	background: var(--galima-glass) !important;
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	margin-top: 15px !important;
}

/* Liens du menu : noirs, orange au survol et sur la page courante (rendu live) */
#main-nav a, #main-nav i, #main-nav #s {
	color: #000;
}
#main-nav a:hover, #main-nav i:hover,
#main-nav li.current-menu-item > a,
#main-nav li.current-menu-ancestor > a,
#main-nav .sub-menu li.current-menu-item > a,
#main-nav .sub-menu li.current-menu-ancestor > a {
	color: #dd9300;
}

/* Image d'en-tête personnalisée dans .entry-header */
.entry-header {
	background-size: cover !important;
	background-position: center top !important;
	background-repeat: no-repeat !important;
	min-height: 300px;
	padding: 20px 0;
	position: relative;
}

.entry-header .cv-outer,
.entry-header .cv-inner,
.entry-header .header-logo {
	position: relative;
	z-index: 1;
}

@media (min-width: 961px) {
	#top-menu .sub-menu { width: 220px !important; }
	#main-menu .sub-menu { width: 240px !important; }
}

@media (max-width: 960px) {
	.entry-header { min-height: 250px; padding: 18px 0; }
}
@media (max-width: 600px) {
	.entry-header { min-height: 200px; padding: 15px 0; }
}
@media (max-width: 375px) {
	.entry-header { min-height: 180px; padding: 12px 0; }
}

/* ==========================================================================
   6. MENU MOBILE — zone chevron cliquable, texte à gauche
   ========================================================================== */

@media (max-width: 960px) {
	#mobile-menu .sub-menu-btn {
		position: absolute;
		top: 0;
		left: auto;
		right: 0;
		width: 60px;
		height: 48px;
		display: block;
		z-index: 6;
		pointer-events: auto;
	}

	#mobile-menu .menu-item-has-children > a {
		position: relative;
		z-index: 5;
		padding-right: 50px !important;
		padding-left: 0 !important;
		font-weight: bold;
		text-align: left !important;
		text-indent: 0;
		white-space: normal;
		word-break: break-word;
		display: block;
	}

	#mobile-menu .sub-menu-btn-icon {
		position: absolute;
		right: 15px;
		top: 50%;
		transform: translateY(-50%);
		z-index: 6;
		pointer-events: none;
	}

	#mobile-menu li > a {
		text-align: left !important;
		justify-content: flex-start;
	}
}

/* ==========================================================================
   7. RECHERCHE — loupe + champ sous le menu (desktop)
   ========================================================================== */

@media (min-width: 961px) {
	.main-nav-search-form input[type="search"],
	.main-nav-search input[type="search"] {
		border: 1px solid var(--galima-green-alpha-20) !important;
		border-radius: 20px !important;
		padding: 8px 16px !important;
		background: rgba(255, 255, 255, 0.85) !important;
		transition: all var(--galima-transition) !important;
	}

	.main-nav-search-form input[type="search"]:focus,
	.main-nav-search input[type="search"]:focus {
		outline: none;
		border-color: var(--galima-green-hex) !important;
		box-shadow: 0 0 0 3px var(--galima-green-alpha-10) !important;
		background: #fff !important;
	}
}

/* ==========================================================================
   8. FOOTER — compact, contact, icônes sociales, barre du bas
   ========================================================================== */

#page-footer {
	margin-top: 0;
	background: transparent !important;
	display: flex;
	flex-direction: column;
}

.footer-widgets {
	background: transparent !important;
	padding: 25px 0 12px 0;
}

.footer-widgets > .ashe-widget { margin-bottom: 18px; }
.footer-widgets .widget-title { margin-bottom: 10px; }

.footer-copyright {
	background: transparent !important;
	padding: 10px 0 8px 0;
	display: flex;
	flex-direction: column;
}

.credit {
	background: transparent !important;
	padding: 10px 15px 6px 15px;
	margin-bottom: 0;
	text-align: center;
}

.credit .footer-logo {
	margin: 6px auto 8px auto;
	max-height: 80px;
	object-fit: contain;
}

.footer-contact {
	margin: 8px 0 10px 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 20px;
	padding: 8px 10px;
}

.footer-phone,
.footer-email {
	display: inline-flex;
	align-items: center;
	font-size: 16px;
	font-weight: 600;
	color: var(--galima-green-hex) !important;
	text-decoration: none;
	font-family: var(--galima-font-accent) !important;
	padding: 6px 12px;
	border-radius: 4px;
	transition: all 0.3s ease;
	background: var(--galima-green-alpha-05) !important;
}

.footer-phone:hover,
.footer-email:hover {
	background: var(--galima-green-alpha-10) !important;
	color: var(--galima-green-dark) !important;
	transform: translateY(-1px);
}

.footer-icon { margin-right: 6px; font-size: 18px; }

.footer-social-icons {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 15px;
	margin: 0;
	padding: 0;
	order: 3;
}

.footer-social-icons a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: transparent !important;
	color: var(--galima-green) !important;
	border: none;
	padding: 5px;
	transition: color 0.3s ease;
}

.footer-social-icons a:hover,
.footer-social-icons a:focus {
	background: transparent !important;
	color: var(--galima-green-dark) !important;
	opacity: 0.8;
}

.footer-social-icons a svg {
	width: 24px;
	height: 24px;
	fill: currentColor;
}

.credit .footer-description {
	margin: 8px 0 6px 0;
	padding: 0 10px;
	font-size: 13px;
	line-height: 1.5;
	font-family: var(--galima-font-accent) !important;
	color: var(--galima-green-hex);
}

.credit .footer-description strong { color: var(--galima-green-hex); font-weight: 600; }

.footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	padding: 8px 15px 6px 15px;
	margin-top: 4px;
	border-top: 1px solid var(--galima-green-alpha-20);
	font-size: 12px;
}

/* Le live contraint copyright-info (~153px) → la ligne ☎/✉ passe sur 2 lignes */
@media (min-width: 961px) {
	.footer-bottom .copyright-info { max-width: 160px; }
}

.copyright-info,
.footer-brand,
.footer-legal-link {
	font-size: 12px;
	line-height: 1.4;
	font-family: var(--galima-font-accent) !important;
	color: var(--galima-green-hex);
	margin: 0;
	padding: 0;
}

.footer-brand { font-weight: 600; }

.footer-links {
	display: flex;
	align-items: center;
	gap: 15px;
	margin: 0;
	padding: 0;
}

.footer-legal-link { text-decoration: none; transition: color 0.2s ease; }
.footer-legal-link:hover { color: var(--galima-green-dark); text-decoration: underline; }

#footer-menu a {
	color: var(--galima-green-hex) !important;
	font-family: var(--galima-font-accent) !important;
}
#footer-menu a:hover { color: var(--galima-green-dark) !important; }
.footer-menu-container { margin-bottom: 8px; }
.footer-menu-container nav { margin-bottom: 6px; }
#footer-menu li { margin-bottom: 2px; }
#footer-menu > li > a { padding: 2px 5px; }

@media (min-width: 961px) {
	.credit .footer-logo { max-height: 80px; }
	.footer-contact { gap: 30px; }
	.footer-phone, .footer-email { font-size: 17px; }
	.footer-bottom { padding: 10px 20px 8px 20px; }
}

@media (max-width: 600px) {
	.footer-copyright { padding: 8px 0 6px 0; }
	.credit { padding: 8px 10px 6px 10px; }
	.credit .footer-logo { margin: 6px auto 8px auto; max-height: 50px; }
	.footer-contact { flex-direction: column; gap: 10px; margin: 6px 0 8px 0; }
	.footer-phone, .footer-email {
		font-size: 15px;
		padding: 8px 10px;
		width: 100%;
		justify-content: center;
	}
	.credit .footer-description { margin-top: 6px; margin-bottom: 4px; font-size: 12px; line-height: 1.4; }
	.footer-bottom { flex-direction: column; text-align: center; gap: 4px; padding: 6px 10px 4px 10px; }
	.copyright-info, .footer-brand { font-size: 11px; }
	.footer-widgets { padding: 20px 0 10px 0; }
}

/* ==========================================================================
   9. COMMENTAIRES — tailles harmonisées, avatars ronds
   ========================================================================== */

#comments .comment-author,
#comments .comment-author a,
#comments .fn,
#comments .fn a {
	font-size: 15px !important;
	font-family: var(--galima-font-headings) !important;
}
#comments .comment-author a,
#comments .fn a {
	color: var(--galima-green-hex);
}

/* Avatars de commentaires : recadrés ronds comme sur le site d'origine */
.comment-avatar img,
.comment-avatar,
.comment .avatar,
.comment img.avatar,
.comments-area .avatar,
.comments-area img.avatar,
#comments .avatar,
#comments img.avatar {
	width: 60px !important;
	height: 60px !important;
	border-radius: 50% !important;
	object-fit: cover !important;
	display: inline-block !important;
}

#comments h2, #comments h3,
#comments #reply-title {
	font-family: var(--galima-font-headings) !important;
	font-size: 20px !important;
	color: var(--galima-green-hex);
}

#comments .comment-metadata,
#comments .comment-metadata a,
#comments .comment-meta,
#comments .comment-meta a,
#comments .edit-link a {
	font-size: 12px !important;
}

#comments .comment-content,
#comments .comment-content p {
	font-size: 18px !important;
	line-height: 1.8;
}

/* Lisibilité : corps de texte et largeur augmentés */
.post-content p, .page-content p,
.post-content li, .page-content li,
.post-content .wp-block-paragraph, .page-content .wp-block-paragraph {
	font-size: 17px;
	line-height: 1.75;
}
.boxed-wrapper {
	max-width: 1400px !important;
}

#comments .reply a,
#comments .comment-reply-link {
	font-size: 12px !important;
}

/* Avatars ronds UNIQUEMENT dans les commentaires */
#comments .avatar,
.comment-list .avatar {
	border-radius: 50% !important;
}

/* ==========================================================================
   10. AVATARS — corrections globales
   ========================================================================== */

.avatar { position: static !important; }
#wpadminbar .avatar { max-width: 26px; max-height: 26px; }

/* ==========================================================================
   11. BOUTON SCROLLTOP
   ========================================================================== */

.scrolltop {
	position: fixed;
	bottom: 20px;
	right: 20px;
	width: 44px;
	height: 44px;
	background: var(--galima-green) !important;
	border-radius: 50%;
	display: flex !important; /* neutralise le display:inline posé par fadeIn/fadeOut d'Ashe */
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 999;
	opacity: 0;
	visibility: hidden;
	transition: all var(--galima-transition);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.scrolltop.visible { opacity: 1; visibility: visible; }

.scrolltop:hover,
.scrolltop:focus {
	background: var(--galima-green-dark) !important;
	transform: translateY(-3px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.scrolltop i { color: #fff !important; font-size: 20px; }

@media (max-width: 600px) {
	.scrolltop { bottom: 15px; right: 15px; width: 40px; height: 40px; }
}

/* ==========================================================================
   12. ACCESSIBILITÉ — focus visible
   ========================================================================== */

.prev-arrow:focus,
.next-arrow:focus,
.mobile-menu-btn:focus,
.main-nav-search:focus,
a[href*="facebook"]:focus,
a[href*="instagram"]:focus,
.footer-social-icons a:focus,
#top-menu a:focus,
#main-menu a:focus {
	outline: 2px solid var(--galima-green-hex) !important;
	outline-offset: 2px !important;
	border-radius: 2px;
}

/* ==========================================================================
   13. BOUTONS DE CONTENU — texte blanc sur fonds colorés (blocs éditeur)
   ========================================================================== */

a.wp-block-button__link[style*="background-color:#8a56bb"],
a.wp-block-button__link[style*="background-color: #8a56bb"],
a.wp-block-button__link[style*="background-color:rgb(138, 86, 187)"],
a.wp-block-button__link[style*="background-color: rgb(138, 86, 187)"],
a.wp-block-button__link[style*="background-color:#0f5b20"],
a.wp-block-button__link[style*="background-color: #0f5b20"],
a.wp-block-button__link[style*="background-color:rgb(15, 91, 32)"],
a.wp-block-button__link[style*="background-color: rgb(15, 91, 32)"] {
	color: var(--galima-white) !important;
}

a.wp-block-button__link[style*="background-color:#8a56bb"]:hover,
a.wp-block-button__link[style*="background-color: #8a56bb"]:hover,
a.wp-block-button__link[style*="background-color:rgb(138, 86, 187)"]:hover,
a.wp-block-button__link[style*="background-color: rgb(138, 86, 187)"]:hover,
a.wp-block-button__link[style*="background-color:#0f5b20"]:hover,
a.wp-block-button__link[style*="background-color: #0f5b20"]:hover,
a.wp-block-button__link[style*="background-color:rgb(15, 91, 32)"]:hover,
a.wp-block-button__link[style*="background-color: rgb(15, 91, 32)"]:hover {
	color: var(--galima-white) !important;
	text-decoration: underline;
}

/* ==========================================================================
   14. RESPONSIVE CONTENU — marges et lisibilité
   ========================================================================== */

@media (max-width: 960px) {
	.page-content,
	.entry-content {
		padding-left: 15px;
		padding-right: 15px;
	}
}

@media (max-width: 600px) {
	h1 { font-size: 26px; }
	h2 { font-size: 22px; }
	.entry-content { font-size: 16px; }
}

/* ==========================================================================
   15. FEATURED SLIDER — lisibilité du texte sur les photos
   (remplace les chaînes de sélecteurs html body html body… de l'ancien plugin)
   ========================================================================== */

#featured-slider .slider-item .image-overlay {
	background: rgba(0, 0, 0, 0.2);
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
}

#featured-slider .slider-item .cv-container {
	background: rgba(0, 0, 0, 0.35);
	backdrop-filter: blur(3px);
	-webkit-backdrop-filter: blur(3px);
}

#featured-slider .slider-info {
	padding: 20px;
	border-radius: 5px;
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
}

#featured-slider .slider-title,
#featured-slider .slider-title a,
#featured-slider .slider-content,
#featured-slider .slider-content p,
#featured-slider .slider-content *,
#featured-slider .slider-date,
#featured-slider .slider-date *,
#featured-slider .slider-categories,
#featured-slider .slider-categories a,
#featured-slider .slider-read-more,
#featured-slider .slider-read-more a {
	color: #ffffff !important;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* Menu mobile — effet verre */
.mobile-menu-container {
	background: rgba(255, 255, 255, 0.95) !important;
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
}

/* Description du site — signature typographique */
.site-description {
	font-family: var(--galima-font-headings);
	font-weight: 400;
	font-style: italic;
	letter-spacing: 0.5px;
}

/* Logo — pastille blanche translucide + tailles identiques au site d'origine */
.header-logo a img,
.logo-img img {
	background-color: rgba(255, 255, 255, 0.61);
	border-radius: 10px;
}
.logo-img {
	max-width: 650px !important;
}
@media (max-width: 960px) {
	.logo-img { max-width: 300px !important; }
}
@media (max-width: 480px) {
	.logo-img { max-width: 480px !important; }
}

/* Bandeau header encadré de marges latérales (50px) comme le site d'origine */
.entry-header {
	margin-left: 50px;
	margin-right: 50px;
}
@media (max-width: 768px) {
	.entry-header {
		margin-left: 0;
		margin-right: 0;
	}
}

/* Barre de recherche nav permanente — reproduit l'affichage du site d'origine
   (l'ancien hack repositionnait le formulaire par JS ; ici il est dans le flux) */
.gn-nav-search {
	max-width: 340px;
	margin: 8px auto 4px;
	padding: 0 10px;
}

.gn-nav-search form {
	position: relative;
	display: flex;
}

.gn-nav-search input[type="search"] {
	width: 100%;
	height: 40px;
	padding: 10px 44px 10px 14px;
	border: 1px solid rgba(28, 90, 29, 0.18);
	border-radius: 10px;
	font-size: 15px;
	box-sizing: border-box;
}

.gn-nav-search input[type="search"]:focus {
	outline: none;
	border-color: #1c5a1d;
	box-shadow: 0 4px 16px rgba(28, 90, 29, 0.15);
}

.gn-nav-search input[type="search"]::placeholder {
	color: rgba(0, 0, 0, 0.35);
}

.gn-nav-search button {
	position: absolute;
	right: 6px;
	top: 50%;
	transform: translateY(-50%);
	width: 32px;
	height: 32px;
	border: none;
	border-radius: 50%;
	background: rgba(28, 90, 29, 0.08);
	color: #1c5a1d;
	font-size: 15px;
	cursor: pointer;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
}

/* La loupe ronde (recherche native Ashe) fait doublon avec la barre de
   recherche permanente : on ne la garde qu'en mobile, où le champ est masqué */
@media (min-width: 961px) {
	#main-nav .main-nav-search {
		display: none !important;
	}
}

/* Icône de recherche dans la nav — pastille verte comme le site d'origine */
#main-nav .main-nav-search > i:first-of-type {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: rgba(28, 90, 29, 0.08);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #1c5a1d;
	font-size: 15px;
	transition: all 0.3s ease;
}
#main-nav .main-nav-search > i:first-of-type:hover {
	background: rgba(28, 90, 29, 0.15);
	color: #144614;
}

.gn-nav-search button:hover {
	background: #1c5a1d;
	color: #fff;
}

/* Mobile : le site d'origine n'affiche que l'icône dans la barre MENU */
@media (max-width: 960px) {
	.gn-nav-search {
		display: none;
	}
}

/* Bouton « Ajouter au calendrier » — absent sur le site d'origine */
.tribe-events-cal-links,
.tribe-events-c-subscribe-dropdown {
	display: none;
}

/* Promo événements — carrousel en fondu croisé injecté via tribeEventsAfterHTML.
   Le cadre épouse le ratio portrait des affiches : l'image le remplit sans bandes.
   La temporisation (durée + délai par image) est émise en inline par le PHP. */
.gn-event-promo {
	position: relative;
	width: min(400px, 100%);
	margin: 2.4em auto 1.6em;
	aspect-ratio: 1024 / 1443;
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid rgba(28, 90, 29, 0.18);
	background: linear-gradient(180deg, #f7faf4, #edf3e6);
	box-shadow: 0 14px 34px rgba(28, 90, 29, 0.16), 0 3px 10px rgba(0, 0, 0, 0.07);
}

.gn-event-promo img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	margin: 0;
	display: block;
}

/* Rangée de points centrée en bas de l'affiche */
.gn-event-promo .gn-dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 10px;
	display: flex;
	justify-content: center;
	gap: 8px;
	z-index: 3;
	pointer-events: none;
}

.gn-event-promo .gn-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.55);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

@media (max-width: 640px) {
	.gn-event-promo {
		width: min(300px, 94%);
		margin: 1.2em auto;
	}
}

/* Le carrousel tourne toujours : fondu d'opacité uniquement (sans mouvement
   spatial). Si l'utilisateur demande une réduction des animations, on
   affiche la première affiche statiquement. */
@media (prefers-reduced-motion: reduce) {
	.gn-event-promo img { animation: none !important; }
	.gn-event-promo img:not(:first-of-type) { opacity: 0 !important; }
	.gn-event-promo .gn-dots { display: none; }
}

/* Le conteneur TEC annule les marges : centrage forcé + espace au-dessus */
.tribe-events-after-html .gn-event-promo {
	margin: 2.4em auto 1.6em !important;
}

/* ===== Blocs médias — port fidèle du rendu live (anciennement injecté par galima-styles) ===== */

/* Galeries imbriquées : grille + légendes overlay */
.wp-block-gallery.is-layout-flex {
	display: grid;
	gap: 12px;
}
.wp-block-gallery.columns-1 { grid-template-columns: repeat(1, 1fr); }
.wp-block-gallery.columns-2 { grid-template-columns: repeat(2, 1fr); }
.wp-block-gallery.columns-3 { grid-template-columns: repeat(3, 1fr); }
.wp-block-gallery.columns-4 { grid-template-columns: repeat(4, 1fr); }

.wp-block-gallery.is-layout-flex > figure.wp-block-image {
	margin: 0;
	position: relative;
	min-height: 260px;
	overflow: hidden;
	width: 100% !important;
}

.wp-block-gallery.is-layout-flex > figure.wp-block-image img {
	display: block;
	width: 100%;
	height: 100%;
	min-width: 100%;
	min-height: 100%;
	max-width: none;
	max-height: none;
	object-fit: cover;
	object-position: center;
	aspect-ratio: 4 / 3;
}

.wp-block-gallery.is-layout-flex > figure.wp-block-image figcaption {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 10;
	margin: 0;
	padding: 12px 15px;
	background: #1c5a1d;
	color: #fff;
	font-size: 14px;
	line-height: 1.3;
	text-align: center;
	height: 75px;
}

/* Media & Text : compléments au style core */
.wp-block-media-text__media {
	margin: 0;
}
.wp-block-media-text__content {
	padding: 0 8%;
	word-break: break-word;
}

/* Cover : hauteur mini + bordure orange des variantes claires */
.wp-block-cover {
	min-height: 250px;
}
.wp-block-cover.is-light,
.wp-block-cover.wp-duotone-333-rgb204204204-2 {
	border-left: 5px solid #dd9300;
	padding-left: 1.5em;
}
.wp-block-cover__inner-container {
	color: #fff;
}

/* Images portant la classe minHeightImg */
.minHeightImg {
	min-height: 250px;
}
.minHeightImg img {
	height: 100%;
	width: 100%;
	object-fit: cover;
}

/* Blocs vidéo : format réduit et centré sur desktop */
@media (min-width: 961px) {
	.wp-block-video {
		max-width: 480px;
		margin-left: auto;
		margin-right: auto;
	}
	.wp-block-video video {
		display: block;
		width: 100%;
		height: auto;
	}
}

/* Listes des anciennes galeries */
.wp-block-gallery ul {
	padding-left: 0;
}

@media (max-width: 960px) {
	.wp-block-gallery {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 15px;
	}
}

/* Compat : les titres avec couleur de fond n'ont pas de padding sur le site d'origine */
.wp-block-heading {
	line-height: 1.2;
}
.wp-block-heading.has-background {
	padding: 0;
}

@media (max-width: 600px) {
	.wp-block-gallery {
		grid-template-columns: 1fr !important;
		gap: 15px;
	}
	.wp-block-gallery.is-layout-flex > figure.wp-block-image figcaption {
		background: rgba(28, 90, 29, .4);
	}
}

/* ==========================================================================
   POLICE GLOBALE — Playfair Display quasi-partout, Rokkitt en accent
   Port de l'ancien hack "uniformisation des polices" (111 sélecteurs
   !important consolidés). Les icônes (FontAwesome, fontello, social-logos)
   passent par des règles ::before avec leur propre font-family — elles ne
   sont pas affectées.
   ========================================================================== */

body,
.entry-content, .page-content, .post-content,
.site-title, .site-title a,
.post-title, .page-title,
.post-meta, .post-date, .post-author, .read-more a,
.widget, .ashe-widget, .widget-title h2,
.wp-block-button__link,
.page-404 h2, .entry-comments, .post-comments,
input, textarea, select, button {
	font-family: var(--galima-font-headings) !important;
}

/* Les liens héritent de la police du contexte (Playfair partout) */
a {
	font-family: inherit;
}

/* Accents Rokkitt — texte des commentaires + pied de page (rendu live) */
.comment-text, .comment-text p, .comment-content .comment-text,
.comment-reply-link, .comment-reply-link a,
#footer-menu a, .footer-brand,
.credit .footer-description {
	font-family: var(--galima-font-accent) !important;
}

/* Le site d'origine garde Playfair sur ces éléments du footer */
.footer-email, .footer-phone,
.copyright-info, .footer-legal-link {
	font-family: var(--galima-font-headings) !important;
}

/* Le nom d'auteur des commentaires reste en Playfair (hiérarchie) */
#comments .comment-author, #comments .fn, .comment-author h2, .comment-author h3 {
	font-family: var(--galima-font-headings) !important;
}

/* ==========================================================================
 * Icônes Font Awesome 6 dans les titres de la colonne droite (sidebar)
 * ========================================================================== */
.ashe-widget .widget-title h2::before,
.tribe-events-widget-events-list__header-title::before {
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	margin-right: 9px;
	color: #dd9300;
}

#custom_html-3 .widget-title h2::before {
	content: "\f133"; /* calendar — Agenda */
}

#custom_html-2 .widget-title h2::before {
	content: "\f3c5"; /* location-dot — Où? */
}

.tribe-events-widget-events-list__header-title::before {
	content: "\f0ca"; /* list-ul — Prochains évènements */
	font-size: 0.9em;
}

/* Icône Facebook devant le lien du bloc */
#block-46 p a::before {
	font-family: "Font Awesome 6 Brands";
	font-weight: 400;
	content: "\f09a";
	margin-right: 8px;
	color: #1c5a1d;
}

/* ==========================================================================
   PANNEAU D'INTRODUCTION — page Ateliers (.galima-intro-panel)
   Encadré doux vert/orange autour du titre d'accroche et des paragraphes
   de présentation (auparavant texte brut centré sans repère visuel).
   ========================================================================== */

.galima-intro-panel {
	background: linear-gradient(180deg, #f5f9f2 0%, #eef4e9 100%);
	border: 1px solid #d8e6cf;
	border-radius: 14px;
	padding: 38px 46px 30px;
	margin: 0 auto 34px;
	max-width: 860px;
	text-align: center;
	box-shadow: 0 4px 18px rgba(28, 90, 29, 0.07);
}

/* Accroche « De la théorie à la pratique » : kicker discret */
.galima-intro-panel > p:first-of-type em {
	display: inline-block;
	font-style: normal;
	font-size: 15px;
	letter-spacing: 2.5px;
	text-transform: uppercase;
	color: var(--galima-green-btn);
	background: rgba(28, 90, 29, 0.08);
	padding: 5px 16px;
	border-radius: 999px;
}

.galima-intro-panel h2 {
	background: transparent !important; /* neutralise has-white-background-color */
	color: var(--galima-green-btn) !important; /* neutralise has-black-color */
	font-size: 26px;
	line-height: 1.4;
	font-weight: 600;
	margin: 18px auto 20px;
	max-width: 30em;
}

/* Filet orange sous le titre — repère de marque */
.galima-intro-panel h2::after {
	content: "";
	display: block;
	width: 72px;
	height: 3px;
	background: var(--galima-orange);
	border-radius: 2px;
	margin: 14px auto 0;
}

.galima-intro-panel p {
	font-size: 18px;
	line-height: 1.75;
	margin: 0 auto 16px;
	max-width: 34em;
}

/* Le <strong> hérité du contenu : graisse normale, on garde l'emphase par la couleur */
.galima-intro-panel p strong {
	font-weight: 400;
	color: #2c2c2c;
}

.galima-intro-panel p:last-child {
	margin-bottom: 0;
}

@media (max-width: 767px) {
	.galima-intro-panel {
		padding: 26px 20px 22px;
		border-radius: 10px;
	}
	.galima-intro-panel h2 { font-size: 21px; }
	.galima-intro-panel p { font-size: 16px; }
}

/* ==========================================================================
   15. BOUTONS — style unifié pilule + ombre + survol
   CTA, boutons de blocs, « Lire la suite », réponses et envois de
   formulaires. Même langage visuel que les boutons de partage.
   ========================================================================== */

/* — Boutons pleins (CTA, blocs, envois de formulaire) — */
.galima-cta a.galima-cta-button,
.wp-block-button__link,
.comments-area #submit,
input[type="submit"],
.tribe-common-c-btn {
	border-radius: 999px;
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
	transition: transform var(--galima-transition), box-shadow var(--galima-transition), filter var(--galima-transition);
}

.galima-cta a.galima-cta-button:hover,
.wp-block-button__link:hover,
.comments-area #submit:hover,
input[type="submit"]:hover,
.tribe-common-c-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 14px rgba(0, 0, 0, 0.24);
	filter: brightness(1.07);
	text-decoration: none;
}

/* Le CTA vert prend la teinte bouton de la marque + padding généreux */
.galima-cta a.galima-cta-button {
	background: var(--galima-green-btn);
	padding: 14px 34px;
	display: inline-block;
}

/* Le submit des formulaires (commentaires, recherche) en vert marque */
.comments-area #submit,
.widget_search #searchsubmit,
.ashe-widget input[type="submit"] {
	background: var(--galima-green-btn);
	color: var(--galima-white) !important;
	border: none;
	padding: 12px 30px;
	font-size: 13px;
	cursor: pointer;
}

/* — « Lire la suite » : contour pilule qui se remplit au survol — */
.read-more a {
	border: 2px solid var(--galima-green-btn) !important;
	border-radius: 999px;
	color: var(--galima-green-btn) !important;
	background: transparent;
	transition: background var(--galima-transition), color var(--galima-transition), transform var(--galima-transition), box-shadow var(--galima-transition);
}

.read-more a:hover,
.read-more a:focus {
	background: var(--galima-green-btn);
	color: var(--galima-white) !important;
	transform: translateY(-2px);
	box-shadow: 0 5px 12px rgba(15, 91, 32, 0.3);
	text-decoration: none !important;
}

/* — « Répondre » des commentaires : petit bouton fantôme avec icône — */
.comment-reply-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 14px;
	border: 1.5px solid var(--galima-green-btn);
	border-radius: 999px;
	color: var(--galima-green-btn) !important;
	font-size: 12px;
	letter-spacing: 1px;
	background: transparent;
	transition: background var(--galima-transition), color var(--galima-transition);
}

.comment-reply-link::before {
	content: "\f3e5"; /* fa-reply */
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	font-size: 11px;
}

.comment-reply-link:hover,
.comment-reply-link:focus {
	background: var(--galima-green-btn);
	color: var(--galima-white) !important;
	text-decoration: none;
}

/* — Bouton fantôme du slider (« LIRE LA SUITE ») : survol rempli — */
.slider-read-more a {
	border-radius: 999px !important;
	transition: background var(--galima-transition), color var(--galima-transition), transform var(--galima-transition) !important;
}

.slider-read-more a:hover,
.slider-read-more a:focus {
	transform: translateY(-2px);
}

/* ==========================================================================
   16. COLONNE DROITE — widgets en cartes
   Chaque section (Agenda, évènements, Où?, renseignements, réseaux)
   devient une carte claire bordée de vert, fond blanc cassé.
   ========================================================================== */

.sidebar-right .ashe-widget,
.sidebar-right .tribe-compatibility-container {
	background: #fdfcf9;
	border: 1px solid rgba(28, 90, 29, 0.13);
	border-radius: 14px;
	padding: 18px 20px;
	margin-bottom: 20px;
	box-shadow: 0 3px 14px rgba(28, 90, 29, 0.07);
}

/* Titres de widgets : ligne d'accent verte + filet orange */
.sidebar-right .widget-title {
	margin: 0 0 14px;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(28, 90, 29, 0.14);
	position: relative;
}

.sidebar-right .widget-title::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -1px;
	transform: translateX(-50%);
	width: 56px;
	height: 2px;
	background: var(--galima-orange);
	border-radius: 2px;
}

.sidebar-right .widget-title h2 {
	color: var(--galima-green-dark);
	font-size: 15px;
	letter-spacing: 1.5px;
	margin: 0;
}

/* Liens de la colonne : vert marque, orange au survol */
.sidebar-right .ashe-widget a,
.sidebar-right .tribe-compatibility-container a {
	color: var(--galima-green-dark);
	transition: color var(--galima-transition);
}

.sidebar-right .ashe-widget a:hover,
.sidebar-right .tribe-compatibility-container a:hover {
	color: var(--galima-orange-text) !important;
	text-decoration: none;
}

/* Le widget carte gère son espacement interne */
.sidebar-right .ashe-widget .textwidget > :last-child,
.sidebar-right .ashe-widget .textwidget > p:last-child {
	margin-bottom: 0;
}

/* Bloc « Renseignements » : sous-carte sauge (remplace le filet orange seul) */
#custom_html-2 .custom-html-widget div[style*="border-left"] {
	background: linear-gradient(180deg, #f5f9f2 0%, #eff5ea 100%);
	border: 1px solid rgba(28, 90, 29, 0.12) !important;
	border-left: 3px solid var(--galima-orange) !important;
	border-radius: 10px;
	padding: 14px 18px !important;
	margin-top: 16px !important;
}

#custom_html-2 .custom-html-widget div[style*="border-left"] p {
	margin: 0 0 6px;
	line-height: 1.5 !important;
}

#custom_html-2 .custom-html-widget div[style*="border-left"] p:last-child {
	margin-bottom: 0;
}

/* Lignes de contact cliquables : icônes + soulignement discret */
#custom_html-2 a[href^="tel:"]::before,
#custom_html-2 a[href^="mailto:"]::before {
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	font-size: 12px;
	margin-right: 8px;
	color: var(--galima-orange-text);
}

#custom_html-2 a[href^="tel:"]::before { content: "\f095"; }   /* fa-phone */
#custom_html-2 a[href^="mailto:"]::before { content: "\f0e0"; } /* fa-envelope */

#custom_html-2 a[href^="tel:"],
#custom_html-2 a[href^="mailto:"] {
	font-weight: 600;
	border-bottom: 1px dotted rgba(28, 90, 29, 0.4);
}

/* Carte Google Maps : coins arrondis + cadre doux */
#custom_html-2 iframe {
	border-radius: 10px;
	border: 1px solid rgba(28, 90, 29, 0.15);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Évènements : chaque ligne est un mini-panneau au survol */
.sidebar-right .tribe-events-widget-events-list__event-row {
	align-items: flex-start;
	gap: 16px;
	border-bottom: 1px dashed rgba(28, 90, 29, 0.14);
	padding: 10px 12px;
	margin: 0 -12px 8px;
	border-radius: 10px;
	transition: background var(--galima-transition);
}

.sidebar-right .tribe-events-widget-events-list__event-row:hover {
	background: rgba(28, 90, 29, 0.05);
}

.sidebar-right .tribe-events-widget-events-list__event-row:last-child {
	border-bottom: none;
	margin-bottom: 0;
}

/* Badge de date : style « feuille de calendrier » — liseré vert en haut,
   mois discret, grand chiffre vert, sur fond blanc */
.sidebar-right .tribe-events-widget-events-list__event-date-tag {
	background: #ffffff;
	border: 1px solid rgba(28, 90, 29, 0.22);
	border-top: 3px solid var(--galima-green-btn);
	border-radius: 9px;
	padding: 8px 10px 9px;
	text-align: center;
	min-width: 52px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.07);
}

.sidebar-right .tribe-events-widget-events-list__event-date-tag-month {
	display: block;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 1.4px;
	text-transform: uppercase;
	color: var(--galima-orange-text);
	line-height: 1;
	margin-bottom: 4px;
}

.sidebar-right .tribe-events-widget-events-list__event-date-tag-daynum {
	display: block;
	font-size: 21px;
	font-weight: 700;
	color: var(--galima-green-dark);
	line-height: 1;
}

/* Horaire : icône horloge + texte discret */
.sidebar-right .tribe-events-widget-events-list__event-datetime-wrapper {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12.5px;
	color: #8a8a8a;
	margin-bottom: 4px;
}

.sidebar-right .tribe-events-widget-events-list__event-datetime-wrapper::before {
	content: "\f017"; /* fa-clock */
	font-family: "Font Awesome 6 Free";
	font-weight: 400;
	font-size: 11px;
	color: var(--galima-orange-text);
}

/* Titre d'évènement : vert marque, orange au survol */
.sidebar-right .tribe-events-widget-events-list__event-title {
	font-size: 14px;
	line-height: 1.4;
	margin: 0;
}

.sidebar-right .tribe-events-widget-events-list__event-title a {
	color: var(--galima-green-dark);
	font-weight: 600;
}

/* ==========================================================================
   17. FORMULAIRE DE COMMENTAIRE — carte + champs stylés
   ========================================================================== */

#respond {
	background: #fdfcf9;
	border: 1px solid rgba(28, 90, 29, 0.13);
	border-radius: 14px;
	padding: 26px 32px 28px;
	box-shadow: 0 3px 14px rgba(28, 90, 29, 0.07);
	margin-top: 34px;
}

#respond #reply-title {
	color: var(--galima-green-dark);
	font-size: 17px;
	letter-spacing: 1.5px;
	margin: 0 0 8px;
	padding-bottom: 12px;
	border-bottom: 1px solid rgba(28, 90, 29, 0.14);
	position: relative;
}

#respond #reply-title::before {
	content: "\f086"; /* fa-comments */
	font-family: "Font Awesome 6 Free";
	font-weight: 400;
	color: var(--galima-orange-text);
	margin-right: 9px;
}

#respond #reply-title::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -1px;
	transform: translateX(-50%);
	width: 56px;
	height: 2px;
	background: var(--galima-orange);
	border-radius: 2px;
}

#respond .comment-notes,
#respond .logged-in-as {
	font-size: 13px;
	color: #777;
	font-style: italic;
}

/* Nom / email côte à côte sur desktop, empilés sur mobile */
.comment-form {
	display: flex;
	flex-wrap: wrap;
	gap: 0 18px;
}

.comment-form > * {
	flex: 0 0 100%;
	max-width: 100%;
}

.comment-form-author,
.comment-form-email {
	flex: 1 1 200px;
	max-width: none;
}

/* Étiquettes */
.comment-form label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.4px;
	color: #4a4a4a;
	margin-bottom: 6px;
}

/* Champs : coins doux, bordure sauge, anneau de focus vert */
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	border: 1px solid #d9e2d0;
	border-radius: 10px;
	background: #ffffff;
	padding: 12px 16px;
	font-size: 15px;
	line-height: 1.5;
	color: #333;
	transition: border-color var(--galima-transition), box-shadow var(--galima-transition);
	box-sizing: border-box;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
	border-color: var(--galima-green);
	box-shadow: 0 0 0 3px rgba(28, 90, 29, 0.12);
	outline: none;
}

.comment-form textarea {
	min-height: 140px;
	resize: vertical;
}

/* Cases à cocher : vert marque */
.comment-form input[type="checkbox"] {
	accent-color: var(--galima-green);
	width: 16px;
	height: 16px;
	margin-right: 4px;
	vertical-align: -2px;
}

.comment-form-cookies-consent {
	font-size: 13px;
	color: #666;
}

.comment-form-cookies-consent label {
	display: inline;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	color: #666;
}

/* Bouton d'envoi centré sous le formulaire */
.comment-form .form-submit {
	text-align: center;
	margin-top: 8px;
}

@media (max-width: 600px) {
	#respond { padding: 20px 18px; }
}

/* ==========================================================================
   18. LISTE DES COMMENTAIRES — cartes par commentaire + hiérarchie
   ========================================================================== */

.comments-title,
.comments-area > h2 {
	color: var(--galima-green-dark);
	font-size: 16px;
	letter-spacing: 1.5px;
	position: relative;
	padding-bottom: 12px;
	border-bottom: 1px solid rgba(28, 90, 29, 0.14);
}

.comments-title::before,
.comments-area > h2::before {
	content: "\f4ad"; /* fa-comments */
	font-family: "Font Awesome 6 Free";
	font-weight: 400;
	color: var(--galima-orange-text);
	margin-right: 9px;
}

.comments-title::after,
.comments-area > h2::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 56px;
	height: 2px;
	background: var(--galima-orange);
	border-radius: 2px;
}

/* Chaque commentaire = carte */
.comment-list > .comment {
	background: #fdfcf9;
	border: 1px solid rgba(28, 90, 29, 0.13);
	border-radius: 14px;
	padding: 20px 24px 18px;
	margin: 0 0 16px;
	box-shadow: 0 3px 12px rgba(28, 90, 29, 0.06);
}

/* Avatar : anneau blanc + ombre */
.comment-avatar img,
.comment .avatar {
	border: 3px solid #ffffff;
	box-shadow: 0 0 0 1px rgba(28, 90, 29, 0.2), 0 2px 8px rgba(0, 0, 0, 0.12);
	box-sizing: border-box;
}

/* Auteur en vert marque */
.comment-author,
.comment-author .fn {
	color: var(--galima-green-dark);
	letter-spacing: 0.4px;
}

/* Date discrète avec icône horloge */
.comment-date {
	font-size: 12px;
	color: #999 !important;
	letter-spacing: 0.3px;
}

.comment-date::before {
	content: "\f017"; /* fa-clock */
	font-family: "Font Awesome 6 Free";
	font-weight: 400;
	margin-right: 5px;
	color: #bbb;
}

/* ==========================================================================
   18b. FORMULAIRE — icônes d'étiquettes, champs plus généreux, accent
   ========================================================================== */

/* Filet d'accent vert→orange en haut de la carte */
#respond {
	border-top: 4px solid transparent;
	border-image: linear-gradient(90deg, var(--galima-green-btn), var(--galima-orange)) 1;
}

/* Icônes devant les étiquettes de champ */
.comment-form-author label::before,
.comment-form-email label::before,
.comment-form-url label::before,
.comment-form-comment label::before {
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	font-size: 12px;
	color: var(--galima-orange-text);
	margin-right: 7px;
}

.comment-form-author label::before  { content: "\f007"; } /* fa-user */
.comment-form-email label::before   { content: "\f0e0"; } /* fa-envelope */
.comment-form-url label::before     { content: "\f0ac"; } /* fa-globe */
.comment-form-comment label::before { content: "\f303"; } /* fa-pencil-alt */

/* Champs : fond cassé, plus hauts, focus net */
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	background: #fbfbf7;
	padding: 14px 18px;
	font-size: 15px;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
	background: #ffffff;
}

.comment-form input::placeholder,
.comment-form textarea::placeholder {
	color: #aaa;
	font-style: italic;
}

/* Consentement cookies en encart discret */
.comment-form-cookies-consent {
	background: rgba(28, 90, 29, 0.05);
	border-radius: 8px;
	padding: 10px 14px;
}

/* Bouton d'envoi plus affirmé */
.comment-form .form-submit .submit {
	padding: 14px 42px;
	font-size: 14px;
	letter-spacing: 2px;
}

/* Lien « Notre page Facebook » fusionné dans le widget réseaux sociaux */
.sidebar-right .wp-block-social-links {
	margin: 0 0 10px;
}

.sidebar-right .gn-fb-page {
	margin: 0;
	font-size: 13.5px;
}

.sidebar-right .gn-fb-page a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border-bottom: 1px dotted rgba(28, 90, 29, 0.4);
	padding-bottom: 1px;
	word-break: break-all;
}

.sidebar-right .gn-fb-page a::before {
	content: "\f09a"; /* fa-facebook */
	font-family: "Font Awesome 6 Brands";
	font-size: 13px;
	color: #1877f2;
}

/* ==========================================================================
   19. MENTIONS LÉGALES — sections en cartes avec icônes
   ========================================================================== */

.gn-legal {
	display: grid;
	gap: 18px;
	margin: 10px 0 30px;
}

.gn-legal-card {
	background: #fdfcf9;
	border: 1px solid rgba(28, 90, 29, 0.13);
	border-radius: 14px;
	padding: 20px 26px;
	box-shadow: 0 3px 12px rgba(28, 90, 29, 0.06);
	transition: box-shadow var(--galima-transition), transform var(--galima-transition);
}

.gn-legal-card:hover {
	box-shadow: 0 6px 18px rgba(28, 90, 29, 0.11);
	transform: translateY(-2px);
}

.gn-legal-card h2 {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--galima-green-dark);
	font-size: 18px;
	letter-spacing: 0.5px;
	margin: 0 0 12px;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(28, 90, 29, 0.12);
}

/* Icône de section dans une pastille sauge */
.gn-legal-card h2::before {
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	font-size: 14px;
	color: var(--galima-green-btn);
	background: rgba(28, 90, 29, 0.1);
	border-radius: 8px;
	width: 34px;
	height: 34px;
	flex: 0 0 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.gn-legal-card:nth-child(1) h2::before { content: "\f1ad"; } /* fa-building — éditeur */
.gn-legal-card:nth-child(2) h2::before { content: "\f0e0"; } /* fa-envelope — contact */
.gn-legal-card:nth-child(3) h2::before { content: "\f4ff"; } /* fa-user-pen — directeur */
.gn-legal-card:nth-child(4) h2::before { content: "\f233"; } /* fa-server — hébergement */
.gn-legal-card:nth-child(5) h2::before { content: "\f1f9"; } /* fa-copyright — propriété */
.gn-legal-card:nth-child(6) h2::before { content: "\f3ed"; } /* fa-shield-halved — RGPD */

.gn-legal-card p {
	margin: 0 0 10px;
	line-height: 1.7;
	font-size: 15.5px;
}

.gn-legal-card p:last-child {
	margin-bottom: 0;
}

.gn-legal-card a {
	color: var(--galima-green-dark);
	font-weight: 600;
	border-bottom: 1px dotted rgba(28, 90, 29, 0.4);
	transition: color var(--galima-transition);
}

.gn-legal-card a:hover {
	color: var(--galima-orange-text);
	border-bottom-color: var(--galima-orange-text);
	text-decoration: none;
}

/* Grille 2 colonnes sur grand écran : les 4 premières cartes (courtes) en 2×2 */
@media (min-width: 900px) {
	.gn-legal {
		grid-template-columns: 1fr 1fr;
	}
	.gn-legal-card:nth-child(n+5) {
		grid-column: 1 / -1;
	}
}

/* ==========================================================================
   20. AGENDA — barre de recherche, onglets de vue, navigation TEC
   ========================================================================== */

/* Barre recherche + onglets : cadre carte */
.tribe-events .tribe-events-c-events-bar {
	background: #fdfcf9;
	border: 1px solid rgba(28, 90, 29, 0.13);
	border-radius: 14px;
	padding: 14px 18px;
	box-shadow: 0 3px 12px rgba(28, 90, 29, 0.06);
}

/* Champ de recherche : pilule claire */
.tribe-events .tribe-events-c-search__input,
.tribe-events .tribe-events-c-search input[type="text"] {
	background: #ffffff !important;
	border: 1px solid rgba(28, 90, 29, 0.18) !important;
	border-radius: 999px !important;
	padding: 11px 18px !important;
	font-family: var(--galima-font-main) !important;
	font-size: 14.5px !important;
	transition: border-color var(--galima-transition), box-shadow var(--galima-transition);
}

.tribe-events .tribe-events-c-search__input:focus,
.tribe-events .tribe-events-c-search input[type="text"]:focus {
	border-color: var(--galima-green) !important;
	box-shadow: 0 0 0 3px rgba(28, 90, 29, 0.12) !important;
	outline: none !important;
}

/* Bouton Chercher : pilule verte en dégradé (remplace le bleu TEC) */
.tribe-events .tribe-events-c-search__button,
.tribe-events .tribe-events-c-search__button.tribe-common-c-btn {
	background: linear-gradient(180deg, #217a2e 0%, var(--galima-green-btn) 45%, #0c4a1a 100%) !important;
	color: #fff !important;
	border-radius: 999px !important;
	padding: 11px 26px !important;
	font-family: var(--galima-font-main) !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	letter-spacing: 0.8px !important;
	text-transform: uppercase !important;
	border: none !important;
	box-shadow: 0 2px 8px rgba(15, 91, 32, 0.25);
	transition: background var(--galima-transition), transform var(--galima-transition), box-shadow var(--galima-transition) !important;
}

.tribe-events .tribe-events-c-search__button:hover {
	background: linear-gradient(180deg, #248a33 0%, #146826 45%, #0f5b20 100%) !important;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(15, 91, 32, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
}

/* Onglets Liste / Mois / Jour : contrôle segmenté */
.tribe-events .tribe-events-c-view-selector--tabs .tribe-events-c-view-selector__content {
	display: flex;
	gap: 6px;
}

.tribe-events .tribe-events-c-view-selector__list-item-link {
	border-radius: 999px !important;
	padding: 9px 18px !important;
	transition: background var(--galima-transition), color var(--galima-transition) !important;
}

.tribe-events .tribe-events-c-view-selector__list-item-link .tribe-events-c-view-selector__list-item-text {
	font-family: var(--galima-font-main) !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	letter-spacing: 0.6px !important;
	text-transform: uppercase !important;
}

/* Onglet actif : pilule verte avec léger dégradé ; inactif : pastille blanche au survol */
.tribe-events .tribe-events-c-view-selector__list-item--active .tribe-events-c-view-selector__list-item-link {
	background: linear-gradient(180deg, #217a2e 0%, var(--galima-green-btn) 45%, #0c4a1a 100%) !important;
	box-shadow: 0 2px 8px rgba(15, 91, 32, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
}

.tribe-events .tribe-events-c-view-selector__list-item--active .tribe-events-c-view-selector__list-item-text,
.tribe-events .tribe-events-c-view-selector__list-item--active .tribe-events-c-view-selector__list-item-icon svg {
	color: #fff !important;
	fill: #fff !important;
}

.tribe-events .tribe-events-c-view-selector__list-item:not(.tribe-events-c-view-selector__list-item--active) .tribe-events-c-view-selector__list-item-link:hover {
	background: #fff !important;
	box-shadow: 0 1px 5px rgba(28, 90, 29, 0.14);
	color: #144614 !important;
}

/* Focus clavier visible */
.tribe-events .tribe-events-c-view-selector__list-item-link:focus-visible {
	outline: 2px solid var(--galima-green-btn);
	outline-offset: 2px;
}

/* Barre du haut : flèches prev/next en pastilles, Aujourd'hui en outline */
.tribe-events .tribe-events-c-top-bar__nav-link {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	transition: background var(--galima-transition) !important;
}

.tribe-events .tribe-events-c-top-bar__nav-link:hover {
	background: rgba(28, 90, 29, 0.1) !important;
}

/* Flèche désactivée (pas d'évènement précédent/suivant) : grisée */
.tribe-events .tribe-events-c-top-bar__nav-link:disabled {
	opacity: .35;
	cursor: default;
}

.tribe-events .tribe-events-c-top-bar__nav-link:disabled:hover {
	background: transparent !important;
}

/* Barre du haut simplifiée : masquer « Aujourd'hui » et le sélecteur de date « À venir » */
.tribe-events .tribe-events-c-top-bar.tribe-events-header__top-bar .tribe-events-c-top-bar__today-button,
.tribe-events .tribe-events-c-top-bar.tribe-events-header__top-bar .tribe-events-c-top-bar__datepicker {
	display: none !important;
}

.tribe-events .tribe-events-c-top-bar__today-button.tribe-common-c-btn-border {
	border: 1.5px solid var(--galima-green-btn) !important;
	border-radius: 999px !important;
	color: var(--galima-green-btn) !important;
	padding: 7px 18px !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	letter-spacing: 0.6px;
	transition: background var(--galima-transition), color var(--galima-transition) !important;
}

.tribe-events .tribe-events-c-top-bar__today-button.tribe-common-c-btn-border:hover {
	background: var(--galima-green-btn) !important;
	color: #fff !important;
}

/* Sélecteur de période "À venir" */
.tribe-events .tribe-events-c-top-bar__datepicker-button {
	font-family: var(--galima-font-main) !important;
	font-weight: 600 !important;
	font-size: 16px !important;
	color: var(--galima-green-dark) !important;
	border-radius: 999px;
	padding: 6px 14px;
	transition: background var(--galima-transition) !important;
}

.tribe-events .tribe-events-c-top-bar__datepicker-button:hover {
	background: rgba(28, 90, 29, 0.08) !important;
}

/* Séparateur de mois "novembre 2026" : texte marque + filet */
.tribe-events .tribe-events-c-top-bar__datepicker-time,
.tribe-events .tribe-events-calendar-list__month-separator,
.tribe-events .tribe-events-calendar-day__time-separator-text {
	font-family: var(--galima-font-main) !important;
	color: var(--galima-green-dark) !important;
	font-weight: 600;
	letter-spacing: 0.5px;
	text-transform: capitalize;
}

/* Navigation bas de page : Aujourd'hui / Précédent / À venir en pilules */
.tribe-events .tribe-events-c-nav__today,
.tribe-events .tribe-events-c-nav__prev,
.tribe-events .tribe-events-c-nav__next {
	font-family: var(--galima-font-main) !important;
	font-weight: 600 !important;
	font-size: 13px !important;
	letter-spacing: 0.5px;
	color: var(--galima-green-dark) !important;
	border-radius: 999px;
	padding: 9px 18px !important;
	transition: background var(--galima-transition), color var(--galima-transition) !important;
}

.tribe-events .tribe-events-c-nav__today {
	border: 1.5px solid var(--galima-green-btn) !important;
	color: var(--galima-green-btn) !important;
}

.tribe-events .tribe-events-c-nav__today:hover {
	background: var(--galima-green-btn) !important;
	color: #fff !important;
}

.tribe-events .tribe-events-c-nav__prev:hover,
.tribe-events .tribe-events-c-nav__next:hover {
	background: rgba(28, 90, 29, 0.08) !important;
}

/* "Recherche et navigation..." : titre d'accessibilité, rester caché */

/* Icônes des onglets : invisibles (les SVG TEC rendent mal), onglets textuels */
.tribe-events .tribe-events-c-view-selector--tabs .tribe-events-c-view-selector__list-item-icon {
	display: none !important;
}

/* TEC ： li （、） */
.tribe-events .tribe-events-c-view-selector__list,
.tribe-events .tribe-events-c-nav__list,
.tribe-events .tribe-events-c-top-bar__nav-list {
	list-style: none !important;
}
.tribe-events .tribe-events-c-view-selector__list-item::marker,
.tribe-events .tribe-events-c-nav__list-item::marker,
.tribe-events .tribe-events-c-top-bar__nav-list-item::marker {
	content: none !important;
}

/* ==========================================================================
   21. AVIS GOOGLE — notes, citations, lien
   ========================================================================== */

/* Titre AVIS ： fa-star */
#custom_html-4 .widget-title h2::before {
	content: "\f005";
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	color: var(--galima-orange-text);
	margin-right: 8px;
	font-size: 0.85em;
}

.gn-avis-score {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	margin-bottom: 12px;
}

.gn-avis-stars {
	color: #f5a623;
	letter-spacing: 2px;
	font-size: 15px;
}

.gn-avis-score strong {
	color: var(--galima-green-dark);
	font-size: 16px;
}

.gn-avis-quote {
	margin: 0 0 12px;
	padding: 10px 14px;
	background: rgba(28, 90, 29, 0.05);
	border-left: 3px solid var(--galima-orange);
	border-radius: 0 10px 10px 0;
	font-size: 13.5px;
	font-style: italic;
	line-height: 1.6;
	color: #3a3a3a;
}

.gn-avis-link {
	display: inline-block;
	font-size: 13px;
	font-weight: 600;
	color: var(--galima-green-dark);
	border-bottom: 1px dotted rgba(28, 90, 29, 0.4);
	transition: color var(--galima-transition);
}

.gn-avis-link:hover {
	color: var(--galima-orange-text);
	border-bottom-color: var(--galima-orange-text);
	text-decoration: none;
}

/* ==========================================================================
   22. AGENDA — refonte complète de la barre d'outils
   ========================================================================== */

/* --- Rangée recherche : input + bouton à hauteur unifiée --- */
.tribe-events .tribe-events-c-search {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
}

.tribe-events .tribe-events-c-search__input-group {
	flex: 1 1 auto;
	min-width: 0;
}

.tribe-events .tribe-events-c-search__input-control {
	width: 100%;
}

.tribe-events .tribe-events-c-search__input,
.tribe-events .tribe-events-c-search input[type="text"] {
	height: 42px !important;
	padding: 0 44px 0 20px !important;
}

/* Icône loupe dans le champ : alignée, teintée sauge */
.tribe-events .tribe-events-c-search__input-control-icon-svg,
.tribe-events .tribe-events-c-search__input-control .tribe-common-c-svgicon {
	top: 50% !important;
	transform: translateY(-50%);
	right: 16px !important;
	color: rgba(28, 90, 29, 0.45) !important;
	fill: rgba(28, 90, 29, 0.45) !important;
}

.tribe-events .tribe-events-c-search__button,
.tribe-events .tribe-events-c-search__button.tribe-common-c-btn {
	height: 42px !important;
	flex: 0 0 auto;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 8px rgba(15, 91, 32, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
}

/* --- Onglets : vrai contrôle segmenté sur piste sauge légèrement enfoncée --- */
.tribe-events .tribe-events-c-view-selector--tabs .tribe-events-c-view-selector__content {
	display: inline-flex !important;
	align-items: center;
	gap: 2px !important;
	background: rgba(28, 90, 29, 0.07) !important;
	border-radius: 999px !important;
	padding: 4px !important;
	position: static !important;
	border: 1px solid rgba(28, 90, 29, 0.1) !important;
	box-shadow: inset 0 1px 4px rgba(28, 90, 29, 0.1) !important;
}

.tribe-events .tribe-events-c-view-selector--tabs .tribe-events-c-view-selector__list {
	display: flex !important;
	align-items: center;
	gap: 2px !important;
	width: 100%;
	justify-content: center;
	margin-bottom: 0;
}

/* Chaque onglet occupe une part égale et centre son libellé */
.tribe-events .tribe-events-c-view-selector--tabs .tribe-events-c-view-selector__list-item {
	flex: 1 1 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 !important;
}

.tribe-events .tribe-events-c-view-selector--tabs .tribe-events-c-view-selector__list-item-link {
	width: 100%;
	justify-content: center;
}

.tribe-events .tribe-events-c-view-selector__list-item-link {
	height: 34px !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	padding: 0 22px !important;
	color: var(--galima-green-dark) !important;
}

/* --- Barre de navigation : rangée discrète intégrée (pas de carte) --- */
.tribe-events .tribe-events-c-top-bar {
	display: flex !important;
	align-items: center;
	background: transparent;
	border: none;
	border-radius: 0;
	padding: 0 6px;
	margin: 6px 0 6px;
	box-shadow: none;
	gap: 6px;
	min-height: 0;
}

.tribe-events .tribe-events-c-top-bar__nav {
	display: flex !important;
	align-items: center;
	gap: 2px;
	margin-right: auto;
}

/* Nav : petites pastilles rondes discrètes */
.tribe-events .tribe-events-c-top-bar__nav-link,
.tribe-events .tribe-events-c-top-bar__datepicker-nav-icon,
.tribe-events .tribe-events-c-top-bar__datepicker-container .tribe-common-c-btn__clear {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	transition: background var(--galima-transition) !important;
}

.tribe-events .tribe-events-c-top-bar__nav-link svg,
.tribe-events .tribe-events-c-top-bar__nav-link-icon-svg {
	width: 8px;
	height: 13px;
}

.tribe-events .tribe-events-c-top-bar__nav-link:hover,
.tribe-events .tribe-events-c-top-bar__datepicker-nav-icon:hover {
	background: rgba(28, 90, 29, 0.1) !important;
}

/* Bouton dropdown du sélecteur de vues (mobile/collapsed) */
.tribe-events .tribe-events-c-view-selector__button {
	display: none !important;
}

/* Conteneur de la barre : items centrés verticalement */
.tribe-events .tribe-events-c-events-bar {
	display: flex;
	align-items: center;
	gap: 14px;
}

.tribe-events .tribe-events-c-events-bar__search-container,
.tribe-events .tribe-events-c-events-bar__search {
	flex: 1 1 auto;
	min-width: 0;
}

.tribe-events .tribe-events-c-events-bar__views {
	flex: 0 0 auto;
}

/* Marqueur de mois : filet pleine largeur sous la barre */
.tribe-events .tribe-events-calendar-list__month-separator {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 18px 0 10px;
	font-size: 13px;
	letter-spacing: 0.8px;
	text-transform: capitalize;
}

.tribe-events .tribe-events-calendar-list__month-separator::after {
	content: "";
	flex: 1 1 auto;
	height: 1px;
	background: linear-gradient(90deg, rgba(28, 90, 29, 0.25), rgba(28, 90, 29, 0));
}

/* Badge date des évènements : mini-calendrier sauge, liseré orange */
.tribe-events .tribe-events-calendar-list__event-date-tag {
	background: #fffdf7 !important;
	border: 1px solid rgba(28, 90, 29, 0.18) !important;
	border-top: 3px solid var(--galima-orange) !important;
	border-radius: 12px !important;
	padding: 8px 8px 10px !important;
	text-align: center !important;
	min-width: 56px !important;
	align-self: flex-start;
	box-shadow: 0 2px 8px rgba(28, 90, 29, 0.08);
}

.tribe-events .tribe-events-calendar-list__event-date-tag *,
.tribe-events .tribe-events-calendar-list__event-date-tag-weekday,
.tribe-events .tribe-events-calendar-list__event-date-tag-daynum {
	color: var(--galima-green-dark) !important;
	background: none !important;
}

.tribe-events .tribe-events-calendar-list__event-date-tag-weekday {
	font-size: 10px !important;
	font-weight: 700 !important;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	display: block;
}

.tribe-events .tribe-events-calendar-list__event-date-tag-daynum {
	font-size: 22px !important;
	font-weight: 700 !important;
	line-height: 1.1 !important;
}

/* --- Évènements : cartes à tous les breakpoints --- */
.tribe-events .tribe-events-calendar-list__event-row,
.tribe-events .tribe-events-calendar-day__event {
	background: #fdfcf9;
	border: 1px solid rgba(28, 90, 29, 0.12);
	border-radius: 16px;
	padding: 20px 26px;
	margin-bottom: 18px;
	box-shadow: 0 3px 14px rgba(28, 90, 29, 0.07);
	transition: box-shadow var(--galima-transition), transform var(--galima-transition), border-color var(--galima-transition);
}
.tribe-events .tribe-events-calendar-list__event-row:hover,
.tribe-events .tribe-events-calendar-day__event:hover {
	border-color: rgba(28, 90, 29, 0.22);
	box-shadow: 0 10px 30px rgba(28, 90, 29, 0.12);
	transform: translateY(-2px);
}

/* Date / heure : petites majuscules discrètes */
.tribe-events .tribe-events-calendar-list__event-datetime,
.tribe-events .tribe-events-calendar-day__event-datetime {
	font-size: 12px !important;
	font-weight: 600;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	color: rgba(28, 90, 29, 0.72) !important;
}

/* Titre : respiration et accent au survol */
.tribe-events .tribe-events-calendar-list__event-title {
	margin: 6px 0 4px;
}
.tribe-events .tribe-events-calendar-list__event-title-link {
	transition: color var(--galima-transition);
}
.tribe-events .tribe-events-calendar-list__event-title-link:hover {
	color: var(--galima-green-btn) !important;
}

/* Lieu : ligne sobre et espacée */
.tribe-events .tribe-events-calendar-list__event-venue {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.4px;
	color: rgba(28, 90, 29, 0.85) !important;
	margin-bottom: 12px;
}

/* Séparateur de mois : capitales espacées */
.tribe-events .tribe-events-calendar-list__month-separator,
.tribe-events .tribe-events-calendar-list__month-separator-text {
	text-transform: uppercase;
	letter-spacing: 1.8px;
	font-size: 12.5px !important;
}

/* Navigation bas de page : pilules bordées en léger dégradé clair */
.tribe-events .tribe-events-c-nav__today,
.tribe-events .tribe-events-c-nav__prev,
.tribe-events .tribe-events-c-nav__next {
	background: linear-gradient(180deg, #ffffff 0%, rgba(28, 90, 29, 0.05) 100%) !important;
}
.tribe-events .tribe-events-c-nav__prev,
.tribe-events .tribe-events-c-nav__next {
	border: 1px solid rgba(28, 90, 29, 0.16) !important;
}
.tribe-events .tribe-events-c-nav__prev:hover,
.tribe-events .tribe-events-c-nav__next:hover {
	background: linear-gradient(180deg, #fdfcf9 0%, rgba(28, 90, 29, 0.1) 100%) !important;
	border-color: rgba(28, 90, 29, 0.3) !important;
}

/* Pilule désactivée (pas d'évènement précédent/suivant) : texte gris */
.tribe-events .tribe-events-c-nav__prev:disabled,
.tribe-events .tribe-events-c-nav__next:disabled {
	color: #a3a3a3 !important;
	border-color: rgba(0, 0, 0, 0.12) !important;
	cursor: default;
}
.tribe-events .tribe-events-c-nav__prev:disabled svg,
.tribe-events .tribe-events-c-nav__next:disabled svg {
	fill: #a3a3a3 !important;
}
.tribe-events .tribe-events-c-nav__prev:disabled,
.tribe-events .tribe-events-c-nav__next:disabled,
.tribe-events .tribe-events-c-nav__prev:disabled:hover,
.tribe-events .tribe-events-c-nav__next:disabled:hover {
	background: rgba(0, 0, 0, 0.02) !important;
	border-color: rgba(0, 0, 0, 0.12) !important;
}

/* Vue mois : retour visuel discret sur les jours et les évènements */
.tribe-events .tribe-events-calendar-month__day {
	transition: background var(--galima-transition);
}
.tribe-events .tribe-events-calendar-month__day:hover {
	background: rgba(28, 90, 29, 0.04);
}
.tribe-events .tribe-events-calendar-month__calendar-event {
	transition: opacity var(--galima-transition), transform var(--galima-transition);
}
.tribe-events .tribe-events-calendar-month__calendar-event:hover {
	opacity: .82;
	transform: translateY(-1px);
}

/* Accent TEC (bleu #334aff) → palette Galima : points mobile,
   jour sélectionné, événements multi-jours, datepicker */
.tribe-events {
	--tec-color-accent-primary: var(--galima-green-btn);
	--tec-color-accent-primary-hover: #146826;
	--tec-color-accent-primary-active: #0f3d17;
	--tec-color-accent-primary-background: rgba(28, 90, 29, 0.07);
	--tec-color-accent-primary-background-datepicker: rgba(28, 90, 29, 0.12);
	--tec-color-accent-primary-week-event: var(--galima-green-btn);
	--tec-color-accent-primary-week-event-hover: #146826;
	--tec-color-accent-primary-week-event-featured: #b04a10;
	--tec-color-accent-primary-week-event-featured-hover: #96400e;
	--tec-color-accent-secondary: var(--galima-orange);
}

/* Jour sélectionné (vue mois mobile) : teinte douce plutôt que barre pleine */
.tribe-events .tribe-events-calendar-month__day-cell--selected {
	background: rgba(28, 90, 29, 0.14) !important;
}
.tribe-events .tribe-events-calendar-month__day-cell--selected .tribe-events-calendar-month__day-date,
.tribe-events .tribe-events-calendar-month__day-cell--selected .tribe-events-calendar-month__day-date-daynum {
	color: var(--galima-green-dark) !important;
}

/* --- Tablette & mobile : barre d'outils sur deux lignes --- */
@media (max-width: 960px) {

	/* Une seule ligne : onglets à gauche, loupe ronde à droite */
	.tribe-events .tribe-events-c-events-bar {
		flex-wrap: nowrap;
		justify-content: flex-start;
		align-items: center;
		gap: 10px;
		padding: 12px 14px;
	}
	.tribe-events .tribe-events-c-events-bar__search-container,
	.tribe-events .tribe-events-c-events-bar__search {
		display: none !important;
	}
	.tribe-events .tribe-events-c-events-bar__search-button {
		order: 2;
		flex: 0 0 auto;
		width: 40px;
		height: 40px;
		margin: 0;
		border-radius: 50%;
		background: rgba(28, 90, 29, 0.1);
		border: 1px solid rgba(28, 90, 29, 0.16);
		color: #1c5a1d;
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}
	.tribe-events .tribe-events-c-events-bar__views {
		order: 1;
		flex: 1 1 auto;
		min-width: 0;
		text-align: left;
	}
	.tribe-events .tribe-events-c-view-selector {
		width: 100%;
	}
	.tribe-events .tribe-events-c-view-selector--tabs .tribe-events-c-view-selector__content {
		max-width: 100%;
		width: 100%;
	}
	.tribe-events .tribe-events-c-view-selector__list {
		display: flex !important;
		width: 100%;
	}
	.tribe-events .tribe-events-c-view-selector__list-item {
		flex: 1 1 0;
	}
	.tribe-events .tribe-events-c-view-selector--tabs .tribe-events-c-view-selector__list-item-link {
		width: 100%;
		justify-content: center;
		padding: 0 8px !important;
	}

	/* Top bar : "À venir" centré, navigation fantôme masquée */
	.tribe-events .tribe-events-c-top-bar {
		justify-content: center;
	}
	.tribe-events .tribe-events-c-top-bar__nav.tribe-common-a11y-hidden,
	.tribe-events .tribe-events-c-top-bar__actions.tribe-common-a11y-hidden,
	.tribe-events .tribe-events-c-top-bar__today-button.tribe-common-a11y-hidden {
		display: none !important;
	}
	.tribe-events .tribe-events-c-top-bar__datepicker {
		margin: 0 auto;
	}

	/* Carte pour chaque évènement de la liste */
	.tribe-events .tribe-events-calendar-list__event-row {
		background: #fdfcf9;
		border: 1px solid rgba(28, 90, 29, 0.12);
		border-radius: 14px;
		padding: 14px;
		box-shadow: 0 3px 12px rgba(28, 90, 29, 0.06);
		margin-bottom: 14px;
	}

	/* Navigation bas de page : retour à la ligne au lieu de chevauchement */
	.tribe-events .tribe-events-c-nav__list {
		flex-wrap: wrap;
		justify-content: center;
		gap: 6px;
	}
	.tribe-events .tribe-events-c-nav__today,
	.tribe-events .tribe-events-c-nav__prev,
	.tribe-events .tribe-events-c-nav__next {
		padding: 8px 14px !important;
		font-size: 12px !important;
		white-space: nowrap;
	}
	.tribe-events .tribe-events-c-nav__list-item {
		flex: 0 0 auto;
	}
}

@media (max-width: 480px) {

	/* Barre : padding réduit, onglets plus étroits pour tenir en 320px */
	.tribe-events .tribe-events-c-events-bar {
		padding: 10px 12px;
	}
	.tribe-events .tribe-events-c-view-selector--tabs .tribe-events-c-view-selector__list-item-link {
		padding: 0 12px !important;
		height: 32px !important;
	}
	.tribe-events .tribe-events-c-view-selector__list-item-link .tribe-events-c-view-selector__list-item-text {
		font-size: 11.5px !important;
	}

	/* Top bar : "Ce mois-ci" et chevrons compacts, sans coupure */
	.tribe-events .tribe-events-c-top-bar {
		padding: 6px 10px;
		gap: 4px;
	}
	.tribe-events .tribe-events-c-top-bar__today-button.tribe-common-c-btn-border,
	.tribe-events .tribe-events-c-top-bar__datepicker-button {
		white-space: nowrap;
		padding: 6px 12px !important;
		font-size: 12px !important;
	}

	/* Nav bas : trois pilules sur une ligne dans ~280px */
	.tribe-events .tribe-events-c-nav__list {
		flex-wrap: nowrap;
		justify-content: space-between;
		gap: 4px;
	}
	.tribe-events .tribe-events-c-nav__today,
	.tribe-events .tribe-events-c-nav__prev,
	.tribe-events .tribe-events-c-nav__next {
		padding: 7px 9px !important;
		font-size: 11px !important;
		letter-spacing: 0.2px;
	}
	.tribe-events .tribe-events-c-nav__prev::before,
	.tribe-events .tribe-events-c-nav__next::after {
		margin: 0 2px !important;
	}

	/* Moins de vide au-dessus de la liste */
	.tribe-events .tribe-events-l-container {
		padding-top: 36px !important;
	}
}

/* ==========================================================================
   23. SUIVEZ-NOUS — cartes sociales (block-47)
   ========================================================================== */

/* Titre de section : les widgets natifs n'ont pas de widget-title */
#block-47::before {
	content: "SUIVEZ-NOUS";
	display: block;
	text-align: center;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 2px;
	color: var(--galima-green-dark);
	padding-bottom: 8px;
	margin-bottom: 14px;
	border-bottom: 1px solid rgba(28, 90, 29, 0.12);
	position: relative;
	font-family: var(--galima-font-main);
}

#block-47::after {
	content: "";
	display: block;
	position: absolute;
	top: 41px;
	left: 50%;
	transform: translateX(-50%);
	width: 36px;
	height: 2px;
	background: var(--galima-orange);
	border-radius: 2px;
}

#block-47 {
	position: relative;
}

/* Icônes sociales : pastilles teintées par marque */
#block-47 .wp-block-social-links {
	display: flex !important;
	justify-content: center;
	gap: 12px;
	padding: 0;
	margin: 0 0 14px;
}

#block-47 .wp-social-link {
	background: none !important;
	padding: 0 !important;
}

#block-47 .wp-social-link a {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	transition: background var(--galima-transition), transform var(--galima-transition), box-shadow var(--galima-transition) !important;
}

#block-47 .wp-social-link svg {
	width: 18px;
	height: 18px;
	transition: fill var(--galima-transition);
}

#block-47 .wp-social-link-facebook a {
	background: rgba(24, 119, 242, 0.1);
}

#block-47 .wp-social-link-facebook svg {
	fill: #1877f2;
}

#block-47 .wp-social-link-facebook a:hover {
	background: #1877f2;
	transform: translateY(-2px);
	box-shadow: 0 4px 10px rgba(24, 119, 242, 0.35);
}

#block-47 .wp-social-link-facebook a:hover svg {
	fill: #fff;
}

#block-47 .wp-social-link-instagram a {
	background: rgba(214, 41, 118, 0.1);
}

#block-47 .wp-social-link-instagram svg {
	fill: #d62976;
}

#block-47 .wp-social-link-instagram a:hover {
	background: #d62976;
	transform: translateY(-2px);
	box-shadow: 0 4px 10px rgba(214, 41, 118, 0.35);
}

#block-47 .wp-social-link-instagram a:hover svg {
	fill: #fff;
}

/* Lien texte Facebook : ligne centrée, icône de marque */
#block-47 .gn-fb-page {
	text-align: center;
	font-size: 13px;
	margin: 0;
}

#block-47 .gn-fb-page a {
	color: var(--galima-green-dark);
	font-weight: 600;
	border-bottom: 1px dotted rgba(28, 90, 29, 0.4);
	transition: color var(--galima-transition);
}

#block-47 .gn-fb-page a::before {
	content: "\f39e";
	font-family: "Font Awesome 6 Brands";
	color: #1877f2;
	margin-right: 6px;
}

#block-47 .gn-fb-page a:hover {
	color: var(--galima-orange-text);
	border-bottom-color: var(--galima-orange-text);
	text-decoration: none;
}

#block-47 .gn-fb-handle {
	display: inline-block;
	font-size: 12px;
	font-weight: 500;
	color: rgba(28, 90, 29, 0.75);
	margin-top: 2px;
}

/* ==========================================================================
   24. AGENDA — grille du mois
   ========================================================================== */

.tribe-events .tribe-events-calendar-month {
	font-family: var(--galima-font-main) !important;
	border: 1px solid rgba(28, 90, 29, 0.13) !important;
	border-radius: 14px;
	overflow: hidden;
	background: #fdfcf9;
	box-shadow: 0 3px 12px rgba(28, 90, 29, 0.06);
}

/* En-tête des jours de semaine */
.tribe-events .tribe-events-calendar-month__header {
	background: rgba(28, 90, 29, 0.05) !important;
	border-bottom: 1px solid rgba(28, 90, 29, 0.15) !important;
}

.tribe-events .tribe-events-calendar-month__header-column-title {
	font-size: 11px !important;
	font-weight: 700 !important;
	letter-spacing: 2px !important;
	color: rgba(28, 90, 29, 0.55) !important;
	padding: 10px 0 !important;
}

/* Cellules : souffle + hover */
.tribe-events .tribe-events-calendar-month__day {
	border-color: rgba(28, 90, 29, 0.09) !important;
	background: #fdfcf9;
	transition: background var(--galima-transition), box-shadow var(--galima-transition);
	padding: 8px 10px !important;
}

.tribe-events .tribe-events-calendar-month__day:hover {
	background: rgba(28, 90, 29, 0.04) !important;
}

.tribe-events .tribe-events-calendar-month__day--other-month {
	background: #faf8f3 !important;
}

.tribe-events .tribe-events-calendar-month__day--other-month .tribe-events-calendar-month__day-date-daynum,
.tribe-events .tribe-events-calendar-month__day--other-month .tribe-events-calendar-month__day-date-link {
	color: rgba(28, 90, 29, 0.3) !important;
}

/* Numéro du jour : pastille */
.tribe-events .tribe-events-calendar-month__day-date-daynum,
.tribe-events .tribe-events-calendar-month__day-date-link {
	font-weight: 600 !important;
	font-size: 13px !important;
	color: var(--galima-green-dark) !important;
}

.tribe-events .tribe-events-calendar-month__day--current {
	background: rgba(28, 90, 29, 0.06) !important;
}

.tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date-daynum,
.tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date-link {
	background: var(--galima-green-btn);
	color: #fff !important;
	border-radius: 50%;
	width: 26px;
	height: 26px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

/* Évènements : pilule sauge ; au survol, pilule verte pleine à texte blanc */
.tribe-events .tribe-events-calendar-month__calendar-event {
	background: rgba(28, 90, 29, 0.09);
	border-radius: 7px;
	padding: 5px 8px !important;
	margin: 4px 0 !important;
	transition: background var(--galima-transition);
}

.tribe-events .tribe-events-calendar-month__calendar-event:hover {
	background: var(--galima-green-btn);
}

.tribe-events .tribe-events-calendar-month__calendar-event:hover .tribe-events-calendar-month__calendar-event-datetime,
.tribe-events .tribe-events-calendar-month__calendar-event:hover .tribe-events-calendar-month__calendar-event-title-link {
	color: #fff !important;
}

.tribe-events .tribe-events-calendar-month__calendar-event-datetime {
	font-size: 10.5px !important;
	color: rgba(28, 90, 29, 0.6) !important;
	font-weight: 500;
	letter-spacing: 0.3px;
}

.tribe-events .tribe-events-calendar-month__calendar-event-title {
	margin: 1px 0 0 !important;
}

.tribe-events .tribe-events-calendar-month__calendar-event-title-link {
	font-size: 12px !important;
	font-weight: 600 !important;
	color: var(--galima-green-dark) !important;
	line-height: 1.35 !important;
}

.tribe-events .tribe-events-calendar-month__calendar-event-title-link:hover {
	color: var(--galima-orange-text) !important;
}

/* ==========================================================================
   25. AGENDA — finitions : pas de soulignés, icône loupe hors du texte
   ========================================================================== */

/* Aucun souligné sur les boutons/onglets/liens de l'interface TEC */
.tribe-events .tribe-events-c-events-bar a,
.tribe-events .tribe-events-c-events-bar button,
.tribe-events .tribe-events-c-top-bar a,
.tribe-events .tribe-events-c-top-bar button,
.tribe-events .tribe-events-c-nav a,
.tribe-events .tribe-events-c-search__button,
.tribe-events .tribe-events-c-view-selector__list-item-link,
.tribe-events .tribe-events-c-view-selector__button,
.tribe-events .tribe-events-calendar-month__day-date-link,
.tribe-events .tribe-events-calendar-month__calendar-event-title-link {
	text-decoration: none !important;
}

.tribe-events .tribe-events-c-view-selector__list-item-link:hover,
.tribe-events .tribe-events-calendar-month__calendar-event-title-link:hover {
	text-decoration: none !important;
}

/* Loupe ancrée à gauche, texte décalé après l'icône */
.tribe-events .tribe-events-c-search__input,
.tribe-events .tribe-events-c-search input[type="text"] {
	padding: 0 20px 0 46px !important;
}

.tribe-events .tribe-events-c-search__input-control-icon-svg,
.tribe-events .tribe-events-c-search__input-control .tribe-common-c-svgicon {
	left: 18px !important;
	right: auto !important;
	top: 50% !important;
	transform: translateY(-50%);
}

/* Indicateur TEC ::after sous l'onglet actif : la pilule verte suffit */
.tribe-events .tribe-events-c-view-selector__list-item-link::after {
	display: none !important;
}

/* ==========================================================================
   26. AGENDA — calendrier compact + promo en carrousel animé
   ========================================================================== */

/* Grille resserrée */
.tribe-events .tribe-events-calendar-month__day {
	padding: 5px 8px !important;
	min-height: 84px !important;
}

.tribe-events .tribe-events-calendar-month__day-date {
	margin-bottom: 2px !important;
}

.tribe-events .tribe-events-calendar-month__calendar-event {
	padding: 3px 7px !important;
	margin: 3px 0 !important;
}

/* ==========================================================================
   27. AGENDA — calendrier compact et lisible
   ========================================================================== */

/* Grille dans une carte à coins arrondis */
.tribe-events .tribe-events-calendar-month {
	border: 1px solid rgba(28, 90, 29, 0.13);
	border-radius: 14px;
	overflow: hidden;
	background: #fdfcf9;
	box-shadow: 0 3px 12px rgba(28, 90, 29, 0.06);
}

/* En-tête des jours : bandeau sauge, initiales centrées */
.tribe-events .tribe-events-calendar-month__header-column {
	background: rgba(28, 90, 29, 0.07) !important;
	padding: 0 !important;
	display: flex;
	align-items: center;
	justify-content: center;
}

.tribe-events .tribe-events-calendar-month__header-column-title {
	font-size: 11px !important;
	font-weight: 700 !important;
	letter-spacing: 1.4px !important;
	text-transform: uppercase;
	color: var(--galima-green-dark) !important;
	padding: 11px 0 !important;
	margin: 0 !important;
}

/* Jour sélectionné : supprime le liseré noir TEC sous la cellule */
.tribe-events .tribe-events-calendar-month__day--selected,
.tribe-events .tribe-events-calendar-month__day--selected *,
.tribe-events .tribe-events-calendar-month__day--selected::after {
	border-bottom-color: transparent !important;
	box-shadow: none !important;
}

.tribe-events .tribe-events-calendar-month__day {
	height: 128px !important;
	min-height: 0 !important;
	padding: 5px 8px !important;
}

/* Puces calées en haut à gauche, pleine largeur de la cellule */
.tribe-events .tribe-events-calendar-month__day-cell--desktop {
	justify-content: flex-start;
}

.tribe-events .tribe-events-calendar-month__events {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 2px;
	margin-top: 3px !important;
}

.tribe-events .tribe-events-calendar-month__day-cell--desktop {
	height: 100%;
	overflow: hidden;
}

.tribe-events .tribe-events-calendar-month__day-date {
	line-height: 1.2 !important;
	margin: 0 0 3px !important;
}

/* Évènement : heure sur sa ligne, titre en pleine largeur sur 3 lignes max */
.tribe-events .tribe-events-calendar-month__calendar-event {
	width: 100%;
	align-self: stretch;
	box-sizing: border-box;
	padding: 4px 7px !important;
	margin: 0 !important;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1px;
	overflow: hidden;
}

.tribe-events .tribe-events-calendar-month__calendar-event-details {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1px;
	width: 100%;
	min-width: 0;
	overflow: hidden;
}

.tribe-events .tribe-events-calendar-month__calendar-event-datetime {
	font-size: 9px !important;
	white-space: nowrap;
	flex: 0 0 auto;
	line-height: 1.2;
}

.tribe-events .tribe-events-calendar-month__calendar-event-title {
	width: 100%;
	min-width: 0;
	overflow: hidden;
}

/* Titre lisible : jusqu'à 3 lignes, puis ellipsé proprement */
.tribe-events .tribe-events-calendar-month__calendar-event-title-link {
	font-size: 11px !important;
	line-height: 1.3 !important;
	white-space: normal !important;
	overflow: hidden !important;
	display: -webkit-box !important;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

/* Mobile : cellules plus courtes (points seulement, pas de puces) */
@media (max-width: 768px) {
	.tribe-events .tribe-events-calendar-month__day {
		height: 60px !important;
		padding: 4px 6px !important;
	}
}

/* ==========================================================================
   28. ÉVÈNEMENT — méta Détails / Organisateur / Lieu en cartes
   ========================================================================== */

/* Le bloc devient une grille de cartes, alignée sur le reste du site */
.tribe-events-single-section.tribe-events-event-meta {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 14px;
	margin: 28px 0 10px;
	padding: 0;
	border: none;
	float: none;
}

.tribe-events-single-section.tribe-events-event-meta::before,
.tribe-events-single-section.tribe-events-event-meta::after {
	content: none;
	display: none;
}

/* TEC contraint les sections à ~46% : on libère la largeur */
.tribe-events-single-section {
	float: none !important;
	width: 100% !important;
}

/* La carte Lieu seule : largeur calée sur les autres cartes, pas pleine page */
.tribe-events-single-section.secondary {
	grid-template-columns: minmax(230px, 300px);
	margin-top: 14px;
}

.tribe-events-meta-group {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: 18px 20px;
	background: #fdfcf9;
	border: 1px solid rgba(28, 90, 29, 0.13);
	border-radius: 14px;
	box-shadow: 0 3px 12px rgba(28, 90, 29, 0.05);
}

/* Titre de groupe : petit label + icône orange + filet */
.tribe-events-meta-group .tribe-events-single-section-title {
	font-family: var(--galima-font-main) !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--galima-green-dark) !important;
	margin: 0 0 13px !important;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(28, 90, 29, 0.12);
	display: flex;
	align-items: center;
	gap: 9px;
}

.tribe-events-meta-group .tribe-events-single-section-title::before {
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	color: var(--galima-orange-text);
	font-size: 0.95em;
}

.tribe-events-meta-group-details .tribe-events-single-section-title::before { content: "\f073"; }   /* calendrier */
.tribe-events-meta-group-organizer .tribe-events-single-section-title::before { content: "\f007"; }  /* personne */
.tribe-events-meta-group-venue .tribe-events-single-section-title::before { content: "\f3c5"; }      /* épingle */

/* Lignes libellé → valeur */
.tribe-events-meta-list {
	list-style: none;
	margin: 0 !important;
	padding: 0 !important;
}

.tribe-events-meta-item {
	margin: 0 0 9px;
	padding: 0;
	font-size: 14px;
	line-height: 1.5;
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 3px 8px;
}

.tribe-events-meta-item:last-child { margin-bottom: 0; }

.tribe-events-meta-label {
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: rgba(28, 90, 29, 0.65) !important;
	flex: 0 0 auto;
}

.tribe-events-meta-value {
	font-weight: 500;
	color: #3d3d36;
}

.tribe-events-meta-value abbr { text-decoration: none; border: none; }

/* Tags : pilules sauge au lieu d'une liste de liens */
.tribe-event-tags.tribe-events-meta-value {
	flex: 1 1 100%;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 3px;
	font-size: 0; /* masque les virgules textuelles entre liens */
}

.tribe-event-tags a {
	background: rgba(28, 90, 29, 0.08);
	border: 1px solid rgba(28, 90, 29, 0.16);
	border-radius: 999px;
	padding: 4px 11px;
	font-size: 11.5px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--galima-green-dark) !important;
	text-decoration: none;
	transition: background var(--galima-transition), color var(--galima-transition);
}

.tribe-event-tags a:hover {
	background: var(--galima-green-btn);
	color: #fff !important;
}

@media (max-width: 560px) {
	.tribe-events-single-section.tribe-events-event-meta {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   29. MENU MOBILE — icônes, lignes séparées, sous-menus encadrés
   ========================================================================== */

/* Conteneur : carte claire sous la barre MENU */
.mobile-menu-container {
	background: linear-gradient(180deg, #fdfcf9 0%, #f8f6ee 100%);
	border-top: 1px solid rgba(28, 90, 29, 0.12);
	box-shadow: 0 14px 26px rgba(28, 90, 29, 0.12);
}

/* Défilement interne si le menu dépasse l'écran */
#mobile-menu {
	padding: 4px 0 14px !important;
	max-height: calc(100vh - 150px);
	overflow-y: auto;
	overscroll-behavior: contain;
}

/* Lignes de premier niveau : icône + texte, séparateur fin */
#mobile-menu > li {
	border-bottom: 1px solid rgba(28, 90, 29, 0.09);
}
#mobile-menu > li:last-child { border-bottom: none; }

#mobile-menu > li > a {
	display: flex !important;
	align-items: center;
	gap: 12px;
	padding: 15px 12px 15px 14px !important;
	font-size: 13.5px;
	line-height: 1.4;
	text-align: left !important;
	border-left: 3px solid transparent;
	transition: background var(--galima-transition), border-color var(--galima-transition);
}

#mobile-menu > li > a:hover,
#mobile-menu > li > a:active {
	background: rgba(28, 90, 29, 0.05);
}

/* Les lignes parentes gardent le layout flex (le bloc legacy les passait en block + padding-left:0)
   et annulent le text-indent:15px d'Ashe qui décalait libellé ET glyphe hérité */
#mobile-menu > li.menu-item-has-children > a {
	display: flex !important;
	padding: 15px 12px 15px 14px !important;
	text-indent: 0 !important;
}

/* Pastille icône devant le libellé */
#mobile-menu > li > a::before {
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	font-size: 14px;
	line-height: 1;
	color: #1c5a1d;
	width: 32px;
	height: 32px;
	flex: 0 0 32px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	padding: 0;
	letter-spacing: 0;
	text-indent: 0; /* hérité du a (text-indent:15px d'Ashe sur les parents) → décalait le glyphe */
	background: rgba(28, 90, 29, 0.14);
	border: 1px solid rgba(28, 90, 29, 0.18);
	border-radius: 10px;
	transition: background var(--galima-transition), color var(--galima-transition);
}

/* Icône choisie selon la destination du lien */
#mobile-menu > li.menu-item-home > a::before { content: "\f4d8"; }                      /* pousse */
#mobile-menu > li > a[href*="alimentation-sante"]::before { content: "\f787"; }        /* carotte */
#mobile-menu > li > a[href*="arts-nature"]::before { content: "\f53f"; }               /* palette */
#mobile-menu > li > a[href*="naissance"]::before { content: "\f77c"; }                 /* bébé */
#mobile-menu > li > a[href*="consultations"]::before { content: "\f0f0"; }             /* praticien */
#mobile-menu > li > a[href*="/events"]::before { content: "\f073"; }                   /* agenda */
#mobile-menu > li > a[href*="contact"]::before { content: "\f0e0"; }                   /* courriel */
#mobile-menu > li > a[href*="conseillere"]::before { content: "\f007"; }               /* qui suis-je */
#mobile-menu > li > a[href*="ou-nous-trouver"]::before { content: "\f3c5"; }           /* carte */

/* Lien courant : barre accent + pastille pleine */
#mobile-menu > li.current-menu-item > a,
#mobile-menu > li.current_page_item > a,
#mobile-menu > li.current-menu-parent > a {
	border-left-color: var(--galima-orange-text);
	background: rgba(28, 90, 29, 0.06);
}

#mobile-menu > li.current-menu-item > a::before,
#mobile-menu > li.current_page_item > a::before,
#mobile-menu > li.current-menu-parent > a::before {
	background: var(--galima-green-btn);
	border-color: var(--galima-green-btn);
	color: #fff;
}

#mobile-menu > li > a:active::before,
#mobile-menu > li > a:hover::before {
	background: rgba(28, 90, 29, 0.22);
}
#mobile-menu > li.current-menu-item > a:hover::before,
#mobile-menu > li.current_page_item > a:hover::before {
	background: #146826;
}

/* Ligne parente en grille : la colonne chevron épouse la hauteur réelle de
   l'ancre — l'icône s'y centre quelle que soit la hauteur du libellé */
#mobile-menu li.menu-item-has-children {
	display: grid;
	grid-template-columns: 1fr 56px;
}

#mobile-menu li.menu-item-has-children > a { grid-column: 1; grid-row: 1; }

#mobile-menu li.menu-item-has-children > .sub-menu {
	grid-column: 1 / -1;
	grid-row: 2;
}

#mobile-menu li.menu-item-has-children > .sub-menu-btn {
	position: static;
	grid-column: 2;
	grid-row: 1;
	width: auto;
	height: auto;
}

#mobile-menu li.menu-item-has-children > .sub-menu-btn-icon {
	position: static;
	grid-column: 2;
	grid-row: 1;
	align-self: center;
	justify-self: center;
	width: 28px;
	height: 28px;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	background: rgba(28, 90, 29, 0.12);
	border: 1px solid rgba(28, 90, 29, 0.2);
	border-radius: 50%;
	color: #1c5a1d;
	font-size: 12px;
	line-height: 1;
	padding: 0;
	pointer-events: none;
	transform: none; /* annule le translateY(-50%) legacy */
	transition: background var(--galima-transition), transform var(--galima-transition);
}

/* Sous-menu : encart sauge indenté avec puces orange */
#mobile-menu .sub-menu {
	background: rgba(28, 90, 29, 0.07);
	border-left: 3px solid rgba(28, 90, 29, 0.25);
	margin: 0 10px 10px 16px !important;
	padding: 4px 0 !important;
	border-radius: 0 10px 10px 0;
	display: none;
}

#mobile-menu .sub-menu li {
	line-height: 1.4 !important;
}

#mobile-menu .sub-menu li a {
	display: block !important;
	padding: 8px 44px 8px 32px !important;
	text-indent: 0 !important;
	font-size: 12.5px;
	line-height: 1.4;
	text-align: left !important;
	color: #38422f;
	white-space: normal;
}

#mobile-menu .sub-menu li a::before {
	content: "\f111";
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	font-size: 6px;
	color: var(--galima-orange-text);
	position: absolute;
	left: 14px;
	top: 14px;
}

/* ------------------------------------------------------------------ */
/* Page "Ateliers de saison" — structure de contenu (gn-*)              */
/* ------------------------------------------------------------------ */
.gn-highlight {
	font-size: 1.15rem;
	line-height: 1.4;
	color: var(--galima-orange-text);
	text-align: center;
	margin: 1.6em 0;
}

.gn-lead {
	font-size: 1.15rem;
	line-height: 1.35;
	color: var(--galima-green);
	font-weight: 600;
	margin: 0.4em 0 1em;
}

.gn-cure-title {
	margin-top: 1.4em;
}
.gn-cure-title a {
	color: var(--galima-green);
	text-decoration: none;
}
.gn-cure-title a:hover {
	text-decoration: underline;
}
/* Couleurs de saison — automne = rouille, printemps = vert */
:root {
	--gn-automne: #c0392b;
	--gn-printemps: #1e7e34;
}
.gn-automne .gn-cure-title a,
.gn-automne .gn-lead,
.gn-automne .gn-prog-title,
.gn-automne .gn-intro {
	color: var(--gn-automne);
}
.gn-automne .gn-prog-list li::marker {
	color: var(--gn-automne);
}
.gn-printemps .gn-cure-title a,
.gn-printemps .gn-lead,
.gn-printemps .gn-prog-title,
.gn-printemps .gn-intro {
	color: var(--gn-printemps);
}
.gn-printemps .gn-prog-list li::marker {
	color: var(--gn-printemps);
}

.gn-prog-title {
	font-size: 1.05rem;
	margin: 1.2em 0 0.4em;
}

.gn-prog-list {
	margin: 0.3em 0 1em;
	padding-left: 1.4em;
}
.gn-prog-list li {
	margin-bottom: 0.45em;
	line-height: 1.55;
}


.gn-info {
	margin: 0.5em 0;
	line-height: 1.55;
}

.gn-signature {
	border-top: 1px solid rgba(28, 90, 29, 0.15);
	margin-top: 2.5em;
	padding-top: 1.2em;
	color: #4a4a4a;
}
.gn-signature p:last-child {
	text-align: right;
	font-weight: 600;
	color: var(--galima-green);
}

/* ------------------------------------------------------------------ */
/* Composant Media & Texte (wp-block-media-text) — global               */
/* Carte arrondie, image intégrée en cover, aération verticale          */
/* ------------------------------------------------------------------ */
.wp-block-media-text {
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid rgba(28, 90, 29, 0.14);
	box-shadow: 0 10px 26px rgba(28, 90, 29, 0.10), 0 2px 8px rgba(0, 0, 0, 0.05);
	margin-top: 2.4em;
	margin-bottom: 2.4em;
}

.wp-block-media-text .wp-block-media-text__media {
	align-self: stretch;
	margin: 0;
}

.wp-block-media-text .wp-block-media-text__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.wp-block-media-text .wp-block-media-text__content {
	padding: 2.2em;
	align-self: center;
}

@media (max-width: 600px) {
	.wp-block-media-text .wp-block-media-text__media {
		aspect-ratio: 16 / 10;
	}
}

/* Bordures teintées selon la saison */
.wp-block-media-text.gn-automne {
	border-color: rgba(192, 57, 43, 0.30);
}
.wp-block-media-text.gn-printemps {
	border-color: rgba(30, 126, 52, 0.30);
}

/* Lien "Découvrir →" dans les cartes teaser */
.gn-more {
	margin: 0.9em 0 0;
}
.gn-more a {
	font-weight: 600;
	text-decoration: none;
	font-size: 1.05rem;
}
.gn-more a:hover {
	text-decoration: underline;
}
.gn-automne .gn-more a { color: var(--gn-automne); }
.gn-printemps .gn-more a { color: var(--gn-printemps); }
