.template-module {
  --template-color: #6387cd;
  margin: 0 0 12px;
  border: 1px solid var(--template-color);
  background: white;
  overflow: hidden;
}
.template-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: var(--template-color);
  color: #fff;
  text-align: center;
  padding: 8px 10px;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.35;
}
.template-heading > span {
  flex: 1;
}
.template-heading > a {
  font-size: 13px;
  white-space: nowrap;
  border-left: 1px solid #ffffff55;
  padding-left: 8px;
}
.theme-text {
  --template-color: #6387cd;
}
.theme-parity {
  --template-color: #15b2d0;
}
.theme-zodiac {
  --template-color: #ee0909;
}
.theme-periods {
  --template-color: #25772c;
}
.theme-matrix {
  --template-color: #00b9c7;
}
.theme-explanation {
  --template-color: #6945ba;
}
.theme-numbers {
  --template-color: #1759bb;
}
.theme-gallery {
  --template-color: #e87d0e;
}
.template-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  background: #f8fafc;
  color: #7b8797;
  font-size: 12px;
  gap: 8px;
  border-top: 1px solid #e4e7ec;
}
.template-foot > a {
  color: var(--template-color);
  font-weight: 700;
  white-space: nowrap;
}
.template-body {
  color: #111;
}
.template-text-content {
  font-size: 18px;
  line-height: 1.9;
  padding: 18px;
  color: #303945;
}
.template-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-size: 21px;
  line-height: 1.65;
  font-weight: 700;
}
.template-table td,
.template-table th {
  border: 1px solid #ddd;
  padding: 7px 5px;
  overflow-wrap: anywhere;
}
.template-table th {
  font-size: 19px;
  background: #f9fbff;
  color: #ed0b14;
}
.template-table td.column-1,
.template-table td.column-2,
.template-table td.column-3 {
  color: #1254d5;
}
.template-table td:last-child {
  color: #e3001e;
}
.template-text .template-table th {
  display: none;
}
.template-text .template-table td {
  border-left: 0;
  border-right: 0;
  font-size: 20px;
}
.template-text .template-table td.column-1 {
  color: #e00000;
}
.template-table-scroll {
  overflow-x: auto;
}
.parity-row {
  display: grid;
  grid-template-columns: 17% 58% 25%;
  border-bottom: 1px solid #ddd;
  font-size: 23px;
  align-items: stretch;
  text-align: center;
  font-weight: 700;
}
.parity-row:last-child {
  border-bottom: 0;
}
.parity-row > b,
.parity-row > em {
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  padding: 7px 3px;
}
.parity-row > div {
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  padding: 3px 8px;
  text-align: left;
}
.parity-row p {
  margin: 4px 0;
  display: flex;
  gap: 8px;
}
.parity-row p:first-child strong {
  color: red;
}
.parity-row p:last-child strong {
  color: #174ee1;
}
.parity-row em {
  color: #ec0013;
  font-size: 17px;
}
.zodiac-step {
  display: grid;
  grid-template-columns: 13% 39% 48%;
  padding: 9px 6px;
  align-items: center;
  border-bottom: 1px solid #bbb;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
}
.zodiac-step:last-child {
  border: 0;
}
.zodiac-step > b {
  color: red;
  font-size: 24px;
}
.zodiac-step > div {
  border-left: 1px solid #bbb;
  padding-left: 6px;
  font-size: 18px;
}
.zodiac-step > div strong {
  color: red;
}
.zodiac-step > div span {
  color: #222;
  display: block;
  font-size: 13px;
}
.zodiac-step.step-1 > b {
  font-size: 27px;
}
.zodiac-step.step-2 > b {
  font-size: 30px;
}
.zodiac-step.step-3 > b {
  font-size: 34px;
}
.periods-layout {
  display: grid;
  grid-template-columns: 18% 57% 25%;
  min-height: 190px;
  text-align: center;
  font-weight: 700;
}
.period-labels,
.period-results {
  display: flex;
  flex-direction: column;
}
.period-labels > strong,
.period-results > span {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  border-bottom: 1px solid #ddd;
  padding: 10px 3px;
  font-size: 22px;
}
.period-labels > strong:last-child,
.period-results > span:last-child {
  border-bottom: 0;
}
.period-results > span {
  font-size: 18px;
  color: red;
}
.merged-period-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  background: #ffffda;
  padding: 12px;
}
.merged-period-content small {
  font-size: 16px;
  color: #24802e;
  margin-bottom: 14px;
}
.merged-period-content b {
  color: red;
  font-size: 32px;
  line-height: 1.8;
}
.merged-period-content span {
  font-size: 14px;
  color: #6a7848;
  margin-top: 14px;
}
.explanation-row {
  border-bottom: 1px solid #ccc;
  padding: 12px 17px;
  font-size: 21px;
}
.explanation-row:last-child {
  border: 0;
}
.explanation-row > div {
  display: flex;
  gap: 10px;
  align-items: center;
}
.explanation-row > div > span {
  color: #03a021;
  font-weight: 700;
}
.explanation-row mark {
  font-size: 30px;
  background: #ffec00;
  color: #ec002c;
  padding: 0 12px;
  font-weight: 700;
}
.explanation-row p {
  margin: 7px 0 0;
  line-height: 1.65;
  font-size: 19px;
}
.explanation-row p strong {
  color: #02921d;
}
.number-matrix-row {
  display: grid;
  grid-template-columns: 16% 63% 21%;
  align-items: center;
  border-bottom: 1px solid #ccc;
  text-align: center;
  padding: 8px 5px;
  gap: 5px;
}
.number-matrix-row:last-child {
  border: 0;
}
.number-matrix-row > b {
  font-size: 22px;
}
.number-matrix-row > em {
  font-size: 16px;
  font-style: normal;
  color: #e80012;
}
.number-matrix {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
.number-matrix > span {
  font: 700 26px/1.5 Arial;
  color: #1043be;
  background: #f1f7ff;
  border: 1px solid #d8e8ff;
}
.gallery-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 10px;
}
.gallery-data-card {
  border: 1px solid #ddd;
  text-align: center;
  background: #fff;
}
.gallery-data-card img {
  display: block;
  width: 100%;
  height: auto;
}
.gallery-data-card p {
  font-size: 14px;
  color: #758097;
  margin: 7px;
}
.gallery-illustration {
  display: flex;
  min-height: 220px;
  padding: 15px 9px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #2157a1;
  background: linear-gradient(135deg, #e0f6ff, #f3faff 55%, #c3e9ff);
  border: 5px double #5f9fe2;
}
.gallery-color-1 .gallery-illustration {
  color: #c13a29;
  background: linear-gradient(135deg, #ffecd1, #fffce5 55%, #ffd593);
  border-color: #e59934;
}
.gallery-color-2 .gallery-illustration {
  color: #16753c;
  background: linear-gradient(135deg, #d9f8de, #faffde 55%, #a9e6bb);
  border-color: #71b983;
}
.gallery-color-3 .gallery-illustration {
  color: #7344a9;
  background: linear-gradient(135deg, #e7ddfa, #fff4ff 55%, #d9c9ed);
  border-color: #a287ca;
}
.gallery-illustration small {
  font-size: 13px;
  font-weight: 700;
}
.gallery-illustration b {
  font-size: 34px;
  letter-spacing: 2px;
}
.gallery-illustration span {
  font-size: 24px;
  line-height: 1.5;
  font-weight: 700;
}
.gallery-illustration i {
  font: 700 22px Arial;
  border-top: 1px solid currentColor;
  padding: 7px 20px 0;
  margin-top: 5px;
}
.all-templates-link {
  display: block;
  background: #ffff00;
  border: 2px solid #d8ae00;
  text-align: center;
  padding: 12px;
  font-size: 23px;
  font-weight: 700;
  color: #1226c1;
  margin: 8px 0;
}
.template-shortcuts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 3px solid #4650df;
  gap: 5px;
  padding: 5px;
  background: #f7f7ff;
  margin: 10px 0;
}
.template-shortcuts a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #c9cdec;
  color: #1756be;
  font-size: 18px;
  font-weight: 700;
  min-height: 42px;
  text-align: center;
}
.template-shortcuts a:nth-child(3n) {
  color: #d41d28;
}
.templates-home-title {
  font-size: 26px;
  background: #6387cd;
  color: yellow;
  text-align: center;
  padding: 8px;
  margin: 0 0 8px;
}
.content-page .site-shell {
  padding-bottom: 0;
}
.content-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
}
.content-home-link {
  color: #fff;
  font-size: 15px;
  padding: 8px 12px;
  background: #ffffff18;
  border: 1px solid #ffffff55;
  border-radius: 3px;
}
.content-nav {
  display: flex;
  border-bottom: 2px solid #6387cd;
  height: 42px;
}
.content-nav a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: #526b92;
  background: #f5f8ff;
}
.content-nav a.selected {
  background: #6387cd;
  color: #fff;
}
.content-page {
  scroll-padding-top: 110px;
}
.content-page.section-page .site-shell {
  padding-bottom: var(--nav-height);
}
.knowledge-hero {
  padding: 16px 10px 12px;
  text-align: center;
  background: linear-gradient(#eef4ff, #fff);
  border-bottom: 1px solid #e3ecf9;
}
.knowledge-hero h1 {
  margin: 0;
  color: #284d87;
  font-size: 26px;
  letter-spacing: 2px;
}
.knowledge-hero p {
  margin: 5px 0 0;
  color: #7b8ba1;
  font-size: 14px;
}
.knowledge-list {
  padding: 10px 0 4px;
}
.knowledge-block {
  margin: 0 0 10px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d9e3f2;
  border-radius: 4px;
}
.knowledge-block h2 {
  margin: 0;
  padding: 9px 10px;
  background: #ededed;
  border-bottom: 1px solid #e2e2e2;
  color: #333;
  font-size: 19px;
  font-weight: 700;
  text-align: center;
}
.knowledge-body {
  padding: 8px 6px;
  font-size: 16px;
  line-height: 1.9;
}
.knowledge-body .template-body {
  padding: 0;
}
.knowledge-body .rich-article-content {
  padding: 8px 10px;
}
@media (max-width: 480px) {
  .knowledge-hero h1 {
    font-size: 22px;
  }
  .knowledge-block h2 {
    font-size: 17px;
  }
  .knowledge-body {
    font-size: 15px;
  }
}
.content-main {
  padding: 0 8px 20px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: #8390a2;
  padding: 15px 4px;
}
.breadcrumb a {
  color: #527bbd;
}
.directory-title {
  font-size: 26px;
  background: #6387cd;
  color: #ffff30;
  text-align: center;
  padding: 12px 5px;
  margin: 0 0 15px;
}
.article-search {
  display: flex;
  padding: 0 2px;
  gap: 7px;
  margin-bottom: 14px;
}
.article-search input {
  width: 100%;
  min-width: 0;
  border: 1px solid #cdd8e9;
  font: inherit;
  padding: 10px 12px;
  outline: none;
  border-radius: 3px;
}
.article-search button {
  background: #6387cd;
  color: #fff;
  font-weight: 700;
  padding: 0 23px;
  white-space: nowrap;
  border-radius: 3px;
}
.template-filters {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}
.template-filters a {
  font-size: 13px;
  border: 1px solid #d0dae9;
  border-radius: 3px;
  padding: 7px 10px;
  color: #6081b6;
  background: #f9fbff;
}
.template-filters a.selected {
  background: #6387cd;
  color: #fff;
  border-color: #6387cd;
}
.directory-toolbar {
  display: flex;
  justify-content: space-between;
  color: #8a97a9;
  font-size: 12px;
  padding: 11px 5px;
  border-bottom: 1px solid #dfe6f0;
}
.directory-toolbar a {
  color: #527bbd;
}
.directory-article {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #e2e5ed;
  padding: 18px 8px;
}
.directory-article:hover {
  background: #f7faff;
}
.directory-icon {
  color: var(--template-color);
  border: 1px solid var(--template-color);
  background: #f8fafc;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}
.directory-article > div {
  flex: 1;
  min-width: 0;
}
.directory-article h2 {
  font-size: 18px;
  line-height: 1.6;
  color: #264da0;
  margin: 0 0 6px;
}
.directory-article p {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #8797b0;
  font-size: 12px;
  margin: 0;
}
.view-article {
  font-size: 13px;
  color: #eb1722;
  white-space: nowrap;
}
.content-footer {
  text-align: center;
  padding: 24px 14px;
  background: #f8fafc;
  border-top: 1px solid #e0e5ee;
  color: #9aa5b7;
  font-size: 12px;
  line-height: 1.8;
}
.content-footer nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  color: #5d7db1;
  margin: 12px 0;
}
.content-footer > b {
  font-size: 16px;
  color: #6387cd;
}
.article-detail {
  border: 1px solid var(--template-color);
}
.article-detail-header {
  text-align: center;
  border-top: 6px solid var(--template-color);
  padding: 18px 10px;
  background: #f8fbff;
}
.article-detail-category {
  font-size: 13px;
  color: var(--template-color);
  font-weight: 700;
}
.article-detail-header h1 {
  font-size: 28px;
  line-height: 1.5;
  margin: 14px 0;
  color: #234585;
}
.article-detail-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  font-size: 12px;
  color: #919cac;
}
.article-detail-meta button {
  color: #6387cd;
  border: 1px solid #cfd9e9;
  padding: 5px 8px;
  border-radius: 3px;
}
.article-intro {
  text-align: center;
  background: var(--template-color);
  font-size: 19px;
  padding: 9px;
  color: yellow;
  font-weight: 700;
}
.article-body-copy {
  padding: 18px;
  border-top: 1px solid #e1e7ee;
}
.article-body-copy h2 {
  font-size: 16px;
  color: var(--template-color);
  border-left: 4px solid var(--template-color);
  padding-left: 8px;
  margin: 0 0 12px;
}
.article-body-copy > div {
  font-size: 15px;
  line-height: 2;
  color: #617084;
  overflow-wrap: anywhere;
}
.article-bookmark {
  font-size: 18px;
  text-align: center;
  background: #ffff3d;
  padding: 12px;
  color: #2c3562;
  font-weight: 700;
}
.article-bookmark b {
  color: red;
}
.article-pagination {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 15px 0;
}
.article-pagination > a,
.article-pagination > div {
  border: 1px solid #dce4f1;
  padding: 12px;
  background: #f9fbff;
  min-width: 0;
}
.article-pagination small {
  display: block;
  color: #8b9ab2;
  margin-bottom: 6px;
}
.article-pagination b {
  display: block;
  color: #537ab4;
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.return-list {
  display: block;
  text-align: center;
  color: #fff;
  background: #6387cd;
  padding: 12px;
  font-size: 16px;
  font-weight: 700;
}
.template-page-intro {
  font-size: 14px;
  line-height: 1.8;
  color: #8392a8;
  margin: 0 3px 15px;
}
.template-preview-anchor {
  scroll-margin-top: 112px;
}
.template-manage-note {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 16px;
  background: #f3f7ff;
  color: #7c91b3;
  font-size: 13px;
  line-height: 1.8;
}
.template-manage-note a {
  color: #4369b2;
  white-space: nowrap;
}
.empty-data {
  text-align: center;
  padding: 45px 15px;
  color: #8b9cb5;
  font-size: 14px;
}
.empty-data h1,
.empty-data h2 {
  color: #6387cd;
  font-size: 23px;
}
.empty-data a {
  color: #6387cd;
}
.articles-list > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 13px 8px;
  border-bottom: 1px solid #dfe4ec;
  font-size: 21px;
  font-weight: 700;
  gap: 8px;
}
.articles-list > a em {
  font-style: normal;
  color: red;
}
.articles-list > a > span {
  font-size: 14px;
  color: #687eac;
  white-space: nowrap;
}
.articles-list > a:hover {
  background: #f8faff;
}
@media (max-width: 480px) {
  .template-heading {
    font-size: 18px;
    padding: 7px 4px;
  }
  .template-heading > a {
    font-size: 11px;
    padding-left: 5px;
  }
  .template-foot {
    font-size: 10px;
    padding: 6px;
  }
  .template-table {
    font-size: 16px;
  }
  .template-table th {
    font-size: 14px;
  }
  .template-table td,
  .template-table th {
    padding: 5px 2px;
  }
  .template-text .template-table td {
    font-size: 15px;
  }
  .template-text-content {
    padding: 12px;
    font-size: 15px;
  }
  .parity-row {
    font-size: 17px;
    grid-template-columns: 17% 60% 23%;
  }
  .parity-row > div {
    padding: 3px;
  }
  .parity-row p {
    gap: 3px;
  }
  .parity-row em {
    font-size: 13px;
  }
  .zodiac-step {
    grid-template-columns: 13% 40% 47%;
    padding: 7px 3px;
    font-size: 15px;
  }
  .zodiac-step > b {
    font-size: 17px;
  }
  .zodiac-step.step-1 > b {
    font-size: 19px;
  }
  .zodiac-step.step-2 > b {
    font-size: 21px;
  }
  .zodiac-step.step-3 > b {
    font-size: 24px;
  }
  .zodiac-step > div {
    font-size: 14px;
    padding-left: 3px;
  }
  .zodiac-step > div span {
    font-size: 10px;
  }
  .periods-layout {
    min-height: 145px;
  }
  .period-labels > strong {
    font-size: 16px;
  }
  .period-results > span {
    font-size: 13px;
  }
  .merged-period-content {
    padding: 7px;
  }
  .merged-period-content small {
    font-size: 12px;
    margin-bottom: 8px;
  }
  .merged-period-content b {
    font-size: 23px;
  }
  .merged-period-content span {
    font-size: 11px;
  }
  .explanation-row {
    padding: 10px;
    font-size: 16px;
  }
  .explanation-row mark {
    font-size: 24px;
    padding: 0 8px;
  }
  .explanation-row p {
    font-size: 15px;
  }
  .number-matrix-row > b {
    font-size: 16px;
  }
  .number-matrix-row > em {
    font-size: 12px;
  }
  .number-matrix > span {
    font-size: 21px;
  }
  .number-matrix {
    gap: 3px;
  }
  .gallery-cards {
    gap: 6px;
    padding: 6px;
  }
  .gallery-illustration {
    min-height: 175px;
    border-width: 3px;
    padding: 9px 4px;
    gap: 8px;
  }
  .gallery-illustration small {
    font-size: 9px;
  }
  .gallery-illustration b {
    font-size: 24px;
    letter-spacing: 0;
  }
  .gallery-illustration span {
    font-size: 18px;
  }
  .gallery-illustration i {
    font-size: 18px;
    padding: 5px 6px 0;
  }
  .gallery-data-card p {
    font-size: 11px;
  }
  .templates-home-title {
    font-size: 20px;
  }
  .template-shortcuts {
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
  }
  .template-shortcuts a {
    font-size: 15px;
    min-height: 35px;
  }
  .all-templates-link {
    font-size: 18px;
    padding: 10px;
  }
  .content-main {
    padding: 0 5px 15px;
  }
  .directory-title {
    font-size: 22px;
    padding: 10px 3px;
  }
  .directory-icon {
    width: 37px;
    height: 37px;
    font-size: 21px;
  }
  .directory-article {
    padding: 13px 4px;
    gap: 8px;
  }
  .directory-article h2 {
    font-size: 15px;
  }
  .directory-article p {
    font-size: 10px;
    gap: 7px;
  }
  .view-article {
    font-size: 11px;
  }
  .directory-article > div {
    flex: 1;
  }
  .article-detail-header h1 {
    font-size: 23px;
  }
  .article-detail-header {
    padding: 15px 7px;
  }
  .article-detail-meta {
    font-size: 11px;
    gap: 9px;
  }
  .article-intro {
    font-size: 16px;
  }
  .article-body-copy {
    padding: 14px;
  }
  .article-body-copy > div {
    font-size: 14px;
  }
  .article-bookmark {
    font-size: 15px;
    padding: 11px;
  }
  .article-pagination {
    gap: 6px;
  }
  .article-pagination > a,
  .article-pagination > div {
    padding: 9px;
  }
  .article-pagination b {
    font-size: 12px;
  }
  .article-search button {
    padding: 0 16px;
  }
  .template-manage-note {
    flex-direction: column;
  }
  .template-filters {
    gap: 5px;
  }
  .template-filters a {
    font-size: 12px;
    padding: 6px 8px;
  }
  .articles-list > a {
    font-size: 16px;
    padding: 11px 6px;
  }
  .articles-list > a > span {
    font-size: 11px;
  }
  .content-nav a {
    font-size: 14px;
  }
  .content-home-link {
    font-size: 12px;
  }
}

