/* 行业资讯 — 新闻频道样式（对齐 nav01 深色 Bootstrap 主题） */
:root {
  --news-accent: var(--color-primary, #2f66ff);
  --news-accent-soft: #58a6ff;
  --news-hot: #f85149;
  --news-surface: var(--bg-base, #1c2128);
  --news-surface-2: #21262d;
  --news-border: var(--border-color, #30363d);
  --news-muted: var(--bs-secondary-color, #8b949e);
  --news-text: var(--bs-body-color, #e6edf3);
}

/* ========== 首页资讯区块 ========== */
.news-home,
.news-portal {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}
.news-home i.fas,
.news-home i.far,
.news-home i.fab,
.news-portal i.fas,
.news-portal i.far,
.news-portal i.fab {
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", var(--fa-style-family, "Font Awesome 6 Free");
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}
.news-home { margin-bottom: 4px; }
.news-home__masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--news-border);
}
.news-home__title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--news-text);
  letter-spacing: .02em;
}
.news-home__actions { flex-shrink: 0; }
.news-home__more {
  font-size: 13px;
  font-weight: 500;
  color: var(--news-muted);
  text-decoration: none;
  transition: color .2s;
}
.news-home__more:hover { color: var(--news-accent-soft); text-decoration: none; }

.news-home__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}
.news-home__tabs a {
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  border: none;
  background: transparent;
  color: var(--news-muted);
  text-decoration: none;
  transition: color .2s, background .2s;
}
.news-home__tabs a:hover {
  color: var(--news-text);
  background: rgba(255, 255, 255, .04);
}
.news-home__tabs a.is-active {
  color: var(--news-accent-soft);
  background: rgba(47, 102, 255, .1);
  font-weight: 600;
}

/* 区块标题 */
.news-home__hd {
  margin: 0 0 10px;
  padding-left: 10px;
  border-left: 3px solid var(--news-accent-soft);
  font-size: 14px;
  font-weight: 700;
  color: var(--news-text);
  line-height: 1.3;
}

/* 主栏：焦点图 + 热门（12 条与左侧等高） */
.news-home__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 20px;
  margin-bottom: 20px;
  align-items: stretch;
}
.news-home__hero--slider,
.news-home__hero--lead {
  align-items: stretch;
}
.news-home__hero--headlines-only {
  grid-template-columns: 1fr;
  max-width: 640px;
}
@media (max-width: 991px) {
  .news-home__hero { grid-template-columns: 1fr; gap: 16px; align-items: start; }
  .news-home__hero--headlines-only { max-width: none; }
}

/* 焦点轮播 — 商业资讯：图在上、文在下 */
.news-home__focus-col,
.news-home__rank-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.news-home__focus-col .news-home__hd,
.news-home__rank-col .news-home__hd {
  flex-shrink: 0;
}
.news-home__focus-carousel {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--news-border);
  background: var(--news-surface);
}
.news-home__focus-carousel .carousel-inner,
.news-home__focus-carousel .carousel-item,
.news-home__focus-card {
  height: 100%;
}
.news-home__focus-card--solo {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--news-border);
  background: var(--news-surface);
}
.news-home__focus-card--solo .news-home__focus-visual {
  flex: 1 1 auto;
  aspect-ratio: auto;
  min-height: 180px;
}
.news-home__focus-card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: opacity .2s;
}
.news-home__focus-card:hover {
  text-decoration: none;
  color: inherit;
  opacity: .96;
}
.news-home__focus-visual {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--news-surface-2);
}
.news-home__focus-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.news-home__focus-card:hover .news-home__focus-visual img {
  transform: scale(1.03);
}
.news-home__focus-body {
  padding: 12px 14px 14px;
  border-top: 1px solid var(--news-border);
  background: var(--news-surface);
}
.news-home__focus-cat {
  display: none;
}
.news-home__focus-title {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--news-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .2s;
}
.news-home__focus-card:hover .news-home__focus-title {
  color: var(--news-accent-soft);
}
.news-home__focus-desc {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--news-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-home__focus-dots {
  position: absolute;
  right: 12px;
  bottom: auto;
  top: calc(100% * 9 / 16 - 28px);
  left: auto;
  z-index: 2;
  margin: 0;
  gap: 5px;
  display: flex;
}
.news-home__focus-dots [data-bs-target] {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, .45);
  opacity: 1;
  transition: background .2s, transform .2s;
}
.news-home__focus-dots .active {
  background: #fff;
  transform: scale(1.15);
}
.news-home__focus-nav {
  width: 32px;
  height: 32px;
  top: calc(50% - 28px);
  opacity: 0;
  transition: opacity .25s;
  border-radius: 50%;
  background: rgba(0, 0, 0, .35);
  border: none;
}
.news-home__focus-carousel:hover .news-home__focus-nav {
  opacity: 1;
}
.news-home__focus-nav-icon {
  display: block;
  width: 8px;
  height: 8px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  margin: 0 auto;
}
.news-home__focus-nav-icon--next {
  transform: rotate(-135deg);
}
.carousel-control-prev.news-home__focus-nav { left: 10px; }
.carousel-control-next.news-home__focus-nav { right: 10px; }

