/* =============================================================================
 * Beijing Visits —— 复刻 WordPress (Astra 4.11.16 + Spectra) 视觉
 * 所有颜色 / 间距 / 字号均取自原站 uag-css-33.css 与 astra-theme-css-inline-css
 * ========================================================================== */

:root {
  /* Astra 全局色板 --ast-global-color-N */
  --bv-yellow:      #ffde2f;  /* color-0 主题色 */
  --bv-yellow-dark: #ebc500;  /* color-1 hover */
  --bv-white:       #ffffff;  /* color-2 / color-3 */
  --bv-deep:        #0b2329;  /* color-4 header/footer/about 背景 */
  --bv-bg:          #091d22;  /* color-5 页面底 */
  --bv-gray:        #585858;  /* color-6 */
  --bv-overlay:     #030c0e;  /* color-7 图片覆盖层 */
  --bv-black:       #000000;  /* color-8 */

  --bv-font: 'IBM Plex Serif', Georgia, 'Times New Roman', serif;
  --bv-fw: 200;
  --bv-body-lh: 1.3em;

  --bv-container: 1200px;
  --bv-section-x: 40px;
}

/* --- reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 100%; -webkit-text-size-adjust: 100%; }   /* 16px，对齐 Astra 默认 */
body {
  margin: 0;
  background: var(--bv-bg);
  color: var(--bv-white);
  font-family: var(--bv-font);
  font-weight: var(--bv-fw);
  font-size: 1rem;          /* 16px，对齐 Astra body */
  line-height: var(--bv-body-lh);
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font-family: inherit; }   /* 标签页/按钮统一用 IBM Plex Serif */
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bv-yellow); text-decoration: none; }
a:hover { color: var(--bv-yellow-dark); }
figure { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
p { margin: 0 0 1.2em; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--bv-font);
  font-weight: var(--bv-fw);
  color: var(--bv-white);
  text-transform: capitalize;
  margin: 0 0 0.6em;
}

/* <strong>/<b> 强制真粗（700）：细体标题(200)内 bolder 只会解析到 400，
   需显式 700 才能对齐原站真正加粗的效果 */
strong, b { font-weight: 700; }

/* 字号严格对齐 astra-theme-css-inline-css（@16px 基准） */
h1 { font-size: 35px; line-height: 1em; }
h2 { font-size: 30px; line-height: 1em; }
h3 { font-size: 23px; line-height: 1em; }
h4 { font-size: 21px; line-height: 1.25em; }
h5 { font-size: 18px; line-height: 1em; }
h6 { font-size: 16px; line-height: 1em; text-transform: uppercase; letter-spacing: 2px; }

.screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: static; width: auto; height: auto; clip: auto;
  display: block; padding: 10px 20px; background: var(--bv-yellow); color: var(--bv-deep);
}

/* =============================================================================
 * HEADER  （Astra primary header bar：logo + 站点名 | 菜单 | 按钮）
 * ========================================================================== */
.site-header {
  background: var(--bv-deep);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,.25);
}
/* 首页：透明页眉覆盖在 hero 背景图上（对齐 Astra transparent-header 的 #masthead{position:absolute;background:none}） */
.layout-home .site-header {
  position: absolute;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom: 1px solid rgba(255,255,255,.25);  /* 导航条下方半透明白色细线 */
}
.site-primary-header-wrap {
  padding: 0 40px;
  min-height: 100px;
  display: flex;              /* 让 logo/菜单/按钮在 100px 高度内垂直居中（解决导航贴顶） */
  align-items: center;
}
.ast-container { max-width: var(--bv-container); margin: 0 auto; width: 100%; }
.ast-builder-grid-row {
  display: flex;
  align-items: center;
  gap: 40px;
}
.site-header-primary-section-left { flex: 0 0 auto; }
.site-header-primary-section-center { flex: 1 1 auto; display: flex; justify-content: flex-start; }
.site-header-primary-section-right { flex: 0 0 auto; }

.site-branding { display: flex; align-items: center; gap: 12px; }
.site-branding .custom-logo-link { display: block; }
.site-branding img { width: 50px; height: 41px; object-fit: contain; }
.site-title { font-size: 1.375rem; font-weight: var(--bv-fw); text-transform: capitalize; line-height: 1.2; }
.site-title a { color: var(--bv-white); }
.site-title a:hover { color: var(--bv-white); }

