html { scroll-behavior: smooth; } body { margin: 0; font-family: Arial, sans-serif; padding-top: var(--header-offset); overflow-x: hidden; } :root { --header-offset: 122px; } .site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; box-shadow: 0 2px 5px rgba(0,0,0,0.1); } .header-top { background-color: #2F6BFF; min-height: 68px; height: 68px; display: flex; align-items: center; overflow: hidden; } .header-container { max-width: 1200px; width: 100%; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 20px; height: 100%; } .logo { color: #FFFFFF; font-size: 24px; font-weight: bold; text-decoration: none; display: flex; align-items: center; white-space: nowrap; } .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; } .mobile-nav-buttons { display: none; box-sizing: border-box; min-height: 48px; background-color: #F4F7FB; } .main-nav { background-color: #6FA3FF; min-height: 52px; height: 52px; display: flex; align-items: center; overflow: hidden; } .nav-container { max-width: 1200px; width: 100%; margin: 0 auto; display: flex; justify-content: center; align-items: center; padding: 0 20px; height: 100%; } .nav-link { color: #FFFFFF; text-decoration: none; padding: 10px 15px; font-weight: 500; white-space: nowrap; transition: background-color 0.3s ease; } .nav-link:hover { background-color: rgba(255,255,255,0.1); border-radius: 4px; } .btn { background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); color: #FFFFFF; padding: 10px 18px; border-radius: 5px; text-decoration: none; font-weight: bold; transition: all 0.3s ease; white-space: nowrap; border: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 2px 5px rgba(0,0,0,0.2); } .btn:hover { transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,0.3); } .hamburger-menu { display: none; flex-direction: column; justify-content: space-around; width: 30px; height: 25px; cursor: pointer; padding: 5px; z-index: 1002; } .hamburger-menu .bar { width: 100%; height: 3px; background-color: #FFFFFF; transition: all 0.3s ease; border-radius: 2px; } .hamburger-menu.active .bar:nth-child(1) { transform: rotate(-45deg) translate(-5px, 6px); } .hamburger-menu.active .bar:nth-child(2) { opacity: 0; } .hamburger-menu.active .bar:nth-child(3) { transform: rotate(45deg) translate(-5px, -6px); } .mobile-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0,0,0,0.5); z-index: 999; } .site-footer { background-color: #1F2D3D; color: #FFFFFF; padding: 40px 20px 20px; font-size: 14px; } .footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1200px; margin: 0 auto 30px; } .footer-col h3 { color: #6FA3FF; margin-bottom: 15px; font-size: 16px; font-weight: bold; } .footer-logo { color: #FFFFFF; font-size: 20px; font-weight: bold; text-decoration: none; display: block; margin-bottom: 10px; } .footer-description { color: #D6E2FF; line-height: 1.6; word-wrap: break-word; overflow-wrap: break-word; } .footer-nav { list-style: none; padding: 0; margin: 0; } .footer-nav li { margin-bottom: 8px; } .footer-nav a { color: #D6E2FF; text-decoration: none; transition: color 0.3s ease; } .footer-nav a:hover { color: #FFFFFF; } .footer-bottom { text-align: center; border-top: 1px solid #D6E2FF; padding-top: 20px; margin-top: 20px; color: #D6E2FF; } .footer-bottom a { display: none; } .footer-slot-anchor-inner { min-height: 1px; } @media (max-width: 768px) { :root { --header-offset: 110px; } .header-top { min-height: 60px !important; height: 60px !important; } .header-container { padding: 0 15px; max-width: none; } .logo { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; } .logo img { max-height: 56px !important; } .hamburger-menu { display: flex; } .desktop-nav-buttons { display: none !important; } .mobile-nav-buttons { display: flex !important; min-height: 48px; align-items: center; width: 100%; max-width: 100%; box-sizing: border-box; padding: 0 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: calc(100vh - var(--header-offset)); width: 80%; max-width: 300px; position: fixed; top: var(--header-offset); left: 0; display: none; flex-direction: column; transform: translateX(-100%); transition: transform 0.3s ease; overflow-y: auto; z-index: 1001; box-shadow: 2px 0 5px rgba(0,0,0,0.2); } .main-nav.active { display: flex; transform: translateX(0); } .nav-container { flex-direction: column; align-items: flex-start; padding: 20px; max-width: none; height: auto; } .nav-link { width: 100%; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.1); } .nav-link:last-child { border-bottom: none; } .mobile-overlay.active { display: block; } .footer-top-grid { grid-template-columns: 1fr; } .footer-col { margin-bottom: 20px; } .footer-col:last-child { margin-bottom: 0; } .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;
  }
}
