/* Repository: repository cards and responsive grid */
.repo-heading {
  margin-top: 78px;
}
.repo-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}
.repo-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  padding: 20px 20px 54px;
  border: 1px solid var(--rule);
  min-width: 0;
}
.repo-card h3 {
  margin: 0 0 5px;
  font-size: 19px;
}
.repo-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.repo-link {
  position: absolute;
  right: 18px;
  bottom: 16px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--muted);
  text-decoration: none;
  border: 1px solid var(--rule);
}
.repo-link svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.repo-link:hover {
  color: var(--lime);
  border-color: var(--lime);
}
@media (max-width: 1099px) and (min-width: 651px) {
  .repo-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 650px) {
  .repo-heading {
    margin-top: 50px;
    margin-bottom: 30px;
  }
  .repo-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 0;
  }
  .repo-card {
    gap: 14px;
    padding: 15px 13px 48px;
  }
  .repo-card h3 {
    font-size: 15px;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }
  .repo-card p {
    font-size: 12px;
    line-height: 1.45;
  }
  .repo-link {
    right: 12px;
    bottom: 12px;
    width: 25px;
    height: 25px;
  }
  .repo-link svg {
    width: 13px;
    height: 13px;
  }
}