/* 热门推荐 — 12 条单行，与左侧焦点区等高均分 */
.news-home__rank {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  border: 1px solid var(--news-border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--news-surface);
}
.news-home__rank li {
  flex: 1 1 0;
  display: flex;
  min-height: 32px;
  border-bottom: 1px solid var(--news-border);
}
.news-home__rank li:last-child { border-bottom: none; }
.news-home__rank a {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 6px 14px;
  text-decoration: none;
  color: var(--news-text);
  transition: background .15s, color .15s;
}
@media (min-width: 992px) {
  .news-home__hero--slider .news-home__rank a,
  .news-home__hero--lead .news-home__rank a {
    padding-top: 0;
    padding-bottom: 0;
  }
}
.news-home__rank a:hover {
  background: rgba(47, 102, 255, .05);
  color: var(--news-accent-soft);
  text-decoration: none;
}
.news-home__rank-no {
  flex-shrink: 0;
  width: 20px;
  font-size: 15px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--news-muted);
  text-align: center;
  line-height: 1;
}
.news-home__rank li:nth-child(-n+3) .news-home__rank-no {
  color: var(--news-hot);
}
.news-home__rank-txt {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (min-width: 1200px) {
  .news-home__rank-txt { font-size: 13px; }
}

/* 图文推荐 — 6 格 3×2，等高自适应 */
.news-home__tiles-wrap {
  margin-top: 4px;
}
.news-home__tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 14px;
  align-items: stretch;
}
@media (max-width: 991px) {
  .news-home__tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
  }
}
@media (max-width: 575px) {
  .news-home__tiles { grid-template-columns: 1fr; }
}
.news-home__tile {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--news-border);
  background: var(--news-surface);
  text-decoration: none;
  color: inherit;
  transition: border-color .2s, box-shadow .2s;
}
.news-home__tile:hover {
  border-color: rgba(88, 166, 255, .45);
  box-shadow: 0 6px 20px -10px rgba(47, 102, 255, .35);
  text-decoration: none;
  color: inherit;
}
.news-home__tile-visual {
  flex-shrink: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--news-surface-2);
}
@media (min-width: 992px) {
  .news-home__tiles:not(.news-home__tiles--sparse) .news-home__tile-visual {
    aspect-ratio: 16 / 9;
  }
}
.news-home__tile-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.news-home__tile:hover .news-home__tile-visual img {
  transform: scale(1.04);
}
.news-home__tile-body {
  padding: 10px 12px 12px;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
  min-height: 0;
}
.news-home__tile-title {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--news-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1 1 auto;
  transition: color .2s;
}
.news-home__tile:hover .news-home__tile-title {
  color: var(--news-accent-soft);
}
.news-home__tile-date {
  margin-top: auto;
  font-size: 11px;
  color: var(--news-muted);
}

