/* news-detail 页面专属样式， */

/* 移动端导航样式 */


    
    .mobile-nav {
      position: fixed;
      top: 0;
      right: -320px;
      width: 320px;
      height: 100vh;
      background: rgba(18,18,42,0.98);
      backdrop-filter: blur(25px);
      z-index: 1002;
      transition: right 0.4s ease;
      overflow-y: auto;
      border-left: 1px solid rgba(255,255,255,0.08);
    }


    .mobile-nav-header span {
      font-size: 18px;
      font-weight: 600;
      color: var(--gold);
    }


    .mobile-nav-close {
      background: none;
      border: none;
      color: #fff;
      font-size: 24px;
      cursor: pointer;
      padding: 5px;
      transition: all 0.3s;
    }


    .mobile-nav-close:hover { color: var(--accent); }


    .mobile-nav-body { padding: 15px 0; }


    .mobile-nav-item {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      border-bottom: 1px solid rgba(255,255,255,0.05);
    }


    .mobile-nav-item > a,
    .mobile-nav-link {
      flex: 1;
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 16px 25px;
      color: #c0c0d0;
      text-decoration: none;
      font-size: 15px;
      transition: all 0.3s;
    }


    .mobile-nav-item > a:hover,
    .mobile-nav-link:hover { color: #fff; background: rgba(212,162,76,0.1); }


    .mobile-nav-item > a i,
    .mobile-nav-link i { width: 20px; text-align: center; color: var(--accent); }


    .mobile-sub-toggle {
      background: none;
      border: none;
      color: #fff;
      padding: 16px 25px;
      cursor: pointer;
      font-size: 14px;
      transition: all 0.3s;
    }


    .mobile-sub-toggle.active { transform: rotate(180deg); }


    .mobile-sub-menu {
      width: 100%;
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
      background: rgba(0,0,0,0.2);
    }


    .mobile-sub-menu.active { max-height: 300px; }


    .mobile-sub-item {
      display: block;
      padding: 12px 25px 12px 60px;
      color: #a0a0b0;
      text-decoration: none;
      font-size: 14px;
      
      transition: all 0.3s;
    }


    .mobile-sub-item:hover { color: #fff; background: rgba(212,162,76,0.1);  }


    .mobile-nav-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.6);
      z-index: 1001;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
    }



    .back-link {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: var(--text);
      text-decoration: none;
      font-size: 14px;
      margin-bottom: 30px;
      transition: all 0.3s;
    }


    .back-link:hover { color: var(--accent); }


    .back-link i { transition: transform 0.3s; }


    .back-link:hover i { transform: translateX(-5px); }



    .news-detail { background: var(--secondary); border-radius: 24px; overflow: hidden; }


    .news-detail-img { height: 450px; overflow: hidden; }


    .news-detail-img img { width: 100%; height: 100%; object-fit: cover; }


    .news-detail-body { padding: 40px; }


    .news-detail-meta {
      display: flex;
      gap: 20px;
      margin-bottom: 20px;
      font-size: 14px;
      color: var(--text);
    }


    .news-detail-meta span { display: flex; align-items: center; gap: 6px; }


    .news-detail-meta .category { color: var(--accent); font-weight: 600; }


    .news-detail-title { font-size: 36px; font-weight: 800; margin-bottom: 30px; line-height: 1.3; }


    .news-detail-content { font-size: 16px; line-height: 1.9; color: #ccc; }


    .news-detail-content p { margin-bottom: 20px; }


    .news-detail-content h3 { font-size: 22px; color: #fff; margin: 30px 0 15px; }



    .related-news { margin-top: 60px; }


    .related-news h3 { font-size: 24px; margin-bottom: 30px; color: var(--gold); }


    .related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }


    .related-card { background: var(--secondary); border-radius: 16px; overflow: hidden; transition: all 0.3s; cursor: pointer; }


    .related-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.3); }


    .related-card img { height: 200px; object-fit: cover; width: 100%; }


    .related-card-body { padding: 20px; }


    .related-card-body h4 { font-size: 16px; margin-bottom: 8px; }


    .related-card-body span { font-size: 13px; color: var(--text); }



    @media (max-width: 768px) {
      .header { padding: 15px 25px; }
      .nav { display: none; }
      .mobile-menu { display: block; }
      .related-grid { grid-template-columns: repeat(2, 1fr); }
      .news-detail-title { font-size: 28px; }
      .news-detail-img { height: 250px; }
      .footer-grid { grid-template-columns: 1fr; gap: 42px; }
    }

    /* ===== @hui 文章正文：加宽 + 工具栏 + 阅读时间 + 打印 + 美化 ===== */
    .inner-body .inner-content { min-width: 0; }
    .inner-body .news-detail {
      background: var(--card);
      border: 1px solid rgba(212,162,76,0.18);
      border-radius: 18px;
      box-shadow: 0 12px 40px rgba(0,0,0,0.28);
      max-width: none;
    }

    .news-detail-toolbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      flex-wrap: wrap;
      padding: 20px 30px;
      border-bottom: 1px solid rgba(212,162,76,0.14);
    }

    .news-detail-toolbar .news-detail-meta { margin: 0; }

    .news-print-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 9px 18px;
      border: 1px solid rgba(212,162,76,0.45);
      border-radius: 999px;
      background: rgba(212,162,76,0.08);
      color: var(--gold);
      font-size: 13px;
      cursor: pointer;
      transition: all 0.25s;
      white-space: nowrap;
    }

    .news-print-btn:hover { background: rgba(212,162,76,0.2); transform: translateY(-2px); }

    .inner-body .news-detail-body { padding: 30px 34px 38px; width: 100%; max-width: none; }

    .inner-body .news-detail-content { font-size: 16px; line-height: 2; color: #d2d2dc; }
    .inner-body .news-detail-content p { margin-bottom: 18px; }
    .inner-body .news-detail-content img { max-width: 100%; height: auto; border-radius: 10px; margin: 16px 0; }
    .inner-body .news-detail-content h2,
    .inner-body .news-detail-content h3 { color: var(--light); }
    .inner-body .news-detail-content a { color: var(--gold); text-decoration: underline; }

    @media (max-width: 768px) {
      .news-detail-toolbar { padding: 16px 18px; }
      .inner-body .news-detail-body { padding: 20px 18px 26px; }
    }

    @media print {
      .header, .mobile-nav, .mobile-nav-overlay, .single-aside, .inner-content-header,
      .news-print-btn, .related-news, .footer, .page-hero, .bg-mesh, .pd-lightbox, .inquiry-modal { display: none !important; }
      .inner-body { padding: 0 !important; }
      .inner-layout { display: block !important; }
      .inner-content { width: 100% !important; }
      .news-detail { border: none !important; box-shadow: none !important; background: #fff !important; }
      .news-detail-content, .news-detail-content p { color: #000 !important; }
      .news-detail-meta, .news-detail-meta span { color: #333 !important; }
    }
