/* VESEMT.org - Feuille de style simple */

/* Reset de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #444444;
    background-color: #ffffff;
}

/* Header */
header {
    background-color: #ffffff;
    border-bottom: 1px solid #e4e4e7;
}

.header-content {
    max-width: 1160px;
    margin: 0 auto;
    padding: 20px;
}

.site-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px;
}

.site-title a {
    color: #F44336;
    text-decoration: none;
    font-weight: bold;
}

.site-description {
    font-size: 14px;
    color: #F44336;
    font-weight: bold;
}

/* Hero Banner */
.hero-banner {
    width: 100%;
    max-width: 1406px;
    margin: 0 auto;
    overflow: hidden;
}

.hero-banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* Navigation */
nav {
    background-color: #232323;
}

nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0;
}

nav ul li {
    margin: 0;
}

nav ul li a {
    display: block;
    padding: 15px 20px;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
}

nav ul li a:hover,
nav ul li a.active {
    background-color: #F44336;
}

/* Main content */
main {
    padding: 40px 0;
}

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Posts grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.post {
    background-color: #ffffff;
    box-shadow: 0px 0px 2px 0px #E4E4E7;
    overflow: hidden;
}

.post-image {
    width: 100%;
}

.post-image img {
    width: 100%;
    height: auto;
    display: block;
}

.post-content {
    padding: 20px;
}

.post-category {
    margin-bottom: 10px;
}

.post-category a {
    color: #F44336;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
}

.post-meta {
    margin-bottom: 15px;
    font-size: 13px;
    color: #7E7777;
}

.post-date,
.post-author {
    margin-right: 15px;
}

.post-date a,
.post-author a {
    color: #7E7777;
    text-decoration: none;
}

.post-title {
    font-size: 20px;
    margin-bottom: 15px;
    line-height: 1.3;
}

.post-title a {
    color: #444444;
    text-decoration: none;
}

.post-title a:hover {
    color: #F44336;
}

.post-excerpt {
    margin-bottom: 20px;
    color: #444444;
}

.read-more {
    color: #207daf;
    text-decoration: none;
    font-weight: bold;
}

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

/* Liste de tous les articles (accueil) */
.articles-list {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 25px 30px;
    margin-bottom: 40px;
}

.articles-list h2 {
    color: #444444;
    font-size: 24px;
    margin-bottom: 6px;
}

.list-intro {
    color: #777777;
    margin-bottom: 20px;
}

.article-index {
    list-style: none;
    padding: 0;
    margin: 0;
}

.article-index .list-item {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
}

.article-index .list-item:last-child {
    border-bottom: none;
}

.article-index .list-date {
    flex: 0 0 120px;
    color: #888888;
    font-size: 13px;
}

.article-index .list-title {
    flex: 1 1 auto;
    min-width: 220px;
    color: #207daf;
    font-weight: 600;
    text-decoration: none;
}

.article-index .list-title:hover {
    text-decoration: underline;
}

.article-index .list-excerpt {
    flex: 1 1 100%;
    color: #666666;
    font-size: 14px;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .article-index .list-date {
        flex-basis: 100%;
    }
}

/* Page content */
.page {
    max-width: 760px;
    margin: 0 auto;
}

.entry-header {
    margin-bottom: 30px;
}

.entry-title {
    font-size: 32px;
    color: #444444;
    line-height: 1.3;
}

.entry-content {
    line-height: 1.8;
}

.entry-content h3 {
    font-size: 24px;
    margin: 30px 0 15px 0;
    color: #444444;
}

.entry-content p {
    margin-bottom: 20px;
}

.entry-content strong {
    color: #F44336;
}

.entry-content em {
    font-style: italic;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
}

/* Pagination */
.pagination {
    margin-top: 40px;
    text-align: center;
}

.pagination a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #F44336;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
}

.pagination a:hover {
    background-color: #D12729;
}

/* Footer */
footer {
    background-color: #252020;
    color: #ffffff;
    padding: 30px 0;
    margin-top: 40px;
}

.footer-content {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.footer-content p {
    font-size: 14px;
    color: #C1BDBD;
}

.footer-content a {
    color: #ffffff;
    text-decoration: none;
}

.footer-content a:hover {
    color: #F44336;
}

/* Responsive */
@media (max-width: 768px) {
    .posts-grid {
        grid-template-columns: 1fr;
    }

    .site-title {
        font-size: 18px;
    }

    .entry-title {
        font-size: 24px;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li a {
        padding: 10px 15px;
    }
}