/* 旧类名保留（列表页兼容） */
.news-home__kicker { display: none; }
.news-home__desc { display: none; }
.news-home__count { display: none; }
.news-home__section-tip { display: none; }

.news-home__meta,
.news-portal__meta,
.news-feed__meta,
.news-article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--news-muted);
}
.news-home__meta time,
.news-portal__meta time,
.news-feed__meta time { color: var(--news-muted); }

.news-home__stream {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
@media (min-width: 1200px) {
  .news-home__stream { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991px) {
  .news-home__stream { grid-template-columns: 1fr; }
}
.news-home__card {
  display: flex;
  gap: 10px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--news-border);
  background: var(--news-surface);
  text-decoration: none;
  color: inherit;
  transition: border-color .2s;
}
.news-home__card:hover {
  border-color: var(--news-accent-soft);
  text-decoration: none;
  color: inherit;
}
.news-home__card-thumb {
  flex-shrink: 0;
  width: 88px;
  height: 66px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--news-surface-2);
}
.news-home__card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-home__card-body { min-width: 0; flex: 1; }
.news-home__card-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: var(--news-accent-soft);
  margin-bottom: 4px;
}
.news-home__card-body h4 {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.38;
  color: var(--news-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========== 列表 / 详情页公共 ========== */
.news-portal__masthead { margin-bottom: 16px; }
.news-portal__crumb {
  font-size: 12px;
  color: var(--news-muted);
  margin-bottom: 8px;
}
.news-portal__crumb a {
  color: var(--news-muted);
  text-decoration: none;
}
.news-portal__crumb a:hover { color: var(--news-accent-soft); }
.news-portal__crumb-current {
  color: var(--news-text);
  opacity: .88;
}
.news-portal__title {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  font-weight: 800;
  color: var(--news-text);
}
.news-portal__layout {
  align-items: flex-start;
}
.news-portal__main {
  min-width: 0;
}
.news-portal__hotstrip {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--news-border);
  background: var(--news-surface);
}
.news-portal__hotstrip--channel {
  margin-bottom: 16px;
}
.news-portal__hotstrip-hd {
  font-size: 14px;
  font-weight: 800;
  color: var(--news-text);
  margin-bottom: 10px;
}
.news-portal__hotstrip-hd i {
  color: var(--news-hot);
  margin-right: 6px;
}
.news-portal__hotstrip-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 20px;
}
@media (max-width: 767px) {
  .news-portal__hotstrip-list { grid-template-columns: 1fr; }
}
.news-portal__hotstrip-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}
.news-portal__hotstrip-list a {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex: 1;
  min-width: 0;
  text-decoration: none;
  color: var(--news-text);
}
.news-portal__hotstrip-list a:hover { color: var(--news-accent-soft); }
.news-portal__hotstrip-no {
  flex-shrink: 0;
  width: 22px;
  font-size: 16px;
  font-weight: 800;
  color: var(--news-muted);
}
.news-portal__hotstrip-list li:nth-child(-n+3) .news-portal__hotstrip-no {
  color: var(--news-hot);
}
.news-portal__hotstrip-txt {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-portal__hotstrip-meta {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--news-muted);
}
.news-portal__title i { color: var(--news-accent-soft); margin-right: 6px; }
.news-portal__sub { margin: 6px 0 0; font-size: 13px; color: var(--news-muted); }

.news-portal__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--news-border);
}
.news-portal__tab {
  display: inline-block;
  padding: 7px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid var(--news-border);
  background: transparent;
  color: var(--news-muted);
  cursor: pointer;
  text-decoration: none;
  transition: all .2s;
}
.news-portal__tab:hover,
.news-portal__tab.is-active {
  border-color: var(--news-accent-soft);
  color: var(--news-accent-soft);
  background: rgba(47, 102, 255, .08);
}

