:root {
    --bg: #fafafa;
    --bg2: #ffffff;
    --bg3: #f4f4f4;
    --border: #e8e8e8;
    --accent: #2d6a4f;
    --accent2: #f4a261;
    --accent-light: #e8f5ef;
    --text: #111827;
    --text-muted: #6b7280;
    --radius: 8px;
    --font-head: 'DM Serif Display', serif;
    --font-body: 'DM Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 16px; line-height: 1.7; }
a { color: inherit; text-decoration: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* HEADER */
.site-header { background: var(--bg2); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; padding: 14px 0; box-shadow: 0 1px 8px rgba(0,0,0,0.06); }
.header-inner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.logo { font-family: var(--font-head); font-size: 28px; color: var(--text); white-space: nowrap; }
.logo span { color: var(--accent); }
.header-search { display: flex; flex: 1; min-width: 200px; max-width: 400px; }
.header-search input { flex: 1; background: var(--bg3); border: 1px solid var(--border); border-right: none; color: var(--text); padding: 9px 14px; border-radius: var(--radius) 0 0 var(--radius); font-family: var(--font-body); font-size: 14px; outline: none; }
.header-search input:focus { border-color: var(--accent); background: #fff; }
.header-search button { background: var(--accent); border: none; padding: 9px 14px; border-radius: 0 var(--radius) var(--radius) 0; cursor: pointer; font-size: 15px; }
nav { display: flex; gap: 24px; flex-wrap: wrap; }
nav a { color: var(--text-muted); font-size: 14px; font-weight: 500; transition: color 0.2s; }
nav a:hover { color: var(--accent); }

main.container { padding-top: 0; padding-bottom: 60px; }

/* HERO */
.site-hero { background: linear-gradient(135deg, var(--accent) 0%, #1a4731 100%); color: #fff; padding: 60px 0; margin-bottom: 50px; }
.hero-inner { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.hero-text h1 { font-family: var(--font-head); font-size: clamp(32px, 5vw, 56px); line-height: 1.1; margin-bottom: 16px; }
.hero-text h1 span { color: var(--accent2); }
.hero-text p { color: rgba(255,255,255,0.85); font-size: 18px; margin-bottom: 24px; max-width: 560px; }
.hero-cats { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-cat-pill { background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25); color: #fff; padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 500; transition: background 0.2s; }
.hero-cat-pill:hover { background: rgba(255,255,255,0.25); }
.hero-stats { display: flex; flex-direction: column; gap: 16px; }
.stat-card { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius); padding: 20px 28px; text-align: center; }
.stat-num { font-family: var(--font-head); font-size: 36px; color: var(--accent2); }
.stat-label { font-size: 12px; color: rgba(255,255,255,0.7); font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; margin-top: 4px; }

/* FEATURED */
.featured-card { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: 0 2px 12px rgba(0,0,0,0.06); transition: box-shadow 0.2s, transform 0.2s; }
.featured-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.1); transform: translateY(-2px); }
.featured-img { background-size: cover; background-position: center; min-height: 360px; }
.featured-content { padding: 40px; background: var(--bg2); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.featured-content h2 { font-family: var(--font-head); font-size: clamp(20px, 2.5vw, 30px); line-height: 1.2; }
.featured-content p { color: var(--text-muted); font-size: 15px; }
.read-more { color: var(--accent); font-weight: 600; font-size: 14px; }
.read-more-sm { color: var(--accent); font-weight: 600; font-size: 13px; margin-top: auto; }

/* CAT BADGE */
.cat-badge { background: var(--accent-light); color: var(--accent); font-size: 11px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; padding: 3px 10px; border-radius: 3px; display: inline-block; }

/* ARTICLE DATE */
.article-date { color: var(--text-muted); font-size: 13px; }
.article-author { color: var(--text-muted); font-size: 13px; }

/* ARTICLE GRID */
.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.article-card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: box-shadow 0.2s, transform 0.2s; display: flex; flex-direction: column; box-shadow: 0 1px 4px rgba(0,0,0,0.04); }
.article-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.08); transform: translateY(-2px); }
.article-img { height: 200px; background-size: cover; background-position: center; }
.article-content { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.article-content h3 { font-family: var(--font-head); font-size: 18px; line-height: 1.3; }
.article-content p { color: var(--text-muted); font-size: 14px; line-height: 1.6; flex: 1; }

/* SECTION */
.section { margin: 40px 0; }
.section-title { font-family: var(--font-head); font-size: 30px; margin-bottom: 24px; }

/* CATEGORY GRID */
.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.category-card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; display: flex; gap: 16px; align-items: flex-start; transition: box-shadow 0.2s, border-color 0.2s; }
.category-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); border-color: var(--accent); }
.cat-emoji { font-size: 28px; flex-shrink: 0; }
.cat-label { font-family: var(--font-head); font-size: 16px; margin-bottom: 4px; }
.cat-desc { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* ARTICLE DETAIL */
.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; margin-top: 30px; }
.article-hero { height: 420px; background-size: cover; background-position: center; border-radius: var(--radius); margin-bottom: 30px; }
.article-body h1 { font-family: var(--font-head); font-size: clamp(26px, 4vw, 44px); line-height: 1.15; margin: 12px 0; }
.article-meta { display: flex; gap: 20px; margin-bottom: 16px; flex-wrap: wrap; }
.disclaimer-box { background: #fff8e1; border: 1px solid #ffd54f; border-radius: var(--radius); padding: 12px 16px; font-size: 13px; color: #7a5c00; margin-bottom: 20px; }
.article-excerpt { font-size: 18px; color: var(--text-muted); border-left: 4px solid var(--accent); padding-left: 16px; margin-bottom: 24px; font-style: italic; }
.article-content { font-size: 16px; line-height: 1.85; }
.article-content h2 { font-family: var(--font-head); font-size: 24px; margin: 32px 0 12px; color: var(--text); }
.article-content p { margin-bottom: 18px; color: var(--text-muted); }
.article-content strong { color: var(--text); }
.article-content a { color: var(--accent); text-decoration: underline; }

/* SHARE */
.article-share { display: flex; align-items: center; gap: 12px; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.article-share span { font-size: 13px; color: var(--text-muted); font-weight: 500; }
.share-btn { padding: 8px 16px; border-radius: var(--radius); font-size: 13px; font-weight: 600; border: none; cursor: pointer; font-family: var(--font-body); }
.share-twitter { background: #1da1f2; color: #fff; }
.share-facebook { background: #1877f2; color: #fff; }
.share-copy { background: var(--bg3); color: var(--text); border: 1px solid var(--border); }

/* SIDEBAR */
.sidebar-widget { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 24px; }
.widget-title { font-family: var(--font-head); font-size: 18px; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--accent); }
.sidebar-article { display: flex; gap: 12px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.sidebar-article:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.sidebar-img { width: 70px; height: 70px; background-size: cover; background-position: center; border-radius: 4px; flex-shrink: 0; }
.sidebar-title { font-size: 13px; font-weight: 600; line-height: 1.4; margin-bottom: 4px; font-family: var(--font-head); }
.sidebar-cat { display: block; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--text-muted); transition: color 0.2s; }
.sidebar-cat:last-child { border-bottom: none; }
.sidebar-cat:hover { color: var(--accent); }

/* PAGE HEADER */
.page-header { margin: 30px 0 28px; padding-bottom: 20px; border-bottom: 2px solid var(--border); }
.page-header h1 { font-family: var(--font-head); font-size: clamp(28px, 5vw, 48px); }
.page-header h1 span { color: var(--accent); }
.page-header p { color: var(--text-muted); margin-top: 8px; font-size: 17px; }

/* STATIC PAGES */
.static-page { max-width: 800px; margin: 30px auto 60px; }
.static-page h1 { font-family: var(--font-head); font-size: clamp(30px, 5vw, 48px); margin-bottom: 8px; }
.static-page h2 { font-family: var(--font-head); font-size: 22px; margin: 28px 0 10px; color: var(--accent); }
.static-page p { color: var(--text-muted); margin-bottom: 14px; line-height: 1.8; }
.static-page a { color: var(--accent); text-decoration: underline; }
.static-date { color: var(--text-muted); font-size: 13px; margin-bottom: 24px !important; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; margin: 30px 0; }
.contact-card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; text-align: center; }
.contact-icon { font-size: 36px; margin-bottom: 12px; }
.contact-card h3 { font-family: var(--font-head); font-size: 18px; margin-bottom: 8px; }
.contact-card p { font-size: 13px; margin-bottom: 10px; color: var(--text-muted); }
.contact-link { color: var(--accent) !important; font-weight: 600; font-size: 14px; text-decoration: none !important; word-break: break-all; }

/* EMPTY STATE */
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-muted); }

