.nms-industries-page {
  --ind-blue: #075ecb;
  --ind-orange: #ff7514;
  --ind-navy: #061923;
  background: #fff;
  color: #152331;
}

.nms-industries-wrap {
  width: min(var(--nms-container), calc(100% - (var(--nms-gutter) * 2)));
  margin: 0 auto;
}

.nms-industries-hero {
  min-height: 430px;
  background:
    linear-gradient(90deg, rgb(4 15 24 / 88%) 0%, rgb(4 15 24 / 68%) 48%, rgb(4 15 24 / 8%) 100%),
    url('../images/home/hero/hero-desktop.webp') center / cover no-repeat;
  color: #fff;
}

body.page-id-54473 .nms-industries-hero::before,
body.page-id-54473 .nms-industries-hero::after {
  display: none !important;
  content: none !important;
}

body.page-id-54473 .nms-industries-hero > .nms-industries-wrap {
  position: relative;
  z-index: 1;
}

.nms-industries-crumbs {
  display: flex;
  gap: 10px;
  padding-top: 34px;
  color: rgb(255 255 255 / 72%);
  font-size: .86rem;
}

.nms-industries-crumbs a {
  color: #fff;
  text-decoration: none;
}

.nms-industries-hero h1 {
  max-width: 880px;
  margin: 30px 0 0;
  color: #fff;
  font-size: clamp(3rem, 4.9vw, 5.2rem);
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: 0;
  text-shadow: 0 3px 18px rgb(0 0 0 / 55%);
}

.nms-industries-hero p {
  max-width: 720px;
  margin: 20px 0 0;
  color: rgb(255 255 255 / 84%);
  font-size: 1.18rem;
  line-height: 1.45;
  text-shadow: 0 2px 12px rgb(0 0 0 / 48%);
}

.nms-industries-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 30px;
}

.nms-industries-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  border: 1px solid rgb(255 255 255 / 64%);
  color: #fff;
  text-decoration: none;
  font-weight: 850;
}

.nms-industries-btn--orange,
.nms-industries-systems a,
.nms-industries-inquiry button {
  border-color: var(--ind-orange);
  background: linear-gradient(90deg, #ff6500, #ff8215);
  color: #fff;
}

.nms-industries-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  width: min(700px, 100%);
  height: 54px;
  margin-top: 40px;
  border: 1px solid rgb(255 255 255 / 24%);
}

.nms-industries-search input {
  border: 0;
  padding: 0 18px;
  background: #fff;
  color: #172431;
}

.nms-industries-search button {
  border: 0;
  background: #075ecb;
  color: #fff;
  font-weight: 850;
}

.nms-industries-cards {
  background: #061923;
}

.nms-industries-cards__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 4px;
  padding: 12px 0;
}

.nms-industries-cards a {
  position: relative;
  min-height: 292px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
}

.nms-industries-cards img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.04);
  transition: transform .22s ease;
}

.nms-industries-cards a:hover img {
  transform: scale(1.035);
}

.nms-industries-cards a::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgb(4 15 24 / 88%));
  content: '';
}

.nms-industries-cards span {
  position: absolute;
  z-index: 1;
  right: 14px;
  bottom: 18px;
  left: 14px;
  min-height: 118px;
}

.nms-industries-cards strong,
.nms-industries-cards small,
.nms-industries-cards em {
  display: block;
}

.nms-industries-cards strong {
  color: #fff;
  font-size: 1.05rem;
}

.nms-industries-cards small {
  margin-top: 7px;
  color: rgb(255 255 255 / 78%);
  line-height: 1.42;
}

.nms-industries-cards em {
  margin-top: 8px;
  color: rgb(255 255 255 / 86%);
  font-size: .76rem;
  font-style: normal;
}

.nms-industries-challenges {
  padding: 42px 0 30px;
  background: #fff;
}

.nms-industries-challenges h2,
.nms-industries-systems h2 {
  margin: 0 0 22px;
  color: #172331;
  font-size: 1.85rem;
}

.nms-industries-matrix {
  border: 1px solid #d7e0e7;
}

.nms-industries-matrix article {
  display: grid;
  grid-template-columns: 360px minmax(0, .92fr) minmax(0, .92fr) minmax(0, .98fr);
  min-height: 176px;
  border-bottom: 1px solid #d7e0e7;
}

.nms-industries-matrix article:last-child {
  border-bottom: 0;
}

.nms-industries-matrix img {
  width: 100%;
  height: 100%;
  min-height: 176px;
  object-fit: cover;
}

.nms-industries-matrix article > div {
  padding: 24px 28px;
  border-left: 1px solid #d7e0e7;
}

.nms-industries-matrix h3 {
  margin: 0 0 12px;
  color: #075ecb;
  font-size: 1.24rem;
}

.nms-industries-matrix p,
.nms-industries-matrix li {
  color: #435461;
  line-height: 1.48;
}

.nms-industries-matrix strong {
  color: #172331;
}

.nms-industries-matrix ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

.nms-industries-systems {
  padding: 8px 0 42px;
  background: #fff;
}

.nms-industries-systems table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #d7e0e7;
}

.nms-industries-systems th {
  background: #07263b;
  color: #fff;
}

.nms-industries-systems th,
.nms-industries-systems td {
  padding: 13px 16px;
  border: 1px solid #d7e0e7;
  text-align: center;
}

.nms-industries-systems td {
  color: #435461;
}

