/* 首页 vtwo 主体：黑白主色、无幻灯片，选择器均挂 .vtwo */

.vtwo {
  --vtwo-ink: #111111;
  --vtwo-muted: #666666;
  --vtwo-line: #e5e5e5;
  --vtwo-bg: transparent;
  --vtwo-card: #ffffff;
  --vtwo-soft: #f0f0f0;
  width: 100%;
  max-width: 1920px;
  margin-left: auto;
  margin-right: auto;
  overflow-x: clip;
  box-sizing: border-box;
  color: var(--vtwo-ink);
  /* 背景渐变由 body / .appcontainer 的 --bg-page-top-wash 负责 */
  background: transparent;
}

.vtwo *,
.vtwo *::before,
.vtwo *::after {
  box-sizing: border-box;
}

.vtwo .home-content,
.vtwo .vtwo-main {
  width: 100%;
  max-width: 1920px;
  margin-left: auto;
  margin-right: auto;
  padding: 28px 48px 72px;
}

@media (max-width: 1199px) {
  .vtwo .home-content,
  .vtwo .vtwo-main {
    padding-left: 32px;
    padding-right: 32px;
  }
}

@media (max-width: 991px) {
  .vtwo .home-content,
  .vtwo .vtwo-main {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 767px) {
  .vtwo .home-content,
  .vtwo .vtwo-main {
    padding: 16px 16px 56px;
  }
}

.vtwo a {
  color: inherit;
  text-decoration: none;
}

.vtwo a:hover {
  color: #000;
}

.vtwo h1,
.vtwo h2,
.vtwo h3,
.vtwo p {
  margin: 0;
}

.vtwo .vtwo-section {
  margin-top: 34px;
  overflow: visible;
}

.vtwo .vtwo-rowhead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.vtwo .vtwo-rowhead h2,
.vtwo .vtwo-tools h2,
.vtwo .vtwo-card h3 {
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--vtwo-ink);
}

.vtwo .vtwo-rowhead a {
  color: var(--vtwo-ink);
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid transparent;
}

.vtwo .vtwo-rowhead a:hover {
  border-bottom-color: #000;
}

.vtwo .vtwo-sub {
  color: var(--vtwo-muted);
  font-size: 14px;
}

.vtwo .vtwo-card {
  position: relative;
  display: block;
  width: 100%;
  background: var(--vtwo-card);
  border: 1px solid var(--vtwo-line);
  border-radius: 12px;
  padding: 16px 16px 14px;
  min-width: 0;
  margin-top: 10px;
  text-decoration: none;
  color: inherit;
}

