/* Title and subtitle on every tile (kafka-titles.js). In a layer so these beat the older unlayered !important rules. */
@layer ktitles {
  .kt-2 { display: block !important; -webkit-line-clamp: unset !important; overflow: hidden !important; }
  .kt-2 > .kt-m { display: block !important; white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; }
  /* the taller Where-to-start tiles have room for a two-line title above the subtitle */
  .k5-t.kt-2 > .kt-m { display: -webkit-box !important; -webkit-box-orient: vertical !important; -webkit-line-clamp: 2 !important; white-space: normal !important; }
  .kt-2 .kt-c { font-size: 0 !important; }
  .kt-2 > .kt-s, .kt-2[data-sub]::after {
    display: block !important; white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important;
    font-family: Inter, system-ui, sans-serif !important; font-size: max(9.5px, .7em) !important; font-weight: 400 !important; font-style: normal !important;
    letter-spacing: 0 !important; line-height: 1.35 !important; opacity: .78 !important; margin-top: 1px !important;
  }
  .kt-2[data-sub]::after { content: attr(data-sub) !important; }
}
