.post-content a.post-link {
  position: relative;
  z-index: 10;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin: 0.5rem auto;
  padding: 0.5rem 1rem;
  overflow: hidden;
  border-width: 2px;
  border-radius: 9999px;
  font-size: 1.125rem;
  line-height: 1.75rem;
  isolation: auto;
  transition: all 0.3s ease-in-out;
}

.post-content a::before {
  content: '';
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: 9999px;
  transition: all 0.7s;
  z-index: -10;
}

.post-content a:hover::before {
  left: 0;
  transform: scale(1.5);
}

/* Light Mode */
[data-theme='light'] .post-content a {
  color: #1f2937;
  background-color: #f9fafb;
  border-color: #f9fafb;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

[data-theme='light'] .post-content a:hover {
  color: #f9fafb;
}

[data-theme='light'] .post-content a::before {
  background-color: rgb(66, 90, 239);
}

[data-theme='light'] .post-content a.post-link svg {
  width: 1.5rem;
  height: 1.5rem;
  transition: all 0.3s linear;
}

[data-theme='light'] .post-content a:hover svg {
  transform: rotate(90deg);
}

[data-theme='light'] .post-content a svg path {
  fill: #111827;
}

[data-theme='light'] .post-content a:hover svg path {
  fill: #111827;
}

/* Dark Mode */
[data-theme='dark'] .post-content a {
  color: #f9fafb;
  background-color: #0A0D2D;
  border-color: transparent;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

[data-theme='dark'] .post-content a:hover {
  color: #f9fafb;
}

[data-theme='dark'] .post-content a::before {
  background-color: rgb(208, 151, 37);
}

[data-theme='dark'] .post-content a.post-link svg {
  width: 1.5rem;
  height: 1.5rem;
  transition: all 0.3s linear;
}

[data-theme='dark'] .post-content a:hover svg {
  transform: rotate(90deg);
}

[data-theme='dark'] .post-content a.post-link svg path {
  fill: #f9fafb;
}

[data-theme='dark'] .post-content a.post-link:hover svg path {
  fill: #f9fafb;
}