:root { --header-offset: 122px; } body { padding-top: var(--header-offset); margin: 0; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } /* Base styles for site-header */ .site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); } /* Header Top */ .header-top { box-sizing: border-box; min-height: 68px; height: 68px; display: flex; align-items: center; overflow: hidden; background-color: #B71C1C; /* Background */ color: #FFF5E1; /* Text Main */ 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: 0 20px; } .logo { font-size: 28px; font-weight: bold; color: #F4D34D; /* Gold */ text-decoration: none; display: flex; align-items: center; } .logo img { display: block; max-height: 60px; height: auto; width: auto; max-width: 280px; object-fit: contain; } /* Desktop Buttons */ .desktop-nav-buttons { display: flex; gap: 12px; align-items: center; } .desktop-nav-buttons .btn { background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); color: #333; /* Dark text for contrast */ padding: 10px 20px; border-radius: 5px; text-decoration: none; font-weight: bold; white-space: nowrap; transition: background-color 0.3s ease; border: 1px solid #F2B544; /* Border */ } .desktop-nav-buttons .btn:hover { background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%); } /* Hamburger Menu (hidden on desktop) */ .hamburger-menu { display: none; background: none; border: none; cursor: pointer; padding: 10px; z-index: 1001; } .hamburger-menu .bar { display: block; width: 25px; height: 3px; background-color: #FFF5E1; /* Text Main */ margin: 5px auto; transition: all 0.3s ease-in-out; } /* Mobile Nav Buttons (hidden on desktop) */ .mobile-nav-buttons { box-sizing: border-box; display: none; min-height: 48px; width: 100%; background-color: #E53935; /* Secondary Color */ padding: 0 20px; justify-content: center; align-items: center; gap: 10px; } /* Main Navigation */ .main-nav { box-sizing: border-box; min-height: 52px; height: 52px; display: flex; align-items: center; overflow: hidden; background-color: #D32F2F; /* Card BG */ color: #FFF5E1; /* Text Main */ width: 100%; } .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; } .nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 25px; } .nav-list li a { color: #FFF5E1; /* Text Main */ text-decoration: none; font-weight: bold; font-size: 15px; padding: 5px 0; transition: color 0.3s ease; white-space: nowrap; } .nav-list li a:hover, .nav-list li a.active { color: #F4D34D; /* Gold */ } /* Overlay (hidden on desktop) */ .overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.7); z-index: 998; } /* Footer */ .site-footer { background-color: #7A0E0E; /* Deep Red */ color: #FFF5E1; /* Text Main */ padding: 40px 20px 20px; font-size: 14px; line-height: 1.6; } .footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1200px; margin: 0 auto 30px; } .footer-col h3 { color: #F4D34D; /* Gold */ font-size: 18px; margin-bottom: 15px; } .footer-logo { font-size: 24px; font-weight: bold; color: #F4D34D; /* Gold */ text-decoration: none; margin-bottom: 15px; display: block; } .footer-description { margin-bottom: 15px; word-wrap: break-word; overflow-wrap: break-word; } .footer-nav { list-style: none; padding: 0; margin: 0; } .footer-nav li a { color: #FFF5E1; /* Text Main */ text-decoration: none; margin-bottom: 8px; display: block; transition: color 0.3s ease; } .footer-nav li a:hover { color: #F4D34D; /* Gold */ } .footer-slot-anchor-top-row, .footer-slot-anchor-inner, .footer-slot-anchor-mid, .footer-slot-anchor-bottom { min-height: 1px; /* Ensure visibility for slot injection */ } .footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); } .footer-bottom p { margin: 0; color: #FFF5E1; /* Text Main */ } /* Mobile Styles */ @media (max-width: 768px) { :root { --header-offset: 110px; } body { overflow-x: hidden; } .page-content img { max-width: 100% !important; height: auto !important; display: block; } .page-content { overflow-x: hidden; max-width: 100%; } .site-header { box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); } .header-top { min-height: 60px !important; height: 60px !important; padding-right: 15px; } .header-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 0; justify-content: center; position: relative; } .logo { position: absolute !important; left: 50% !important; transform: translateX(-50%) !important; display: flex !important; align-items: center !important; justify-content: center !important; max-width: calc(100% - 100px); font-size: 24px; } .logo img { max-height: 56px !important; } .desktop-nav-buttons { display: none !important; } .hamburger-menu { display: block; position: absolute; left: 15px; top: 50%; transform: translateY(-50%); } .hamburger-menu.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); } .hamburger-menu.active .bar:nth-child(2) { opacity: 0; } .hamburger-menu.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); } .mobile-nav-buttons { display: flex !important; min-height: 48px; width: 100%; max-width: 100%; box-sizing: border-box; padding: 0 15px; overflow: hidden; gap: 10px; flex-wrap: nowrap; background-color: #E53935; /* Secondary Color */ } .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; text-align: center; } .main-nav { display: none; position: fixed; top: var(--header-offset); left: 0; width: 100%; height: calc(100% - var(--header-offset)); overflow-y: auto; background-color: #D32F2F; /* Card BG */ flex-direction: column; transform: translateX(-100%); transition: transform 0.3s ease; z-index: 999; padding-bottom: 20px; /* Add some padding at the bottom of the menu */ } .main-nav.active { display: flex; transform: translateX(0); } .nav-container { width: 100%; max-width: none; padding: 20px 15px; } .nav-list { flex-direction: column; gap: 15px; text-align: center; } .overlay.active { display: block; } .footer-top-grid { grid-template-columns: 1fr; } .footer-col { margin-bottom: 25px; } .footer-bottom { padding-top: 15px; } } .no-scroll { overflow: 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;
}
