/*普通文本正文*/
.normal-paragraph {
    text-indent: 2em;             /* 两个中文字符缩进 */
    margin-top: 1em;            /* 段落间距 */
    margin-bottom: 1em;
    line-height: 1.8;             /* 行高，提升可读性 */
    color: #222;                /* 深灰色字体 */
    font-size: 1.08em;            /* 稍大字体 */
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    border-radius: 4px;           /* 圆角 */
    padding: 0.5em 1em;           /* 内边距 */
    transition: background 0.3s;
}

/* 文章链接样式 */
.article-links {
  display: flex;
  align-items: center;
  margin: 0.8em 0 0 -0.5em;
}

.article-links a {
  display: flex;
  align-items: center;
  gap: 0.3em;
  color: #666;
  text-decoration: none;
  font-size: 0.9em;
  padding: 0.3em 0.6em;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.article-links a:hover {
  color: #333;
  background-color: #f5f5f5;
  transform: translateY(-1px);
}

.article-links img {
  height: 1em;
  opacity: 0.7;
}

.article-links a:hover img {
  opacity: 1;
}

/* 文章卡片样式 */
.article-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

.article-card-container {
  display: flex;
  border: 1px solid #eee;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  overflow: hidden;
  margin: 1.5em 0;
  background: #fff;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
  cursor: pointer;
  position: relative;
}

.article-card:hover .article-card-container {
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  transform: translateY(-2px);
}

.article-cover {
  width: 200px;
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.article-cover::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 40px;
  background: linear-gradient(to right, transparent, #fff);
  pointer-events: none;
  z-index: 1;
}

.article-cover img {
  height: 100%;
  width: auto;
  object-fit: cover;
  min-width: 100%;
}

.article-content {
  padding: 1em;
  flex: 1;
}

.article-title {
  margin: 0 0 0.5em 0;
  font-size: 1.3em;
}

.article-preview {
  color: #555;
  margin: 0 0 1em 0;
  font-size: 1em;
  line-height: 1.6;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.95em;
  color: #888;
}

.article-meta-left {
  display: flex;
  align-items: center;
  gap: 1em;
}

.article-meta span {
  display: flex;
  align-items: center;
}

.article-meta img {
  height: 1em;
  margin-right: 0.3em;
  transform: translateY(0.05em);
}
