.link-engine { margin: 40px auto; max-width: 1100px; padding: 0 16px; }
.link-engine .le-header { margin-bottom: 14px; }
.link-engine .le-title { font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 800; color: #1f2937; }
.link-engine .le-sub { color: #6b7280; margin-top: 6px; font-size: 0.95rem; }
.link-engine .le-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.link-engine .le-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,.04); display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease; }
.link-engine .le-card.compact { border: none; box-shadow: 0 8px 22px rgba(0,0,0,.08); }
.link-engine .le-card:hover { transform: translateY(-3px); box-shadow: 0 10px 16px rgba(0,0,0,.08); }
.link-engine .le-img-wrap { position: relative; display: block; aspect-ratio: 16/9; background: #f8fafc; }
.link-engine .le-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.link-engine .le-badge { position: absolute; left: 10px; top: 10px; background: #111827; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .02em; padding: 4px 10px; border-radius: 999px; z-index: 2; }
.link-engine .le-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 14px; background: linear-gradient(180deg, rgba(0,0,0,0) 34%, rgba(0,0,0,.55) 100%); color: #fff; }
.link-engine .le-title-overlay { margin: 0; font-weight: 900; line-height: 1.15; font-size: clamp(1rem, 1.6vw, 1.15rem); text-shadow: 0 2px 10px rgba(0,0,0,.35); }
.link-engine .le-pill { display: inline-flex; align-items: center; gap: 6px; background: rgba(17,24,39,.75); color: #fff; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,.15); padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .02em; width: max-content; max-width: 86%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.link-engine .type-strain .le-overlay { background: linear-gradient(180deg, rgba(0,0,0,0) 34%, rgba(107,33,168,.55) 100%); }
.link-engine .type-news .le-badge { background: linear-gradient(135deg, #ef4444, #f97316); }
.link-engine .type-strain .le-badge { background: linear-gradient(135deg, #8b5cf6, #06b6d4); }
.link-engine .type-blog .le-badge { background: linear-gradient(135deg, #10b981, #3b82f6); }
.link-engine .le-content { padding: 10px 12px 10px 12px; display: grid; gap: 6px; }
.link-engine .le-card-title { font-size: 1rem; line-height: 1.3; font-weight: 800; margin: 0; }
.link-engine .sr-only { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.link-engine .le-card-title a { color: #111827; text-decoration: none; }
.link-engine .le-card-title a:hover { text-decoration: underline; }
.link-engine .le-excerpt { color: #4b5563; font-size: .9rem; line-height: 1.45; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.link-engine .le-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 2px; }
.link-engine .le-meta .le-spacer { flex: 1 1 auto; }
.link-engine .le-meta time.sr-only { position: absolute; left: -9999px; }
.link-engine .le-meta time, .link-engine .le-chip { color: #6b7280; font-size: .8rem; }
.link-engine .le-cta { font-weight: 700; color: #6b46c1; text-decoration: none; font-size: .9rem; }
.link-engine .le-cta:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .link-engine { padding: 0 10px; }
  .link-engine .le-grid { grid-template-columns: 1fr; }
  .link-engine .le-title-overlay { font-size: 1rem; }
}