.news-portal__featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--news-border);
  background: var(--news-surface);
  text-decoration: none;
  color: inherit;
  transition: border-color .2s;
}
.news-portal__featured:hover {
  border-color: var(--news-accent-soft);
  text-decoration: none;
  color: inherit;
}
@media (max-width: 767px) {
  .news-portal__featured { grid-template-columns: 1fr; }
}
.news-portal__featured-media {
  position: relative;
  min-height: 200px;
  background: var(--news-surface-2);
}
.news-portal__featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 200px;
}
.news-portal__featured-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  background: var(--news-hot);
  color: #fff;
}
.news-portal__featured-body { padding: 20px 22px; display: flex; flex-direction: column; justify-content: center; }
.news-portal__featured-body h2 {
  margin: 0 0 10px;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 800;
  line-height: 1.38;
  color: var(--news-text);
}
.news-portal__featured-body p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--news-muted);
}

/* 资讯列表 feed */
.news-feed { display: flex; flex-direction: column; gap: 0; }
.news-feed__item {
  border-bottom: 1px solid var(--news-border);
}
.news-feed__item:first-child { border-top: 1px solid var(--news-border); }
.news-feed__link {
  display: flex;
  gap: 16px;
  padding: 18px 4px;
  text-decoration: none;
  color: inherit;
  transition: background .15s;
}
.news-feed__link:hover {
  background: rgba(47, 102, 255, .04);
  text-decoration: none;
  color: inherit;
}
.news-feed__thumb {
  flex-shrink: 0;
  width: 180px;
  height: 120px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--news-surface-2);
}
@media (max-width: 575px) {
  .news-feed__thumb { width: 100px; height: 72px; }
}
.news-feed__thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-feed__body { flex: 1; min-width: 0; }
.news-feed__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--news-accent-soft);
  margin-bottom: 6px;
}
.news-feed__title {
  margin: 0 0 8px;
  font-size: clamp(1.05rem, 1.5vw, 1.15rem);
  font-weight: 800;
  line-height: 1.42;
  color: var(--news-text);
  transition: color .15s;
}
.news-feed__link:hover .news-feed__title { color: var(--news-accent-soft); }
.news-feed__desc {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--news-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 侧栏 */
.news-side__box {
  margin-bottom: 16px;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--news-border);
  background: var(--news-surface);
}
.news-side__title {
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--news-border);
  font-size: 15px;
  font-weight: 800;
  color: var(--news-text);
}
.news-side__title i { color: var(--news-hot); margin-right: 6px; }
.news-side__rank {
  list-style: none;
  margin: 0;
  padding: 0;
}
.news-side__rank li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--news-border);
}
.news-side__rank li:last-child { border-bottom: none; }
.news-side__rank a {
  display: flex;
  gap: 8px;
  flex: 1;
  min-width: 0;
  text-decoration: none;
  color: var(--news-text);
}
.news-side__rank a:hover { color: var(--news-accent-soft); }
.news-side__rank-no {
  flex-shrink: 0;
  width: 22px;
  font-weight: 800;
  font-size: 16px;
  color: var(--news-muted);
}
.news-side__rank li:nth-child(-n+3) .news-side__rank-no { color: var(--news-hot); }
.news-side__rank-txt {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-side__rank-meta {
  flex-shrink: 0;
  font-size: 11px;
  color: var(--news-muted);
  white-space: nowrap;
}
.news-side__latest {
  list-style: none;
  margin: 0;
  padding: 0;
}
.news-side__latest li {
  padding: 8px 0;
  border-bottom: 1px dashed var(--news-border);
}
.news-side__latest li:last-child { border-bottom: none; }
.news-side__latest a {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--news-text);
  text-decoration: none;
  margin-bottom: 4px;
}
.news-side__latest a:hover { color: var(--news-accent-soft); }
.news-side__latest time { font-size: 11px; color: var(--news-muted); }
.news-side__cta .btn { font-size: 13px; }

