:root {
    --primary-color: #4A6741;
    --primary-dark: #3A5234;
    --secondary-color: #C2956B;
    --accent-color: #D4864E;
    --text-dark: #2B2B26;
    --text-light: #6B695E;
    --bg-light: #F7F4EF;
    --bg-white: #FFFFFF;
    --border-color: #DDD8CE;

    --color-primary: #4A6741;
    --color-primary-dark: #3A5234;
    --color-primary-light: #6B8E62;
    --color-secondary: #C2956B;
    --color-accent: #D4864E;
    --color-bg: #F7F4EF;
    --color-bg-warm: #EDE7DB;
    --color-text: #2B2B26;
    --color-text-light: #6B695E;
    --color-border: #DDD8CE;
    --color-white: #FFFFFF;
    --color-dark: #1E1E1A;

    --gradient-hero: linear-gradient(135deg, #4A6741 0%, #2C4A28 50%, #1A3018 100%);
    --gradient-warm: linear-gradient(135deg, #C2956B 0%, #D4864E 100%);
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Nunito', 'Segoe UI', sans-serif;
    --shadow-sm: 0 1px 3px rgba(74, 103, 65, 0.08);
    --shadow-md: 0 4px 12px rgba(74, 103, 65, 0.12);
    --shadow-lg: 0 8px 30px rgba(74, 103, 65, 0.15);
    --border-radius: 10px;
    --border-radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: var(--font-body);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
}

h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.4rem); }
body { font-size: clamp(1rem, 1.5vw, 1.1rem); }

.toc-details {
    background: var(--color-bg-warm);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-primary);
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    padding: 0;
}

.toc-summary {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-dark);
    cursor: pointer;
    padding: 1rem 1.5rem;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.toc-summary::-webkit-details-marker {
    display: none;
}

.toc-summary::after {
    content: '\25B8';
    font-size: 1rem;
    transition: transform 0.25s ease;
    color: var(--color-primary);
}

.toc-details[open] .toc-summary::after {
    transform: rotate(90deg);
}

.toc-details[open] .toc-summary {
    border-bottom: 1px solid var(--color-border);
}

.table-of-contents {
    padding: 1rem 1.5rem 1.5rem;
    margin: 0;
}

.table-of-contents ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.table-of-contents a {
    color: var(--color-text-light);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
    line-height: 1.5;
}

.table-of-contents a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

.hero {
    background: var(--gradient-hero);
}

.post-header {
    background: var(--gradient-hero);
}

.page-header {
    background: var(--gradient-hero);
}

.affiliate-disclosure {
    color: rgba(255,255,255,0.85);
    font-size: 0.85rem;
    margin-top: 0.75rem;
}

.post-card,
.feature-card,
.article-card,
.category-card {
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.post-card.visible,
.feature-card.visible,
.article-card.visible,
.category-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.post-meta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    opacity: 0.9;
    flex-wrap: wrap;
}

.blog-listing {
    padding: 3rem 0;
}

.posts-container {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

.post-card {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    padding: 1.5rem;
    transition: var(--transition);
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.post-card .post-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.post-card .post-title a {
    color: var(--color-dark);
}

.post-card .post-title a:hover {
    color: var(--color-primary);
}

.post-card .article-meta {
    display: flex;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 0.75rem;
}

.post-card .post-excerpt {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.post-card .read-more {
    color: var(--color-primary);
    font-weight: 600;
}

.post-card .read-more:hover {
    color: var(--color-primary-dark);
}

@media print {
    .header, .footer, .hero-buttons, .post-navigation, .related-posts {
        display: none;
    }
}