:root { --primary-color: #26A9E0; --secondary-color: #FFFFFF; --login-button-color: #EA7C07; --text-dark: #000000; --text-light: #FFFFFF; --header-offset: 122px; } body { padding-top: var(--header-offset); font-family: Arial, sans-serif; line-height: 1.6; color: #333; background-color: var(--secondary-color); overflow-x: hidden; } .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); background-color: var(--secondary-color); } .header-top { box-sizing: border-box; min-height: 68px; height: 68px; display: flex; align-items: center; overflow: hidden; background-color: #333333; width: 100%; color: var(--text-light); } .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: 0 20px; } .logo { font-size: 24px; font-weight: bold; text-decoration: none; color: var(--primary-color); display: block; } .logo img { display: block; max-height: 60px; height: auto; width: auto; max-width: 280px; object-fit: contain; } .desktop-nav-buttons { display: flex; gap: 10px; align-items: center; } .btn { display: inline-block; padding: 10px 15px; border-radius: 5px; text-decoration: none; font-weight: bold; transition: background-color 0.3s ease, box-shadow 0.3s ease; white-space: nowrap; text-align: center; color: var(--text-light); background-color: var(--login-button-color); box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); } .btn:hover { background-color: #ff8c00; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); } .main-nav { box-sizing: border-box; min-height: 52px; height: 52px; display: flex; align-items: center; overflow: hidden; background-color: var(--primary-color); width: 100%; color: var(--text-light); } .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 20px; gap: 20px; } .nav-link { color: var(--text-light); text-decoration: none; padding: 8px 12px; font-weight: bold; transition: background-color 0.3s ease, color 0.3s ease; white-space: nowrap; } .nav-link:hover, .nav-link.active { background-color: rgba(255, 255, 255, 0.2); border-radius: 4px; } .hamburger-menu { display: none; cursor: pointer; width: 30px; height: 20px; position: relative; z-index: 1001; margin-left: 15px; } .hamburger-menu span { display: block; width: 100%; height: 2px; background-color: var(--text-light); position: absolute; left: 0; transition: all 0.3s ease; } .hamburger-menu span:nth-child(1) { top: 0; } .hamburger-menu span:nth-child(2) { top: 9px; } .hamburger-menu span:nth-child(3) { top: 18px; } .hamburger-menu.active span:nth-child(1) { transform: rotate(45deg); top: 9px; } .hamburger-menu.active span:nth-child(2) { opacity: 0; } .hamburger-menu.active span:nth-child(3) { transform: rotate(-45deg); top: 9px; } .mobile-nav-buttons { display: none; } .mobile-menu-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); z-index: 999; transition: opacity 0.3s ease; opacity: 0; } .mobile-menu-overlay.active { display: block; opacity: 1; } .site-footer { background-color: #222222; color: #CCCCCC; padding: 40px 20px 20px; font-size: 14px; } .site-footer a { color: var(--primary-color); text-decoration: none; } .site-footer a:hover { text-decoration: underline; } .footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1200px; margin: 0 auto 30px; } .footer-col h3 { color: var(--secondary-color); font-size: 16px; margin-bottom: 15px; } .footer-col p { margin-bottom: 10px; line-height: 1.5; } .footer-col ul { list-style: none; padding: 0; margin: 0; } .footer-col ul li { margin-bottom: 8px; } .footer-logo { font-size: 20px; font-weight: bold; display: block; margin-bottom: 15px; color: var(--primary-color); } .footer-description { word-wrap: break-word; overflow-wrap: break-word; } .footer-dynamic-col .footer-slot-anchor-inner { display: flex; flex-wrap: wrap; flex-direction: row; align-items: flex-start; gap: 5px; } .footer-dynamic-row { max-width: 1200px; margin: 0 auto 20px; } .footer-dynamic-row .footer-slot-anchor-inner { display: flex; flex-wrap: wrap; flex-direction: row; align-items: flex-start; gap: 8px; width: 100%; } .footer-bottom { max-width: 1200px; margin: 20px auto 0; text-align: center; padding-top: 20px; border-top: 1px solid #444444; color: #AAAAAA; } .footer-bottom p { margin: 0; } @media (max-width: 768px) { :root { --header-offset: 110px; } body { padding-top: var(--header-offset); } .header-top { min-height: 60px !important; height: 60px !important; justify-content: space-between; padding-right: 15px; } .header-container { width: 100%; max-width: none; padding: 0; position: relative; } .hamburger-menu { display: block; position: absolute; left: 15px; top: 50%; transform: translateY(-50%); } .logo { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; margin-left: 50px; margin-right: 50px; } .logo img { max-height: 56px !important; } .desktop-nav-buttons { display: none; } .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; background-color: #444444; } .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 { display: none; flex-direction: column; position: fixed; top: var(--header-offset); left: 0; width: 80%; height: calc(100% - var(--header-offset)); background-color: #333333; transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1001; padding: 20px 0; overflow-y: auto; } .main-nav.active { display: flex; transform: translateX(0); } .nav-container { width: 100%; max-width: none; padding: 0 15px; flex-direction: column; align-items: flex-start; gap: 0; } .nav-link { width: 100%; padding: 12px 15px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); } .nav-link:last-child { border-bottom: none; } .footer-top-grid { grid-template-columns: 1fr; gap: 30px; } .footer-col { text-align: center; } .footer-col h3 { text-align: center; } .footer-col ul { text-align: center; } .footer-col ul li { display: inline-block; margin: 0 8px 8px; } .footer-description { padding: 0 15px; } .footer-dynamic-col .footer-slot-anchor-inner, .footer-dynamic-row .footer-slot-anchor-inner { justify-content: center; } body.no-scroll { overflow: hidden; } .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;
  }
}
