:root { --primary: #017439; --secondary: #FFFFFF; --btn-login: #C30808; --btn-register: #C30808; --btn-text: #FFFF00; --header-offset: 122px; } * { box-sizing: border-box; } body { margin: 0; padding-top: var(--header-offset); font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; } .site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; box-shadow: 0 2px 12px rgba(0,0,0,0.25); background-color: var(--primary); } .header-top { height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background-color: var(--primary); width: 100%; } .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; } .logo { display: inline-block; font-size: 28px; font-weight: 800; color: var(--secondary); text-decoration: none; letter-spacing: 1px; line-height: 1; } .desktop-nav-buttons { display: flex; gap: 12px; align-items: center; } .btn { display: inline-block; text-decoration: none; padding: 9px 22px; font-size: 14px; font-weight: 700; border-radius: 6px; text-align: center; white-space: nowrap; transition: transform 0.2s ease, box-shadow 0.2s ease; border: none; cursor: pointer; } .btn-login { background-color: var(--btn-login); color: var(--btn-text); box-shadow: 0 3px 8px rgba(195,8,8,0.4); } .btn-register { background-color: var(--btn-register); color: var(--btn-text); box-shadow: 0 3px 8px rgba(195,8,8,0.4); } .btn:hover { transform: translateY(-2px); box-shadow: 0 5px 14px rgba(0,0,0,0.3); } .mobile-nav-buttons { box-sizing: border-box; display: none; min-height: 48px; } .main-nav { height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background-color: #0a5a2e; width: 100%; } .nav-container { 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: var(--secondary); text-decoration: none; font-size: 14px; font-weight: 600; padding: 6px 12px; border-radius: 4px; white-space: nowrap; transition: background-color 0.2s ease, color 0.2s ease; } .nav-link:hover, .nav-link.active { background-color: rgba(255,255,255,0.18); color: #FFFF00; } .hamburger-menu { display: none; position: absolute; top: 50%; left: 15px; transform: translateY(-50%); width: 42px; height: 42px; background: transparent; border: none; cursor: pointer; z-index: 1001; padding: 8px; flex-direction: column; justify-content: space-between; } .hamburger-menu span { display: block; width: 100%; height: 3px; background-color: var(--secondary); border-radius: 3px; 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; width: 100%; height: 100%; 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: #0d3d22; color: #e6f0ea; padding: 0; margin-top: 40px; } .footer-top { padding: 45px 20px 25px; } .footer-container { max-width: 1200px; margin: 0 auto; width: 100%; } .footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; } .footer-col { min-width: 0; } .footer-logo { display: inline-block; font-size: 26px; font-weight: 800; color: #FFFF00; text-decoration: none; margin-bottom: 12px; letter-spacing: 1px; } .footer-description { font-size: 13.5px; line-height: 1.7; color: #c5d9cd; margin: 0 0 10px; overflow-wrap: break-word; word-wrap: break-word; } .footer-title { font-size: 16px; font-weight: 700; color: var(--secondary); margin: 0 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--primary); display: inline-block; } .footer-nav { list-style: none; margin: 0; padding: 0; } .footer-nav li { margin-bottom: 8px; } .footer-nav a { color: #c5d9cd; text-decoration: none; font-size: 13.5px; transition: color 0.2s ease, padding-left 0.2s ease; display: inline-block; } .footer-nav a:hover { color: #FFFF00; padding-left: 4px; } .footer-dynamic-col { min-width: 0; } .footer-slot-anchor-inner { min-height: 1px; } .footer-mid { max-width: 1200px; margin: 0 auto; padding: 0 20px 25px; } .footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; } .footer-bottom { background-color: #08301a; padding: 16px 20px; border-top: 1px solid rgba(255,255,255,0.12); } .footer-bottom .footer-container { text-align: center; } .copyright { margin: 0; font-size: 13px; color: #9fb8a9; } @media (max-width: 768px) { :root { --header-offset: 110px; } .header-top { height: 60px; min-height: 60px; } .header-container { width: 100%; max-width: none; padding-left: 60px; padding-right: 15px; position: relative; } .logo { position: absolute; left: 50%; transform: translateX(-50%); display: inline-block; font-size: 24px; max-width: calc(100% - 130px); text-align: center; } .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; 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; min-height: 48px; display: none; position: fixed; top: 0; left: 0; width: 85%; max-width: 340px; height: 100vh; flex-direction: column; justify-content: flex-start; padding-top: 70px; background-color: #0a5a2e; transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1000; overflow-y: auto; } .main-nav.active { display: flex; transform: translateX(0); } .nav-container { width: 100%; max-width: none; padding: 0 15px; flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 0; height: auto; } .nav-link { display: block; padding: 14px 12px; font-size: 15px; border-bottom: 1px solid rgba(255,255,255,0.12); border-radius: 0; } .hamburger-menu { display: flex; } .footer-top-grid { grid-template-columns: 1fr; gap: 20px; } .footer-mid-grid { grid-template-columns: 1fr 1fr; } .footer-top { padding: 30px 15px 20px; } .footer-mid { padding: 0 15px 20px; } } @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; } }
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
