/*
 Theme Name: Bookstore Exhibition Child
 Theme URI: https://www.mizanthemes.com/products/free-bookstore-wordpress-theme/
 Description: Thème enfant pour Bookstore Exhibition
 Author: yoyo moi
 Author URI: 
 Template: bookstore-exhibition
 Version: 1.0
 License: GPLv3
 License URI: http://www.gnu.org/licenses/gpl-3.0.html
 Text Domain: bookstore-exhibition-child
*/

/* Import des styles du thème parent */
@import url("../bookstore-exhibition/style.css");

/* Agrandir la catégorie actuelle dans le chemin de navigation */
//.category-path .current-category {
    //font-size: 1em;  /* Agrandir la taille de la police */
    //margin-left: 5px;  /* Optionnel : pour ajouter un peu d'espace à gauche */
//}

/* Agrandir la catégorie actuelle dans le chemin de navigation */
//.category-path .current-tag {
    //font-size: 1.5em;  /* Agrandir la taille de la police */
    //margin-left: 5px;  /* Optionnel : pour ajouter un peu d'espace à gauche */
//}

/* Pour le carré bleu qui affiche le mois et l'année*/
.custom-entry-date .entry-annee,
span.entry-annee {
    font-size: 25px !important;
    font-weight: bold !important;
    line-height: 26px !important;
    padding: 7px 0 10px !important;
    color: #fff !important;
    width: 73px !important;
    display: inline-block;
}
footer.entry-footer {
    margin-bottom: 25px;
}
.entry-footer{
    background: #f5f5fa; /* Correction: ajout du point-virgule */
    padding: 5px;
    display: inline-block;
    width: 100%;
    margin-top: 00px;
}


/* Structure pour les puces avec les fleches */
.entry-content ul {
    list-style-type: none !important;  /* On enlève les puces par défaut */
    padding-left: 2rem !important;
}
.entry-content ul li {
    color: #727272 !important;
    font-size: 18px !important;
    position: relative !important;     /* Pour positionner la flèche */
}
.entry-content ul li::before {
    content: "→ " !important;
    color: #727272 !important;        /* Même couleur que le texte */
    position: absolute !important;
    left: -1.5rem !important;         /* Position de la flèche */
}



/* Style pour les listes numérotées */
.entry-content ol,
.wp-block-list {
    list-style-type: none !important;  /* Supprime la numérotation automatique */
    padding-left: 1.5rem !important;
    counter-reset: myCounter !important;  /* Initialise notre propre compteur */
}
.entry-content ol li,
.wp-block-list li {
    color: #727272 !important;
    font-size: 18px !important;
    position: relative !important;
}
.wp-block-list li::before {
    content: counter(myCounter) ". " !important;  /* Ajoute le numéro et le point */
    counter-increment: myCounter !important;      /* Incrémente le compteur */
    position: absolute !important;
    left: -1.5rem !important;
    color: #727272 !important;
}


#sidebar-primary.sidebar .menu-testing-menu-container{
    padding-left: 30px;
}
.sidebar ul li::before {
    color: var(--primary-color) !important;
    content: "\f3ed";
    display: inline-block;
    font-family: FontAwesome;
    font-size: 13px;
    left: 0;
    position: absolute;
    top: 6px;
    margin-left: 2px;
}

/* pour les petits icones Auteur Catégorie date */
span.comments-link::before {
    content: "\f0e6";
    color: var(--primary-color);
}
.entry-footer > .cat-links::before {
    content: "\f015"; /*Accueil*/
    color: var(--primary-color);
}
.entry-footer .tags-links::before {
    content: "\f518";/*Auteur*/
}
.entry-footer > .posted-on::before {
    content: "\f133";/*Date*/
    color: var(--primary-color);
}

/* Soulignement des liens */
footer.entry-footer .cat-links a,
footer.entry-footer .tags-links a {
    text-decoration: underline !important; /* Force le soulignement */
    text-decoration-color: var(--primary-color) !important; /* Couleur du soulignement */
    text-decoration-thickness: 1px !important; /* Épaisseur du soulignement */
}

/* Aligner la date à droite */
/* Aligner la date à droite avec Flexbox */
.entry-footer {
    display: flex;
    justify-content: space-between; /* Aligne les éléments à gauche et à droite */
    align-items: center; /* Centre verticalement les éléments */
}

.entry-footer .posted-on {
    margin-left: auto; /* Pousse la date à droite */
}

/* Styles pour assurer le fond blanc comme dans le thème parent */
body {
    background-color: #fff;
    font-family: 'DM Sans', sans-serif;
}

#primary article.hentry {
    background: #ffffff none repeat scroll 0 0;
    box-shadow: 0 0 2px #cfcfcf;
    padding: 15px 15px;
    position: relative;
    margin: 50px 0px;
}

.page-header {
    background: #ffffff none repeat scroll 0 0;
    box-shadow: 0 0 2px #cfcfcf;
    margin-bottom: 20px;
    padding: 5px 30px;
}

.sidebar .widget {
    padding: 40px 30px;
    border-radius: 0;
    position: relative;
    box-shadow: 0 0 2px #727070;
    border-bottom: 3px solid var(--primary-color);
    background: #ffffff;
}