/* 菜单：15px / 白色 / 左右 15px / hover 变黄 + 下划线 */
.main-header-menu { display: flex; align-items: center; gap: 0; }
.main-header-menu .menu-item { position: relative; }
.main-header-menu .menu-link {
  display: block;
  padding: 0 15px;
  font-size: 15px;
  font-weight: 600;
  color: var(--bv-white);
  text-transform: uppercase;
  letter-spacing: 0;
}
.main-header-menu .menu-link::after {
  content: "";
  position: absolute;
  left: 15px; right: 15px; bottom: 2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transition: transform .25s ease;
}
.main-header-menu .menu-link:hover { color: var(--bv-yellow); }
.main-header-menu .menu-link:hover::after { transform: scaleX(1); }

/* header 右侧按钮：透明 + 白描边 + 直角（对齐 .ast-outline-button: weight700 / uppercase / 15px / radius0 / padding16/36） */
.ast-custom-button-link { display: inline-block; }
.ast-custom-button {
  background: rgba(255, 220, 46, 0);
  color: #ffffff;
  padding: 16px 36px;
  border: 1px solid #ffffff;
  border-radius: 0;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.ast-custom-button-link:hover .ast-custom-button {
  background: #ffffff;
  color: var(--bv-overlay);
  border-color: #ffffff;
}

/* 汉堡按钮 */
.menu-toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  padding: 8px; margin-left: auto;
}
.menu-toggle-bar {
  display: block; width: 24px; height: 2px;
  background: var(--bv-white); margin: 5px 0;
  transition: transform .2s ease;
}
.mobile-nav-drawer { background: var(--bv-deep); border-top: 1px solid rgba(255,255,255,.1); }
.mobile-nav-drawer .menu-link {
  display: block; padding: 14px 20px; color: var(--bv-white);
  text-transform: uppercase; font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.mobile-nav-drawer .menu-link:hover { color: var(--bv-yellow); }

/* =============================================================================
 * 通用 section / 容器 / 栅格
 * ========================================================================== */
.bv-section { position: relative; padding: 100px var(--bv-section-x); }
.bv-container { width: 100%; margin: 0 auto; }
.bv-container--1200 { max-width: 1200px; }
.bv-container--900  { max-width: 900px;  position: relative; z-index: 2; }
.bv-container--750  { max-width: 750px;  }

.bv-row { display: flex; flex-wrap: nowrap; align-items: stretch; justify-content: center; }
.bv-row--gap0  { column-gap: 0; }
.bv-row--gap40 { column-gap: 40px; }
.bv-row--gap60 { column-gap: 60px; }
.bv-row--gap80 { column-gap: 80px; }
.bv-row--top { align-items: flex-start; }

.bv-stack { display: flex; flex-direction: column; align-items: center; }
.bv-stack--gap40 { row-gap: 40px; }
.bv-stack--gap60 { row-gap: 60px; }
.bv-stack--left { align-items: flex-start; text-align: left; }
.bv-stack--gap24 { row-gap: 24px; }

.bv-col { min-width: 0; }
.bv-col--25 { max-width: 25%; width: 100%; }
.bv-col--33 { max-width: 33.3333%; width: 100%; }
.bv-col--50 { max-width: 50%; width: 100%; }

.bv-text-center { text-align: center; }

/* info-box 组件 ------------------------------------------------------------ */
.bv-infobox { display: block; }
.bv-eyebrow {
  display: block;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 2px;
  color: var(--bv-white);
  margin: 0 0 15px;
}
.bv-title { color: var(--bv-white); margin: 0 0 15px; }
.bv-desc  { color: var(--bv-white); margin: 0 0 20px; opacity: .92; }
.bv-body  { color: var(--bv-white); opacity: .92; }
.bv-heading { color: var(--bv-white); margin: 0; }
.bv-num { color: var(--bv-white); margin: 0 0 0; }

/* 黄色短分隔线（Spectra .uagb-separator：3px 宽 60px） */
.bv-separator {
  display: inline-block;
  font-size: 0;
  border-top: 3px solid var(--bv-yellow);
  width: 60px;
  margin: 0 0 10px;
}

/* 文字型 CTA（Spectra infobox text button） */
.bv-ifb-button-wrapper { margin-top: 8px; }
.bv-cta-text {
  display: inline-block;
  color: var(--bv-yellow);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .3px;
}
.bv-cta-text:hover { color: var(--bv-yellow-dark); }
.bv-cta-arrow { margin-left: 5px; transition: transform .2s ease; display: inline-block; }
.bv-cta-text:hover .bv-cta-arrow { transform: translateX(3px); }

/* outline 按钮（Spectra .ast-outline-button：全圆角 / 透明 / 白边 / weight700 / uppercase / 15px） */
.bv-btn { display: inline-block; font-size: 15px; font-weight: 700; line-height: 1; }
.bv-btn--outline {
  background-color: transparent;
  color: var(--bv-white);
  border: 2px solid var(--bv-white);
  border-radius: 9999px;
  padding: 18px 32px;
  text-transform: uppercase;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.bv-btn--outline:hover {
  background-color: var(--bv-white);
  color: var(--bv-deep);
  border-color: var(--bv-white);
}

/* 实心黄按钮（对齐 WP .wp-block-button__link：黄底/深色字/直角/700/uppercase/16-36） */
.bv-btn--solid {
  display: inline-block;
  background-color: var(--bv-yellow);
  color: var(--bv-deep);
  border: 1px solid var(--bv-yellow);
  border-radius: 0;
  padding: 16px 36px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.bv-btn--solid:hover {
  background-color: var(--bv-yellow-dark);
  border-color: var(--bv-yellow-dark);
  color: var(--bv-deep);
}
.bv-btn--solid .bv-cta-arrow { color: inherit; }

/* 白框透明按钮（对齐导航右上角 .ast-custom-button：透明/白边/直角/700/uppercase/15px/16-36） */
.bv-btn--ghost {
  display: inline-block;
  background: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 0;
  padding: 16px 36px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.bv-btn--ghost:hover {
  background: #ffffff;
  color: var(--bv-overlay);
  border-color: #ffffff;
}

/* =============================================================================
 * 1. HERO —— padding 220/140，背景图 cover，覆盖层 #030c0e @ .7
 * ========================================================================== */
.bv-hero {
  position: relative;
  padding-top: 220px;
  padding-bottom: 140px;
  background-image: url(../images/hero.jpg);
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  overflow: hidden;
}
.bv-hero__overlay {
  position: absolute; inset: 0;
  background: var(--bv-overlay);
  opacity: .7;
  pointer-events: none;
}
.bv-hero .bv-desc { margin-left: 12%; margin-right: 12%; margin-bottom: 4%; }
.bv-hero .bv-title { margin-bottom: 15px; }

/* =============================================================================
 * 2. ABOUT —— 背景 #0b2329
 * ========================================================================== */
.bv-about { background-color: var(--bv-deep); padding-top: 64px; padding-bottom: 64px; }

/* =============================================================================
 * 3. SERVICES —— padding-bottom 0
 * ========================================================================== */
.bv-services { padding-bottom: 0; }
.bv-services .bv-col--33 { text-align: left; }

/* =============================================================================
 * SERVICES 页面（复刻 WP Services 页：hero 共享导航背景 + 4 个服务两列网格 + CTA）
 * ========================================================================== */

/* 导航与 hero 共享 service-01.jpg 背景图（高楼大厦/北京 CBD）；透明页眉覆盖在 hero 上（对齐 .layout-about） */
.layout-services .site-header {
  position: absolute;
  left: 0; right: 0;
  background: transparent;
  border-bottom: 1px solid rgba(255,255,255,.25);
}
.layout-services .bv-hero { padding-top: 210px; padding-bottom: 120px; }
.bv-hero--services {
  background-image: url(../images/service-01.jpg);   /* 高楼大厦/北京 CBD，与导航共享 */
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}
.bv-hero--services .bv-infobox,
.bv-hero--services .bv-eyebrow,
.bv-hero--services .bv-title { text-align: center; }

.bv-services-page { padding-top: 80px; padding-bottom: 90px; background-color: var(--bv-bg); }

/* 4 个服务：两列网格（每行两个），每个单元 = 图片在上 + 文字在下，不再整幅通栏 */
.bv-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 56px 48px;
}
/* 4 个服务：两列网格，每张卡片 = 暗色背景 + 右上/左下圆角 + 图片在上 + 文字在下（与 About hero 卡片同款圆角风格） */
.bv-service-row {
  display: flex; flex-direction: column; gap: 0;
  background-color: var(--bv-deep);            /* #0b2329 暗色卡片底 */
  border-top-right-radius: 40px;
  border-bottom-left-radius: 40px;
  overflow: hidden;                            /* 让图片被卡片的右上圆角裁掉 */
}
.bv-service-media { width: 100%; }
.bv-service-media img {
  width: 100%; height: 320px; object-fit: cover; object-position: center;
  display: block;                              /* 去掉 inline img 底部白线 */
}
.bv-service-body { max-width: none; padding: 32px 32px 40px; }
.bv-service-body .bv-eyebrow { display: block; margin-bottom: 8px; }
.bv-service-body .bv-title { margin-bottom: 16px; }
.bv-service-body .bv-body { opacity: .9; }

@media (max-width: 768px) {
  .bv-services-grid { grid-template-columns: 1fr; gap: 40px; }
  .bv-service-media img { height: 220px; }
  .bv-service-body { padding: 24px 22px 32px; }
}

/* Services 卡片：背景图 + 右上/左下圆角（对齐 Spectra 块 9abd22a4 / 032d95fc / 9c8fa577） */
.bv-service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  min-height: 380px;
  padding: 50px;
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  border-top-right-radius: 50px;
  border-bottom-left-radius: 50px;
  overflow: hidden;
}
.bv-service-card--1 { background-image: url(../images/service-01.jpg); }
.bv-service-card--2 { background-image: url(../images/service-02.jpg); }
.bv-service-card--3 { background-image: url(../images/service-03.jpg); }
.bv-service-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(9,29,34,.30) 0%, rgba(9,29,34,.88) 100%);
}
.bv-service-card__content { position: relative; z-index: 1; }
.bv-service-card .bv-num {
  position: absolute;
  top: 28px;
  left: 40px;
  margin: 0;
  font-size: 3.4em;
  line-height: 1;
  font-weight: 600;
  color: var(--bv-yellow);
  z-index: 2;
}
.bv-service-card .bv-separator { margin: 0 0 6px; }
.bv-service-card .bv-title { color: var(--bv-white); }
.bv-service-card .bv-desc { color: var(--bv-white); opacity: .92; }
/* 三张服务卡「标题顶部对齐」：
   1) 卡片等高（列变 flex，卡片撑满列高），内容本来就底部对齐 → 三卡底边齐平
   2) 描述给一个 4 行的最小高度（行高 1.3em × 4 = 5.2em）
      → 描述占的高度一致，标题就落在同一水平线；描述实际行数不同也不影响标题 */
