/* ============================================================
   Structured Media Block · 规模与产能的硬底座
   scoped：仅 manufacturing-draft.html 引用，不污染全站 style.css
   ============================================================ */

/* 板块背景统一浅灰 #F8F8F8，去掉原装饰底图 */
.section.mfg-media-block {
  position: relative;
  background: #F8F8F8;
  overflow: hidden;
}
.mfg-media-block .zone__bg { display: none; }
/* 白色变体：国际一线设备板块背景维持白色（区别于硬底座的 #F8F8F8） */
.section.mfg-media-block.mb-white { background: #fff; }

/* ---------- 上方：Headline + Bullet Points ---------- */
.mb-head {
  max-width: 920px;
  margin: 0 auto 40px;
}
.mb-head .eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #DA1884;
  margin-bottom: 12px;
}
.mb-title {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  color: #1a1a1a;
  margin: 0 0 26px;
}
.mb-title .accent { color: #DA1884; }

.mb-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 44px;
}
.mb-bullets li {
  position: relative;
  padding-left: 24px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #3a3f47;
}
/* 小圆点 = 品牌主色 #DA1884 */
.mb-bullets li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .7em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #DA1884;
  flex: none;
}
.mb-bullets li b {
  color: #1a1a1a;
  font-weight: 700;
}
@media (max-width: 768px) {
  .mb-bullets { grid-template-columns: 1fr; gap: 14px; }
  .mb-head { margin-bottom: 30px; }
}

/* ---------- 下方：水平并排 Image Cards 轮播 ---------- */
.mb-carousel-wrap {
  position: relative;
}
.mb-carousel {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;            /* Firefox 隐藏滚动条 */
  padding: 4px 0 6px;
}
.mb-carousel::-webkit-scrollbar { display: none; }  /* Webkit 隐藏滚动条 */

.mb-card {
  flex: 0 0 460px;
  width: 460px;
  height: 310px;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  border-radius: 14px;
  overflow: hidden;                 /* 放大动画不溢出框 */
}

/* 图区：纯色占位 / 真图，悬停内部放大（占满卡片剩余高度，保证等高） */
.mb-photo {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  background-color: #E8E4DD;        /* 纯色占位底（待补真图） */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  transform: scale(1);
  transition: transform .6s ease;
}
.mb-card:hover .mb-photo { transform: scale(1.06); }   /* 悬停放大动画 */

.mb-cap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  font-size: .98rem;
  font-weight: 600;
  line-height: 1.45;
  color: #8a828c;
  background: linear-gradient(180deg, rgba(244, 241, 236, 0) 30%, rgba(244, 241, 236, .85) 100%);
}

/* 真图启用：填 .mb-photo 的 data-img（非空）即显示真图并隐藏占位文字 */
.mb-photo[data-img]:not([data-img=""]) .mb-cap { display: none; }

.mb-card__body {
  padding: 14px 16px 18px;
}
.mb-card__body h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 5px;
}
.mb-card__body p {
  font-size: .86rem;
  line-height: 1.5;
  color: #6b6470;
  margin: 0;
}

/* ---------- 左右箭头导航 ---------- */
.mb-nav {
  position: absolute;
  top: calc(50% - 26px);
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(26, 26, 26, .12);
  background: rgba(255, 255, 255, .94);
  color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(26, 26, 26, .12);
  z-index: 3;
  transition: background .2s ease, color .2s ease;
}
.mb-nav:hover { background: #DA1884; color: #fff; border-color: #DA1884; }
.mb-nav svg { width: 22px; height: 22px; }
.mb-nav--prev { left: -8px; }
.mb-nav--next { right: -8px; }
/* 桌面：轮播可视区放宽到正好容纳 3 张卡（3×460 + 2×18 = 1416），首屏完整显示 3 张、不裁切半张 */
@media (min-width: 1024px) {
  .mfg-media-block .container { max-width: 1472px; padding-inline: 12px; }
  .mb-carousel { max-width: 1416px; margin-inline: auto; }
}
@media (max-width: 768px) {
  .mb-nav { display: none; }   /* 移动端用横滑手势 */
  /* 移动端卡片等比缩小，保证单卡完整可见、不横滑过头 */
  .mb-card {
    flex: 0 0 78vw;
    width: 78vw;
    height: auto;
    min-height: 230px;
  }
  .mb-photo { aspect-ratio: 4 / 3; flex: none; }  /* 移动端恢复比例，避免被压扁 */
}

/* 兼容：media-block 轮播内若残留旧 equip-card（长 SVG 路径无法精确替换），隐藏之；
   对应纯图卡已用 .mb-card 占位替代，轮播仍呈现 6 张等高纯图卡 */
.mb-carousel .equip-card { display: none; }
