/* 热门动态列表 + 详情（仿智在记录资讯页布局） */
.hot-news-page {
  --hn-orange: #ff6a00;
  --hn-orange-soft: #fff4eb;
  --hn-text: #1f2329;
  --hn-muted: #86909c;
  --hn-border: #f0f0f0;
  --hn-card: #ffffff;
  --hn-bg: #f7f5f2;
  background: var(--hn-bg);
}

.hot-news-hero {
  position: relative;
  z-index: 1;
  overflow: hidden;
  width: 100%;
  min-height: 300px;
  /* 底部多留一段，供背景图淡出过渡 */
  padding: 88px 20px 112px;
  text-align: center;
  background: linear-gradient(180deg, #fff4e8 0%, #ffe8d4 42%, #f7f5f2 100%);
}

.hot-news-hero-content {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  margin: 0 auto;
}

.hot-news-hero-title {
  margin: 0;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--hn-text);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
}

.hot-news-hero-subtitle {
  margin: 14px 0 0;
  color: var(--hn-muted);
  font-size: 18px;
  font-weight: 700;
}

/* 列表内容区：上移叠入淡出区，与详情页一致 */
.hot-news-content {
  position: relative;
  z-index: 2;
  margin-top: -48px;
  padding-top: 28px;
}

.hot-news-container {
  width: min(960px, calc(100% - 40px));
  margin: 0 auto;
  padding: 8px 0 72px;
}

.hot-news-group {
  margin-top: 40px;
}

.hot-news-group-title {
  position: relative;
  margin: 0 0 18px;
  padding-left: 14px;
  font-size: 22px;
  font-weight: 760;
  color: var(--hn-text);
}

.hot-news-group-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 4px;
  height: 1em;
  border-radius: 2px;
  background: var(--hn-orange);
}

.hot-news-list {
  display: grid;
  gap: 14px;
}

.hot-news-card {
  display: block;
  padding: 22px 24px;
  border-radius: 16px;
  background: var(--hn-card);
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 10px 28px rgba(41, 56, 85, 0.05);
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.hot-news-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(41, 56, 85, 0.09);
}

.hot-news-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.hot-news-card-title {
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 720;
  color: var(--hn-text);
}

.hot-news-card-date {
  flex: none;
  color: var(--hn-muted);
  font-size: 13px;
  white-space: nowrap;
  padding-top: 4px;
}

.hot-news-card-excerpt {
  margin: 10px 0 0;
  color: var(--hn-muted);
  font-size: 14px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hot-news-card-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 14px;
}

.hot-news-card-author {
  color: var(--hn-muted);
  font-size: 13px;
}

.hot-news-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.hot-news-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--hn-orange-soft);
  color: var(--hn-orange);
  font-size: 12px;
  line-height: 1.6;
}

.hot-news-card-arrow {
  margin-left: auto;
  color: var(--hn-orange);
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
}

.hot-news-empty {
  margin: 0;
  padding: 28px 18px;
  text-align: center;
  color: var(--hn-muted);
  background: #fff;
  border-radius: 14px;
}

.hot-news-pagination {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 16px;
}

.hot-news-page-btn {
  min-width: 30px;
  height: 30px;
  padding: 0 8px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--hn-muted);
  cursor: pointer;
  font-size: 13px;
}

.hot-news-page-btn:hover:not(:disabled) {
  color: var(--hn-orange);
}

.hot-news-page-btn.is-active {
  color: var(--hn-orange);
  font-weight: 700;
}

.hot-news-page-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* ===== 详情页（对齐 zzjilu 资讯详情） ===== */
.hot-news-detail-page {
  --hn-orange: #ff6a00;
  --hn-orange-soft: #fff4eb;
  --hn-text: #1f2329;
  --hn-muted: #86909c;
  --hn-bg: #f7f5f2;
  background: var(--hn-bg);
}

.hot-news-detail-main {
  position: relative;
  overflow: hidden;
  background: #f7f5f2;
}

.hot-news-detail-hero {
  position: relative;
  z-index: 1;
  overflow: hidden;
  width: 100%;
  min-height: 300px;
  /* 底部多留一段，供背景图淡出过渡 */
  padding: 88px 20px 112px;
  text-align: center;
  background: linear-gradient(180deg, #fff4e8 0%, #ffe8d4 42%, #f7f5f2 100%);
}

/* 通栏铺满：宽度 100%，按 cover 裁切；底部 mask 淡出到页面底色 */
.hot-news-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  -webkit-mask-image: linear-gradient(
    180deg,
    #000 0%,
    #000 48%,
    rgba(0, 0, 0, 0.55) 72%,
    transparent 100%
  );
  mask-image: linear-gradient(
    180deg,
    #000 0%,
    #000 48%,
    rgba(0, 0, 0, 0.55) 72%,
    transparent 100%
  );
}

