﻿@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;
  }
  .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;
  }

  /* 栏目图标 */
  .wenti .menu-icon { background-image: url(https://www.apostille.cn/views/opzs/images/icon_1_1material_grey.png); }
  .wenti:hover .menu-icon, .wenti.active .menu-icon { background-image: url(/views/opzs/images/icon_1_1material_blue.png); }
  .wenda .menu-icon { background-image: url(https://www.apostille.cn/views/opzs/images/wticon.png); }
  .guideicon .menu-icon { background-image: url(https://www.apostille.cn/views/opzs/images/icon.png); }
  .noticeicon .menu-icon { background-image: url(https://www.apostille.cn/views/opzs/images/icon_gonggao.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;
    background: #fff;
    border-radius: 4px;
    padding: 28px 35px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  }

  .page-title-box {
    text-align: center;
    padding-bottom: 18px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
  }
  .page-title-box h1 {
    font-size: 22px;
    font-weight: 600;
    color: #1c1c1c;
  }

  /* 问答列表流 */
  .faq-feed-list {
    display: flex;
    flex-direction: column;
  }
  .faq-feed-item {
    display: flex;
    gap: 20px;
    padding: 22px 0;
    border-bottom: 1px dashed #e6e6e6;
    align-items: center;
  }
  .faq-feed-item:last-child {
    border-bottom: none;
  }

  /* 左侧日历日期卡片 */
  .faq-date-badge {
    width: 68px;
    height: 68px;
    background: #f4f6fa;
    border: 1px solid #e2e7f0;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    text-align: center;
  }
  .faq-date-badge .day {
    font-size: 20px;
    font-weight: bold;
    color: #b5160e;
    line-height: 1.1;
  }
  .faq-date-badge .month {
    font-size: 12px;
    color: #666;
    margin-top: 2px;
  }

  /* 中间问题内容 */
  .faq-content {
    flex: 1;
    min-width: 0;
  }
  .faq-content h2 {
    font-size: 17px;
    font-weight: 600;
    color: #1c1c1c;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .faq-content h2 a:hover {
    color: #b5160e;
  }
  .faq-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
  }
  .faq-desc .read-more {
    color: #2F72EB;
    font-size: 13px;
    margin-left: 4px;
  }
  .faq-desc .read-more:hover {
    color: #b5160e;
    text-decoration: underline;
  }

  /* 右侧阅读量 */
  .faq-meta {
    width: 70px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    font-size: 13px;
    color: #999;
  }
  .faq-meta img {
    width: 16px;
    height: 12px;
    opacity: 0.65;
  }

  /* ==========================================================
     4. 分页条 (横向弹性排列)
     ========================================================== */
  .pagination-wrap {
    padding: 35px 0 10px;
    display: flex;
    justify-content: center;
    width: 100%;
  }
  .pagination {
    display: flex;
    justify-content: center;
  }
  .pagination ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }
  .pagination ul li {
    display: inline-flex;
  }
  .pagination ul li a,
  .pagination ul li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    min-width: 36px;
    padding: 0 14px;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    color: #555;
    background: #fff;
    font-size: 13px;
    transition: all 0.2s ease;
  }
  .pagination ul li a:hover {
    border-color: #2F72EB;
    color: #2F72EB;
    background-color: #f0f5ff;
  }
  .pagination ul li .current {
    background-color: #2F72EB !important;
    border-color: #2F72EB !important;
    color: #fff !important;
    font-weight: 600;
  }
  .pagination ul li.total-count span {
    border: none;
    background: transparent;
    color: #888;
    padding: 0 8px;
    min-width: auto;
  }

  /* ==========================================================
     5. 底部 Footer (与首页完全统一)
     ========================================================== */
  .foot {
    width: 100%;
    background: #fff;
    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;
  }

  /* ==========================================================
     6. 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: 90px; }

  .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; }

  /* ==========================================================
     7. 移动端响应式断点 (@media)
     ========================================================== */
  @media screen and (max-width: 992px) {
    .header { height: 60px; }
    .desktop-nav { display: none; }
    .mobile-menu-btn { display: flex; }
    .sidebar-left { display: none; }
    .content-right { padding: 20px 16px; }
    .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; }
    .page-title-box h1 { font-size: 18px; }
    
    .faq-feed-item {
      gap: 12px;
      align-items: flex-start;
      position: relative;
    }
    .faq-date-badge {
      width: 52px;
      height: 52px;
    }
    .faq-date-badge .day { font-size: 16px; }
    .faq-date-badge .month { font-size: 10px; }
    .faq-content h2 { font-size: 15px; white-space: normal; }
    .faq-meta {
      position: absolute;
      right: 0;
      top: 22px;
    }

    .pagination ul { gap: 4px; }
    .pagination ul li a, .pagination ul li span {
      height: 32px;
      min-width: 30px;
      padding: 0 8px;
      font-size: 12px;
    }

    .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; }
  }
/* ==========================================================
     PC 电脑端：默认正常显示底部多列导航
     ========================================================== */
  .foot-navs {
    display: flex;
    gap: 40px;
  }
  
  /* ==========================================================
     移动端 / 平板端（≤ 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; /* 手机端强制隐藏 */
    }
  }