/* Aligned front-page cards. Keep pending titles blank without shifting the row. */
#comment-cards {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
}
#comment-cards .comment-card {
  display: grid;
  grid-template-rows: auto 48px 32px;
  align-content: start;
  align-items: start;
  row-gap: 10px;
  align-self: flex-start;
  margin: 0;
  border: 0;
  overflow: hidden;
}
#comment-cards .comment-thumb {
  width: 100%;
  aspect-ratio: 3 / 4;
  min-width: 0;
  margin: 0;
}
#comment-cards .comment-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
#comment-cards .comment-card > h3,
#comment-cards .comment-card > p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  min-width: 0;
  width: 100%;
  margin: 0;
  overflow: hidden;
  overflow-wrap: anywhere;
}
#comment-cards .comment-card > h3 {
  height: 48px;
  font-size: 20px;
  line-height: 24px;
}
#comment-cards .comment-card > h3.hidden {
  display: -webkit-box !important;
  visibility: hidden;
}
#comment-cards .comment-card > p {
  height: 32px;
  font-size: 11px;
  line-height: 16px;
}
@media (max-width: 650px) {
  #comment-cards .comment-card { grid-template-rows: auto 44px 32px; row-gap: 9px; }
  #comment-cards .comment-card > h3 { height: 44px; font-size: 18px; line-height: 22px; }
}
