/* ========== 资讯列表页样式 ========== */

/* 页面标题栏 */
.page-header {
  background: linear-gradient(135deg, #f5f7fa, #e9ecf0);
  padding: 40px 0;
  text-align: center;
  border-bottom: 1px solid #ddd;
}
.page-header h1 {
  font-size: 32px;
  color: #003366;
  margin-bottom: 8px;
}
.page-header p {
  font-size: 16px;
  color: #555;
  max-width: 700px;
  margin: 0 auto;
}

/* 面包屑导航 */
.breadcrumb {
  background: #fff;
  padding: 14px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
  color: #6c7a8e;
}
.breadcrumb a {
  color: #004099;
}
.breadcrumb a:hover {
  text-decoration: underline;
}
.breadcrumb span {
  color: #333;
  font-weight: 500;
}

/* 搜索 + 标签区域 */
.search-tag-section {
  background: #fff;
  border-bottom: 1px solid #f0f4fa;
  padding: 24px 0;
}
.search-box form {
  display: flex;
  align-items: center;
  max-width: 500px;
  margin: 0 auto 16px;
  background: #f5f7fc;
  border-radius: 60px;
  border: 1px solid #d9e2ef;
  overflow: hidden;
}
.search-input {
  flex: 1;
  padding: 12px 20px;
  border: none;
  background: transparent;
  font-size: 15px;
  outline: none;
}
.search-btn {
  background: #ffcc00;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.2s;
  color: #003366;
  font-weight: bold;
}
.search-btn:hover {
  background: #ffd700;
}

/* 顶部标签导航 */
.top-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 16px;
}
.top-tag-item {
  padding: 6px 20px;
  background: #f0f4fa;
  border-radius: 40px;
  font-size: 14px;
  color: #004099;
  font-weight: 500;
  transition: 0.2s;
  border: 1px solid #d9e2ef;
  white-space: nowrap;
}
.top-tag-item:hover {
  background: #004099;
  color: #fff;
  border-color: #004099;
}

/* 资讯列表 */
.news-section {
  padding: 50px 0;
  background: #fff;
}
.latest-title {
  font-size: 24px;
  color: #003366;
  margin-bottom: 20px;
  border-left: 8px solid #ffcc00;
  padding-left: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.search-result-count {
  font-size: 16px;
  font-weight: 400;
  color: #6c7a8e;
  background: #f0f4fa;
  padding: 4px 12px;
  border-radius: 40px;
}
.news__list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 40px;
}
.news__item {
  display: flex;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,51,102,0.06);
  transition: all 0.3s;
  border: 1px solid #eee;
}
.news__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 30px rgba(0,51,102,0.1);
  border-color: #ccd9f0;
}
.news__img-container {
  width: 260px;
  height: 180px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  background: #eef2f6;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px 0 0 24px;
}
.news__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.news__img:hover {
  transform: scale(1.03);
}
.news__content {
  padding: 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.news__meta {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: #6c7a8e;
  margin-bottom: 8px;
  align-items: center;
}
.news__date {
  display: flex;
  align-items: center;
  gap: 4px;
}
.news__date::before {
  content: "📅";
  font-size: 12px;
  opacity: 0.7;
}
.news__category {
  background: #e6f0ff;
  color: #004099;
  padding: 4px 12px;
  border-radius: 40px;
  font-weight: 500;
  font-size: 12px;
  display: inline-block;
  transition: background 0.2s, color 0.2s;
}
.news__category:hover {
  background: #004099;
  color: #fff;
}
.news__title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #003366;
  line-height: 1.4;
}
.news__desc {
  font-size: 15px;
  color: #4a5568;
  line-height: 1.7;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.news__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}
