:root { --primary: #017439; --secondary: #FFFFFF; --btn-color: #C30808; --btn-text: #FFFF00; --header-offset: 122px; } * { margin: 0; padding: 0; box-sizing: border-box; } body { padding-top: var(--header-offset); font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; } a { text-decoration: none; } .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.25); background-color: var(--primary); } .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: 30px; padding-right: 30px; } .logo { display: inline-block; color: var(--secondary); font-size: 26px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; white-space: nowrap; } .desktop-nav-buttons { display: flex; gap: 12px; align-items: center; } .btn { display: inline-block; text-decoration: none; padding: 10px 22px; border-radius: 6px; font-weight: 700; font-size: 15px; text-align: center; cursor: pointer; transition: opacity 0.2s ease, transform 0.2s ease; white-space: nowrap; } .btn:hover { opacity: 0.88; transform: translateY(-1px); } .btn-login, .btn-register { background-color: var(--btn-color); color: var(--btn-text); border: 1px solid var(--btn-color); } .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: #024d26; width: 100%; } .nav-container { box-sizing: border-box; height: 100%; width: 100%; max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 0 20px; position: relative; } .nav-menu { list-style: none; display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 4px; margin: 0; padding: 0; } .nav-menu li a { display: block; color: var(--secondary); font-size: 14px; font-weight: 600; padding: 8px 10px; border-radius: 4px; transition: background-color 0.2s ease; white-space: nowrap; } .nav-menu li a:hover { background-color: rgba(255,255,255,0.15); } .hamburger-menu { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 40px; height: 40px; background: transparent; border: none; cursor: pointer; padding: 0; } .hamburger-menu span { display: block; width: 24px; height: 3px; background-color: var(--secondary); border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; } .hamburger-menu.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); } .hamburger-menu.active span:nth-child(2) { opacity: 0; } .hamburger-menu.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); } .mobile-overlay { display: none; } .site-footer { background-color: #012e16; color: #d7e8de; padding: 50px 20px 0; margin-top: 40px; } .footer-top-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding-bottom: 30px; } .footer-col { min-width: 0; } .footer-logo { display: inline-block; color: var(--secondary); font-size: 24px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 15px; } .footer-description { font-size: 14px; line-height: 1.7; color: #b9d4c5; word-wrap: break-word; overflow-wrap: break-word; } .footer-heading { color: var(--secondary); font-size: 16px; font-weight: 700; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.5px; } .footer-nav { list-style: none; padding: 0; margin: 0; } .footer-nav li { margin-bottom: 10px; } .footer-nav li a { color: #b9d4c5; font-size: 14px; transition: color 0.2s ease; } .footer-nav li a:hover { color: var(--secondary); } .footer-dynamic-col { min-height: 1px; } .footer-mid-section { max-width: 1200px; margin: 0 auto; padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.1); } .footer-mid-row-1, .footer-mid-row-2 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 10px; } .footer-slot-anchor, .footer-slot-anchor-inner { min-height: 1px; } .footer-bottom { max-width: 1200px; margin: 0 auto; padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; } .footer-bottom p { color: #9fbcaa; font-size: 13px; } @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; } .logo { font-size: 20px; } .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: 6px 15px; overflow: hidden; gap: 10px; flex-wrap: nowrap; min-height: 48px; background-color: var(--primary); } .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; } .nav-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; justify-content: flex-start; } .hamburger-menu { display: flex; position: relative; z-index: 1001; } .nav-menu { display: none; flex-direction: column; position: fixed; top: 0; left: 0; width: 280px; max-width: 80%; height: 100vh; background-color: #024d26; padding: 80px 20px 20px; overflow-y: auto; z-index: 1002; transform: translateX(-100%); transition: transform 0.3s ease; box-shadow: 4px 0 20px rgba(0,0,0,0.4); align-items: stretch; justify-content: flex-start; gap: 0; } .nav-menu.active { display: flex; transform: translateX(0); } .nav-menu li a { font-size: 15px; padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,0.08); } .mobile-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.55); z-index: 999; } .mobile-overlay.active { display: block; } .site-footer { padding: 30px 15px 0; } .footer-top-grid { grid-template-columns: 1fr; gap: 20px; } .footer-mid-row-1, .footer-mid-row-2 { grid-template-columns: 1fr 1fr; } .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;
}
