:root {
  --mfg-navy: #061c32;
  --mfg-blue: #1267c7;
  --mfg-text: #172436;
  --mfg-muted: #6d7887;
  --mfg-line: #e6ebf1;
  --mfg-soft: #f7f9fc;
  --mfg-radius: 8px;
  --mfg-shadow: 0 10px 30px rgba(13, 35, 60, .07);
  --mfg-container: 1440px;
}

.mfg-page {
  color: var(--mfg-text);
  background: #fff;
  line-height: 1.65;
}

.mfg-page a {
  color: inherit;
  text-decoration: none;
}

.mfg-page img {
  display: block;
  width: 100%;
}

.mfg-container {
  width: min(calc(100% - 48px), var(--mfg-container));
  margin: auto;
}

.mfg-hero {
  min-height: 385px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(3, 20, 37, .28) 0%, rgba(4, 30, 56, .16) 42%, rgba(4, 30, 56, .06) 78%),
    var(--column-banner-pc, url("../images/shibeng/manufacturing-hero.jpg")) center / cover no-repeat;
}

.mfg-hero-inner {
  min-height: 385px;
  display: flex;
  align-items: center;
}

.mfg-hero-copy {
  max-width: 700px;
}

.mfg-hero h1 {
  margin: 0;
  font-size: 48px;
  line-height: 1.2;
}

.mfg-hero p {
  margin: 15px 0 0;
  color: rgba(255, 255, 255, .9);
  font-size: 19px;
  line-height: 1.8;
}

.mfg-breadcrumb {
  margin-top: 23px;
  color: rgba(255, 255, 255, .65);
  font-size: 15px;
}

.mfg-section {
  padding: 62px 0;
}

.mfg-section-soft {
  background: var(--mfg-soft);
}

.mfg-section-title {
  margin-bottom: 28px;
}

.mfg-section-title h2,
.mfg-overview-copy h2 {
  margin: 0;
  font-size: 29px;
  line-height: 1.2;
}

.mfg-overview-copy h2 {
  margin-bottom: 20px;
  font-size: 30px;
}

.mfg-section-title h2::after,
.mfg-overview-copy h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  margin-top: 12px;
  background: var(--mfg-blue);
}

.mfg-section-title p {
  margin: 9px 0 0;
  color: var(--mfg-muted);
  font-size: 14px;
}

.mfg-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 54px;
  align-items: center;
}

.mfg-overview-copy p {
  margin: 0 0 15px;
  color: #526071;
  font-size: 14px;
  line-height: 2;
}

.mfg-overview-image {
  overflow: hidden;
  border-radius: var(--mfg-radius);
  box-shadow: var(--mfg-shadow);
}

.mfg-overview-image img {
  height: 360px;
  object-fit: cover;
}

.mfg-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 30px;
}

.mfg-stat-card {
  min-height: 125px;
  padding: 20px 12px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--mfg-line);
  border-radius: 8px;
  box-shadow: var(--mfg-shadow);
}

.mfg-stat-icon {
  width: 42px;
  height: 42px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: #eef5ff;
  color: var(--mfg-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.mfg-stat-card strong {
  display: block;
  color: #0d56ad;
  font-size: 24px;
}

.mfg-stat-card span {
  display: block;
  margin-top: 3px;
  color: #5f6b7b;
  font-size: 14px;
}

.mfg-process-grid,
.mfg-card-grid,
.mfg-quality-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.mfg-process-grid {
  gap: 14px;
}

.mfg-process-card,
.mfg-info-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--mfg-line);
  border-radius: var(--mfg-radius);
  box-shadow: var(--mfg-shadow);
  transition: .25s;
}

.mfg-process-card {
  position: relative;
}

.mfg-process-card:hover,
.mfg-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 38px rgba(12, 37, 65, .12);
}

.mfg-process-top {
  height: 52px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 14px;
  position: relative;
}

.mfg-process-number {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #0d56ad;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.mfg-process-top strong {
  font-size: 14px;
}

.mfg-process-card:not(:last-child) .mfg-process-top::after {
  content: "›";
  position: absolute;
  right: -13px;
  top: 16px;
  z-index: 5;
  color: var(--mfg-blue);
  font-size: 21px;
}

