/* === CSS Variables (Victor Zhou Design System) === */
:root {
    --green-dark: #2D5016;
    --green-mid: #3D6B1E;
    --green-light: #558B2F;
    --gold: #C9A96E;
    --gold-light: #D4B87A;
    --white: #FFFFFF;
    --off-white: #F5F3EE;
    --gray-light: #E8E5DF;
    --gray-mid: #9E9E9E;
    --gray-dark: #333333;
    --text: #2C2C2C;
    --text-light: #5C5C5C;
    --font-heading: 'Merriweather', Georgia, serif;
    --font-body: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
    --max-width: 1140px;
    --border-radius: 8px;
    --shadow: 0 2px 12px rgba(0,0,0,0.08);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--text); line-height: 1.7; background: var(--white); }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--green-dark); line-height: 1.3; }
h1 { font-size: 2.4rem; margin-bottom: 0.5rem; }
h2 { font-size: 1.8rem; margin-bottom: 0.4rem; }
h3 { font-size: 1.3rem; margin-bottom: 0.3rem; }
a { color: var(--green-mid); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--green-dark); text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
p { margin-bottom: 1rem; }
ul { margin-bottom: 1rem; padding-left: 1.5rem; }
.btn { display: inline-block; padding: 12px 28px; font-family: var(--font-body); font-weight: 600; font-size: 1rem; border: 2px solid transparent; border-radius: var(--border-radius); cursor: pointer; text-align: center; transition: all 0.2s; }
.btn-primary { background: var(--green-mid); color: var(--white); border-color: var(--green-mid); }
.btn-primary:hover { background: var(--green-dark); border-color: var(--green-dark); text-decoration: none; color: var(--white); }
.btn-outline { background: transparent; color: var(--green-mid); border-color: var(--green-mid); }
.btn-outline:hover { background: var(--green-mid); color: var(--white); text-decoration: none; }
.site-header { background: var(--white); border-bottom: 3px solid var(--green-mid); position: sticky; top: 0; z-index: 1000; box-shadow: 0 1px 6px rgba(0,0,0,0.05); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: var(--green-dark); text-decoration: none; }
.logo:hover { text-decoration: none; }
.logo-icon { font-size: 1.8rem; margin-right: 8px; }
.logo-highlight { color: var(--gold); }
.nav-list { display: flex; list-style: none; gap: 24px; padding: 0; margin: 0; }
.nav-list a { font-weight: 600; color: var(--text); padding: 8px 0; border-bottom: 2px solid transparent; }
.nav-list a:hover, .nav-list a.active { color: var(--green-mid); border-bottom-color: var(--gold); text-decoration: none; }
.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text); }
.hero { background: linear-gradient(135deg, var(--green-dark) 0%, #1a3509 100%); color: var(--white); padding: 80px 0; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: url('https://images.unsplash.com/photo-1587174486073-ae5e5cff23aa?w=1200&h=600&fit=crop') center/cover; opacity: 0.15; }
.hero-content { position: relative; z-index: 1; }
.hero h1 { color: var(--white); font-size: 2.8rem; margin-bottom: 0.8rem; }
.hero-subtitle { font-size: 1.15rem; max-width: 640px; margin: 0 auto 24px; opacity: 0.9; }
.hero-search { display: flex; max-width: 500px; margin: 0 auto; gap: 8px; }
.hero-search input { flex: 1; padding: 14px 18px; border: none; border-radius: var(--border-radius); font-size: 1rem; }
.hero-search .btn { white-space: nowrap; }
section { padding: 56px 0; }
.section-desc { color: var(--text-light); margin-bottom: 28px; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.card { background: var(--white); border: 1px solid var(--gray-light); border-radius: var(--border-radius); overflow: hidden; transition: box-shadow 0.2s; }
.card:hover { box-shadow: var(--shadow); }
.card img { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 16px; }
.card-body h3 { font-size: 1.15rem; margin-bottom: 6px; }
.card-body h3 a { color: var(--green-dark); }
.card-body p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 0; }
.card-meta { font-size: 0.8rem; color: var(--gray-mid); margin-top: 8px; }
.rating-badge { display: inline-block; background: var(--gold); color: var(--white); padding: 3px 10px; border-radius: 20px; font-size: 0.85rem; font-weight: 700; margin-bottom: 8px; }
.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.article-card { background: var(--white); border: 1px solid var(--gray-light); border-radius: var(--border-radius); overflow: hidden; transition: box-shadow 0.2s; }
.article-card:hover { box-shadow: var(--shadow); }
.article-card img { width: 100%; height: 180px; object-fit: cover; }
.article-card-body { padding: 14px; }
.article-card-body h3 { font-size: 1.05rem; }
.article-card-body h3 a { color: var(--green-dark); }
.article-card-body p { font-size: 0.85rem; color: var(--text-light); margin-bottom: 0; }
.newsletter-cta { background: var(--off-white); text-align: center; }
.newsletter-cta h2 { margin-bottom: 0.5rem; }
.newsletter-form { display: flex; max-width: 440px; margin: 20px auto 0; gap: 8px; }
.newsletter-form input { flex: 1; padding: 12px 16px; border: 2px solid var(--gray-light); border-radius: var(--border-radius); font-size: 1rem; }
.newsletter-form input:focus { border-color: var(--green-mid); outline: none; }
.article-main { display: grid; grid-template-columns: 1fr 300px; gap: 40px; padding: 40px 20px; }
.article-main article { font-size: 1.05rem; line-height: 1.85; }
.article-main article h1 { font-size: 2rem; margin-bottom: 0.5rem; }
.article-main article h2 { font-size: 1.5rem; margin: 28px 0 12px; border-bottom: 2px solid var(--gold-light); padding-bottom: 6px; }
.article-main article h3 { font-size: 1.2rem; margin: 20px 0 8px; }
.article-main article img { border-radius: var(--border-radius); margin: 16px 0; }
.article-main .article-meta { color: var(--gray-mid); font-size: 0.85rem; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--gray-light); }
.article-sidebar .sidebar-widget { background: var(--off-white); border-radius: var(--border-radius); padding: 20px; margin-bottom: 20px; }
.article-sidebar h4 { font-size: 1.1rem; margin-bottom: 10px; }
.comparison-table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 0.95rem; }
.comparison-table th { background: var(--green-dark); color: var(--white); padding: 12px; text-align: left; }
.comparison-table td { padding: 10px 12px; border-bottom: 1px solid var(--gray-light); }
.comparison-table tr:nth-child(even) { background: var(--off-white); }
.comparison-table .btn { padding: 6px 16px; font-size: 0.85rem; }
.cta-box { background: var(--off-white); border-left: 4px solid var(--gold); padding: 20px; border-radius: 0 var(--border-radius) var(--border-radius) 0; margin: 24px 0; }
.cta-box p { margin-bottom: 8px; }
.cta-box .btn { margin-top: 8px; }
.faq-block { margin: 24px 0; }
.faq-block details { margin-bottom: 12px; background: var(--off-white); border-radius: var(--border-radius); padding: 14px 18px; }
.faq-block summary { font-weight: 600; cursor: pointer; color: var(--green-dark); }
.faq-block details p { margin-top: 10px; }
.author-box { display: flex; align-items: center; gap: 16px; background: var(--off-white); padding: 20px; border-radius: var(--border-radius); margin-top: 32px; }
.author-box img { width: 64px; height: 64px; border-radius: 50%; }
.author-box p { margin: 0; font-size: 0.9rem; }
.page-main { padding: 40px 20px; max-width: 800px; margin: 0 auto; }
.page-content h2 { margin-top: 24px; }
.contact-form label { display: block; font-weight: 600; margin: 16px 0 4px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px; border: 2px solid var(--gray-light); border-radius: var(--border-radius); font-family: var(--font-body); font-size: 1rem; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--green-mid); outline: none; }
.contact-form .btn { margin-top: 16px; }
.form-note { margin-top: 16px; font-size: 0.9rem; color: var(--text-light); }
.category-main { padding: 40px 20px; }
.category-main h1 { margin-bottom: 0.3rem; }
.category-main > p { color: var(--text-light); margin-bottom: 28px; }
.site-footer { background: var(--green-dark); color: rgba(255,255,255,0.85); padding: 48px 0 0; margin-top: 48px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.footer-logo { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700; color: var(--white); }
.footer-logo span { color: var(--gold-light); }
.footer-grid h4 { color: var(--white); font-size: 1rem; margin-bottom: 10px; }
.footer-grid ul { list-style: none; padding: 0; }
.footer-grid ul li { margin-bottom: 6px; }
.footer-grid a { color: rgba(255,255,255,0.75); }
.footer-grid a:hover { color: var(--gold-light); text-decoration: none; }
.footer-disclosure p { font-size: 0.85rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); margin-top: 32px; padding: 16px 0; text-align: center; font-size: 0.85rem; }
.skeleton { animation: pulse 1.5s infinite; }
.skeleton-img { height: 180px; background: var(--gray-light); border-radius: var(--border-radius); }
.skeleton-text { height: 16px; background: var(--gray-light); border-radius: 4px; margin-bottom: 8px; width: 100%; }
.skeleton-text.short { width: 60%; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
@media (max-width: 768px) {
    h1 { font-size: 1.8rem; }
    .hero h1 { font-size: 2rem; }
    .hero { padding: 48px 0; }
    .nav-toggle { display: block; }
    .nav-list { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--white); border-bottom: 3px solid var(--green-mid); padding: 16px 20px; box-shadow: var(--shadow); }
    .nav-list.active { display: flex; }
    .article-main { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .card-grid { grid-template-columns: 1fr; }
    .hero-search { flex-direction: column; }
    .newsletter-form { flex-direction: column; }
}
@media (max-width: 480px) {
    .container { padding: 0 12px; }
    section { padding: 32px 0; }
}