
.home-page.home-page.home-page.home-page .article-card {
  height: auto !important;
  min-height: 104px !important;
  row-gap: 4px !important;
}
.home-page .article-card .hg-article-badges {
  grid-column: 1 / -1;
  grid-row: 2;
  align-self: end;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.hg-article-badges .hg-realname-badge,
.hg-article-badges .hg-recent-red-badge {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  line-height: 18px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 3px;
}
.hg-article-badges .hg-realname-badge {
  padding: 1px 6px;
  gap: 4px;
  background: #fff0e6;
  color: #b94220;
}
.hg-realname-check {
  width: 13px;
  height: 13px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #c64b25;
  color: #fff;
  font-size: 10px;
  line-height: 1;
}
.hg-article-badges .hg-recent-red-badge {
  padding: 0 5px;
  border: 1px solid #efb3b6;
  background: #fff8f8;
  color: #b83339;
}

/* On cards with an author, reserve the row below the portrait and title. */
.home-page.home-page .article-card.has-author .hg-article-badges {
  grid-row: 4;
}
.home-page.home-page.home-page.home-page .article-card.has-author {
  min-height: 144px !important;
}
.hg-article-badges .hg-realname-badge {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
}
.hg-article-badges .hg-recent-red-badge {
  grid-column: 2;
  grid-row: 1;
}

.home-page.home-page.home-page.home-page .article-card.has-author .hg-card-bottom {
  margin-top: 2px !important;
}


.home-page.home-page.home-page.home-page .article-card .hg-card-bottom {
  display: flex !important;
  gap: 7px;
  min-height: 27px;
  height: auto !important;
}
.home-page.home-page.home-page.home-page .article-card .hg-card-bottom .hg-price {
  flex: 0 0 auto;
  font-size: 18px;
}
.home-page.home-page.home-page.home-page .article-card .hg-card-bottom button {
  flex: 0 0 auto;
  white-space: nowrap;
}
.home-page.home-page.home-page.home-page .article-card .hg-card-bottom .article-foot {
  position: static !important;
  flex: 1 1 0;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 0 5px !important;
}
.home-page.home-page.home-page.home-page .article-card .hg-card-bottom .article-foot-right {
  flex: 0 1 auto !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 0 5px !important;
}
.home-page.home-page.home-page.home-page .article-card .hg-card-bottom .article-foot .date,
.home-page.home-page.home-page.home-page .article-card .hg-card-bottom .view-count,
.home-page.home-page.home-page.home-page .article-card .hg-card-bottom .cart-count {
  font-size: 11px !important;
  line-height: 15px !important;
  white-space: nowrap !important;
}
