:root { --primary-color: #017439; --secondary-color: #FFFFFF; --btn-login-bg: #C30808; --btn-register-bg: #C30808; --btn-text-color: #FFFF00; --header-top-bg: #017439; --main-nav-bg: #FFFFFF; --nav-link-color: #017439; --nav-link-hover-bg: #e6f2ec; --footer-bg: #0b3d24; --footer-text: #e8f5ee; --footer-heading: #FFFFFF; --footer-link: #c8e6d5; --footer-link-hover: #FFFF00; --header-offset: 122px; } *, *::before, *::after { box-sizing: border-box; } html { -webkit-text-size-adjust: 100%; } body { margin: 0; padding-top: var(--header-offset); font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; color: #222222; background-color: #FFFFFF; overflow-x: hidden; } .site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; background-color: var(--header-top-bg); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22); } .header-top { width: 100%; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background-color: var(--header-top-bg); border-bottom: 1px solid rgba(255, 255, 255, 0.15); } .header-container { width: 100%; height: 100%; max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; display: flex; align-items: center; justify-content: space-between; } .logo { display: inline-block; font-size: 26px; font-weight: 800; letter-spacing: 0.5px; color: #FFFFFF; text-decoration: none; line-height: 1; white-space: nowrap; } .logo:hover, .logo:focus { color: #FFFF00; text-decoration: none; } .logo img { display: block; max-height: 60px; height: auto; width: auto; max-width: 280px; object-fit: contain; } .desktop-nav-buttons { display: flex; align-items: center; gap: 12px; } .mobile-nav-buttons { display: none; min-height: 48px; box-sizing: border-box; } .btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; text-decoration: none; border: none; border-radius: 6px; padding: 10px 20px; font-size: 15px; font-weight: 700; line-height: 1.2; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease; box-sizing: border-box; } .btn:hover, .btn:focus { text-decoration: none; transform: translateY(-1px); filter: brightness(1.08); } .btn-login { background-color: var(--btn-login-bg); color: var(--btn-text-color); box-shadow: 0 3px 10px rgba(195, 8, 8, 0.38); } .btn-register { background-color: var(--btn-register-bg); color: var(--btn-text-color); box-shadow: 0 3px 10px rgba(195, 8, 8, 0.38); border: 1px solid rgba(255, 255, 255, 0.35); } .hamburger-menu { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 44px; height: 44px; padding: 0; background: transparent; border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 6px; cursor: pointer; z-index: 1001; } .hamburger-menu span { display: block; width: 22px; height: 2px; background-color: #FFFFFF; border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; } .hamburger-menu.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); } .hamburger-menu.active span:nth-child(2) { opacity: 0; } .hamburger-menu.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); } .main-nav { width: 100%; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background-color: var(--main-nav-bg); border-top: 1px solid rgba(1, 116, 57, 0.08); } .nav-container { width: 100%; height: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 4px; flex-wrap: nowrap; } .nav-link { display: inline-flex; align-items: center; justify-content: center; padding: 6px 11px; font-size: 14px; font-weight: 600; color: var(--nav-link-color); text-decoration: none; border-radius: 5px; white-space: nowrap; transition: background-color 0.2s ease, color 0.2s ease; } .nav-link:hover, .nav-link:focus { background-color: var(--nav-link-hover-bg); color: #017439; text-decoration: none; } .nav-link.active { background-color: #017439; color: #FFFFFF; } .nav-overlay { position: fixed; inset: 0; background-color: rgba(0, 0, 0, 0.55); opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; z-index: 999; } .nav-overlay.active { opacity: 1; visibility: visible; } body.no-scroll { overflow: hidden; } .site-footer { background-color: var(--footer-bg); color: var(--footer-text); margin-top: 40px; } .footer-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; } .footer-top { padding: 44px 0 28px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); } .footer-slot-anchor, .footer-slot-anchor-inner, .footer-slot-bottom { width: 100%; } .footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: start; } .footer-col { min-width: 0; } .footer-logo { display: inline-block; font-size: 24px; font-weight: 800; color: #FFFFFF; text-decoration: none; margin-bottom: 12px; letter-spacing: 0.5px; } .footer-logo:hover, .footer-logo:focus { color: var(--footer-link-hover); text-decoration: none; } .footer-description { margin: 0; font-size: 14px; line-height: 1.7; color: var(--footer-text); word-wrap: break-word; overflow-wrap: break-word; } .footer-heading { margin: 0 0 14px; font-size: 16px; font-weight: 700; color: var(--footer-heading); letter-spacing: 0.4px; } .footer-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; } .footer-nav li { margin: 0; padding: 0; } .footer-nav a { display: inline-block; font-size: 14px; line-height: 1.5; color: var(--footer-link); text-decoration: none; word-wrap: break-word; overflow-wrap: break-word; transition: color 0.2s ease; } .footer-nav a:hover, .footer-nav a:focus { color: var(--footer-link-hover); text-decoration: underline; } .footer-dynamic-col { min-height: 1px; } .footer-mid { padding: 24px 0 8px; } .footer-mid-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 12px; } .footer-mid-cell { min-width: 0; } .footer-slot-bottom { max-width: 1200px; margin: 0 auto; padding: 0 24px; } .footer-bottom { padding: 18px 0 22px; border-top: 1px solid rgba(255, 255, 255, 0.12); } .footer-copyright { margin: 0; font-size: 13px; line-height: 1.6; color: #c8e6d5; text-align: center; } @media (max-width: 768px) { :root { --header-offset: 110px; } .header-top { height: 60px !important; min-height: 60px !important; position: relative; } .header-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; position: relative; height: 100%; } .hamburger-menu { display: flex; position: relative; z-index: 2; } .logo { position: absolute !important; left: 50% !important; transform: translateX(-50%) !important; display: flex !important; align-items: center !important; justify-content: center !important; font-size: 21px; max-width: calc(100% - 120px); } .logo img { display: block !important; max-width: 100%; height: auto; max-height: 56px !important; } .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; background-color: var(--header-top-bg); border-bottom: 1px solid rgba(255, 255, 255, 0.15); } .mobile-nav-buttons .btn { flex: 1 1 0; 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 { display: none; position: fixed; top: var(--header-offset); left: 0; width: 82%; max-width: 320px; height: calc(100vh - var(--header-offset)); min-height: 0; flex-direction: column; justify-content: flex-start; align-items: stretch; background-color: #FFFFFF; border-top: none; border-right: 1px solid rgba(1, 116, 57, 0.15); box-shadow: 4px 0 18px rgba(0, 0, 0, 0.22); transform: translateX(-100%); transition: transform 0.3s ease; overflow-y: auto; z-index: 1001; padding: 12px 0; } .main-nav.active { display: flex; transform: translateX(0); } .nav-container { flex-direction: column; justify-content: flex-start; align-items: stretch; height: auto; max-width: none; width: 100%; padding: 0; gap: 2px; } .nav-link { display: block; width: 100%; padding: 13px 22px; font-size: 15px; text-align: left; border-radius: 0; color: #017439; } .nav-link.active { background-color: #017439; color: #FFFFFF; } .footer-top-grid { grid-template-columns: 1fr; gap: 26px; } .footer-mid-row { grid-template-columns: repeat(2, 1fr); gap: 12px; } .footer-container { padding: 0 16px; } .footer-slot-bottom { padding: 0 16px; } .footer-top { padding: 32px 0 22px; } .footer-bottom { padding: 16px 0 20px; } .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;
}
