/* 签证内容页（百科 / 资讯正文）*/

.visa-article-page {
  background: #f0f2f5;
}

.visa-article-page .visa-page.va-page {
  background: transparent;
  box-shadow: none;
  margin-top: 12px;
  margin-bottom: 40px;
  padding: 8px 0 32px;
}

.va-layout {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.va-main {
  flex: 1;
  min-width: 0;
}

.visa-article-page .vz-right {
  width: 300px;
  flex-shrink: 0;
}

/* 文章卡片 */
.va-article {
  background: #fff;
  border: 1px solid #e6ebf2;
  border-radius: 6px;
  padding: 28px 32px 24px;
  margin-bottom: 16px;
  box-sizing: border-box;
}

.va-title {
  margin: 0 0 14px;
  font-size: 26px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.4;
}

.va-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid #f0f2f5;
  font-size: 13px;
  color: #999;
}

.va-meta .va-fav {
  margin-left: auto;
  color: var(--visa-blue, #1a6fd4) !important;
  text-decoration: none !important;
}

.va-meta .va-fav:hover {
  opacity: .85;
}

/* 题图 / 推广条：桌面设计稿 article-promo.png（约 850×90） */
.va-hero {
  position: relative;
  display: block;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 22px;
  line-height: 0;
  text-decoration: none !important;
}

.va-hero img,
.va-hero-promo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 120px;
  object-fit: cover;
  object-position: center;
}

.va-hero-promo:hover {
  opacity: .96;
}

.va-hero-fallback {
  min-height: 90px;
  background: linear-gradient(120deg, #1a6fd4 0%, #3b9eff 55%, #6eb6ff 100%);
}

.va-hero-mask {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  background: linear-gradient(90deg, rgba(12, 48, 110, .55), rgba(26, 111, 212, .25));
  color: #fff;
  box-sizing: border-box;
}

.va-hero-mask strong {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
}

.va-hero-mask a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  height: 40px;
  padding: 0 20px;
  border-radius: 4px;
  background: #fff;
  color: var(--visa-blue, #1a6fd4) !important;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none !important;
}

.va-hero-mask a:hover {
  opacity: .92;
}

/* 正文 */
.va-content {
  font-size: 15px;
  line-height: 1.9;
  color: #333;
  word-wrap: break-word;
}

.va-content p {
  margin: 0 0 14px;
}

.va-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 12px auto;
}

.va-content h2,
.va-content h3,
.va-content h4 {
  margin: 22px 0 10px;
  font-weight: 700;
  color: #222;
  line-height: 1.4;
}

.va-content h2 { font-size: 20px; }
.va-content h3 { font-size: 17px; }
.va-content ul,
.va-content ol {
  margin: 0 0 14px;
  padding-left: 1.4em;
}

.va-content li {
  margin-bottom: 6px;
}

.va-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
}

.va-content table td,
.va-content table th {
  border: 1px solid #e6ebf2;
  padding: 8px 10px;
}

/* 上下篇 */
.va-pager {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid #f0f2f5;
  font-size: 13px;
  color: #666;
}

.va-pager a {
  color: var(--visa-blue, #1a6fd4) !important;
  text-decoration: none !important;
}

.va-pager a:hover {
  text-decoration: underline !important;
}

.va-pager-pre,
.va-pager-next {
  flex: 1;
  min-width: 200px;
}

.va-pager-next {
  text-align: right;
}

/* 文内获客 */
.va-lead {
  background: #fff;
  border: 1px solid #e6ebf2;
  border-radius: 6px;
  padding: 22px 24px;
  margin-bottom: 16px;
  box-sizing: border-box;
}

.va-lead-hd h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
  color: #222;
}

.va-lead-hd p {
  margin: 0 0 16px;
  font-size: 13px;
  color: #888;
}

.va-lead-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.va-lead-form input {
  flex: 1;
  min-width: 160px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid #d8dee8;
  border-radius: 4px;
  font-size: 14px;
  box-sizing: border-box;
  outline: none;
}

