/* 变量定义 */
/* 基础样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Helvetica Neue', Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: #1d3557;
  line-height: 1.6;
  background-color: #fff;
}
.top-news {
  background-color: #e63946 !important;
}
.top-bar {
  background: #1a3e72;
  color: #fff;
  padding: 8px 0;
  font-size: 14px;
}
.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.top-bar .contact-info {
  display: flex;
  align-items: center;
}
.top-bar .contact-info a {
  color: #fff;
  margin-right: 20px;
  display: flex;
  align-items: center;
}
.top-bar .contact-info a i {
  margin-right: 5px;
}
.top-bar .contact-info a:hover {
  color: rgba(255, 255, 255, 0.8);
}
.top-bar .social-links {
  display: flex;
  align-items: center;
}
.top-bar .social-links a {
  color: #fff;
  margin-left: 15px;
  font-size: 16px;
}
.top-bar .social-links a:hover {
  color: rgba(255, 255, 255, 0.8);
}
.flex-center {
  display: flex;
  align-items: center;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  padding: 10px 0;
  font-size: 14px;
  color: #666;
  justify-content: flex-start;
}
.breadcrumbs a {
  color: #333;
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
}
.breadcrumbs a:hover {
  text-decoration: underline;
}
.breadcrumbs span {
  margin: 0 5px;
  color: #999;
}
a {
  text-decoration: none;
  color: #1a3e72;
  transition: color 0.3s ease;
}
a:hover {
  color: #e63946;
}
img {
  max-width: 100%;
  height: auto;
}
.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #1a3e72;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-align: center;
}
.btn:hover {
  background-color: #3d5a80;
  color: white;
}
.btn-primary {
  background-color: #e63946;
}
.btn-primary:hover {
  background-color: #d21a28;
}
/* 顶部宣传语 */
.top-banner {
  background-color: #1d3557;
  color: white;
  padding: 8px 0;
  font-size: 14px;
}
.top-banner .slogan {
  text-align: center;
  letter-spacing: 0.5px;
}
.main-nav {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.main-nav .nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}
.main-nav .logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.main-nav .logo .logo-img {
  height: 50px;
  margin-right: 15px;
}
.main-nav .logo .logo-text h1 {
  font-size: 24px;
  color: #1a3e72;
  margin: 0;
  line-height: 1.2;
}
.main-nav .logo .logo-text span {
  font-size: 12px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.main-nav .nav-content {
  display: flex;
  align-items: center;
  flex-grow: 1;
  justify-content: flex-end;
}
.main-nav .nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav .nav-menu .nav-item {
  position: relative;
  margin: 0 5px;
}
.main-nav .nav-menu .nav-item.active .nav-link {
  color: #e63946;
}
.main-nav .nav-menu .nav-item.active .nav-link:after {
  width: 100%;
}
.main-nav .nav-menu .nav-item.has-dropdown .nav-link i {
  margin-left: 5px;
  font-size: 12px;
}
.main-nav .nav-menu .nav-item.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.main-nav .nav-menu .nav-link {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  color: #333;
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
}
.main-nav .nav-menu .nav-link:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #e63946;
  transition: width 0.3s ease;
}
.main-nav .nav-menu .nav-link:hover {
  color: #e63946;
}
.main-nav .nav-menu .nav-link:hover:after {
  width: 100%;
}
.main-nav .nav-menu .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}
.main-nav .nav-menu .dropdown-menu li a {
  display: block;
  padding: 8px 20px;
  color: #333;
  transition: all 0.3s ease;
}
.main-nav .nav-menu .dropdown-menu li a:hover {
  background: rgba(26, 62, 114, 0.05);
  color: #e63946;
  padding-left: 25px;
}
.main-nav .nav-actions {
  display: flex;
  align-items: center;
  margin-left: 30px;
}
.main-nav .nav-actions .search-box {
  position: relative;
}
.main-nav .nav-actions .search-box .search-input {
  width: 200px;
  padding: 8px 15px;
  border: 1px solid #eee;
  border-radius: 4px;
  font-size: 14px;
  transition: all 0.3s ease;
}
.main-nav .nav-actions .search-box .search-input:focus {
  outline: none;
  border-color: #1a3e72;
  width: 250px;
}
.main-nav .nav-actions .search-box .search-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
}
.main-nav .nav-actions .search-box .search-btn:hover {
  color: #1a3e72;
}
.main-nav .nav-actions .consultation-btn {
  display: inline-block;
  padding: 10px 25px;
  background: #e63946;
  color: #fff;
  border-radius: 4px;
  font-weight: 500;
  transition: all 0.3s ease;
}
.main-nav .nav-actions .consultation-btn:hover {
  background: #d21a28;
  transform: translateY(-2px);
}
.main-nav .mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.main-nav .mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #1a3e72;
  transition: all 0.3s ease;
}
.main-nav .mobile-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.main-nav .mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}
.main-nav .mobile-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}
/* 主要内容区 */
.main-content {
  padding: 30px 0 50px;
  background-color: #f5f5f5;
}
.content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}
.section-title {
  font-size: 22px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 3px solid #1a3e72;
  color: #1d3557;
  position: relative;
}
.section-title:after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: #e63946;
}
/* 左侧新闻列表 */
.news-list .news-item {
  background-color: white;
  margin-bottom: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.news-list .news-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.news-list .news-item.featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.news-list .news-item.featured .news-image {
  background-size: cover;
  background-position: center;
  min-height: 250px;
}
.news-list .news-item.featured .news-content {
  padding: 20px;
}
.news-list .news-item:not(.featured) {
  padding: 20px;
}
.news-list .news-item .news-category {
  display: inline-block;
  background-color: #1a3e72;
  color: white;
  padding: 3px 10px;
  font-size: 12px;
  margin-bottom: 10px;
}
.news-list .news-item h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
.news-list .news-item h3 a {
  color: #1d3557;
}
.news-list .news-item h3 a:hover {
  color: #e63946;
}
.news-list .news-item .news-excerpt {
  color: #555;
  margin-bottom: 15px;
  font-size: 15px;
}
.news-list .news-item .news-meta {
  font-size: 13px;
  color: #a8a8a8;
}
.news-list .news-item .news-meta .date {
  margin-right: 15px;
}
.news-list .load-more {
  text-align: center;
  margin-top: 30px;
}
.news-list .load-more .btn {
  padding: 12px 30px;
  background-color: white;
  color: #1a3e72;
  border: 1px solid #1a3e72;
}
.news-list .load-more .btn:hover {
  background-color: #1a3e72;
  color: white;
}
/* 右侧热点新闻 */
.hot-news .hot-news-container {
  position: sticky;
}
.hot-news .hot-news-item {
  background-color: white;
  margin-bottom: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
.hot-news .hot-news-item .hot-news-image {
  height: 150px;
  background-size: cover;
  background-position: center;
}
.hot-news .hot-news-item .hot-news-content {
  padding: 15px;
}
.hot-news .hot-news-item .hot-news-content h3 {
  font-size: 16px;
  margin-bottom: 10px;
}
.hot-news .hot-news-item .hot-news-content h3 a {
  color: #1d3557;
}
.hot-news .hot-news-item .hot-news-content h3 a:hover {
  color: #e63946;
}
.hot-news .hot-news-item .hot-news-content .hot-news-meta {
  font-size: 13px;
  color: #a8a8a8;
}
.hot-news .hot-news-item .hot-news-content .hot-news-meta .views {
  margin-right: 15px;
}
.hot-news .hot-news-item .hot-news-content .hot-news-meta i {
  margin-right: 5px;
}
.hot-news .hot-news-list {
  background-color: white;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
.hot-news .hot-news-list .list-title {
  font-size: 18px;
  margin-bottom: 15px;
  color: #1a3e72;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}
.hot-news .hot-news-list ul {
  list-style: none;
}
.hot-news .hot-news-list ul li {
  padding: 8px 0;
  border-bottom: 1px solid #f5f5f5;
}
.hot-news .hot-news-list ul li:last-child {
  border-bottom: none;
}
.hot-news .hot-news-list ul li a {
  color: #555;
  font-size: 14px;
  display: block;
  transition: color 0.3s ease;
}
.hot-news .hot-news-list ul li a:hover {
  color: #e63946;
  padding-left: 5px;
}
.hot-news .hot-news-list ul li a:before {
  content: '•';
  color: #e63946;
  margin-right: 8px;
}
.hot-news .consultation-widget {
  background-color: white;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
.hot-news .consultation-widget h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #1a3e72;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}
.hot-news .consultation-widget .form-group {
  margin-bottom: 15px;
}
.hot-news .consultation-widget .form-group input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  font-size: 14px;
}
.hot-news .consultation-widget .form-group input:focus {
  outline: none;
  border-color: #1a3e72;
}
.hot-news .consultation-widget .form-group textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  font-size: 14px;
  height: 120px;
  resize: vertical;
  font-family: inherit;
}
.hot-news .consultation-widget .form-group textarea:focus {
  outline: none;
  border-color: #1a3e72;
}
.hot-news .consultation-widget .btn-primary {
  width: 100%;
  padding: 12px;
  font-weight: 600;
}
/* 底部区域 */
.main-footer {
  background-color: #1d3557;
  color: #ddd;
  padding: 50px 0 0;
}
.main-footer .footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}
.main-footer h3 {
  color: white;
  font-size: 18px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.main-footer h3:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: #e63946;
}
.main-footer .footer-about p {
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.7;
}
.main-footer .footer-about .social-links a {
  display: inline-block;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  text-align: center;
  line-height: 36px;
  margin-right: 10px;
  border-radius: 0;
  transition: all 0.3s ease;
}
.main-footer .footer-about .social-links a:hover {
  background-color: #e63946;
  transform: translateY(-3px);
}
.main-footer .footer-links ul {
  list-style: none;
}
.main-footer .footer-links ul li {
  margin-bottom: 10px;
}
.main-footer .footer-links ul li a {
  color: #ddd;
  font-size: 14px;
  transition: color 0.3s ease;
}
.main-footer .footer-links ul li a:hover {
  color: #e63946;
  padding-left: 5px;
}
.main-footer .footer-contact .contact-info {
  list-style: none;
}
.main-footer .footer-contact .contact-info li {
  margin-bottom: 15px;
  font-size: 14px;
  display: flex;
  align-items: flex-start;
}
.main-footer .footer-contact .contact-info li i {
  margin-right: 10px;
  color: #e63946;
  margin-top: 3px;
}
.main-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  padding-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #999;
}
.main-footer .footer-bottom .footer-legal a {
  color: #999;
  margin-left: 15px;
}
.main-footer .footer-bottom .footer-legal a:hover {
  color: #e63946;
}
/* 响应式设计 */
@media (max-width: 992px) {
  .main-nav .nav-content {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: #fff;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    overflow-y: auto;
    transition: transform 0.3s ease;
    transform: translateX(-100%);
  }
  .main-nav .nav-content.show {
    display: block;
    transform: translateX(0);
  }
  .main-nav .nav-menu {
    flex-direction: column;
    align-items: flex-start;
  }
  .main-nav .nav-menu .nav-item {
    width: 100%;
    margin: 0;
    border-bottom: 1px solid #eee;
  }
  .main-nav .nav-menu .nav-item:last-child {
    border-bottom: none;
  }
  .main-nav .nav-menu .nav-link {
    padding: 15px 0;
  }
  .main-nav .nav-menu .nav-link:after {
    display: none;
  }
  .main-nav .nav-menu .dropdown-menu {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding-left: 20px;
    display: none;
  }
  .main-nav .nav-menu .dropdown-menu.show {
    display: block;
  }
  .main-nav .nav-actions {
    margin: 20px 0 0;
    flex-direction: column;
    align-items: stretch;
  }
  .main-nav .nav-actions .search-box {
    margin: 0 0 15px;
  }
  .main-nav .nav-actions .search-box .search-input {
    width: 100%;
  }
  .main-nav .nav-actions .search-box .search-input:focus {
    width: 100%;
  }
  .main-nav .nav-actions .consultation-btn {
    text-align: center;
  }
  .main-nav .mobile-toggle {
    display: flex;
  }
  .content-grid {
    grid-template-columns: 1fr;
  }
  .news-list .news-item.featured {
    grid-template-columns: 1fr;
  }
  .news-list .news-item.featured .news-image {
    min-height: 200px;
  }
  .hot-news .hot-news-container {
    position: static;
  }
  .main-footer .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* ... existing code ... */
.menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: all 0.3s ease;
}
.menu-overlay.show {
  display: block;
  opacity: 1;
}
/* 优化移动端导航样式 */
@media (max-width: 768px) {
  .main-nav .nav-container {
    position: relative;
  }
  .main-nav .nav-links,
  .main-nav .search-box {
    display: none;
    position: absolute;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  .main-nav .nav-links.show,
  .main-nav .search-box.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
  }
  .main-nav .nav-links {
    top: 100%;
    padding: 10px 0;
    flex-direction: column;
  }
  .main-nav .nav-links li {
    margin: 0;
    width: 100%;
    border-bottom: 1px solid #f5f5f5;
  }
  .main-nav .nav-links li:last-child {
    border-bottom: none;
  }
  .main-nav .nav-links li a {
    display: block;
    padding: 12px 20px;
    font-size: 16px;
    transition: all 0.3s ease;
  }
  .main-nav .nav-links li a:hover {
    background-color: #f9f9f9;
    padding-left: 25px;
  }
  .main-nav .nav-links li a:after {
    display: none;
  }
  .main-nav .nav-links li a.active {
    border-left: 3px solid #e63946;
    background-color: #f9f9f9;
    padding-left: 17px;
  }
  .main-nav .nav-links.show ~ .search-box.show {
    top: auto;
    position: absolute;
    margin-top: 0;
    transform: translateY(100%);
  }
  .main-nav .search-box {
    top: calc(100% + 1px);
    margin-top: 0;
    padding: 15px;
    border-top: 1px solid #f5f5f5;
    transform: translateY(0);
  }
  .main-nav .search-box input {
    width: calc(100% - 50px);
  }
  .main-nav .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #1a3e72;
    color: white;
    border-radius: 4px;
    transition: all 0.3s ease;
  }
  .main-nav .mobile-menu-toggle:hover {
    background-color: #e63946;
  }
  .main-nav .mobile-menu-toggle i {
    font-size: 18px;
  }
  /* 添加菜单展开时的遮罩层 */
  .menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  .menu-overlay.show {
    display: block;
    opacity: 1;
  }
}
@media (max-width: 576px) {
  .top-banner .slogan {
    font-size: 12px;
  }
  .main-nav .logo .logo-text {
    font-size: 20px;
  }
  .main-nav .logo .logo-subtext {
    font-size: 10px;
  }
}
/* 详情页特有样式 */
.detail-page {
  padding: 30px 0 50px;
  background-color: #fff;
}
.detail-page .content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}
/* 面包屑导航 */
.breadcrumb {
  background-color: #f5f5f5;
  padding: 15px 0;
  font-size: 14px;
}
.breadcrumb ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
}
.breadcrumb ul li {
  margin-right: 10px;
  color: #a8a8a8;
}
.breadcrumb ul li:after {
  content: '/';
  margin-left: 10px;
  color: #a8a8a8;
}
.breadcrumb ul li:last-child:after {
  display: none;
}
.breadcrumb ul li a {
  color: #a8a8a8;
}
.breadcrumb ul li a:hover {
  color: #1a3e72;
}
/* 文章内容区域 */
.article-content .article-header {
  margin-bottom: 30px;
}
.article-content .article-header .article-title {
  font-size: 28px;
  color: #1d3557;
  margin-bottom: 15px;
  line-height: 1.4;
}
.article-content .article-header .article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 14px;
  color: #a8a8a8;
}
.article-content .article-header .article-meta span {
  display: flex;
  align-items: center;
}
.article-content .article-header .article-meta span i {
  margin-right: 5px;
  color: #1a3e72;
}
.article-content .article-image {
  margin-bottom: 30px;
}
.article-content .article-image img {
  width: 100%;
  height: auto;
  display: block;
}
.article-content .article-body {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
}
.article-content .article-body h2 {
  font-size: 22px;
  color: #1a3e72;
  margin: 30px 0 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}
