/*your custom style goes in this file*/
/*if you're overriding style blocks from genstyle.css, you only need to include the attributes you're overriding, not the whole block*/
ul.cb-hmenu>li>a.active
{
   background: #0B0565;
   background: linear-gradient(top, #D4C6B0 0, #A4885B 84%, #947B51 100%) no-repeat;
   background: -webkit-linear-gradient(top, #D4C6B0 0, #A4885B 84%, #947B51 100%) no-repeat;
   background: linear-gradient(top, #D4C6B0 0, #A4885B 84%, #947B51 100%) no-repeat;
   -svg-background: linear-gradient(top, #D4C6B0 0, #A4885B 84%, #947B51 100%) no-repeat;
   -webkit-border-radius:8px;
   border-radius:8px;
   border:1px solid #87704A;
   padding:0 12px;
   margin:0 auto;
   color: #382D19;
   text-decoration: none;
}

ul.cb-hmenu>li>a:visited,
ul.cb-hmenu>li>a:hover,
ul.cb-hmenu>li:hover>a {
   text-decoration: none;
}
ul.cb-hmenu>li>a:hover, .desktop ul.cb-hmenu>li:hover>a
{
   background: #0B0565;
   background: linear-gradient(top, #D4C6B0 0, #A4885B 84%, #947B51 100%) no-repeat;
   background: -webkit-linear-gradient(top, #D4C6B0 0, #A4885B 84%, #947B51 100%) no-repeat;
   background: linear-gradient(top, #D4C6B0 0, #A4885B 84%, #947B51 100%) no-repeat;
   -svg-background: linear-gradient(top, #D4C6B0 0, #A4885B 84%, #947B51 100%) no-repeat;
   -webkit-border-radius:8px;
   border-radius:8px;
   border:1px solid #87704A;
   padding:0 12px;
   margin:0 auto;
}
/* Conteneur flexible pour aligner image et texte */
.wp-result-content {
    display: flex;
    align-items: flex-start;
    gap: 15px; /* Espace entre l'image et le texte */
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

/* Style de la miniature */
.wp-result-thumbnail img {
    width: 80px;      /* Taille fixe pour l'homogénéité sur TNG */
    height: 80px;
    object-fit: cover; /* Recadre l'image proprement en carré */
    border-radius: 4px;
    border: 1px solid #ddd;
    display: block;
}

/* Ajustement du texte à côté de l'image */
.wp-result-text {
    flex: 1; /* Prend tout l'espace restant */
}

.wp-result-title {
    margin: 0 0 5px 0 !important;
    font-size: 1.1em;
}

.wp-result-excerpt {
    font-size: 0.9em;
    color: #666;
    line-height: 1.4;
}

/* Responsive : sur mobile, on empile l'image et le texte */
@media (max-width: 480px) {
    .wp-result-content {
        flex-direction: column;
    }
    .wp-result-thumbnail img {
        width: 100%;
        height: auto;
    }
}


    .tngwp-results{
        display:flex;
        flex-wrap:wrap;
        gap:20px;
        margin-top:20px;
    }
    .tngwp-card{
        display:flex;
        flex-direction:row;
        border:1px solid #ddd;
        border-radius:6px;
        padding:10px;
        box-shadow:0 2px 6px rgba(0,0,0,0.1);
        background:#fff;
        width:100%;
    }
    .tngwp-card-thumb img{
        max-width:90px;
        height:auto;
        border-radius:4px;
        margin-right:15px;
    }
    .tngwp-card-body{
        flex:1;
    }
    .tngwp-card-title{
        margin:0 0 8px 0;
        font-size:1.1rem;
    }
    .tngwp-card-title a{
        text-decoration:none;
        color:#333;
    }
    .tngwp-card-title a:hover{
        text-decoration:underline;
    }
    .tngwp-card-excerpt{
        font-size:0.9rem;
    }
	
	.headerpdf {
	font-family: 'Palatino Linotype', Georgia, 'Times New Roman', Times, Serif;
	font-size: 15px;
	font-weight: normal;
	padding-bottom:6px;
	padding-top:6px;
	color: #504034;
}
