/* PC 文章 / 公告详情 */
.page-article .pc-main {
  padding: 24px 0 56px;
}

.article-crumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--text-muted);
}

.article-crumb a:hover {
  color: var(--accent);
}

.article-crumb i {
  font-size: 10px;
  opacity: 0.7;
}

.article-crumb__current {
  color: var(--text-secondary);
  max-width: 420px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: start;
}

.article-main {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 36px 40px 44px;
}

.article-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 14px;
}

.article-title {
  margin: 0 0 16px;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--primary);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0 0 24px;
  font-size: 13px;
  color: var(--text-muted);
}

.article-meta i {
  margin-right: 6px;
}

.article-cover {
  margin: 0 0 28px;
  border-radius: var(--radius);
  overflow: hidden;
}

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

.article-body {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-primary);
}

.article-body p {
  margin: 0 0 1.1em;
}

.article-body p:last-child {
  margin-bottom: 0;
}

.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.article-body h2,
.article-body h3 {
  margin: 1.6em 0 0.7em;
  line-height: 1.4;
  color: var(--primary);
}

.article-body a {
  color: var(--accent);
}

.article-body a:hover {
  text-decoration: underline;
}

.article-body ul,
.article-body ol {
  margin: 0 0 1.1em;
  padding-left: 1.4em;
}

.article-body__empty {
  color: var(--text-muted);
}

.article-side__card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 20px;
  margin-bottom: 16px;
}

.article-side__title {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 700;
}

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

.article-side__list li + li {
  margin-top: 12px;
}

.article-side__list a {
  display: flex;
  align-items: center;
  gap: 10px;
}

.article-side__list a:hover span {
  color: var(--accent);
}

.article-side__list img,
.article-side__placeholder {
  width: 64px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg-subtle);
}

.article-side__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.article-side__list span {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-side__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-secondary);
}

.article-side__back:hover {
  color: var(--accent);
}

.article-empty {
  text-align: center;
  padding: 80px 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.article-empty i {
  font-size: 48px;
  color: var(--text-muted);
  opacity: 0.4;
  margin-bottom: 16px;
}

.article-empty p {
  margin: 0 0 16px;
  color: var(--text-secondary);
}

.article-empty__btn {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}

.article-empty__btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.page-article-simple {
  background: var(--bg);
}

.article-simple {
  max-width: 800px;
  margin: 0 auto;
  padding: 32px 24px 48px;
}

.article-simple .article-title {
  margin-bottom: 24px;
}

.article-simple__empty {
  color: var(--text-muted);
  text-align: center;
  padding-top: 80px;
}

@media (max-width: 960px) {
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-main {
    padding: 24px 20px 32px;
  }

  .article-title {
    font-size: 22px;
  }
}
