/*
Theme Name: MBIS
Theme URI: https://mbis-inc.net
Description: Theme pour MBIS
Author: AOUINE Mohamed
Author URI: https://aouine.com
Template: hello-elementor
Version: 1.0.0
*/

/*
 * Styles de la bannière
 * Utilisation de "body" pour une spécificité maximale
 */
body .banner-container {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 30px;
}

/*
 * Styles pour le conteneur principal du contenu de l'article
 * Centré et aéré
 */
body .content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    line-height: 1.7;
    font-size: 1.1em;
}

/*
 * Styles pour le titre de l'article
 */
body .post-template h1 {
    font-family: 'Georgia', serif;
    font-size: 2.8em;
    color: #333;
    margin-bottom: 25px;
    text-align: center;
}

/*
 * Styles pour les meta-données de l'article
 */
body .post-meta {
    font-size: 0.9em;
    color: #777;
    margin-bottom: 30px;
    text-align: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

body .post-meta .post-category,
body .post-meta .post-date {
    display: inline-block;
    margin: 0 10px;
    padding: 5px 10px;
    background-color: #f5f5f5;
    border-radius: 3px;
}

/*
 * Styles pour le contenu de l'article
 */
body .entry-content {
    margin-top: 30px;
}

body .entry-content p {
    margin-bottom: 1.5em;
}

/*
 * Styles pour les listes
 * Puces personnalisées en orange
 */
body .entry-content ul,
body .entry-content ol {
    margin-bottom: 1.5em;
    padding-left: 25px;
}

body .entry-content ul {
    list-style-type: none;
}

body .entry-content ul li {
    position: relative;
    padding-left: 1.5em;
}

body .entry-content ul li::before {
    content: "•";
    color: #FF8C00;
    position: absolute;
    left: 0;
}

/*
 * Styles pour les titres à l'intérieur du contenu
 */
body .entry-content h2 {
    font-size: 2em;
    color: #444;
    margin-top: 1.8em;
    margin-bottom: 0.8em;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

body .entry-content h3 {
    font-size: 1.6em;
    color: #555;
    margin-top: 1.5em;
    margin-bottom: 0.7em;
}

/*
 * Styles pour les images à l'intérieur du contenu
 */
body .entry-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 2.5em auto;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/*
 * Styles pour les citations (blockquote)
 */
body .entry-content blockquote {
    border-left: 4px solid #FF8C00;
    padding: 15px 20px;
    margin: 2em 0;
    background-color: #fffaf0;
    font-style: italic;
    color: #555;
}

/*
 * Styles pour le conteneur principal de l'archive
 */
body .content-container.archive-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    padding-top: 30px;
    padding-bottom: 50px;
}

/* Styles pour la grille d'articles */
body .archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* Styles pour chaque article dans la grille */
body .archive-post {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

body .archive-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}


body .post-content-wrap {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}



body .post-content-wrap h2 a {
    text-decoration: none;
    color: #333;
}

body .entry-summary {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 15px;
    flex-grow: 1;
}

body .read-more-link {
    color: #FF8C00;
    font-weight: bold;
    text-decoration: none;
    align-self: flex-start;
}

body .read-more-link:hover {
    text-decoration: underline;
}

/*
 * Styles pour le titre de la page d'archive
 */
body .page-header {
    text-align: center;
    margin-bottom: 40px;
}

body .archive-description {
    font-style: italic;
    color: #777;
    margin-top: 10px;
}