:root {
    --primary-green: #2e7d32;
    --accent-green: #f1f8e9;
    --page-bg: #f4f7f4; 
    --text-dark: #263238;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: var(--page-bg) !important;
    margin: 0;
    color: var(--text-dark);
}

/* GRADIENT NAV BAR & PILLS */
header {
    background: linear-gradient(180deg, #ffffff 0%, var(--accent-green) 100%) !important;
    padding: 30px 20px;
    text-align: center;
    border-bottom: 4px solid var(--primary-green);
}

header nav a {
    text-decoration: none;
    color: var(--text-dark);
    padding: 10px 25px;
    margin: 0 5px;
    font-weight: 600;
    border-radius: 50px;
    display: inline-block;
}

header nav a.active {
    background-color: var(--primary-green) !important;
    color: white !important;
}

/* MAIN CONTAINER */
main {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

/* BANNER IMAGE FIX */
.hero-banner {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

/* WELCOME BUBBLE */
.welcome-section {
    background: white;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 40px;
    border-left: 6px solid var(--primary-green);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* NEWS POST BUBBLES (CARDS) */
.post-list {
    list-style: none;
    padding: 0;
}

.post-list li {
    background: white !important;
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.post-list a {
    text-decoration: none !important;
    color: var(--primary-green) !important;
    font-size: 1.3rem;
    font-weight: bold;
    display: block;
}

.category-badge {
    display: inline-block;
    background: var(--accent-green);
    color: var(--primary-green);
    font-size: 0.75rem;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 6px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.date {
    display: block;
    margin-top: 8px;
    font-size: 0.85rem;
    color: #607d8b;
}

footer { text-align: center; padding: 40px; color: #777; }
/* Prevents images from stretching too wide */
article img, .post-content-card img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto; /* Centers the image */
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
