/* Product links on the nutrient-management hub: two square product cards with an oversized arrow */
#kgm .nm-links.nm-links1 {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
}
#kgm .nm-links .nm-link {
  position: relative;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: minmax(0, 1fr) auto;
  grid-template-areas: "img img" "name arrow";
  align-items: end !important;
  gap: 10px 12px;
  aspect-ratio: 1 / 1;
  padding: 18px 18px 16px !important;
  border-radius: 12px !important;
  background: #fff;
  border: 1px solid #dfe7f0;
  box-shadow: 0 1px 2px rgba(22, 24, 29, .04);
  font-size: 19px !important;
  line-height: 1.3 !important;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
#kgm .nm-links .nm-link .nm-link-img {
  grid-area: img;
  position: relative; display: block;
  min-height: 0; height: 100%; overflow: hidden;
}
#kgm .nm-links .nm-link .nm-link-img img {
  position: absolute; inset: 0; display: block;
  width: 100% !important; height: 100% !important; max-width: none; max-height: none; object-fit: contain;
}
#kgm .nm-links .nm-link .nm-link-name { grid-area: name; display: block; min-width: 0; overflow-wrap: anywhere; }
#kgm .nm-links .nm-link svg {
  grid-area: arrow;
  width: 64px !important;
  height: 64px !important;
  padding: 15px;
  box-sizing: border-box;
  border-radius: 50%;
  background: #c30d23;
  fill: #fff !important;
  transition: transform .25s ease, background .2s;
}
#kgm .nm-links .nm-link:hover,
#kgm .nm-links .nm-link:focus-visible {
  background: #fff !important;
  border-color: #c30d23;
  box-shadow: 0 2px 5px rgba(0,0,0,.12);
  transform: translateY(-3px);
}
#kgm .nm-links .nm-link:hover svg,
#kgm .nm-links .nm-link:focus-visible svg { transform: translateX(6px); background: #9e0a1c; }
@media (max-width: 680px) {
  #kgm .nm-links.nm-links1 { gap: 12px !important; }
  #kgm .nm-links .nm-link { padding: 12px !important; font-size: 14px !important; border-radius: 12px !important; gap: 8px; }
  #kgm .nm-links .nm-link svg { width: 44px !important; height: 44px !important; padding: 11px; }
}

/* Visual separation between the three solution rows: alternating full-width bands */
html body #kgm .nm-stack { gap: 0 !important; }
html body #kgm .nm-row { padding: 56px 0; }
html body #kgm .nm-row:first-child { padding-top: 0; }
html body #kgm .nm-row:last-child { padding-bottom: 0; }
html body #kgm .nm-row:nth-child(even) {
  background: #f1f5f9;
  box-shadow: 0 0 0 100vmax #f1f5f9;
  clip-path: inset(0 -100vmax);
}
html body #kgm .nm-row:nth-child(even) .nm-link { background: #fff; }
@media (max-width: 900px) { html body #kgm .nm-row { padding: 40px 0; } }

/* Consistent sizing: same column widths for every row, fixed-height name/arrow row so card images match */
@media (min-width: 981px) {
  html body #kgm .nm-row, html body #kgm .nm-row.nm-flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; }
}
html body #kgm .nm-links .nm-link { grid-template-rows: minmax(0, 1fr) 64px; }
html body #kgm .nm-links .nm-link .nm-link-name { align-self: end; }
@media (max-width: 680px) { html body #kgm .nm-links .nm-link { grid-template-rows: minmax(0, 1fr) 56px; } }
@media (max-width: 680px) { html body #kgm .nm-links .nm-link { aspect-ratio: 4 / 5; } }
html body #kgm .nm-stack { padding-left: 24px !important; padding-right: 24px !important; }
@media (max-width: 680px) { html body #kgm .nm-stack { padding-left: 16px !important; padding-right: 16px !important; } }
html body #kgm .nm-intro .sec-title { font-size: clamp(30px, 3.4vw, 46px) !important; font-weight: 600 !important; line-height: 1.11 !important; letter-spacing: normal !important; margin: 0 0 16px !important; text-transform: none !important; }

/* Subtler arrow button: outlined by default, solid on card hover */
html body #kgm .nm-links .nm-link { grid-template-rows: minmax(0, 1fr) 48px; }
html body #kgm .nm-links .nm-link svg {
  width: 44px !important; height: 44px !important; padding: 12px; box-sizing: border-box; border-radius: 50%;
  background: #fff; border: 1.5px solid #c30d23; fill: #c30d23 !important; transition: background .2s, fill .2s, transform .25s ease;
}
html body #kgm .nm-links .nm-link:hover svg, html body #kgm .nm-links .nm-link:focus-visible svg {
  background: #c30d23; fill: #fff !important; transform: translateX(3px);
}
@media (max-width: 680px) {
  html body #kgm .nm-links .nm-link { grid-template-rows: minmax(0, 1fr) 44px; }
  html body #kgm .nm-links .nm-link svg { width: 36px !important; height: 36px !important; padding: 9px; }
}
