:root { --header-offset: 122px; --primary-color: #017439; --secondary-color: #FFFFFF; --btn-login-bg: #C30808; --btn-register-bg: #C30808; --btn-text-color: #FFFF00; }
body { padding-top: var(--header-offset); margin: 0; }
.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.15); background-color: var(--secondary-color); }
.header-top { box-sizing: border-box; min-height: 68px; height: 68px; display: flex; align-items: center; overflow: hidden; background-color: var(--primary-color); 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: 20px; padding-right: 20px; }
.logo { display: block; font-size: 32px; font-weight: 800; color: var(--secondary-color); text-decoration: none; letter-spacing: 1px; }
.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; }
.btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 700; border-radius: 6px; transition: all 0.25s ease; border: none; cursor: pointer; }
.btn-login { background-color: var(--btn-login-bg); color: var(--btn-text-color); padding: 10px 22px; font-size: 15px; box-shadow: 0 2px 6px rgba(195,8,8,0.35); }
.btn-register { background-color: var(--btn-register-bg); color: var(--btn-text-color); padding: 10px 22px; font-size: 15px; box-shadow: 0 2px 6px rgba(195,8,8,0.35); }
.btn-login:hover, .btn-register:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(195,8,8,0.5); filter: brightness(1.1); }
.mobile-nav-buttons { box-sizing: border-box; display: none; min-height: 48px; }
.main-nav { box-sizing: border-box; min-height: 52px; height: 52px; display: flex; align-items: center; overflow: visible; background-color: #0b5e30; 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; position: relative; }
.nav-list { display: flex; flex-direction: row; justify-content: center; align-items: center; list-style: none; margin: 0; padding: 0; gap: 4px; flex-wrap: nowrap; }
.nav-item { margin: 0; padding: 0; }
.nav-link { display: block; color: var(--secondary-color); text-decoration: none; font-size: 14px; font-weight: 600; padding: 8px 10px; border-radius: 4px; white-space: nowrap; transition: background-color 0.2s ease, color 0.2s ease; }
.nav-link:hover, .nav-item.active .nav-link { background-color: rgba(255,255,255,0.18); color: #FFFF00; }
.hamburger-menu { display: none; flex-direction: column; justify-content: space-between; width: 28px; height: 22px; background: transparent; border: none; cursor: pointer; padding: 0; z-index: 1001; }
.hamburger-menu span { display: block; width: 100%; height: 3px; background-color: var(--secondary-color); border-radius: 2px; transition: all 0.3s ease; }
.hamburger-menu.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger-menu.active span:nth-child(2) { opacity: 0; }
.hamburger-menu.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
.nav-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.55); z-index: 999; opacity: 0; transition: opacity 0.3s ease; }
.site-footer { background-color: #052e18; color: #e8f5ec; font-size: 14px; line-height: 1.6; }
.footer-top { padding: 46px 0 24px; }
.footer-container { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: 20px; padding-right: 20px; box-sizing: border-box; }
.footer-top-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; align-items: start; }
.footer-col { min-width: 0; }
.footer-about .footer-logo { display: inline-block; font-size: 30px; font-weight: 800; color: #FFFFFF; text-decoration: none; margin-bottom: 12px; letter-spacing: 1px; }
.footer-description { color: #b9d6c4; margin: 0 0 12px; word-wrap: break-word; overflow-wrap: break-word; font-size: 13.5px; }
.footer-title { color: #FFFFFF; font-size: 16px; font-weight: 700; margin: 0 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--primary-color); display: inline-block; }
.footer-nav { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin-bottom: 9px; }
.footer-nav a { color: #cfe8d9; text-decoration: none; transition: color 0.2s ease, padding-left 0.2s ease; font-size: 13.5px; }
.footer-nav a:hover { color: #FFFF00; padding-left: 4px; }
.footer-slot-anchor, .footer-slot-anchor-inner { display: block; width: 100%; }
.footer-mid-area { margin-top: 24px; display: flex; flex-direction: column; gap: 16px; }
.footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.footer-bottom { background-color: #03210f; border-top: 1px solid rgba(255,255,255,0.12); padding: 18px 0; }
.footer-copyright { margin: 0; text-align: center; color: #a9c9b7; font-size: 13px; }
@media (max-width: 768px) {
  :root { --header-offset: 110px; }
  .header-top { min-height: 60px !important; height: 60px !important; }
  .header-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; position: relative; justify-content: flex-start; }
  .logo { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; font-size: 26px; }
  .logo img { display: block !important; max-width: 100%; height: auto; max-height: 56px !important; }
  .desktop-nav-buttons { display: none !important; }
  .hamburger-menu { display: flex !important; position: relative; z-index: 1001; }
  .mobile-nav-buttons { display: flex !important; min-height: 48px; 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: #0b5e30; }
  .mobile-nav-buttons .btn { flex: 1; min-width: 0; max-width: calc(50% - 5px); box-sizing: border-box; padding: 8px 12px; font-size: 13px; white-space: normal; word-wrap: break-word; overflow-wrap: break-word; }
  .main-nav { min-height: 48px !important; height: 48px !important; display: flex; background-color: #0b5e30; }
  .nav-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; justify-content: flex-start; }
  .main-nav .nav-list { display: none; position: fixed; top: 0; left: 0; width: 78%; max-width: 300px; height: 100vh; flex-direction: column; justify-content: flex-start; align-items: stretch; background-color: #04331b; padding: 80px 20px 30px; gap: 0; z-index: 1000; box-shadow: 4px 0 18px rgba(0,0,0,0.4); transform: translateX(-100%); transition: transform 0.3s ease; overflow-y: auto; }
  .main-nav .nav-list.active { display: flex; transform: translateX(0); }
  .nav-item { width: 100%; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .nav-link { display: block; width: 100%; box-sizing: border-box; padding: 14px 10px; font-size: 15px; text-align: left; }
  .nav-overlay.active { display: block; opacity: 1; }
  .footer-top-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .footer-about { grid-column: 1 / -1; }
  .footer-dynamic-col { grid-column: 1 / -1; }
  .footer-mid-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-top-grid { grid-template-columns: 1fr; }
  .footer-mid-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; }
}
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
