/* Blog Styles - shared across all blog pages */
:root {
    --primary-color: #1a5f3f;
    --secondary-color: #2d8659;
    --accent-color: #4CAF50;
    --light-green: #e8f5e8;
    --dark-text: #2c3e50;
    --light-text: #6c757d;
    --white: #ffffff;
    --light-bg: #f8fffe;
    --gradient: linear-gradient(135deg, #1a5f3f 0%, #2d8659 100%);
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.8;
    color: var(--dark-text);
    background: var(--light-bg);
}

.header {
    position: fixed; top: 0; left: 0; width: 100%;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.navbar {
    max-width: 1200px; margin: 0 auto;
    padding: 15px 20px;
    display: flex; justify-content: space-between; align-items: center;
}

.nav-logo a {
    display: flex; align-items: center;
    text-decoration: none; color: var(--primary-color);
    font-weight: 700; font-size: 1.8rem;
}

.logo-image { height: 40px; width: auto; margin-right: 10px; object-fit: contain; }

.nav-menu { display: flex; gap: 30px; align-items: center; list-style: none; }

.nav-link {
    color: var(--dark-text); text-decoration: none;
    font-weight: 500; font-size: 1rem; transition: color 0.3s ease;
}
.nav-link:hover { color: var(--primary-color); }

.nav-toggle { display: none; flex-direction: column; cursor: pointer; }
.bar { height: 3px; width: 25px; background-color: var(--primary-color); margin: 4px 0; border-radius: 3px; }

.blog-hero {
    background: var(--gradient); color: var(--white);
    padding: 140px 0 50px; text-align: center;
}
.blog-hero h1 { font-size: 2.2rem; font-weight: 700; margin-bottom: 10px; padding: 0 20px; }
.blog-hero .meta { font-size: 0.95rem; opacity: 0.85; }

.blog-container {
    max-width: 800px; margin: 0 auto; padding: 50px 20px;
}

.blog-article {
    background: var(--white); border-radius: 12px;
    padding: 40px; box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.blog-article h2 {
    color: var(--primary-color); font-size: 1.5rem; font-weight: 600;
    margin-top: 30px; margin-bottom: 15px;
}

.blog-article h3 {
    color: var(--secondary-color); font-size: 1.15rem; font-weight: 600;
    margin-top: 25px; margin-bottom: 10px;
}

.blog-article p { margin-bottom: 15px; }

.blog-article ul, .blog-article ol {
    margin-left: 25px; margin-bottom: 15px;
}
.blog-article ul li, .blog-article ol li { margin-bottom: 8px; }

.blog-article a { color: var(--secondary-color); text-decoration: none; font-weight: 500; }
.blog-article a:hover { text-decoration: underline; }

.info-box {
    background: var(--light-green); border-left: 4px solid var(--accent-color);
    padding: 20px; border-radius: 8px; margin: 20px 0;
}
.info-box p { margin-bottom: 5px; }

.sources {
    margin-top: 40px; padding: 25px;
    background: #f5f5f5; border-radius: 8px;
}
.sources h3 {
    color: var(--dark-text); font-size: 1rem; font-weight: 600;
    margin-bottom: 12px; border-bottom: 2px solid var(--accent-color);
    padding-bottom: 8px;
}
.sources ol { margin-left: 20px; }
.sources ol li { font-size: 0.85rem; margin-bottom: 6px; color: var(--light-text); }
.sources ol li a { color: var(--secondary-color); word-break: break-word; }

.blog-nav {
    display: flex; justify-content: space-between; gap: 20px; margin-top: 30px;
}
.blog-nav a {
    display: inline-block; padding: 12px 25px;
    background: var(--light-green); color: var(--primary-color);
    border-radius: 30px; text-decoration: none; font-weight: 500;
    transition: all 0.3s ease;
}
.blog-nav a:hover { background: var(--primary-color); color: var(--white); }

.blog-list {
    display: grid; grid-template-columns: 1fr 1fr; gap: 25px; margin-top: 30px;
}
.blog-card {
    background: var(--white); border-radius: 12px; padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease; text-decoration: none; color: var(--dark-text);
}
.blog-card:hover { transform: translateY(-5px); }
.blog-card .date { font-size: 0.8rem; color: var(--light-text); margin-bottom: 8px; }
.blog-card h3 { color: var(--primary-color); font-size: 1.1rem; margin-bottom: 10px; }
.blog-card p { font-size: 0.9rem; color: var(--light-text); }

.footer {
    background: var(--primary-color); color: var(--white);
    padding: 40px 0 20px;
}
.footer-content {
    max-width: 1200px; margin: 0 auto; padding: 0 20px;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
}
.footer-section h3 { font-size: 1.1rem; margin-bottom: 15px; }
.footer-section p { font-size: 0.9rem; margin-bottom: 8px; opacity: 0.9; }
.footer-section ul { list-style: none; }
.footer-section ul li { margin-bottom: 8px; }
.footer-section ul li a {
    color: rgba(255,255,255,0.85); text-decoration: none;
    font-size: 0.9rem; transition: color 0.3s ease;
}
.footer-section ul li a:hover { color: var(--white); }
.footer-bottom {
    text-align: center; padding: 20px; margin-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-bottom p { font-size: 0.85rem; opacity: 0.8; }

@media (max-width: 768px) {
    .nav-menu { display: none; }
    .nav-toggle { display: flex; }
    .blog-hero h1 { font-size: 1.6rem; }
    .blog-article { padding: 25px 20px; }
    .blog-list { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; gap: 25px; }
    .blog-nav { flex-direction: column; }
}
