.lp-card {
  display: block;
  margin: 1.25em 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07);
  transition: box-shadow 0.18s ease, transform 0.18s ease;
  font-family: inherit;
  max-width: 560px;
  position: relative;
}

.lp-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
}

.lp-inner {
  display: flex;
  text-decoration: none;
  color: inherit;
}

.lp-thumb {
  flex: 0 0 160px;
  min-height: 120px;
  background-size: cover;
  background-position: center;
  background-color: #f1f5f9;
}

.lp-body {
  flex: 1;
  padding: 0.85em 1em;
  display: flex;
  flex-direction: column;
  gap: 0.25em;
  overflow: hidden;
  min-width: 0;
}

.lp-meta {
  display: flex;
  align-items: center;
  gap: 0.35em;
}

.lp-favicon {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.lp-site {
  font-size: 0.72em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lp-title {
  font-size: 0.93em;
  font-weight: 700;
  color: #1e293b;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
}

.lp-desc {
  font-size: 0.8em;
  color: #475569;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}

.lp-url {
  font-size: 0.72em;
  color: #94a3b8;
  margin-top: auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Compact (no image) variant */
.lp-card.lp-compact .lp-inner {
  flex-direction: column;
}

.lp-card.lp-compact .lp-thumb {
  flex: none;
  height: 180px;
  width: 100%;
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
  .lp-card {
    background: #1e293b;
    border-color: #334155;
  }

  .lp-title {
    color: #f1f5f9;
  }

  .lp-desc {
    color: #94a3b8;
  }
}