/* ===== news-detail.html 页面专属样式 ===== */

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  .nav-inner {
    height: 60px;
    padding: 0 16px;
  }
  .nav-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 70px 0 20px;
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 100;
    overflow-y: auto;
  }
  .nav-menu.open {
    right: 0;
  }
  .nav-menu > li > a {
    padding: 12px 24px;
    line-height: normal;
    font-size: 15px;
    border-bottom: 1px solid #f0f0f0;
  }
  .nav-menu > li .submenu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border-radius: 0;
    padding: 0 0 0 20px;
  }
  .nav-search {
    margin: 12px 24px;
  }
  .mobile-toggle {
    display: flex;
  }
  .mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }
  .mobile-overlay.visible {
    opacity: 1;
    visibility: visible;
  }
  .inner-banner {
    height: 240px;
  }
  .inner-banner-title {
    font-size: 26px;
  }
  .inner-banner-subtitle {
    font-size: 13px;
  }
  .news-list-item {
    flex-direction: column;
    gap: 16px;
  }
  .news-thumb {
    width: 100%;
    height: 200px;
  }
  .news-item-content {
    min-height: auto;
  }
  .news-item-title-text {
    font-size: 16px;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .container {
    padding: 0 16px;
  }
  .pagination {
    flex-wrap: wrap;
  }
  .pagination a, .pagination span {
    min-width: 36px;
    height: 36px;
    font-size: 13px;
  }
  .news-section {
    padding: 40px 0;
  }
  .back-to-top {
    bottom: 80px;
    right: 16px;
  }
}

.news-detail {
  background: var(--bg-white);
  border-radius: 12px;
  padding: 56px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}

.news-detail-title {
  font-size: 30px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.5;
}

.news-detail-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-light);
  font-size: 14px;
}

.news-detail-meta .cat {
  background: rgba(0, 137, 207, 0.08);
  color: var(--theme-color);
  padding: 4px 14px;
  border-radius: 20px;
  font-weight: 500;
}

.news-detail-body p {
  font-size: 16px;
  line-height: 2.1;
  color: var(--text-secondary);
  text-align: justify;
  margin-bottom: 18px;
}

.news-detail-body p:last-child {
  margin-bottom: 0;
}

.news-detail-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border-color);
}

.news-detail-back, .news-detail-consult {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  transition: var(--transition);
}

.news-detail-back {
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.news-detail-back:hover {
  border-color: var(--theme-color);
  color: var(--theme-color);
}

.news-detail-consult {
  background: var(--theme-color);
  color: #fff;
}

.news-detail-consult:hover {
  background: var(--theme-color-dark);
  color: #fff;
}

@media (max-width: 768px) {
  .news-detail {
    padding: 28px 20px;
  }
  .news-detail-title {
    font-size: 22px;
  }
  .news-detail-meta {
    flex-wrap: wrap;
    gap: 10px;
  }
  .news-detail-actions {
    flex-direction: column;
    gap: 14px;
  }
  .news-detail-back, .news-detail-consult {
    width: 100%;
    justify-content: center;
  }
}