.mfg-process-photo,
.mfg-info-photo {
  height: 180px;
  overflow: hidden;
}

.mfg-process-photo img,
.mfg-info-photo img {
  height: 100%;
  object-fit: cover;
  transition: .3s;
}

.mfg-process-card:hover .mfg-process-photo img,
.mfg-info-card:hover img {
  transform: scale(1.04);
}

.mfg-process-body {
  padding: 15px;
  text-align: center;
}

.mfg-process-body strong {
  display: block;
  font-size: 14px;
}

.mfg-process-body p {
  margin: 5px 0 0;
  color: var(--mfg-muted);
  font-size: 14px;
}

.mfg-info-body {
  padding: 14px 12px;
  text-align: center;
}

.mfg-info-body h3 {
  margin: 0;
  font-size: 15px;
}

.mfg-info-body p {
  margin: 5px 0 0;
  color: var(--mfg-muted);
  font-size: 14px;
}

.mfg-visit {
  padding: 0 0 56px;
}

.mfg-visit-inner {
  min-height: 130px;
  padding: 28px 36px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(100deg, #08284c, #0c59aa);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.mfg-visit h2 {
  margin: 0;
  font-size: 27px;
}

.mfg-visit p {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, .72);
  font-size: 15px;
}

.mfg-visit-actions {
  display: flex;
  gap: 13px;
  flex-shrink: 0;
}

.mfg-visit-btn {
  min-width: 150px;
  height: 48px;
  padding: 0 20px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
}

.mfg-visit-btn.primary {
  color: #125db5;
  background: #fff;
}

.mfg-visit-btn.outline {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .7);
}

@media (max-width: 1180px) {
  .mfg-process-grid,
  .mfg-card-grid,
  .mfg-quality-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .mfg-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .mfg-container {
    width: min(calc(100% - 28px), var(--mfg-container));
  }

  .mfg-hero,
  .mfg-hero-inner {
    min-height: 290px;
  }

  .mfg-hero {
    background:
      linear-gradient(90deg, rgba(3, 20, 37, .94) 0%, rgba(4, 30, 56, .78) 48%, rgba(4, 30, 56, .42) 100%),
      var(--column-banner-mobile, var(--column-banner-pc, url("../images/shibeng/manufacturing-hero.jpg"))) center / cover no-repeat;
  }

  .mfg-hero h1 {
    font-size: 35px;
  }

  .mfg-hero p {
    font-size: 16px;
  }

  .mfg-section {
    padding: 45px 0;
  }

  .mfg-overview-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .mfg-overview-image {
    order: -1;
  }

  .mfg-overview-image img {
    height: 250px;
  }

  .mfg-process-grid {
    grid-template-columns: 1fr;
  }

  .mfg-process-card {
    display: grid;
    grid-template-columns: 38% 62%;
    min-height: 140px;
  }

  .mfg-process-top {
    grid-column: 1 / -1;
    height: 45px;
  }

  .mfg-process-card:not(:last-child) .mfg-process-top::after {
    display: none;
  }

  .mfg-process-photo {
    height: 130px;
  }

  .mfg-process-body {
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .mfg-card-grid,
  .mfg-quality-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mfg-info-photo {
    height: 145px;
  }

  .mfg-visit-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .mfg-visit-actions {
    width: 100%;
  }

  .mfg-visit-btn {
    flex: 1;
  }
}

@media (max-width: 520px) {
  .mfg-hero h1 {
    font-size: 30px;
  }

  .mfg-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .mfg-card-grid,
  .mfg-quality-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .mfg-info-photo {
    height: 125px;
  }

  .mfg-info-body {
    padding: 11px 8px;
  }

  .mfg-info-body h3 {
    font-size: 15px;
  }

  .mfg-info-body p {
    display: none;
  }

  .mfg-visit-actions {
    flex-direction: column;
  }
}

/* Trim the source photograph letterboxing inside the image frame. */
.mfg-overview-image img { transform:scale(1.13); transform-origin:center; }
