.post {
  &-block {
    color: var(--hty-text-color);
    margin: 0 1rem;
    padding: 1rem;
    background-color: var(--post-block-bg-color);

    +mobile() {
      margin: 0;
      padding-top: 2.5rem;
    }
  }

  &-body {
    padding: 0 5rem;

    +tablet() {
      padding: 0 0.5rem;
    }

    +mobile() {
      padding: 0 0.5rem;
    }
  }
}

.post-meta {
  font-size: 14px;
  color: var(--hty-secondary-text-color);

  .icon {
    margin-bottom: -1px;
  }
}

.post-description {
  font-weight: normal;
  padding: 0.5rem;
}

.post-author {
  display: flex;
  justify-content: center;

  .author-avatar {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    line-height: 0;

    img {
      border-radius: 50%;
      height: 1rem;
      width: 1rem;
      padding: 2px;
      border: 2px solid lightgray;
    }
  }

  .author-name {
    margin-left: 0.5rem;
    font-size: 1rem;
  }
}

.post-meta-item-icon {
  display: inline-block;
  color: var(--text-color, --hty-secondary-text-color);
}

.post-meta-divider {
  height: 25px;
  color: var(--hty-secondary-text-color);
  margin: 0 0.5rem;
}

.post-eof {
  margin: 50px auto;
  width: 50%;
  height: 1px;
  background: $blue;
  opacity: 0.1;
}

.post-copyright {
  font-size: 0.9rem;
  margin: 0.5rem 5rem 1rem 5rem;
  padding: 0.5rem 1rem;
  border-left: 4px solid #ff5252;
  background-color: var(--hty-bg-color);
  list-style: none;
  word-break: break-all;
  position: relative;
  overflow: hidden;

  +mobile() {
    margin: 0.5rem 0;
  }

  &::after {
    position: absolute;
    color: white;
    background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 496 512'%3E%3Cpath fill='gray' d='M245.8 214.9l-33.2 17.3c-9.4-19.6-25.2-20-27.4-20-22.2 0-33.3 14.6-33.3 43.9 0 23.5 9.2 43.8 33.3 43.8 14.4 0 24.6-7 30.5-21.3l30.6 15.5a73.2 73.2 0 01-65.1 39c-22.6 0-74-10.3-74-77 0-58.7 43-77 72.6-77 30.8-.1 52.7 11.9 66 35.8zm143 0l-32.7 17.3c-9.5-19.8-25.7-20-27.9-20-22.1 0-33.2 14.6-33.2 43.9 0 23.5 9.2 43.8 33.2 43.8 14.5 0 24.7-7 30.5-21.3l31 15.5c-2 3.8-21.3 39-65 39-22.7 0-74-9.9-74-77 0-58.7 43-77 72.6-77C354 179 376 191 389 214.8zM247.7 8C104.7 8 0 123 0 256c0 138.4 113.6 248 247.6 248C377.5 504 496 403 496 256 496 118 389.4 8 247.6 8zm.8 450.8c-112.5 0-203.7-93-203.7-202.8 0-105.5 85.5-203.3 203.8-203.3A201.7 201.7 0 01451.3 256c0 121.7-99.7 202.9-202.9 202.9z'/%3E%3C/svg%3E");
    content: ' ';
    height: 10rem;
    width: 10rem;
    right: -2rem;
    top: -2rem;
    opacity: 0.1;
  }
}

.tag-name {
  padding: 0 0.1rem;
}
