/**
 * @file
 * Visual styles for nodes.
 */

.node--unpublished {
  background-color: #fff4f4;
}

.node {
  margin: 0;

  // info
  .node-info {
    display: flex;
    align-items: center;
    margin: 0 0 10px 0;
    gap: 20px;

    .date {
      color: var(--primary-vivid-60);
      font-size: 14px;
      font-weight: 800;
    }

    .author {
      display: flex;
      align-items: center;
      margin-right: auto;
      padding: 0 5px;
      color: var(--black-80);
      border-radius: 3px;
      background-color: var(--primary-vivid-40);
      font-size: 14px;
      font-weight: 800;
      line-height: 18px;
    }

    .comment {
      color: var(--primary-darker);
      font-size: 14px;
    }
  }

  // links
  .node__links {
    margin-bottom: 20px;
    padding-top: 40px;
    text-align: right;
    font-size: 14px;

    ul.links {
      margin: 0;
      padding: 0;

      li {
        display: inline-block;
        margin: 0 0 0 20px;
        padding: 0;
        list-style: none;

        a {
          font-weight: bold;

          &:hover {
            color: var(--primary);
          }
        }
      }
    }
  }
}
