/* 版本更新 & 公告：列表页 lists_article_gonggao.htm 与详情页 view_article_gonggao.htm 共用 */
.gg-wrap { background: #f7f8fa; padding: 24px 0 60px; }
.gg-crumb { display: flex; flex-wrap: wrap; align-items: center; font-size: 13px; color: #8a94a6; padding: 0 0 16px; }
.gg-crumb a { color: #8a94a6; text-decoration: none; }
.gg-crumb a:hover { color: #ff6b35; }
.gg-layout { display: flex; align-items: flex-start; gap: 24px; }

/* 左侧：历史公告 */
.gg-side { flex: none; width: 320px; background: #fff; border: 1px solid #e9ecef; border-radius: 6px; position: sticky; top: 90px; }
.gg-side-head { display: flex; align-items: center; gap: 6px; padding: 14px 16px; font-size: 16px; font-weight: 700; color: #212529; border-bottom: 1px solid #f1f3f5; }
.gg-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 16px 4px; }
.gg-tab { font-size: 12px; line-height: 24px; padding: 0 10px; border: 1px solid #e9ecef; border-radius: 12px; color: #525f7f; background: #fff; cursor: pointer; }
.gg-tab:hover { color: #ff6b35; border-color: #ffd2c0; }
.gg-tab.on { color: #fff; background: #ff6b35; border-color: #ff6b35; }
.gg-side-list { max-height: calc(100vh - 260px); min-height: 120px; overflow-y: auto; padding: 4px 8px 8px; }
.gg-side-item { display: block; padding: 10px 8px; border-radius: 4px; text-decoration: none; border-bottom: 1px dashed #eef0f2; }
.gg-side-item:last-child { border-bottom: none; }
.gg-side-item:hover { background: #fafbfc; }
.gg-side-item.on { background: #fff3ee; }
.gg-side-item.on .gg-side-title { color: #ff6b35; font-weight: 600; }
.gg-side-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.gg-side-title { display: block; font-size: 14px; line-height: 1.5; color: #333; }
.gg-side-item:hover .gg-side-title { color: #ff6b35; }
.gg-side-empty { padding: 16px 8px; color: #8a94a6; font-size: 14px; }

.gg-tag { display: inline-block; font-size: 12px; line-height: 18px; padding: 0 6px; color: #ff6b35; background: #fff3ee; border: 1px solid #ffd2c0; border-radius: 3px; white-space: nowrap; }
.gg-date { font-size: 12px; color: #8a94a6; white-space: nowrap; }

/* 右侧：正文 */
.gg-main { flex: 1; min-width: 0; background: #fff; border: 1px solid #e9ecef; border-radius: 6px; padding: 32px 40px 40px; }
.gg-main-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.gg-main h1 { font-size: 26px; line-height: 1.4; font-weight: 700; color: #212529; margin: 0 0 20px; padding-bottom: 20px; border-bottom: 1px solid #f1f3f5; }
.gg-content { font-size: 15px; line-height: 1.9; color: #333; word-break: break-word; }
.gg-content p { margin: 0 0 12px; }
.gg-content img { max-width: 100%; height: auto; }
.gg-content table { max-width: 100%; border-collapse: collapse; }
.gg-content td, .gg-content th { border: 1px solid #e9ecef; padding: 6px 10px; }
.gg-empty { color: #8a94a6; font-size: 15px; padding: 40px 0; text-align: center; }
.gg-back { margin-top: 32px; padding-top: 16px; border-top: 1px solid #f1f3f5; font-size: 14px; }
.gg-back a { color: #ff6b35; text-decoration: none; }

@media (max-width: 991px) {
  .gg-layout { flex-direction: column; }
  .gg-side { width: 100%; position: static; order: 2; }
  .gg-main { order: 1; width: 100%; padding: 20px 16px 24px; }
  .gg-main h1 { font-size: 20px; }
  .gg-side-list { max-height: none; }
}
