/* 国家子站首页 */
:root {
  --ch-blue: #1a5fb4;
  --ch-blue-dark: #0d4a96;
  --ch-blue-soft: #e8f1fb;
  --ch-text: #1f2430;
  --ch-muted: #6b7280;
  --ch-line: #e5ebf3;
  --ch-w: 1200px;
}

body.visa-country-home {
  background: #f3f5f8 !important;
  color: var(--ch-text);
}

/* ---- 顶栏 ---- */
.ch-header {
  background: var(--ch-blue);
  color: #fff;
  width: 100%;
}
.ch-header-inner {
  width: var(--ch-w);
  max-width: 96%;
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.ch-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff !important;
  flex-shrink: 0;
}
.ch-logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
}
.ch-logo-mark {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  color: var(--ch-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
}
.ch-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.ch-logo-text strong {
  font-size: 16px;
  font-weight: 700;
}
.ch-logo-text em {
  font-style: normal;
  font-size: 11px;
  opacity: .85;
  letter-spacing: .02em;
}
.ch-nav {
  display: flex;
  align-items: stretch;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.ch-nav a {
  color: #fff !important;
  text-align: center;
  padding: 8px 12px;
  border-radius: 4px;
  min-width: 72px;
}
.ch-nav a:hover,
.ch-nav a:focus {
  background: rgba(255,255,255,.14);
  color: #fff !important;
}
.ch-nav a.is-empty {
  opacity: .55;
}
.ch-nav b {
  display: block;
  font-size: 14px;
  font-weight: 600;
}
.ch-nav i {
  display: block;
  font-style: normal;
  font-size: 10px;
  opacity: .8;
  margin-top: 2px;
}
.ch-nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  padding: 8px;
  cursor: pointer;
}
.ch-nav-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  margin: 6px 0;
}

.ch-page {
  width: var(--ch-w);
  max-width: 96%;
  margin: 16px auto 40px;
}

/* ---- Hero ---- */
.ch-hero {
  display: grid;
  grid-template-columns: 1.85fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.ch-slider {
  position: relative;
  background: #0f3d7a;
  border-radius: 4px;
  overflow: hidden;
  min-height: 280px;
}
.ch-slider-track {
  position: relative;
  height: 100%;
  min-height: 280px;
}
.ch-slide {
  display: none;
  position: absolute;
  inset: 0;
}
.ch-slide.is-curr {
  display: block;
}
.ch-slide a,
.ch-slide-empty {
  display: block;
  height: 100%;
  min-height: 280px;
  position: relative;
  color: #fff !important;
}
.ch-slide img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}
.ch-slide-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 20px 28px;
  background: linear-gradient(transparent, rgba(0,0,0,.55));
}
.ch-slide-cap strong {
  font-size: 18px;
  font-weight: 700;
}
.ch-slide-empty {
  display: flex;
  align-items: flex-end;
  background: linear-gradient(135deg, #1a5fb4, #0d3a7a);
  padding: 28px;
}
.ch-slide-empty p {
  margin: 8px 0 0;
  opacity: .9;
}
.ch-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 56px;
  border: 0;
  background: rgba(0,0,0,.28);
  cursor: pointer;
  z-index: 2;
}
.ch-slider-btn:hover {
  background: rgba(0,0,0,.45);
}
.ch-slider-btn.ch-prev { left: 0; }
.ch-slider-btn.ch-next { right: 0; }
.ch-slider-btn::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  margin: 0 auto;
}
.ch-prev::before { transform: rotate(-135deg); }
.ch-next::before { transform: rotate(45deg); }
.ch-slider-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  text-align: center;
  z-index: 2;
}
.ch-slider-dots button {
  width: 8px;
  height: 8px;
  margin: 0 3px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  cursor: pointer;
  padding: 0;
}
.ch-slider-dots button.is-on {
  background: #fff;
}

.ch-hero-side {
  min-height: 280px;
}
.ch-guide-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  min-height: 280px;
  padding: 28px 24px;
  border-radius: 4px;
  color: #fff !important;
  background:
    radial-gradient(circle at 80% 20%, rgba(255,255,255,.18), transparent 40%),
    linear-gradient(160deg, #1f6fd0 0%, #0d3f8f 100%);
}
.ch-guide-card:hover {
  color: #fff !important;
  filter: brightness(1.05);
}
.ch-guide-card h3 {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
}
.ch-guide-card h3 em {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-size: 12px;
  letter-spacing: .08em;
  opacity: .85;
  font-weight: 500;
}
.ch-guide-card p {
  margin: 14px 0 20px;
  opacity: .92;
  font-size: 13px;
}
.ch-guide-cta {
  display: inline-block;
  align-self: flex-start;
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 2px;
  font-size: 13px;
}

