.dfe-card-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dfe-card-list__item {
  border-top: 1px solid var(--govuk-colour-border);
  margin: 0;
  padding: 0;
}

.dfe-card-list__item:first-child {
  border-top: none;
}

.dfe-card-list__link {
  display: block;
  padding: 16px 0;
  text-decoration: none;
  color: inherit;
}

.dfe-card-list__link:hover {
  background: transparent;
}

.dfe-card-list__link:hover .dfe-card-list__heading {
  color: var(--govuk-colour-blue-shade-50);
  text-decoration: underline;
  text-decoration-thickness: 3px;
}

.dfe-card-list__link:focus {
  outline: 3px solid var(--govuk-colour-focus);
  outline-offset: 2px;
}

.dfe-card-list__heading {
  margin: 0 0 8px 0;
  font-size: 19px;
  font-weight: 700;
  color: var(--govuk-colour-blue);
  text-decoration: none;
  display: block;
}

.dfe-card-list__description {
  margin: 0;
  font-size: 1rem;
  color: var(--govuk-colour-secondary-text);
  line-height: 1.6;
  display: block;
}

@media (min-width: 40.0625em) {
  .dfe-card-list--2-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 30px;
  }
  .dfe-card-list--2-col .dfe-card-list__item {
    padding: 0;
  }
}

@media (min-width: 48.0625em) {
  .dfe-card-list--3-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 30px;
  }
  .dfe-card-list--3-col .dfe-card-list__item {
    padding: 0;
  }
}

/* Roadmap sections */
.roadmap-section {
  margin: 48px 0;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--govuk-colour-border);
}

.roadmap-section:last-child {

/* Tools index */
/* Tools index — scoped from legacy service-manual */
.tools-index-shell .tools-index__content {
  padding-top: 2rem;
  background: #f3f2f1;
  border-top: 1px solid #b1b4b6;
}

.tools-index-shell .tools-index__list-heading {
  margin-top: 0;
}

.tools-index-shell .tools-index__list-lede {
  color: #505a5f;
  margin-top: -0.25rem;
  margin-bottom: 1.5rem;
  max-width: 55ch;
}

.tools-index-shell .tools-index__body {
  max-width: 55ch;
}
