.TagLabel {
  font-weight: 600;
  border-radius: var(--border-radius);
  display: inline-block;
  padding: .1em .5em;
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .TagTiles>li:first-child {
    border-top-left-radius: 4px;
  }
  .TagTiles>li:nth-child(2) {
    border-top-right-radius: 4px;
  }
  .TagTiles>li:nth-last-child(2):nth-child(even),.TagTiles>li:last-child {
    border-bottom-right-radius: 4px;
  }
  .TagTiles>li:nth-last-child(2):nth-child(odd),.TagTiles>li:last-child:nth-child(odd) {
    border-bottom-left-radius: 4px;
  }
}

@media (min-width: 992px) {
  .TagTiles>li:first-child {
    border-top-left-radius: 4px;
  }
  .TagTiles>li:nth-child(3),.TagTiles>li:nth-child(2):last-child,.TagTiles>li:first-child:last-child {
    border-top-right-radius: 4px;
  }
  .TagTiles>li:nth-child(3n):nth-last-child(2),.TagTiles>li:nth-child(3n):nth-last-child(3),.TagTiles>li:last-child {
    border-bottom-right-radius: 4px;
  }
  .TagTiles>li:nth-child(3n+1):last-child,.TagTiles>li:nth-child(3n+1):nth-last-child(2),.TagTiles>li:nth-child(3n+1):nth-last-child(3) {
    border-bottom-left-radius: 4px;
  }
}

@media (min-width: 768px) {
  .IndexPage .DiscussionListItem-title {
    margin-right: 155px;
  }
  .IndexPage .DiscussionListItem-info>.item-tags {
    position: absolute;
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, #000 140px, rgba(0,0,0,0) 150px);
  }
}

@media (min-width: 992px) {
  .TagsPage .sideNav>ul>li:first-child {
    width: 190px;
  }
}

.FlarumBlogOverview {
  padding: 30px 20px;
}

.Post-body video {
  max-width: 100%;
}
