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

:root {
    --senegal-green: #00853F;
    --senegal-yellow: #FCD116;
    --senegal-red: #E31B23;
    --white: #FFFFFF;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --bg-light: #F9FAFB;
    --bg-gray: #F3F4F6;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--bg-light);
}

/* Navigation */
nav {
    position: sticky;
    top: 0;
    background: var(--white);
    padding: 1rem 5%;
    box-shadow: var(--shadow-md);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-flag {
    width: 45px;
    height: 30px;
    display: flex;
    border-radius: 4px;
    overflow: hidden;
}

.flag-stripe {
    flex: 1;
}

.flag-green {
    background: var(--senegal-green);
}
.flag-yellow {
    background: var(--senegal-yellow);
}
.flag-red {
    background: var(--senegal-red);
}

.logo-text h1 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--senegal-green);
}

.logo-subtitle {
    font-size: 0.7rem;
    color: var(--text-light);
}

.nav-menu-desktop {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu-desktop a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.nav-menu-desktop a:hover,
.nav-menu-desktop a.active {
    color: var(--senegal-green);
}

/* Breadcrumb */
.breadcrumb {
    background: var(--white);
    padding: 1rem 5%;
    border-bottom: 1px solid var(--bg-gray);
}

.breadcrumb-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--senegal-green);
    text-decoration: none;
    transition: opacity 0.3s;
}

.breadcrumb a:hover {
    opacity: 0.7;
}

/* Article Header */
.article-header {
    background: var(--white);
    padding: 3rem 5% 2rem;
    border-bottom: 1px solid var(--bg-gray);
}

.article-header-content {
    max-width: 1200px;
    margin: 0 auto;
}

.article-category {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: var(--senegal-green);
    color: var(--white);
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

.article-title {
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.article-excerpt {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-weight: 400;
}

.article-meta {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
    padding-top: 1.5rem;
    border-top: 2px solid var(--bg-gray);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.meta-author {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.author-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--senegal-green), #006d33);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.author-name {
    font-weight: 700;
    color: var(--text-dark);
}

/* Social Share Bar */
.social-share-bar {
    background: var(--bg-light);
    padding: 1rem 5%;
    border-bottom: 1px solid var(--bg-gray);
    position: sticky;
    top: 80px;
    z-index: 100;
}

.social-share-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.share-label {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.share-buttons {
    display: flex;
    gap: 0.8rem;
}

.share-btn {
    padding: 0.6rem 1.2rem;
    border: 2px solid var(--bg-gray);
    background: var(--white);
    border-radius: 8px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.share-btn:hover {
    border-color: var(--senegal-green);
    background: var(--senegal-green);
    color: var(--white);
}

/* Featured Image */
.featured-image-section {
    padding: 2rem 5%;
    background: var(--white);
}

.featured-image-container {
    max-width: 1200px;
    margin: 0 auto;
}

.featured-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.image-caption {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
    text-align: center;
}

/* Main Content */
.article-main {
    padding: 2rem 5% 3rem;
}

.article-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
}

/* Article Body */
.article-body {
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--bg-gray);
}

.article-content h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 2.5rem 0 1.2rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--senegal-green);
}

.article-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 2rem 0 1rem;
}

.article-content p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.article-content ul,
.article-content ol {
    margin: 1.5rem 0 1.5rem 2rem;
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text-dark);
}

.article-content li {
    margin-bottom: 0.8rem;
}

.highlight-box {
    background: linear-gradient(135deg, #FFF9E6 0%, #FFF5D6 100%);
    border-left: 4px solid var(--senegal-yellow);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
}

.highlight-box strong {
    color: var(--text-dark);
    font-size: 1.1rem;
}

.info-box {
    background: var(--bg-light);
    border: 2px solid var(--bg-gray);
    padding: 1.8rem;
    margin: 2rem 0;
    border-radius: 12px;
}

.info-box-title {
    font-weight: 800;
    color: var(--text-dark);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quote-box {
    background: var(--white);
    border-left: 4px solid var(--senegal-green);
    padding: 2rem;
    margin: 2.5rem 0;
    box-shadow: var(--shadow-sm);
    border-radius: 8px;
    font-style: italic;
}

.quote-text {
    font-size: 1.3rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.quote-author {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 700;
    font-style: normal;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-card {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 2px solid var(--bg-gray);
    transition: all 0.3s;
}

.stat-card:hover {
    border-color: var(--senegal-green);
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--senegal-green);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 600;
}

/* Article Footer */
.article-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--bg-gray);
}

.tags-section {
    margin-bottom: 2rem;
}

.tags-title {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.tags-list {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.tag {
    padding: 0.5rem 1rem;
    background: var(--bg-light);
    border: 2px solid var(--bg-gray);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s;
}

.tag:hover {
    border-color: var(--senegal-green);
    background: var(--senegal-green);
    color: var(--white);
}

/* Sidebar */
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--bg-gray);
}

.sidebar-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Related Articles */
.related-article {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: 8px;
    transition: all 0.3s;
    cursor: pointer;
    margin-bottom: 1rem;
}

.related-article:hover {
    background: var(--bg-light);
}

.related-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.related-info {
    flex: 1;
}

.related-category {
    font-size: 0.7rem;
    color: var(--senegal-green);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
}

.related-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 0.3rem;
}

.related-date {
    font-size: 0.75rem;
    color: var(--text-light);
}

/* Newsletter */
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.newsletter-input {
    padding: 0.8rem;
    border: 2px solid var(--bg-gray);
    border-radius: 8px;
    font-size: 0.95rem;
    transition: border-color 0.3s;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--senegal-green);
}

.newsletter-btn {
    padding: 0.8rem;
    background: var(--senegal-green);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.newsletter-btn:hover {
    background: #006d33;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Progress Bar */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--senegal-green);
    z-index: 10000;
    transition: width 0.1s;
}

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

    .article-sidebar {
        order: 2;
    }
}

@media (max-width: 768px) {
    .article-title {
        font-size: 2rem;
    }

    .article-content h2 {
        font-size: 1.5rem;
    }

    .article-content p,
    .article-content ul,
    .article-content ol {
        font-size: 1rem;
    }

    .nav-menu-desktop {
        display: none;
    }

    .article-body {
        padding: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .share-buttons {
        flex-wrap: wrap;
    }
}

