#experience .tab-content :is(p, li) a {
  text-decoration-line: underline;
  text-decoration-color: var(--primary-color);
  text-decoration-thickness: 0.125em;
  text-underline-offset: 0.15em;
}

#experience .tab-content :is(p, li) a::after {
  content: none;
  display: none;
}

#experience .tab-content :is(p, li) a:focus-visible {
  outline: 3px solid var(--primary-color);
  outline-offset: 2px;
  border-radius: 0.125rem;
}

#projects .card-body {
  display: none
}

#projects .card {
  min-height: auto;
  height: auto !important;
}

#projects .card:hover .card-img-top {
  transform: none;
  transition: none;
}

/* Keep the grouped skills table readable without changing its content. */
.portfolio-skill-groups {
  width: 100%;
  table-layout: fixed;
  margin: 1.25rem 0 0;
  color: var(--text-color) !important;
  background: transparent !important;
  font-size: 0.95rem;
  line-height: 1.4;
  border-collapse: collapse;
}

.portfolio-skill-groups th,
.portfolio-skill-groups td {
  padding: 0.55rem 0.7rem !important;
  color: var(--text-color) !important;
  border: 1px solid var(--text-secondary-color) !important;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.portfolio-skill-groups thead th {
  color: var(--secondary-color) !important;
  background-color: var(--primary-color) !important;
  font-weight: 700;
  text-align: left;
}

.portfolio-skill-groups th:first-child {
  width: 23%;
}

.portfolio-skill-groups tbody th {
  font-weight: 700;
  text-align: left;
}

@media (max-width: 575.98px) {
  .portfolio-skill-groups {
    font-size: 0.875rem;
    line-height: 1.35;
  }

  .portfolio-skill-groups th,
  .portfolio-skill-groups td {
    padding: 0.45rem 0.5rem !important;
  }

  .portfolio-skill-groups th:first-child {
    width: 30%;
  }
}
