/* KeyCRAFT production column: subtle secondary links and thin content separator. */
.kc-sysdev-article > .kc-sysdev-intro {
  padding:0 0 27px;
  border-bottom:1px solid #e5eaf2;
}
.kc-sysdev-article > .kc-sysdev-section:nth-of-type(2) {
  margin-top:50px;
}
body #toc_container,
body .toc_container,
body .lwptoc {
  display:none!important;
}
/* The previous margin on this wrapper did not create a visible gap on the rendered article.
   Use heading padding to preserve a clear space below the navy CTA (also with wpautop). */
.kc-sysdev-article .kc-keycraft-related-links {
  margin-top:0;
}
.kc-sysdev-article .kc-keycraft-related-heading {
  margin:0 0 7px;
  padding-top:96px;
  color:#10265c;
  font-size:17px;
  font-weight:700;
  line-height:1.5;
}
.kc-sysdev-article .kc-keycraft-related-copy {
  margin:0 0 14px;
  font-size:13px;
  color:#65728a;
  line-height:1.8;
}
.kc-sysdev-article .kc-keycraft-related-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
/* wpautop can wrap BOTH anchors in ONE <p> and insert a <br>.
   display:contents promotes the links to grid items; remove the breaks. */
.kc-sysdev-article .kc-keycraft-related-grid > p {
  display:contents;
}
.kc-sysdev-article .kc-keycraft-related-grid > br,
.kc-sysdev-article .kc-keycraft-related-grid > p > br,
.kc-sysdev-article .kc-keycraft-related-grid > p:empty {
  display:none!important;
}
.kc-sysdev-article .kc-keycraft-related-grid > p > a.kc-keycraft-related-card {
  width:100%;
  height:100%;
}
.kc-sysdev-article a.kc-keycraft-related-card {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:space-between;
  flex-wrap:nowrap;
  gap:14px;
  min-width:0;
  width:100%;
  min-height:110px;
  padding:18px 20px;
  border:1px solid #e6eaf1;
  border-radius:10px;
  background:#f4f6f9;
  color:#10265c!important;
  text-decoration:none!important;
  transition:background-color .18s ease,border-color .18s ease;
}
.kc-sysdev-article a.kc-keycraft-related-card:hover {
  background:#dce6f4;
  border-color:#adc2df;
}
.kc-sysdev-article a.kc-keycraft-related-card:focus-visible {
  outline:3px solid #f2d54a;
  outline-offset:2px;
}
.kc-sysdev-article .kc-keycraft-related-name {
  font-size:15px;
  font-weight:700;
  line-height:1.5;
}
.kc-sysdev-article .kc-keycraft-related-more {
  display:inline-flex;
  margin-top:auto;
  align-items:center;
  gap:5px;
  white-space:nowrap;
  font-size:12px;
  font-weight:600;
  color:#52627f;
}
@media (max-width:640px) {
  .kc-sysdev-article > .kc-sysdev-intro {padding-bottom:22px}
  .kc-sysdev-article > .kc-sysdev-section:nth-of-type(2) {margin-top:40px}
  .kc-sysdev-article .kc-keycraft-related-grid {grid-template-columns:1fr}
  .kc-sysdev-article .kc-keycraft-related-heading {font-size:16px;padding-top:80px}
  .kc-sysdev-article a.kc-keycraft-related-card {padding:15px 16px;min-height:90px}
  .kc-sysdev-article .kc-keycraft-related-name {font-size:14px}
}
@media (prefers-reduced-motion:reduce) {
  .kc-sysdev-article a.kc-keycraft-related-card {transition:none}
}


/* Column 869 editorial update (2026-11-13): descriptive secondary cards. */
.kc-sysdev-article .kc-keycraft-related-desc {
  display:block;
  color:#52627f;
  font-size:12px;
  font-weight:400;
  line-height:1.75;
}

/* CONTACT is deliberately lighter than the primary navy KeyCRAFT brand CTA. */
.kc-sysdev-article .kc-keycraft-contact-card {
  margin:38px 0 6px;
  padding:28px 30px;
  border:1px solid #dce5f0;
  border-radius:14px;
  background:#f3f6fb;
}
.kc-sysdev-article .kc-keycraft-contact-kicker {
  margin:0 0 9px;
  color:#53637f;
  font-size:11px;
  font-weight:800;
  line-height:1.5;
  letter-spacing:.12em;
}
.kc-sysdev-article .kc-keycraft-contact-title {
  margin:0 0 13px!important;
  padding:0!important;
  border:0;
  color:#10265c!important;
  font-size:21px;
  font-weight:750;
  line-height:1.55;
}
.kc-sysdev-article .kc-keycraft-contact-copy {
  margin:0 0 20px;
  color:#34445f;
  font-size:14px;
  line-height:1.85;
}
.kc-sysdev-article a.kc-keycraft-contact-button {
  display:inline-flex;
  justify-content:center;
  align-items:center;
  min-height:49px;
  padding:11px 19px;
  border-radius:9px;
  background:#10265c;
  color:#fff!important;
  font-size:14px;
  font-weight:750;
  line-height:1.7;
  text-align:center;
  text-decoration:none!important;
  transition:background-color .18s ease;
}
.kc-sysdev-article a.kc-keycraft-contact-button::after {
  content:"→";
  margin-left:12px;
}
.kc-sysdev-article a.kc-keycraft-contact-button:hover {
  background:#3157a0;
}
.kc-sysdev-article a.kc-keycraft-contact-button:focus-visible {
  outline:3px solid #f2d54a;
  outline-offset:3px;
}
@media (max-width:640px) {
  .kc-sysdev-article .kc-keycraft-contact-card {
    margin-top:30px;
    padding:22px 18px;
  }
  .kc-sysdev-article .kc-keycraft-contact-title {font-size:18px}
  .kc-sysdev-article a.kc-keycraft-contact-button {
    width:100%;
    min-height:52px;
  }
}
@media (prefers-reduced-motion:reduce) {
  .kc-sysdev-article a.kc-keycraft-contact-button {transition:none}
}

/* Align the navy brand CTA's white button hover with the contact CTA:
   a small background-color change only, with no motion. */
.kc-sysdev-article .kc-sysdev-cta a.kc-sysdev-button {
  transition:background-color .18s ease;
}
.kc-sysdev-article .kc-sysdev-cta a.kc-sysdev-button:hover {
  background-color:#cfe5ff;
  transform:none;
  filter:none;
  opacity:1;
}