.hot-news-detail-hero-content {
  position: relative;
  z-index: 1;
  width: min(1200px, 100%);
  margin: 0 auto;
}

.hot-news-detail-hero-title {
  margin: 0 auto;
  /* max-width: 900px; */
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.35;
  font-weight: 800;
  color: var(--hn-text);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
}

.hot-news-detail-hero-subtitle {
  margin: 14px 0 0;
  color: var(--hn-muted);
  font-size: 18px;
  font-weight: 700;
}

/* 上移叠入淡出区，同时保留与标题区的视觉间距 */
.hot-news-detail-content {
  position: relative;
  z-index: 2;
  margin-top: -48px;
  padding-top: 28px;
}

.hot-news-detail-container {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 72px;
  overflow: visible;
}

/* 白色卡片：meta + 标签 + 分隔线 + 正文 */
.hot-news-article {
  background: #fff;
  border-radius: 20px;
  padding: 28px 28px 36px;
  box-shadow: 0 12px 34px rgba(41, 56, 85, 0.06);
  overflow: visible;
}

.hot-news-detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  min-height: 32px;
  padding: 2px 0;
  color: var(--hn-muted);
  font-size: 14px;
  line-height: 1.6;
  overflow: visible;
}

.hot-news-detail-category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--hn-orange-soft);
  color: var(--hn-orange);
  font-size: 13px;
  font-weight: 650;
  line-height: 1;
  box-sizing: border-box;
}

.hot-news-detail-dot {
  opacity: 0.55;
  line-height: 1.6;
}

.hot-news-detail-author,
.hot-news-detail-meta time {
  line-height: 1.6;
  color: var(--hn-muted);
}

.hot-news-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  overflow: visible;
}

.hot-news-detail-tag {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #e5e6eb;
  background: #fff;
  color: #4e5969;
  font-size: 12px;
  line-height: 1;
  box-sizing: border-box;
}

.hot-news-detail-divider {
  border: none;
  border-top: 1px solid #f0f0f0;
  margin: 18px 0 22px;
}

.hot-news-detail-body,
.hot-news-rich-text {
  color: var(--hn-text);
  font-size: 16px;
  line-height: 1.9;
  word-break: break-word;
}

.hot-news-detail-body img,
.hot-news-rich-text img,
.hot-news-detail-body video,
.hot-news-rich-text video {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 12px 0;
}

.hot-news-detail-body p,
.hot-news-rich-text p {
  margin: 0 0 1em;
}

.hot-news-detail-status {
  margin: 0;
  padding: 56px 16px;
  text-align: center;
  color: var(--hn-muted);
}

.hot-news-more {
  margin-top: 28px;
}

.hot-news-more-title {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 760;
  color: var(--hn-text);
}

.hot-news-more-table-wrap {
  background: #fff;
  border-radius: 18px;
  padding: 8px 18px 12px;
  box-shadow: 0 12px 34px rgba(41, 56, 85, 0.06);
  overflow: auto;
}

.hot-news-more-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.hot-news-more-table th {
  padding: 14px 8px;
  text-align: left;
  color: var(--hn-muted);
  font-weight: 600;
  border-bottom: 1px solid #f0f0f0;
}

.hot-news-more-table td {
  padding: 16px 8px;
  color: var(--hn-text);
  vertical-align: middle;
}

.hot-news-more-table .col-index {
  width: 64px;
  color: var(--hn-muted);
}

.hot-news-more-table .col-time {
  width: 120px;
  text-align: right;
  color: var(--hn-muted);
  white-space: nowrap;
}

.hot-news-more-table th.col-time {
  text-align: right;
}

.hot-news-more-link {
  color: var(--hn-text);
  text-decoration: none;
}

.hot-news-more-link:hover {
  color: var(--hn-orange);
}

.hot-news-back {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--hn-muted);
  text-decoration: none;
  font-size: 14px;
}

.hot-news-back:hover {
  color: var(--hn-orange);
}

@media (max-width: 720px) {
  .hot-news-card-header {
    flex-direction: column;
    gap: 6px;
  }

  .hot-news-card-arrow {
    margin-left: 0;
  }

  .hot-news-article {
    padding: 20px 16px 28px;
  }

  .hot-news-more-table .col-index {
    width: 40px;
  }
}
