:root {
    --primary-color: #2A7E70;
    --secondary-color: #F5F5F5;
    --text-color: #333333;
    --light-text: #666666;
    --background-color: #FFFFFF;
    --border-color: #EEEEEE;
    --spacing-unit: 1rem;
}

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

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

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

a:hover {
    color: #1D5C52;
}

/* Header & Navigation */
header {
    padding: var(--spacing-unit) 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 3rem;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 600;
    font-size: 1.4rem;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

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

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

/* Main Content */
main {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--spacing-unit) 4rem;
}

.article-container {
    margin-bottom: 4rem;
}

.article-meta {
    margin-bottom: 1rem;
    display: flex;
    gap: 1rem;
}

.category {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.9rem;
}

.date {
    color: var(--light-text);
    font-size: 0.9rem;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.article-author {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--light-text);
}

.article-featured-image {
    margin-bottom: 2rem;
    border-radius: 4px;
    overflow: hidden;
}

.article-featured-image img {
    width: 100%;
    max-height: 600px;
    display: block;
    transition: transform 0.3s ease;
}

.article-featured-image:hover img {
    transform: scale(1.02);
}

.article-content {
    margin-bottom: 3rem;
}

.lead {
    font-size: 1.2rem;
    color: #444;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

h2 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: var(--text-color);
}

p {
    margin-bottom: 1rem;
}

ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
}

blockquote {
    border-left: 3px solid var(--primary-color);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #555;
}

.article-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn-primary,
.btn-secondary {
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

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

.btn-primary:hover {
    background-color: #1D5C52;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--text-color);
}

.btn-secondary:hover {
    background-color: #e5e5e5;
}

.article-related {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.article-related h3 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.related-articles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.related-article {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.related-article:hover {
    transform: translateY(-5px);
}

.related-article h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.related-date {
    font-size: 0.85rem;
    color: var(--light-text);
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    padding: 3rem var(--spacing-unit) 1rem;
    margin-top: 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.footer-section p {
    font-size: 0.9rem;
    color: var(--light-text);
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-links a {
    font-size: 0.9rem;
}

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--light-text);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .article-featured-image img {
        width: 100%;
        max-height: 300px;
        display: block;
        transition: transform 0.3s ease;
        object-fit: cover;
    }


    .nav-links {
        display: none;
    }

    .article-title {
        font-size: 2rem;
    }

    .article-author {
        flex-direction: column;
        gap: 0.5rem;
    }

    .related-articles {
        grid-template-columns: 1fr;
    }
}