/*
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Thème enfant de Hello Elementor pour Hexana. Hérite du parent (logo, menus, kit Elementor, réglages Hello).
Author: Hexana
Author URI: https://www.hexana.fr
Template: hello-elementor
Version: 1.1.27
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: accessibility-ready, flexible-header, custom-colors, custom-menu, custom-logo, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
 * Backup if any emoji <img> remains. Primary fix: functions.php disables
 * WP emoji→image conversion so ✅ stays a character at text size.
 */
img.emoji,
img.emoji[data-lazyloaded],
img.emoji[data-src],
.elementor img.emoji,
.elementor-widget-text-editor img.emoji,
.elementor-widget-text-editor p img.emoji {
	display: inline !important;
	border: none !important;
	box-shadow: none !important;
	height: 1em !important;
	width: 1em !important;
	max-width: 1em !important;
	max-height: 1em !important;
	margin: 0 0.07em !important;
	vertical-align: -0.1em !important;
	background: none !important;
	padding: 0 !important;
	min-width: 0 !important;
	min-height: 0 !important;
	object-fit: contain !important;
}

/*
 * Textes blancs sur fond bleu foncé (#00253D).
 * Le lien reste rouge HEXANA (#F54500) ; au survol / focus il passe au blanc.
 * Elementor → Avancé → Classes CSS : texte-fond-bleu
 * (sur le conteneur ou le widget texte).
 */
.texte-fond-bleu,
.texte-fond-bleu .elementor-heading-title,
.texte-fond-bleu .elementor-widget-text-editor,
.texte-fond-bleu .elementor-icon-list-text {
	color: #ffffff !important;
}

.texte-fond-bleu a:not(.elementor-button):not(.elementor-item) {
	color: #f54500 !important;
}

.texte-fond-bleu a:not(.elementor-button):not(.elementor-item):hover,
.texte-fond-bleu a:not(.elementor-button):not(.elementor-item):focus,
.texte-fond-bleu a:not(.elementor-button):not(.elementor-item):focus-visible {
	color: #ffffff !important;
}

/*
 * Fil d'Ariane — shortcode [hexana_fil_ariane]
 * Pages précédentes seulement. Liens bleu marine, survol rouge HEXANA.
 */
.hexana-fil-ariane {
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: normal;
	text-transform: none;
}

.elementor-heading-title .hexana-fil-ariane,
.elementor-widget-heading .hexana-fil-ariane {
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: normal;
	text-transform: none;
}

.hexana-fil-ariane ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0;
	list-style: none;
	margin: 0;
	padding: 0;
}

.hexana-fil-ariane li {
	display: inline-flex;
	align-items: center;
	color: #324049;
}

.hexana-fil-ariane li + li::before {
	content: "/";
	margin: 0 0.45em;
	color: #b3b3b3;
}

.hexana-fil-ariane a {
	color: #00253d;
	text-decoration: none;
}

.hexana-fil-ariane a:hover,
.hexana-fil-ariane a:focus,
.hexana-fil-ariane a:focus-visible {
	color: #f54500;
}

/*
 * Politique confidentialité / Privacy — tableaux Word → HTML
 * Classes : .hexana-legal-policy, .hexana-legal-table
 */
.hexana-legal-policy {
	color: inherit;
	font-family: inherit;
	font-size: inherit;
	line-height: 1.65;
}

.hexana-legal-policy h2,
.hexana-legal-policy h3 {
	font-family: inherit;
	color: inherit;
	margin: 1.75em 0 0.65em;
	line-height: 1.3;
}

.hexana-legal-policy h2 {
	font-size: 1.35em;
}

.hexana-legal-policy h3 {
	font-size: 1.15em;
}

.hexana-legal-policy p,
.hexana-legal-policy li {
	margin: 0 0 0.75em;
}

.hexana-legal-policy ul {
	margin: 0 0 1em;
	padding-left: 1.25em;
}

.hexana-legal-policy a {
	color: #f54500;
	text-decoration: none;
}

.hexana-legal-policy a:hover,
.hexana-legal-policy a:focus,
.hexana-legal-policy a:focus-visible {
	text-decoration: underline;
}

.hexana-legal-updated {
	margin-bottom: 1.25em;
}

.hexana-legal-table-wrap {
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin: 0 0 1.5em;
}

.hexana-legal-table {
	width: 100%;
	min-width: 36rem;
	border-collapse: collapse;
	font-family: inherit;
	font-size: 0.95em;
	line-height: 1.45;
	color: inherit;
}

.hexana-legal-table th,
.hexana-legal-table td {
	border: 1px solid rgba(6, 35, 56, 0.18);
	padding: 0.65em 0.75em;
	vertical-align: top;
	text-align: left;
}

.hexana-legal-table thead th {
	background: rgba(6, 35, 56, 0.06);
	color: #062338;
	font-weight: 600;
}

.hexana-legal-table tbody tr:nth-child(even):not(.hexana-legal-group) {
	background: rgba(6, 35, 56, 0.03);
}

.hexana-legal-table .hexana-legal-group td {
	background: rgba(6, 35, 56, 0.08);
	font-weight: 500;
}

.hexana-legal-table--cookies {
	min-width: 28rem;
}

@media (max-width: 767px) {
	.hexana-legal-table {
		font-size: 0.9em;
	}

	.hexana-legal-table th,
	.hexana-legal-table td {
		padding: 0.5em 0.55em;
	}
}
