/* ====== 超链接卡片主体 ====== */
.link-card {
  display: block;
  width: 50%;
  text-decoration: none;
  color: #222;
  background: #fff;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 14px;
  border: 1px solid #eee;
  transition: all 0.2s ease;
}

/* 悬停效果 */
.link-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  border-color: #ddd;
}

/* ====== 横向布局 ====== */
.link-card .row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

/* ====== 缩略图 ====== */
.link-card .thumb {
  width: 88px;
  height: 88px;
  min-width: 88px;
  object-fit: cover;
  border-radius: 10px;
  background: #f3f3f3;
}

/* ====== 文字内容区域 ====== */
.link-card .content {
  flex: 1;
  min-width: 0;
}

/* 标题 */
.link-card h3 {
  margin: 0 0 8px 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  color: #111;

  /* 超出两行省略 */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 摘要 */
.link-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #555;

  /* 超出三行省略 */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ====== 底部元信息 ====== */
.link-card .meta {
  margin-top: 8px;
  font-size: 12px;
  color: #999;
}



.relation-tabs {
  display: flex;
  align-items: center;
  gap: 16px;
}

.relation-tab {
  padding: 4px 12px;
  border: 1px solid #000;
  font-size: 16px;
  cursor: pointer;
  background: #fff;
  user-select: none;
}

.relation-tab.active {
  font-weight: bold;
}

