.pill {
  border: 1px solid var(--primary-color);
  display: inline-block;
  border-radius: 8px;
  padding: 10px;
  text-indent: 0;
  font-family: var(--bodytext-font-family);
  font-size: var(--font-size);
  line-height: 1.3em;
  background-image: none;
  /*height:40px;*/
  width: 100%;
}
.pill.is-active,
.pill:hover,
.pill:active {
  background-color: var(--active-background-color);
  color: var(--active-primary-color);
  cursor: pointer;
}
.pill a,
.pill a:visited {
  color: var(--primary-color);
  line-height: normal;
  text-decoration: none !important;
}
.pill:hover a,
.pill:active a,
.pill.is-active a:link,
.pill.is-active a:visited {
  color: var(--active-primary-color);
  text-decoration: none;
}
.pill a:has(svg) {
  display: flex;
  flex-basis: fit-content;
  align-items: center;
  gap: 8px;
}
.pill a svg {
  /*height: calc(1em + 4px);*/
  /*width: calc(1em + 4px);*/
}
.pill a .normal {
  display: block;
}
.pill a .invert {
   display: none;
 }
.pill.is-active .normal,
.pill:active a .normal,
.pill:hover a .normal {
  display: none;
}
.pill.is-active .invert,
.pill:active a .invert,
.pill:hover a .invert {
   display: block;
}
@media (min-width: 480px) {
}
