:root { --primary: #017439; --secondary: #FFFFFF; --header-offset: 122px; --header-top-h: 68px; --main-nav-h: 52px; } * { margin: 0; padding: 0; box-sizing: border-box; } body { padding-top: var(--header-offset); font-family: Arial, Helvetica, sans-serif; background-color: #FFFFFF; color: #333333; } .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(--secondary); } .header-top { box-sizing: border-box; height: var(--header-top-h); min-height: var(--header-top-h); 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: 24px; padding-right: 24px; } .logo { display: inline-block; color: #FFFFFF; font-size: 26px; font-weight: 800; letter-spacing: 1px; text-decoration: none; text-transform: lowercase; line-height: 1; 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; } .btn { display: inline-block; text-decoration: none; font-weight: 700; border-radius: 6px; text-align: center; 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(-1px); filter: brightness(1.08); } .btn-login, .btn-register { background-color: #C30808; color: #FFFF00; padding: 10px 22px; font-size: 15px; border-radius: 6px; box-shadow: 0 2px 8px rgba(195,8,8,0.35); } .mobile-nav-buttons { box-sizing: border-box; display: none; width: 100%; max-width: 100%; min-height: 48px; padding: 0 15px; background-color: #FFFFFF; } .main-nav { box-sizing: border-box; height: var(--main-nav-h); min-height: var(--main-nav-h); display: flex; align-items: center; overflow: visible; background-color: #FFFFFF; width: 100%; border-top: 1px solid rgba(0,0,0,0.06); } .nav-container { box-sizing: border-box; width: 100%; height: 100%; max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 0 24px; position: relative; } .nav-list { list-style: none; display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 4px; flex-wrap: wrap; margin: 0; padding: 0; } .nav-list li { display: inline-block; } .nav-list li a { display: block; color: #017439; font-size: 14px; font-weight: 700; text-decoration: none; padding: 8px 12px; border-radius: 4px; transition: background-color 0.2s ease, color 0.2s ease; white-space: nowrap; } .nav-list li a:hover, .nav-list li a.active { background-color: #017439; color: #FFFFFF; } .hamburger-menu { display: none; flex-direction: column; justify-content: center; align-items: center; width: 44px; height: 44px; cursor: pointer; text-decoration: none; background: transparent; border-radius: 4px; z-index: 1001; } .hamburger-menu span { display: block; width: 24px; height: 3px; background-color: #017439; margin: 3px 0; border-radius: 2px; transition: transform 0.3s ease, opacity 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; right: 0; bottom: 0; background-color: rgba(0,0,0,0.5); z-index: 999; opacity: 0; transition: opacity 0.3s ease; } .nav-overlay.active { display: block; opacity: 1; } .site-footer { background-color: #012b16; color: #FFFFFF; margin-top: 40px; } .footer-top-row { max-width: 1200px; margin: 0 auto; padding: 0 20px; } .footer-top-grid { max-width: 1200px; margin: 0 auto; padding: 40px 20px 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; } .footer-col { min-width: 0; } .footer-logo { display: inline-block; color: #FFFFFF; font-size: 26px; font-weight: 800; letter-spacing: 1px; text-decoration: none; margin-bottom: 14px; text-transform: lowercase; } .footer-logo:hover { color: #FFFF00; } .footer-description { color: #cfd9d3; font-size: 14px; line-height: 1.7; overflow-wrap: break-word; word-wrap: break-word; margin-bottom: 10px; } .footer-col-title { color: #FFFFFF; font-size: 16px; font-weight: 700; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 2px solid #017439; display: inline-block; } .footer-nav { list-style: none; margin: 0; padding: 0; } .footer-nav li { margin-bottom: 8px; } .footer-nav li a { color: #cfd9d3; font-size: 14px; text-decoration: none; transition: color 0.2s ease; } .footer-nav li a:hover { color: #FFFF00; text-decoration: underline; } .footer-dynamic-col { min-width: 0; } .footer-mid { max-width: 1200px; margin: 0 auto; padding: 10px 20px; } .footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 10px; } .footer-mid-cell { min-width: 0; } .footer-bottom-slot { max-width: 1200px; margin: 0 auto; padding: 0 20px; } .footer-bottom { background-color: #011a0d; text-align: center; padding: 20px; color: #cfd9d3; font-size: 14px; border-top: 1px solid rgba(255,255,255,0.1); } .footer-bottom p { margin: 0; } .footer-slot-anchor-inner { display: block; min-height: 1px; } @media (max-width: 768px) { :root { --header-offset: 110px; --header-top-h: 60px; --main-nav-h: 48px; } body { overflow-x: hidden; } .header-top { min-height: 60px !important; height: 60px !important; } .header-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; justify-content: center; position: relative; } .logo { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; font-size: 22px; } .logo img { max-height: 56px !important; display: block !important; max-width: 100%; height: auto; } .desktop-nav-buttons { display: none !important; } .mobile-nav-buttons { display: flex !important; align-items: center; justify-content: center; min-height: 48px; 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 { min-height: 48px !important; height: 48px !important; background-color: #FFFFFF; } .nav-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; justify-content: flex-start; } .hamburger-menu { display: flex; position: relative; margin-right: 8px; } .nav-list { display: none; position: fixed; top: 0; left: 0; bottom: 0; width: 280px; max-width: 80%; background-color: #FFFFFF; flex-direction: column; justify-content: flex-start; align-items: stretch; padding: 80px 20px 20px; gap: 0; overflow-y: auto; transform: translateX(-100%); transition: transform 0.3s ease; box-shadow: 4px 0 20px rgba(0,0,0,0.3); z-index: 1001; } .nav-list.active { display: flex; transform: translateX(0); } .nav-list li { width: 100%; border-bottom: 1px solid rgba(1,116,57,0.12); } .nav-list li a { display: block; padding: 14px 10px; font-size: 15px; border-radius: 0; color: #017439; } .nav-list li a:hover, .nav-list li a.active { background-color: #017439; color: #FFFFFF; } .footer-top-grid { grid-template-columns: 1fr; gap: 24px; padding: 30px 15px 15px; } .footer-mid-grid { grid-template-columns: 1fr 1fr; gap: 12px; } .footer-logo { font-size: 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;
}
