:root {
      --primary-blue: #0062AE;
      --primary-dark: #004A85;
      --accent-yellow: #FFCC00;
      --text-dark: #1A202C;
      --text-gray: #4A5568;
      --text-light: #718096;
      --bg-light: #F7FAFC;
      --bg-white: #FFFFFF;
      --border-color: #E2E8F0;
      --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
      --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    }

    * { margin: 0; padding: 0; box-sizing: border-box; }
    html{overflow-y:scroll;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;background: var(--bg-light);}
    body {
      position: relative;
      background: transparent;
      min-height: 100vh;
      min-height: 100dvh;
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
      color: var(--text-dark);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

    /* 背景图层 - 全屏横图横幅（复用历届展会列表页模式） */
    body > .bg-layer,
    body::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 350px;
      background: linear-gradient(to bottom,
                  rgba(0,98,174, 1) 0%,
                  rgba(0,98,174, 0.85) 12vh,
                  rgba(0,74,133, 0.4) 22vh,
                  rgba(0,74,133, 0) 28vh),
                  var(--page-bg-img, url('/uploads/fastener/top-banners/history-bg.webp')) center 40%/cover no-repeat;
      z-index: 1;
      pointer-events: none;
    }

    .page-header {
      position: relative;
      background: transparent;
      z-index: 1;
      color: white;
      height: 350px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      padding-top: 0;
      box-sizing: border-box;
    }
    .page-header::before {
      content: none;
      display: none;
    }
    .page-header h1 {
      font-size: 42px;
      margin-bottom: 15px;
      font-weight: 700;
    }

    .detail-section { max-width: 1000px; margin: 0 auto; padding: 60px 20px; min-height: 500px; }

    /* 面包屑 */
    .detail-section .breadcrumb {
      margin-bottom: 15px;
      font-size: 14px;
    }
    .detail-section .breadcrumb a {
      color: var(--primary-blue);
      text-decoration: none;
    }
    .detail-section .breadcrumb a:hover {
      text-decoration: underline;
    }
    .detail-section .breadcrumb span {
      color: var(--text-gray);
      margin: 0 8px;
    }
    .detail-section .breadcrumb span:last-child {
      color: var(--text-dark);
    }

    /* 大标题 */
    .detail-section h1#history-detail-title {
      font-size: 28px;
      font-weight: 700;
      color: var(--text-dark);
      margin-bottom: 25px;
      line-height: 1.4;
    }

    .detail-card { background: white; border-radius: 15px; padding: 50px; box-shadow: var(--shadow-lg); margin-bottom: 30px; }
    .detail-card h2 { color: var(--primary-blue); font-size: 28px; margin-bottom: 25px; padding-bottom: 15px; border-bottom: 2px solid var(--border-color); }
    .detail-card p { color: var(--text-gray); line-height: 1.8; margin-bottom: 20px; font-size: 18px; }
    .detail-card ul { line-height: 2; color: var(--text-gray); padding-left: 20px; margin-bottom: 20px; }
    .detail-card ul li { margin-bottom: 10px; }

    .info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 30px; }
    .info-item { text-align: center; padding: 25px; background: var(--bg-light); border-radius: 10px; }
    .info-item .icon { font-size: 36px; margin-bottom: 10px; color: var(--primary-blue); }
    .info-item h3 { color: var(--primary-blue); font-size: 16px; margin-bottom: 8px; }
    .info-item p { color: var(--text-dark); font-size: 18px; font-weight: 700; margin: 0; }

    .gallery-section { margin-top: 40px; }
    .gallery-section h3 { font-size: 22px; color: var(--primary-blue); margin-bottom: 20px; }

    .gallery-layout { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

    .gallery-item { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 4/3; }
    .gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
    .gallery-item:hover img { transform: scale(1.1); }

    .video-container { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 4/3; background: #000; }
    .video-container video { width: 100%; height: 100%; object-fit: cover; }
    .video-container .video-cover { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
    .video-container .play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 60px; height: 60px; background: rgba(0,0,0,0.6); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s; }
    .video-container .play-btn:hover { background: rgba(0,0,0,0.8); transform: translate(-50%, -50%) scale(1.1); }
    .video-container .play-btn i { color: white; font-size: 24px; margin-left: 3px; }

    .sections-container { margin-bottom: 30px; }

    @media (max-width: 768px) {
      .page-header { height: 250px; padding: 40px 20px; }
      .page-header h1 { font-size: 28px; }
      .detail-section { padding: 30px 15px; }
      .detail-card { padding: 25px; }
      .detail-card h2 { font-size: 22px; }
      .info-grid { grid-template-columns: repeat(2, 1fr); }
      .gallery-layout { grid-template-columns: 1fr; }
      .detail-section h1#history-detail-title { font-size: 22px; }
    }