.bv-services .bv-row > .bv-col { display: flex; }
.bv-services .bv-service-card { flex: 1 1 auto; width: 100%; }
.bv-service-card .bv-desc { min-height: 5.2em; }
/* 标题预留「两行」高度（h3 line-height 为 1em，2em = 两行）。
   标题实际占 1 行还是 2 行不影响占位高度，三张卡片的标题因此落在同一水平线上；
   描述行数不同由上面的 .bv-desc min-height 兜住，仍然不影响标题位置。 */
.bv-service-card__content {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  flex: 1 1 auto;
}
.bv-service-card .bv-title { min-height: 2em; }

/* =============================================================================
 * 4. STATS —— 数字 50px
 * ========================================================================== */
.bv-stat { padding: 20px 0; text-align: center; }
.bv-counter__number {
  font-size: 50px;
  font-weight: 500;
  color: var(--bv-yellow);
  line-height: 1.1;
}
.bv-counter__title {
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 14px;
  font-weight: 600;
  color: var(--bv-white);
  opacity: .85;
}

/* =============================================================================
 * 5. JOURNEY —— 背景图 56em 靠左，内容块 40% 靠右
 * ========================================================================== */
.bv-journey {
  padding: 0;
  background-image: url(../images/journey.jpg);
  background-size: 56em;
  background-position: 0% 50%;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
}
.bv-journey__panel {
  max-width: 40%;
  width: 100%;
  margin-right: 15%;
  padding: 80px;
  background: rgba(11, 35, 41, .94);
}

