/* DTN site-wide card system — category strip + image display.
   Same strip as the homepage hero: category colour, icon + name, along the bottom edge. */

/* ── Category strip (shared by hero, news cards, trending) ── */
.dtn-cat-strip { display:flex; align-items:center; gap:7px; background:var(--fh-badge,#CC1F1F); color:#fff; font-family:var(--dtn-font-head,inherit); font-size:11.5px; font-weight:700; letter-spacing:.8px; text-transform:uppercase; line-height:1.2; white-space:nowrap; overflow:hidden; }
.dtn-cat-strip__icon { flex:none; line-height:1; }
.dtn-cat-strip__name { min-width:0; overflow:hidden; text-overflow:ellipsis; }
/* WordPress turns emoji into <img>; keep them text-sized inside the strip */
.dtn-cat-strip img.emoji, .dtn-cat-strip img.wp-smiley { position:static !important; inset:auto !important; width:1em !important; height:1em !important; max-width:1em !important; margin:0 !important; vertical-align:-.1em; opacity:1 !important; }

/* ── News cards (Latest, category, archive, search, tag, home sections) ── */
.dtn-card .dtn-card__cat { flex:none; align-self:stretch; padding:9px 14px; border-radius:0; margin-top:auto; }
.dtn-card .dtn-card__body { flex:1 1 auto; }
/* Image: 16:9 box so a 16:9 featured image is never cropped; keep the top (headline area of posters) in view */
.dtn-card .dtn-card__img { height:auto !important; min-height:0; aspect-ratio:16 / 9; }
.dtn-card .dtn-card__img img:not(.emoji):not(.wp-smiley) { object-fit:cover; object-position:center top; }

/* ── Trending sidebar: compact coloured category chip ── */
.dtn-trending-text .dtn-trending-cat { display:inline-flex; width:auto; padding:2px 7px; margin:0 0 4px; border-radius:3px; font-size:9px; letter-spacing:.5px; gap:4px; }
