		footer {
			background-color: #308796 !important; /* Reverted back to the original color */
			color: #ffffff !important;
			padding: 15px 0 20px 0 !important;
			position: relative !important;
			overflow: visible !important; /* Allow rabbit head to overlap */
			min-height: 90px !important;
			border: none !important;
		}
		footer .footer-container {
			max-width: 100% !important;
			margin: 0 auto !important;
			display: flex !important;
			flex-direction: row !important;
			align-items: center !important;
			justify-content: flex-start !important;
			position: relative !important;
			width: 100% !important;
			padding: 0 40px !important;
			box-sizing: border-box !important;
		}
		footer .rabbit-head {
			position: absolute !important;
			bottom: 0 !important; /* Rest on the bottom edge */
			left: 15px !important;
			width: 115px !important;
			min-width: auto !important;
			max-width: none !important;
			height: auto !important;
			z-index: 99999 !important;
			pointer-events: none !important;
			image-rendering: smooth !important;
			filter: blur(0px);
			transform: translateZ(0);
			backface-visibility: hidden;
		}
		footer .footer-columns {
			display: flex !important;
			flex-direction: row !important;
			gap: 40px !important;
			margin-left: 105px !important; /* Leave room for rabbit head */
		}
		footer .footer-col {
			display: flex !important;
			flex-direction: column !important;
			gap: 4px !important;
			text-align: left !important;
		}
		footer .footer-col a,
		footer .footer-col p,
		footer .footer-col span {
			color: #ffffff !important;
			font-family: "Albert Sans", "Inter", sans-serif !important;
			font-size: 13px !important; /* Slightly smaller for cleaner look */
			font-weight: 500 !important;
			margin: 0 !important;
			padding: 0 !important;
			text-decoration: none !important;
			cursor: pointer !important;
			white-space: nowrap !important;
		}
		footer .footer-col a:hover,
		footer .footer-col p:hover {
			opacity: 0.85 !important;
		}
		footer .logotext {
			position: absolute !important;
			left: 50% !important;
			top: 50% !important;
			transform: translate(-50%, -50%) !important;
			width: 250px !important; /* Enlarged logo to match target */
			min-width: auto !important;
			max-width: none !important;
			height: auto !important;
			z-index: 1 !important;
			margin: 0 !important;
			pointer-events: none !important;
		}
		footer .footer-right-actions {
			margin-left: auto !important;
			display: flex !important;
			flex-direction: row !important;
			align-items: center !important;
			gap: 20px !important;
			position: relative !important;
			z-index: 5 !important;
		}

		/* Admin Rulers button in footer */
		footer .btn-admin-rulers {
			display: inline-flex !important;
			align-items: center !important;
			justify-content: center !important;
			background: rgba(0, 0, 0, 0.35) !important;
			border: 1px solid rgba(255, 255, 255, 0.7) !important;
			border-radius: 14px !important;
			color: #ffffff !important;
			font-family: "Albert Sans", "Inter", sans-serif !important;
			font-size: 11px !important;
			font-weight: 800 !important;
			padding: 2px 12px !important;
			height: 28px !important;
			cursor: pointer !important;
			box-sizing: border-box !important;
			line-height: 1.4 !important;
			letter-spacing: 0.5px !important;
			transition: all 0.15s ease-in-out !important;
			text-transform: uppercase !important;
			white-space: nowrap !important;
			position: relative !important;
			z-index: 6 !important;
		}
		footer .btn-admin-rulers:hover {
			background: rgba(255, 255, 255, 0.2) !important;
			border-color: #ffffff !important;
		}
		footer .btn-admin-rulers.active {
			background: #ffffff !important;
			color: #308796 !important;
			box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3) !important;
			border-color: #ffffff !important;
		}

		/* Admin segmented toggle in footer */
		footer .admin-segmented-toggle {
			display: inline-flex !important;
			background: rgba(0, 0, 0, 0.35) !important;
			border: 1px solid rgba(255, 255, 255, 0.7) !important;
			border-radius: 16px !important;
			padding: 2px 3px !important;
			gap: 3px !important;
			align-items: center !important;
			height: 28px !important;
			box-sizing: border-box !important;
		}
		footer .admin-segmented-toggle button.btn-admin-pos,
		footer .admin-segmented-toggle button.btn-admin-device {
			border: none !important;
			font-family: "Albert Sans", "Inter", sans-serif !important;
			font-size: 11px !important;
			font-weight: 800 !important;
			padding: 2px 10px !important;
			border-radius: 12px !important;
			cursor: pointer !important;
			line-height: 1.4 !important;
			transition: all 0.15s ease-in-out !important;
			white-space: nowrap !important;
			text-transform: none !important;
		}
		footer .admin-segmented-toggle button.btn-admin-pos.active,
		footer .admin-segmented-toggle button.btn-admin-device.active {
			background: #ffffff !important;
			color: #308796 !important;
			box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3) !important;
		}
		footer .admin-segmented-toggle button.btn-admin-device.active:not([data-device="off"]) {
			color: #dc2626 !important;
		}
		footer .admin-segmented-toggle button.btn-admin-pos:not(.active),
		footer .admin-segmented-toggle button.btn-admin-device:not(.active) {
			background: transparent !important;
			color: #ffffff !important;
		}
		footer .admin-segmented-toggle button.btn-admin-pos:not(.active):hover,
		footer .admin-segmented-toggle button.btn-admin-device:not(.active):hover {
			background: rgba(255, 255, 255, 0.2) !important;
		}

		/* Configuration compacte spécifique pour le toggle 5 positions des gabarits d'affichage */
		footer .admin-segmented-toggle.admin-device-toggle {
			gap: 2px !important;
		}
		footer .admin-segmented-toggle.admin-device-toggle button.btn-admin-device {
			padding: 2px 7px !important;
			font-size: 10px !important;
		}

		footer .btn-articles-footer {
			display: inline-flex !important;
			justify-content: center !important;
			align-items: center !important;
			border: 2px solid #fff !important;
			border-radius: 4px !important;
			color: #fff !important;
			font-family: "Albert Sans", "Inter", sans-serif !important;
			font-size: 11px !important;
			font-weight: 800 !important;
			padding: 4px 12px !important;
			text-decoration: none !important;
			background-color: transparent !important;
			transition: background-color 0.2s ease, color 0.2s ease !important;
			line-height: 1.2 !important;
			text-transform: uppercase !important;
			height: auto !important;
		}
		footer .btn-articles-footer:hover {
			background-color: #fff !important;
			color: #308796 !important;
		}
		footer .social-icons {
			display: flex !important;
			flex-direction: row !important;
			align-items: center !important;
			gap: 15px !important;
		}
		footer .social-icons a {
			display: flex !important;
			align-items: center !important;
			justify-content: center !important;
			text-decoration: none !important;
			transition: transform 0.2s ease !important;
		}
		footer .social-icons a:hover {
			transform: scale(1.1) !important;
		}
		footer .social-icons img {
			width: 22px !important;
			height: 22px !important;
			min-width: auto !important;
			max-width: none !important;
			object-fit: contain !important;
		}
		footer .social-icons i {
			font-size: 22px !important;
			color: #ffffff !important;
			line-height: 22px !important;
			display: inline-block !important;
		}
		footer .footer-mobile-content {
			display: none;
		}
				@media screen and (min-width: 1101px) and (max-height: 850px) {
			footer {
				padding: 6px 0 8px 0 !important;
				min-height: 55px !important;
			}
			footer .rabbit-head {
				width: 80px !important;
			}
			footer .footer-columns {
				gap: 20px !important;
				margin-left: 70px !important;
			}
			footer .footer-col {
				gap: 2px !important;
			}
			footer .footer-col a,
			footer .footer-col p,
			footer .footer-col span {
				font-size: 11px !important;
			}
			footer .logotext {
				width: 170px !important;
			}
			footer .header-legend {
				margin-left: 20px !important;
				gap: 2px !important;
			}
			footer .legend-badge {
				padding: 1px 8px !important;
				font-size: 9px !important;
				width: 95px !important;
			}
			footer .footer-right-actions {
				gap: 15px !important;
			}
			footer .btn-articles-footer {
				padding: 2px 10px !important;
				font-size: 10px !important;
			}
			footer .social-icons img,
			footer .social-icons i {
				width: 18px !important;
				height: 18px !important;
				font-size: 18px !important;
			}
		}

