.generic-postlist {
  margin: 15px 0; }
  .generic-postlist .postlist .post-item {
    border-radius: 6px;
    margin: 5px;
    cursor: pointer;
    overflow: hidden; }
    .generic-postlist .postlist .post-item .post-item-title {
      font-size: 16px;
      padding: 10px; }
    .generic-postlist .postlist .post-item .post-item-date {
      padding: 5px 10px;
      font-size: 12px;
      color: gray; }
    .generic-postlist .postlist .post-item .post-item-excerpt {
      font-size: 13px;
      padding: 10px;
      padding-top: 0;
      overflow: hidden;
      max-width: 100%;
      max-height: 100px; }

.post-item-title {
  margin: 0 0 0 0; }
  .post-item-image {
    position: relative; }
    .post-item-image.with-mask .overlay {
      height: auto;
      color: black;
      font-weight: bold;
      text-align: center;
      justify-content: center;
      background: none; }
      .post-item-image.with-mask .overlay p {
        margin: 0;
        text-align: center; }
      .post-item-image.with-mask .overlay .post-item-title {
        font-weight: normal; }
  .post-item-type-label {
    position: absolute;
    bottom: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.8);
    padding: 7px 15px;
    border-top-right-radius: 5px;
    color: black;
    box-shadow: 2px -2px 3px rgba(0, 0, 0, .2); }
  .post-item .overlay {
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, .8), rgba(0, 0, 0, 0));
    color: white;
    display: flex;
    align-items: flex-end;
    padding: 15px; }
  .post-item .white-mask {
    position: absolute;
    left: 0;
    width: 100%;
    top: 0;
    height: 100%;
    background: rgba(255, 255, 255, .8); }
  .post-item.video .post-item-type-label, .post-item.topic .post-item-type-label {
    background: none !important;
    box-shadow: none !important;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center; }
    .post-item.video .post-item-type-label img, .post-item.topic .post-item-type-label img {
      width: 85px;
      height: auto; }