.news__tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.tag-link, .tag-plain {
  padding: 5px 14px;
  font-size: 12px;
  border-radius: 40px;
  font-weight: 500;
  border: 1px solid #d9e2ef;
  transition: all 0.2s ease;
}
.tag-link {
  background: #f0f4fa;
  color: #004099;
  cursor: pointer;
}
.tag-link:hover {
  background: #004099;
  color: #ffffff;
  border-color: #004099;
}
.tag-plain {
  background: #f5f7fc;
  color: #6c7a8e;
  cursor: default;
}
.news__btn {
  padding: 8px 26px;
  border: 1px solid #004099;
  color: #004099;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s;
  background: white;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,64,153,0.1);
}
.news__btn:hover {
  background: #004099;
  color: #fff;
  box-shadow: 0 6px 14px rgba(0,64,153,0.25);
  transform: translateY(-2px);
}

/* 图片占位符样式（分类图标） */
.news__img-container.img-placeholder {
  background-color: #eef2f6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  color: #6c7a8e;
}
.news__img-container.img-placeholder .news__img {
  display: none;
}
.news__img-container.category-keyan-zhinan::before { content: "📊"; }
.news__img-container.category-wenping-shiwu::before { content: "⚖️"; }
.news__img-container.category-shangye-jihua::before { content: "💼"; }
.news__img-container.category-xinmengyuan-lixiang::before { content: "⚡"; }
.news__img-container.category-zijin-shenqing::before { content: "💰"; }
.news__img-container.category-yiliao-keyan::before { content: "🏥"; }
.news__img-container.category-wenlv-zhuangxiangzhai::before { content: "🏛️"; }
.news__img-container.category-zhineng-zhizao::before { content: "🏭"; }
.news__img-container.category-xiandai-nongye::before { content: "🌾"; }
.news__img-container.category-lixiang-beian::before { content: "📝"; }
.news__img-container.category-undefined::before { content: "📰"; }

/* 分页样式 */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 40px 0 20px;
}
.page-btn {
  padding: 8px 16px;
  border: 1px solid #d4deec;
  border-radius: 40px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  background: #fff;
  color: #2c3e50;
}
.page-btn.active,
.page-btn:hover {
  border-color: #004099;
  background: #004099;
  color: #fff;
}
.page-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: #f2f6fa;
  color: #a0b3cc;
  border-color: #d8e2f0;
}

/* 底部大分类快捷入口 */
.category-links {
  background: #f8faff;
  padding: 40px 0;
  border-top: 1px solid #e0e9f5;
  border-bottom: 1px solid #e0e9f5;
  margin-bottom: 0;
}
.category-title {
  font-size: 22px;
  font-weight: 700;
  color: #003366;
  margin-bottom: 20px;
  text-align: center;
}
.category-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 20px;
}
.category-item {
  padding: 10px 28px;
  background: #ffffff;
  border-radius: 40px;
  font-size: 16px;
  color: #004099;
  font-weight: 600;
  transition: 0.2s;
  border: 1px solid #ccd9f0;
  box-shadow: 0 2px 6px rgba(0,64,153,0.05);
}
.category-item:hover {
  background: #004099;
  color: #fff;
  border-color: #004099;
  transform: translateY(-2px);
}