@media screen and (max-width: 1100px) {
			footer {
				padding: 15px 0 !important;
				min-height: 130px !important;
			}
			footer .footer-container {
				display: none !important;
			}
			footer .footer-mobile-content {
				display: flex !important;
				flex-direction: row !important;
				align-items: center !important;
				justify-content: space-between !important;
				padding: 0 15px !important;
				width: 100% !important;
				height: 130px !important;
				box-sizing: border-box !important;
				position: relative !important;
			}
			footer .mobile-col-left {
				display: flex !important;
				align-items: center !important;
				flex-shrink: 0 !important;
			}
			footer .rabbit-head-mobile {
				width: 115px !important;
				min-width: auto !important;
				height: auto !important;
				margin: 0 !important;
			}
			footer .mobile-col-middle {
				position: absolute !important;
				left: 50% !important;
				top: 50% !important;
				transform: translate(-50%, -50%) !important;
				display: flex !important;
				flex-direction: column !important;
				align-items: center !important;
				gap: 5px !important;
				z-index: 5 !important;
			}
			footer .taux-date-mobile {
				color: #ffffff !important;
				font-family: "Albert Sans", "Inter", sans-serif !important;
				font-size: 9px !important;
				font-weight: 700 !important;
				text-align: center !important;
				line-height: 1.2 !important;
				text-transform: uppercase !important;
			}
			footer .btn-offres-footer-mobile,
			footer .btn-articles-footer-mobile {
				display: inline-flex !important;
				justify-content: center !important;
				align-items: center !important;
				border: 1.5px solid #fff !important;
				border-radius: 4px !important;
				color: #fff !important;
				font-family: "Albert Sans", "Inter", sans-serif !important;
				font-size: 10px !important;
				font-weight: 800 !important;
				padding: 4px 12px !important;
				width: 85px !important;
				text-decoration: none !important;
				background-color: transparent !important;
				text-transform: uppercase !important;
				white-space: nowrap !important;
				line-height: 1 !important;
			}
			footer .mobile-col-right {
				display: flex !important;
				flex-direction: column !important;
				align-items: flex-end !important;
				justify-content: flex-start !important;
				padding-top: 54px !important;
				gap: 10px !important;
				flex-shrink: 0 !important;
				margin-left: auto !important;
				height: 100% !important;
				box-sizing: border-box !important;
			}
			footer .social-icons-mobile {
				display: flex !important;
				flex-direction: row !important;
				align-items: center !important;
				justify-content: flex-end !important;
				gap: 12px !important;
				width: auto !important;
				margin: 0 !important;
				padding: 0 !important;
			}
			footer .social-icons-mobile a {
				display: flex !important;
				align-items: center !important;
				justify-content: center !important;
				text-decoration: none !important;
				width: auto !important;
				margin: 0 !important;
				padding: 0 !important;
			}
			footer .social-icons-mobile img {
				width: 22px !important;
				height: 22px !important;
				min-width: auto !important;
				margin: 0 !important;
				object-fit: contain !important;
			}
			footer .social-icons-mobile i {
				font-size: 22px !important;
				color: #ffffff !important;
				line-height: 22px !important;
				display: inline-block !important;
			}
			footer .logotext-mobile {
				width: 175px !important;
				min-width: auto !important;
				height: auto !important;
				margin: 0 !important;
				object-fit: contain !important;
			}
		}
		/* Masquer la barre d'outils de debug de Symfony */
		.sf-display-none, .sf-toolbar, [id^="sfwdt"] {
			display: none !important;
		}
		/* Styling for aboutSiteModal to ensure crisp white text on teal background */
		#aboutSiteModal .modal-content {
			background-color: #01677d !important;
			color: #ffffff !important;
			border: 1px solid #01677d !important;
		}
		#aboutSiteModal .modal-header,
		#aboutSiteModal .modal-body,
		#aboutSiteModal .modal-footer {
			background-color: #01677d !important;
			color: #ffffff !important;
			border-color: rgba(255, 255, 255, 0.2) !important;
		}
		#aboutSiteModal .modal-title,
		#aboutSiteModal p,
		#aboutSiteModal span,
		#aboutSiteModal div {
			color: #ffffff !important;
		}
		#aboutSiteModal .btn-close {
			filter: invert(1) grayscale(100%) brightness(200%) !important;
		}
		#aboutSiteModal .btn-secondary {
			background-color: #ffffff !important;
			color: #01677d !important;
			font-weight: 700 !important;
			border: none !important;
		}

