/**
 * Hello Elementor reset.css impose #c36 sur les liens et boutons
 * ([type="button"], button { color:#c36 }). Spécificité plus haute que Tailwind seul.
 * Ce fichier est chargé en dernier pour rétablir la charte urbaMonde.
 */

/* Liens génériques (contenu WP, widgets texte Elementor, etc.) */
.site-main a:where(:not([class*="btn"]):not([class*="nav-"]):not([class*="um-"]):not([class*="card"])),
.page-content a,
.entry-content a,
.comments-area a,
.elementor-widget-text-editor a {
	color: #7a9b21;
	text-decoration: underline;
	text-underline-offset: 0.12em;
}

.site-main a:where(:not([class*="btn"]):not([class*="nav-"]):not([class*="um-"]):not([class*="card"])):hover,
.page-content a:hover,
.entry-content a:hover,
.comments-area a:hover,
.elementor-widget-text-editor a:hover {
	color: #69851c;
}

/*
 * Hello reset : button { border:1px solid #c36; color:#c36 }
 * + hover { background:#c36; color:#fff } — même spécificité que Tailwind seul.
 */
[type="button"],
[type="submit"],
[type="reset"],
button {
	color: #3c3c3c;
	border: 1px solid #e5e7eb;
	border-radius: 0;
	background-color: transparent;
}

[type="button"]:not(:disabled):hover,
[type="submit"]:not(:disabled):hover,
[type="reset"]:not(:disabled):hover,
button:not(:disabled):hover,
[type="button"]:focus,
[type="submit"]:focus,
[type="reset"]:focus,
button:focus {
	background-color: transparent;
	color: #3c3c3c;
	border-color: #d1d5db;
	text-decoration: none;
}

.contact-overlay-close,
[data-contact-close],
[data-search-close],
#ressource-search-clear,
#search-clear,
.um-footer-modal-trigger {
	border: none !important;
	background: transparent !important;
	box-shadow: none;
}

/*
 * Kit Elementor (.elementor-kit-6 button { color:#fff }) écrase text-urba-text.
 * #search-open est déjà couvert dans extra.css ; le hamburger et les chevrons mobile non.
 */
.elementor-kit-6 .site-header #search-open,
.elementor-kit-6 .site-header #mobile-menu-btn,
.elementor button#search-open,
.elementor button#mobile-menu-btn {
	color: #3c3c3c !important;
	border: none !important;
	background: transparent !important;
	box-shadow: none;
	padding: 0;
	cursor: pointer;
}

.elementor-kit-6 .site-header #search-open:hover,
.elementor-kit-6 .site-header #mobile-menu-btn:hover,
.elementor button#search-open:hover,
.elementor button#mobile-menu-btn:hover {
	color: #7a9b21 !important;
	background: transparent !important;
}

.elementor-kit-6 #mobile-menu .mobile-submenu-toggle,
.elementor #mobile-menu .mobile-submenu-toggle,
.elementor-kit-6 .site-header .mobile-submenu-toggle {
	color: #3c3c3c !important;
	border: none !important;
	background: transparent !important;
	box-shadow: none;
}

.elementor-kit-6 #mobile-menu .mobile-submenu-toggle:hover,
.elementor-kit-6 #mobile-menu .mobile-submenu-toggle:focus-visible,
.elementor #mobile-menu .mobile-submenu-toggle:hover {
	color: #7a9b21 !important;
	background: transparent !important;
}

.elementor-kit-6 button.um-lang-toggle,
.elementor button.um-lang-toggle {
	background-color: #7a9b21 !important;
	color: #fff !important;
	border: none !important;
}

.elementor-kit-6 .um-lang-mobile button:not(.is-active),
.elementor .um-lang-mobile button:not(.is-active) {
	background-color: #f1f7e4 !important;
	color: #3c3c3c !important;
	border: none !important;
}

.elementor-kit-6 .um-lang-mobile button.is-active,
.elementor .um-lang-mobile button.is-active {
	background-color: #7a9b21 !important;
	color: #fff !important;
	border: none !important;
}

.elementor .filter-chip,
.elementor button.filter-chip,
button.filter-chip,
button.page-search-filter,
button.page-search-keyword,
button.search-keyword,
button.search-filter-chip {
	color: #3c3c3c;
	border: 1px solid #d1d5db !important;
	border-radius: 999px;
	background: transparent;
}

.elementor .filter-chip:hover,
button.filter-chip:hover,
button.page-search-keyword:hover,
button.search-keyword:hover {
	border-color: #7a9b21 !important;
	color: #7a9b21;
	background: transparent;
}

.elementor .filter-chip.is-active,
button.filter-chip.is-active {
	color: #fff !important;
	border-color: #7a9b21 !important;
	background: #7a9b21 !important;
}

.elementor a.btn-green,
.elementor button.btn-green,
.elementor a.btn-magenta,
.elementor button.btn-magenta,
.elementor a.btn-slide,
.elementor button.btn-slide,
.elementor a.btn-pill,
.elementor button.btn-pill,
.elementor button.btn-green {
	border-color: transparent;
}

button.contact-submit,
.contact-submit {
	color: #fff !important;
	background-color: #7a9b21 !important;
	border: none !important;
}

button.contact-submit:hover,
.contact-submit:hover {
	background-color: #69851c !important;
	color: #fff !important;
}

/* Champs : Hello utilise border #666 */
.elementor input[type="date"],
.elementor input[type="email"],
.elementor input[type="number"],
.elementor input[type="password"],
.elementor input[type="search"],
.elementor input[type="tel"],
.elementor input[type="text"],
.elementor input[type="url"],
.elementor select,
.elementor textarea,
.contact-form input,
.contact-form textarea {
	border: 1px solid #d1d5db;
	border-radius: 0;
}

.elementor input:focus,
.elementor select:focus,
.elementor textarea:focus,
.contact-form input:focus,
.contact-form textarea:focus {
	border-color: #7a9b21;
	outline: none;
}