/* 左上角漂浮标题：与上边框水平重叠 */
.vtwo .vtwo-float-label {
  position: absolute;
  top: 0;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  max-width: calc(100% - 72px);
  padding: 0 8px;
  transform: translateY(-50%);
  background: var(--vtwo-card);
  color: var(--vtwo-ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
}

.vtwo .vtwo-float-label strong {
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 右上角漂浮箭头 / 更多 */
.vtwo .vtwo-float-arrow {
  position: absolute;
  top: 0;
  right: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 0 8px;
  transform: translateY(-50%);
  background: var(--vtwo-card);
  color: #111;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
}

.vtwo a.vtwo-float-arrow:hover {
  color: #000;
}

.vtwo .vtwo-card-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.vtwo .vtwo-card-body--stack {
  display: block;
}

/* Hero */
.vtwo .vtwo-hero {
  background: transparent;
  border: 1px solid var(--vtwo-line);
  border-radius: 19px;
  padding: clamp(23px, 4vw, 52px);
}

.vtwo .vtwo-hero-row {
  flex-wrap: wrap;
  align-items: center;
}

.vtwo .vtwo-hero-row > .el-col {
  min-width: 0;
  margin-bottom: 12px;
}

.vtwo .vtwo-hero-copy h1 {
  font-size: clamp(32px, 4.4vw, 54px);
  letter-spacing: -0.035em;
  line-height: 1.15;
  font-weight: 750;
  color: var(--vtwo-ink);
}

.vtwo .vtwo-hero-copy > p {
  margin: 12px 0 22px;
  color: var(--vtwo-muted);
  font-size: 15px;
}

.vtwo .vtwo-hero-search {
  display: flex;
  gap: 8px;
  max-width: 660px;
}

.vtwo .vtwo-hero-search input[type="search"] {
  width: 100%;
  min-width: 0;
  border: 1px solid #c8c8c8;
  border-radius: 9px;
  padding: 10px 13px;
  font: inherit;
  color: var(--vtwo-ink);
  background: #fff;
}

.vtwo .vtwo-btn-primary,
.vtwo .vtwo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  border: 1px solid #111;
  border-radius: 9px;
  padding: 13px 19px;
  line-height: 1.35;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  color: #fff;
  background: #111;
}

.vtwo .vtwo-btn-primary:hover,
.vtwo .vtwo-btn:hover {
  color: #fff;
  background: #000;
}

.vtwo .vtwo-btn {
  padding: 9px 14px;
  background: #fff;
  color: #111;
}

.vtwo .vtwo-btn:hover {
  background: #111;
  color: #fff;
}

.vtwo .vtwo-tools {
  background: #fff;
  border: 1px solid var(--vtwo-line);
  border-radius: 13px;
  padding: 20px;
}

.vtwo .vtwo-tools h2 {
  font-size: 17px;
  margin-bottom: 12px;
}

.vtwo .vtwo-tools-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.vtwo .vtwo-tools-links a {
  background: var(--vtwo-soft);
  border-radius: 8px;
  padding: 9px 10px;
  font-size: 14px;
}

.vtwo .vtwo-tools-links a:hover {
  background: #e2e2e2;
}

/* 常用办理 */
.vtwo .vtwo-service-row,
.vtwo .vtwo-stats-row,
.vtwo .vtwo-news-row,
.vtwo .vtwo-faq-row {
  flex-wrap: wrap;
}

.vtwo .vtwo-service-row > .el-col,
.vtwo .vtwo-stats-row > .el-col,
.vtwo .vtwo-news-row > .el-col,
.vtwo .vtwo-faq-row > .el-col {
  display: flex;
  margin-bottom: 16px;
  min-width: 0;
}

.vtwo .vtwo-service-card,
.vtwo .vtwo-metric,
.vtwo .vtwo-progress,
.vtwo .vtwo-faq-card {
  transition: border-color .2s ease, background .2s ease;
}

.vtwo .vtwo-service-card:hover,
.vtwo a.vtwo-metric:hover,
.vtwo a.vtwo-progress:hover {
  border-color: #b0b0b0;
  background: #fbfbfb;
}

.vtwo .vtwo-service-card {
  min-height: 0;
}

.vtwo .vtwo-service-card .vtwo-card-body {
  align-items: center;
}

.vtwo .vtwo-service-card .vtwo-card-body p {
  margin: 0;
  color: var(--vtwo-muted);
  font-size: 13px;
  line-height: 1.45;
  min-width: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vtwo .vtwo-price {
  flex: none;
  align-self: center;
  margin: 0;
  color: #111;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  text-align: right;
}

/* 统计：数字居左、说明居右，同一行对齐 */
.vtwo .vtwo-metric .vtwo-card-body {
  align-items: baseline;
}

.vtwo .vtwo-metric .vtwo-card-body strong,
.vtwo .vtwo-metric strong {
  display: inline-block;
  flex: 0 1 auto;
  min-width: 0;
  font-size: 28px;
  line-height: 1.22;
  margin: 0;
  color: #111;
  font-variant-numeric: tabular-nums;
}

.vtwo .vtwo-metric .vtwo-card-body .vtwo-sub {
  flex: 0 0 auto;
  margin: 0;
  text-align: right;
  white-space: nowrap;
  line-height: 1.22;
}

.vtwo .vtwo-progress ul {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--vtwo-muted);
  font-size: 14px;
}

/* 资讯 */
.vtwo .vtwo-articles {
  list-style: none;
  margin: 0;
  padding: 0;
}

.vtwo .vtwo-articles li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px solid #ebebeb;
  min-width: 0;
}

.vtwo .vtwo-articles li:last-child {
  border-bottom: 0;
}

