.client-pathways {
  background: #23282d;
  color: #fff;
}
.client-pathways h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  line-height: 1.1;
}
.client-pathways-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.client-pathway {
  display: flex;
  flex-direction: column;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: #2e353c;
  border: 1px solid #4c555e;
  border-top: 3px solid #ff7900;
  border-radius: 10px;
  scroll-margin-top: 180px;
}
.client-pathway h3 {
  margin: 0 0 0.75rem;
  color: #fff;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.18;
}
.client-pathway p {
  flex: 1;
  margin: 0;
  color: #e0e4e8;
  font-size: 1rem;
}
.client-pathway-link {
  display: inline-block;
  margin-top: 0.75rem;
  color: #ffb780;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.client-pathway-link:hover { color: #fff; }
.client-pathway-link:focus-visible { outline: 2px solid #ffb780; outline-offset: 3px; }
@media (max-width: 720px) {
  .client-pathways-grid { grid-template-columns: 1fr; }
}

.client-pathways-column { display: grid; grid-template-rows: 1fr auto; gap: 1.25rem; min-width: 0; }
.client-pathways-contact { justify-self: start; }

/* Share content rows so wrapped headings and links line up across both cards. */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 721px) {
    .client-pathways-grid { grid-template-rows: auto 1fr auto auto; }
    .client-pathways-column { grid-row: span 4; grid-template-rows: subgrid; }
    .client-pathway { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: .75rem; }
    .client-pathway h3, .client-pathway-link { margin: 0; }
    .client-pathway-link { align-self: end; }
  }
}