/* =============================================================================
 * 6. APPROACH —— padding 120/100，图片右对齐 1200px
 * ========================================================================== */
.bv-approach { padding-top: 120px; padding-bottom: 100px; }
.bv-image-right { width: 100%; text-align: right; }
.bv-image-right figure { display: inline-block; max-width: 1200px; width: 100%; }
.bv-image-right img { width: 100%; height: 400px; object-fit: cover; object-position: center; border-top-right-radius: 50px; }

/* =============================================================================
 * 7. CONTACT CTA —— 背景图 + 覆盖层
 * ========================================================================== */
.bv-cta {
  position: relative;
  padding-top: 120px;
  padding-bottom: 120px;
  background-image: url(../images/cta.jpg);
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  overflow: hidden;
}
.bv-cta .bv-desc { margin-left: 12%; margin-right: 12%; margin-bottom: 4%; }

/* =============================================================================
 * 文章页 / 独立页面 / 归档
 * ========================================================================== */
.bv-post, .bv-page { padding: 80px 20px; }
.bv-post .entry-header, .bv-page-header { margin-bottom: 40px; }
.bv-post-cats { margin-bottom: 15px; }
.bv-post-cats a {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 14px;
  font-weight: 600;
  color: var(--bv-yellow);
}
.bv-post-meta {
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--bv-white);
  opacity: .6;
  margin-bottom: 25px;
}
.bv-sep { margin: 0 8px; }
.bv-post-cover { width: 100%; border-radius: 4px; margin-bottom: 35px; }

