.article-page {
  min-height: calc(100vh - var(--header-height));
  padding: 30px 0;
  background: var(--bg-page);
}

.article-layout {
  display: flex;
  gap: 24px;
}

.article-main {
  flex: 1;
  min-width: 0;
}

.article-sidebar {
  width: 300px;
  flex-shrink: 0;
}

.article-list {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.article-item {
  display: flex;
  gap: 20px;
  padding: 20px 24px;
  border-bottom: 1px solid #f5f5f5;
  cursor: pointer;
  transition: all 0.3s;
}

.article-item:hover {
  background: #fafafa;
}

.article-item:last-child {
  border-bottom: none;
}

.article-cover {
  width: 180px;
  height: 120px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-gold), var(--primary-orange));
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.article-cover-placeholder {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.article-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.article-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.article-item:hover .article-title {
  color: var(--primary-orange);
}

.article-summary {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: #999;
  margin-top: 10px;
}

.article-meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.article-meta-item img {
  width: 14px;
  height: 14px;
}

.sidebar-card {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.sidebar-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-gold);
  display: inline-block;
}

.sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-list-item {
  padding: 8px 0;
  font-size: 14px;
  color: #666;
  cursor: pointer;
  transition: all 0.3s;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar-list-item:hover {
  color: var(--primary-orange);
}

.sidebar-list-item::before {
  content: '•';
  color: var(--primary-gold);
  margin-right: 8px;
}

.article-detail-page {
  min-height: calc(100vh - var(--header-height));
  padding: 30px 0;
  background: var(--bg-page);
}

.article-detail-layout {
  display: flex;
  gap: 24px;
}

.article-detail-main {
  flex: 1;
  min-width: 0;
  background: #fff;
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.article-detail-title {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  margin-bottom: 16px;
  line-height: 1.4;
}

.article-detail-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f5f5f5;
  margin-bottom: 30px;
  font-size: 14px;
  color: #999;
}

.article-detail-content {
  font-size: 16px;
  color: #333;
  line-height: 1.8;
}

.article-detail-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 16px 0;
}

.article-detail-content p {
  margin-bottom: 16px;
}

.article-detail-actions {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #f5f5f5;
}

.action-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 24px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
  background: #f5f5f5;
  color: #666;
  border: none;
}

.action-btn:hover {
  background: #fff0e6;
  color: var(--primary-orange);
}

.action-btn.active {
  background: linear-gradient(135deg, var(--primary-gold), var(--primary-orange));
  color: #fff;
}

.action-btn img {
  width: 18px;
  height: 18px;
}

.comment-section {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid var(--border-light);
}

.comment-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.comment-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  font-family: 'STSong', 'SimSun', serif;
  letter-spacing: 1px;
}

.comment-count {
  font-size: 13px;
  color: var(--text-tertiary);
}

.comment-input-area {
  margin-bottom: 32px;
}

.comment-input-wrap {
  display: flex;
  gap: 14px;
}

.comment-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--border-light);
}

.comment-input-box {
  flex: 1;
  min-width: 0;
}

.comment-textarea {
  width: 100%;
  min-height: 90px;
  padding: 14px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 14px;
  line-height: 1.6;
  resize: vertical;
  transition: all 0.3s ease;
  background: var(--bg-page);
  color: var(--text-primary);
  font-family: inherit;
}

.comment-textarea:focus {
  border-color: var(--primary-gold);
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.1);
}

.comment-textarea::placeholder {
  color: var(--text-tertiary);
}

.comment-input-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.comment-tip {
  font-size: 12px;
  color: var(--text-tertiary);
}

.comment-submit-btn {
  padding: 8px 28px;
  border-radius: 20px;
}

.comment-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.comment-item {
  display: flex;
  gap: 14px;
}

.comment-content {
  flex: 1;
  min-width: 0;
}

.comment-item .comment-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  justify-content: flex-start;
  padding: 0;
  border: none;
}

.comment-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-brown);
}

.comment-time {
  font-size: 12px;
  color: var(--text-tertiary);
}

.comment-text {
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.7;
  margin-bottom: 10px;
}

.comment-actions {
  display: flex;
  gap: 20px;
}

.comment-action {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--text-tertiary);
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
}

.comment-action:hover {
  color: var(--primary-brown);
}

.comment-action img {
  width: 16px;
  height: 16px;
  opacity: 0.7;
}

.comment-action:hover img {
  opacity: 1;
}

.comment-replies {
  margin-top: 14px;
  padding: 14px 16px;
  background: var(--bg-warm);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--primary-gold);
}

.reply-item {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-secondary);
  padding: 6px 0;
  border-bottom: 1px dashed var(--border-light);
}

.reply-item:last-child {
  border-bottom: none;
}

.reply-name {
  color: var(--primary-brown);
  font-weight: 500;
  margin-right: 4px;
}

.reply-input-wrap {
  margin-top: 14px;
  padding: 14px;
  background: var(--bg-warm);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--primary-gold);
}

.reply-textarea {
  width: 100%;
  min-height: 60px;
  padding: 10px 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 13px;
  resize: vertical;
  transition: all 0.3s ease;
  background: #fff;
  font-family: inherit;
}

.reply-textarea:focus {
  border-color: var(--primary-gold);
  outline: none;
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.1);
}

.reply-input-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 10px;
}

.reply-cancel-btn,
.reply-submit-btn {
  padding: 5px 18px;
  font-size: 13px;
  border-radius: 16px;
}

.breadcrumb {
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--text-tertiary);
}

.breadcrumb a {
  color: var(--text-tertiary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: var(--primary-brown);
}

.breadcrumb .sep {
  margin: 0 10px;
}

.sidebar-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.sidebar-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary-gold);
  display: inline-block;
  font-family: 'STSong', 'SimSun', serif;
  letter-spacing: 1px;
}

.sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-list-item {
  padding: 10px 0;
  font-size: 14px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border-bottom: 1px dashed var(--border-light);
}

.sidebar-list-item:last-child {
  border-bottom: none;
}

.sidebar-list-item:hover {
  color: var(--primary-brown);
  padding-left: 8px;
}

.sidebar-list-item::before {
  content: '';
  width: 8px;
  height: 8px;
  background: url('../assets/images/dw.png') center/contain no-repeat;
  margin-right: 10px;
  opacity: 0.6;
  flex-shrink: 0;
}
