/* 首页第五轮测试页（?new=1，两站）的新闻板块：复用正式首页（V2）新闻板块的版式和样式（2026-10-15 宋方宇定）。
   规则从 home-cn-v2-preview.css 原样复制（2026-10-15）；正式首页仍用 home-cn-v2-preview.css，新闻板块样式要改就两边一起改。
   基础类（容器、眉题、标题分段）和变量都加了 .vhd-news 作用域，不影响测试页其他板块。 */

/* 正式首页 .vhd-home 上的变量和基础样式，收在新闻板块里 */
.vhd-news {
  --vhd-red: #c30d23;
  --vhd-red-light: #e0213a;
  --vhd-wine: #8a0a18;
  --vhd-ink: #1a1a1a;
  --vhd-gray: #6b6b6b;
  --vhd-line: #e4e4e4;
  --vhd-bg: #f4f4f4;
  --vhd-gold: #fff6ea;
  --vhd-white: #ffffff;
  color: var(--vhd-ink);
  font-family: var(--voohu-cn-text-font, "Poppins", "Noto Sans SC", sans-serif);
  -webkit-font-smoothing: antialiased;
}

.vhd-news,
.vhd-news *,
.vhd-news *::before,
.vhd-news *::after {
  box-sizing: border-box;
  box-shadow: none !important;
}

.vhd-news h2,
.vhd-news h3,
.vhd-news p {
  margin: 0;
}

.vhd-news a {
  color: var(--vhd-red);
  text-decoration: none;
}

.vhd-news img {
  display: block;
  max-width: 100%;
}

.vhd-news .vhd-container {
  width: min(calc(100% - 112px), 1240px);
  margin-inline: auto;
}

.vhd-news .vhd-center {
  text-align: center;
}

.vhd-news .vhd-eyebrow {
  color: var(--vhd-red);
  font: 600 12px/1 "Poppins", "Noto Sans SC", sans-serif;
  letter-spacing: 3px;
}

.vhd-news .vhd-cms-headline {
  white-space: pre-line;
}

.vhd-news .vhd-title-segment {
  font-size: 1em;
  font-style: normal;
}

.vhd-news .vhd-title-weight-normal {
  font-weight: 400;
}

.vhd-news .vhd-title-weight-semibold {
  font-weight: 600;
}

.vhd-news .vhd-title-weight-bold {
  font-weight: 800;
}

.vhd-news .vhd-title-size-small {
  font-size: 0.85em;
}

.vhd-news .vhd-title-size-default {
  font-size: 1em;
}

.vhd-news .vhd-title-size-large {
  font-size: 1.15em;
}

.vhd-news .vhd-title-italic {
  font-style: italic;
}

.vhd-news-heading h2 {
  margin-top: 16px;
  font: 800 42px/1.3 "Poppins", "Noto Sans SC", sans-serif;
}

.vhd-news {
  padding: 96px 0 100px;
}

.vhd-news-heading {
  margin-bottom: 52px;
}

.vhd-news-grid {
  display: grid;
  grid-template-columns: 6fr 5fr;
  gap: 36px;
}

.vhd-news-feature,
.vhd-news-row {
  overflow: hidden;
  border: 1px solid var(--vhd-line);
  border-radius: 10px;
  transition: border-color 0.25s ease;
}

.vhd-news-feature:hover,
.vhd-news-row:hover {
  border-color: var(--vhd-red);
}

.vhd-news-feature-video-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  background: var(--vhd-white);
}

.vhd-news-feature-video-media {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f4f4f4;
}

.vhd-news-feature-video {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  background: transparent;
}

.vhd-news-feature-video-copy {
  flex: 1 1 auto;
}

.vhd-news-feature-video-copy h3 {
  display: grid;
  gap: 4px;
}

.vhd-news-feature-video-copy h3 span {
  display: block;
}

.vhd-news-feature-image {
  display: block;
  height: 300px;
  overflow: hidden;
  background: #edf2fb;
}

.vhd-news-feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.vhd-news-feature-copy {
  padding: 26px 28px 30px;
}

