/* hsb_cards_unify_by_papers.r1.css
   Products(.card-prod) / Issues+Community(.card-news) => align with Papers card spec.
*/

:root .card-prod,
:root .card-news{
  border:1px solid var(--border,#e5e5e5) !important;
  border-radius:18px !important;
  background:var(--surface,#fff) !important;
  overflow:hidden !important;
  display:flex !important;
  flex-direction:column !important;
  height:100% !important;
  box-shadow:0 10px 24px rgba(0,0,0,.18) !important;
}
:root .card-prod:hover,
:root .card-news:hover{background:var(--surface2,#f7f7f7) !important;}

:root .card-prod .thumb,
:root .card-news .thumb{
  width:100% !important;
  aspect-ratio:16/9 !important;
  background:rgba(255,255,255,.06) !important;
  overflow:hidden !important;
}
:root .card-prod .thumb img,
:root .card-prod .thumb video,
:root .card-news .thumb img,
:root .card-news .thumb video{width:100% !important;height:100% !important;object-fit:cover !important;}

:root .card-prod .body,
:root .card-news .body{padding:10px 12px !important;display:flex !important;flex-direction:column !important;gap:8px !important;}

:root .card-prod .title,
:root .card-news .title{
  font-weight:900 !important;
  font-size:1.05rem !important;
  line-height:1.3 !important;
  display:-webkit-box !important;
  -webkit-line-clamp:2 !important;
  -webkit-box-orient:vertical !important;
  overflow:hidden !important;
  min-height:2.6em !important;
}

:root .card-news .summary{
  font-size:14px !important;
  line-height:1.6 !important;
  display:-webkit-box !important;
  -webkit-line-clamp:3 !important;
  -webkit-box-orient:vertical !important;
  overflow:hidden !important;
  min-height:4.8em !important;
  color:var(--muted,#444) !important;
}

:root .card-prod .meta,
:root .card-news .meta{font-size:.85rem !important;color:var(--muted,#555) !important;margin-top:auto !important;}

/* Issues/Community title anchor inherits themed text */
:root .card-news .title a{color:var(--text,#111) !important;text-decoration:none !important;}