/* ============================================================================
   Classes remplaçant les anciens attributs style= des templates.
   :is(.classe, #_#_#_) donne à la règle la spécificité de 3 id (le second sélecteur ne
   correspond à rien) : comme le style inline qu'elle remplace, elle l'emporte sur les
   règles normales des autres feuilles, mais pas sur leurs !important ni sur element.style.
   ============================================================================ */

/* footer/_footer.html.twig */
:is(.footer__footer-mobile-legend, #_#_#_) {
	top: 8px;
	left: 0;
	gap: 42px;
	z-index: 15;
}
:is(.footer__legend-badge, #_#_#_) {
	background-color: #fff6c3;
	color: #d0021b;
	padding: 4px 5px;
	font-size: 10px;
	font-weight: 800;
	border-radius: 4px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: none !important;
	box-shadow: 0 1px 3px rgba(0,0,0,0.1);
	width: 80px;
	height: 24px;
	line-height: 24px;
	box-sizing: border-box;
	transform: scale(1.35);
}
:is(.footer__legend-asterisk, #_#_#_) {
	font-size: 12px;
	margin-right: 3px;
	color: #d0021b;
	font-weight: 800;
	line-height: 1;
}
:is(.footer__legend-badge-2, #_#_#_) {
	background-color: #ffffff;
	color: #0052cc;
	padding: 4px 5px;
	font-size: 10px;
	font-weight: 800;
	border-radius: 4px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: none !important;
	box-shadow: 0 1px 3px rgba(0,0,0,0.1);
	width: 80px;
	height: 24px;
	line-height: 24px;
	box-sizing: border-box;
	transform: scale(1.35);
}
:is(.footer__legend-asterisk-2, #_#_#_) {
	font-size: 12px;
	margin-right: 3px;
	color: #0052cc;
	font-weight: 800;
	line-height: 1;
}
:is(.footer__mobile-col-left, #_#_#_) {
	padding-top: 15px;
}
:is(.footer__mobile-col-middle, #_#_#_) {
	padding-top: 25px;
}
:is(.footer__taux-date-mobile, #_#_#_) {
	margin-bottom: 3px;
}
:is(.footer__p, #_#_#_) {
	color: #ffffff !important;
	cursor: pointer;
}
:is(.footer__a, #_#_#_) {
	color: #ffffff !important;
}
:is(.footer__header-legend, #_#_#_) {
	margin-left: 40px;
	gap: 4px;
}
:is(.footer__legend-badge-3, #_#_#_) {
	background-color: #fff6c3;
	color: #d0021b;
	padding: 2px 10px;
	font-size: 10px;
	font-weight: 800;
	border-radius: 4px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: none !important;
	width: 110px;
	box-sizing: border-box;
}
:is(.footer__legend-badge-4, #_#_#_) {
	background-color: #ffffff;
	color: #0052cc;
	padding: 2px 10px;
	font-size: 10px;
	font-weight: 800;
	border-radius: 4px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: none !important;
	width: 110px;
	box-sizing: border-box;
}
:is(.footer__admin-tools-cluster, #_#_#_) {
	gap: 8px;
}
