/* AURA MATRIX / 宸耀 — THEORY GOLD MASTER FORMAT V1.0
   Formal shared article stylesheet. No runtime DOM mutation. */

html { scroll-padding-top: 104px; }

html[lang="zh-CN"],
html[lang="zh-CN"] body.article-page,
html[lang="zh-Hant"],
html[lang="zh-Hant"] body.article-page,
html[lang="en"],
html[lang="en"] body.article-page {
  background: #f7f5ef url("assets/bg-inner-soft-blue.png") center top / cover fixed no-repeat !important;
}

body.article-page { color: #244b65; }
body.article-page main { background: transparent !important; padding-bottom: 28px !important; }
body.article-page { padding-bottom: 0 !important; }

body.article-page .article-shell {
  padding: clamp(48px, 6vw, 72px) 0 84px;
}

body.article-page .article-content {
  width: min(900px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(46px, 6vw, 72px) clamp(34px, 7vw, 70px) clamp(58px, 7vw, 82px);
  color: #153b59 !important;
  background: linear-gradient(145deg, rgba(255,253,248,.88), rgba(247,252,251,.8));
  border: 1px solid rgba(183,132,40,.22);
  border-radius: 24px;
  box-shadow: 0 18px 48px rgba(18,63,92,.075);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

body.article-page .article-header,
body.article-page .article-body,
body.article-page .article-back {
  width: min(100%, 750px);
  margin-left: auto;
  margin-right: auto;
}

body.article-page .article-header {
  position: static !important;
  z-index: auto !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.article-page .article-breadcrumb {
  margin: 0 0 24px;
  color: #8f6a2d;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.6;
  letter-spacing: .06em;
}

html[lang="en"] body.article-page .article-breadcrumb {
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body.article-page .article-breadcrumb a,
body.article-page .article-back a { color: #58768a; text-decoration: none; }
body.article-page .article-breadcrumb a:hover,
body.article-page .article-back a:hover { color: #a87522; }

body.article-page .article-header h1 {
  max-width: 740px;
  margin: 0 !important;
  color: #153f66 !important;
  font-family: "Songti SC", STSong, "Noto Serif SC", serif !important;
  font-size: 30px !important;
  font-weight: 700 !important;
  line-height: 1.32 !important;
  letter-spacing: 0 !important;
  text-wrap: balance;
}

html[lang="zh-Hant"] body.article-page .article-header h1 {
  font-family: "Songti TC", "Noto Serif TC", "PMingLiU", serif !important;
}

html[lang="en"] body.article-page .article-header h1 {
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, "Times New Roman", serif !important;
  font-size: 29px !important;
  line-height: 1.32 !important;
}

@media (min-width: 701px) {
  body.article-page .article-title-tail { white-space: nowrap; }
}

body.article-page .article-dek,
body.article-page .article-dek * {
  max-width: 700px;
  margin-top: 18px;
  margin-bottom: 0;
  color: #4f2f7d !important;
  -webkit-text-fill-color: #4f2f7d !important;
  font-family: "Songti SC", STSong, "Noto Serif SC", serif !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  line-height: 1.6 !important;
  letter-spacing: 0 !important;
  opacity: 1 !important;
}

html[lang="zh-Hant"] body.article-page .article-dek,
html[lang="zh-Hant"] body.article-page .article-dek * {
  font-family: "Songti TC", "Noto Serif TC", "PMingLiU", serif !important;
}

html[lang="en"] body.article-page .article-dek,
html[lang="en"] body.article-page .article-dek * {
  margin-top: 22px;
  color: #724f96 !important;
  -webkit-text-fill-color: #724f96 !important;
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, "Times New Roman", serif !important;
  font-size: 34px !important;
  font-weight: 600 !important;
  line-height: 1.32 !important;
}

body.article-page .article-divider {
  width: 100%;
  height: 1px;
  margin: 34px 0 42px;
  background: linear-gradient(90deg, rgba(168,117,34,.5), rgba(46,130,124,.24), transparent);
}

body.article-page .article-author {
  margin-bottom: 38px !important;
}

body.article-page .article-body,
body.article-page .article-body p,
body.article-page .article-body li {
  color: #173d60 !important;
  font-family: "Songti SC", STSong, "Noto Serif SC", serif !important;
  font-size: 25px !important;
  font-weight: 400 !important;
  line-height: 1.76 !important;
  letter-spacing: 0 !important;
  overflow-wrap: break-word;
}

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

html[lang="zh-Hant"] body.article-page .article-body,
html[lang="zh-Hant"] body.article-page .article-body p,
html[lang="zh-Hant"] body.article-page .article-body li,
html[lang="zh-Hant"] body.article-page .article-body :where(ul, ol, blockquote, strong, b, em, i, span, a) {
  color: #173b4e !important;
  font-family: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif !important;
  font-size: 20px !important;
  line-height: 1.85 !important;
  letter-spacing: normal !important;
}

html[lang="en"] body.article-page.article-page main.article-shell article.article-content,
html[lang="en"] body.article-page.article-page main.article-shell article.article-content :where(p, li, h1, h2, h3, h4, h5, a, strong, span, em) {
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, "Times New Roman", serif !important;
}

html[lang="en"] body.article-page .article-body,
html[lang="en"] body.article-page .article-body p,
html[lang="en"] body.article-page .article-body li {
  color: #173d60 !important;
  font-size: 29px !important;
  font-weight: 400 !important;
  line-height: 1.46 !important;
}

body.article-page .article-body h2 {
  margin: 2.35em 0 .82em !important;
  color: #245f90 !important;
  font-family: "Songti SC", STSong, "Noto Serif SC", serif !important;
  font-size: 38px !important;
  font-weight: 700 !important;
  line-height: 1.28 !important;
}

html[lang="zh-Hant"] body.article-page .article-body h2 {
  font-family: "Songti TC", "Noto Serif TC", "PMingLiU", serif !important;
}

html[lang="en"] body.article-page .article-body h2 {
  font-size: 40px !important;
  line-height: 1.22 !important;
}

body.article-page .article-body h3 {
  margin: 2em 0 .78em;
  color: #1d5176 !important;
  font-family: "Songti SC", STSong, "Noto Serif SC", serif !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
}

body.article-page .article-body strong { color: #0f3651 !important; font-weight: 750 !important; }
body.article-page .article-body hr { width: 68px; height: 1px; margin: 52px 0; border: 0; background: rgba(168,117,34,.44); }
body.article-page .article-body blockquote { margin: 30px 0; padding: 3px 0 3px 22px; border-left: 2px solid rgba(168,117,34,.46); color: #3f657c; }
body.article-page .article-body blockquote p { margin: 0; }

body.article-page .am-article-cta {
  margin-top: 54px !important;
  padding: 32px 34px !important;
  color: #173f5d !important;
  background: rgba(255,255,255,.86) !important;
  border: 1px solid rgba(171,133,58,.36) !important;
  border-radius: 24px !important;
}

body.article-page .am-article-cta h2 {
  margin: 0 0 14px !important;
  color: #5a6370 !important;
  font-family: "Songti SC", STSong, "Noto Serif SC", serif !important;
  font-size: 22px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
}

body.article-page .am-article-cta p {
  margin: 0 0 22px !important;
  color: #294966 !important;
  font-family: "Songti SC", STSong, "Noto Serif SC", serif !important;
  font-size: 26px !important;
  font-weight: 550 !important;
  line-height: 1.62 !important;
  opacity: 1 !important;
}

html[lang="zh-Hant"] body.article-page .am-article-cta :where(h2, p) {
  font-family: "Songti TC", "Noto Serif TC", "PMingLiU", serif !important;
}

html[lang="en"] body.article-page .am-article-cta h2 {
  color: #245f90 !important;
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, "Times New Roman", serif !important;
  font-size: 38px !important;
  font-weight: 700 !important;
  line-height: 1.22 !important;
}

html[lang="en"] body.article-page .am-article-cta p {
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, "Times New Roman", serif !important;
  font-size: 24px !important;
  line-height: 1.5 !important;
}

body.article-page .am-article-actions { display: flex !important; gap: 14px !important; flex-wrap: wrap !important; }
body.article-page .am-article-actions a,
body.article-page .am-article-actions a.am-primary,
body.article-page .am-v7-cta-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 12px 20px !important;
  color: #173c59 !important;
  background: linear-gradient(135deg, #f8dfa0, #e7ad3f) !important;
  border: 1px solid #d39b2f !important;
  border-radius: 999px !important;
  box-shadow: 0 8px 22px rgba(177,123,28,.12) !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  opacity: 1 !important;
}

body.article-page .am-related { margin-top: 18px !important; padding-top: 0 !important; color: #173f5d !important; }
body.article-page .am-related h2 {
  margin-bottom: 18px !important;
  color: #5a6370 !important;
  font-family: "Songti SC", STSong, "Noto Serif SC", serif !important;
  font-size: 22px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  opacity: 1 !important;
}
body.article-page .am-related-grid { display: grid !important; grid-template-columns: repeat(3,minmax(0,1fr)) !important; gap: 14px !important; }
body.article-page .am-related-card { display: block !important; min-height: 132px !important; padding: 19px !important; color: #173f5d !important; background: rgba(255,255,255,.88) !important; border: 1px solid rgba(171,133,58,.28) !important; border-radius: 17px !important; text-decoration: none !important; }
body.article-page .am-related-card span {
  display: block !important;
  color: #5a6370 !important;
  font-family: "Songti SC", STSong, "Noto Serif SC", serif !important;
  font-size: 22px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  opacity: 1 !important;
}
body.article-page .am-related-card strong {
  color: #173f5d !important;
  font-family: "Songti SC", STSong, "Noto Serif SC", serif !important;
  font-size: 21px !important;
  font-weight: 800 !important;
  line-height: 1.5 !important;
  opacity: 1 !important;
}

html[lang="zh-Hant"] body.article-page .am-related :where(h2, span, strong) {
  font-family: "Songti TC", "Noto Serif TC", "PMingLiU", serif !important;
}

html[lang="en"] body.article-page .am-related h2 {
  color: #205c8c !important;
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, "Times New Roman", serif !important;
  font-size: 40px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}
html[lang="en"] body.article-page .am-related-card span,
html[lang="en"] body.article-page .am-related-card strong {
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, "Times New Roman", serif !important;
  font-size: 27px !important;
  line-height: 1.5 !important;
}

@media (max-width: 700px) {
  body.article-page .article-shell { padding: 28px 0 58px; }
  body.article-page .article-content { width: min(100% - 28px, 900px); padding: 36px 22px 50px; border-radius: 20px; }
  body.article-page .article-breadcrumb { margin-bottom: 20px; font-size: 13px; }
  body.article-page .article-header h1,
  html[lang="en"] body.article-page .article-header h1 { font-size: 30px !important; line-height: 1.2 !important; }
  body.article-page .article-dek,
  body.article-page .article-dek * { margin-top: 16px; font-size: 24px !important; }
  html[lang="en"] body.article-page .article-dek,
  html[lang="en"] body.article-page .article-dek * { font-size: 27px !important; line-height: 1.4 !important; }
  body.article-page .article-divider { margin: 28px 0 34px; }
  body.article-page .article-author { margin-bottom: 32px !important; }
  body.article-page .article-body,
  body.article-page .article-body p,
  body.article-page .article-body li { font-size: 18.5px !important; line-height: 1.84 !important; }
  html[lang="zh-Hant"] body.article-page .article-body,
  html[lang="zh-Hant"] body.article-page .article-body p,
  html[lang="zh-Hant"] body.article-page .article-body li { font-size: 18px !important; line-height: 1.8 !important; }
  html[lang="en"] body.article-page .article-body,
  html[lang="en"] body.article-page .article-body p,
  html[lang="en"] body.article-page .article-body li { font-size: 22px !important; line-height: 1.72 !important; }
  body.article-page .article-body h2 { margin-top: 2.15em !important; font-size: 29px !important; line-height: 1.42 !important; }
  body.article-page .article-body h3 { font-size: 23px !important; }
  body.article-page .article-body hr { margin: 42px 0; }
  body.article-page .am-article-cta { padding: 25px 20px !important; }
  body.article-page .am-article-actions a { width: 100% !important; }
  body.article-page .am-related-grid { grid-template-columns: 1fr !important; }
  /* Long source URLs are article content; let them wrap instead of widening the page. */
  body.article-page .article-body { min-width: 0; overflow-wrap: anywhere; }
  html[lang] body.article-page.article-page .article-body :is(a, p, li, code, pre) { min-width: 0 !important; overflow-wrap: anywhere !important; word-break: break-word !important; }
}

/* AM_AUTHOR_IDENTITY_FINAL_START */
.article-author-block{margin:28px 0 34px;padding:6px 0 6px 18px;border-left:2px solid rgba(174,126,57,.82);text-align:left}.article-author-name{color:#123b57;font-family:Georgia,"Songti SC",serif;font-size:26px;line-height:1.18;font-weight:700;letter-spacing:.075em}.article-author-role{margin-top:8px;color:#354f61;font-size:14.5px;line-height:1.5;font-weight:600}.article-author-block-en .article-author-name{font-size:25px;letter-spacing:.09em}@media(max-width:640px){.article-author-block{margin:23px 0 29px;padding-left:14px}.article-author-name{font-size:22px}.article-author-role{font-size:13.5px}}
/* AM_AUTHOR_IDENTITY_FINAL_END */
