﻿@charset "utf-8";
/* ==========================================================
     1. 全局样式重置与字体设定 (与全站完全统一)
     ========================================================== */
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  body {
    color: #333;
    font: 14px/1.6 "Microsoft YaHei", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    background: #f1f2f5;
    -webkit-font-smoothing: antialiased;
  }
  ol, ul, li { list-style: none; }
  a { text-decoration: none; color: inherit; transition: color 0.2s, background 0.2s; }
  a:hover { color: #2F72EB; }
  img { max-width: 100%; height: auto; vertical-align: middle; }

  .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
  }

  /* ==========================================================
     2. 顶部 Header (90px，深蓝底色)
     ========================================================== */
  .head {
    width: 100%;
    background: #1B335E;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  .header {
    height: 90px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
  }
  .logo {
    display: flex;
    align-items: center;
    gap: 15px;
  }
  .logo img { width: 52px; height: 52px; }
  .logo h1 { font-size: 22px; font-weight: 600; color: #fff; letter-spacing: 0.5px; }
  .logo h1 a { color: #fff; }

  .desktop-nav ul { display: flex; gap: 40px; }
  .desktop-nav ul li a {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
  }
  .desktop-nav ul li a:hover,
  .desktop-nav ul li a.active {
    color: #6ba2ff;
    border-bottom: 2px solid #6ba2ff;
  }

  .mobile-menu-btn {
    display: none;
    width: 26px;
    height: 20px;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
  }
  .mobile-menu-btn span {
    display: block;
    background: #fff;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    transition: all 0.3s ease;
  }
  .mobile-menu-btn.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
  .mobile-menu-btn.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

  /* 移动端抽屉菜单 */
  .mobile-mask {
    position: fixed;
    top: 50px;
    left: 0;
    width: 100%;
    height: calc(100vh - 50px);
    background: rgba(0,0,0,0.5);
    z-index: 80;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  .mobile-mask.show { opacity: 1; visibility: visible; }
  .mobile-drawer {
    position: fixed;
    top: 50px;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: calc(100vh - 50px);
    background: #fff;
    z-index: 90;
    overflow-y: auto;
    transition: right 0.3s ease;
    padding: 10px 0 60px;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
  }
  .mobile-drawer.show { right: 0; }
  .mobile-drawer ul li { border-bottom: 1px #eee solid; padding: 0 20px; line-height: 44px; }
  .mobile-drawer ul li a { color: #333; display: block; }
  .mobile-drawer ul li.has-sub > a { display: flex; justify-content: space-between; align-items: center; }
  .mobile-drawer ul li.has-sub > a::after { content: '▾'; font-size: 12px; color: #888; transition: transform 0.3s ease; }
  .mobile-drawer ul li.has-sub.open > a::after { transform: rotate(180deg); }
  .mobile-drawer ul li ul { padding-left: 15px; background: #fafafa; display: none; }
  .mobile-drawer ul li ul li { line-height: 38px; border-bottom: 1px #f0f0f0 solid; }

  /* ==========================================================
     3. 内页主体布局 (235px 侧栏 + 950px 主内容)
     ========================================================== */
  main.container { padding-top: 15px; padding-bottom: 30px; }

  /* 面包屑 */
  .breadcrumb {
    padding: 8px 0 15px;
    font-size: 13px;
    color: #666;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .breadcrumb a { color: #555; }
  .breadcrumb a:hover { color: #2F72EB; }

  /* 双栏布局 */
  .inner-layout {
    display: flex;
    gap: 15px;
    align-items: flex-start;
  }

  /* 左侧栏 (235px) */
  .sidebar-left {
    width: 235px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .sidebar-header {
    background: #2F72EB;
    border-radius: 4px 4px 0 0;
    padding: 14px;
    text-align: center;
    color: #fff;
  }
  .sidebar-header h2 { font-size: 19px; font-weight: 600; }
  .sidebar-header p { font-size: 10px; opacity: 0.85; margin-top: 2px; letter-spacing: 1px; }

  .side-category {
    background: #fff;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    padding: 4px 0;
  }
  .side-category li {
    height: 48px;
    line-height: 48px;
    transition: background 0.2s;
  }
  .side-category li:hover,
  .side-category li.active {
    background-color: #EDF3FF;
    border-right: 4px solid #2F72EB;
  }
  .side-category li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 18px;
    height: 100%;
    font-size: 15px;
    color: #1C1C1C;
  }
  .side-category li:hover a,
  .side-category li.active a {
    color: #2F72EB;
    font-weight: 600;
  }
  .side-category .nav-text {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .side-category .menu-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
  }
  .side-category .arrow {
    color: #888;
    font-size: 13px;
    font-family: monospace;
  }

  /* 栏目图标映射 */
  .renzhenc .menu-icon { background-image: url(/views/opzs/images/icon_1_1material_grey.png); }
  .renzhenc:hover .menu-icon, .renzhenc.active .menu-icon { background-image: url(/views/opzs/images/icon_1_1material_blue.png); }
  .clmuban .menu-icon { background-image: url(/views/opzs/images/icon_1_2templat_grey.png); }
  .clmuban:hover .menu-icon, .clmuban.active .menu-icon { background-image: url(/views/opzs/images/icon_1_2templat_blue.png); }
  .guideicon .menu-icon { background-image: url(https://www.apostille.cn/views/opzs/images/icon.png); }
  .noticeicon .menu-icon { background-image: url(/views/opzs/images/icon_gonggao.png); }
  .wentiicon .menu-icon { background-image: url(https://www.apostille.cn/views/opzs/images/wticon.png); }

  .sidebar-quick-card {
    background: #fff;
    border-radius: 4px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  }
  .sidebar-quick-card img { width: 46px; height: 46px; flex-shrink: 0; }
  .sidebar-quick-card h3 { font-size: 16px; color: #1c1c1c; font-weight: 600; }
  .sidebar-quick-card p { font-size: 12px; color: #2F72EB; margin-top: 2px; }

  /* 右侧详情主体 (950px) */
  .content-right {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  /* 下载主卡片 */
  .download-card {
    background: #fff;
    border-radius: 4px;
    padding: 30px 40px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  }
  .download-header {
    text-align: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 18px;
    margin-bottom: 25px;
  }
  .download-header h1 {
    font-size: 24px;
    font-weight: 600;
    color: #1c1c1c;
    line-height: 1.4;
    margin-bottom: 12px;
  }
  .download-meta-bar {
    font-size: 13px;
    color: #888;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
  }
  .download-meta-bar span b { font-weight: normal; color: #666; }
  .download-meta-bar span i { font-style: normal; }

  /* 文件属性与下载功能区 */
  .file-spec-box {
    background: #f8fafd;
    border: 1px solid #e2e8f5;
    border-radius: 6px;
    padding: 25px 30px;
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 20px 0 25px;
  }
  .file-thumb-wrap {
    width: 80px;
    height: 80px;
    border: 1px solid #e1e7f2;
    border-radius: 6px;
    background: #fff;
    padding: 6px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .file-thumb-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }
  
  .file-specs-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 20px;
    font-size: 14px;
    color: #444;
  }
  .file-specs-grid p strong {
    color: #1B335E;
    font-weight: 600;
    margin-right: 4px;
  }
  .file-specs-grid p span {
    color: #666;
  }

  .file-action-wrap {
    flex-shrink: 0;
    text-align: center;
  }
  .btn-download-main {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #b5160e;
    color: #fff !important;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(181, 22, 14, 0.25);
    transition: all 0.2s ease;
  }
  .btn-download-main img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
  }
  .btn-download-main:hover {
    background: #96120b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(181, 22, 14, 0.35);
  }

  /* 使用指引与安全说明 */
  .download-instructions {
    border-top: 1px dashed #eee;
    padding-top: 20px;
    margin-top: 25px;
    font-size: 14px;
    color: #555;
    line-height: 1.8;
  }
  .download-instructions h3 {
    font-size: 16px;
    color: #1B335E;
    font-weight: 600;
    margin-bottom: 10px;
  }
  .download-instructions ul {
    padding-left: 20px;
    list-style: disc;
  }
  .download-instructions li {
    margin-bottom: 6px;
  }

  /* 提示框 */
  .tip-alert {
    background: #fff8eb;
    border-left: 4px solid #f59e0b;
    padding: 12px 16px;
    margin-top: 18px;
    border-radius: 0 4px 4px 0;
    font-size: 13px;
    color: #855700;
  }

  /* ==========================================================
     4. 底部 Footer (与全站完全统一)
     ========================================================== */
  .foot {
    width: 100%;
    background: #fff;
	padding: 35px 0 20px;
    border-top: 1px solid #e6e6e6;
  }
  .footer-main {
    display: flex;
    justify-content: space-between;
    padding-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
  }
  .foot-logo { width: 320px; }
  .foot-logo img { width: 44px; height: 44px; margin-bottom: 6px; }
  .foot-logo h2 { font-size: 17px; color: #1c1c1c; margin-bottom: 10px; font-weight: 600; }
  .foot-logo p { font-size: 13px; color: #555; margin-bottom: 5px; }
  .foot-logo p a { color: #333; font-weight: 500; }

  .foot-navs { display: flex; gap: 60px; }
  .foot-col h3 { font-size: 16px; color: #1c1c1c; margin-bottom: 12px; font-weight: 600; }
  .foot-col li { line-height: 28px; }
  .foot-col li a { font-size: 13px; color: #666; }
  .foot-col li a:hover { color: #2F72EB; }

  .foot-img { text-align: center; }
  .foot-img img { width: 105px; height: 105px; border: 1px solid #eee; border-radius: 4px; padding: 2px; }
  .foot-img p { font-size: 12px; color: #666; margin-top: 6px; }

  .copyright {
    text-align: center;
    padding-top: 20px;
    font-size: 12px;
    color: #888;
    line-height: 1.8;
  }

  /* ==========================================================
     5. PC 端右侧悬浮客服 & 移动端吸底操作栏
     ========================================================== */
  .floating-bar { position: fixed; right: 15px; top: 40%; z-index: 99; }
  .floating-bar dd {
    position: relative;
    width: 54px;
    height: 54px;
    background: #2F72EB;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    font-size: 11px;
    text-align: center;
    transition: background 0.2s;
  }
  .floating-bar dd:hover { background: #1a5ac9; }
  .floating-bar dd:hover .floating-pop { display: block; }
  .floating-pop {
    position: absolute;
    right: 64px;
    top: 0;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: none;
    padding: 10px 14px;
    white-space: nowrap;
    color: #333;
  }
  .floating-pop a { color: #d92020; font-weight: bold; font-size: 15px; }
  .floating-pop img { width: 90px; height: 60px; }

  .mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: #1B335E;
    z-index: 99;
  }
  .mobile-bottom-bar ul { display: flex; height: 100%; }
  .mobile-bottom-bar li { flex: 1; }
  .mobile-bottom-bar li a { display: flex; align-items: center; justify-content: center; height: 100%; }
  .mobile-bottom-bar img { height: 36px; width: auto; }

  /* ==========================================================
     6. 移动端响应式断点 (@media)
     ========================================================== */
  @media screen and (max-width: 992px) {
    .header { height: 60px; }
    .desktop-nav { display: none; }
    .mobile-menu-btn { display: flex; }
    .sidebar-left { display: none; }
    .download-card { padding: 22px 18px; }
    .file-spec-box {
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 20px;
    }
    .file-specs-grid {
      grid-template-columns: 1fr;
      text-align: left;
      width: 100%;
    }
    .file-action-wrap {
      width: 100%;
    }
    .btn-download-main {
      width: 100%;
    }
    .footer-main { flex-direction: column; gap: 20px; text-align: center; }
    .foot-logo, .foot-img { width: 100%; }
    .foot-navs { justify-content: space-around; }
  }

  @media screen and (max-width: 768px) {
    .header { height: 50px; }
    .logo img { width: 34px; height: 34px; }
    .logo h1 { font-size: 16px; }
    main.container { padding: 10px 12px 60px; }
    .download-header h1 { font-size: 18px; }
    .floating-bar { display: none; }
    .mobile-bottom-bar { display: block; }
    .foot-navs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; text-align: left; }
    .foot-col h3 { font-size: 14px; }
    .foot-col li a { font-size: 12px; }
  }
/* ==========================================================
     移动端 / 平板端（≤ 992px）：彻底隐藏底部导航
     ========================================================== */
  @media screen and (max-width: 992px) {
    .foot-navs {
      display: none !important; /* 隐藏底部导航列表 */
    }
    
    .footer-main {
      flex-direction: column;
      gap: 15px;
      text-align: center;
    }
    
    .foot-logo, .foot-img {
      width: 100%;
    }
  }
  
  @media screen and (max-width: 768px) {
    .foot-navs {
      display: none !important; /* 手机端强制隐藏 */
    }
  }