* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f2f4f0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-header {
    background-color: #fff;
    border-bottom: 1px solid rgba(74, 124, 89, 0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .header-container {
        flex-direction: row;
        justify-content: space-between;
    }
}

.logo {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 2.2rem;
    font-weight: 900;
    color: #4a7c59;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-item {
    display: inline-block;
}

.nav-link {
    text-decoration: none;
    color: #444;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #4a7c59;
    background-color: rgba(74, 124, 89, 0.05);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #4a7c59;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

.main-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    flex: 1;
}

@media (min-width: 992px) {
    .main-container {
        flex-direction: row;
    }
}

.main-content {
    flex: 1;
}

.sidebar {
    width: 100%;
    padding: 1.5rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

@media (min-width: 992px) {
    .sidebar {
        width: 320px;
    }
}

.article-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .article-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .article-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.article-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
}

.article-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.article-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.article-title {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.article-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-title a:hover {
    color: #4a7c59;
}

.article-meta {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 1rem;
    display: flex;
    gap: 1rem;
}

.article-excerpt {
    color: #555;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.read-more {
    display: inline-block;
    align-self: flex-start;
    background-color: #4a7c59;
    color: white;
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.read-more:hover {
    background-color: #3a6548;
    transform: scale(1.03);
}

h1, h2, h3, h4 {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-weight: 700;
    color: #222;
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
    border-bottom: 3px solid #4a7c59;
    padding-bottom: 0.5rem;
}

h2 {
    font-size: 2rem;
    margin-top: 2rem;
}

h3 {
    font-size: 1.5rem;
}

.sidebar h3 {
    color: #4a7c59;
    border-left: 4px solid #4a7c59;
    padding-left: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer {
    background-color: #2c3e2f;
    color: #e0e6dd;
    padding: 3rem 0 2rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
}

.footer-logo {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 1rem;
}

.footer-nav .nav-list {
    justify-content: flex-start;
    gap: 1rem;
}

.footer-nav .nav-link {
    color: #b8c9bb;
    font-weight: 500;
}

.footer-nav .nav-link:hover {
    color: #fff;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid #405a45;
    color: #a0b0a3;
    font-size: 0.9rem;
    width: 100%;
}