/* markdown 正文 ------------------------------------------------------------ */
.bv-markdown { line-height: var(--bv-body-lh); }
.bv-markdown h1, .bv-markdown h2, .bv-markdown h3, .bv-markdown h4 {
  margin-top: 1.6em;
  margin-bottom: .6em;
}
.bv-markdown h2 { border-bottom: 1px solid rgba(255,255,255,.12); padding-bottom: .3em; }
.bv-markdown p { margin: 0 0 1.3em; }
.bv-markdown ul, .bv-markdown ol { margin: 0 0 1.3em; padding-left: 1.6em; }
.bv-markdown ul { list-style: disc; }
.bv-markdown ol { list-style: decimal; }
.bv-markdown li { margin-bottom: .5em; }
.bv-markdown img { border-radius: 4px; margin: 1.5em 0; }

/* 文章内联 emoji SVG 图标：与文字同高，不占整行 */
.bv-markdown img[src$="\.svg"] {
  display: inline;
  height: 1em;
  width: auto;
  vertical-align: -0.15em;
  margin: 0 0.15em;
  border-radius: 0;
}
.bv-markdown blockquote {
  margin: 1.5em 0;
  padding: 10px 20px;
  border-left: 3px solid var(--bv-yellow);
  background: rgba(255,255,255,.04);
}
.bv-markdown code {
  background: rgba(255,255,255,.1);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: .9em;
}
.bv-markdown pre {
  background: #061417;
  padding: 18px 20px;
  border-radius: 4px;
  overflow-x: auto;
}
.bv-markdown pre code { background: none; padding: 0; }
.bv-markdown hr { border: 0; border-top: 1px solid rgba(255,255,255,.15); margin: 2em 0; }
.bv-markdown table { width: 100%; border-collapse: collapse; margin: 1.5em 0; }
.bv-markdown th, .bv-markdown td { border: 1px solid rgba(255,255,255,.15); padding: 10px 12px; }
.bv-markdown th { background: rgba(255,255,255,.06); }

.bv-post-tags { margin-top: 50px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.12); }
.bv-tags-label { margin-right: 10px; opacity: .6; }
.bv-post-tags a {
  display: inline-block;
  margin: 0 8px 8px 0;
  padding: 5px 14px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 9999px;
  font-size: 14px;
  color: var(--bv-white);
}
.bv-post-tags a:hover { border-color: var(--bv-yellow); color: var(--bv-yellow); }

/* 文章卡片列表 —— 复刻 WP blog layout 4 grid（3 列卡片网格，图在上 / 文在下） */
.bv-post-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
}
.bv-post-card {
  display: flex;
  flex-direction: column;
  background-color: var(--bv-deep);            /* 暗色卡片底，对齐 WP .ast-article-inner */
  border-top-right-radius: 40px;
  border-bottom-left-radius: 40px;
  overflow: hidden;
  box-shadow: 0 6px 18px -4px rgba(0,0,0,.35);
  transition: transform .3s ease;
}
.bv-post-card:hover { transform: translateY(-4px); }
.bv-post-card__thumb { display: block; overflow: hidden; }
.bv-post-card__thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
@supports not (aspect-ratio: 4 / 3) { .bv-post-card__thumb img { height: 240px; } }
.bv-post-card__thumb:hover img { transform: scale(1.08); }
.bv-post-card__body { padding: 26px 26px 32px; }
.bv-post-card__cat {
  font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  color: var(--bv-yellow); margin-bottom: 10px;
}
.bv-post-card__title { font-size: 1.375rem; line-height: 1.25; margin-bottom: 10px; font-weight: 700; }
.bv-post-card__title a { color: var(--bv-white); }
.bv-post-card__title a:hover { color: var(--bv-yellow); }
.bv-post-card .bv-post-meta { margin-bottom: 14px; }
.bv-post-card__excerpt { opacity: .85; margin-bottom: 18px; }
.bv-page-lead { max-width: 720px; margin: 14px auto 0; opacity: .8; text-align: center; }

