.post article {
  margin-bottom: 3rem;
}

.posts-navigation {
  display: flex; /* Enables flexbox */
  justify-content: space-between; /* Spaces out the children evenly */
  align-items: stretch; /* Centers items vertically */
  text-align: center; /* Ensures text is centered if needed */
  gap: 1rem;
}

.posts-navigation a {
  color: var(--tx-3);
  flex: 1; /* Allows each link to grow and fill the space */
  padding: 10px; /* Adds some padding for better readability */
  box-sizing: border-box; /* Ensures padding is included in the total width */
  text-decoration: none; /* Optional: Removes underline from links */
  border-radius: 16px;
}

.posts-navigation a:hover {
  color: var(--tx);
  background-color: var(--bg-2);
}

.posts-navigation .older {
  text-align: left;
}

.posts-navigation .newer {
  text-align: right;
}
/* Additional styling for older and newer links if needed */
.older,
.newer {
  display: block; /* Makes each link fill the allocated flex space */
  width: 100%; /* Ensures each link utilizes the full width available to it */
}

.timestamp-and-tags {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}

.tags {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.15rem;
  font-family: "Nunito", sans-serif;
}

.tags span {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;

  padding: 6px 10px;
  line-height: 1;
  border-radius: 30px;
  background-color: var(--bg-2);
}

.tags span a {
  text-decoration: none;
  color: var(--decoration-secondary);
}

.tags span:hover {
  background-color: var(--bg-3);
}
