/* ============================================================
   1. STYLE GLOBAL & MOBILE (Par défaut : Couleur & Visible)
   ============================================================ */

/* On s'assure que le titre est beau et bien placé */
.card_report .eael-entry-title {
    font-family: 'Lato', sans-serif !important;
    font-weight: 300 !important;
    text-transform: uppercase !important;
    letter-spacing: 3px !important;
    color: white !important;
    text-shadow: 0px 2px 10px rgba(0,0,0,0.5);
    
    display: inline-block;
    width: auto;
    
    /* Positionnement sur l'image (ajustez les -135px si besoin) */
    transform: translateY(-110px);
    transition: all 0.4s ease-in-out;
}

/* Sur mobile/tablette : Toujours en couleur et visible */
.card_report .eael-entry-media img {
    filter: grayscale(0%) !important;
    opacity: 1 !important;
}

.card_report .eael-entry-overlay {
    opacity: 1 !important;
    visibility: visible !important;
    background-color: rgba(0, 0, 0, 0.1) !important; /* Voile léger permanent */
}

/* ============================================================
   2. ÉCRANS LARGES (Ordinateur : Couleurs -> Assombrissement)
   ============================================================ */

@media (min-width: 1025px) {
    
    /* État normal : Image en couleurs, pas de voile noir */
    .card_report .eael-entry-media img {
        filter: grayscale(0%) !important; /* On s'assure qu'il y a de la couleur */
        transition: all 0.6s ease-in-out !important;
    }

    .card_report .eael-entry-overlay {
        opacity: 0 !important; 
        background-color: rgba(0, 0, 0, 0.5) !important; /* On prépare un noir plus intense (0.5) */
        transition: all 0.4s ease-in-out !important;
    }

    .card_report .eael-entry-title {
        opacity: 0 !important;
        transform: translateY(-110px) !important;
        border-bottom-color: transparent !important;
    }

    /* État au SURVOL (Hover) */
    .card_report .eael-grid-post-holder:hover .eael-entry-media img {
        /* On peut ajouter un très léger flou ou réduire la luminosité si besoin */
        filter: brightness(0.8) !important; 
        transform: scale(1.05); 
    }

    .card_report .eael-grid-post-holder:hover .eael-entry-overlay {
        opacity: 1 !important; /* Le voile noir devient visible */
    }

    /* Cherchez ce bloc dans votre CSS actuel (dans la media query) */
	.card_report .eael-grid-post-holder:hover .eael-entry-title {
		opacity: 1 !important;
		transform: translateY(-150px) !important;
		border-bottom-color: white !important;
		padding-bottom: 30px !important;

		/* --- AJOUTEZ CES DEUX LIGNES ICI --- */
		color: #ffffff !important; /* On force le blanc pur */
		position: relative !important; /* <--- CRUCIAL pour le z-index */
		z-index: 10 !important;        /* On lui donne déjà une petite priorité */
		transition: all 0.4s ease-in-out;
		text-shadow: 0px 4px 10px rgba(0,0,0,0.8) !important;
	}
}

/* ============================================================
   3. NAVIGATION (SYDNEY)
   ============================================================ */
.sydney-dropdown-link {
    font-family: 'Lato', sans-serif !important;
    letter-spacing: 2px;
    color: black !important;
    text-transform: uppercase;
    font-size: 13px;
}

.sydney-dropdown-link:hover {
    border-bottom: 2px solid black;
    padding-bottom: 5px;
}