.vtwo .vtwo-articles a {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vtwo .vtwo-articles time {
  flex-shrink: 0;
  white-space: nowrap;
  color: var(--vtwo-muted);
  font-size: 13px;
}

.vtwo .vtwo-side {
  display: grid;
  gap: 24px;
  width: 100%;
  align-content: start;
}

.vtwo .vtwo-market strong {
  display: block;
  font-size: 25px;
  margin-top: 6px;
  color: #111;
  font-variant-numeric: tabular-nums;
}

.vtwo .vtwo-market p {
  margin: 5px 0 12px;
}

.vtwo .vtwo-side-links {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.vtwo .vtwo-side-links a {
  font-size: 14px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.vtwo .vtwo-empty {
  padding: 24px 0;
  text-align: center;
  color: var(--vtwo-muted);
  font-size: 13px;
}

/* FAQ */
.vtwo .vtwo-faq-card ul {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 5px;
}

.vtwo .vtwo-faq-card li {
  font-size: 14px;
  overflow-wrap: anywhere;
  padding: 4px 0;
}

.vtwo .vtwo-faq-card a:hover {
  text-decoration: underline;
}

@media (max-width: 767px) {
  .vtwo .vtwo-hero-copy h1 {
    font-size: 28px;
  }

  .vtwo .vtwo-articles li {
    display: grid;
    gap: 2px;
  }

  .vtwo .vtwo-articles a {
    white-space: normal;
  }

  .vtwo .vtwo-progress ul {
    grid-template-columns: 1fr;
  }
}

/* ========== 暗黑模式（跟随 html.dark，色值对齐 theme 变量） ========== */
html.dark .vtwo {
  --vtwo-ink: var(--text-primary, #e0e0e0);
  --vtwo-muted: var(--text-secondary, #b0b0b0);
  --vtwo-line: var(--border-default, rgba(255, 255, 255, 0.15));
  --vtwo-bg: var(--bg-page, #121212);
  --vtwo-card: var(--bg-card, #2d2d2d);
  --vtwo-soft: #242424;
  color: var(--vtwo-ink);
  background: var(--vtwo-bg);
}

html.dark .vtwo a:hover {
  color: #fff;
}

html.dark .vtwo .vtwo-rowhead a:hover {
  border-bottom-color: #fff;
}

html.dark .vtwo .vtwo-hero {
  background: transparent;
  border-color: var(--vtwo-line);
}

html.dark .vtwo .home-content,
html.dark .vtwo .vtwo-main {
  background: transparent;
}

html.dark .vtwo .vtwo-hero-copy h1,
html.dark .vtwo .vtwo-section-title,
html.dark .vtwo .vtwo-rowhead h2,
html.dark .vtwo .vtwo-tools h2,
html.dark .vtwo .vtwo-card h3 {
  color: var(--vtwo-ink);
}

html.dark .vtwo .vtwo-hero-copy > p,
html.dark .vtwo .vtwo-sub,
html.dark .vtwo .vtwo-articles time,
html.dark .vtwo .vtwo-service-card .vtwo-card-body p {
  color: var(--vtwo-muted);
}

html.dark .vtwo .vtwo-hero-search input[type="search"] {
  background: #111;
  border-color: #444;
  color: #f2f2f2;
}

html.dark .vtwo .vtwo-hero-search input[type="search"]::placeholder {
  color: #777;
}

html.dark .vtwo .vtwo-btn-primary {
  background: #f2f2f2;
  border-color: #f2f2f2;
  color: #111;
}

html.dark .vtwo .vtwo-btn-primary:hover {
  background: #fff;
  color: #000;
}

html.dark .vtwo .vtwo-btn {
  background: transparent;
  border-color: #888;
  color: #f2f2f2;
}

html.dark .vtwo .vtwo-btn:hover {
  background: #f2f2f2;
  color: #111;
}

html.dark .vtwo .vtwo-tools {
  background: var(--vtwo-card);
  border-color: var(--vtwo-line);
}

html.dark .vtwo .vtwo-tools-links a {
  background: var(--vtwo-soft);
  color: var(--vtwo-ink);
}

html.dark .vtwo .vtwo-tools-links a:hover {
  background: #333;
}

html.dark .vtwo .vtwo-card {
  background: var(--vtwo-card);
  border-color: var(--vtwo-line);
  color: var(--vtwo-ink);
}

html.dark .vtwo .vtwo-float-label,
html.dark .vtwo .vtwo-float-arrow {
  background: var(--vtwo-card);
  color: var(--vtwo-ink);
}

html.dark .vtwo .vtwo-float-arrow {
  color: #ddd;
}

html.dark .vtwo a.vtwo-float-arrow:hover {
  color: #fff;
}

html.dark .vtwo .vtwo-service-card:hover,
html.dark .vtwo a.vtwo-metric:hover,
html.dark .vtwo a.vtwo-progress:hover {
  border-color: #555;
  background: #222;
}

html.dark .vtwo .vtwo-service-card:hover .vtwo-float-label,
html.dark .vtwo .vtwo-service-card:hover .vtwo-float-arrow,
html.dark .vtwo a.vtwo-metric:hover .vtwo-float-label,
html.dark .vtwo a.vtwo-metric:hover .vtwo-float-arrow,
html.dark .vtwo a.vtwo-progress:hover .vtwo-float-label,
html.dark .vtwo a.vtwo-progress:hover .vtwo-float-arrow {
  background: #222;
}

html.dark .vtwo .vtwo-price,
html.dark .vtwo .vtwo-metric .vtwo-card-body strong,
html.dark .vtwo .vtwo-metric strong {
  color: #fff;
}

html.dark .vtwo .vtwo-articles li {
  border-bottom-color: #2c2c2c;
}

html.dark .vtwo .vtwo-articles a,
html.dark .vtwo .vtwo-faq-card a,
html.dark .vtwo .vtwo-progress ul {
  color: var(--vtwo-ink);
}

html.dark .vtwo .vtwo-articles a:hover,
html.dark .vtwo .vtwo-faq-card a:hover {
  color: #fff;
}

html.dark .vtwo .vtwo-empty {
  color: #777;
}
