/* ================================================
   BLOG SIMPLIFY'DOC - CSS MINIMAL
   Style épuré qui s'intègre avec le design du site
   ================================================ */

/* Hover effet sur les cartes de blog */
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(43, 95, 158, 0.15) !important;
}

.blog-card a img:hover {
    opacity: 0.95;
}

/* Style des titres dans le contenu */
.post-content h2 {
    color: #2B5F9E;
    font-size: 1.8rem;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #2B5F9E;
}

.post-content h3 {
    color: #2B5F9E;
    font-size: 1.4rem;
    margin: 30px 0 15px;
}

.post-content h4 {
    color: #212529;
    font-size: 1.2rem;
    margin: 25px 0 12px;
    font-weight: 600;
}

/* Paragraphes */
.post-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Listes */
.post-content ul,
.post-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.post-content li {
    margin-bottom: 10px;
}

/* Liens */
.post-content a {
    color: #2B5F9E;
    text-decoration: underline;
}

.post-content a:hover {
    opacity: 0.8;
}

/* Images */
.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
}

/* Citations */
.post-content blockquote {
    border-left: 4px solid #2B5F9E;
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #495057;
}

/* Texte en gras */
.post-content strong,
.post-content b {
    font-weight: 700;
    color: #212529;
}

/* Code */
.post-content code {
    background: #f8f9fa;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.9em;
}

.post-content pre {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
}

.post-content pre code {
    background: none;
    padding: 0;
}

/* Séparateurs */
.post-content hr {
    border: none;
    border-top: 2px solid #e9ecef;
    margin: 40px 0;
}

/* Tables */
.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
}

.post-content th,
.post-content td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.post-content th {
    background: #f8f9fa;
    font-weight: 600;
    color: #2B5F9E;
}

/* Navigation pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    padding: 10px 18px;
    background: white;
    border: 2px solid #2B5F9E;
    color: #2B5F9E;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination span.current {
    background: #2B5F9E;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr !important;
    }
    
    .post-content h2 {
        font-size: 1.5rem;
    }
    
    .post-content h3 {
        font-size: 1.2rem;
    }
    
    nav[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
    
    nav div[style*="text-align: right"] {
        text-align: left !important;
    }
}

@media (max-width: 480px) {
    article h1 {
        font-size: 1.8rem !important;
    }
    
    .post-content {
        font-size: 1rem !important;
    }
}
