/* news.css：新闻列表与新闻详情页样式 */

.news-list-page {
  padding-bottom: max(1.18rem, var(--space));
  overflow: hidden;
}

.news-panel-swiper {
  margin-top: max(0.62rem, 35px);
}

.news-panel-swiper .news-swiper .swiper-slide {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

.news-panel-swiper .news-swiper .swiper-slide:hover .pic img {
  transform: scale(1.05);
}

.news-panel-swiper .news-swiper .swiper-slide:hover .slide-text .slide-title {
  color: var(--theme);
}

.news-panel-swiper .news-swiper .pic img {
  display: block;
  width: 100%;
  height: auto;
  transition: var(--duration);
}

.news-panel-swiper .news-swiper .pic::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: url(../images/news-list-liner.png) no-repeat left bottom / cover;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.news-panel-swiper .news-swiper .slide-text {
  position: absolute;
  left: max(0.3rem, 20px);
  bottom: max(0.3rem, 20px);
  z-index: 2;
  width: 86%;
}

.news-panel-swiper .news-swiper .slide-text .time-line {
  display: flex;
  align-items: center;
  margin-bottom: max(0.21rem, 10px);
}

.news-panel-swiper .news-swiper .slide-text .time-line .time-icon {
  width: 15px;
  margin-right: 6px;
  filter: brightness(0) invert(1);
}

.news-panel-swiper .news-swiper .slide-text .time-line .time-text {
  font-family: SourceHanSansCN-Light, sans-serif;
  font-size: var(--font14);
  color: #ffffff;
}

.news-panel-swiper .news-swiper .slide-text .tag-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.news-panel-swiper .news-swiper .slide-text .tag-list .tag-item {
  font-family: SourceHanSansCN-Light, sans-serif;
  font-size: var(--font14);
  color: #ffffff;
  line-height: 1;
  padding: 4px 12px;
  border-radius: 12px;
  border: 1px solid #ccc;
  margin-right: 10px;
  margin-bottom: 10px;
}

.news-panel-swiper .news-swiper .slide-text .tag-list .tag-item:last-child {
  margin-right: 0;
}

.news-panel-swiper .news-swiper .slide-text .slide-title {
  font-weight: 400;
  font-size: var(--font26);
  color: #ffffff;
  line-height: 1.23076923;
  width: 100%;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  overflow-wrap: break-word;
  margin-bottom: max(0.15rem, 10px);
  transition: var(--duration);
}

.news-panel-swiper .news-swiper .slide-text .slide-desc {
  font-family: SourceHanSansCN-Light, sans-serif;
  font-size: var(--font16);
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.625;
  margin-bottom: max(0.14rem, 10px);
  width: 100%;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  overflow-wrap: break-word;
}

.news-panel-swiper .news-swiper .slide-text .slide-more {
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  cursor: pointer;
  width: 130px;
  height: 32px;
  background: linear-gradient(90deg, #d71418, #e60012, #ff3131);
  border-radius: 16px;
}

.news-panel-swiper .news-swiper .slide-text .slide-more:hover .more-text {
  margin-right: 6px;
}

.news-panel-swiper .news-swiper .slide-text .slide-more .more-text {
  font-weight: 300;
  font-size: 12px;
  color: #fff;
  line-height: 1;
  margin-right: 11px;
  transition: var(--duration);
}

.news-panel-swiper .news-swiper .slide-text .slide-more .more-icon {
  height: 10px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: var(--duration);
}

.news-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: max(0.6rem, 30px);
  padding-bottom: max(0.6rem, 30px);
  border-bottom: 1px solid rgba(204, 204, 204, 0.5);
}

.news-section .section-left {
  width: 52.08333333%;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  border-radius: 6px;
  overflow: hidden;
}

.news-section .section-left:hover .pic img {
  transform: scale(1.05);
}

.news-section .section-left:hover .text .text-title {
  color: var(--theme);
}

.news-section .section-left .pic {
  display: block;
  width: 100%;
  position: relative;
}

.news-section .section-left .pic::after {
  content: "";
  display: block;
  padding-bottom: 72.875%;
}

.news-section .section-left .pic img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--duration, 0.45s);
}

.news-section .section-left::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
}

.news-section .section-left .text {
  position: absolute;
  left: max(0.3rem, 20px);
  bottom: max(0.3rem, 20px);
  right: max(20px, 0.43rem);
  z-index: 2;
}

.news-section .section-left .text .time-line {
  display: flex;
  align-items: center;
  margin-bottom: max(0.2rem, 10px);
}

.news-section .section-left .text .time-line .time-icon {
  filter: brightness(0) invert(1);
  margin-right: 6px;
  width: 15px;
}

.news-section .section-left .text .time-line .time-text {
  font-family: SourceHanSansCN-Light, sans-serif;
  font-weight: 300;
  font-size: var(--font14);
  color: #ffffff;
}

.news-section .section-left .text .tag-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.news-section .section-left .text .tag-list .tag-item {
  font-family: SourceHanSansCN-Light, sans-serif;
  font-size: var(--font14);
  color: #ffffff;
  line-height: 1;
  margin-right: 10px;
  margin-bottom: 10px;
  padding: 4px 11px;
  border: 1px solid #ccc;
  border-radius: 12px;
}

