/* 
 Theme Name:   generate-presse-child
 Theme URI:    
 Description:  
 Author:       AswCtrl37
 Author URI:   https://dv-legsicons.askw.fr
 Template:     generatepress
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html

 /* == Add your own styles below this line ==
--------------------------------------------*/
/* ===============================
 verif si le css du Child est  bien chargé 

body {
    background: red !important;
}
 =============================== */

/* ===============================
   Structure globale
   =============================== */
#primary {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

/* ===============================
   Titres de séries
   =============================== */
   
/* Masquer le titre et le séparateur de la première série */
.dv-series-title:first-of-type,
.dv-separator:first-of-type {
    display: none;
}

/* Masquer le numéro au début du titre */
.dv-series-title {
    font-size: 24px;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 10px;
}

/* Supprimer le numéro avant le nom */
.dv-series-title::before {
    content: "";
}

.dv-series-title {
    /* masque le numéro avant le premier espace */
    visibility: visible;
}

.dv-series-title {
    /* masque le numéro en utilisant un overflow intelligent */
    text-indent: -9999px;
    display: inline-block;
    white-space: nowrap;
}

.dv-series-title span {
    /* réaffiche le nom proprement */
    text-indent: 0;
    display: inline-block;
    white-space: normal;
}

.dv-series-title {
    font-size: 28px;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 10px;
}

/* ===============================
   Séparateur
   =============================== */
   
   /* Masquer tous les séparateurs */
.dv-separator {
    display: none;
}

.dv-separator {
    border: none;
    border-top: 2px solid #333;
    margin: 20px 0;
}

/* ===============================
   Articles
   =============================== */
.dv-post {
    margin-bottom: 30px;
}

.dv-post-title {
    font-size: 20px;
    margin-bottom: 10px;
}

.dv-post-content {
    margin-bottom: 20px;
}

/* ===============================
   Pagination
   =============================== */
/* Pagination moderne DV-LegsIcons */
.dv-pagination {
    margin: 40px 0;
    text-align: center;
}

.dv-pagination ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-flex;
    gap: 8px;
}

.dv-pagination li {
    display: inline-block;
}

.dv-pagination a,
.dv-pagination span {
    padding: 8px 14px;
    border-radius: 4px;
    border: 1px solid #444;
    text-decoration: none;
    color: #444;
    font-size: 15px;
    transition: all 0.2s ease;
}

.dv-pagination a:hover {
    background: #444;
    color: #fff;
}

.dv-pagination .current {
    background: #444;
    color: #fff;
    border-color: #444;
}

/* Titres des articles dans les  shortcodes */
.legsicons-article-title {
    font-size: 1.6rem;
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    text-transform: none;
}

/* Contenu des articles */
.legsicons-article-content img {
    max-width: 100%;
    height: auto;
    margin: 1rem 0;
}

.legsicons-article-content {
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Navigation Précédent / Suivant */
.legsicons-prev,
.legsicons-next {
    font-size: 1.2rem;
    margin: 2rem 0;
}

.legsicons-prev a,
.legsicons-next a {
    text-decoration: none;
    color: #333;
}

.legsicons-prev a:hover,
.legsicons-next a:hover {
    text-decoration: underline;
}