/* BTN */
.btn-action { background: var(--accent); color: #fff; padding: 10px 22px; border-radius: var(--radius); font-weight: 600; font-size: 14px; display: inline-block; transition: background 0.2s; }
.btn-action:hover { background: #1f5038; }

/* AD */
.ad-native-wrap { margin: 24px 0; min-height: 80px; border-radius: var(--radius); overflow: hidden; }

/* FOOTER */
.site-footer { background: var(--text); color: rgba(255,255,255,0.65); padding: 50px 0 24px; margin-top: 60px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; margin-bottom: 30px; }
.footer-logo { font-family: var(--font-head); font-size: 30px; color: #fff; margin-bottom: 10px; }
.footer-logo span { color: var(--accent2); }
.footer-brand p { font-size: 14px; line-height: 1.6; margin-bottom: 8px; }
.footer-disclaimer { font-size: 12px; color: rgba(255,255,255,0.4); font-style: italic; }
.footer-cats h4 { font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 12px; }
.footer-cats { display: flex; flex-direction: column; gap: 8px; }
.footer-cats a { font-size: 14px; transition: color 0.2s; }
.footer-cats a:hover { color: var(--accent2); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent2); }
.footer-copy { font-size: 12px; }

/* RESPONSIVE */
@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-stats { flex-direction: row; }
    .featured-card { grid-template-columns: 1fr; }
    .featured-img { min-height: 240px; }
    .article-layout { grid-template-columns: 1fr; }
    .article-sidebar { display: none; }
    .footer-top { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    nav { display: none; }
    .article-grid { grid-template-columns: 1fr; }
    .category-grid { grid-template-columns: 1fr; }
    .hero-stats { display: none; }
}
