:root { --primary: #017439; --secondary: #FFFFFF; --btn-color: #C30808; --btn-text: #FFFF00; --header-offset: 122px; }
body { padding-top: var(--header-offset); }
.site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; box-shadow: 0 4px 12px rgba(0,0,0,0.25); }
.header-top { box-sizing: border-box; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background-color: var(--primary); width: 100%; }
.header-container { box-sizing: border-box; width: 100%; height: 100%; max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding-left: 24px; padding-right: 24px; }
.logo { display: inline-block; color: var(--secondary); font-size: 26px; font-weight: 800; letter-spacing: 0.5px; text-decoration: none; white-space: nowrap; }
.logo img { display: block; max-height: 60px; height: auto; width: auto; max-width: 280px; object-fit: contain; }
.desktop-nav-buttons { display: flex; gap: 12px; align-items: center; }
.mobile-nav-buttons { box-sizing: border-box; display: none; min-height: 48px; }
.btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; border: none; border-radius: 6px; cursor: pointer; font-weight: 700; transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease; }
.desktop-nav-buttons .btn { padding: 10px 22px; font-size: 15px; color: var(--btn-text); background-color: var(--btn-color); box-shadow: 0 3px 8px rgba(0,0,0,0.25); }
.btn:hover { transform: translateY(-2px); opacity: 0.92; box-shadow: 0 5px 14px rgba(0,0,0,0.35); }
.main-nav { box-sizing: border-box; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background-color: #0b5c30; width: 100%; }
.nav-container { box-sizing: border-box; height: 100%; max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 0 20px; width: 100%; }
.nav-menu { display: flex; flex-direction: row; align-items: center; justify-content: center; list-style: none; margin: 0; padding: 0; gap: 4px; flex-wrap: wrap; height: 100%; }
.nav-menu li { display: flex; align-items: center; height: 100%; }
.nav-link { display: inline-flex; align-items: center; height: 100%; padding: 0 12px; color: var(--secondary); text-decoration: none; font-size: 14px; font-weight: 600; white-space: nowrap; transition: background-color 0.2s ease, color 0.2s ease; border-radius: 4px; }
.nav-link:hover, .nav-link.active { background-color: #017439; color: #FFFF00; }
.hamburger-menu { display: none; background: transparent; border: none; cursor: pointer; padding: 6px; z-index: 1001; flex-direction: column; justify-content: space-between; width: 40px; height: 40px; }
.hamburger-line { display: block; width: 100%; height: 3px; background-color: var(--secondary); border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }
.hamburger-menu.active .hamburger-line:nth-child(1) { transform: translateY(11px) rotate(45deg); }
.hamburger-menu.active .hamburger-line:nth-child(2) { opacity: 0; }
.hamburger-menu.active .hamburger-line:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }
.nav-overlay { display: none; position: fixed; inset: 0; background-color: rgba(0,0,0,0.55); z-index: 999; opacity: 0; transition: opacity 0.3s ease; }
.nav-overlay.active { display: block; opacity: 1; }
body.no-scroll { overflow: hidden; }
.site-footer { background-color: #062e18; color: #d7e6dc; padding: 48px 20px 0; box-sizing: border-box; width: 100%; }
.footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 1200px; margin: 0 auto; }
.footer-col { min-width: 0; }
.footer-about .footer-logo { display: inline-block; color: var(--secondary); font-size: 24px; font-weight: 800; text-decoration: none; margin-bottom: 14px; }
.footer-description { font-size: 14px; line-height: 1.7; color: #b9cfc1; word-wrap: break-word; overflow-wrap: break-word; margin: 0; }
.footer-col-title { font-size: 16px; color: #FFFF00; margin: 0 0 14px; font-weight: 700; }
.footer-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { color: #d7e6dc; text-decoration: none; font-size: 14px; transition: color 0.2s ease; }
.footer-nav a:hover { color: #FFFF00; text-decoration: underline; }
.footer-mid-section { max-width: 1200px; margin: 32px auto 0; }
.footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.footer-slot-anchor-inner { display: block; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); margin-top: 32px; padding: 20px 0; text-align: center; max-width: 1200px; margin-left: auto; margin-right: auto; }
.footer-bottom p { margin: 0; font-size: 13px; color: #9fb8a9; }
@media (max-width: 768px) {
  :root { --header-offset: 110px; }
  .header-top { height: 60px; min-height: 60px; }
  .header-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; }
  .logo { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; text-align: center; font-size: 22px; }
  .logo img { display: block !important; max-width: 100%; height: auto; max-height: 56px; }
  .desktop-nav-buttons { display: none !important; }
  .mobile-nav-buttons { display: flex !important; align-items: center; justify-content: center; width: 100%; max-width: 100%; box-sizing: border-box; padding-left: 15px; padding-right: 15px; overflow: hidden; gap: 10px; flex-wrap: nowrap; background-color: #0b5c30; }
  .mobile-nav-buttons .btn { flex: 1; min-width: 0; max-width: calc(50% - 5px); box-sizing: border-box; padding: 8px 12px; font-size: 13px; color: var(--btn-text); background-color: var(--btn-color); white-space: normal; word-wrap: break-word; overflow-wrap: break-word; }
  .main-nav { display: none; position: fixed; top: 0; left: 0; height: 100vh; width: 82%; max-width: 320px; min-height: 0; background-color: #0b5c30; transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1001; overflow-y: auto; padding-top: 20px; }
  .main-nav.active { display: block; transform: translateX(0); }
  .nav-container { width: 100%; max-width: none; padding: 10px 15px; flex-direction: column; justify-content: flex-start; align-items: stretch; height: auto; }
  .hamburger-menu { display: flex; position: absolute; left: 15px; top: 10px; }
  .header-top .header-container { position: relative; }
  .nav-menu { flex-direction: column; width: 100%; gap: 2px; height: auto; margin-top: 50px; }
  .nav-menu li { width: 100%; height: auto; }
  .nav-link { width: 100%; height: auto; padding: 12px 14px; font-size: 15px; border-radius: 6px; box-sizing: border-box; }
  .nav-overlay { display: none; }
  .nav-overlay.active { display: block; opacity: 1; }
  .site-footer { padding: 32px 15px 0; }
  .footer-top-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-mid-grid { grid-template-columns: 1fr; }
  .footer-bottom { margin-top: 24px; }
  .page-content img { max-width: 100% !important; height: auto !important; display: block; }
  .page-content { overflow-x: hidden; max-width: 100%; }
  body { overflow-x: hidden; }
}
@media (max-width: 480px) {
  .footer-top-grid { grid-template-columns: 1fr; }
}
/* 移动端内容区防溢出（系统追加，请勿删除） */
@media (max-width: 768px) {
  .page-content img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
  }
  .page-content {
    overflow-x: hidden;
    max-width: 100%;
  }
  body {
    overflow-x: hidden;
  }
}
/* 内容保护（系统追加，请勿删除） */
body {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
input, textarea, select, [contenteditable="true"] {
  -webkit-user-select: text;
  -moz-user-select: text;
  user-select: text;
}
