.blog-list {
  margin-top: 0;

  .blog-header {
    text-align: center;
    background-color: $zim_green;
    padding: 50px 0;
    margin-bottom: 75px;

    h1, h2, h3, h4, h5, h6, p {
      color: white;
      margin-bottom: 10px;
    }
  }

  .blog-filter {
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: center;
    margin-bottom: 25px;

    .blogpost-filter-year {
      max-width: 150px;
    }
  }

  .blog-posts {

    .blog-post {
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
      padding: 50px 0;
      &:not(:last-child) {
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
      }

      .blog-post-image {
        flex-basis: 40%;
      }

      .blog-post-info {
        flex-basis: 60%;
        display: flex;
        flex-direction: column;
        padding-left: 20px;

        span {
          font-weight: bold;
        }

        h3 {
          padding: 5px 0 10px;
          color: black;
        }

        button {
          align-self: flex-end;
          color: $zim_green;
          border: 2px solid $zim_green;
          margin-top: 20px;
        }
      }
    }
  }

  @media only screen and (max-width: $breakpoint_medium) {
    .blog-posts {

    .blog-post {
      display: flex;
      flex-direction: column;

      .blog-post-image {
        flex-basis: auto;
      }

      .blog-post-info {
        flex-basis: auto;
        padding-left: 0;
      }
    }
  }
  }
}

.blogpost-page {
  margin-top: 0;

  .blogpost-header {
    text-align: center;
    background-color: $zim_green;
    padding: 50px 0;

    img {
      margin-bottom: 50px;
    }

    h1, h2, h3, h4, h5, h6, p, span {
      color: white;
      margin-bottom: 10px;
    }

    span {
      font-weight: bold;
      font-family: $ratio;
    }
  }

  .blogpost-content {
    padding: 75px 0;

    ul {
      padding-left: 40px;
      li {
        list-style-type: disc;
      }
    }
  }
}