
/* OCULTAR FOTOS SIN TOCAR EL FAQ */
.author-latest-posts, 
.author-stories, 
.com-content-category-blog__items,
h3.author-latest-posts-header {
    display: none !important;
    visibility: hidden !important;
}

/* Asegura que el header y sus menús siempre estén por encima de todo */
#t4-header {
    z-index: 1000 !important;
    position: relative;
}

/* Específicamente para el menú desplegable */
.t4-megamenu .dropdown-menu {
    z-index: 9999 !important;
}


/* Desactiva totalmente la interacción con los nombres de autor */
.t4-author-name a, 
.author-name a,
.t4-author-item a {
    pointer-events: none !important;
    cursor: default !important;
    text-decoration: none !important;
    color: inherit !important;
}

/* Por si acaso el enlace está envolviendo la imagen también */
.t4-author-image a {
    pointer-events: none !important;
    cursor: default !important;
}


/* BLOQUEO TOTAL DE CLICS EN EL AUTOR */
/* Aplica a fotos, nombres y contenedores completos */

.t4-author-item a, /* Bloquea enlaces dentro del item */
.t4-author-avatar a, /* Bloquea el enlace específico de la foto */
.t4-author-name a, /* Bloquea el enlace específico del nombre */
.author-list a, /* Bloquea enlaces en listados genéricos */
.author-avatar img, /* Bloquea la interacción directa con la imagen */
[class*="author-"] a { /* Bloquea cualquier clase que empiece por 'author-' que contenga un enlace */
    pointer-events: none !important; /* Desactiva clics, toques y hovers */
    cursor: default !important;      /* Muestra el cursor de flecha normal */
    text-decoration: none !important; /* Quita subrayados */
    touch-action: none !important;   /* Desactiva gestos táctiles en móviles */
}

/* OPCIONAL: Para asegurarnos visualmente, quita cualquier efecto de opacidad al pasar el ratón por la foto */
.t4-author-avatar img:hover,
.author-avatar img:hover {
    opacity: 1 !important;
}

.t4-author-name, .author-name {
    color: #0000CC !important;
    font-size: 1.2rem;
    margin-bottom: 10px;
}



/* FORCE LE BLANC PARTOUT DANS LE MENU DROPDOWN */
.t4-megamenu .dropdown-menu, 
.t4-megamenu .dropdown-item,
.t4-megamenu .nav-link.active,
.t4-megamenu .dropdown-item.active {
    background-color: #ffffff !important;
    background: #ffffff !important;
    color: #0056b3 !important; /* Votre bleu logo */
}

/* ENLÈVE LE HOVER NOIR */
.t4-megamenu .dropdown-item:hover, 
.t4-megamenu .dropdown-item:focus {
    background-color: #f8f9fa !important;
    color: #0056b3 !important;
}



/* Empêche le logo de se dédoubler sur mobile */
.navbar-brand img + img {
    display: none !important;
}

/* Force le menu burger (les 3 barres) à être bleu, même en mode sombre */
.navbar-toggler {
    color: #0056b3 !important;
    border-color: #0056b3 !important;
}

/* Assure que l'icône à l'intérieur est visible */
.navbar-toggler-icon {
    filter: none !important;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%230056b3' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}




/* FORCE LA VISIBILITÉ DU TEXTE SUR MOBILE */
@media (max-width: 991px) {
    /* Le bouton CONTACT */
    .t4-header .btn-primary, 
    .t4-header .btn-blue,
    .t4-header a[class*="btn"] {
        color: #ffffff !important;      /* FORCE LE BLANC */
        font-size: 14px !important;     /* FORCE UNE TAILLE LISIBLE */
        font-weight: bold !important;
        text-align: center !important;
        line-height: 1 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-decoration: none !important;
    }

    /* Le texte TARIFAS */
    .t4-header .nav-link:not(.btn) {
        color: #0056b3 !important;      /* FORCE LE BLEU SUR FOND BLANC */
        font-size: 14px !important;
        font-weight: bold !important;
        display: inline-block !important;



//* 1. Masquage du bloc Social Joomlart */
div.contact-links, 
ul.nav-stacked, 
dl.contact-link.row, 
.contact-links.col-9 {
    display: none !important;
    visibility: hidden !important;
}

/* 2. Masquage des icônes spécifiques */
span.fab.fa-facebook, 
span.fab.fa-twitter, 
span.fab.fa-instagram {
    display: none !important;
}

/* 3. Masquage du mot "Follow" s'il persiste */
.contact-link dt {
    display: none !important;
}