.article-page.bv {
  align-items: flex-start;
}

.article-page .bv-left,
.article-page .bv-right {
  min-width: 0;
}

.article-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.article-card {
  margin: 0;
  min-width: 0;
}

.article-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 148px;
  padding: 20px 22px;
  border: 1px solid #e8e0d4;
  background: #fff;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.article-card-link:hover {
  border-color: #c8a57a;
  box-shadow: 0 8px 24px rgba(74, 47, 29, 0.08);
}

.article-card-title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #3f2a1a;
  word-break: break-word;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card-link:hover .article-card-title {
  color: #795548;
}

.article-card-desc {
  flex: 1;
  margin: 0 0 12px;
  color: #666;
  font-size: 14px;
  line-height: 1.65;
  word-break: break-word;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #f0ebe3;
  color: #999;
  font-size: 12px;
  line-height: 1.5;
}

.article-card-views {
  margin-left: auto;
  flex-shrink: 0;
  text-align: right;
}

.article-empty {
  padding: 56px 16px;
  text-align: center;
  color: #999;
  line-height: 1.7;
  border: 1px dashed #ddd;
  background: #fff;
}

.article-detail {
  display: flex;
  flex-wrap: nowrap;
  flex: 1;
  align-items: flex-start;
}

.article-detail-main {
  flex: 1;
  min-width: 0;
  margin-right: 16px;
  padding: 32px 24px;
  background: #fff;
}

.article-detail-title {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.5;
  text-align: center;
  color: #3f2a1a;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.article-detail-meta {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: #999;
  font-size: 13px;
  line-height: 1.6;
  text-align: right;
}

.article-detail-views {
  flex-shrink: 0;
}

.article-detail-summary {
  margin: 0 0 24px;
  padding: 16px 20px;
  border-left: 4px solid #c8a57a;
  background: #faf7f2;
  color: #5a4a3c;
  font-size: 14px;
  line-height: 1.8;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.article-detail-content {
  font-size: 14px;
  line-height: 1.85;
  color: #333;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.article-detail-content > p {
  margin: 0 0 16px;
  text-indent: 0;
}

.article-detail-content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 12px auto;
}

.article-detail-content h2,
.article-detail-content h3,
.article-detail-content h4 {
  margin: 20px 0 10px;
  line-height: 1.5;
  color: #4e342e;
}

.article-detail-content blockquote {
  margin: 12px 0;
  padding: 12px 16px;
  border-left: 3px solid #d8c3a5;
  background: rgba(121, 85, 72, 0.08);
  color: #5a4a3c;
}

.article-detail-content a {
  color: #795548;
  text-decoration: underline;
}

.article-detail-recommend {
  width: 320px;
  flex-shrink: 0;
  min-width: 0;
}

@media (max-width: 1100px) {
  .article-page.bv {
    flex-direction: column;
  }

  .article-page .bv-right {
    width: 100%;
    margin-left: 0;
    margin-top: 16px;
  }
}

@media (max-width: 800px) {
  .article-list {
    grid-template-columns: 1fr;
  }

  .article-card-title {
    font-size: 17px;
  }

  .article-card-link {
    min-height: 0;
    padding: 16px;
  }

  .article-detail {
    flex-direction: column;
  }

  .article-detail-main {
    margin-right: 0;
    padding: 20px 16px;
  }

  .article-detail-title {
    font-size: 18px;
  }

  .article-detail-summary {
    padding: 14px 16px;
  }

  .article-detail-recommend {
    width: 100%;
    margin-top: 16px;
  }
}
