/* Shared first-screen standard for same-level EBest PCBA industry solution pages. */
.industry-hero {
  position: relative;
  height: 650px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 106% 12%, rgba(228, 26, 39, 0.16) 0, rgba(228, 26, 39, 0.08) 21%, transparent 43%),
    linear-gradient(135deg, #071b38 0%, #0b2447 65%, #0a1d3c 100%);
}

.industry-hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: -210px;
  right: -220px;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(232, 28, 41, 0.35);
  border-radius: 50%;
  pointer-events: none;
}

.industry-hero-wrap {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.industry-hero-wrap {
  position: relative;
  z-index: 1;
  height: 100%;
}

.industry-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 52px;
  height: 100%;
}

.industry-hero-copy {
  min-width: 0;
}

.industry-breadcrumb {
  margin: 0 0 23px;
  color: #dce8fa;
  font: 500 12px/1.45 Consolas, "Courier New", Consolas, monospace;
}

.industry-breadcrumb a {
  color: #fff;
  text-decoration: none;
}

.industry-breadcrumb a:hover {
  color: #ffcc4d;
}

.industry-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: #ff3b47;
  font: 700 12px/1.35 Consolas, "Courier New", Consolas, monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.industry-kicker::before {
  content: "";
  flex: 0 0 20px;
  height: 2px;
  background: #ec1c2b;
}

.industry-hero h1 {
  max-width: 650px;
  margin: 0;
  color: #fff;
  font-family: Arial, Helvetica, "Segoe UI", Arial, sans-serif;
  font-size: 50px;
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.industry-hero-lead {
  max-width: 620px;
  margin: 22px 0 0;
  color: #d9e6f7;
  font: 400 17px/1.65 Arial, Helvetica, "Segoe UI", Arial, sans-serif;
}

.industry-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.industry-hero-btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 7px;
  color: #fff;
  font: 700 14px/1.2 Arial, Helvetica, "Segoe UI", Arial, sans-serif;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.industry-hero-btn:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.industry-hero-btn-primary {
  border-color: #ed1b2f;
  background: #ed1b2f;
  box-shadow: 0 10px 24px rgba(237, 27, 47, 0.24);
}

.industry-hero-btn-primary:hover {
  border-color: #c91427;
  background: #c91427;
}

.industry-hero-btn:focus-visible,
.industry-breadcrumb a:focus-visible {
  outline: 3px solid #ffd15a;
  outline-offset: 3px;
}

.industry-proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 30px;
  border-top: 1px solid rgba(195, 215, 242, 0.27);
  border-bottom: 1px solid rgba(195, 215, 242, 0.2);
}

.industry-proof {
  min-width: 0;
  padding: 14px 13px 13px;
  border-left: 1px solid rgba(195, 215, 242, 0.23);
}

.industry-proof:first-child {
  border-left: 0;
}

.industry-proof strong,
.industry-proof span {
  display: block;
}

.industry-proof strong {
  color: #ffd15a;
  font: 700 15px/1.18 Consolas, "Courier New", Consolas, monospace;
}

.industry-proof span {
  margin-top: 6px;
  color: #d4e2f5;
  font: 500 11px/1.35 Arial, Helvetica, "Segoe UI", Arial, sans-serif;
}

.industry-hero-media {
  position: relative;
  height: 470px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(209, 224, 244, 0.32);
  border-radius: 16px;
  background: #0d2749;
  box-shadow: 0 18px 42px rgba(2, 11, 29, 0.24);
}

.industry-hero-media::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 42%;
  background: linear-gradient(to top, rgba(3, 16, 37, 0.92), rgba(3, 16, 37, 0));
  pointer-events: none;
}

.industry-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.industry-media-label {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  padding: 8px 12px;
  border-left: 3px solid #ed1b2f;
  border-radius: 4px;
  color: #fff;
  background: rgba(8, 31, 62, 0.92);
  font: 700 11px/1.2 Consolas, "Courier New", Consolas, monospace;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.industry-hero-media figcaption {
  position: absolute;
  z-index: 2;
  right: 20px;
  bottom: 18px;
  left: 20px;
  margin: 0;
  color: #fff;
  font: 600 12px/1.45 Arial, Helvetica, "Segoe UI", Arial, sans-serif;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

@media (max-width: 1100px) {
  .industry-hero-grid {
    gap: 32px;
  }

  .industry-hero h1 {
    font-size: 44px;
  }

  .industry-hero-media {
    height: 430px;
  }

  .industry-proof strong {
    font-size: 13px;
  }
}

@media (max-width: 820px) {
  .industry-hero {
    height: auto;
  }

  .industry-hero-wrap {
    height: auto;
  }

  .industry-hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    height: auto;
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .industry-hero h1 {
    max-width: 700px;
    font-size: 43px;
  }

  .industry-hero-media {
    height: 360px;
  }

}

@media (max-width: 560px) {
  .industry-hero-wrap {
    width: min(100% - 32px, 1180px);
  }

  .industry-hero-grid {
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .industry-breadcrumb {
    margin-bottom: 18px;
  }

  .industry-hero h1 {
    font-size: 36px;
  }

  .industry-hero-lead {
    font-size: 16px;
  }

  .industry-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .industry-hero-btn {
    width: 100%;
  }

  .industry-proof-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .industry-proof:nth-child(3) {
    border-left: 0;
  }

  .industry-proof:nth-child(n + 3) {
    border-top: 1px solid rgba(195, 215, 242, 0.23);
  }

  .industry-hero-media {
    height: 300px;
  }

  .industry-media-label {
    top: 14px;
    left: 14px;
    max-width: calc(100% - 28px);
  }

  .industry-hero-media figcaption {
    right: 15px;
    bottom: 14px;
    left: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .industry-hero-btn {
    transition: none;
  }
}
