﻿:root {
      --primary: #65A30D;
      --primary-hover: #4D7C0F;
      --secondary: #84CC16;
      --bg-light: #F7FEE7;
      --bg-dark: #1A2E05;
      --text: #1C1917;
      --text-muted: #6B7280;
      --accent: #D9F99D;
      --border: rgba(101, 163, 13, 0.15);
      --card-shadow: 0 10px 30px -10px rgba(26, 46, 5, 0.1);
      --theme-green: rgb(22,163,74);
    }

    *, *::before, *::after { box-sizing: border-box; }
    html { width: 100%; overflow-x: hidden; }
    body { width: 100%; margin: 0; overflow-x: hidden; font-family: -apple-system, BlinkMacSystemFont, sans-serif; background-color: #FAFAF9; color: var(--text); line-height: 1.6; }
    img { max-width: 100%; height: auto; display: block; }
    a { color: inherit; text-decoration: none; transition: all 0.25s ease; }

    
    .site-header { position: sticky; top: 0; z-index: 1000; width: 100%; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); }
    .header-inner { width: min(1200px, calc(100% - 32px)); min-height: 72px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
    .logo { display: inline-flex; align-items: center; gap: 12px; min-width: 0; max-width: 100%; text-decoration: none; flex-shrink: 0; }
    .logo img { display: block; height: 40px; width: auto; max-width: 150px; object-fit: contain; flex-shrink: 0; }
    .logo span { display: inline-block; font-size: 18px; font-weight: 800; line-height: 1.2; color: var(--bg-dark); white-space: nowrap; max-width: 180px; overflow: hidden; text-overflow: ellipsis; }
    .desktop-nav-wrap { flex: 1 1 auto; min-width: 0; display: flex; justify-content: flex-end; overflow: hidden; }
    .desktop-nav { display: flex; align-items: center; justify-content: flex-end; gap: 8px; max-width: 100%; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; scrollbar-width: none; white-space: nowrap; }
    .desktop-nav::-webkit-scrollbar { display: none; }
    .desktop-nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 16px; border-radius: 999px; color: #44403C; font-size: 14px; font-weight: 700; line-height: 1; }
    .desktop-nav a:hover, .desktop-nav a.active { background: var(--bg-light); color: var(--primary); }
    .mobile-menu-btn { display: none; width: 44px; height: 44px; border: 0; border-radius: 14px; background: rgba(101, 163, 13, 0.08); align-items: center; justify-content: center; flex-direction: column; gap: 5px; cursor: pointer; flex: 0 0 auto; }
    .mobile-menu-btn span { display: block; width: 20px; height: 2px; border-radius: 99px; background: var(--bg-dark); }
    .mobile-nav-mask { position: fixed; inset: 0; z-index: 1100; background: rgba(26, 46, 5, 0.56); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .25s ease, visibility .25s ease; }
    .mobile-drawer { position: fixed; top: 0; left: 0; z-index: 1110; width: min(86vw, 360px); height: 100vh; background: #ffffff; color: var(--text); transform: translateX(-105%); transition: transform .28s ease; box-shadow: 24px 0 60px rgba(26, 46, 5, 0.15); display: flex; flex-direction: column; overflow: hidden; }
    .drawer-head { min-height: 76px; padding: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--border); flex: 0 0 auto; }
    .drawer-logo { min-width: 0; }
    .drawer-logo img { height: 34px; max-width: 120px; }
    .drawer-logo span { font-size: 16px; max-width: 145px; }
    .drawer-close { width: 40px; height: 40px; border: 0; border-radius: 14px; background: rgba(101, 163, 13, 0.08); color: var(--bg-dark); font-size: 26px; line-height: 1; cursor: pointer; flex: 0 0 auto; }
    .drawer-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 14px; }
    .drawer-nav { display: flex; flex-direction: column; gap: 8px; }
    .drawer-nav a { display: flex; align-items: center; width: 100%; min-height: 48px; padding: 13px 14px; border-radius: 14px; background: rgba(101, 163, 13, 0.03); color: var(--text); font-size: 15px; font-weight: 700; line-height: 1.35; }
    body.drawer-open { overflow: hidden; touch-action: none; }
    body.drawer-open .mobile-nav-mask { opacity: 1; visibility: visible; pointer-events: auto; }
    body.drawer-open .mobile-drawer { transform: translateX(0); }

    .site-footer { position: relative; z-index: 1; width: 100%; background: var(--bg-dark); color: #E7E5E4; padding: 56px 0 24px; overflow: hidden; }
    .footer-inner { width: min(1200px, calc(100% - 32px)); margin: 0 auto; display: grid; grid-template-columns: minmax(260px, 1.35fr) repeat(3, minmax(150px, 1fr)); gap: 28px; }
    .footer-brand p { margin: 16px 0 0; color: #A8A29E; line-height: 1.8; font-size: 14px; }
    .footer-logo span { color: #ffffff; }
    .footer-column h3 { margin: 0 0 14px; font-size: 15px; color: #ffffff; border-left: 3px solid var(--secondary); padding-left: 10px; }
    .footer-column ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
    .footer-column a, .footer-column span { color: #D6D3D1; font-size: 14px; }
    .footer-column a:hover { color: var(--secondary); }
    .footer-bottom { width: min(1200px, calc(100% - 32px)); margin: 32px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: space-between; color: #78716C; font-size: 13px; }
    .footer-bottom p { margin: 0; }
    .footer-bottom a { color: #A8A29E; }

    @media (max-width: 900px) {
      .header-inner { width: min(100% - 24px, 1200px); min-height: 64px; }
      .desktop-nav-wrap, .desktop-nav { display: none !important; }
      .mobile-menu-btn { display: inline-flex !important; }
      .footer-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
      .footer-brand { grid-column: 1 / -1; }
      .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
    }
    @media (max-width: 640px) { .footer-inner { grid-template-columns: 1fr; } }

    
    .breadcrumbs-wrap { background: #F5F5F4; border-bottom: 1px solid var(--border); padding: 14px 0; }
    .breadcrumbs { width: min(1200px, calc(100% - 32px)); margin: 0 auto; font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
    .breadcrumbs a { color: var(--text); font-weight: 700; }
    .breadcrumbs a:hover { color: var(--primary); }
    .breadcrumbs span.separator { color: #D6D3D1; }

    
    .list-container { width: min(1200px, calc(100% - 32px)); margin: 48px auto; display: grid; grid-template-columns: 1fr 340px; gap: 40px; }
    @media (max-width: 960px) { .list-container { grid-template-columns: 1fr; gap: 48px; } }

    
    .main-list { display: flex; flex-direction: column; gap: 32px; }
    .category-intro { margin-bottom: 24px; }
    .category-intro h1 { font-size: 28px; font-weight: 850; color: var(--bg-dark); margin: 0 0 10px; }
    .category-intro p { font-size: 15px; color: var(--text-muted); margin: 0; }

    .news-item { background: #ffffff; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; display: grid; grid-template-columns: 240px 1fr; box-shadow: var(--card-shadow); transition: transform 0.2s ease; }
    .news-item:hover { transform: translateY(-3px); }
    @media (max-width: 640px) { .news-item { grid-template-columns: 1fr; } }
    .news-thumbnail { background-color: var(--bg-light); aspect-ratio: 4 / 3; width: 100%; height: 100%; min-height: 180px; position: relative; }
    .news-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
    .news-content { padding: 24px; display: flex; flex-direction: column; justify-content: space-between; }
    .news-meta { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--text-muted); margin-bottom: 10px; }
    .news-content h3 { font-size: 18px; font-weight: 800; color: var(--bg-dark); margin: 0 0 10px; line-height: 1.4; }
    .news-content h3:hover { color: var(--primary); }
    .news-excerpt { font-size: 13px; color: var(--text-muted); margin: 0 0 16px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .news-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; border-top: 1px dashed var(--border); padding-top: 14px; }
    .news-tags { display: flex; gap: 6px; }
    .news-tag { font-size: 11px; background: var(--bg-light); color: var(--primary); padding: 2px 8px; border-radius: 4px; }
    .news-btn { font-size: 12px; font-weight: 700; color: var(--primary); }

    
    .pagination-wrap { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 48px; }
    .pagination-wrap a, .pagination-wrap span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--border); font-size: 14px; font-weight: 700; background: #ffffff; }
    .pagination-wrap a:hover { background: var(--bg-light); color: var(--primary); border-color: var(--primary); }
    .pagination-wrap .current { background: var(--primary); color: #ffffff; border-color: var(--primary); }
    .pagination-wrap .disabled { opacity: 0.5; cursor: not-allowed; }

    
    .sidebar { display: flex; flex-direction: column; gap: 36px; }
    .sidebar-widget { background: #ffffff; border: 1px solid var(--border); border-radius: 16px; padding: 24px; box-shadow: var(--card-shadow); }
    .widget-title { font-size: 16px; font-weight: 850; color: var(--bg-dark); margin: 0 0 20px; border-left: 3px solid var(--primary); padding-left: 10px; }
    
    .hot-list { display: flex; flex-direction: column; gap: 14px; }
    .hot-item { display: flex; gap: 12px; align-items: center; }
    .hot-num { font-size: 14px; font-weight: 900; color: var(--text-muted); width: 24px; height: 24px; background: var(--bg-light); border-radius: 6px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
    .hot-item:nth-child(1) .hot-num { background: var(--primary); color: #ffffff; }
    .hot-item:nth-child(2) .hot-num { background: var(--secondary); color: #ffffff; }
    .hot-item:nth-child(3) .hot-num { background: var(--accent); color: var(--bg-dark); }
    .hot-link { font-size: 13px; font-weight: 700; color: var(--text); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.4; }
    .hot-link:hover { color: var(--primary); }

    .tag-grid { display: flex; flex-wrap: wrap; gap: 8px; }
    .tag-grid a { background: var(--bg-light); color: var(--primary); border: 1px solid rgba(101, 163, 13, 0.08); padding: 6px 12px; border-radius: 8px; font-size: 12px; font-weight: 700; }
    .tag-grid a:hover { background: var(--primary); color: #ffffff; }