/* ========== 详情页 ========== */
.news-article__channel {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(47, 102, 255, .12);
  color: var(--news-accent-soft);
  text-decoration: none;
}
.news-article__channel:hover {
  background: rgba(47, 102, 255, .2);
  color: var(--news-accent-soft);
}
.news-article__title {
  margin: 0 0 14px;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  line-height: 1.35;
  color: var(--news-text);
}
.news-article__meta {
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--news-border);
}
.news-article__author i,
.news-article__hits i { margin-right: 4px; }
.news-article__copy {
  margin-left: auto;
  padding: 4px 10px;
  border: 1px solid var(--news-border);
  border-radius: 6px;
  background: transparent;
  color: var(--news-muted);
  cursor: pointer;
  font-size: 12px;
  transition: all .2s;
}
.news-article__copy:hover,
.news-article__copy.is-copied {
  border-color: var(--news-accent-soft);
  color: var(--news-accent-soft);
}
.news-article__cover {
  margin: 0 0 20px;
  border-radius: 10px;
  overflow: hidden;
}
.news-article__cover img {
  width: 100%;
  height: auto;
  display: block;
}
.news-article__lead {
  padding: 14px 18px;
  margin-bottom: 22px;
  border-left: 4px solid var(--news-accent);
  background: rgba(47, 102, 255, .06);
  font-size: 15px;
  line-height: 1.7;
  color: var(--news-muted);
  border-radius: 0 8px 8px 0;
}
.news-article__bd {
  font-size: 16px;
  line-height: 1.85;
  color: var(--news-text);
  word-break: break-word;
}
.news-article__bd p { margin: 0 0 1.1em; }
.news-article__bd h2, .news-article__bd h3, .news-article__bd h4 {
  margin: 1.6em 0 .8em;
  font-weight: 700;
  line-height: 1.35;
  color: var(--news-text);
}
.news-article__bd h4 { font-size: 1.05rem; }
.news-article__bd img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 16px 0;
}
.news-article__bd a { color: var(--news-accent-soft); }
.news-article__attach {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--news-border);
  font-size: 14px;
}
.news-article__attach ul { margin: 8px 0 0; padding-left: 18px; }
.news-article__tags {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--news-border);
  font-size: 13px;
  color: var(--news-muted);
}
.news-article__tags a {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 10px;
  border-radius: 999px;
  border: 1px solid var(--news-border);
  color: var(--news-accent-soft);
  text-decoration: none;
}
.news-article__nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--news-border);
}
@media (max-width: 575px) {
  .news-article__nav { grid-template-columns: 1fr; }
}
.news-article__nav-item {
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--news-border);
  background: var(--news-surface-2);
  font-size: 13px;
}
.news-article__nav-item span {
  display: block;
  font-size: 11px;
  color: var(--news-muted);
  margin-bottom: 4px;
}
.news-article__nav-item p { margin: 0; line-height: 1.45; }
.news-article__nav-item a { color: var(--news-accent-soft); text-decoration: none; }
.news-article__nav-item a:hover { text-decoration: underline; }
.news-article__nav-next { text-align: right; }

