/* ---
Theme: Minimalist Clean
Font: Inter
Language: French
Tone: Informative & Straightforward
--- */

/* Basic Reset & Font Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    background-color: #f8f9fa;
    color: #212529;
    font-size: 16px;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
.site-header {
    background-color: #ffffff;
    padding: 20px 0;
    border-bottom: 1px solid #dee2e6;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #212529;
    text-decoration: none;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

.main-nav a {
    text-decoration: none;
    color: #495057;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: #007bff;
}

/* Main Content Layout */
.main-content {
    padding: 40px 0;
}

.layout-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

/* Main Article/Page Content */
.main-column {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.page-header h1,
.article-header h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #212529;
}

.page-content p,
.article-content p {
    margin-bottom: 1.5rem;
    color: #495057;
}

.page-content h2,
.article-content h2 {
    font-size: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
}

.page-content h3,
.article-content h3 {
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #343a40;
}

.page-content ul,
.article-content ul {
    margin-left: 20px;
    margin-bottom: 1.5rem;
}

.page-content li,
.article-content li {
    margin-bottom: 0.5rem;
}

.page-content a,
.article-content a {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    transition: text-decoration 0.3s ease;
}

.page-content a:hover,
.article-content a:hover {
    text-decoration: underline;
}


/* Article Metadata */
.article-meta {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 30px;
    display: flex;
    gap: 20px;
}

/* Homepage Article List */
.article-list {
    display: grid;
    gap: 30px;
}

.article-preview {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.article-preview:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.article-preview h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.article-preview h2 a {
    text-decoration: none;
    color: #212529;
}

.article-preview h2 a:hover {
    color: #007bff;
}

.article-preview p {
    color: #495057;
    margin-bottom: 15px;
}

.read-more {
    display: inline-block;
    color: #007bff;
    font-weight: 600;
    text-decoration: none;
}

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

/* Sidebar */
.sidebar {
    position: sticky;
    top: 100px; /* Adjust based on header height */
}

.sidebar-widget {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    margin-bottom: 30px;
}

.sidebar-widget h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    border-bottom: 2px solid #dee2e6;
    padding-bottom: 10px;
}

.sidebar-widget ul {
    list-style: none;
}

.sidebar-widget ul li {
    margin-bottom: 10px;
}

.sidebar-widget ul li a {
    text-decoration: none;
    color: #495057;
    transition: color 0.3s ease;
}

.sidebar-widget ul li a:hover {
    color: #007bff;
}

.promo-text {
    background-color: #e9f4ff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #bde0fe;
    text-align: center;
    font-weight: 600;
    color: #0056b3;
}

/* Call to Action */
.cta-section {
    background-color: #007bff;
    color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    margin-top: 40px;
}

.cta-section h2 {
    color: #ffffff;
    border-bottom: none;
    margin: 0 0 15px 0;
}

.cta-section p {
    color: #ffffff;
    margin-bottom: 20px;
}

.cta-button {
    display: inline-block;
    background-color: #ffffff;
    color: #007bff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.cta-button:hover {
    background-color: #f8f9fa;
    color: #0056b3;
}


/* Footer */
.site-footer {
    background-color: #343a40;
    color: #f8f9fa;
    text-align: center;
    padding: 30px 0;
    margin-top: 40px;
}

/* Responsive Media Queries */
@media (min-width: 768px) {
    .layout-grid {
        grid-template-columns: 2fr 1fr;
    }
    .article-list {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    .site-header .container {
        flex-direction: column;
        gap: 15px;
    }
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    .page-header h1,
    .article-header h1 {
        font-size: 2rem;
    }
}