.news-section .section-left .text .text-title {
  font-weight: 400;
  font-size: var(--font26);
  color: #ffffff;
  line-height: 1.23076923;
  margin-bottom: max(0.15rem, 10px);
  width: 100%;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  overflow-wrap: break-word;
  transition: var(--duration);
}

.news-section .section-left .text .text-title h2 {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  display: inline;
  color: inherit;
}

.news-section .section-left .text .text-desc {
  font-family: SourceHanSansCN-Light, sans-serif;
  font-weight: 300;
  font-size: var(--font16);
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.625;
  width: 100%;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  overflow-wrap: break-word;
}

.news-section .section-right {
  width: 43.1640625%;
  flex-shrink: 0;
}

.common-news-list .item {
  display: flex;
  align-items: flex-start;
  padding-bottom: max(0.31rem, 20px);
  padding-top: max(0.3rem, 20px);
  border-bottom: 1px solid rgba(204, 204, 204, 0.5);
}

.common-news-list .item:first-child {
  padding-top: 0;
}

.common-news-list .item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.common-news-list .item .pic {
  width: 234px;
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

.common-news-list .item .pic::after {
  content: "";
  display: block;
  padding-bottom: 61.96581197%;
}

.common-news-list .item .pic img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--duration, 0.45s);
}

.common-news-list .item .text {
  margin-left: max(0.21rem, 15px);
  flex: 1;
  min-width: 0;
}

.common-news-list .item .text .title {
  font-weight: 400;
  font-size: var(--font22);
  color: #333333;
  line-height: 1.45454545;
  width: 100%;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  overflow-wrap: break-word;
  transition: var(--duration);
}

.common-news-list .item .text .title h3 {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  display: inline;
  color: inherit;
}

.common-news-list .item .text .time-line {
  display: flex;
  align-items: center;
  margin-top: 5px;
}

.common-news-list .item .text .time-line .time-icon {
  width: 15px;
}

.common-news-list .item .text .time-line .time-text {
  margin-left: 6px;
  font-family: SourceHanSansCN-Light, sans-serif;
  font-size: var(--font14);
  color: #999999;
  line-height: 1;
}

.common-news-list .item .text .tag-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 12px;
}

.common-news-list .item .text .tag-list .tag-item {
  font-family: SourceHanSansCN-Light, sans-serif;
  font-weight: 300;
  font-size: var(--font14);
  color: #666666;
  line-height: 1;
  white-space: nowrap;
  padding: 4px 11px;
  border: 1px solid #ccc;
  border-radius: 12px;
  margin-right: 10px;
  margin-bottom: 12px;
}

.common-news-list .item .text .tag-list .tag-item {
  max-width: 9em;
  overflow: hidden;
  text-overflow: ellipsis;
}

.common-news-list .item .text .desc {
  font-family: SourceHanSansCN-Light, sans-serif;
  font-size: var(--font14);
  color: #666666;
  line-height: 1.57142857;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  overflow: hidden;
  overflow-wrap: break-word;
}

.common-news-list .item:hover .pic img {
  transform: scale(1.05);
}

.common-news-list .item:hover .text .title {
  color: var(--theme);
}

.news-list-panel {
  padding-top: max(0.6rem, 30px);
}

.news-list-panel .common-news-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  border-bottom: 1px solid rgba(204, 204, 204, 0.5);
  margin-bottom: max(0.6rem, 30px);
}

.news-list-panel .common-news-list .item {
  width: 48.6328125%;
  border-bottom: none;
  padding-top: 0;
  padding-bottom: 0;
  margin-bottom: max(0.6rem, 30px);
}

.news-list-panel .common-news-list .item .text {
  margin-left: max(0.22rem, 15px);
}

.news-list-panel .common-news-list .item .text .time-line {
  margin-top: 10px;
}

.news-detail-page {
  margin-top: var(--header-height);
  background: url(../images/news-detail-bg.png) no-repeat right top / contain;
  background-color: #fff;
  padding-bottom: max(1.19rem, var(--space));
}

.news-detail-page .detail-content {
  padding-top: max(0.64rem, 30px);
}

.news-detail-page .detail-content .article-title {
  font-weight: 500;
  text-align: center;
  margin-bottom: max(20px, 0.26rem);
  overflow-wrap: break-word;
}

.news-detail-page .detail-content .tag-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.news-detail-page .detail-content .tag-list .tag-item {
  font-family: SourceHanSansCN-Light, sans-serif;
  font-weight: 300;
  font-size: var(--font16);
  color: #666666;
  line-height: 1;
  padding: 10px max(0.42rem, 10px);
  border: 1px solid #cccccc;
  border-radius: 19px;
  margin-right: max(0.2rem, 10px);
  margin-bottom: 10px;
}

.news-detail-page .detail-content .tag-list .tag-item:last-child {
  margin-right: 0;
}

.news-detail-page .detail-content .article-info {
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid rgba(204, 204, 204, 0.5);
  border-bottom: 1px solid rgba(204, 204, 204, 0.5);
  padding-top: max(15px, 0.26rem);
  padding-bottom: max(15px, 0.26rem);
  margin-bottom: max(0.6rem, 30px);
}

.news-detail-page .detail-content .article-info .info-item {
  font-family: SourceHanSansCN-Light, sans-serif;
  font-weight: 300;
  font-size: var(--font16);
  color: #999999;
  padding-left: max(0.3rem, 10px);
  padding-right: max(0.3rem, 10px);
  border-right: 1px solid rgba(204, 204, 204, 0.5);
}

