/* ============================================================
   WP MCP Server Pro — 麦邦官网 · 企业数字化服务
   配色全面参照 真福利(zhenfuli.com)
   主橙 #2563eb · 深色 #0d1b3a · 页面底 #eef3fb · 正文 #2a2a2a
   ============================================================ */

/* ---------- 页面基调 ---------- */
html, body {
  background-color: #eef3fb !important;
  color: #2a2a2a !important;
}
.site, .site-container { background-color: #f5f8ff; }
p { color: #4a4a4a; line-height: 1.85; }
h1,h2,h3,h4 { color: #17233d !important; font-weight: 700; letter-spacing: .4px; }

/* ---------- 全屏布局：彻底去掉左右留白，整页通栏 ---------- */
/* 防止 100vw 引起的横向滚动条 */
html { overflow-x: hidden; }
body { overflow-x: hidden; }

/* 所有 Astra 容器通栏 */
.site, .site-content, #content,
.site-header .ast-container,
.site-footer .ast-container,
.ast-container {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
#content.site-content { padding: 0 !important; }

/* 内容主体去掉内边距，全宽 */
#primary.content-area,
#main.site-main,
#main article,
#main .entry-content,
.entry-content[data-ast-blocks-layout] {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}
/* Astra 把 .site-content 背景设为白色 -> 改回麦邦浅灰，铺满全屏 */
.site-content, .ast-plain-container .site-content,
.ast-plain-container, body {
  background-color: #eef3fb !important;
}
/* 让 .alignfull / 全幅块真正出血到边缘，消除两侧留白 */
.ast-plain-container.ast-no-sidebar .entry-content > .alignfull,
.ast-page-builder-template .ast-no-sidebar .entry-content > .alignfull {
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
  max-width: 100vw !important;
  width: 100vw !important;
}

/* 正文可读宽度：卡片网格 / 区块标题 / 内页正文居中限宽 */
.wp-block-columns.mb-grid,
h2.mb-sec-title,
.mb-page-body {
  max-width: 1200px;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* ---------- 全屏分栏背景：每个版块全幅通栏（交替色带） ---------- */
.mb-band {
  position: relative;
  width: 100%;
  padding: 12px 0;
}
.mb-band-inner {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 5vw;
}
.band-light { background: #ffffff; }
.band-gray  { background: #eaf1fb; }
.band-dark  { background: #101f44; }
.band-deep  { background: #f5f8ff; }
.band-orange{ background: linear-gradient(221deg,#6ea8ff,#1e40af 42%,#2563eb); }
.band-dark h2.mb-sec-title { color: #ffffff !important; }
.band-dark h2.mb-sec-title::after { background: linear-gradient(90deg,#6ea8ff,#2563eb); }
.band-orange h2.mb-sec-title { color: #ffffff !important; }
.band-orange h2.mb-sec-title::after { background: rgba(255,255,255,.85); }

/* 数据长廊：全屏橙色通栏（不受可读宽度限制） */
.wp-block-group.mb-datalane {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  border-radius: 0 !important;
}


/* ---------- 顶部导航：白底，激活橙 ---------- */
.site-header, .site-header-wrap, .main-navigation .menu-container {
  background: #ffffff !important;
  border-bottom: 1px solid #ece7e4;
  box-shadow: 0 1px 6px rgba(25,25,25,.05);
}
.site-header .menu-container { box-shadow: none; }
.main-navigation .current-menu-item > a { color: #2563eb !important; font-weight: 700; }
.site-header .menu-item > a { color: #0d1b3a; }
.site-header .menu-item > a:hover { color: #2563eb; }
.main-navigation .current-menu-item > a::after { background: #2563eb; }

/* ---------- 链接 ---------- */
a { color: #2563eb; }
a:hover { color: #60a5fa; }

/* ---------- 页首 hero ---------- */
.wp-block-cover.mb-hero {
  background: linear-gradient(160deg,#e8f0ff,#d6e4ff) !important;
}
.wp-block-cover__inner-container h1 {
  font-size: clamp(2.1rem,5vw,3.7rem);
  color: #1e3a8a !important;
  line-height: 1.22;
  background: none; -webkit-text-fill-color: initial;
}
.wp-block-cover__inner-container p { color: #4a5a89; max-width: 620px; }
.mb-hero-img {
  display: block;
  width: 250px; max-width: 64%;
  margin: 4px auto 16px;
  filter: drop-shadow(0 12px 24px rgba(37,99,235,.22));
}

/* ---------- CTA 按钮（橙渐变 + 描边次要按钮） ---------- */
.wp-block-button__link {
  background: linear-gradient(221deg,#6ea8ff,#1e40af 37%,#2563eb) !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 14px rgba(37,99,235,.35);
  padding: 12px 26px !important;
  font-weight: 600;
}
.wp-block-button__link:hover { box-shadow: 0 6px 20px rgba(37,99,235,.5); }
.wp-block-button.is-style-outline .wp-block-button__link {
  background: #ffffff !important;
  color: #2563eb !important;
  border: 2px solid #2563eb !important;
  box-shadow: none !important;
}

/* ---------- 区块标题：居中 + 橙横线 ---------- */
h2.mb-sec-title {
  position: relative;
  padding-bottom: 16px;
  margin: 46px 0 26px;
  text-align: center;
  color: #17233d !important;
}
h2.mb-sec-title::after {
  content: "";
  position: absolute; left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 56px; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg,#6ea8ff,#2563eb);
}

/* ---------- 网格 ---------- */
.wp-block-columns.mb-grid { gap: 20px; }
.wp-block-columns.mb-grid .mb-cell { display: flex; }
.wp-block-columns.mb-grid .mb-cell > * { width: 100%; }

/* ---------- 白色服务卡 ---------- */
.wp-block-group.mb-card {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  text-align: center;
  background: #ffffff !important;
  border: 1px solid #f0e6de !important;
  border-radius: 14px !important;
  padding: 28px 22px;
  box-shadow: 0 2px 12px rgba(25,25,25,.05);
  transition: all .25s ease;
  min-height: 172px;
}
.wp-block-group.mb-card:hover {
  transform: translateY(-5px);
  border-color: #9cc0ff !important;
  box-shadow: 0 12px 30px rgba(37,99,235,.16);
}
.mb-card-icon { width: 62px; height: 62px; margin: 0 auto 14px; flex: 0 0 auto; }
.wp-block-group.mb-card h3 { margin: 0 0 8px; font-size: 1.12rem; color: #17233d !important; }
.wp-block-group.mb-card p { margin: 0; font-size: .94rem; color: #4a4a4a; }

/* 核心价值卡：浅橙底 */
.wp-block-group.mb-card.mb-card-val {
  background: linear-gradient(180deg,#f2f7ff,#e6eeff) !important;
  border-color: #f5dccd !important;
}

/* 行业方案：深色卡 + hover 橙滑入 */
.wp-block-group.mb-card.mb-card-sol {
  position: relative;
  background: #0d1b3a !important;
  overflow: hidden;
}
.wp-block-group.mb-card.mb-card-sol::after {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; bottom: 0;
  background: #2563eb;
  transform: translateY(100%);
  transition: transform .3s ease-in;
  z-index: 0;
}
.wp-block-group.mb-card.mb-card-sol:hover::after { transform: translateY(0); }
.wp-block-group.mb-card.mb-card-sol > * { position: relative; z-index: 1; }
.wp-block-group.mb-card.mb-card-sol h3,
.wp-block-group.mb-card.mb-card-sol p { color: #ffffff !important; }
.wp-block-group.mb-card.mb-card-sol:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(10,19,42,.5); }

/* ---------- 数据长廊：橙渐变条 + 白数字 ---------- */
.wp-block-group.mb-datalane {
  background: linear-gradient(221deg,#6ea8ff,#1e40af 42%,#2563eb) !important;
  border: none !important;
  border-radius: 18px !important;
  padding: 30px 16px;
  margin-top: 16px;
  box-shadow: 0 10px 26px rgba(37,99,235,.35);
}
.wp-block-group.mb-datalane h2 { margin-top: 0 !important; color: #ffffff !important; }
.wp-block-group.mb-datalane h2::after { background: rgba(255,255,255,.85); }
.wp-block-columns.mb-datalane-grid { gap: 16px; }
.wp-block-group.mb-stat {
  text-align: center;
  background: rgba(255,255,255,.16) !important;
  border: 1px solid rgba(255,255,255,.35) !important;
  border-radius: 12px !important;
  padding: 20px 10px;
}
.mb-stat-num { margin: 0; font-size: clamp(1.6rem,3vw,2.2rem) !important; font-weight: 800;
  color: #ffffff !important; font-variant-numeric: tabular-nums; }
.mb-stat-lab { margin: 6px 0 0 !important; font-size: .9rem; color: rgba(255,255,255,.92) !important; }

/* ---------- 承诺徽章 ---------- */
.wp-block-group.mb-card.mb-card-prm {
  background: linear-gradient(180deg,#f2f7ff,#e6eeff) !important;
  border-color: #f5d9c8 !important;
}
.wp-block-group.mb-card.mb-card-prm h3 { color: #2563eb !important; }

/* ---------- 关于 / CTA ---------- */
.wp-block-group.mb-about {
  max-width: 720px;
  margin-left: auto; margin-right: auto;
  text-align: center;
  background: #ffffff !important;
  border: 1px solid #f0e6de !important;
  border-radius: 14px !important;
  padding: 26px 28px;
  box-shadow: 0 2px 12px rgba(25,25,25,.05);
}
.mb-cta-line { text-align: center; font-size: 1.05rem; color: #4a4a4a !important; }

/* ---------- 子页面通用 ---------- */
.mb-page { max-width: 860px; margin: 0 auto; padding: 20px 16px; }
.mb-page h1 { font-size: clamp(1.9rem,4vw,2.6rem); }

/* ---------- 页脚深色 ---------- */
.site-footer, .site-footer-wrap {
  background: #0d1b3a !important;
  color: #b8bcc4;
  border-top: none;
}
.site-footer a { color: #e7e9ed; }
.site-footer a:hover { color: #6ea8ff; }

/* ---------- 滚动条 ---------- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #eef3fb; }
::-webkit-scrollbar-thumb { background: #9cc0ff; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: #2563eb; }

/* ---------- 通用卡片 ---------- */
.wp-block-group, .wp-block-column { border-radius: 10px !important; }
.wp-block-columns .wp-block-column p { color: #4a4a4a; }

/* ---------- 全屏轮播图 Hero ---------- */
.mb-carousel {
  position: relative;
  width: 100%;
  height: min(90vh, 760px);
  min-height: 500px;
  overflow: hidden;
  background: #0d1b3a;
}
.mb-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity .7s ease;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}
.mb-slide.active { opacity: 1; visibility: visible; z-index: 2; }
.mb-slide::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,19,42,.78) 0%, rgba(10,19,42,.45) 55%, rgba(10,19,42,.10) 100%);
}
.mb-slide-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 5vw;
  color: #fff;
}
.mb-eyebrow {
  display: inline-block;
  font-size: .85rem;
  letter-spacing: 2px;
  color: #9cc0ff;
  text-transform: uppercase;
  margin-bottom: 14px;
  padding: 6px 14px;
  border: 1px solid rgba(255,192,143,.5);
  border-radius: 999px;
}
.mb-slide-inner h1 {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  color: #ffffff !important;
  margin: 0 0 16px;
  line-height: 1.2;
  max-width: 760px;
}
.mb-sub { font-size: clamp(1rem,1.6vw,1.2rem); color: rgba(255,255,255,.92) !important; max-width: 560px; margin: 0 0 28px; }
.mb-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.mb-btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all .25s ease;
}
.mb-btn-solid {
  background: linear-gradient(221deg,#6ea8ff,#1e40af 37%,#2563eb);
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(37,99,235,.45);
}
.mb-btn-solid:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(37,99,235,.6); }
.mb-btn-ghost {
  background: #ffffff;
  color: #2563eb !important;
  border: 2px solid #2563eb;
}
.mb-btn-ghost:hover { background: #fff4ee; }

/* 轮播指示点 */
.mb-dots {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}
.mb-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.55);
  cursor: pointer;
  transition: all .3s ease;
}
.mb-dots span.active { background: #2563eb; width: 26px; border-radius: 6px; }

/* 轮播左右箭头 */
.mb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,.28);
  border: none;
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: background .25s ease;
}
.mb-arrow:hover { background: rgba(37,99,235,.9); }
.mb-arrow.prev { left: 3vw; }
.mb-arrow.next { right: 3vw; }

/* ---------- 内页页首 Banner ---------- */
.mb-page-hero {
  width: 100%;
  padding: 70px 5vw;
  background: linear-gradient(120deg,#dfe9ff,#c7d8ff);
}
.mb-page-hero h1 {
  font-size: clamp(1.8rem,4vw,2.8rem);
  color: #1e3a8a !important;
  margin: 0 0 12px;
}
.mb-page-hero p { max-width: 720px; color: #4a5a89; font-size: 1.08rem; }
.mb-page-body { max-width: 1120px; margin: 0 auto; padding: 40px 20px; }

/* 流程步骤 / 价值 / 联系 */
.mb-flow-step, .mb-vals-card, .mb-contact-card {
  background: #ffffff;
  border: 1px solid #f0e6de;
  border-radius: 12px;
  padding: 24px 20px;
  min-width: 190px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(25,25,25,.05);
}
.mb-flow-step b, .mb-vals-card b, .mb-contact-card b {
  color: #2563eb; font-size: 1.1rem;
}
.mb-flow-step p, .mb-vals-card p, .mb-contact-card p {
  color: #4a4a4a; font-size: .92rem; margin: 8px 0 0;
}

/* ---------- 响应式 ---------- */
@media (max-width: 640px) {
  .wp-block-columns.mb-grid { gap: 14px; }
  .wp-block-group.mb-card { min-height: 0; padding: 20px 16px; }
  .mb-carousel { min-height: 460px; }
  .mb-arrow { display: none; }
  .mb-slide-inner { padding: 0 6vw; }
}

/* ---------- 去掉页面顶部的大标题「首页」等 ---------- */
.entry-header, .ast-title-layout-color, 
.ast-page-title-wrap, header.entry-header { display: none !important; }

/* 首页轮播紧贴顶部导航（消除上方空白/标题占位） */
.page-id-88 .entry-content { margin-top: 0; }
.ast-plain-container .entry-content { margin-top: 0 !important; }

/* 首页不显示面包屑/副标题 */
.ast-breadcrumbs-wrapper, .ast-title-bar-content { display: none !important; }

/* ===== 终极全宽修复：把 Astra 容器强制 100% ===== */
.site-content > .ast-container,
#content > .ast-container,
.site .ast-container,
#content .ast-container {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
@media (min-width:922px){
  .site-content .ast-container { max-width: 100% !important; width: 100% !important; }
}
/* 内容主体亦全宽 */
.site-content, #content, #primary, main.site-main,
article, .entry-content, .entry-content[data-ast-blocks-layout] {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* 关键修复：Astra 对内层条目给 1200px 限宽，覆盖为全宽 */
.entry-content[data-ast-blocks-layout] > .mb-carousel,
.entry-content[data-ast-blocks-layout] > .mb-band,
.entry-content[data-ast-blocks-layout] > .mb-datalane {
  max-width: 100% !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* 内页页首 banner 与内容也要全宽通栏 */
.entry-content[data-ast-blocks-layout] > .mb-page-hero,
.entry-content[data-ast-blocks-layout] > .mb-page-body,
.entry-content[data-ast-blocks-layout] > .mb-band,
.entry-content[data-ast-blocks-layout] > * {
  max-width: 100% !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* ===== zhenfuli 风格模块 ===== */
/* 小节头：标题+副标题 */
.mb-sec-head { text-align: center; margin-bottom: 30px; }
.mb-sec-sub { color: #5a6b8a !important; font-size: 1.02rem; margin-top: 10px; }

/* 核心价值行 */
.mb-val-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.mb-val { text-align: center; padding: 26px 20px; }
.mb-val-img { width: 150px; height: 112px; object-fit: contain; margin-bottom: 14px; border-radius: 12px; }
.mb-val h3 { margin: 0 0 8px; color: #17233d !important; }
.mb-val p { color: #4a5a80; font-size: .95rem; }

/* 应用场景 chips */
.mb-chip-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.mb-chip {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  background: #fff; border: 1px solid #dfe6f2; color: #34445f !important;
  font-weight: 500; text-decoration: none; transition: all .2s ease;
}
.mb-chip:hover { border-color: #2563eb; color: #2563eb !important; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(37,99,235,.15); }
.mb-chip-cta { background: linear-gradient(221deg,#6ea8ff,#2563eb); color: #fff !important; border: none; }

/* 产品模块图卡 (zhenfuli SaaS card) */
.mb-module-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.mb-module {
  background: #fff; border: 1px solid #e3eaf5; border-radius: 14px; overflow: hidden;
  box-shadow: 0 2px 12px rgba(25,25,25,.05); transition: all .25s ease;
}
.mb-module:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(37,99,235,.16); }
.mb-module-img { width: 100%; height: 150px; object-fit: cover; border-bottom: 1px solid #f3efe9; }
.mb-module-body { padding: 18px 20px 20px; }
.mb-module-body h3 { margin: 0 0 8px; font-size: 1.12rem; color: #17233d !important; }
.mb-module-body p { margin: 0 0 12px; font-size: .92rem; color: #4a5a80; }
.mb-link { color: #2563eb !important; font-weight: 600; text-decoration: none; font-size: .95rem; }
.mb-link:hover { text-decoration: underline; }

/* 行业方案 深色图卡 */
.mb-sol-row { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
.mb-sol {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: #0e1e42; border-radius: 14px; text-decoration: none;
  box-shadow: 0 4px 18px rgba(0,0,0,.25); transition: all .25s ease;
}
.mb-sol:hover { transform: translateY(-5px); }
.mb-sol img { width: 100%; height: 170px; object-fit: cover; }
.mb-sol-body { padding: 20px 22px; }
.mb-sol-body h3 { margin: 0 0 8px; color: #fff !important; font-size: 1.15rem; }
.mb-sol-body p { margin: 0 0 12px; color: rgba(255,255,255,.78) !important; font-size: .95rem; }
.mb-sol .mb-link { color: #9cc0ff !important; }

/* 数据长廊带内 */
.mb-datalane-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }

/* 响应式 */
@media (max-width: 900px){ .mb-val-row,.mb-module-row { grid-template-columns: repeat(2,1fr); } .mb-sol-row{grid-template-columns:1fr;} }
@media (max-width: 640px){ .mb-val-row,.mb-module-row { grid-template-columns: 1fr; } .mb-datalane-grid{grid-template-columns: repeat(2,1fr);} }

/* ===== 真实照片模块卡 ===== */
.mb-module-photo {
  height: 150px; width: 100%;
  background-size: cover; background-position: center center;
  position: relative;
}
.mb-module-photo::after {
  content:""; position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(10,19,42,0) 40%, rgba(10,19,42,.5) 100%);
}
.mb-module-illust { height: 150px; display:flex; align-items:center; justify-content:center; background:#f2f7ff; }
.mb-module-illust img { width: 150px; height: 112px; object-fit: contain; }

/* 价值区插图 */
.mb-val-illu { overflow:hidden; border-radius:16px; background:linear-gradient(180deg,#eef4ff,#e0ebff); }
.mb-val-img { width:100%; height:120px; object-fit: cover; }
.mb-val .mb-val-illu { margin-bottom: 14px; }
.mb-val h3 { margin:0 0 8px; color:#17233d!important; }
.mb-val p { color:#5a6b8a; font-size:.95rem; }

/* 方案照片卡 */
.mb-sol-photo {
  height: 170px; width:100%;
  background-size: cover; background-position:center; 
  border-bottom: 1px solid #16244a;
}

/* ===== 内页页首：真实照片背景 ===== */
.mb-page-hero-photo {
  position: relative;
  background-size: cover !important;
  background-position: center center !important;
  padding: 90px 5vw;
  overflow: hidden;
}
.mb-page-hero-mask {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,19,42,.82) 0%, rgba(10,19,42,.55) 55%, rgba(10,19,42,.25) 100%);
}
.mb-page-hero-content { position: relative; z-index: 2; max-width: 760px; }
.mb-page-hero-photo h1 { color: #ffffff !important; }
.mb-page-hero-photo p { color: rgba(255,255,255,.92) !important; }
