#related-posts-widget-container {
  margin-top: 32px;
  font-family: Arial, 'Noto Sans HK';
}

#related-posts-title {
  border-left: #E50020 solid 2px;
  padding-left: 8px;
  font-weight: 500;
  font-size: 20px;
  line-height: 120%;
  letter-spacing: 0.02em;
  color: #101820;
}

#related-posts-container {
  margin-top: 8px;
}

div.related-post {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.related-post > a {
  width: 30%;
  height: fit-content;
}

.related-post > a > img {
  min-width: 100%;
  height: fit-content;
}

.related-posts.title {
  flex: 1;
}

.related-posts.title a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 133%;
  letter-spacing: 0.02em;
  color: #101820;
}

.related-posts.post-meta {
  display: flex;
  padding: 0;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 4px;
}

.related-posts.content-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 70%;
}

.related-posts.publish-date {
  font-weight: 400;
  font-size: 12px;
  color: #ADB5BD;
}

li.related-posts.category-item a {
  font-weight: 400;
  font-size: 12px;
  line-height: 133%;
  color: #6C757D;
  font-family: Arial, 'Noto Sans HK';
}

li.related-posts.category-item:last-child {
  padding: 0;
  margin: 0;
}

ul.related-posts.categories {
  padding-right: 8px;
  margin-right: 8px;
  width: fit-content;
  line-height: 133%;
}

.related-posts.title > a:hover {
  color: #E50020
}

@media screen and (max-width: 991px) {
  #related-posts-widget-container {
    order: 3
  }
}