.article-content .article-body h3 {
  font-size: 18px;
  color: #3d5a80;
  margin: 25px 0 15px;
}
.article-content .article-body p {
  margin-bottom: 15px;
}
.article-content .article-body ul,
.article-content .article-body ol {
  margin-bottom: 20px;
  padding-left: 20px;
}
.article-content .article-body ul li,
.article-content .article-body ol li {
  margin-bottom: 8px;
}
.article-content .article-body .important-note {
  background-color: #fdeeef;
  border-left: 4px solid #e63946;
  padding: 15px;
  margin: 20px 0;
}
.article-content .article-body .important-note h4 {
  color: #e63946;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}
.article-content .article-body .important-note h4 i {
  margin-right: 10px;
}
.article-content .article-body .case-example {
  background-color: #f5f5f5;
  border-left: 4px solid #1a3e72;
  padding: 15px;
  margin: 20px 0;
}
.article-content .article-body .case-example h4 {
  color: #1a3e72;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}
.article-content .article-body .case-example h4 i {
  margin-right: 10px;
}
.article-content .article-body .advice-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}
.article-content .article-body .advice-table th,
.article-content .article-body .advice-table td {
  padding: 12px 15px;
  border: 1px solid #ddd;
  text-align: left;
}
.article-content .article-body .advice-table th {
  background-color: #1a3e72;
  color: white;
  font-weight: 500;
}
.article-content .article-body .advice-table tr:nth-child(even) {
  background-color: #f5f5f5;
}
.article-content .article-body .article-tags {
  margin: 40px 0 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.article-content .article-body .article-tags span {
  margin-right: 10px;
  color: #a8a8a8;
}
.article-content .article-body .article-tags a {
  display: inline-block;
  padding: 5px 10px;
  background-color: #f5f5f5;
  color: #1d3557;
  font-size: 14px;
  margin-right: 8px;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}
.article-content .article-body .article-tags a:hover {
  background-color: #1a3e72;
  color: white;
}
.article-content .article-footer {
  margin-top: 50px;
  border-top: 1px solid #eee;
  padding-top: 30px;
}
.article-content .article-footer .article-share {
  margin-bottom: 30px;
}
.article-content .article-footer .article-share span {
  margin-right: 15px;
  color: #a8a8a8;
}
.article-content .article-footer .article-share a {
  display: inline-block;
  width: 36px;
  height: 36px;
  background-color: #f5f5f5;
  color: #1d3557;
  text-align: center;
  line-height: 36px;
  margin-right: 10px;
  transition: all 0.3s ease;
}
.article-content .article-footer .article-share a:hover {
  background-color: #1a3e72;
  color: white;
}
.article-content .article-footer .article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.article-content .article-footer .article-nav a {
  display: block;
  padding: 15px;
  background-color: #f5f5f5;
  transition: all 0.3s ease;
}
.article-content .article-footer .article-nav a:hover {
  background-color: #1a3e72;
}
.article-content .article-footer .article-nav a:hover span,
.article-content .article-footer .article-nav a:hover p {
  color: white;
}
.article-content .article-footer .article-nav a span {
  display: block;
  font-size: 14px;
  color: #a8a8a8;
  margin-bottom: 5px;
}
.article-content .article-footer .article-nav a p {
  font-size: 16px;
  color: #1d3557;
  font-weight: 500;
}
/* 文章侧边栏 */
.article-sidebar .sidebar-widget {
  margin-bottom: 30px;
  padding: 20px;
}
.article-sidebar .sidebar-widget .widget-title {
  font-size: 18px;
  color: #1a3e72;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}
.article-sidebar .author-widget {
  text-align: center;
}
.article-sidebar .author-widget .author-avatar {
  max-width: 100%;
  border-radius: 0;
  overflow: hidden;
  margin: 0 auto 15px;
}
.article-sidebar .author-widget .author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-sidebar .author-widget .author-name {
  font-size: 18px;
  color: #1d3557;
  margin-bottom: 5px;
}
.article-sidebar .author-widget .author-title {
  font-size: 14px;
  color: #a8a8a8;
  margin-bottom: 15px;
}
.article-sidebar .author-widget .author-bio {
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.6;
}
.article-sidebar .author-widget .btn {
  width: 100%;
}
.article-sidebar .related-articles ul {
  list-style: none;
}
.article-sidebar .related-articles ul li {
  border-bottom: 1px solid #eee;
  padding: 15px 0;
}
.article-sidebar .related-articles ul li:last-child {
  border-bottom: none;
}
.article-sidebar .related-articles ul li a {
  display: block;
  color: #555;
  transition: color 0.3s ease;
}
.article-sidebar .related-articles ul li a:hover {
  color: #e63946;
}
.article-sidebar .related-articles ul li a:hover .article-category {
  background-color: #e63946;
  color: white;
}
.article-sidebar .related-articles ul li .article-category {
  display: inline-block;
  font-size: 12px;
  background-color: #f5f5f5;
  color: #1a3e72;
  padding: 2px 8px;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}
.article-sidebar .related-articles ul li p {
  font-size: 15px;
  margin-bottom: 5px;
  font-weight: 500;
}
.article-sidebar .related-articles ul li .article-date {
  font-size: 12px;
  color: #a8a8a8;
}
.article-sidebar .consultation-widget .form-group {
  margin-bottom: 15px;
}
.article-sidebar .consultation-widget .form-group input,
.article-sidebar .consultation-widget .form-group textarea,
.article-sidebar .consultation-widget .form-group select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  font-size: 14px;
  font-family: inherit;
}
.article-sidebar .consultation-widget .form-group input:focus,
.article-sidebar .consultation-widget .form-group textarea:focus,
.article-sidebar .consultation-widget .form-group select:focus {
  outline: none;
  border-color: #1a3e72;
}
.article-sidebar .consultation-widget .form-group textarea {
  height: 100px;
  resize: vertical;
}
.article-sidebar .consultation-widget .btn {
  width: 100%;
}
/* 评论区 */
.comments-section {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid #eee;
}
.comments-section .section-title {
  font-size: 22px;
  margin-bottom: 30px;
}
.comments-section .section-title .comments-count {
  color: #a8a8a8;
  font-size: 16px;
}
.comments-section .comment-form {
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  padding: 20px;
  margin-bottom: 30px;
}
.comments-section .comment-form h3 {
  font-size: 18px;
  color: #1a3e72;
  margin-bottom: 20px;
}
.comments-section .comment-form .form-group {
  margin-bottom: 15px;
}
.comments-section .comment-form .form-group textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  font-size: 14px;
  height: 120px;
  resize: vertical;
}
.comments-section .comment-form .form-group textarea:focus {
  outline: none;
  border-color: #1a3e72;
}
.comments-section .comment-form .form-group input {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #ddd;
  font-size: 14px;
}
.comments-section .comment-form .form-group input:focus {
  outline: none;
  border-color: #1a3e72;
}
.comments-section .comment-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.comments-section .comment-form .btn {
  padding: 12px 30px;
  background-color: white;
  color: #1a3e72;
  border: 1px solid #1a3e72;
}
.comments-section .comment-form .btn:hover {
  background-color: #1a3e72;
  color: white;
}
.comments-section .comments-list .comment {
  display: flex;
  margin-bottom: 30px;
}
.comments-section .comments-list .comment .comment-avatar {
  width: 60px;
  height: 60px;
  margin-right: 20px;
  flex-shrink: 0;
}
.comments-section .comments-list .comment .comment-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.comments-section .comments-list .comment .comment-content {
  flex-grow: 1;
}
.comments-section .comments-list .comment .comment-content .comment-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}
.comments-section .comments-list .comment .comment-content .comment-header .comment-author {
  font-size: 16px;
  color: #1a3e72;
  margin-right: 15px;
}
.comments-section .comments-list .comment .comment-content .comment-header .comment-date {
  font-size: 13px;
  color: #a8a8a8;
}
.comments-section .comments-list .comment .comment-content .comment-text {
  font-size: 15px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 10px;
}
.comments-section .comments-list .comment .comment-content .comment-reply a {
  font-size: 14px;
  color: #a8a8a8;
}
.comments-section .comments-list .comment .comment-content .comment-reply a:hover {
  color: #1a3e72;
}
.comments-section .comments-list .comment .comment-content .comment-reply a i {
  margin-right: 5px;
}
.comments-section .comments-list .comment .comment-content .comment-replies {
  margin-top: 20px;
  padding-left: 20px;
  border-left: 2px solid #eee;
}
.comments-section .comments-list .comment .comment-content .comment-replies .comment {
  margin-top: 20px;
}
.comments-section .comments-pagination {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}
.comments-section .comments-pagination a {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  margin: 0 5px;
  color: #1d3557;
  border: 1px solid #ddd;
  transition: all 0.3s ease;
}
.comments-section .comments-pagination a:hover,
.comments-section .comments-pagination a.active {
  background-color: #1a3e72;
  color: white;
  border-color: #1a3e72;
}
/* 响应式设计 */
@media (max-width: 992px) {
  .detail-page .content-grid {
    grid-template-columns: 1fr;
  }
  .article-sidebar {
    margin-top: 50px;
  }
  .comments-section .comment-form .form-row {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .article-content .article-header .article-title {
    font-size: 24px;
  }
  .article-content .article-footer .article-nav {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 576px) {
  .article-content .article-header .article-meta {
    flex-direction: column;
    gap: 8px;
  }
  .comments-list .comment {
    flex-direction: column;
  }
  .comments-list .comment .comment-avatar {
    margin-bottom: 15px;
  }
  .comments-list .comment .comment-content .comment-replies {
    padding-left: 0;
    border-left: none;
    padding-top: 15px;
    border-top: 1px solid #eee;
  }
}
.pagination-container {
  margin-top: 30px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.pagination-container ul {
  list-style: none;
  padding: 0;
  display: inline-flex;
  margin: 0;
  background-color: transparent;
  box-shadow: none;
}
.pagination-container ul li {
  margin-right: 1px;
}
.pagination-container ul li:last-child {
  margin-right: 0;
}
.pagination-container ul li a,
.pagination-container ul li span {
  display: block;
  padding: 12px 18px;
  background-color: #fff;
  color: #555;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 44px;
  text-align: center;
  box-sizing: border-box;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
.pagination-container ul li a:hover,
.pagination-container ul li span:hover {
  background-color: #f5f5f5;
  color: #222222;
  transform: translateY(-1px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.pagination-container ul li.active a,
.pagination-container ul li.active span {
  background-color: #2c6aa0;
  color: #fff;
  cursor: default;
  font-weight: 600;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 1;
}
.pagination-container ul li.active a:hover,
.pagination-container ul li.active span:hover {
  transform: none;
}
.pagination-container ul li.disabled a,
.pagination-container ul li.disabled span {
  color: #ddd;
  cursor: not-allowed;
  background-color: #fff;
  pointer-events: none;
  opacity: 0.7;
  box-shadow: none;
}
