/* 彩色糖法律GEO资讯页样式（与站点品牌色一致） */
.news-hero {
  padding: 150px 0 60px;
  background:
    radial-gradient(50% 110% at 92% -10%, rgba(255, 90, 54, 0.07) 0%, transparent 62%),
    #ffffff;
  text-align: center;
}
.news-hero h1 {
  font-size: 40px;
  font-weight: 700;
  color: #111111;
  letter-spacing: 1px;
}
.news-hero p {
  margin-top: 14px;
  font-size: 16px;
  color: #666666;
}
.news-wrap {
  padding: 20px 0 100px;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.news-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 14px;
  overflow: hidden;
  transition: all .25s ease;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(17, 17, 17, 0.08);
  border-color: #ffd0c2;
}
.news-card-cover {
  position: relative;
  height: 172px;
  background: #f7f8fa;
  border-bottom: 1px solid #ececec;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
/* 无缩略图时（PbootCMS 兜底图 nopic.png）显示品牌水印，有真实图则被完整覆盖 */
.news-card-cover::before {
  content: "GEO";
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 8px;
  text-indent: 8px;
  color: rgba(255, 90, 54, .35);
}
.news-card-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.news-card-cover img[src*="nopic"] {
  display: none;
}
.news-card-cover .no-cover {
  font-size: 34px;
  font-weight: 700;
  color: #d94a12;
  opacity: .25;
}
.news-card-body {
  padding: 20px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.news-card-date {
  font-size: 13px;
  color: #767676;
}
.news-card-body h3 {
  margin: 10px 0 10px;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 600;
  color: #111111;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card-body p {
  font-size: 14px;
  line-height: 1.75;
  color: #666666;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card-more {
  margin-top: 16px;
  font-size: 14px;
  color: #d94a12;
  font-weight: 500;
}
.news-empty {
  padding: 80px 0;
  text-align: center;
  color: #767676;
}
/* 分页 */
.news-pager {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}
.news-pager a,
.news-pager span {
  min-width: 38px;
  height: 38px;
  line-height: 38px;
  padding: 0 12px;
  text-align: center;
  border: 1px solid #ececec;
  border-radius: 8px;
  color: #111111;
  background: #fff;
}
.news-pager a:hover,
.news-pager .active {
  background: #ff5a36;
  border-color: #d94a12;
  color: #fff;
}
/* 详情页 */
.article-wrap {
  padding: 150px 0 90px;
}
.article-inner {
  max-width: 860px;
  margin: 0 auto;
}
.article-crumb {
  font-size: 14px;
  color: #767676;
  margin-bottom: 18px;
}
.article-crumb a {
  color: #d94a12;
}
.article-title {
  font-size: 32px;
  line-height: 1.45;
  font-weight: 700;
  color: #111111;
}
.article-meta {
  margin: 18px 0 30px;
  padding-bottom: 22px;
  border-bottom: 1px solid #f7f8fa;
  font-size: 14px;
  color: #767676;
}
.article-content {
  font-size: 16px;
  line-height: 1.95;
  color: #333;
  word-break: break-word;
}
.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 12px 0;
}
.article-content p {
  margin-bottom: 16px;
}
.article-content h2,
.article-content h3,
.article-content h4 {
  margin: 28px 0 14px;
  color: #111111;
  font-weight: 600;
  line-height: 1.5;
}
.article-content ul,
.article-content ol {
  padding-left: 22px;
  margin-bottom: 16px;
  list-style: revert;
}
.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 18px;
}
.article-content th,
.article-content td {
  border: 1px solid #ececec;
  padding: 10px 12px;
}
.article-back {
  display: inline-block;
  margin-top: 46px;
  padding: 12px 30px;
  border-radius: 40px;
  background: var(--grad-hot);
  color: #fff;
  font-size: 15px;
  box-shadow: 0 8px 22px rgba(255, 90, 54, 0.24);
}
.article-back:hover {
  background: var(--grad-hot);
  color: #fff;
}
/* 上一篇 / 下一篇 */
.article-nav {
  margin-top: 50px;
  padding-top: 26px;
  border-top: 1px solid #f7f8fa;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.article-nav-item {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 14px 18px;
  border: 1px solid #f7f8fa;
  border-radius: 10px;
  background: #f7f8fa;
  transition: all .2s ease;
}
.article-nav-item:hover {
  border-color: #ececec;
  background: #f7f8fa;
}
.article-nav-item span {
  flex: 0 0 auto;
  font-size: 13px;
  color: #767676;
}
.article-nav-item strong {
  font-size: 15px;
  font-weight: 500;
  color: #111111;
  line-height: 1.6;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.article-nav-item:hover strong {
  color: #d94a12;
}
@media (max-width: 991px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .news-hero { padding-top: 120px; }
  .news-hero h1 { font-size: 30px; }
  .article-wrap { padding-top: 120px; }
  .article-title { font-size: 24px; }
}
@media (max-width: 767px) {
  .news-grid { grid-template-columns: 1fr; gap: 20px; }
}
/* PbootCMS 内置分页 */
.news-pager .page-status,
.news-pager .page-index,
.news-pager .page-pre,
.news-pager .page-next,
.news-pager .page-last,
.news-pager .page-numbar {
  display: inline-block;
  margin: 0 4px;
}
.news-pager .page-status { margin-right: 14px; color: #767676; border: 0; background: none; }
.news-pager .page-num {
  display: inline-block;
  min-width: 38px;
  height: 38px;
  line-height: 38px;
  padding: 0 10px;
  text-align: center;
  border: 1px solid #ececec;
  border-radius: 8px;
  color: #111111;
  background: #fff;
  margin: 0 3px;
}
.news-pager .page-num:hover,
.news-pager .page-num-current {
  background: #ff5a36;
  border-color: #d94a12;
  color: #fff;
}
.news-pager .page-none { color: #767676; }

/* ================= 标签（tags） ================= */
/* 文章底部标签 */
.article-tags {
  display: none;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 44px 0 0;
  padding-top: 26px;
  border-top: 1px dashed #ececec;
}
.article-tags:has(.article-tag) { display: flex; }
.article-tags-label {
  flex: 0 0 auto;
  font-size: 13px;
  color: #9a9a9a;
  letter-spacing: 1px;
}
.article-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.article-tag {
  display: inline-block;
  padding: 6px 14px;
  font-size: 13px;
  line-height: 1.2;
  color: #d94a12;
  background: #fff3ef;
  border: 1px solid #ffd9cd;
  border-radius: 999px;
  transition: all .2s;
}
.article-tag:hover {
  color: #fff;
  background: #ff5a36;
  border-color: #ff5a36;
}
.article-tags-all {
  margin-left: auto;
  font-size: 13px;
  color: #9a9a9a;
}
.article-tags-all:hover { color: #ff5a36; }

/* 列表页标签区 */
.news-tags {
  display: none;
  margin-top: 54px;
  padding: 30px 32px;
  background: #fafafa;
  border: 1px solid #f0f0f0;
  border-radius: 16px;
}
.news-tags:has(.news-tag) { display: block; }
.news-tags-title {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 700;
  color: #111111;
  letter-spacing: .5px;
}
.news-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.news-tag {
  display: inline-block;
  padding: 8px 16px;
  font-size: 14px;
  line-height: 1.2;
  color: #333333;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 999px;
  transition: all .2s;
}
.news-tag:hover {
  color: #ff5a36;
  border-color: #ff5a36;
  background: #fff8f6;
}
.news-tags-all {
  display: inline-block;
  margin-top: 18px;
  font-size: 13px;
  color: #9a9a9a;
}
.news-tags-all:hover { color: #ff5a36; }

/* 标签页头部 */
.tag-hero-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 13px;
  color: #ff5a36;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* 标签云（/tags/ 总览） */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 8px 0 40px;
}
.tag-cloud-item {
  display: inline-block;
  padding: 12px 22px;
  font-size: 16px;
  line-height: 1.2;
  color: #222222;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 999px;
  transition: all .22s;
}
.tag-cloud-item:hover {
  color: #fff;
  background: #ff5a36;
  border-color: #ff5a36;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 90, 54, .22);
}
/* 前几个标签视觉权重略高，形成层次 */
.tag-cloud-item:nth-child(-n+4) {
  font-size: 18px;
  font-weight: 600;
  border-color: #ffd9cd;
  background: #fff8f5;
  color: #d94a12;
}
.tag-cloud-item:nth-child(-n+4):hover {
  color: #fff;
  background: #ff5a36;
  border-color: #ff5a36;
}
.tag-foot {
  margin-top: 40px;
  font-size: 14px;
}
.tag-foot a { color: #767676; }
.tag-foot a:hover { color: #ff5a36; }

@media (max-width: 767px) {
  .article-tags { margin-top: 34px; padding-top: 22px; }
  .article-tags-all { margin-left: 0; flex-basis: 100%; }
  .news-tags { padding: 22px 20px; margin-top: 40px; }
  .tag-cloud { gap: 10px; }
  .tag-cloud-item,
  .tag-cloud-item:nth-child(-n+4) { font-size: 14px; padding: 10px 16px; }
}
