:root {
    --bg-color: #f4f1ea;
    --primary-color: #ffffff;
    --secondary-color: #e9e4d9;
    --accent-color: #4a7c59;
    --text-color: #3d3d3d;
    --text-muted: #6c6c6c;
    --border-color: #dcd6c8;
    --font-family: 'Poppins', sans-serif;
    --header-height: 70px;
    --border-radius: 8px;
    --shadow: 0 4px 12px rgba(0,0,0,0.05);
}

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

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
}

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

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #335d40;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-color);
    margin-bottom: 0.8em;
    line-height: 1.3;
    font-weight: 600;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1.2em;
}

ul {
    list-style: none;
}

/* Header & Navigation */
.site-header {
    background-color: var(--primary-color);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

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

.site-title {
    font-size: 1.8rem;
    margin: 0;
    color: var(--accent-color);
    font-weight: 700;
}

.main-nav ul {
    display: flex;
    gap: 15px;
}

.main-nav a {
    padding: 10px 15px;
    border-radius: var(--border-radius);
    transition: background-color 0.3s ease, color 0.3s ease;
    font-weight: 600;
}

.main-nav a:hover {
    background-color: var(--secondary-color);
    color: var(--text-color);
}

.main-nav a.active {
    background-color: var(--accent-color);
    color: white;
}

/* Main Content Layout */
.main-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 40px;
    padding-bottom: 40px;
}

@media (min-width: 992px) {
    .main-content {
        grid-template-columns: 2.5fr 1fr;
    }
}

main > section {
    margin-bottom: 40px;
}

/* Article Grid on Homepage */
.article-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

@media (min-width: 768px) {
    .article-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.article-preview {
    background-color: var(--primary-color);
    border: 1px solid var(--border-color);
    padding: 25px;
    border-radius: var(--border-radius);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow);
}

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

.article-preview h3 {
    color: var(--accent-color);
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    font-weight: bold;
}

/* Sidebar */
.sidebar .widget {
    background-color: var(--primary-color);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.sidebar h3 {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.sidebar ul li {
    padding: 8px 0;
    border-bottom: 1px solid var(--secondary-color);
}

.sidebar ul li:last-child {
    border-bottom: none;
}

.promo-widget {
    background: linear-gradient(135deg, #4a7c59, #6a9979);
    color: white;
    text-align: center;
    font-weight: bold;
}

/* Footer */
.site-footer {
    background-color: var(--secondary-color);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    text-align: center;
    color: var(--text-muted);
}

/* Article Page Specifics */
.article-header {
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.article-header .meta {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.article-content {
    background: var(--primary-color);
    padding: 30px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

.article-content h2 {
    margin-top: 2em;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5em;
}

.article-content h3 {
    margin-top: 1.5em;
    color: #335d40;
}

.article-content ul {
    list-style-type: '🌿';
    padding-left: 20px;
}

.article-content ul li {
    padding-left: 10px;
    margin-bottom: 0.5rem;
}

.article-content blockquote {
    border-left: 4px solid var(--accent-color);
    padding-left: 20px;
    margin: 1.5em 0;
    font-style: italic;
    color: var(--text-muted);
    background: var(--bg-color);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    padding-top: 10px;
    padding-bottom: 10px;
}

.cta-section {
    background: var(--secondary-color);
    border: 1px solid var(--border-color);
    padding: 30px;
    text-align: center;
    border-radius: var(--border-radius);
    margin-top: 40px;
}