.news-detail-page .detail-content .article-info .info-item:first-child {
  padding-left: 0;
}

.news-detail-page .detail-content .article-info .info-item:last-child {
  padding-right: 0;
  border-right: none;
}

.news-detail-page .article-content {
  padding-bottom: 20px;
}

.news-detail-page .article-content p, .news-detail-page .article-content span, .news-detail-page .article-content a, .news-detail-page .article-content div, .news-detail-page .article-content * {
  max-width: 100%;
  overflow-wrap: break-word;
}

.news-detail-page .article-content img {
  width: 800px;
  vertical-align: top;
  max-width: 100%;
  height: auto;
}

.news-detail-page .article-content video {
  vertical-align: top;
  max-width: 100%;
  height: auto;
}

.news-detail-page .article-content .table-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 1.4em 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
}

.news-detail-page .article-content .table-wrap::-webkit-scrollbar {
  height: 8px;
}

.news-detail-page .article-content .table-wrap::-webkit-scrollbar-track {
  background: #f1f5f9;
}

.news-detail-page .article-content .table-wrap::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 8px;
}

.news-detail-page .article-content table {
  width: max-content !important;
  min-width: max(100%, 640px);
  max-width: none !important;
  table-layout: auto !important;
  border-collapse: collapse;
  border-spacing: 0;
  margin: 0;
  background: #fff;
  color: #172033;
  font-size: 15px;
  line-height: 1.65;
}

.news-detail-page .article-content th,
.news-detail-page .article-content td {
  min-width: 130px;
  max-width: none !important;
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  vertical-align: middle;
  word-break: normal;
  overflow-wrap: normal;
  white-space: normal;
}

.news-detail-page .article-content th:first-child,
.news-detail-page .article-content td:first-child {
  min-width: 92px;
}

.news-detail-page .article-content th {
  background: #f8fafc;
  color: #172033;
  font-weight: 700;
  text-align: center;
}

.news-detail-page .article-content td {
  text-align: left;
}

.news-detail-page .article-content tr:nth-child(even) td {
  background: #fbfdff;
}

