/* HygINOX 1.0.11 — document links share a horizontal row, wrapping only when needed. */
.hx-archive-page.hx-design-scope .hx-view-list .hx-card-v104 .hx-rich-bottom,
.hx-shortcode-catalog.hx-design-scope .hx-view-list .hx-card-v104 .hx-rich-bottom{
  padding-left:24px;display:flex;flex-flow:row wrap;gap:14px 20px;align-items:center;
}
.hx-archive-page.hx-design-scope .hx-view-list .hx-card-v104 .hx-rich-docs,
.hx-shortcode-catalog.hx-design-scope .hx-view-list .hx-card-v104 .hx-rich-docs{
  display:flex;flex:1 1 390px;min-width:0;flex-flow:row wrap;align-items:center;
  align-content:center;justify-content:flex-start;gap:12px 24px;
}
.hx-archive-page.hx-design-scope .hx-view-list .hx-card-v104 .hx-rich-doc,
.hx-shortcode-catalog.hx-design-scope .hx-view-list .hx-card-v104 .hx-rich-doc,
.hx-archive-page.hx-design-scope .hx-view-grid .hx-card-v104 .hx-rich-doc,
.hx-shortcode-catalog.hx-design-scope .hx-view-grid .hx-card-v104 .hx-rich-doc{
  display:inline-flex;flex:0 1 auto;max-width:100%;min-width:0;
  align-items:center;gap:9px;text-decoration:none;
}
.hx-design-scope .hx-card-v104 .hx-rich-doc .hx-doc-text {display:flex;flex-direction:column;gap:2px;min-width:0;white-space:normal}
.hx-design-scope .hx-card-v104 .hx-rich-doc .hx-doc-text strong,
.hx-design-scope .hx-card-v104 .hx-rich-doc .hx-doc-text small {display:block;overflow-wrap:break-word}
.hx-archive-page.hx-design-scope .hx-view-list .hx-card-v104 .hx-card-actions,
.hx-shortcode-catalog.hx-design-scope .hx-view-list .hx-card-v104 .hx-card-actions{
  flex:0 1 auto;max-width:100%;margin-left:auto;justify-content:flex-end;
}
/* The admin's CTA/PDF order preference remains authoritative. */
.hx-archive-page.hx-design-scope .hx-view-list .hx-card-v104.hx-footer-actions_first .hx-card-actions,
.hx-shortcode-catalog.hx-design-scope .hx-view-list .hx-card-v104.hx-footer-actions_first .hx-card-actions{margin-left:0;margin-right:auto}
.hx-archive-page.hx-design-scope .hx-view-list .hx-card-v104.hx-footer-actions_first .hx-rich-docs,
.hx-shortcode-catalog.hx-design-scope .hx-view-list .hx-card-v104.hx-footer-actions_first .hx-rich-docs{justify-content:flex-end}
/* Grid mode also uses a wrapping row instead of vertically stacking every PDF. */
.hx-archive-page.hx-design-scope .hx-view-grid .hx-card-v104 .hx-rich-docs,
.hx-shortcode-catalog.hx-design-scope .hx-view-grid .hx-card-v104 .hx-rich-docs {
  display:flex;flex-flow:row wrap;gap:10px 15px;justify-content:flex-start;align-items:center;
}
@media(max-width:760px){
  .hx-archive-page.hx-design-scope .hx-view-list .hx-card-v104 .hx-rich-bottom,
  .hx-shortcode-catalog.hx-design-scope .hx-view-list .hx-card-v104 .hx-rich-bottom{
    padding:15px 18px;flex-direction:column;align-items:stretch;
  }
  .hx-archive-page.hx-design-scope .hx-view-list .hx-card-v104 .hx-rich-docs,
  .hx-shortcode-catalog.hx-design-scope .hx-view-list .hx-card-v104 .hx-rich-docs{flex:0 1 auto;justify-content:flex-start}
  .hx-archive-page.hx-design-scope .hx-view-list .hx-card-v104 .hx-card-actions,
  .hx-shortcode-catalog.hx-design-scope .hx-view-list .hx-card-v104 .hx-card-actions{margin:0;justify-content:stretch}
}