/* ---- 通用盒子 ---- */
.ch-row {
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
}
.ch-row-top {
  grid-template-columns: 1.05fr 1.35fr 1fr;
}
.ch-row-bottom {
  grid-template-columns: 1.2fr 1.2fr 1fr;
}
.ch-box {
  background: #fff;
  border: 1px solid var(--ch-line);
  border-radius: 4px;
  padding: 14px 16px 12px;
  min-height: 220px;
}
.ch-box-title {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ch-text);
}
.ch-box-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.ch-box-head .ch-box-title {
  margin: 0;
}
.ch-more {
  color: var(--ch-blue) !important;
  font-size: 12px;
  float: right;
  margin-top: 6px;
}
.ch-list {
  clear: both;
}
.ch-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px dashed #eef2f7;
  font-size: 13px;
  line-height: 1.45;
}
.ch-list li:last-child {
  border-bottom: 0;
}
.ch-list a {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ch-text) !important;
}
.ch-list a:hover {
  color: var(--ch-blue) !important;
}
.ch-date {
  flex-shrink: 0;
  color: var(--ch-muted);
  font-size: 12px;
}

/* 使馆 */
.ch-embassy-body {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.ch-embassy-badge {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--ch-blue-soft);
  color: var(--ch-blue);
  font-size: 28px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ch-embassy-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.ch-embassy-grid a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border: 1px solid var(--ch-line);
  border-radius: 3px;
  font-size: 13px;
  color: var(--ch-text) !important;
  background: #fafbfd;
}
.ch-embassy-grid a:hover {
  border-color: var(--ch-blue);
  color: var(--ch-blue) !important;
  background: var(--ch-blue-soft);
}
.ch-embassy-grid i {
  width: 14px;
  height: 14px;
  background: var(--ch-blue);
  opacity: .35;
  border-radius: 2px;
  flex-shrink: 0;
}

/* Tabs */
.ch-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--ch-line);
  margin: -2px 0 10px;
}
.ch-tabs a {
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ch-muted) !important;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.ch-tabs a.curr,
.ch-tabs a:hover {
  color: var(--ch-blue) !important;
  border-bottom-color: var(--ch-blue);
}
.ch-tab-pane {
  display: none;
}
.ch-tab-pane.is-show {
  display: block;
}

/* 右侧操作 */
.ch-aside-act {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ch-notice-mini {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  background: #f7f9fc;
  border: 1px solid var(--ch-line);
  border-radius: 3px;
  padding: 10px;
  max-height: 96px;
  overflow: hidden;
}
.ch-notice-ico {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ch-blue);
  flex-shrink: 0;
  position: relative;
}
.ch-notice-ico::before {
  content: "";
  position: absolute;
  inset: 6px 5px 7px 6px;
  border: 2px solid #fff;
  border-radius: 2px;
  border-left-width: 0;
}
.ch-notice-scroll {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.ch-notice-scroll .ch-list li {
  padding: 3px 0;
  border: 0;
  font-size: 12px;
}
.ch-act-btns {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}
.ch-btn {
  display: block;
  text-align: center;
  padding: 11px 12px;
  border: 1px solid var(--ch-blue);
  border-radius: 3px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ch-blue) !important;
  background: #fff;
}
.ch-btn:hover {
  background: var(--ch-blue-soft);
  color: var(--ch-blue-dark) !important;
}
.ch-btn-primary {
  background: var(--ch-blue);
  color: #fff !important;
}
.ch-btn-primary:hover {
  background: var(--ch-blue-dark);
  color: #fff !important;
}

/* 图文头条 */
.ch-feat {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  color: inherit !important;
}
.ch-feat:hover {
  color: inherit !important;
}
.ch-feat-pic {
  width: 96px;
  height: 68px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 3px;
  background: #eef2f7;
}
.ch-feat-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ch-feat-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ch-feat-body strong {
  font-size: 14px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ch-feat-body em {
  font-style: normal;
  font-size: 12px;
  color: var(--ch-muted);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ch-feat:hover strong {
  color: var(--ch-blue);
}

/* 响应式 */
@media (max-width: 980px) {
  .ch-hero,
  .ch-row-top,
  .ch-row-bottom {
    grid-template-columns: 1fr;
  }
  .ch-nav-toggle {
    display: block;
  }
  .ch-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    background: var(--ch-blue-dark);
    flex-direction: column;
    padding: 8px 12px 16px;
    z-index: 50;
  }
  .ch-nav.is-open {
    display: flex;
  }
  .ch-header {
    position: relative;
  }
  .ch-slide img,
  .ch-slide a,
  .ch-slide-empty,
  .ch-slider-track,
  .ch-guide-card,
  .ch-hero-side {
    min-height: 200px;
  }
  .ch-slide img {
    height: 200px;
  }
}
