.wp-block-navigation-item a:hover {
    color: #6490c2 !important; 
    text-decoration: underline !important; 
    text-decoration-style: solid !important;
}
.wp-block-navigation__submenu-container {
    border-top: 5px solid #6490c2 !important;
    margin-top: 0px !important; 
    padding-top: 0px !important; 
}
.wp-block-navigation__submenu-container {
		border-bottom-left-radius: 8px ;
		border-bottom-right-radius: 8px ;
}
header.wp-block-template-part, 
.is-view-header {
    opacity: 0.5;
    transition: opacity 0.3s ease-in-out;
}
header.wp-block-template-part:hover, 
.is-view-header:hover {
    opacity: 1;
}







/* --- Effet survol cartes projets --- */

/* 1. État par défaut de la colonne texte */
.carte-projet .colonne-texte {
    background-color: #f4f6f8; /* gris très clair par défaut */
    transition: background-color 0.3s ease;
}

.carte-projet .colonne-texte h2,
.carte-projet .colonne-texte h3,
.carte-projet .colonne-texte h4,
.carte-projet .colonne-texte a {
    color: #0066a2; /* bleu par défaut */
    transition: color 0.3s ease;
}

.carte-projet .colonne-texte p {
    color: #222222; /* texte sombre */
    transition: color 0.3s ease;
}

.carte-projet .colonne-texte .wp-block-button__link {
    background-color: #0066a2;
    color: #ffffff;
    transition: background-color 0.3s ease;
}

/* 2. Inversion des couleurs au survol (Hover) */
.carte-projet:hover .colonne-texte {
    background-color: #0066a2 !important; /* fond devient bleu */
}

.carte-projet:hover .colonne-texte h2,
.carte-projet:hover .colonne-texte h3,
.carte-projet:hover .colonne-texte h4,
.carte-projet:hover .colonne-texte a,
.carte-projet:hover .colonne-texte p {
    color: #ffffff !important; /* titre et texte deviennent blancs */
}

.carte-projet:hover .colonne-texte .wp-block-button__link {
    background-color: #000000 !important; /* badges/boutons deviennent noirs */
    color: #ffffff !important;
}





/* Rend le conteneur prêt à accueillir le lien étiré */
.carte-projet {
    position: relative;
    cursor: pointer;
}

/* Étire le lien du titre sur TOUTE la carte */
.carte-projet a::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
}

/* Retire le soulignement éventuel du titre */
.carte-projet a {
    text-decoration: none;
}







.no-link-style a {
  font-weight: inherit;
  text-decoration: none;
  font-family: inherit;
  color: inherit;
  font-size: inherit;
}