.cv-download {
  margin-top: 1.5rem;
}
.cv-download a {
  text-decoration: underline;
}

.cv-text h2 {
  margin-top: 3rem;
}
.cv-text h2:first-child {
  margin-top: 0;
}
.cv-text table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}
.cv-text thead {
  display: none;
}
.cv-text td {
  padding: .375rem 1rem .375rem 0;
  vertical-align: top;
}
.cv-text td:first-child {
  width: 7rem;
  white-space: nowrap;
}
.cv-text td:last-child {
  color: var(--color-text-grey);
  padding-right: 0;
}
.cv-text tr:has(td:first-child:not(:empty)) td {
  border-top: 1px solid var(--color-light);
}

/* stack the three columns on small screens */
@media screen and (max-width: 40rem) {
  .cv-text tr,
  .cv-text td {
    display: block;
    width: auto;
  }
  .cv-text td {
    padding: 0;
  }
  .cv-text td:first-child:empty {
    display: none;
  }
  .cv-text tr {
    padding: .5rem 0;
  }
  .cv-text tr:has(td:first-child:not(:empty)) {
    border-top: 1px solid var(--color-light);
  }
  .cv-text tr:has(td:first-child:not(:empty)) td {
    border-top: 0;
  }
}
