.post-container {
    border: 1px solid #ccc;
    background-color: #fbe5d5;
    position: relative;
  }
  
  .post-container h2{
    height: 1.2em;
    margin: 0;
    align-items: center;
    padding: 0 5px 0 5px;
    font-size: 1em;
    display: flex;
  }
  
  .post-container h2 a:nth-child(2){
    margin-left: auto;
  }
  
  .post-container .timestamp{
    position: absolute;
    bottom: 0;
    right: 0;
    height: 1em;
    margin: 0;
    font-size: 0.75em;
    align-content: center;
    text-align: right;
    background-color: lightgray;
  }
  
  .image-container {
    display: flex;
    aspect-ratio: 1;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;
    width: 100%;
    height: auto;
    overflow: hidden;
  }
  
  .image-container video,
  .image-container img {
      flex: 1; /* Distribute space equally among images */
      object-fit: contain;  /* Maintain aspect ratio and fill space */
      min-width: 50%;
  }
  
  .image-container video:nth-child(1):nth-last-child(1),
  .image-container img:nth-child(1):nth-last-child(1){
      flex: initial;
      width: auto;
      height: 100%;
  }
  
  .image-container video:nth-child(1):nth-last-child(2),
  .image-container video:nth-child(2):nth-last-child(1),
  .image-container img:nth-child(1):nth-last-child(2),
  .image-container img:nth-child(2):nth-last-child(1) {
      flex: initial;
      width: 50%;
      height: 100%;
  }
  
  .image-container video:nth-child(1):nth-last-child(3),
  .image-container video:nth-child(2):nth-last-child(2),
  .image-container video:nth-child(3):nth-last-child(1),
  .image-container img:nth-child(1):nth-last-child(3),
  .image-container img:nth-child(2):nth-last-child(2),
  .image-container img:nth-child(3):nth-last-child(1) {
      flex: initial;
      width: 33.33%;
      height: 50%;
  }
  
  .image-container video:nth-child(1):nth-last-child(4),
  .image-container video:nth-child(2):nth-last-child(3),
  .image-container video:nth-child(3):nth-last-child(2),
  .image-container video:nth-child(4):nth-last-child(1),
  .image-container img:nth-child(1):nth-last-child(4),
  .image-container img:nth-child(2):nth-last-child(3),
  .image-container img:nth-child(3):nth-last-child(2),
  .image-container img:nth-child(4):nth-last-child(1) {
      flex: initial;
      width: 25%;
      height: 50%;
  }
  
  .moderation-button-container{
    display: flex;
    height: 1.5em;
    text-wrap: nowrap;
  }
  
  .moderation-button-container button{
    flex: 1 1;
  }