:root { --primary: #017439; --secondary: #FFFFFF; --btn-register: #C30808; --btn-login: #C30808; --btn-text: #FFFF00; --header-offset: 122px; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; padding-top: var(--header-offset); overflow-x: hidden; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background-color: #FFFFFF; color: #333333; }
.site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; background-color: var(--primary); 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: #015c2d; 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: #FFFFFF; font-size: 28px; font-weight: 800; letter-spacing: 0.5px; text-decoration: none; line-height: 1; white-space: nowrap; }
.logo img { display: block; max-height: 60px; height: auto; width: auto; max-width: 280px; object-fit: contain; }
.logo:hover { color: #FFFFFF; opacity: 0.9; }
.desktop-nav-buttons { display: flex; gap: 12px; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; text-decoration: none; border: none; cursor: pointer; font-weight: 700; border-radius: 6px; line-height: 1.2; transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn-login, .btn-register { background-color: var(--btn-register); color: var(--btn-text); padding: 10px 22px; font-size: 15px; box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25); }
.desktop-nav-buttons .btn { min-width: 96px; }
.mobile-nav-buttons { box-sizing: border-box; display: none; min-height: 48px; }
.main-nav { box-sizing: border-box; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background-color: #017439; width: 100%; border-top: 1px solid rgba(255, 255, 255, 0.15); }
.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; gap: 4px; }
.nav-link { display: inline-block; color: #FFFFFF; text-decoration: none; font-size: 14px; font-weight: 600; padding: 8px 10px; border-radius: 5px; white-space: nowrap; transition: background-color 0.2s ease, color 0.2s ease; }
.nav-link:hover { background-color: #015c2d; color: #FFFFFF; }
.nav-link.active { background-color: #015c2d; color: #FFFFFF; }
.hamburger-menu { display: none; background: transparent; border: none; cursor: pointer; width: 44px; height: 44px; padding: 10px; flex-direction: column; justify-content: space-between; align-items: stretch; z-index: 1001; }
.hamburger-line { display: block; width: 100%; height: 3px; background-color: #FFFFFF; border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }
.hamburger-menu.active .hamburger-line:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger-menu.active .hamburger-line:nth-child(2) { opacity: 0; }
.hamburger-menu.active .hamburger-line:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
.nav-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0, 0, 0, 0.55); z-index: 999; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; }
.nav-overlay.active { opacity: 1; visibility: visible; }
body.no-scroll { overflow: hidden; }
.site-footer { background-color: #012a14; color: #E8F5EE; width: 100%; }
.footer-container { box-sizing: border-box; width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.footer-top { padding: 44px 0 30px; background-color: #012a14; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; align-items: flex-start; }
.footer-col { min-width: 0; }
.footer-logo { display: inline-block; color: #FFFFFF; font-size: 26px; font-weight: 800; letter-spacing: 0.5px; text-decoration: none; margin-bottom: 14px; line-height: 1; }
.footer-logo:hover { opacity: 0.9; }
.footer-description { color: #C9E6D6; font-size: 14px; line-height: 1.7; margin: 0 0 14px; word-wrap: break-word; overflow-wrap: break-word; }
.footer-col-title { color: #FFFFFF; font-size: 16px; font-weight: 700; margin: 0 0 16px; letter-spacing: 0.3px; }
.footer-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-nav li { margin: 0; }
.footer-nav a { color: #C9E6D6; font-size: 14px; text-decoration: none; transition: color 0.2s ease; word-wrap: break-word; }
.footer-nav a:hover { color: #FFFF00; }
.footer-mid { padding: 26px 0; background-color: #012a14; }
.footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 14px 0; }
.footer-slot-anchor-inner { width: 100%; }
.footer-bottom { padding: 18px 0 22px; background-color: #011a0c; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer-copyright { margin: 0; color: #A8D0BA; font-size: 13px; text-align: center; }
.footer-dynamic-col { min-width: 0; }
@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; font-size: 24px; }
  .logo img { display: block !important; max-width: 100%; height: auto; max-height: 56px !important; }
  .hamburger-menu { display: flex; position: relative; z-index: 1002; }
  .desktop-nav-buttons { display: none !important; }
  .mobile-nav-buttons { display: flex !important; min-height: 48px; align-items: center; width: 100%; max-width: 100%; box-sizing: border-box; padding: 6px 15px; overflow: hidden; gap: 10px; flex-wrap: nowrap; background-color: #015c2d; }
  .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 { height: 48px !important; min-height: 48px !important; display: none; flex-direction: column; justify-content: flex-start; align-items: stretch; position: fixed; top: 0; left: 0; width: 280px; max-width: 82vw; height: 100vh !important; min-height: 100vh !important; padding-top: 120px; background-color: #017439; transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1001; overflow-y: auto; box-shadow: 4px 0 18px rgba(0, 0, 0, 0.35); border-top: none; }
  .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 16px 24px; gap: 4px; }
  .nav-link { display: block; width: 100%; font-size: 15px; padding: 12px 14px; border-radius: 6px; white-space: normal; }
  .footer-top-grid { grid-template-columns: 1fr; gap: 22px; }
  .footer-mid-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .footer-container { padding: 0 16px; }
  .footer-top { padding: 32px 0 22px; }
  .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;
}