/* Blog 专页：缩小页头上方留白 + 页面大标题加粗 */
.bv-blog { padding-top: 40px; }
.bv-blog .entry-title { font-weight: 700; }

/* 文章页底部：相关推荐 Related Posts（复用 .bv-post-card 暗色卡片） */
.bv-related { margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid rgba(255,255,255,.12); }
.bv-related__title { font-size: 1.5rem; font-weight: 700; margin-bottom: 1.5rem; color: var(--bv-white); }
.bv-related__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (max-width: 600px) { .bv-related__list { grid-template-columns: 1fr; } }

.bv-pagination { display: flex; justify-content: space-between; margin-top: 60px; }
.bv-pagination__link {
  padding: 12px 24px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 9999px;
  color: var(--bv-white);
}
.bv-pagination__link:hover { border-color: var(--bv-yellow); color: var(--bv-yellow); }

/* =============================================================================
 * FOOTER
 * ========================================================================== */
.site-footer { background: var(--bv-deep); }
.site-below-footer-inner-wrap { padding: 25px 20px; text-align: center; }
.ast-footer-copyright p { margin: 0; font-size: 14px; color: var(--bv-white); opacity: .7; }

/* =============================================================================
 * 响应式（断点沿用原站 976px / 767px）
 * ========================================================================== */
@media only screen and (max-width: 976px) {
  .bv-row { flex-wrap: wrap; row-gap: 40px; }
  .bv-col--25 { max-width: 50%; }
  .bv-col--33 { max-width: 100%; }
  .bv-col--50 { max-width: 100%; }

  .bv-hero { padding-top: 140px; padding-bottom: 80px; padding-left: 32px; padding-right: 32px; }
  .bv-hero .bv-desc { margin-left: 0; margin-right: 0; }
  .bv-about, .bv-services, .bv-stats { padding-top: 80px; padding-bottom: 80px; padding-left: 32px; padding-right: 32px; }
  .bv-approach { padding-top: 90px; padding-bottom: 80px; }
  .bv-cta { padding-top: 90px; padding-bottom: 90px; padding-left: 32px; padding-right: 32px; }
  .bv-cta .bv-desc { margin-left: 0; margin-right: 0; }

  .site-header-primary-section-center { display: none; }
  .site-header-primary-section-right { display: none; }
  .menu-toggle { display: block; }

  .bv-journey { background-size: cover; background-position: 50% 50%; }
  .bv-journey__panel { max-width: 100%; margin-right: 0; padding: 60px 32px; background: rgba(11,35,41,.93); }

  .bv-post-list { grid-template-columns: repeat(2, 1fr); gap: 32px 28px; }
  .bv-post-card__thumb img { aspect-ratio: 16 / 10; }
}

@media only screen and (max-width: 767px) {
  .bv-hero { padding-top: 150px; padding-bottom: 80px; padding-left: 24px; padding-right: 24px; }
  .bv-about, .bv-services, .bv-stats, .bv-cta { padding-left: 24px; padding-right: 24px; }
  .bv-approach { padding-left: 24px; padding-right: 24px; }
  .bv-col--25 { max-width: 50%; }
  .bv-journey__panel { padding: 48px 24px; }
  .bv-btn--outline { padding: 15px 28px; }
  .bv-counter__number { font-size: 40px; }
  .bv-service-card { padding: 30px; min-height: 300px; }
  .bv-post, .bv-page { padding: 50px 16px; }
  .bv-post-list { grid-template-columns: 1fr; gap: 28px; }
}

/* Approach 步骤编号 01/02/03：黄色强调（对齐原站 .uagb-ifb-title-prefix） */
.bv-step-num { color: var(--bv-yellow); }

/* 防御：导航条绝对不能有分隔线/阴影（解决其下方半透明白线） */
.site-header, .site-primary-header-wrap { box-shadow: none; }

/* 卡片标题（原站 Spectra infobox 标题用 <strong> 包裹，即 700） */
.bv-title--bold { font-weight: 700; }

/* 部分 section 小标签改黄色（About Us / Our Services / Our Journey / Our Unique Approach） */
.bv-eyebrow--accent { color: var(--bv-yellow); }