/* 弹窗样式 */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.5);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal__content {
  background: #fff;
  border-radius: 32px;
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 30px;
  box-shadow: 0 30px 50px rgba(0,20,50,0.3);
}
.modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f0f4fa;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 22px;
  color: #004099;
  transition: 0.2s;
}
.modal__close:hover {
  background: #004099;
  color: #fff;
}
.modal__header {
  margin-bottom: 20px;
}
.modal__title {
  font-size: 26px;
  font-weight: 700;
  color: #003366;
  margin-bottom: 12px;
  line-height: 1.3;
}
.modal__tags {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.modal__tag {
  padding: 5px 14px;
  background: #e6f0ff;
  color: #004099;
  font-size: 12px;
  border-radius: 40px;
  font-weight: 500;
}
.modal__meta {
  font-size: 14px;
  color: #5b6f8c;
  background: #f4f8ff;
  padding: 8px 16px;
  border-radius: 40px;
  display: inline-block;
}
.modal__body {
  line-height: 1.8;
  font-size: 16px;
  color: #2c3e50;
}
.modal__body h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 20px 0 10px;
  color: #003366;
  border-left: 5px solid #ffcc00;
  padding-left: 15px;
}
.modal__body p {
  margin-bottom: 16px;
}
.modal__body ul {
  margin-bottom: 16px;
  padding-left: 20px;
}
.modal__body li {
  margin-bottom: 6px;
  list-style: disc;
}
.modal__footer {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 2px solid #f0f5fc;
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}
.modal__contact-btn, .modal__readmore-btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 60px;
  font-size: 16px;
  font-weight: 600;
  transition: 0.3s;
  text-align: center;
  flex: 0 1 auto;
  min-width: 160px;
}
.modal__contact-btn {
  background: #ffcc00;
  color: #003366;
  box-shadow: 0 6px 14px rgba(0,64,153,0.3);
}
.modal__contact-btn:hover {
  background: #ffd700;
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0,64,153,0.4);
}
.modal__readmore-btn {
  background: white;
  color: #004099;
  border: 2px solid #004099;
  box-shadow: 0 6px 14px rgba(0,64,153,0.1);
}
.modal__readmore-btn:hover {
  background: #004099;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0,64,153,0.4);
}