.nms-industries-systems a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 22px;
  text-decoration: none;
  font-weight: 850;
}

.nms-industries-systems td:last-child a {
  margin-right: 12px;
}

.nms-industries-trust {
  background: #061923;
  color: #fff;
}

.nms-industries-trust .nms-industries-wrap {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.nms-industries-trust div div {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 4px 14px;
  align-content: center;
  min-height: 118px;
  padding: 20px 18px;
  border-right: 1px solid rgb(255 255 255 / 16%);
}

.nms-industries-trust .dashicons {
  grid-row: span 2;
  width: 36px;
  height: 36px;
  color: #fff;
  font-size: 36px;
}

.nms-industries-trust strong {
  color: #fff;
}

.nms-industries-trust small {
  color: rgb(255 255 255 / 66%);
}

.nms-industries-inquiry {
  padding: 46px 0 58px;
  background:
    linear-gradient(90deg, rgb(4 18 29 / 98%), rgb(7 27 40 / 96%)),
    #061923;
  color: #fff;
}

.nms-industries-inquiry .nms-industries-wrap {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  gap: 54px;
  padding: 32px;
  border: 1px solid rgb(255 255 255 / 18%);
}

.nms-industries-inquiry h2 {
  margin: 0;
  color: #fff;
  font-size: 2.55rem;
  line-height: 1.1;
}

.nms-industries-inquiry p {
  color: rgb(255 255 255 / 74%);
  line-height: 1.6;
}

.nms-industries-inquiry aside a {
  display: block;
  margin-top: 14px;
  color: #fff;
  text-decoration: none;
}

.nms-industries-inquiry aside img {
  width: 100%;
  height: 300px;
  margin-top: 30px;
  object-fit: cover;
}

.nms-industries-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
}

.nms-industries-fields label {
  display: grid;
  gap: 8px;
  color: rgb(255 255 255 / 82%);
  font-size: .82rem;
  font-weight: 800;
}

.nms-industries-fields label span {
  color: var(--ind-orange);
}

.nms-industries-fields input,
.nms-industries-fields textarea {
  width: 100%;
  border: 1px solid rgb(255 255 255 / 24%);
  background: rgb(255 255 255 / 7%);
  color: #fff;
}

.nms-industries-fields input {
  height: 44px;
  padding: 0 13px;
}

.nms-industries-fields textarea {
  min-height: 118px;
  padding: 13px;
}

.nms-industries-fields .is-wide {
  grid-column: 1 / -1;
}

.nms-industries-hidden,
.nms-industries-upload input {
  display: none !important;
}

.nms-industries-upload {
  min-height: 82px;
  align-content: center;
  justify-items: center;
  border: 1px dashed rgb(255 255 255 / 48%);
  text-align: center;
}

.nms-industries-upload small {
  color: rgb(255 255 255 / 64%);
}

.nms-industries-inquiry button {
  width: min(260px, 100%);
  height: 54px;
  margin-top: 18px;
  border: 0;
  font-weight: 900;
}

@media (max-width: 1180px) {
  .nms-industries-cards__grid,
  .nms-industries-trust .nms-industries-wrap {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .nms-industries-matrix article,
  .nms-industries-inquiry .nms-industries-wrap {
    grid-template-columns: 1fr;
  }

  .nms-industries-matrix article > div {
    border-left: 0;
    border-top: 1px solid #d7e0e7;
  }
}

@media (max-width: 767px) {
  .nms-industries-wrap {
    width: min(var(--nms-container), calc(100% - (var(--nms-gutter) * 2)));
  }

  .nms-industries-hero {
    min-height: auto;
    padding-bottom: 34px;
  }

  .nms-industries-hero h1 {
    font-size: 2.65rem;
  }

  .nms-industries-actions,
  .nms-industries-search,
  .nms-industries-cards__grid,
  .nms-industries-trust .nms-industries-wrap,
  .nms-industries-fields {
    grid-template-columns: 1fr;
  }

  .nms-industries-actions {
    display: grid;
  }

  .nms-industries-search {
    height: auto;
  }

  .nms-industries-search input,
  .nms-industries-search button {
    height: 52px;
  }

  .nms-industries-cards a {
    min-height: 262px;
  }

  .nms-industries-cards span {
    min-height: 112px;
  }

  .nms-industries-challenges h2,
  .nms-industries-systems h2 {
    font-size: 1.5rem;
  }

  .nms-industries-matrix article {
    display: block;
  }

  .nms-industries-matrix img {
    height: 180px;
  }

  .nms-industries-systems table {
    display: block;
    overflow: visible;
    border: 0;
    white-space: nowrap;
  }

  .nms-industries-systems thead {
    display: none;
  }

  .nms-industries-systems tbody,
  .nms-industries-systems tr,
  .nms-industries-systems td {
    display: block;
    width: 100%;
    white-space: normal;
  }

  .nms-industries-systems tr {
    margin-bottom: 12px;
    border: 1px solid #d7e0e7;
    background: #fff;
  }

  .nms-industries-systems td {
    border: 0;
    border-bottom: 1px solid #e5ebef;
    text-align: left;
    word-break: break-word;
  }

  .nms-industries-systems td:last-child {
    border-bottom: 0;
  }

  .nms-industries-inquiry .nms-industries-wrap {
    width: min(var(--nms-container), calc(100% - (var(--nms-gutter) * 2)));
    padding: 22px;
  }
}
