/* 展会详情页面样式 */
.exhibition_detail_container {
  background: #f8fafc;
  min-height: calc(100vh - 300px);
  padding: 24px 0 80px;
}

/* ========== 内容布局 ========== */
.detail_content_wrapper {
  display: flex;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  align-items: flex-start;
}

/* ========== 主内容区 ========== */
.detail_main_content {
  flex: 1;
  min-width: 0;
  /* background: white; */
  /* border-radius: 24px; */
  /* padding: 48px 64px; */
  /* box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); */
  /* border: 1px solid #e2e8f0; */
}

/* 返回文字按钮 */
.back_to_list_link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  text-decoration: none;
  margin-bottom: 20px;
  transition: color 0.2s ease;
}

.back_to_list_link:hover {
  color: #128ee9;
}

/* 文章头部 */
.article_header {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 2px solid #f1f5f9;
}

.article_meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.article_pinned_badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: linear-gradient(135deg, #128ee9 0%, #40a9ff 100%);
  color: white;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  box-shadow: 0 4px 12px rgba(16, 142, 233, 0.3);
}

.article_pinned_badge .pinned_icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.article_source {
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  color: #128ee9;
  letter-spacing: 0.15em;
}

.article_date {
  font-size: 13px;
  font-weight: 600;
  color: #94a3b8;
}

.article_title {
  font-size: 42px;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.02em;
}

.article_cover {
  margin-top: 28px;
  border-radius: 16px;
  overflow: hidden;
}

.article_cover img {
  display: block;
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.article_summary {
  margin-bottom: 32px;
  padding: 16px 24px;
  background: #f8fafc;
  border-left: 4px solid #128ee9;
  border-radius: 8px;
}

.article_summary p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 600;
  color: #475569;
}

/* 文章内容 - 支持富文本渲染 */
.article_body {
  font-size: 16px;
  line-height: 1.8;
  color: #334155;
}

.article_body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 24px 0;
}

/* 表格内配图：尺寸由富文本内联 width/height 控制，避免强制压成 160px */
.article_body table td img {
  max-width: 100%;
  margin: 0;
  border-radius: 8px;
}

/* 布局表（无边框）：右侧/左侧配图可按单元格高度撑满 */
.article_body table[border="0"] td img {
  max-width: none;
  height: 100%;
  object-fit: cover;
}

/* 布局用表格（无边框）不显示单元格边框 */
.article_body table[border="0"] th,
.article_body table[border="0"] td {
  border: none;
  padding: 0 16px 0 0;
  background: transparent;
}

.article_body table {
  max-width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}

.article_body table th,
.article_body table td {
  border: 1px solid #e2e8f0;
  padding: 12px;
  text-align: left;
}

.article_body table th {
  background: #f8fafc;
  font-weight: 700;
  color: #0f172a;
}

.article_body h1,
.article_body h2,
.article_body h3,
.article_body h4,
.article_body h5,
.article_body h6 {
  font-weight: 800;
  color: #0f172a;
  margin: 32px 0 16px 0;
  letter-spacing: -0.01em;
}

.article_body h1 {
  font-size: 32px;
}

.article_body h2 {
  font-size: 28px;
}

.article_body h3 {
  font-size: 24px;
}

.article_body h4 {
  font-size: 20px;
}

.article_body p {
  margin: 0 0 16px 0;
  color: #475569;
}

.article_body a {
  color: #128ee9;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.article_body a:hover {
  color: #0d76c2;
  text-decoration: underline;
}

.article_body ul,
.article_body ol {
  margin: 20px 0;
  padding-left: 32px;
}

.article_body li {
  margin-bottom: 12px;
  color: #475569;
}

.article_body blockquote {
  margin: 24px 0;
  padding: 16px 24px;
  background: #f8fafc;
  border-left: 4px solid #128ee9;
  border-radius: 8px;
  color: #475569;
  font-style: italic;
}

.article_body code {
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: "Courier New", monospace;
  font-size: 14px;
  color: #0f172a;
}

.article_body pre {
  background: #0f172a;
  color: #e2e8f0;
  padding: 20px;
  border-radius: 12px;
  overflow-x: auto;
  margin: 24px 0;
}

.article_body pre code {
  background: none;
  color: inherit;
  padding: 0;
}

/* 附件列表 */
.article_files {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #e2e8f0;
}

.article_files_title {
  margin: 0 0 16px 0;
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
}

.article_files_list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.article_file_item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.article_file_item:hover {
  background: #f0f9ff;
  border-color: #128ee9;
}

.article_file_name {
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  word-break: break-all;
}

.article_file_item:hover .article_file_name {
  color: #128ee9;
}

.article_file_open {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
}

.article_file_item:hover .article_file_open {
  color: #128ee9;
}

/* ========== 侧边栏 ========== */
.detail_sidebar {
  width: 320px;
  flex-shrink: 0;
  position: sticky;
  top: 24px;
}

.sidebar_card {
  background: white;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
}

/* 返回按钮 */
.back_to_list_btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: #f8fafc;
  color: #64748b;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s ease;
  border: 1px solid #e2e8f0;
  justify-content: center;
}

.back_to_list_btn:hover {
  background: #128ee9;
  color: white;
  border-color: #128ee9;
}

/* 支持卡片 */
.support_card {
  background: linear-gradient(135deg, #128ee9 0%, #0d76c2 100%);
  color: white;
  text-align: center;
}

.support_icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.9;
}

.support_title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 12px 0;
  color: white;
}

.support_text {
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 20px 0;
  opacity: 0.9;
}

.support_btn {
  display: inline-block;
  padding: 12px 24px;
  background: white;
  color: #128ee9;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.2s ease;
}

.support_btn:hover {
  background: #f0f9ff;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* ========== 响应式设计 ========== */
@media (max-width: 1024px) {
  .detail_content_wrapper {
    flex-direction: column;
  }

  .detail_sidebar {
    width: 100%;
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .sidebar_card {
    margin-bottom: 0;
  }
}

@media (max-width: 768px) {
  .exhibition_detail_container {
    padding: 16px 0 40px;
  }

  .detail_main_content {
    padding: 32px 24px;
    border-radius: 16px;
  }

  .article_title {
    font-size: 32px;
  }

  .article_cover img {
    height: 220px;
  }

  .article_body {
    font-size: 15px;
  }

  .article_body h1 {
    font-size: 28px;
  }

  .article_body h2 {
    font-size: 24px;
  }

  .article_body h3 {
    font-size: 20px;
  }

  .article_files_list {
    grid-template-columns: 1fr;
  }

  .detail_sidebar {
    grid-template-columns: 1fr;
  }
}
