#posts {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.new-post {
  text-align: center;
  font-size: 16px;
}

.post-card {
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 15px;
  background-color: var(--surface);
}

.post-full-actions {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}

.post-card__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.post-card__avatar-link {
  flex-shrink: 0;
  text-decoration: none;
}

.post-card__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  background-color: var(--ruby);
  color: var(--ruby-foreground);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--foreground) 10%, transparent);
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
}

.post-card__meta {
  min-width: 0;
}

.post-card__author {
  display: flex;
  align-items: baseline;
  gap: 6px;
  max-width: 62ch;
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
}

.post-card__author-name {
  min-width: 0;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.post-card__author-name:hover {
  text-decoration: underline;
}

.post-card__time,
.post-card-comment-time {
  flex: 0 0 auto;
  color: var(--ink-soft);
  font-weight: 400;
  white-space: nowrap;
}

.post-card__title,
.post-card-body {
  /* max-width: 62ch; */
  line-height: 1.625;
  font-weight: 400;
  color: var(--ink-soft);
}

.post-card__title {
  font-size: 16px;
  margin: 2px 0 0;
}

.post-card-body {
  font-size: 15px;
  margin: 16px 0;
  text-indent: 0;
}

.avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--ruby);
  color: white;
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
}

.avatar-sm {
  width: 28px;
  height: 28px;
  font-size: 11px;
}

.post-card-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  border-top: 1px solid #eee;
  margin-top: 10px;
  padding-top: 10px;
}

.social-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 6px 10px;
  border: none;
  border-radius: 15px;
  background: none;
  color: #777;
  font-size: 14px;
  font-family: Lato, sans-serif;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: ease-in-out 0.3s;
}

.social-action:hover {
  color: red;
  background-color: #faf5f5;
}

.social-action button {
  all: unset;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  color: inherit;
  font: inherit;
}

.social-action img {
  width: 18px;
  height: 18px;
}

.social-action.is-static {
  cursor: default;
}

.social-action-count {
  color: #555;
}

.social-action.is-liked {
  color: red;
}

.social-action.is-danger {
  color: red;
}

.post-card-comments {
  border-top: 1px solid #eee;
  margin-top: 10px;
  padding-top: 10px;
}

.post-card-comment {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
}

.post-card-comment-body {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.post-card-comment-author-name {
  color: var(--foreground);
  font-weight: 600;
  text-decoration: none;
}

.post-card-comment-author-name:hover {
  text-decoration: underline;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}