/* Shared four-stage route module for same-level EBest PCBA industry pages. */
.industry-route-section {
  padding: 84px 0 94px;
  scroll-margin-top: 118px;
  background: #fff;
}

.industry-route-wrap {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.industry-route-heading {
  position: static;
  top: auto;
  z-index: auto;
  max-width: 900px;
  margin-bottom: 38px;
  border-bottom: 0;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.industry-route-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 17px;
  color: #ed1b2f;
  font: 700 12px/1.35 Consolas, "Courier New", Consolas, monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.industry-route-kicker::before {
  content: "";
  flex: 0 0 20px;
  height: 2px;
  background: #ed1b2f;
}

.industry-route-heading h2 {
  margin: 0;
  color: #071f41;
  font-family: Arial, Helvetica, "Segoe UI", Arial, sans-serif;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.industry-route-heading p {
  max-width: 850px;
  margin: 20px 0 0;
  color: #4d6280;
  font: 400 16px/1.65 Arial, Helvetica, "Segoe UI", Arial, sans-serif;
}

.industry-route-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
}

.industry-route-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #d4deeb;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(9, 31, 65, 0.06);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.industry-route-card:hover,
.industry-route-card:focus-within {
  border-color: #aebfd5;
  box-shadow: 0 18px 38px rgba(9, 31, 65, 0.11);
}

.industry-route-card img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
  background: #e8eef5;
}

.industry-route-body {
  display: flex;
  min-height: 330px;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 24px 23px 22px;
}

.industry-route-index {
  margin-bottom: 16px;
  color: #ed1b2f;
  font: 700 11px/1.35 Consolas, "Courier New", Consolas, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.industry-route-body h3 {
  min-height: 52px;
  margin: 0;
  color: #071f41;
  font-family: Arial, Helvetica, "Segoe UI", Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.industry-route-body p {
  margin: 15px 0 0;
  color: #4d6280;
  font: 400 14px/1.65 Arial, Helvetica, "Segoe UI", Arial, sans-serif;
}

.industry-route-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  margin-top: auto;
  padding-top: 22px;
  color: #e3172c;
  font: 700 13px/1.35 Arial, Helvetica, "Segoe UI", Arial, sans-serif;
  text-decoration: none;
}

.industry-route-link:hover {
  color: #aa1020;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.industry-route-link:focus-visible {
  outline: 3px solid #ffd15a;
  outline-offset: 4px;
  border-radius: 2px;
}

@media (max-width: 1100px) {
  .industry-route-heading h2 {
    font-size: 40px;
  }

  .industry-route-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .industry-route-card img {
    height: 230px;
  }

  .industry-route-body {
    min-height: 286px;
  }
}

@media (max-width: 680px) {
  .industry-route-section {
    padding: 64px 0 72px;
  }

  .industry-route-wrap {
    width: min(100% - 32px, 1180px);
  }

  .industry-route-heading {
    margin-bottom: 30px;
  }

  .industry-route-heading h2 {
    font-size: 34px;
  }

  .industry-route-grid {
    grid-template-columns: 1fr;
  }

  .industry-route-card img {
    height: 220px;
  }

  .industry-route-body {
    min-height: 0;
  }

  .industry-route-body h3 {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .industry-route-card {
    transition: none;
  }
}