/* =============================================================================
 * ABOUT 页面（参考 WordPress About 页：hero + About Us + Our Purpose/Core Beliefs + FAQ + CTA）
 * ========================================================================== */

/* 导航与 hero 共享同一张背景图：透明页眉覆盖在 hero 上（对齐首页 .layout-home） */
.layout-about .site-header {
  position: absolute;
  left: 0; right: 0;
  background: transparent;
  border-bottom: 1px solid rgba(255,255,255,.25);
}
.layout-about .bv-hero { padding-top: 210px; padding-bottom: 120px; }
.bv-hero--about { background-image: url(../images/great-wall.jpg); }   /* About 页专属头图，与导航共享（区别于首页 hero.jpg） */

/* 多个 .bv-about 相邻时收紧间距，避免过大空白 */
.layout-about .bv-about { padding-top: 70px; padding-bottom: 70px; }

/* Common Questions 区块：背景色与上方(Purpose/Beliefs)区分，用更深一档的暗色 */
.bv-about--alt { background-color: #06171b; }

/* About Us：eyebrow「About Us」与 h2 标题收紧间距（原约 39px → 约 12px） */
.bv-about .bv-about-head { row-gap: 8px; }
.bv-about .bv-about-head .bv-eyebrow { margin-bottom: 4px; }

/* About hero 文字在背景中水平居中（对齐原站 hero 居中排版） */
.layout-about .bv-hero .bv-infobox,
.layout-about .bv-hero .bv-eyebrow,
.layout-about .bv-hero .bv-title { text-align: center; }

/* About Us：上文字左右两栏 + 下整幅图片 */
.bv-about .bv-col--50 .bv-body { margin: 0; }
.bv-about-figure { width: 100%; margin-top: 56px; }
.bv-about-figure img {
  width: 100%; height: 420px; object-fit: cover; object-position: center;
  border-top-right-radius: 50px;
  border-bottom-left-radius: 50px;   /* 左下角也圆角，对齐卡片风格 */
}
/* FAQ 右侧配图与「Common Questions」标题顶部对齐：去掉 .bv-about-figure 的 56px 上间距 */
.bv-faq-row .bv-about-figure { margin-top: 0; }
/* About Us 右栏：副标题(h3)与正文(p)间距加大（对齐原站更宽松的排版） */
.bv-about-intro { row-gap: 28px; }

/* FAQ 手风琴（左栏；对齐原站 .uagb-faq：可展开、首项默认展开、黄色向下三角） */
.bv-faq-row { align-items: stretch; }
.bv-faq { margin-top: 28px; }
/* 每个 FAQ 项一个白色描边框（对齐原站手风琴卡片） */
.bv-faq-item {
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 0;
  padding: 0 22px;
  margin-bottom: 16px;
}
.bv-faq-item:last-child { margin-bottom: 0; }
.bv-faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 22px 0; color: var(--bv-white); font-family: var(--bv-font);
  font-size: 20px; font-weight: 600; line-height: 1.3;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
/* 向下三角（chevron），展开时旋转 180° 指向上（对齐原站 SVG 箭头） */
.bv-faq-q .bv-faq-icon { flex: 0 0 auto; position: relative; width: 14px; height: 14px; }
.bv-faq-q .bv-faq-icon::before {
  content: ""; position: absolute; left: 1px; top: -3px;
  width: 10px; height: 10px;
  border-right: 2px solid var(--bv-yellow);
  border-bottom: 2px solid var(--bv-yellow);
  transform: rotate(45deg);                 /* 向下 ▼ */
  transition: transform .25s ease;
}
.bv-faq-item.is-open .bv-faq-icon::before { transform: rotate(225deg); }  /* 向上 ▲ */
.bv-faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.bv-faq-a__inner { padding: 0 0 22px; color: var(--bv-white); opacity: .9; }
.bv-faq-a__inner p { margin: 0; }

/* Our Purpose / Core Beliefs：收紧标题与正文间距（对齐原站更紧凑的排版） */
.bv-purpose-beliefs .bv-stack--left { row-gap: 14px; }
.bv-purpose-beliefs .bv-eyebrow { margin-bottom: 4px; }
.bv-purpose-beliefs .bv-title { margin-bottom: 6px; }

/* 导航当前项高亮（对齐原站 .current-menu-item 黄色下划线） */
.main-header-menu .menu-item.current-menu-item > .menu-link,
.main-header-menu .menu-item.current-menu-item > .menu-link:hover { color: var(--bv-yellow); }
.main-header-menu .menu-item.current-menu-item > .menu-link::after { transform: scaleX(1); background: var(--bv-yellow); }
.mobile-nav-drawer .menu-item.current-menu-item > .menu-link { color: var(--bv-yellow); }

/* ===== Contact 页面 ===== */
.bv-contact { padding-top: 40px; }   /* 与 Blog 页一致，缩小页头上方留白 */
.bv-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  margin-top: 8px;
}
.bv-contact-info { padding-right: 8px; font-size: 1.0625rem; line-height: 1.65; }
.bv-contact-info p { opacity: .85; margin-bottom: 16px; }
.bv-contact-info h3 {
  color: var(--bv-yellow);
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 22px 0 10px;
}
.bv-contact-info ul { margin: 0 0 16px; padding-left: 20px; }
.bv-contact-info li { margin-bottom: 8px; opacity: .85; }
.bv-contact-info strong { font-weight: 700; }
.bv-contact-info a { color: var(--bv-yellow); }

