/*!
Theme Name: website-cnf
Theme URI: https://cnf.tg/
Author: Automattic
Author URI: https://cnf.tg/
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: website-cnf
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ---- Inter (corps de texte) ---- */
@font-face { font-family:'Inter'; src:url('../fonts/inter-v20-latin-regular.woff2') format('woff2'); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:'Inter'; src:url('../fonts/inter-v20-latin-500.woff2')     format('woff2'); font-weight:500; font-style:normal; font-display:swap; }
@font-face { font-family:'Inter'; src:url('../fonts/inter-v20-latin-600.woff2')     format('woff2'); font-weight:600; font-style:normal; font-display:swap; }
@font-face { font-family:'Inter'; src:url('../fonts/inter-v20-latin-700.woff2')     format('woff2'); font-weight:700; font-style:normal; font-display:swap; }

/* ---- Fraunces (titres) ---- */
@font-face { font-family:'Fraunces'; src:url('../fonts/fraunces-v38-latin-regular.woff2') format('woff2'); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:'Fraunces'; src:url('../fonts/fraunces-v38-latin-500.woff2')     format('woff2'); font-weight:500; font-style:normal; font-display:swap; }
@font-face { font-family:'Fraunces'; src:url('../fonts/fraunces-v38-latin-600.woff2')     format('woff2'); font-weight:600; font-style:normal; font-display:swap; }
@font-face { font-family:'Fraunces'; src:url('../fonts/fraunces-v38-latin-700.woff2')     format('woff2'); font-weight:700; font-style:normal; font-display:swap; }


body::-webkit-scrollbar {
  display: none;           
}

.menu-item > a {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}
.menu-item:hover > a {
    color: #2F327D;
    font-weight: 500;
}
.active-menu{
    color: #2F327D;
    font-weight: bold;
}

.active-menu > a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 30%;
    width: 40%;
    height: 3px;
    background-color: #0098E7;
    border-radius: 9999px;
}

/* ============================================================
   Utilitaires responsives Tailwind manquants dans le build
   ============================================================ */
@media (min-width: 768px) {
    .md\:hidden {
        display: none !important;
    }
    .md\:flex {
        display: flex !important;
    }
    .md\:block {
        display: block !important;
    }
    .md\:inline-flex {
        display: inline-flex !important;
    }
    .md\:flex-col {
        flex-direction: column !important;
    }
    .md\:flex-row {
        flex-direction: row !important;
    }
}

@media (min-width: 1024px) {
    .lg\:hidden {
        display: none !important;
    }
    .lg\:flex {
        display: flex !important;
    }
    .lg\:block {
        display: block !important;
    }
    .lg\:inline-flex {
        display: inline-flex !important;
    }
}