/*
 * Quark 2 — user customizations
 *
 * This file is safe to edit. It is loaded last so anything here overrides
 * theme.css without having to mark rules !important.
 */

/* 1. Déverrouiller le conteneur du logo */
.navbar-section.logo .navbar-brand {
    height: auto !important;
    max-height: none !important;
    line-height: normal !important;
    display: inline-flex !important;
    align-items: center !important;
    padding: 0 !important;
}

/* 2. Ajuster le logo SVG à une taille optimale */
.navbar-section.logo .navbar-brand svg.inline-block {
    height: 58px !important;    /* 58px au lieu de 85px : lisible sans faire sauter la ligne */
    width: auto !important;
    max-height: none !important;
    max-width: none !important;
}

/* 3. Forcer la barre de menu à rester sur une seule ligne */
.header-fixed .navbar,
#header .navbar {
    display: flex !important;
    flex-wrap: nowrap !important; /* Empêche le retour à la ligne */
    align-items: center !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
}

/* 4. Réduire les espacements des liens pour libérer de la place */
.navbar-section:not(.logo) a {
    padding-left: 8px !important;
    padding-right: 8px !important;
}

/* Masquer définitivement l'élément Home du menu (affichage doublon Home et Accueil */
.dropmenu ul.navigation li:has(a[href*="/home"]),
.dropmenu ul.navigation a[href*="/home"] {
    display: none !important;
}

/* Désactiver la coupure automatique des mots avec tirets */
html, body, p, h1, h2, h3, h4, h5, h6, li, a, span {
    -webkit-hyphens: none !important;
    -moz-hyphens: none !important;
    -ms-hyphens: none !important;
    hyphens: none !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
}