.bv-contact-form-wrap {
  background-color: var(--bv-deep);
  border-top-right-radius: 40px;
  border-bottom-left-radius: 40px;
  padding: 40px;
}
.bv-form { display: flex; flex-direction: column; gap: 18px; }
.bv-form__row { display: flex; flex-direction: column; gap: 8px; }
.bv-form label { font-size: 14px; font-weight: 600; color: var(--bv-white); letter-spacing: .3px; }
.bv-form input,
.bv-form textarea {
  width: 100%;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 4px;
  padding: 12px 14px;
  color: var(--bv-white);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.45;
  transition: border-color .2s ease, background .2s ease;
}
.bv-form input::placeholder,
.bv-form textarea::placeholder { color: rgba(255,255,255,.4); }
.bv-form input:focus,
.bv-form textarea:focus {
  outline: none;
  border-color: var(--bv-yellow);
  background: rgba(255,222,47,.06);
}
.bv-form textarea { resize: vertical; min-height: 130px; }
.bv-form .bv-btn--solid { align-self: flex-start; margin-top: 4px; cursor: pointer; }
.bv-form .bv-btn--solid:disabled { opacity: .6; cursor: progress; }
.bv-form__status { font-size: 14px; min-height: 1.2em; margin: 0; }

/* Honeypot：移出可视区，不用 display:none（部分机器人会跳过隐藏字段） */
.bv-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}
/* Turnstile 组件占位，避免加载中布局跳动 */
.bv-form__turnstile { min-height: 65px; }
.bv-form__status.is-success { color: var(--bv-yellow); }
.bv-form__status.is-error { color: #ff8a8a; }

@media (max-width: 768px) {
  .bv-contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .bv-contact-form-wrap { padding: 30px 22px; }
}

/* ===== Contact 页 hero（与 About 一致：透明页眉覆盖 + great-wall.jpg 背景） ===== */
.layout-contact .site-header {
  position: absolute;
  left: 0; right: 0;
  background: transparent;
  border-bottom: 1px solid rgba(255,255,255,.25);
}
.layout-contact .bv-hero { padding-top: 210px; padding-bottom: 120px; }
.bv-hero--contact {
  background-image: url(../images/great-wall.jpg);   /* 与 About 共享头图 */
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}
.bv-hero--contact .bv-infobox,
.bv-hero--contact .bv-eyebrow,
.bv-hero--contact .bv-title { text-align: center; }

/* 联系信息卡（Address / Email / Social Media）*/
.bv-contact-info-section { background-color: var(--bv-bg); padding-top: 72px; padding-bottom: 24px; }
.bv-contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.bv-contact-card {
  background: var(--bv-deep);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  padding: 40px 32px;
  text-align: center;
}
.bv-contact-card__title {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--bv-white);
}
.bv-contact-card__desc {
  margin: 0;
  opacity: .85;
  font-size: 15px;
  line-height: 1.6;
}
.bv-contact-card__desc a { color: var(--bv-yellow); }

/* 社媒图标 */
.bv-social {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 14px;
}
.bv-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  color: var(--bv-white);
  transition: background .2s, color .2s, border-color .2s;
}
.bv-social__link:hover { background: var(--bv-yellow); color: var(--bv-deep); border-color: var(--bv-yellow); }
.bv-social__link svg { width: 18px; height: 18px; fill: currentColor; }

@media (max-width: 768px) {
  .bv-contact-cards { grid-template-columns: 1fr; gap: 20px; }
  .bv-contact-info-section { padding-top: 48px; }
}
