/* public/css/article-cards.css — article ("Guide") cards interleaved into the home grid.
   Kept separate from the minified main.css so the home feed's product styling is never
   touched; index.html loads it right after main.css.

   ⭐ The title is CONTENT-SIZED (up to 3 lines via -webkit-line-clamp) so a short
   title keeps only the natural ~5px gap above the excerpt — no fixed 3-line box.
   Because the body height therefore VARIES, public/js/app.js MEASURES each rendered
   article card (`renderItems`: card.offsetHeight + ~5px slack) instead of reserving
   a fixed ART_BODY_H. The excerpt stays a fixed 2-line box. */
.t-card.t-art {
  border-color: rgba(230, 57, 70, .40);
  background: #fff;
}
.t-card.t-art:hover {
  box-shadow: 0 10px 28px rgba(230, 57, 70, .20);
}
.t-card.t-art .t-card-body {
  padding: 8px 10px 10px;
  min-height: 0;
}
.t-card.t-art .t-art-badge {
  display: block;
  width: fit-content;
  height: 17px;
  box-sizing: border-box;
  background: rgba(230, 57, 70, .10);
  color: #e63946;
  font-family: 'Sofia Sans Condensed', sans-serif;
  font-size: 11px;
  font-weight: 800;
  line-height: 15px;
  padding: 1px 8px;
  border-radius: 999px;
  letter-spacing: .02em;
}
.t-card.t-art .t-card-title {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: normal;
  overflow-wrap: anywhere;
  margin-top: 6px;
  font-size: 15px;
  line-height: 19px;
  font-weight: 800;
  color: #222;
}
.t-card.t-art .t-card-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
  height: 36px;
  margin-top: 4px;
  font-size: 12.5px;
  line-height: 18px;
  color: #666;
}
