/* Shared zh/en image cards: reserve exactly two category and title lines. */
.post-loop.post-loop-image > .item > .item-inner > .item-categories {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  box-sizing: content-box;
  height: 3em;
  min-height: 3em;
  max-height: 3em;
  padding: 24px 15px 0;
  margin: 0;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.5;
}
.post-loop.post-loop-image > .item > .item-inner > .item-categories .cat-btn {
  display: inline;
  margin: 0 .8em 0 0;
  padding: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: inherit;
}
.post-loop.post-loop-image > .item > .item-inner > .item-title {
  box-sizing: content-box;
  height: 2.8em;
  min-height: 2.8em;
  max-height: 2.8em;
  padding: 15px;
  margin: 0;
  overflow: hidden;
  font-size: 16px;
  line-height: 1.4;
}
.post-loop.post-loop-image > .item > .item-inner > .item-title > a {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  height: 2.8em;
  max-height: 2.8em;
  overflow: hidden;
  line-height: inherit;
}
@media (max-width: 768px) {
  .post-loop.post-loop-image > .item > .item-inner > .item-categories {
    padding: 15px 6px 0;
    font-size: 12px;
  }
  .post-loop.post-loop-image > .item > .item-inner > .item-title {
    padding: 6px;
    font-size: 15px;
  }
}
