/* v242 - Prevent text collision in founder publication / founding collection cards.
   Long category labels, dates, book titles and imprint information must not
   share the same visual space at narrow desktop/tablet viewport widths.
   Existing book copy, cover assets and linked destinations are preserved. */
#founder .founder-post-founding-section .founder-isbn-card,
#founder .founder-publication-card {
  min-width: 0 !important;
}
#founder .founder-post-founding-section .founder-isbn-card-body,
#founder .founder-publication-card-body {
  min-width: 0 !important;
  height: auto !important;
}
#founder .founder-post-founding-section .founder-publication-meta.founding-edition-meta,
#founder .founder-publication-card .founder-publication-meta {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: start !important;
  justify-content: normal !important;
  column-gap: 10px !important;
  row-gap: 5px !important;
  min-height: 0 !important;
  height: auto !important;
  margin-bottom: 16px !important;
}
#founder .founder-post-founding-section .founder-publication-meta.founding-edition-meta > .founder-publication-genre,
#founder .founder-publication-card .founder-publication-meta > .founder-publication-genre {
  display: block !important;
  min-width: 0 !important;
  max-width: 100% !important;
  overflow-wrap: break-word !important;
  white-space: normal !important;
}
#founder .founder-post-founding-section .founder-publication-meta.founding-edition-meta > time,
#founder .founder-publication-card .founder-publication-meta > time {
  display: block !important;
  min-width: 0 !important;
  white-space: nowrap !important;
  line-height: 1.35 !important;
  text-align: right !important;
}
#founder .founder-post-founding-section .founding-edition-card h5,
#founder .founder-publication-card h5 {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow-wrap: break-word !important;
}
#founder .founder-post-founding-section .founding-edition-publisher,
#founder .founder-publication-card .founder-publication-publisher {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow-wrap: break-word !important;
}
/* In narrower two-column grids, allow labels and dates full width on
   separate lines rather than compressing or overprinting one another. */
@media (min-width:721px) and (max-width:1150px) {
  #founder .founder-post-founding-section .founder-publication-meta.founding-edition-meta,
  #founder .founder-publication-card .founder-publication-meta {
    grid-template-columns: minmax(0,1fr) !important;
    row-gap: 4px !important;
  }
  #founder .founder-post-founding-section .founder-publication-meta.founding-edition-meta > time,
  #founder .founder-publication-card .founder-publication-meta > time {
    text-align: left !important;
    justify-self: start !important;
  }
}
@media (max-width:720px) {
  #founder .founder-post-founding-section .founder-publication-meta.founding-edition-meta,
  #founder .founder-publication-card .founder-publication-meta {
    grid-template-columns: minmax(0,1fr) !important;
    row-gap: 4px !important;
  }
  #founder .founder-post-founding-section .founder-publication-meta.founding-edition-meta > time,
  #founder .founder-publication-card .founder-publication-meta > time {
    text-align: left !important;
    justify-self: start !important;
  }
}
