:root { --primary: #017439; --secondary: #FFFFFF; --btn-color: #C30808; --btn-text: #FFFF00; --header-offset: 122px; }
* { box-sizing: border-box; }
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 16px rgba(0,0,0,0.15); }
.header-top { height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background-color: #017439; width: 100%; box-sizing: border-box; }
.header-container { width: 100%; height: 100%; max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding-left: 30px; padding-right: 30px; box-sizing: border-box; }
.logo { display: inline-flex; align-items: center; color: #FFFFFF; font-size: 28px; font-weight: 800; text-decoration: none; letter-spacing: 1px; line-height: 1; }
.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 { display: none; min-height: 48px; box-sizing: border-box; }
.btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 700; border-radius: 6px; padding: 10px 22px; font-size: 15px; line-height: 1.2; transition: opacity 0.25s ease, transform 0.2s ease; box-sizing: border-box; border: none; cursor: pointer; }
.btn:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-login { background-color: #C30808; color: #FFFF00; }
.btn-register { background-color: #C30808; color: #FFFF00; }
.main-nav { height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background-color: #024d26; width: 100%; box-sizing: border-box; }
.nav-container { width: 100%; height: 100%; max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 0 20px; box-sizing: border-box; }
.nav-menu { display: flex; flex-direction: row; justify-content: center; align-items: center; list-style: none; margin: 0; padding: 0; gap: 4px; flex-wrap: wrap; }
.nav-menu li { margin: 0; }
.nav-menu a { display: block; color: #FFFFFF; text-decoration: none; font-size: 14px; font-weight: 600; padding: 6px 12px; border-radius: 4px; transition: background-color 0.2s ease; white-space: nowrap; }
.nav-menu a:hover, .nav-menu a.active { background-color: #017439; }
.hamburger-menu { display: none; }
.menu-overlay { display: none; }
/* Footer */
.site-footer { background-color: #024d26; color: #FFFFFF; margin-top: 40px; }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 30px; box-sizing: border-box; }
.footer-top { padding: 50px 0 30px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-top-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.footer-col { min-width: 0; }
.footer-logo { display: inline-block; color: #FFFFFF; font-size: 26px; font-weight: 800; text-decoration: none; letter-spacing: 1px; margin-bottom: 14px; }
.footer-description { color: rgba(255,255,255,0.82); font-size: 14px; line-height: 1.7; margin: 0 0 12px; word-wrap: break-word; overflow-wrap: break-word; }
.footer-title { color: #FFFFFF; font-size: 16px; font-weight: 700; margin: 0 0 16px; padding-bottom: 10px; border-bottom: 2px solid #017439; display: inline-block; }
.footer-nav { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin-bottom: 10px; }
.footer-nav a { color: rgba(255,255,255,0.82); text-decoration: none; font-size: 14px; transition: color 0.2s ease; }
.footer-nav a:hover { color: #FFFF00; }
.footer-dynamic-col { min-width: 0; }
.footer-mid { padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.footer-slot-anchor-inner { display: block; }
.footer-bottom { padding: 20px 0; text-align: center; }
.copyright { margin: 0; color: rgba(255,255,255,0.7); font-size: 13px; line-height: 1.6; }
@media (max-width: 768px) {
  :root { --header-offset: 110px; }
  .header-top { height: 60px !important; min-height: 60px !important; }
  .header-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; position: relative; }
  .logo { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; }
  .logo img { max-height: 56px !important; }
  .desktop-nav-buttons { display: none !important; }
  .mobile-nav-buttons { display: flex !important; align-items: center; justify-content: center; width: 100%; max-width: 100%; padding: 6px 15px; overflow: hidden; gap: 10px; flex-wrap: nowrap; background-color: #024d26; }
  .mobile-nav-buttons .btn { flex: 1; min-width: 0; max-width: calc(50% - 5px); padding: 8px 12px; font-size: 13px; white-space: normal; word-wrap: break-word; overflow-wrap: break-word; }
  .main-nav { height: 48px !important; min-height: 48px !important; display: none; position: fixed; top: 0; left: 0; width: 280px; max-width: 82vw; height: 100vh !important; min-height: 100vh !important; flex-direction: column; justify-content: flex-start; align-items: stretch; background-color: #024d26; transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1002; overflow-y: auto; box-shadow: 4px 0 20px rgba(0,0,0,0.3); padding-top: 20px; }
  .main-nav.active { display: flex; transform: translateX(0); }
  .nav-container { width: 100%; max-width: none; height: auto; flex-direction: column; justify-content: flex-start; align-items: stretch; padding: 0; }
  .nav-menu { flex-direction: column; justify-content: flex-start; align-items: stretch; width: 100%; gap: 0; }
  .nav-menu li { width: 100%; }
  .nav-menu a { padding: 14px 20px; font-size: 15px; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,0.08); white-space: normal; }
  .nav-menu a:hover, .nav-menu a.active { background-color: #017439; }
  .hamburger-menu { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 42px; height: 42px; background: transparent; border: none; cursor: pointer; padding: 0; z-index: 1003; position: absolute; left: 15px; top: 50%; transform: translateY(-50%); }
  .hamburger-menu span { display: block; width: 24px; height: 2.5px; background-color: #FFFFFF; border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }
  .hamburger-menu.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .hamburger-menu.active span:nth-child(2) { opacity: 0; }
  .hamburger-menu.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .menu-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.55); z-index: 1001; }
  .menu-overlay.active { display: block; }
  body.no-scroll { overflow: hidden; }
  .footer-top-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-mid-grid { grid-template-columns: 1fr 1fr; }
  .footer-container { padding: 0 15px; }
  .footer-top { padding: 36px 0 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: 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;
}