.va-lead-form input:focus {
  border-color: var(--visa-blue, #1a6fd4);
}

.va-lead-form button {
  height: 42px;
  min-width: 120px;
  padding: 0 22px;
  border: 0;
  border-radius: 4px;
  background: var(--visa-blue, #1a6fd4);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.va-lead-form button:hover {
  opacity: .92;
}

/* 广告条 */
.va-ad-bar {
  margin-bottom: 16px;
  border-radius: 6px;
  overflow: hidden;
  background: linear-gradient(90deg, #1a6fd4, #3b9eff);
}

.va-ad-bar a {
  display: block;
  position: relative;
  min-height: 64px;
  text-decoration: none !important;
}

.va-ad-bar img {
  display: block;
  width: 100%;
  height: 72px;
  object-fit: cover;
}

.va-ad-bar.is-fallback .va-ad-fallback,
.va-ad-bar .va-ad-fallback {
  display: none;
}

.va-ad-bar.is-fallback {
  min-height: 64px;
}

.va-ad-bar.is-fallback .va-ad-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

/* 通用区块 */
.va-block {
  background: #fff;
  border: 1px solid #e6ebf2;
  border-radius: 6px;
  padding: 18px 20px;
  margin-bottom: 16px;
  box-sizing: border-box;
}

.va-block-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0f2f5;
}

.va-block-hd h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #222;
}

.va-more {
  font-size: 13px;
  color: #888 !important;
  text-decoration: none !important;
}

.va-more:hover {
  color: var(--visa-blue, #1a6fd4) !important;
}

.va-hot-products .vp-item {
  border-bottom: 1px solid #eef1f5;
}

.va-hot-products .vp-item:last-child {
  border-bottom: 0;
}

.va-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.va-two-col .va-block {
  margin-bottom: 0;
}

.va-link-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.va-link-list li {
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.45;
}

.va-link-list li:last-child {
  margin-bottom: 0;
}

.va-link-list a {
  color: #444 !important;
  text-decoration: none !important;
}

.va-link-list a:hover {
  color: var(--visa-blue, #1a6fd4) !important;
}

/* ===== 材料下载内容页 ===== */
.visa-article-page.is-material .va-article-material .va-title {
  text-align: center;
  font-size: 24px;
}

.visa-article-page.is-material .va-article-material .va-meta {
  justify-content: center;
  border-bottom: 0;
  margin-bottom: 16px;
  padding-bottom: 0;
}

.va-hero-apply {
  min-height: 0;
}

.va-hero-apply img {
  max-height: 120px;
}

.va-hero-apply .va-hero-mask {
  display: none;
}

/* 下载文件条 */
.va-dl-box {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 22px;
  padding: 16px 18px;
  border: 1px solid #e5e8ee;
  border-radius: 4px;
  background: #fafbfc;
  box-sizing: border-box;
}

.va-dl-icon {
  width: 56px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 4px;
  background: #2b579a;
  color: #fff;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  position: relative;
  box-shadow: 0 2px 6px rgba(43, 87, 154, .25);
}

.va-dl-icon::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  border-style: solid;
  border-width: 0 14px 14px 0;
  border-color: transparent #fafbfc transparent transparent;
}

.va-dl-icon.va-dl-pdf { background: #d9382d; }
.va-dl-icon.va-dl-xls,
.va-dl-icon.va-dl-xlsx { background: #1d6f42; }
.va-dl-icon.va-dl-zip,
.va-dl-icon.va-dl-rar { background: #6b7280; }

.va-dl-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: #666;
}

.va-dl-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 40px;
}

.va-dl-info em {
  font-style: normal;
  color: #333;
  font-weight: 600;
}

.va-dl-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 120px;
  height: 44px;
  padding: 0 18px;
  border-radius: 3px;
  background: #d6453d;
  color: #fff !important;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none !important;
}

.va-dl-btn i {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid #fff;
  margin-top: 4px;
}

.va-dl-btn:hover {
  background: #c0392b;
}

@media (max-width: 640px) {
  .va-dl-box {
    flex-wrap: wrap;
  }

  .va-dl-btn {
    width: 100%;
  }
}

@media (max-width: 992px) {
  .va-layout {
    flex-direction: column;
  }

  .visa-article-page .vz-right {
    width: 100%;
  }

  .va-article {
    padding: 20px 16px;
  }

  .va-title {
    font-size: 22px;
  }

  .va-two-col {
    grid-template-columns: 1fr;
  }

  .va-hero-mask {
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    text-align: center;
    padding: 20px;
  }

  .va-pager-next {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .va-meta .va-fav {
    margin-left: 0;
    width: 100%;
  }

  .va-lead-form {
    flex-direction: column;
  }

  .va-lead-form button {
    width: 100%;
  }
}