.news-related { margin-top: 20px; }
.news-related__title {
  margin: 0 0 14px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--news-text);
}
.news-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 767px) {
  .news-related__grid { grid-template-columns: 1fr 1fr; }
}
.news-related__item {
  display: block;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--news-border);
  background: var(--news-surface);
  text-decoration: none;
  color: inherit;
  transition: border-color .2s;
}
.news-related__item:hover {
  border-color: var(--news-accent-soft);
  text-decoration: none;
  color: inherit;
}
.news-related__item img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 8px;
}
.news-related__item h4 {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--news-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-related__item span { font-size: 11px; color: var(--news-muted); }

/* 分页 */
.nav01-pager, .gm06-pager {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 8px 0;
}
.nav01-pager a, .gm06-pager a {
  padding: 4px 10px;
  border: 1px solid var(--news-border);
  border-radius: 6px;
  color: var(--news-muted);
  text-decoration: none;
  font-size: 13px;
}
.nav01-pager a:hover, .gm06-pager a:hover {
  border-color: var(--news-accent);
  color: var(--news-accent);
}
.nav01-pager .current, .gm06-pager .current {
  padding: 4px 10px;
  background: var(--news-accent);
  color: #fff;
  border-radius: 6px;
  font-size: 13px;
}
.nav01-pager-info, .gm06-pager-info {
  font-size: 12px;
  color: var(--news-muted);
  margin-left: 4px;
}

/* 旧 nav-article 兼容（非资讯栏目 view.ftl） */
.nav-article__title {
  margin: 0 0 12px;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--news-text);
}
.nav-article__summary {
  padding: 12px 16px;
  margin-bottom: 20px;
  border-left: 3px solid var(--news-accent);
  background: rgba(47, 102, 255, .06);
  color: var(--news-muted);
  font-size: 14px;
  line-height: 1.6;
  border-radius: 0 8px 8px 0;
}
.nav-article__bd {
  font-size: 15px;
  line-height: 1.75;
  color: var(--news-text);
  word-break: break-word;
}
.nav-article__bd p { margin: 0 0 1em; }
.nav-article__bd img { max-width: 100%; height: auto; border-radius: 8px; margin: 12px 0; }
.nav-article__crumb a { color: var(--news-muted); text-decoration: none; }
.nav-article__pager a { color: var(--news-accent); text-decoration: none; }

/* ========== 网站地图 ========== */
.sitemap-portal__head { margin-bottom: 16px; }
.sitemap-portal__crumb { font-size: 12px; color: var(--news-muted); margin-bottom: 8px; }
.sitemap-portal__crumb a { color: var(--news-muted); text-decoration: none; }
.sitemap-portal__crumb a:hover { color: var(--news-accent-soft); }
.sitemap-portal__title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--news-text);
}
.sitemap-portal__title i { color: var(--news-accent-soft); margin-right: 8px; }
.sitemap-portal__sub { margin: 6px 0 0; font-size: 13px; color: var(--news-muted); }
.sitemap-portal__search { margin-bottom: 16px; }
.sitemap-portal__form .input-group-text { background: var(--news-surface-2); border-color: var(--news-border); }
.sitemap-portal__form .form-control {
  background: var(--news-surface);
  border-color: var(--news-border);
  color: var(--news-text);
}
.sitemap-portal__tip { margin: 10px 0 0; font-size: 13px; color: var(--news-muted); min-height: 20px; }
.sitemap-portal__sections { display: flex; flex-direction: column; gap: 16px; }
.sitemap-portal__empty { text-align: center; padding: 24px; color: var(--news-muted); }

.sitemap-section__hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.sitemap-section__hd h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--news-text);
}
.sitemap-section__hd h2 i { color: var(--news-accent-soft); margin-right: 6px; }
.sitemap-section__more {
  font-size: 12px;
  color: var(--news-accent-soft);
  text-decoration: none;
}
.sitemap-section__more:hover { text-decoration: underline; }

.sitemap-sub {
  padding: 14px 0;
  border-bottom: 1px dashed var(--news-border);
}
.sitemap-sub:last-child { border-bottom: none; padding-bottom: 0; }
.sitemap-sub__hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}
.sitemap-sub__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--news-text);
  text-decoration: none;
}
.sitemap-sub__title:hover { color: var(--news-accent-soft); }
.sitemap-sub__count { font-size: 11px; color: var(--news-muted); white-space: nowrap; }
.sitemap-sub__desc { margin: 0 0 10px; font-size: 12px; color: var(--news-muted); }

