/* One guide card: the home page card and the guides page row blended. Icon, category, title, then a short text and details. */
a.topic-link.guide-card{display:flex;flex-direction:row;align-items:flex-start;justify-content:flex-start;gap:var(--s-12);height:100%;min-height:0;padding:var(--s-16);border-left:3px solid var(--sage);color:var(--heading);font-size:var(--fs-15);font-weight:400;line-height:1.6}
a.topic-link.guide-card:hover{background:var(--mint);border-radius:0}
.guide-card-icon{display:grid;flex:0 0 44px;place-items:center;width:44px;height:44px;border-radius:var(--r-control);background:var(--mint);color:var(--icon)}
.guide-card-icon svg{width:28px;height:28px}
a.topic-link.guide-card:hover .guide-card-icon{background:var(--card)}
.guide-card-body{display:flex;flex:1;flex-direction:column;gap:var(--s-4);min-width:0;height:100%;overflow-wrap:anywhere}
.guide-card-meta{display:flex;flex-wrap:wrap;align-items:center;gap:var(--s-4) var(--s-8);color:var(--muted);font-size:var(--fs-13);line-height:1.5}
a.topic-link.guide-card .library-article-code,a.topic-link.guide-card .search-result-code{display:inline;width:auto;min-height:0;padding:0;border:0;background:none;color:var(--muted);font-size:var(--fs-13);font-weight:600}
.guide-card-category{overflow-wrap:anywhere}
a.topic-link.guide-card .guide-card-title{display:block;margin:0;color:var(--heading);font-size:var(--fs-15);font-weight:var(--fw-bold);line-height:1.5;overflow-wrap:anywhere}
.guide-card .clinical-badges{margin:var(--s-4) 0 0}
a.topic-link.guide-card p.guide-card-excerpt{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin:0;color:var(--muted);font-size:var(--fs-13);line-height:1.6}
.guide-card-foot{display:flex;flex-wrap:wrap;align-items:center;gap:var(--s-4) var(--s-12);margin-top:auto;padding-top:var(--s-8);color:var(--muted);font-size:var(--fs-13);line-height:1.5}
a.topic-link.guide-card .guide-card-foot small{margin-inline-start:auto;color:var(--link);font-size:var(--fs-13);font-weight:600}
.rel .guide-card-foot span,.rel .guide-card-meta span{min-width:0;color:var(--muted);font-size:var(--fs-13);font-weight:400;line-height:1.5}
.guide-card-wrap{min-width:0;list-style:none}
.guide-card-list{display:grid;gap:var(--s-12);margin:0;padding:0;list-style:none}
/* Search keeps enough text to show the matched words. */
a.topic-link.guide-card--search.guide-card p.guide-card-excerpt{-webkit-line-clamp:3}
a.topic-link.guide-card--search.guide-card .guide-card-title{font-size:var(--fs-17)}
.guide-card--search mark{padding:0 2px;border-radius:3px;background:rgba(215,178,96,.24);color:var(--heading)}