/* CTA 区域 */
.cta-section {
  background: linear-gradient(135deg, #004099, #002a66);
  padding: 60px 0;
  color: #fff;
}
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.cta-left h2 {
  font-size: 28px;
  margin-bottom: 16px;
  font-weight: 700;
}
.cta-left p {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 20px;
  line-height: 1.8;
}
.cta-contact {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cta-tel {
  background: #ffcc00;
  color: #003366;
  padding: 12px 28px;
  border-radius: 60px;
  font-weight: 700;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: 0.3s;
}
.cta-tel:hover {
  background: #ffd700;
  transform: translateY(-2px);
}
.cta-qr {
  text-align: center;
  max-width: 100px;
}
.cta-qr img {
  width: 100%;
  border-radius: 16px;
  border: 3px solid rgba(255,255,255,0.2);
}
.cta-qr span {
  font-size: 12px;
  opacity: 0.8;
}
.cta-right {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  border-radius: 24px;
  padding: 30px;
  border: 1px solid rgba(255,255,255,0.2);
}
.cta-right h3 {
  font-size: 22px;
  margin-bottom: 20px;
  color: #ffcc00;
}
.cta-form .form-group {
  margin-bottom: 20px;
}
.cta-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: #fff;
  font-size: 15px;
}
.cta-form input,
.cta-form select,
.cta-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  font-size: 15px;
  transition: 0.3s;
  background: rgba(255,255,255,0.9);
  color: #333;
}
.cta-form input:focus,
.cta-form select:focus,
.cta-form textarea:focus {
  border-color: #ffcc00;
  outline: none;
  box-shadow: 0 0 0 3px rgba(255,204,0,0.3);
  background: #fff;
}
.cta-form select option {
  background: #fff;
  color: #333;
}
.cta-form textarea {
  height: 100px;
  resize: vertical;
}
.cta-form .submit-btn {
  background: #004099;
  color: white;
  border: none;
  padding: 16px 28px;
  border-radius: 40px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  width: 100%;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.cta-form .submit-btn:hover {
  background: #002a66;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.4);
}
.privacy-note {
  margin-top: 15px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  text-align: center;
}
.privacy-note a {
  color: #fff;
  text-decoration: underline;
  margin-left: 4px;
}
.privacy-note a:hover {
  color: #ffcc00;
}

/* 联系信息 */
.info {
  padding: 40px 0;
  background: #003366;
  color: #fff;
  text-align: center;
}
.info__text {
  font-size: 16px;
  margin-bottom: 8px;
  font-weight: 500;
}
.info__text a {
  color: #fff;
  text-decoration: underline;
}

/* 底部 */
.footer {
  padding: 40px 0 20px;
  background: #111;
  color: #999;
  text-align: center;
  font-size: 13px;
}
.footer a {
  color: #999;
  text-decoration: none;
  transition: color 0.2s;
}
.footer a:hover {
  color: #fff;
}
.footer-sitemap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: left;
  margin-bottom: 40px;
  padding-bottom: 30px;
}
.sitemap-col h4 {
  color: #ddd;
  font-size: 16px;
  margin-bottom: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.sitemap-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sitemap-col li {
  margin-bottom: 8px;
}
.sitemap-col li a {
  font-size: 13px;
  color: #888;
  transition: color 0.2s;
}
.sitemap-col li a:hover {
  color: #ffcc00;
}
.footer-copyright {
  border-top: 1px solid #333;
  padding-top: 20px;
}
.footer-copyright p {
  margin: 5px 0;
  color: #666;
}
.footer-copyright a {
  color: #666;
}
.footer-copyright a:hover {
  color: #ffcc00;
}

/* ========== 资讯详情页样式 ========== */
.article-detail {
  padding: 60px 0;
  background: #fff;
}
.article-detail .container {
  max-width: 900px; /* 从800px增加到900px，内容稍宽 */
  margin: 0 auto;    /* 确保居中 */
}
.article-banner {
  width: 100%;
  height: auto;
  border-radius: 24px;
  margin-bottom: 30px;
  display: block;       /* 确保块级元素 */
  margin-left: auto;     /* 水平居中 */
  margin-right: auto;
}
.article-title {
  font-size: 32px;
  color: #003366;
  margin-bottom: 15px;
  line-height: 1.3;
}
.article-meta {
  font-size: 14px;
  color: #777;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}
.article-content {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}
.article-content h2 {
  font-size: 24px;
  color: #003366;
  margin: 40px 0 20px;
  padding-left: 15px;
  border-left: 5px solid #ffcc00;
}
.article-content h3 {
  font-size: 20px;
  color: #004099;
  margin: 30px 0 15px;
}
.article-content p {
  margin-bottom: 20px;
}
.article-content ul {
  margin: 20px 0;
  padding-left: 30px;
  list-style: disc;
}
.article-content li {
  margin-bottom: 8px;
}
.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  margin: 20px 0;
}
.article-content blockquote {
  background: #f8f9fa;
  border-left: 4px solid #ffcc00;
  padding: 15px 20px;
  margin: 20px 0;
  color: #4a5568;
  font-style: italic;
}
.article-tags {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px dashed #d9e2ef;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.article-tags-label {
  font-weight: 600;
  color: #003366;
  font-size: 15px;
}
.related-posts {
  margin-top: 50px;
  padding: 30px;
  background: #f8faff;
  border-radius: 24px;
  border: 1px solid #e0e9f5;
}
.related-posts h3 {
  font-size: 20px;
  color: #003366;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.related-posts h3:before {
  content: "📚";
  font-size: 22px;
}
.related-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.related-item {
  padding: 12px 16px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #ccd9f0;
  transition: 0.2s;
}
.related-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,64,153,0.1);
  border-color: #004099;
}
.related-item a {
  display: block;
  font-weight: 600;
  color: #003366;
  font-size: 15px;
  margin-bottom: 5px;
}
.related-item a:hover {
  color: #004099;
}
.related-date {
  font-size: 12px;
  color: #888;
}
.back-btn {
  display: inline-block;
  margin-top: 40px;
  padding: 12px 28px;
  background: #004099;
  color: white;
  font-size: 16px;
  font-weight: 500;
  border-radius: 40px;
  transition: 0.3s;
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.back-btn:hover {
  background: #002a66;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,64,153,0.2);
}

/* ========== 标签页和分类页样式 ========== */
.tag-header,
.category-header {
  background: linear-gradient(135deg, #f5f7fa, #e9ecf0);
  padding: 40px 0;
  text-align: center;
  border-bottom: 1px solid #ddd;
  margin-bottom: 30px;
}
.tag-header h1,
.category-header h1 {
  font-size: 32px;
  color: #003366;
  margin-bottom: 8px;
}
.tag-header p,
.category-header p {
  font-size: 16px;
  color: #555;
}

/* 文章网格布局 */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  padding: 20px 0 50px;
}

/* 文章卡片 */
.article-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,51,102,0.08);
  transition: all 0.3s ease;
  border: 1px solid #eee;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 30px rgba(0,51,102,0.15);
  border-color: #ccd9f0;
}