/* Compact article chrome mirrors the portal's dedicated content pages. */
.article-page .content-nav {
  display: none;
}
.article-page .content-main {
  padding-top: 12px;
}
.article-category-banner {
  height: 29px;
  text-align: center;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  background: linear-gradient(
    100deg,
    #f2f2f2 12%,
    #82a8e9 25%,
    #7198d5 75%,
    #eee 90%
  );
  border-radius: 14px 14px 0 0;
}
.article-page .article-detail {
  border-color: #7699cf;
}
.article-page .article-detail-header {
  padding: 5px 8px;
  border-top: 0;
  background: linear-gradient(#7294d0, #f4f7fb);
}
.article-page .article-detail-header h1 {
  margin: 0;
  font-size: 23px;
  line-height: 1.55;
  color: #092444;
}
.article-page .article-detail-meta {
  padding: 9px;
  border-top: 1px solid #dae2ef;
}
.return-home {
  display: block;
  text-align: center;
  border: 1px solid #7293c7;
  color: red;
  font-size: 27px;
  line-height: 1.6;
  margin-top: 3px;
  background: #fafafa;
}
.article-related-title {
  margin: 15px 0 6px;
}
.zodiac-step > b {
  font-size: var(--step-font, 20px) !important;
  letter-spacing: 1px;
}
.step-note {
  grid-column: 1 / -1;
  font-size: 11px;
  color: #8c97a8;
  font-weight: 400;
  padding-top: 4px;
}
.merged-period-content b {
  font-size: 20px;
  line-height: 1.65;
  border-bottom: 1px solid #e6e9b5;
  padding: 5px 0;
  width: 100%;
}
.articles-list > a {
  display: grid;
  grid-template-columns: auto 1fr auto;
}
@media (max-width: 480px) {
  .article-page .article-detail-header h1 {
    font-size: 18px;
  }
  .article-category-banner {
    font-size: 19px;
    height: 26px;
  }
  .return-home {
    font-size: 23px;
  }
  .zodiac-step > b {
    font-size: min(var(--step-font), 18px) !important;
    letter-spacing: 0;
  }
  .merged-period-content b {
    font-size: 16px;
  }
  .articles-list > a {
    grid-template-columns: auto 1fr;
  }
  .articles-list > a > span {
    grid-column: 2;
    text-align: right;
  }
}

.template-extra-cell {
  display: block;
  grid-column: 1 / -1;
  padding: 5px 8px;
  border-top: 1px solid #e5e9ef;
  font-size: 12px;
  line-height: 1.6;
  color: #7c8ba4;
  text-align: left;
  overflow-wrap: anywhere;
  font-weight: 400;
}
.template-extra-cell b {
  color: #6084bd;
}
.gallery-caption {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 9px;
  font-size: 13px;
  line-height: 1.7;
  color: #6c7d98;
}
.gallery-caption b {
  font-size: 16px;
  color: #537ac0;
}

.rich-article-content { padding:18px 20px; font-size:14px; line-height:1.65; overflow-wrap:anywhere; color:#151719; background:#fff; }
.rich-article-content p { margin:0 0 1em; }
.rich-article-content h1,.rich-article-content h2,.rich-article-content h3 { margin:0 0 .75em; }
.rich-article-content img { max-width:100%; height:auto; }
.rich-article-content a { color:#6685be; text-decoration:underline; }
.rich-article-content table { width:100%; border-collapse:collapse; }
.rich-article-content td,.rich-article-content th { border:1px solid #ddd; padding:8px; }
.rich-article-content blockquote { border-left:3px solid #cbbba4; margin:12px 0; padding-left:14px; }
.rich-article-content pre { background:#f3f3ef; padding:12px; white-space:pre-wrap; }
/* 2026-11-20 首页资料卡片不再限制高度，全部内容直接展开 */
.rich-compact { max-height:none; overflow:visible; }
