.prose sup[id^="fnref:"] {
  display: inline-block;
  margin-left: 0.08em;
  top: -0.35em;
}

.prose sup[id^="fnref:"]::before {
  content: "[";
}

.prose sup[id^="fnref:"]::after {
  content: "]";
}

.prose sup[id^="fnref:"] a {
  font-weight: 500;
  text-decoration: none;
}

.prose .footnotes ol {
  padding-left: 1.5rem;
}

.prose .footnotes li + li {
  margin-top: 0.5rem;
}

.post-card {
  position: relative;
}

.post-card > * {
  position: relative;
  z-index: 1;
}

.post-card-link {
  text-decoration: none;
}

.post-card-link:hover {
  text-decoration: none;
}

.post-card-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
}

.post-card-summary,
.post-card-meta {
  pointer-events: none;
}

.post-card-summary a {
  pointer-events: auto;
}

.site-nav-menu {
  gap: 0.35rem 0.2rem;
}

.site-nav-menu li {
  margin-right: 0;
  padding-top: 1.5rem;
}

.site-nav-link {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(113, 113, 122, 0.45);
  border-radius: 9999px;
  color: rgb(82 82 91 / 1);
  background-color: transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.site-nav-link:hover {
  background-color: rgb(228 228 231 / 1);
  border-color: rgba(113, 113, 122, 0.7);
  color: rgb(39 39 42 / 1);
}

.site-nav-link.is-active {
  background-color: rgb(212 212 216 / 1);
  border-color: rgba(113, 113, 122, 0.85);
  color: rgb(39 39 42 / 1);
}

.dark .site-nav-link {
  border-color: rgba(161, 161, 170, 0.45);
  color: rgb(212 212 216 / 1);
}

.dark .site-nav-link:hover {
  background-color: rgb(39 39 42 / 1);
  border-color: rgba(212, 212, 216, 0.65);
  color: rgb(244 244 245 / 1);
}

.dark .site-nav-link.is-active {
  background-color: rgb(63 63 70 / 1);
  border-color: rgba(228, 228, 231, 0.9);
  color: rgb(244 244 245 / 1);
}
