/* ------------------------------------------------------------------
 * 邦拓留学官网 · 资讯详情页样式
 * 仅负责「文章正文」区域的排版，页面骨架使用 Tailwind（品牌色同首页）。
 * ------------------------------------------------------------------ */

:root {
  --bt-navy: #0c1e36;
  --bt-navy-soft: #17335c;
  --bt-gold: #d4af37;
  --bt-line: #e8eef6;
  --bt-text: #344054;
  --bt-muted: #7a8699;
}

.article-header {
  margin-bottom: 8px;
}

.article-title {
  margin: 0 0 16px;
  color: var(--bt-navy);
  font-size: 28px;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 0 0 22px;
  color: var(--bt-muted);
  font-size: 13px;
  font-weight: 600;
}

.article-meta > span {
  display: inline-flex;
  align-items: center;
}

/* 详情页顶部（深蓝背景）中的作者信息 */
.article-meta--hero {
  margin: 22px 0 0;
  color: rgba(226, 232, 240, 0.82);
}

.article-cover {
  margin: 8px 0 28px;
  border-radius: 20px;
  overflow: hidden;
  background: #f1f5f9;
}

.article-cover img {
  display: block;
  width: 100%;
  height: auto;
}

/* ------------------------------------------------------------------
 * 正文
 * ------------------------------------------------------------------ */

.article-content {
  overflow: hidden;
  color: var(--bt-text);
  font-size: 16px;
  line-height: 1.95;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.article-content > :first-child {
  margin-top: 0;
}

.article-content > :last-child {
  margin-bottom: 0;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
  margin: 1.7em 0 0.75em;
  color: var(--bt-navy);
  font-weight: 700;
  line-height: 1.45;
  padding-left: 14px;
  border-left: 4px solid var(--bt-gold);
}

.article-content h1 {
  font-size: 26px;
}

.article-content h2 {
  font-size: 23px;
}

.article-content h3 {
  font-size: 20px;
}

.article-content h4,
.article-content h5,
.article-content h6 {
  font-size: 17px;
}

.article-content p,
.article-content ul,
.article-content ol,
.article-content blockquote,
.article-content pre,
.article-content table,
.article-content figure {
  margin: 1.1em 0;
}

.article-content strong,
.article-content b {
  color: var(--bt-navy);
  font-weight: 700;
}

.article-content a {
  color: #b0833c;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dashed rgba(212, 175, 55, 0.55);
}

.article-content a:hover {
  color: var(--bt-gold);
}

.article-content ul,
.article-content ol {
  padding-left: 1.4em;
}

.article-content li + li {
  margin-top: 0.5em;
}

.article-content blockquote {
  padding: 18px 22px;
  border-left: 4px solid var(--bt-gold);
  border-radius: 0 16px 16px 0;
  background: #f8fafc;
  color: var(--bt-navy-soft);
}

.article-content hr {
  margin: 2em 0;
  border: 0;
  border-top: 1px solid var(--bt-line);
}

.article-content img {
  display: block;
  max-width: 100%;
  height: auto !important;
  margin: 1.4em auto;
  border-radius: 16px;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.article-content .bt-table-wrap {
  margin: 1.2em 0;
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--bt-line);
  border-radius: 14px;
  -webkit-overflow-scrolling: touch;
}

.article-content th,
.article-content td {
  min-width: 120px;
  padding: 12px 14px;
  border: 1px solid var(--bt-line);
  text-align: left;
  vertical-align: middle;
  word-break: break-word;
  font-size: 14px;
}

.article-content th {
  background: var(--bt-navy);
  color: #fff;
  font-weight: 700;
  border-color: var(--bt-navy);
}

.article-content pre,
.article-content code {
  font-family: Consolas, "SFMono-Regular", Monaco, monospace;
}

.article-content pre {
  overflow-x: auto;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--bt-navy);
  color: #f8fafc;
  font-size: 14px;
}

.article-content code {
  padding: 0.12em 0.38em;
  border-radius: 6px;
  background: #f1f5f9;
}

.article-content pre code {
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
}

.article-content iframe,
.article-content video {
  width: 100%;
  max-width: 100%;
  border: 0;
  border-radius: 16px;
}

.article-content figcaption {
  margin-top: 0.75em;
  color: var(--bt-muted);
  font-size: 13px;
  text-align: center;
}

.article-empty {
  padding: 48px 0;
  color: var(--bt-muted);
  text-align: center;
}

@media (max-width: 767px) {
  .article-content {
    font-size: 15px;
    line-height: 1.9;
  }

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

  .article-content h1 {
    font-size: 22px;
  }

  .article-content h2 {
    font-size: 19px;
  }

  .article-content h3 {
    font-size: 17px;
  }
}
