/* Variables */
:root {
    --primary: #006d5b;
    --primary-hover: #005648;
    --dark: #1a1a1a;
    --text-main: #333333;
    --text-muted: #666666;
    --light: #f9f9f9;
    --white: #ffffff;
    --accent: #fbc02d;
    --container-width: 1200px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background: var(--white);
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.section-padding { 
    padding: 80px 0;
}

.centered {
    text-align: center;
}

.bg-light {
    background-color: var(--light);
}

.bg-dark {
    background-color: var(--dark);
    color: var(--white);
}

.text-white {
    color: var(--white) !important;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    min-height: 44px;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-hover);
}

.btn-outline {
    border-color: var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--dark);
}

.btn-text {
    background: none;
    border: none;
    color: var(--primary);
    font-weight: 700;
    padding: 10px 0;
    cursor: pointer;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--dark);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-item {
    font-weight: 500;
    color: var(--text-main);
}

.nav-item:hover, .nav-item.active {
    color: var(--primary);
}

.cta-nav {
    background: var(--dark);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 4px;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.burger span {
    width: 25px;
    height: 3px;
    background: var(--dark);
}

/* Hero */


.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: clamp(32px, 8vw, 64px);
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
}

.section-title {
    font-size: 36px;
    margin-bottom: 30px;
    position: relative;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-muted);
}

.about-markers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.marker-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.marker-icon {
    font-size: 24px;
}

/* Description / Mission */
.description-content {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
}

.who-is-it-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.who-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: center;
}

.who-card h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    padding: 40px;
    background: var(--white);
    border: 1px solid #eee;
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.service-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

/* Supporters Section */
.supporters-description {
    max-width: 800px;
    margin: -10px auto 40px;
    color: var(--text-muted);
}

.supporters-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 60px;
    flex-wrap: wrap;
}

.supporter-item {
    width: 120px;
    text-align: center;
}

.supporter-item img {
    width: 100px;
    height: 100px;
    margin: 0 auto 15px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.supporter-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.supporter-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-main);
}

/* Articles Section */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.article-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: var(--transition);
}

.article-card:hover {
    transform: translateY(-8px);
}

.article-img-wrapper {
    position: relative;
    height: 250px;
}

.article-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: var(--white);
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
}

.article-body {
    padding: 25px;
}

.article-body h3 {
    margin-bottom: 12px;
    font-size: 20px;
}

.article-body p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-meta {
    font-size: 12px;
    color: #999;
    margin-bottom: 20px;
}

.btn-read {
    display: block;
    padding-top: 15px;
    border-top: 1px solid #eee;
    color: var(--dark);
    font-weight: 700;
    font-size: 14px;
}

.load-more {
    text-align: center;
    margin-top: 50px;
}

.load-more .btn-outline {
    border-color: var(--primary);
    color: var(--primary);
}

/* Footer */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer h4 {
    margin-bottom: 20px;
    font-size: 18px;
}

#newsletter-form {
    display: flex;
    gap: 10px;
}

#newsletter-form input {
    padding: 10px;
    border-radius: 4px;
    border: none;
    flex-grow: 1;
}

#newsletter-form button {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 14px;
    color: #888;
}

/* Responsive */
@media (max-width: 1280px) {
    .container { width: 95%; }
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .burger { display: flex; }
    .nav-links {
        position: absolute;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        padding: 50px 20px;
        transition: var(--transition);
    }
    .nav-links.active { left: 0; }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .who-is-it-grid, .services-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 { font-size: 40px; }
    .supporters-grid { gap: 30px; }
}

@media (max-width: 414px) {
    .section-padding { padding: 50px 0; }
    .articles-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
/* Specific styles for the Article Page layout to complement existing style.css */


.article-meta {
    margin-top: 20px;
    font-size: 1rem;
    display: flex;
    gap: 20px;
    opacity: 0.9;
    font-weight: 300;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 60px;
    align-items: start;
}

.article-body-text {
    max-width: 750px;
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-main);
}

.article-body-text h2 {
    font-size: 2rem;
    margin: 40px 0 20px;
    color: var(--dark);
}

.article-body-text h3 {
    font-size: 1.5rem;
    margin: 30px 0 15px;
    color: var(--dark);
}

.article-body-text p {
    margin-bottom: 25px;
}

.article-body-text blockquote {
    border-left: 5px solid var(--primary);
    padding: 20px 30px;
    margin: 40px 0;
    background: var(--light);
    font-style: italic;
    font-size: 1.4rem;
    color: var(--primary-hover);
}

.article-body-text ul, .article-body-text ol {
    margin-bottom: 25px;
    padding-left: 25px;
}

.article-body-text li {
    margin-bottom: 10px;
}

.inline-img {
    margin: 40px 0;
}

.inline-img img {
    border-radius: 8px;
    width: 100%;
}

.inline-img span {
    display: block;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 10px;
}

/* Sidebar Styling */
.sidebar-sticky {
    position: sticky;
    top: 100px;
}

.sidebar-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.recent-posts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.recent-item-link {
    font-weight: 600;
    line-height: 1.4;
    color: var(--dark);
    font-size: 1rem;
    display: block;
}

.recent-item-link:hover {
    color: var(--primary);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .article-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .article-body-text {
        max-width: 100%;
    }
    .sidebar-sticky {
        position: static;
    }
}

@media (max-width: 768px) {
    .article-hero {
        height: 50vh;
    }
    .article-body-text {
        font-size: 1.05rem;
    }
}