
/* 全局a标签去除下划线 */
a { text-decoration: none !important; }
a:hover { text-decoration: none !important; }

:root {
  --bg: #FAFAF7;
  --bg2: #FFFFFF;
  --ink: #1A2E1A;
  --muted: #5C6B5C;
  --rule: #E0E5E0;
  --accent: #2D7A4F;
  --accent-light: rgba(45, 122, 79, 0.08);
  --accent2: #D4A04C;
  --accent2-light: rgba(212, 160, 76, 0.1);
  --radius: 16px;
  --radius-sm: 10px;
}
  @font-face {
    font-family: 'Outfit';
    src: url('/fonts/Outfit-Regular.ttf') format('truetype');
    font-weight: 400; font-display: swap;
  }
  @font-face {
    font-family: 'Outfit';
    src: url('/fonts/Outfit-Bold.ttf') format('truetype');
    font-weight: 700; font-display: swap;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: #2D3748; line-height: 1.8; background: #FAFBFA;
  }
  /* Navbar */
  .top-navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 200;
    background: #ffffff;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid #E5E7EB;
    transition: box-shadow 0.3s ease;
  }
  .top-navbar.scrolled { box-shadow: 0 2px 12px rgba(0,0,0,0.08); }
  .top-navbar-inner {
    max-width: 900px; margin: 0 auto; padding: 0 1.25rem;
    height: 76px; display: flex; align-items: center; justify-content: space-between;
  }
  .top-navbar-logo {
    font-size: 1rem; font-weight: 700; color: #4A7C4F;
    text-decoration: none; display: flex; align-items: center; gap: 0.4rem;
  }
  .top-navbar-logo img { height: 58px; width: auto; display: block; }
  .top-navbar-menu { display: flex; gap: 2rem; list-style: none; }
  .top-navbar-menu a {
    font-size: 0.95rem; color: #2D3748; text-decoration: none;
    transition: color 0.2s; position: relative;
  }
  .top-navbar-menu a:hover { color: #4A7C4F; }
  .top-navbar-menu a::after {
    content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
    background: #4A7C4F; transition: width 0.2s;
  }
  .top-navbar-menu a:hover::after,
  .top-navbar-menu a.active::after { width: 100%; }
  .top-navbar-menu a.active { color: #4A7C4F; font-weight: 600; }
  .top-navbar-cta {
    background: #4A7C4F; color: #fff; font-size: 0.85rem; font-weight: 600;
    padding: 0.45rem 1.1rem; border-radius: 50px; text-decoration: none;
    transition: background 0.2s;
  }
  .top-navbar-cta:hover { background: #256a43; }
  .top-navbar-phone {
    display: flex; align-items: center; gap: 0.35rem;
    font-size: 0.93rem; font-weight: 600; color: #2D3748;
    text-decoration: none; margin-right: 0.75rem;
  }
  .top-navbar-phone:hover { color: #4A7C4F; }
  .top-navbar-phone-icon {
    width: 28px; height: 28px; border-radius: 50%;
    background: #E8F3EC; display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem;
  }
  .top-navbar-right { display: flex; align-items: center; }
  .mobile-menu-btn {
    display: none; background: none; border: none; font-size: 1.4rem;
    cursor: pointer; color: #2D3748; padding: 0.3rem;
  }
  /* Page Header */
  .page-header {
    padding: 3.5rem 2rem 2.5rem;
    background: linear-gradient(135deg, rgba(45,90,48,0.85) 0%, rgba(74,124,79,0.75) 100%),
                url('/images/rice-field.jpg') center/cover no-repeat;
    color: #fff; text-align: center; margin-top: 76px;
  }
  .breadcrumb { font-size: 0.88rem; opacity: 0.9; margin-bottom: 1rem; }
  .breadcrumb a { color: #fff; text-decoration: none; }
  .breadcrumb a:hover { text-decoration: underline; }
  .breadcrumb .sep { margin: 0 8px; opacity: 0.6; }
  /* Article */
  .article-container {
    max-width: 800px; margin: 0 auto; padding: 3rem 1.5rem;
  }
  .article-title {
    font-size: 2rem; color: #1A2E1A; line-height: 1.4; margin-bottom: 1rem;
  }
  .article-meta {
    display: flex; gap: 1.5rem; color: #8A9A8A; font-size: 0.88rem;
    padding-bottom: 1.5rem; border-bottom: 1px solid #E8EAE8; margin-bottom: 2rem;
  }
  .article-content {
    font-size: 1rem; line-height: 2; color: #374151;
  }
  .article-content h3 {
    font-size: 1.3rem; color: #1A2E1A; margin: 2rem 0 1rem;
  }
  .article-content p { margin-bottom: 1.2rem; }
  .article-content ul, .article-content ol { margin: 1rem 0 1.5rem 2rem; }
  .article-content li { margin-bottom: 0.5rem; }
  .article-content blockquote {
    border-left: 4px solid #4A7C4F; padding: 1rem 1.5rem;
    background: #F3F8F4; color: #5C6B5C; margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
  }
  .article-content strong { color: #1A2E1A; }
  /* Article Nav */
  .article-nav {
    max-width: 800px; margin: 0 auto; padding: 0 1.5rem 2rem;
    display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
  }
  .article-nav-item {
    padding: 1rem 1.2rem; background: #fff; border: 1px solid #E8EAE8;
    border-radius: 8px; text-decoration: none; color: #374151;
    transition: all 0.3s; font-size: 0.9rem;
  }
  .article-nav-item:hover { border-color: #4A7C4F; color: #4A7C4F; }
  .article-nav-label { font-size: 0.8rem; color: #8A9A8A; margin-bottom: 0.3rem; }
  .article-nav-title {
    font-weight: 600; overflow: hidden; text-overflow: ellipsis;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    word-break: break-all;
  }
  .article-nav-item.next { text-align: right; }
  .article-nav-item { overflow-wrap: break-word; word-break: break-all; }
  /* Related */
  .related-section {
    max-width: 1000px; margin: 0 auto; padding: 2rem 1.5rem 3rem;
  }
  .related-title {
    font-size: 1.3rem; color: #1A2E1A; margin-bottom: 1.5rem;
    padding-bottom: 0.5rem; border-bottom: 2px solid #4A7C4F;
    display: inline-block;
  }
  .related-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
  }
  .related-item {
    padding: 1rem 1.2rem; background: #fff; border: 1px solid #E8EAE8;
    border-radius: 8px; text-decoration: none; transition: all 0.3s;
  }
  .related-item:hover {
    border-color: #4A7C4F; transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74,124,79,0.1);
  }
  .related-item h4 {
    font-size: 0.95rem; color: #1A2E1A; margin-bottom: 0.5rem;
    line-height: 1.5;
  }
  .related-item:hover h4 { color: #4A7C4F; }
  .related-meta { font-size: 0.8rem; color: #8A9A8A; }
  /* CTA */
  .cta-section {
  background: linear-gradient(135deg, var(--accent), #1a5a35);
  text-align: center; padding: 3rem 1.25rem;
}
  .cta-section h2 { color: #fff; font-size: 1.6rem; margin-bottom: 1rem; }
  .cta-section p { color: rgba(255,255,255,0.85); font-size: 0.95rem; margin-bottom: 1.5rem; }
  .cta-btn {
  display: inline-block; background: #fff; color: var(--accent);
  font-size: 1rem; font-weight: 700; padding: 0.85rem 2.5rem;
  border-radius: 50px; text-decoration: none;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}
  .cta-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.15); }
  /* Footer */
  footer {
  background: var(--ink); color: rgba(255,255,255,0.5);
  text-align: center; padding: 2rem 1.25rem; font-size: 0.8rem; line-height: 1.7;
}
  footer strong { color: rgba(255,255,255,0.8); }
  footer a { color: rgba(255,255,255,0.6); margin: 0 0.5rem; }
  footer p { margin: 0.3rem 0; }
  /* Responsive */
  @media (max-width: 768px) {
    .article-nav { grid-template-columns: 1fr; gap: 0.75rem; max-width: 100%; padding: 0 1rem 1.5rem; }
    .article-nav-card { padding: 0.75rem; }
    .article-nav-title { font-size: 0.85rem; }

    .top-navbar-menu { display: none; }
    .top-navbar-menu.mobile-open {
      display: flex; flex-direction: column; position: absolute;
      top: 76px; left: 0; right: 0; background: #fff;
      padding: 1rem 1.25rem; gap: 0; border-bottom: 1px solid #E5E7EB;
      box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    }
    .top-navbar-menu.mobile-open li { border-bottom: 1px solid #E5E7EB; }
    .top-navbar-menu.mobile-open li:last-child { border-bottom: none; }
    .top-navbar-menu.mobile-open a {
      display: block; padding: 0.85rem 0; font-size: 0.95rem;
    }
    .top-navbar-menu.mobile-open a::after { display: none; }
    .top-navbar-menu a { font-size: 0.85rem; }
    .top-navbar-cta { display: none; }
    .top-navbar-phone { display: none; }
    .mobile-menu-btn { display: block; }
    .article-title { font-size: 1.4rem; }
    .article-nav { grid-template-columns: 1fr; max-width: 100%; }
    .related-grid { grid-template-columns: 1fr; }
    .article-container { padding: 2rem 1rem; }
  }
