.post-collapse {
  position: relative;
  margin: 0 5rem 2rem 5rem;

  +tablet() {
    margin: 0 2rem 1rem 2rem;
  }

  +mobile() {
    margin: 0 1rem 0.5rem 1rem;
  }

  &-title {
    font-size: 2rem;
    text-align: center;
  }

  .collection-title {
    position: relative;
    margin: 0;
    border-bottom: 2px solid rgba($colors.primary, 0.6);

    &::before {
      content: '';
      position: absolute;
      top: 50%;
      width: 2px;
      height: 50%;
      background: rgba($colors.primary, 0.3);
    }

    .archive-year {
      font-family: $font-family-monospace;
      color: $colors.primary;
      margin: 0 1.5rem;

      &::before {
        content: '';
        position: absolute;
        left: 0;
        top: 35%;
        margin-left: -11px;
        margin-top: -4px;
        width: 1.5rem;
        height: 1.5rem;
        background: $colors.primary;
        border-radius: 50%;
      }
    }
  }

  .post-item {
    position: relative;

    &::before {
      content: '';
      position: absolute;
      width: 2px;
      height: 100%;
      background: rgba($colors.primary, 0.3);
    }
  }

  .post-header {
    position: relative;
    border-bottom: 2px solid rgba($colors.primary, 0.3);
    display: flex;

    &::before {
      content: '';
      position: absolute;
      left: 0;
      top: 1.6rem;
      width: 0.5rem;
      height: 0.5rem;
      margin-left: -4px;
      border-radius: 50%;
      border: 1px solid $colors.primary;
      background-color: white;
      z-index: 1;
      the-transition();
      transition-property: background;
    }

    &:hover {
      &::before {
        background: $colors.primary;
      }
    }

    .post-title {
      margin-left: 0.1rem;
      padding: 0;
      font-size: 1rem;
      display: inline-flex;
      align-items: center;

      .post-title-link {
        .icon {
          width: 1.1rem;
          height: 1.1rem;
          margin-right: 0.3rem;
        }
      }
    }

    .post-meta {
      font-family: $font-family-monospace;
      font-size: 1rem;
      margin: 1rem 0 1rem 1.2rem;
      white-space: nowrap;
    }
  }
}

.last-word {
  font-size: 1rem;
  margin-top: 1rem;
  margin-bottom: 0;
}