#links {
  display: grid;
  grid-template-columns: 1;
  gap: 1em;
  margin: 1em 0;
}
.link {
  .link-title {
    color: var(--fg-color);
    font-weight: bold;
    text-decoration: underline;
    text-decoration-thickness: 0.125rem;
    text-decoration-color: var(--highlight-color);
    transition: 0.2s ease-out all;
    overflow-wrap: break-word;

    display: block;
    /* margin-bottom: 0.25em; */

    &:hover {
      color: var(--link-color);
    }
  }

  .link-description, .link-tags {
    font-size: 0.75em;
    color: var(--mid-color);
    overflow-wrap: break-word;
  }

  .link-etc {
    font-size: 0.75em;
    display: flex;
    align-items: center;
    gap: 0.5em;
    /* margin-top: 0.5em; */
  }

  .start-page-toggle {
    transition: 0.2s ease-out all;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
  }

  .start-page-toggle svg {
    width: 1em;
    height: 1em;
    transition: 0.2s ease-out all;
  }

  .start-page-toggle.not-added {
    opacity: 0.5;
  }

  .start-page-toggle.not-added svg {
    fill: var(--mid-color);
  }

  .start-page-toggle.not-added:hover {
    opacity: 1;
  }

  .start-page-toggle.not-added:hover svg {
    fill: var(--highlight-color);
  }

  .start-page-toggle.added svg {
    fill: var(--highlight-color);
  }

  .start-page-toggle.added:hover svg {
    fill: var(--positive-color);
  }
}

@media screen and (min-width: 45em) {
  #links {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(30em, 1fr));
    gap: 1em;
    margin: 1em 0;
  }
}
