.robertlemke-plugin-blog {
  .metadata {
    font-size: 0.8em;
  }

  ul.posts {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
    margin-top: 2rem;

    li {
      display: flex;
      flex-direction: column;
      width: 90%;
    }

    h2 {
      font-size: 1.5rem;
      margin-bottom: 1rem;
    }

    a {
      &.read-more {
        font-size: 0.8rem;
        text-decoration: underline;
      }
    }
  }

  li.post, li.comment {
    list-style: none;
    list-style-image: none;
  }

  ul.relatedpostslist {
    clear: both;
    margin-top: 8px;
    margin-bottom: 10px;
    padding: 8px;
  }

  ul.relatedpostslist li {
    list-style-type: square;
    margin-left: 15px;
  }

  ol.commentlist {
    clear: both;
    margin-bottom: 10px;
  }

  li.comment {
    clear: both;
  }

  li.spamcomment {
    background-color: #efd3d5;
  }

  li.comment p.metadata {
    margin: 10px 0 0 82px;
  }

  li.comment p.content {
    padding: 8px;
    margin: 0;
    margin-left: 75px;
    min-height: 85px;
    font-size: 15px;
  }

  .comment img.gravatar {
    border-radius: 50%;
    float: left;
    margin: -25px 10px;
    width: 60px;
    height: 60px;
  }

  /*--------------- pagination ------------------*/

  ul.Pagination {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    margin-top: 2rem;
  }

  ul.Pagination li {
    border: 1px solid transparent;
    border-radius: 0.25rem;
    display: flex;

    a {
      padding: 0.5rem;
    }

    &:hover,
    &.isCurrent {
      border-color: #0f0f0f;
    }

    &.isCurrent {
      font-weight: bold;
    }
  }

  /*--------------- form ------------------*/

    form.newcomment {
        display: flex;
        margin: 2rem;
        flex-direction: column;
        gap: 1rem;

        .field-group {
            display: flex;
            flex-direction: column;

            input, textarea {
                padding: 0.5rem;
                border: 1px solid #000;
                border-radius: 0.25rem;
            }
        }

        button {
            display: flex;
            border: 1px solid #000;
            border-radius: 0.25rem;
            padding: 0.5rem;
            cursor: pointer;
            width: fit-content;

            &:hover {
                background-color: lightgrey;
            }
        }
    }

  /*--------------- form validation ------------------*/

  input.typo3-form-error {
    border: 1px solid #8a1f11;
  }

  .errors {
    padding: 0.5rem;
    margin-top: 0.5rem;
    border-radius: 0.25rem;
    border: 1px solid #FBC2C4;
    background: #FBE3E4;

      dt {
          float: left;
          color: #8a1f11;
          width: 100px;
          font-weight: bold;
      }

      dd {
          margin-left: 100px;
          color: #8a1f11;
      }
  }

  .error, .f3-form-error {
    border-color: #FBC2C4;
  }

  .error {
    color: #8a1f11;
  }

  .notice {
    background: #FFF6BF;
    color: #514721;
    border-color: #FFD324;
  }

  .success {
    background: #E6EFC2;
    color: #264409;
    border-color: #C6D880;
  }

  .error a {
    color: #8a1f11;
  }

  .notice a {
    color: #514721;
  }

  .success a {
    color: #264409;
  }

  .required {
    color: #8a1f11;
  }
}
