/* NORD STEAM: task-oriented homepage block and solution landing pages. */
.nsx-directions,
.nsx-solution {
  --nsx-green: #0d3527;
  --nsx-green-2: #18563d;
  --nsx-green-soft: #e5eee9;
  --nsx-copper: #a96732;
  --nsx-gold: #c9a44d;
  --nsx-ink: #173025;
  --nsx-muted: #5e6d66;
  --nsx-line: #dce3df;
  --nsx-paper: #f6f6f2;
  color: var(--nsx-ink);
}

.nsx-directions *,
.nsx-solution * {
  box-sizing: border-box;
}

.nsx-directions {
  padding: 64px 0 68px;
  background: var(--nsx-paper);
}

.nsx-directions__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 28px;
}

.nsx-eyebrow {
  display: block;
  margin-bottom: 9px;
  color: var(--nsx-copper);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.nsx-directions h2,
.nsx-solution h1,
.nsx-solution h2,
.nsx-solution h3 {
  color: var(--nsx-ink);
  font-family: inherit;
  text-transform: none;
}

.nsx-directions h2 {
  margin: 0 0 10px;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 500;
  line-height: 1.08;
}

.nsx-directions__head p {
  max-width: 720px;
  margin: 0;
  color: var(--nsx-muted);
  font-size: 16px;
  line-height: 1.55;
}

.nsx-outline-link,
.nsx-primary-link,
.nsx-secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid var(--nsx-green-2);
  text-decoration: none !important;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.nsx-outline-link {
  flex: 0 0 auto;
  color: var(--nsx-green-2) !important;
  background: transparent;
}

.nsx-primary-link {
  color: #fff !important;
  background: var(--nsx-green-2);
}

.nsx-secondary-link {
  color: var(--nsx-green-2) !important;
  background: #fff;
}

.nsx-outline-link:hover,
.nsx-secondary-link:hover {
  color: #fff !important;
  background: var(--nsx-green-2);
}

.nsx-primary-link:hover {
  background: var(--nsx-green);
}

.nsx-direction-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.nsx-direction-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--nsx-line);
  border-radius: 8px;
  color: var(--nsx-ink) !important;
  background: #fff;
  text-decoration: none !important;
  box-shadow: 0 10px 28px rgba(18, 60, 45, .08);
  transition: transform .2s ease, box-shadow .2s ease;
}

.nsx-direction-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(18, 60, 45, .13);
}

.nsx-direction-card__image {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--nsx-green-soft);
}

.nsx-direction-card__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(5, 37, 26, .42));
}

.nsx-direction-card__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.nsx-direction-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px 24px 26px;
}

.nsx-direction-card__number {
  margin-bottom: 9px;
  color: var(--nsx-copper);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
}

.nsx-direction-card h3 {
  margin: 0 0 9px;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.18;
}

.nsx-direction-card p {
  margin: 0 0 18px;
  color: var(--nsx-muted);
  font-size: 15px;
  line-height: 1.5;
}

.nsx-direction-card__more {
  margin-top: auto;
  color: var(--nsx-green-2);
  font-size: 14px;
  font-weight: 700;
}

.nsx-solution {
  padding-bottom: 72px;
}

/* The legacy theme adds large padding to every nested <section>. */
.area-page .nsx-solution section {
  padding-top: 0;
  padding-bottom: 0;
}

.nsx-solution-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  overflow: hidden;
  margin: 0 0 42px;
  border-radius: 10px;
  background: var(--nsx-green);
  color: #fff;
}

.nsx-solution-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 4vw, 54px);
}

.nsx-solution-hero h1 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.04;
}

.nsx-solution-hero p {
  max-width: 700px;
  margin: 0 0 24px;
  color: #dbe8e2;
  font-size: 18px;
  line-height: 1.55;
}

.nsx-solution-hero__actions,
.nsx-solution-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.nsx-solution-hero__media {
  min-height: 420px;
  background: #e5ece8;
}

.nsx-solution-hero__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.nsx-solution-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .46fr);
  gap: 34px;
  margin: 0 0 48px;
}

.nsx-solution-intro__copy h2,
.nsx-section-title h2 {
  margin: 0 0 14px;
  font-size: clamp(27px, 3vw, 38px);
  font-weight: 500;
  line-height: 1.15;
}

.nsx-solution-intro__copy p,
.nsx-section-title p {
  margin: 0;
  color: var(--nsx-muted);
  font-size: 16px;
  line-height: 1.65;
}

.nsx-solution-checklist {
  margin: 0;
  padding: 24px 26px;
  border-left: 4px solid var(--nsx-copper);
  background: var(--nsx-paper);
}

.nsx-solution-checklist strong {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
}

.nsx-solution-checklist ul,
.nsx-process-card ul,
.nsx-package-card ul {
  margin: 0;
  padding-left: 19px;
}

.nsx-solution-checklist li,
.nsx-process-card li,
.nsx-package-card li {
  margin-bottom: 7px;
  color: var(--nsx-muted);
  line-height: 1.45;
}