.vhd-news-feature-copy > p {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vhd-news-feature-copy > p span {
  padding: 0 10px;
  border-radius: 10px;
  background: var(--vhd-red);
  color: var(--vhd-white);
  font: 600 11px/24px "Poppins", "Noto Sans SC", sans-serif;
}

.vhd-news-feature-copy time {
  color: var(--vhd-gray);
  font: 400 12px/1 "Poppins", "Noto Sans SC", sans-serif;
}

.vhd-news-feature-video-meta {
  flex-wrap: wrap;
}

.vhd-news-feature-video-copy > .vhd-news-feature-video-meta time,
.vhd-news-feature-video-copy > .vhd-news-feature-video-meta .vhd-news-feature-video-text {
  color: var(--vhd-red);
  font: 400 12px/1.4 "Poppins", "Noto Sans SC", sans-serif;
}

.vhd-news-feature-video-copy > .vhd-news-feature-video-meta time {
  flex: none;
  white-space: nowrap;
}

.vhd-news-feature-video-copy > .vhd-news-feature-video-meta .vhd-news-feature-video-text {
  flex: 1 1 220px;
  min-width: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  overflow-wrap: anywhere;
}

.vhd-news-feature-copy h3 {
  margin-top: 14px;
  font: 700 24px/1.5 "Poppins", "Noto Sans SC", sans-serif;
  text-wrap: pretty;
}

.vhd-news-feature-copy h3 a {
  color: inherit;
  font: inherit;
}

.vhd-news-feature-copy > a {
  display: inline-block;
  margin-top: 14px;
  font: 600 14px/1 "Poppins", "Noto Sans SC", sans-serif;
}

.vhd-news-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.vhd-news-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  min-height: 130px;
}

.vhd-news-row .vhd-image-slot {
  height: 130px;
  border-radius: 0;
}

.vhd-news-row-media {
  display: block;
  height: 100%;
  min-height: 130px;
  overflow: hidden;
  background: #f5f5f5;
}

.vhd-news-row-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vhd-news-row .vhd-image-slot::before {
  width: 56px;
  height: 38px;
}

.vhd-news-row .vhd-image-slot span {
  margin-top: 70px;
}

.vhd-news-row > div:last-child {
  min-width: 0;
  padding: 20px 22px;
}

.vhd-news-row > div:last-child p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  color: var(--vhd-red);
  font: 400 11px/1.4 "Poppins", "Noto Sans SC", sans-serif;
}

.vhd-news-row > div:last-child p a,
.vhd-news-row h3 a {
  color: inherit;
}

.vhd-news-row time {
  white-space: nowrap;
}

.vhd-news-row h3 {
  margin-top: 10px;
  font: 700 16px/1.5 "Poppins", "Noto Sans SC", sans-serif;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

.vhd-news-more {
  display: grid;
  width: min(220px, 100%);
  min-height: 48px;
  margin: 32px auto 0;
  place-items: center;
  border: 1px solid var(--vhd-red);
  border-radius: 10px;
  color: var(--vhd-red);
  font: 600 14px/1 "Poppins", "Noto Sans SC", sans-serif;
  transition: background 0.2s ease;
}

.vhd-news-more:hover {
  background: var(--vhd-gold);
}

.vhd-home[data-home-v2-preview="1"] a.vhd-news-more {
  background-color: var(--vhd-white);
  color: var(--vhd-ink);
}

.vhd-home[data-home-v2-preview="1"] a.vhd-news-more:hover {
  border-color: var(--vhd-red);
  background-color: var(--vhd-red);
  color: var(--vhd-white);
}

.vhd-home[data-home-v2-preview="1"] a.vhd-news-more:focus-visible {
  outline: 2px solid var(--vhd-red);
  outline-offset: 3px;
}

@media (max-width: 1180px) {
  .vhd-news .vhd-container {
    width: min(calc(100% - 64px), 1240px);
  }
}

@media (max-width: 1024px) {
  .vhd-news-grid {
    gap: 26px;
  }
}

@media (max-width: 990px) {
  .vhd-news .vhd-container {
    width: calc(100% - 40px);
  }

  .vhd-news-heading h2 {
    font-size: 36px;
  }

  .vhd-news-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .vhd-news .vhd-container {
    width: calc(100% - 36px);
  }

  .vhd-news-heading h2 {
    font-size: 32px;
  }

  .vhd-news {
    padding: 72px 0;
  }

  .vhd-news-heading {
    margin-bottom: 40px;
  }

  .vhd-news-feature-image {
    height: 220px;
  }

  .vhd-news-feature-copy {
    padding: 22px 20px 24px;
  }

  .vhd-news-feature-copy h3 {
    font-size: 20px;
  }

  .vhd-news-row {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .vhd-news-row .vhd-image-slot {
    height: 100%;
    min-height: 130px;
  }

  .vhd-news-row > div:last-child {
    padding: 16px 14px;
  }

  .vhd-news-row h3 {
    font-size: 14px;
  }
}