/* 卡片内容区域 */
.article-card-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* 卡片中的日期 */
.article-card .date {
  font-size: 13px;
  color: #6c7a8e;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.article-card .date::before {
  content: "📅";
  font-size: 12px;
  opacity: 0.7;
}

/* 卡片标题 */
.article-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.5;
}
.article-card h3 a {
  color: #003366;
  text-decoration: none;
  transition: color 0.2s;
}
.article-card h3 a:hover {
  color: #004099;
  text-decoration: underline;
}

/* 卡片描述 */
.article-card .desc {
  font-size: 14px;
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

/* 卡片中的阅读全文按钮（复用 .news__btn 样式） */
.article-card .news__btn {
  align-self: flex-start;
  margin-top: auto;
  padding: 8px 20px;
  border: 1px solid #004099;
  color: #004099;
  border-radius: 40px;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.3s;
  background: white;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.article-card .news__btn:hover {
  background: #004099;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0,64,153,0.2);
}

/* ========== 标签页卡片图标优化 ========== */
.article-card-img {
  width: 100%;
  height: 160px;
  background-color: #f0f4fa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  color: #004099;
  border-bottom: 1px solid #eee;
}

/* 分类图标映射（与列表页保持一致） */
.article-card-img.category-kexing-yanjiu::before,
.article-card-img.category-keyan-zhinan::before { content: "📊"; }
.article-card-img.category-wenping-shiwu::before,
.article-card-img.category-shehui-wending-fengxian-pinggu::before { content: "⚖️"; }
.article-card-img.category-shangye-jihua::before { content: "💼"; }
.article-card-img.category-xinmengyuan-lixiang::before { content: "⚡"; }
.article-card-img.category-zijin-shenqing::before { content: "💰"; }
.article-card-img.category-yiliao-keyan::before { content: "🏥"; }
.article-card-img.category-wenlv-zhuangxiangzhai::before { content: "🏛️"; }
.article-card-img.category-zhineng-zhizao::before { content: "🏭"; }
.article-card-img.category-xiandai-nongye::before { content: "🌾"; }
.article-card-img.category-lixiang-beian::before { content: "📝"; }
.article-card-img.category-undefined::before { content: "📰"; }

/* 卡片内容布局优化（覆盖部分原有定义，但保持一致） */
.article-card-content {
  padding: 20px 20px 24px;
}

.article-card .date {
  margin-bottom: 8px;
}

.article-card h3 {
  margin-bottom: 10px;
}

/* 面包屑与标题栏之间的间距调整 */
.tag-header,
.category-header {
  margin-bottom: 0; /* 移除底部边距，让面包屑紧挨着 */
}
.breadcrumb + .container {
  margin-top: 30px;
}
/* 面包屑当前项加粗 */
.breadcrumb span {
  font-weight: 600;
  color: #333;
}

/* ========== 移动端适配优化 ========== */
@media (max-width: 768px) {
  /* 页面标题栏 */
  .page-header h1 {
    font-size: 26px;
  }
  .page-header p {
    font-size: 14px;
  }

  /* 面包屑 */
  .breadcrumb {
    font-size: 12px;
    padding: 10px 0;
  }

  /* 搜索框 */
  .search-box form {
    max-width: 100%;
  }

  /* 顶部标签 */
  .top-tags {
    gap: 8px;
  }
  .top-tag-item {
    padding: 4px 14px;
    font-size: 12px;
  }

  /* 资讯列表 */
  .news-section {
    padding: 30px 0;
  }
  .latest-title {
    font-size: 20px;
    border-left-width: 6px;
    padding-left: 12px;
  }
  .news__item {
    flex-direction: column;
  }
  .news__img-container {
    width: 100%;
    height: 200px;
    border-radius: 24px 24px 0 0;
  }
  .news__content {
    padding: 20px;
  }
  .news__title {
    font-size: 18px;
  }
  .news__desc {
    font-size: 14px;
    -webkit-line-clamp: 3;
  }
  .news__btn {
    padding: 6px 20px;
    font-size: 13px;
  }

  /* 详情页 */
  .article-detail {
    padding: 30px 0;
  }
  .article-detail .container {
    max-width: 100%;
    padding: 0 15px; /* 增加左右内边距，避免文字贴边 */
  }
  .article-title {
    font-size: 24px;
  }
  .article-meta {
    font-size: 13px;
    margin-bottom: 20px;
  }
  .article-content {
    font-size: 15px;
    line-height: 1.7;
  }
  .article-content h2 {
    font-size: 20px;
    margin: 30px 0 15px;
  }
  .article-content h3 {
    font-size: 18px;
    margin: 25px 0 12px;
  }
  .article-tags-label {
    font-size: 14px;
  }
  .tag-link, .tag-plain {
    padding: 4px 12px;
    font-size: 11px;
  }
  .related-posts {
    padding: 20px;
  }
  .related-list {
    grid-template-columns: 1fr;
  }
  .back-btn {
    padding: 10px 24px;
    font-size: 14px;
  }

  /* 标签页和分类页 */
  .tag-header, .category-header {
    padding: 30px 0;
  }
  .tag-header h1, .category-header h1 {
    font-size: 24px;
  }
  .tag-header p, .category-header p {
    font-size: 14px;
  }
  .article-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 10px 0 30px;
  }
  .article-card-img {
    height: 140px;
    font-size: 48px;
  }
  .article-card-content {
    padding: 16px;
  }
  .article-card h3 {
    font-size: 16px;
  }
  .article-card .desc {
    font-size: 13px;
    -webkit-line-clamp: 3;
  }
  .article-card .news__btn {
    padding: 6px 16px;
    font-size: 12px;
  }

  /* CTA区域 */
  .cta-section {
    padding: 40px 0;
  }
  .cta-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .cta-left h2 {
    font-size: 22px;
  }
  .cta-left p {
    font-size: 14px;
  }
  .cta-tel {
    padding: 10px 20px;
    font-size: 16px;
  }

  /* 底部 */
  .footer {
    padding: 30px 0 15px;
  }
  .footer-sitemap {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* 导航菜单（原有，保留） */
  .nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    padding: 10px 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border-top: 1px solid #eee;
    gap: 0;
  }
  .nav.active {
    display: flex;
    animation: slideDown 0.3s ease-out;
  }
  .nav a {
    padding: 16px 20px;
    border-bottom: 1px solid #f5f5f5;
    font-size: 16px;
  }
  .nav a:last-child {
    border-bottom: none;
  }
  .menu-toggle {
    display: block;
  }

  /* 电话按钮 */
  .tel {
    padding: 8px;
    border-radius: 50%;
    background: #ffcc00;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  .tel-text {
    display: none;
  }
  .tel-icon {
    width: 32px;
    height: 32px;
    font-size: 18px;
    background: white;
  }

  /* 移动端logo尺寸调整 */
  .logo img {
    height: 40px;
    max-width: 140px;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}