.nsx-section-title {
  max-width: 830px;
  margin: 0 0 24px;
}

.nsx-process-section,
.nsx-catalog-section,
.nsx-package-section,
.nsx-faq-section {
  margin-top: 54px;
}

.nsx-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.nsx-process-card {
  min-width: 0;
  padding: 24px 22px 25px;
  border-top: 4px solid var(--nsx-green-2);
  background: var(--nsx-paper);
}

.nsx-process-card__step {
  display: block;
  margin-bottom: 15px;
  color: var(--nsx-copper);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.nsx-process-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
}

.nsx-process-card p {
  margin: 0 0 12px;
  color: var(--nsx-muted);
  line-height: 1.55;
}

.nsx-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.nsx-catalog-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  padding: 18px 20px;
  border: 1px solid var(--nsx-line);
  color: var(--nsx-ink) !important;
  background: #fff;
  text-decoration: none !important;
}

.nsx-catalog-link:hover {
  border-color: var(--nsx-green-2);
  color: var(--nsx-green-2) !important;
}

.nsx-catalog-link span:first-child {
  padding-right: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.nsx-catalog-link span:last-child {
  color: var(--nsx-copper);
  font-size: 22px;
}

.nsx-package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.nsx-package-card {
  padding: 26px 24px 28px;
  border: 1px solid var(--nsx-line);
  background: #fff;
}

.nsx-package-card--accent {
  border-color: var(--nsx-green-2);
  box-shadow: inset 0 4px 0 var(--nsx-green-2);
}

.nsx-package-card h3 {
  margin: 0 0 9px;
  font-size: 22px;
  font-weight: 500;
}

.nsx-package-card > p {
  min-height: 48px;
  margin: 0 0 16px;
  color: var(--nsx-muted);
  line-height: 1.5;
}

.nsx-faq-list {
  border-top: 1px solid var(--nsx-line);
}

.nsx-faq-list details {
  padding: 18px 0;
  border-bottom: 1px solid var(--nsx-line);
}

.nsx-faq-list summary {
  cursor: pointer;
  color: var(--nsx-ink);
  font-size: 18px;
  font-weight: 700;
}

.nsx-faq-list p {
  max-width: 900px;
  margin: 12px 0 0;
  color: var(--nsx-muted);
  line-height: 1.6;
}

.nsx-solution-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  margin-top: 58px;
  padding: 34px 38px;
  background: var(--nsx-green);
  color: #fff;
}

.nsx-solution-cta h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 30px;
  font-weight: 500;
}

.nsx-solution-cta p {
  margin: 0;
  color: #dbe8e2;
  line-height: 1.55;
}

.nsx-solution-cta .nsx-primary-link {
  border-color: #fff;
  color: var(--nsx-green) !important;
  background: #fff;
}

.nsx-solution-note {
  margin-top: 20px;
  padding: 15px 18px;
  border-left: 4px solid var(--nsx-gold);
  color: var(--nsx-muted);
  background: #fff9e9;
  line-height: 1.55;
}

@media (max-width: 1000px) {
  .nsx-direction-grid,
  .nsx-catalog-grid,
  .nsx-package-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nsx-direction-card:last-child,
  .nsx-package-card:last-child {
    grid-column: 1 / -1;
  }

  .nsx-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nsx-solution-hero {
    grid-template-columns: 1fr;
  }

  .nsx-solution-hero__media {
    min-height: 0;
    aspect-ratio: 16 / 7;
  }
}

@media (max-width: 767px) {
  .nsx-directions {
    padding: 42px 0 46px;
  }

  .nsx-directions__head,
  .nsx-solution-intro,
  .nsx-solution-cta {
    display: block;
  }

  .nsx-directions__head .nsx-outline-link {
    margin-top: 18px;
  }

  .nsx-direction-grid,
  .nsx-catalog-grid,
  .nsx-package-grid,
  .nsx-process-grid {
    grid-template-columns: 1fr;
  }

  .nsx-direction-card:last-child,
  .nsx-package-card:last-child {
    grid-column: auto;
  }

  .nsx-direction-card__body {
    padding: 20px 19px 22px;
  }

  .nsx-solution {
    padding-bottom: 48px;
  }

  .nsx-solution-hero {
    margin-bottom: 32px;
    border-radius: 6px;
  }

  .nsx-solution-hero__copy {
    padding: 31px 22px 32px;
  }

  .nsx-solution-hero p {
    font-size: 16px;
  }

  .nsx-solution-hero__actions a,
  .nsx-solution-cta__actions a {
    width: 100%;
  }

  .nsx-solution-hero__media {
    aspect-ratio: 3 / 2;
  }

  .nsx-solution-intro__copy {
    margin-bottom: 20px;
  }

  .nsx-process-section,
  .nsx-catalog-section,
  .nsx-package-section,
  .nsx-faq-section {
    margin-top: 42px;
  }

  .nsx-package-card > p {
    min-height: 0;
  }

  .nsx-solution-cta {
    padding: 28px 22px;
  }

  .nsx-solution-cta__actions {
    margin-top: 20px;
  }
}