.news-detail-page .article-footer-panel {
  margin: 32px 0 46px;
  padding: 0 22px;
  background: var(--surface-soft, #fbfcfd);
  border: 1px solid var(--border-soft, #e2e8f0);
  border-radius: var(--radius-card, 8px);
  box-shadow: var(--shadow-card, 0 2px 12px rgba(15, 23, 42, 0.04));
}

.news-detail-page .current-article {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 16px 0;
  background: transparent;
  border-top: 1px solid #edf2f7;
}

.news-detail-page .current-article .left {
  font-family: SourceHanSansCN-Light, sans-serif;
  font-weight: 300;
  font-size: var(--font16);
  color: #666666;
}

.news-detail-page .current-article .right {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.news-detail-page .current-article .right .current-point {
  display: flex;
  align-items: center;
}

.news-detail-page .current-article .right .current-point::after {
  content: "";
  width: 1px;
  height: 14px;
  background-color: #ccc;
  margin-left: max(0.3rem, 10px);
}

.news-detail-page .current-article .right .current-point span {
  font-weight: 400;
  font-size: var(--font16);
  color: #666666;
  margin-left: 10px;
}

.news-detail-page .current-article .right .current-share {
  display: flex;
  align-items: center;
  padding-left: max(0.3rem, 10px);
}

.news-detail-page .current-article .right .current-share .share-text {
  font-weight: 400;
  font-size: var(--font16);
  color: #666666;
  margin-right: max(0.21rem, 10px);
}

.news-detail-page .fw-global-tags-area {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 16px 0;
  background: transparent;
  border-top: 0;
}

.news-detail-page .fw-global-tags-area .tags-label {
  flex: 0 0 auto;
  font-size: 13px;
  line-height: 28px;
  color: #94a3b8;
  font-weight: 700;
  white-space: nowrap;
}

.news-detail-page .fw-global-tags-area .tags-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 6px;
  margin: 0;
}

.news-detail-page .fw-global-tags-area .fw-tag-item {
  display: inline-flex;
  align-items: center;
  max-width: 18em;
  min-height: 28px;
  padding: 2px 10px;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #64748b;
  font-size: 13px;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: var(--duration);
}

.news-detail-page .fw-global-tags-area a.fw-tag-item:hover, .news-detail-page .fw-global-tags-area a.fw-tag-item:focus-visible {
  color: var(--aok-red);
  border-color: #fda4af;
  background: #fff1f2;
  outline: none;
}

@media (max-width: 576px) {
  .news-detail-page .article-footer-panel {
    margin: 24px 0 34px;
    padding: 0 14px;
  }

  .news-detail-page .fw-global-tags-area {
    flex-direction: column;
    gap: 8px;
    padding: 14px 0;
  }

  .news-detail-page .fw-global-tags-area .tags-label {
    line-height: 1.4;
  }
}

/* ======================== Lucide Icon Base ======================== */
.news-detail-page .info-icon,
.news-detail-page .tags-label-icon,
.news-detail-page .like-icon,
.news-detail-page .time-icon,
.news-detail-page .recommend-arrow,
.news-detail-page .more-lucide-arrow,
.news-detail-page .toc-header-icon {
  vertical-align: middle;
  flex-shrink: 0;
}

/* Breadcrumb - override ::after pseudo separator, use SVG instead */
.news-detail-page .common-page-breadcrumb .bread-item::after {
  display: none;
}

.news-detail-page .common-page-breadcrumb .bread-item {
  display: flex;
  align-items: center;
}

.news-detail-page .common-page-breadcrumb .icon svg {
  display: block;
  color: var(--text-body);
}

/* Breadcrumb separator icon */
.news-detail-page .bread-sep {
  display: inline-block;
  vertical-align: middle;
  margin: 0 6px;
  color: #c0c0c0;
  flex-shrink: 0;
}

/* Article info icon */
.news-detail-page .info-icon {
  margin-right: 4px;
  color: #c0c0c0;
  position: relative;
  top: -1px;
}

/* TOC header icon */
.news-detail-page .toc-header-icon {
  color: #2E3192;
  margin-right: 8px;
}

/* Tags label icon */
.news-detail-page .tags-label-icon {
  color: #94a3b8;
  margin-right: 5px;
  position: relative;
  top: -1px;
}

/* Like icon */
.news-detail-page .like-icon {
  margin-right: 4px;
  color: var(--aok-red, #e60012);
  position: relative;
  top: -2px;
}

/* Recommend arrow icons */
.news-detail-page .recommend-arrow {
  color: #c0c0c0;
  position: relative;
  top: -1px;
  transition: color var(--duration), transform var(--duration);
}

.news-detail-page .recommend-link:hover .recommend-arrow {
  color: var(--theme);
}

.news-detail-page .recommend-link .recommend-arrow:last-child {
  margin-left: 4px;
}

.news-detail-page .recommend-link .recommend-arrow:first-child {
  margin-right: 4px;
}

/* More button arrow */
.news-detail-page .more-lucide-arrow {
  color: inherit;
  transition: transform var(--duration);
}

.common-recommend-news-area .hot-list .hot-item:hover .more-lucide-arrow {
  transform: translateX(3px);
}

/* Hot flame icon */
.common-recommend-news-area .hot-flame-icon {
  color: var(--aok-red, #e60012);
  flex-shrink: 0;
}

/* Time icons in article listings */
.news-detail-page .time-icon,
.common-recommend-news-area .time-icon {
  color: #c0c0c0;
  flex-shrink: 0;
}

/* ======================== Modern Share Buttons ======================== */
.news-detail-page .current-article .right .current-share .share-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.news-detail-page .current-article .right .current-share .share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: auto;
  height: 28px;
  min-width: 36px;
  margin: 0;
  padding: 0 10px;
  border: 1px solid #e0e0e0;
  border-radius: 14px;
  background: #fff;
  color: #666;
  font-size: 12px;
  line-height: 28px;
  transition: all var(--duration);
  cursor: pointer;
  font-family: inherit;
}

.news-detail-page .current-article .right .current-share .share-btn:hover {
  color: #fff;
  border-color: var(--theme);
  background: var(--theme);
}

.news-detail-page .current-article .right .current-share .share-btn svg {
  flex-shrink: 0;
}

.news-detail-page .current-article .right .current-share .icon-list {
  display: flex;
  align-items: center;
}

.news-detail-page .current-article .right .current-share .icon-list .icon-item {
  margin-right: max(0.2rem, 10px);
}

.news-detail-page .current-article .right .current-share .icon-list .icon-item:last-child {
  margin-right: 0;
}

.news-detail-page .current-article .right .current-share .icon-list .icon-item:hover .default {
  display: none;
}

.news-detail-page .current-article .right .current-share .icon-list .icon-item:hover .hover {
  display: block;
}

.news-detail-page .current-article .right .current-share .icon-list .icon-item .default {
  display: block;
}

.news-detail-page .current-article .right .current-share .icon-list .icon-item .hover {
  display: none;
}

.news-detail-page .recommend-article {
  padding: 16px 0 18px;
  border-top: 1px solid #edf2f7;
  border-bottom: 0;
  margin-bottom: 0;
}

.news-detail-page .recommend-article .recommend-link {
  display: block;
  font-family: SourceHanSansCN-Light, sans-serif;
  font-weight: 300;
  font-size: var(--font16);
  color: #999999;
  transition: var(--duration);
  margin-bottom: max(0.16rem, 10px);
  max-width: 86%;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  overflow-wrap: break-word;
}

.news-detail-page .recommend-article .recommend-link:last-child {
  margin-bottom: 0;
}

.news-detail-page .recommend-article .recommend-link:hover {
  color: var(--theme);
}

.common-recommend-news-area .hot-news-title {
  font-weight: 700;
  margin-bottom: 24px;
}

.common-recommend-news-area .hot-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.common-recommend-news-area .hot-list .hot-item {
  display: block;
  overflow: hidden;
  padding: 12px;
  background: var(--surface-white, #fff);
  border: 1px solid var(--border-light, #edf2f7);
  border-radius: var(--radius-card, 8px);
  box-shadow: var(--shadow-card, 0 2px 12px rgba(15, 23, 42, 0.04));
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.common-recommend-news-area .hot-list .hot-item:hover {
  border-color: rgba(230, 0, 18, 0.28);
  box-shadow: var(--shadow-card-hover, 0 10px 28px rgba(15, 23, 42, 0.08));
  transform: translateY(-3px);
}

.common-recommend-news-area .hot-list .hot-item .pic {
  display: block;
  width: 100%;
  border-radius: var(--radius-md, 6px);
  overflow: hidden;
  position: relative;
  background: #f8fafc;
}

.common-recommend-news-area .hot-list .hot-item .pic::after {
  content: "";
  display: block;
  padding-bottom: 62.06896552%;
}

.common-recommend-news-area .hot-list .hot-item .pic img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--duration, 0.45s);
}

.common-recommend-news-area .hot-list .hot-item .text .title {
  display: block;
  font-size: var(--font18);
  color: var(--text-header, #0f172a);
  font-weight: 700;
  line-height: 1.5;
  width: 100%;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  overflow-wrap: break-word;
  margin-top: 14px;
  transition: color 0.25s ease;
}

.common-recommend-news-area .hot-list .hot-item .text .time-line {
  margin-top: max(0.2rem, 10px);
  display: flex;
  align-items: center;
}

.common-recommend-news-area .hot-list .hot-item .text .time-line .time-icon {
  width: 15px;
  margin-right: 6px;
}

.common-recommend-news-area .hot-list .hot-item .text .time-line .time-text {
  line-height: 1;
  font-family: SourceHanSansCN-Light, sans-serif;
  font-weight: 300;
  font-size: var(--font14);
  color: #999999;
}

.common-recommend-news-area .hot-list .hot-item .text .desc {
  font-family: SourceHanSansCN-Light, sans-serif;
  font-weight: 300;
  font-size: var(--font14);
  color: var(--text-muted, #64748b);
  line-height: 1.75;
  margin-top: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  overflow: hidden;
  overflow-wrap: break-word;
  min-height: calc((24 / 14) * var(--font14) * 2);
}

.common-recommend-news-area .hot-list .hot-item .text .more-btn {
  margin-top: max(0.23rem, 15px);
  width: auto;
  min-width: 112px;
  height: 34px;
  padding: 0 16px;
  border: 1px solid #e2e8f0;
  border-radius: 6px !important;
  background: #fff;
  color: #475569;
}

.common-recommend-news-area .hot-list .hot-item .text .more-btn .more-icon {
  height: 10px;
  margin-left: 11px;
}

.common-recommend-news-area .hot-list .hot-item:hover .pic img {
  transform: scale(1.05);
}

.common-recommend-news-area .hot-list .hot-item:hover .text .title,
.common-recommend-news-area .hot-list .hot-item:hover .text .title h3 {
  color: #e60012 !important;
}

h1.article-title {
  font-size: 28px;
  line-height: 1.4;
  color: #333;
  margin-bottom: 20px;
  font-weight: bold;
}

.article-toc {
  background-color: #F7F7F7;
  padding: 20px 25px;
  margin: 30px 0;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.toc-header {
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  align-items: baseline;
}

.toc-title {
  font-size: 18px;
  font-weight: bold;
  color: #2E3192;
  margin-right: 10px;
}

.toc-subtitle {
  font-size: 12px;
  color: #808080;
  letter-spacing: 1px;
  font-family: Arial, sans-serif;
}

#toc-list {
  padding: 0;
  margin: 0;
  list-style: none !important;
  list-style-type: none !important;
}

#toc-list li {
  list-style: none !important;
  list-style-type: none !important;
  line-height: 1.6;
}

#toc-list li::marker {
  content: "";
  font-size: 0;
}

/* ── h2 条目 ── */
.toc-h2 {
  font-weight: 600;
  margin-bottom: 4px;
}

.toc-h2 a {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 2px 0;
}

/* 有子章节时才显示箭头，无子章节不显示蓝色竖条 */
.toc-h2[data-toc-open] > a {
  padding-left: 0;
}

.toc-h2 a:hover {
  color: #2E3192;
}

/* ── 展开/收起箭头 ── */
.toc-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  font-size: 10px;
  color: #808080;
  margin-right: 2px;
  transition: color 0.2s;
}
.toc-toggle::after {
  content: "▶";
}

.toc-h2:hover .toc-toggle {
  color: #E60012;
}

.toc-h2[data-toc-open="true"] .toc-toggle {
  color: #2E3192;
}
.toc-h2[data-toc-open="true"] .toc-toggle::after {
  content: "▼";
}

/* ── 子章节容器 ── */
.toc-group {
  display: none;
  list-style: none !important;
  list-style-type: none !important;
  padding: 0;
  margin: 2px 0 6px 20px;
}

/* ── h3 子条目 ── */
.toc-h3 {
  font-weight: 400;
  font-size: 0.95em;
  margin-bottom: 2px;
  padding-left: 14px;
  position: relative;
}

.toc-h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  background-color: #b0b0b0;
  border-radius: 50%;
}

.toc-h3:hover::before {
  background-color: #E60012;
}

#toc-list a {
  text-decoration: none;
  color: #333333;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

#toc-list a:hover {
  color: #E60012;
  transform: translateX(3px);
}

/* 无子章节的 h2 悬停位移略小于有箭头的 */
.toc-h2:not([data-toc-open]) > a:hover {
  transform: translateX(5px);
}

@media (max-width: 992px) {
  .news-section {
    flex-wrap: wrap;
  }

  .news-section .section-left {
    width: 100%;
    margin-bottom: 30px;
  }

  .news-section .section-right {
    width: 100%;
  }

  .news-list-panel .common-news-list {
    flex-wrap: wrap;
  }

  .news-list-panel .common-news-list .item {
    width: 100%;
  }

  .news-panel-swiper .news-swiper .pic img {
    min-height: 300px;
    object-fit: cover;
    object-position: center;
  }
}

@media (max-width: 768px) {
  .news-section .section-left .pic::after {
    padding-bottom: 60%;
  }

  .news-detail-page .current-article {
    flex-wrap: wrap;
    margin-bottom: 0;
  }

  .news-detail-page .current-article .left {
    width: 100%;
    margin-bottom: 10px;
  }

  .news-detail-page .current-article .right {
    width: 100%;
    margin-left: 0;
  }

  .news-detail-page .recommend-article .recommend-link {
    max-width: 100%;
  }

  .news-detail-page .recommend-article {
    padding-bottom: 10px;
  }

  .article-toc {
    display: none !important;
  }
}

@media (max-width: 576px) {
  .news-panel-swiper .news-swiper .slide-text .slide-title,
  .news-section .section-left .text .text-title {
    font-size: 16px;
  }

  .news-panel-swiper .news-swiper .slide-text .tag-list,
  .news-section .section-left .text .tag-list {
    display: none;
  }

  .news-panel-swiper .news-swiper .slide-text .slide-more {
    display: none;
  }

  .common-news-list .item {
    align-items: stretch;
  }

  .common-news-list .item .pic {
    width: 110px;
  }

  .common-news-list .item .pic img {
    position: initial;
  }

  .common-news-list .item .pic::after {
    display: none;
  }

  .common-news-list .item .text .time-line {
    display: none;
  }

  .common-news-list .item .text .tag-list {
    display: none;
  }

  .common-news-list .item .text {
    margin-left: 10px;
    align-self: center;
  }

  .news-detail-page .detail-content .article-title {
    font-size: 22px;
    overflow-wrap: break-word;
  }

  .news-detail-page .detail-content .tag-list {
    display: none;
  }

  .news-detail-page .detail-content .article-info {
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .news-detail-page .detail-content .article-info .info-item {
    width: 50%;
    text-align: center;
    border-right: none;
    font-size: 12px;
    overflow-wrap: break-word;
    flex-shrink: 0;
    margin-bottom: 6px;
  }

  .news-detail-page .detail-content .article-info .info-time {
    width: 100%;
    margin-bottom: 4px;
  }

  .news-detail-page .article-content .table-wrap {
    margin-left: calc(var(--wrap-padding, 15px) * -1);
    margin-right: calc(var(--wrap-padding, 15px) * -1);
    padding: 0 var(--wrap-padding, 15px) 6px;
    width: calc(100% + var(--wrap-padding, 15px) * 2);
  }

  .news-detail-page .article-content table {
    min-width: 620px;
    font-size: 14px;
    line-height: 1.55;
  }

  .news-detail-page .article-content th,
  .news-detail-page .article-content td {
    min-width: 126px;
    padding: 10px 12px;
  }

  .news-detail-page .article-content th:first-child,
  .news-detail-page .article-content td:first-child {
    min-width: 86px;
  }

  .news-detail-page .current-article .right {
    flex-wrap: wrap;
  }

  .news-detail-page .current-article .right .current-point {
    width: 100%;
    margin-bottom: 10px;
  }

  .news-detail-page .current-article .right .current-point::after {
    display: none;
  }

  .news-detail-page .current-article .right .current-share {
    margin-left: auto;
  }

  .common-recommend-news-area .hot-news-title {
    font-size: 20px;
    line-height: 1;
  }

  .common-recommend-news-area .hot-list {
    grid-template-columns: repeat(1, 1fr);
    row-gap: 20px;
  }

  .common-recommend-news-area .hot-list .hot-item .text .time-line {
    display: none;
  }

  .common-recommend-news-area .hot-list .hot-item .text .more-btn {
    display: none;
  }

  .common-recommend-news-area .hot-list .hot-item .text .desc {
    margin-top: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.news-detail-page .detail-content .article-title {
  font-size: clamp(26px, 2.5vw, 36px);
  line-height: 1.38;
  color: #172033;
}

.common-recommend-news-area .hot-news-title {
  color: #172033;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.35;
}

.common-recommend-news-area .hot-list .hot-item .hot-title,
.news-panel-swiper .swiper-slide .text .title,
.common-news-list .item .text .title {
  color: #172033;
}

.common-recommend-news-area .hot-list .hot-item:hover .hot-title,
.news-panel-swiper .swiper-slide:hover .text .title,
.common-news-list .item:hover .text .title {
  color: #2E3192;
}

.news-detail-page .detail-content .fw-global-tags-area .fw-tag-item,
.article-footer-panel .article-tag-row .fw-tag-item {
  color: #475569;
  background: #f8fafc;
  border-color: #e2e8f0;
}

.article-footer-panel {
  border-color: #e2e8f0;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.04);
}

.news-panel-swiper .news-swiper .slide-text .slide-more .more-text,
.common-recommend-news-area .hot-list .hot-item .text .more-btn .more-text {
  letter-spacing: 0;
}

.common-recommend-news-area .hot-list .hot-item:hover .hot-title,
.common-recommend-news-area .hot-list .hot-item:hover .text .title,
.common-recommend-news-area .hot-list .hot-item:hover .text .title h3,
.news-panel-swiper .swiper-slide:hover .text .title,
.common-news-list .item:hover .text .title,
.news-detail-page .recommend-article .recommend-link:hover {
  color: #e60012 !important;
}

.news-detail-page .detail-content .fw-global-tags-area a.fw-tag-item:hover,
.article-footer-panel .article-tag-row a.fw-tag-item:hover {
  color: #e60012;
  border-color: #fda4af;
  background: #fff1f2;
}

.news-panel-swiper .news-swiper .slide-text .slide-more {
  background: #e60012;
  background-color: #e60012;
}

.common-recommend-news-area .hot-list .hot-item:hover .text .more-btn,
.common-recommend-news-area .hot-list .hot-item .text .more-btn:hover {
  background: #e60012;
  background-color: #e60012;
  border-color: #e60012;
  color: #fff;
}

.news-panel-swiper .news-swiper .slide-text .slide-more .more-text,
.common-recommend-news-area .hot-list .hot-item .text .more-btn .more-text {
  font-size: 14px !important;
  font-weight: 500 !important;
  color: inherit !important;
}

.news-panel-swiper .news-swiper .slide-text .slide-more img,
.common-recommend-news-area .hot-list .hot-item .text .more-btn .more-icon {
  display: none !important;
}

.news-panel-swiper .news-swiper .slide-text .slide-more .more-text::after,
.common-recommend-news-area .hot-list .hot-item .text .more-btn .more-text::after {
  content: " →";
  font-weight: 500;
}

.news-panel-swiper .news-swiper .slide-text .slide-more .more-text,
.news-panel-swiper .news-swiper .slide-text .slide-more .more-text::after,
.common-recommend-news-area .hot-list .hot-item .text .more-btn:hover .more-text,
.common-recommend-news-area .hot-list .hot-item .text .more-btn:hover .more-text::after {
  color: #fff !important;
}

.common-recommend-news-area .hot-list .hot-item:hover .text .more-btn .more-text,
.common-recommend-news-area .hot-list .hot-item:hover .text .more-btn .more-text::after {
  color: #fff !important;
}

.article-related-resources {
  margin: 42px auto 0;
  padding: 30px 0 8px;
  border-top: 1px solid #e2e8f0;
}

.related-resources-title {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 18px;
}

.related-resources-title h2 {
  margin: 0;
  color: #0f172a;
  font-size: 22px;
  line-height: 1.35;
}

.related-resources-title span {
  color: #94a3b8;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.related-resources-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.related-resource-card {
  display: block;
  min-height: 132px;
  padding: 18px 20px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  color: #334155;
  text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.related-resource-card:hover {
  border-color: rgba(230, 0, 18, .35);
  box-shadow: 0 8px 24px rgba(15, 23, 42, .08);
  transform: translateY(-2px);
}

.related-resource-type {
  display: inline-block;
  margin-bottom: 10px;
  color: #e60012;
  font-size: 12px;
  font-weight: 700;
}

.related-resource-card h3 {
  margin: 0;
  color: #0f172a;
  font-size: 17px;
  line-height: 1.45;
}

.related-resource-card p {
  display: -webkit-box;
  margin: 8px 0 0;
  overflow: hidden;
  color: #64748b;
  font-size: 13px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

@media (max-width: 768px) {
  .article-related-resources {
    margin-top: 30px;
    padding-top: 24px;
  }

  .related-resources-title {
    display: block;
  }

  .related-resources-title span {
    display: block;
    margin-top: 4px;
  }

  .related-resources-grid {
    grid-template-columns: 1fr;
  }
}

/* 新闻详情页移动端：避免标题、元信息和富文本内容撑破视口。 */
@media (max-width: 768px) {
  .news-detail-page {
    overflow-x: hidden;
  }

  .news-detail-page .detail-content,
  .news-detail-page .article-content,
  .news-detail-page .article-content > * {
    min-width: 0;
  }

  .news-detail-page .detail-content {
    width: 92%;
    max-width: none;
  }

  .news-detail-page .detail-content .article-title {
    width: 100%;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .news-detail-page .detail-content .article-info {
    width: 100%;
    min-width: 0;
  }

  .news-detail-page .detail-content .article-info .info-item {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .news-detail-page .article-content {
    width: 100%;
    max-width: 100%;
  }

  .news-detail-page .article-content p,
  .news-detail-page .article-content h2,
  .news-detail-page .article-content h3,
  .news-detail-page .article-content blockquote,
  .news-detail-page .article-content figure,
  .news-detail-page .article-content div,
  .news-detail-page .article-content span,
  .news-detail-page .article-content a {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .news-detail-page .article-content img,
  .news-detail-page .article-content video,
  .news-detail-page .article-content iframe {
    max-width: 100% !important;
    height: auto;
  }

  .news-detail-page .article-content .table-wrap {
    max-width: calc(100vw - 30px);
  }
}

/* 新闻详情页文末推荐：统一为一个内容区，避免多个模板区块连续堆叠。 */
.news-detail-recommendations {
  padding-bottom: 24px;
}

.news-detail-recommendations .article-related-resources,
.news-detail-recommendations .common-recommend-news-area {
  width: 100%;
}

.news-detail-recommendations .article-related-resources {
  margin: 0;
  padding: 36px 0 30px;
  border-top: 1px solid #e2e8f0;
}

.news-detail-recommendations .related-resources-title,
.news-detail-recommendations .hot-news-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
}

.news-detail-recommendations .related-resources-title h2,
.news-detail-recommendations .hot-news-title h2 {
  margin: 0 !important;
  color: #0f172a !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
}

.news-detail-recommendations .related-resources-title span {
  display: none;
}

.news-detail-recommendations .related-resources-grid,
.news-detail-recommendations .hot-list {
  gap: 16px;
}

.news-detail-recommendations .related-resources-grid:has(> .related-resource-card:only-child) {
  grid-template-columns: minmax(0, 1fr);
}

.news-detail-recommendations .related-resource-card {
  min-height: 112px;
  padding: 16px 18px;
}

.news-detail-recommendations .common-recommend-news-area {
  margin: 0;
  padding: 30px 0 0;
  border-top: 1px solid #e2e8f0;
}

.news-detail-recommendations .hot-news-title {
  margin-bottom: 18px;
}

.news-detail-recommendations .hot-flame-icon {
  width: 22px;
  height: 22px;
}

@media (max-width: 768px) {
  .news-detail-recommendations {
    padding-bottom: 16px;
  }

  .news-detail-recommendations .article-related-resources {
    padding: 28px 0 24px;
  }

  .news-detail-recommendations .common-recommend-news-area {
    padding-top: 24px;
  }

  .news-detail-recommendations .related-resources-title h2,
  .news-detail-recommendations .hot-news-title h2 {
    font-size: 22px !important;
  }
}

/* 文末导航与标签是明确的点击入口：保持两列对齐，增加卡片间距与悬停反馈。 */
.news-detail-page .recommend-article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px 24px;
  padding: 18px 0 22px;
}

.news-detail-page .recommend-article .recommend-link {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  min-height: 52px;
  margin: 0;
  padding: 11px 15px;
  box-sizing: border-box;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
  color: #64748b;
  font-size: var(--font16);
  line-height: 1.55;
  white-space: normal;
  overflow: hidden;
  overflow-wrap: anywhere;
  transition: color var(--duration), background-color var(--duration), border-color var(--duration), box-shadow var(--duration), transform var(--duration);
}

.news-detail-page .recommend-article .recommend-link:first-child {
  justify-content: flex-start;
  text-align: left;
}

.news-detail-page .recommend-article .recommend-link:last-child {
  justify-content: flex-end;
  text-align: right;
}

.news-detail-page .recommend-article a.recommend-link:hover,
.news-detail-page .recommend-article a.recommend-link:focus-visible {
  color: var(--aok-red, #e60012);
  border-color: #fda4af;
  background: #fff7f7;
  box-shadow: 0 6px 16px rgba(230, 0, 18, 0.08);
  transform: translateY(-1px);
  outline: none;
}

.news-detail-page .recommend-article .recommend-link.no-more {
  color: #a8b1bf;
  background: #fbfcfd;
  cursor: default;
}

.news-detail-page .recommend-article .recommend-link .recommend-arrow {
  flex: 0 0 auto;
}

.news-detail-page .fw-global-tags-area .tags-list {
  gap: 10px;
}

.news-detail-page .fw-global-tags-area a.fw-tag-item {
  position: relative;
  min-height: 34px;
  padding: 5px 12px;
  border-radius: 999px;
  border-color: #dbe4ef;
  background: #fff;
  color: #475569;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: color var(--duration), background-color var(--duration), border-color var(--duration), box-shadow var(--duration), transform var(--duration);
}

.news-detail-page .fw-global-tags-area a.fw-tag-item::after {
  content: "↗";
  flex: 0 0 auto;
  margin-left: 6px;
  color: #94a3b8;
  font-size: 12px;
  line-height: 1;
  transition: color var(--duration), transform var(--duration);
}

.news-detail-page .fw-global-tags-area a.fw-tag-item:hover::after,
.news-detail-page .fw-global-tags-area a.fw-tag-item:focus-visible::after {
  color: var(--aok-red, #e60012);
  transform: translate(1px, -1px);
}

.news-detail-page .fw-global-tags-area a.fw-tag-item:hover,
.news-detail-page .fw-global-tags-area a.fw-tag-item:focus-visible {
  color: var(--aok-red, #e60012);
  border-color: #fda4af;
  background: #fff7f7;
  box-shadow: 0 6px 16px rgba(230, 0, 18, 0.08);
  transform: translateY(-1px);
  outline: none;
}

.news-detail-recommendations .hot-news-title {
  margin-bottom: 32px;
}

@media (max-width: 768px) {
  .news-detail-page .recommend-article {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .news-detail-page .recommend-article .recommend-link:last-child {
    justify-content: flex-start;
    text-align: left;
  }

  .news-detail-recommendations .hot-news-title {
    margin-bottom: 28px;
  }
}

.news-detail-page .current-article .right .like-trigger {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
  color: #666666;
  transition: color var(--duration), transform var(--duration);
}

.news-detail-page .current-article .right .like-trigger:hover,
.news-detail-page .current-article .right .like-trigger:focus-visible,
.news-detail-page .current-article .right .like-trigger.is-liked {
  color: var(--aok-red, #e60012);
  outline: none;
}

.news-detail-page .current-article .right .like-trigger:hover .like-icon,
.news-detail-page .current-article .right .like-trigger:focus-visible .like-icon,
.news-detail-page .current-article .right .like-trigger.is-liked .like-icon {
  fill: currentColor;
  transform: translateY(-1px) scale(1.06);
}

.news-detail-page .current-article .right .like-trigger:disabled {
  cursor: wait;
  opacity: 0.7;
}
