/* Base Styles */
:root {
    --sage: #4A5D4E;
    --terracotta: #D9835D;
    --cream: #F9F7F2;
    --charcoal: #2D2D2D;
    --white: #ffffff;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: var(--cream);
    color: var(--charcoal);
    line-height: 1.6;
    margin: 0;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
header {
    background: var(--white);
    border-bottom: 1px solid #eee;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 800;
    letter-spacing: 1px;
    font-size: 1.2rem;
}

.logo span {
    color: var(--sage);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
}

nav a {
    text-decoration: none;
    color: var(--charcoal);
    font-weight: 500;
    font-size: 0.9rem;
}

.btn-nav {
    background: var(--sage);
    color: var(--white) !important;
    padding: 8px 16px;
    border-radius: 4px;
}

/* Article Styling */
.post {
    margin-top: 60px;
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.category {
    color: var(--terracotta);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

h1 {
    font-size: 2.5rem;
    margin: 10px 0;
    line-height: 1.1;
}

.meta {
    font-size: 0.9rem;
    color: #777;
}

.placeholder-img {
    background: #e0e0e0;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px 0;
    border-radius: 4px;
    color: #888;
}

/* TL;DR Box */
.tldr {
    background: #f0f4f1;
    border-left: 5px solid var(--sage);
    padding: 20px;
    margin: 30px 0;
}

.tldr h3 {
    margin-top: 0;
    color: var(--sage);
}

/* CTA Box */
.cta-box {
    background: var(--charcoal);
    color: var(--white);
    padding: 30px;
    text-align: center;
    border-radius: 4px;
    margin-top: 40px;
}

.btn-accent {
    background: var(--terracotta);
    border: none;
    color: white;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    transition: 0.3s;
}

.btn-accent:hover {
    filter: brightness(1.1);
}

/* Mobile Responsive */
@media (max-width: 600px) {
    nav ul { display: none; }
    h1 { font-size: 1.8rem; }
    .post { padding: 20px; }
}

/* Footer Styles */
.site-footer {
    background-color: var(--white);
    border-top: 1px solid #eee;
    padding: 60px 0 0 0;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-brand p {
    max-width: 300px;
    font-size: 0.9rem;
    color: #666;
    margin-top: 15px;
}

.footer-links h4 {
    color: var(--sage);
    font-size: 1rem;
    margin-bottom: 15px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    text-decoration: none;
    color: #777;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--terracotta);
}

.footer-bottom {
    background-color: var(--charcoal);
    color: #aaa;
    padding: 20px 0;
    text-align: center;
    font-size: 0.8rem;
}

.footer-bottom p {
    margin: 5px 0;
}

.footer-bottom .tagline {
    color: var(--sage);
    font-weight: 600;
}

/* Mobile Adjustments */
@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-brand p {
        margin: 15px auto;
    }
}