.sitemap-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 16px;
}
@media (max-width: 767px) {
  .sitemap-links { grid-template-columns: 1fr; }
}
.sitemap-links__item {
  position: relative;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: background .15s, border-color .15s;
}
.sitemap-links__item:hover {
  background: rgba(47, 102, 255, .05);
  border-color: var(--news-border);
}
.sitemap-links__item a {
  display: block;
  text-decoration: none;
  color: inherit;
  padding-right: 36px;
}
.sitemap-links__title {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--news-text);
  line-height: 1.35;
}
.sitemap-links__item a:hover .sitemap-links__title { color: var(--news-accent-soft); }
.sitemap-links__desc {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  color: var(--news-muted);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sitemap-links__ext {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(248, 81, 73, .12);
  color: var(--news-hot);
  font-weight: 600;
}

/* ========== 站内搜索页 ========== */
.search-portal__head { margin-bottom: 16px; }
.search-portal__crumb { font-size: 12px; color: var(--news-muted); margin-bottom: 8px; }
.search-portal__crumb a { color: var(--news-muted); text-decoration: none; }
.search-portal__crumb a:hover { color: var(--news-accent-soft); }
.search-portal__title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--news-text);
}
.search-portal__title i { color: var(--news-accent-soft); margin-right: 8px; }
.search-portal__sub { margin: 6px 0 0; font-size: 13px; color: var(--news-muted); }
.search-portal__box { margin-bottom: 16px; }
.search-portal__form .input-group-text {
  background: var(--news-surface-2);
  border-color: var(--news-border);
  color: var(--news-muted);
}
.search-portal__form .form-control {
  background: var(--news-surface);
  border-color: var(--news-border);
  color: var(--news-text);
}
.search-portal__scope {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.search-portal__scope-btn {
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid var(--news-border);
  background: transparent;
  color: var(--news-muted);
  cursor: pointer;
  transition: all .15s;
}
.search-portal__scope-btn:hover,
.search-portal__scope-btn.is-active {
  border-color: var(--news-accent-soft);
  color: var(--news-accent-soft);
  background: rgba(47, 102, 255, .08);
}
.search-portal__tip { margin: 10px 0 0; font-size: 13px; color: var(--news-muted); min-height: 20px; }
.search-portal__results { display: flex; flex-direction: column; gap: 16px; }
.search-portal__empty { text-align: center; padding: 24px; color: var(--news-muted); }
.search-section__hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.search-section__hd h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}
.search-section__more {
  font-size: 12px;
  color: var(--news-accent-soft);
  text-decoration: none;
  white-space: nowrap;
}
.search-sub { margin-bottom: 16px; }
.search-sub:last-child { margin-bottom: 0; }
.search-sub__hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.search-sub__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--news-text);
  text-decoration: none;
}
.search-sub__title:hover { color: var(--news-accent-soft); }
.search-sub__count { font-size: 11px; color: var(--news-muted); }
.search-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px;
}
.search-links__item {
  position: relative;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: background .15s, border-color .15s;
}
.search-links__item:hover {
  background: rgba(47, 102, 255, .05);
  border-color: var(--news-border);
}
.search-links__item a {
  display: block;
  text-decoration: none;
  color: inherit;
  padding-right: 36px;
}
.search-links__title {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--news-text);
  line-height: 1.35;
}
.search-links__item a:hover .search-links__title { color: var(--news-accent-soft); }
.search-links__desc {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  color: var(--news-muted);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.search-links__ext {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(248, 81, 73, .12);
  color: var(--news-hot);
  font-weight: 600;
}

/* ========== 首页布局（原 index.ftl 内联样式） ========== */
@media (min-width: 992px) {
  .site-index .content.lao1-home-content {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    float: left;
    width: 100%;
    box-sizing: border-box;
  }
  .site-index .content.lao1-home-content > .row {
    flex: 1 1 auto;
    min-width: 0;
    margin-right: 0 !important;
  }
  .site-index .content.lao1-home-content > .widget {
    flex: 0 0 225px;
    width: 225px;
    max-width: 225px;
    float: none !important;
    margin-left: 0 !important;
    position: sticky;
    top: 0.75rem;
    z-index: 6;
    align-self: flex-start;
  }
}
.site-page-h1 {
  margin: 0 0 0.75rem;
  padding: 0 0.25rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  color: var(--bs-secondary-color, #6c757d);
}

