:root { --primary: #017439; --secondary: #FFFFFF; --btn-bg: #C30808; --btn-text: #FFFF00; --header-offset: 122px; --footer-bg: #0b2e1f; --footer-text: #e8f5ee; } * { box-sizing: border-box; } body { margin: 0; padding-top: var(--header-offset); font-family: Arial, Helvetica, sans-serif; background-color: #FFFFFF; color: #333333; } img { max-width: 100%; height: auto; } .site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; box-shadow: 0 4px 14px rgba(0,0,0,0.22); background-color: #FFFFFF; } .header-top { box-sizing: border-box; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background-color: #017439; 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; font-size: 26px; font-weight: 800; letter-spacing: 0.5px; color: #FFFFFF; text-decoration: none; text-transform: lowercase; white-space: nowrap; } .logo:hover { color: #FFFF00; } .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; flex-shrink: 0; margin-left: auto; } .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; font-weight: 700; border-radius: 8px; padding: 10px 22px; font-size: 15px; line-height: 1.2; transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease; white-space: nowrap; border: none; cursor: pointer; } .btn:hover { transform: translateY(-2px); filter: brightness(1.08); } .btn-login, .btn-register { background-color: #C30808; color: #FFFF00; box-shadow: 0 4px 10px rgba(195,8,8,0.35); } .main-nav { box-sizing: border-box; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background-color: #015c2d; width: 100%; border-top: 1px solid rgba(255,255,255,0.12); } .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 24px; width: 100%; position: relative; } .nav-menu { list-style: none; display: flex; flex-direction: row; justify-content: center; align-items: center; margin: 0; padding: 0; gap: 4px; } .nav-menu li { margin: 0; padding: 0; } .nav-menu a { display: inline-block; color: #FFFFFF; text-decoration: none; font-size: 14px; font-weight: 600; padding: 8px 12px; border-radius: 6px; transition: background-color 0.2s ease, color 0.2s ease; white-space: nowrap; } .nav-menu a:hover, .nav-menu a.active { background-color: #017439; color: #FFFF00; } .hamburger-menu { display: none; background: transparent; border: none; cursor: pointer; padding: 8px; width: 44px; height: 44px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; z-index: 1001; border-radius: 6px; } .hamburger-menu span { display: block; width: 24px; height: 3px; background-color: #FFFFFF; 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); } .menu-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0,0,0,0.55); z-index: 999; opacity: 0; transition: opacity 0.3s ease; } .menu-overlay.active { display: block; opacity: 1; } .site-footer { background-color: #0b2e1f; color: #e8f5ee; padding: 48px 0 0; margin-top: 40px; } .footer-container { box-sizing: border-box; width: 100%; max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; } .footer-top-row { min-height: 0; } .footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding: 28px 0; } .footer-col { min-width: 0; } .footer-about { min-width: 0; } .footer-logo { display: inline-block; font-size: 24px; font-weight: 800; color: #FFFFFF; text-decoration: none; margin-bottom: 14px; } .footer-logo:hover { color: #FFFF00; } .footer-description { margin: 0 0 12px; font-size: 14px; line-height: 1.7; color: #cfe7db; word-wrap: break-word; overflow-wrap: break-word; white-space: normal; } .footer-title { margin: 0 0 14px; font-size: 16px; font-weight: 700; color: #FFFFFF; letter-spacing: 0.3px; } .footer-nav { list-style: none; margin: 0; padding: 0; } .footer-nav li { margin: 0 0 8px; } .footer-nav a { color: #cfe7db; text-decoration: none; font-size: 14px; line-height: 1.5; transition: color 0.2s ease; word-wrap: break-word; overflow-wrap: break-word; } .footer-nav a:hover { color: #FFFF00; } .footer-dynamic-col { min-width: 0; } .footer-slot-anchor-inner { display: block; } .footer-mid { background-color: #0e3a28; padding: 24px 0; } .footer-mid-row { display: flex; flex-wrap: wrap; gap: 20px; } .footer-mid-slot { flex: 1 1 240px; min-width: 0; } .footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px; } .footer-mid-cell { min-width: 0; } .footer-bottom-slot { display: block; margin-top: 16px; } .footer-bottom { background-color: #081f15; padding: 18px 0; margin-top: 0; } .footer-bottom .footer-container { text-align: center; } .copyright { margin: 0; font-size: 13px; color: #a9c9ba; } .no-scroll { overflow: hidden; } @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: 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; } .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: block; background-color: #015c2d; overflow: visible; } .nav-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; display: flex; justify-content: flex-start; } .hamburger-menu { display: flex; } .nav-menu { display: none; position: fixed; top: 0; left: 0; width: 280px; max-width: 82%; height: 100vh; background-color: #017439; flex-direction: column; justify-content: flex-start; align-items: stretch; padding: 84px 16px 24px; gap: 4px; margin: 0; transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1001; overflow-y: auto; box-shadow: 6px 0 18px rgba(0,0,0,0.3); } .nav-menu.active { display: flex; transform: translateX(0); } .nav-menu li { width: 100%; } .nav-menu a { display: block; width: 100%; font-size: 15px; padding: 12px 14px; border-radius: 6px; color: #FFFFFF; } .nav-menu a:hover, .nav-menu a.active { background-color: #015c2d; color: #FFFF00; } .footer-top-grid { grid-template-columns: 1fr; gap: 22px; } .footer-mid-grid { grid-template-columns: 1fr 1fr; } .footer-mid-row { flex-direction: column; } .site-footer { padding-top: 32px; } .page-content img { max-width: 100% !important; height: auto !important; display: block; } .page-content { overflow-x: hidden; max-width: 100%; } body { overflow-x: hidden; } .footer-container { padding-left: 16px; padding-right: 16px; } }
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
