/* ==========================================================================
   文章展示页样式；正文默认跨平台中文黑体，宽屏 18px，低分辨率 16px
   本文件由当前预览样式自动拆分，未压缩，可直接编辑。
   字体策略：按操作系统优先级排列，中文黑体集中在中后段，
   覆盖 Windows / macOS / 麒麟 / 统信 UOS / 鸿蒙 / Android。
   ========================================================================== */
:is(.fixed,.article-css-02) {
    position: fixed;
}

:is(.bottom-8,.article-css-02) {
    bottom: 2rem;
}

:is(.right-5,.article-css-02) {
    right: 1.25rem;
}

:is(.z-50,.article-css-02) {
    z-index: 50;
}

:is(.flex,.article-css-02,.article-css-03) {
    display: flex;
}

:is(.h-6,.article-css-04) {
    height: 1.5rem;
}

:is(.h-\[66px\],.article-css-03) {
    height: 66px;
}

:is(.min-h-screen,.article-css-01) {
    min-height: 100vh;
}

:is(.w-6,.article-css-04) {
    width: 1.5rem;
}

:is(.w-\[70px\],.article-css-03) {
    width: 70px;
}

:is(.flex-col,.article-css-02,.article-css-03) {
    flex-direction: column;
}

:is(.items-center,.article-css-03) {
    align-items: center;
}

:is(.justify-center,.article-css-03) {
    justify-content: center;
}

:is(.gap-1\.5,.article-css-03) {
    gap: .375rem;
}

:is(.gap-2,.article-css-02) {
    gap: .5rem;
}

:is(.rounded-\[4px\],.article-css-03) {
    border-radius: 4px;
}

:is(.border,.article-css-03) {
    border-width: 1px;
}

:is(.border-gold\/40,.article-css-03) {
    border-color: #c9a84c66;
}

:is(.bg-white,.article-css-01) {
    --tw-bg-opacity: 1;
    background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}

:is(.bg-gradient-to-b,.article-css-03) {
    background-image: linear-gradient(to bottom,var(--tw-gradient-stops));
}

:is(.from-party-red,.article-css-03) {
    --tw-gradient-from: #D92438 var(--tw-gradient-from-position);
    --tw-gradient-to: rgb(217 36 56 / 0) var(--tw-gradient-to-position);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

:is(.to-party-deep,.article-css-03) {
    --tw-gradient-to: #A81B2B var(--tw-gradient-to-position);
}

:is(.font-hei,.article-css-05) {
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "PingFang SC",
        "Microsoft YaHei",
        "HarmonyOS Sans SC",
        "Noto Sans SC",
        "Noto Sans CJK SC",
        "WenQuanYi Micro Hei",
        sans-serif;
}

:is(.text-\[13px\],.article-css-05) {
    font-size: 13px;
}

:is(.tracking-wide,.article-css-05) {
    letter-spacing: .025em;
}

:is(.text-gold-light,.article-css-04) {
    --tw-text-opacity: 1;
    color: rgb(227 200 120 / var(--tw-text-opacity, 1));
}

:is(.text-white,.article-css-03) {
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

:is(.shadow-\[0_4px_14px_rgba\(110\,18\,32\,0\.22\)\],.article-css-03) {
    --tw-shadow: 0 4px 14px rgba(110,18,32,.22);
    --tw-shadow-colored: 0 4px 14px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);
}

:is(.transition-all,.article-css-03) {
    transition-property: all;
    transition-timing-function: cubic-bezier(.4,0,.2,1);
    transition-duration: .15s;
}

:is(.hover\:-translate-x-0\.5,.article-css-03):hover {
    --tw-translate-x: -.125rem;
    transform: translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

:is(.hover\:from-party-deep,.article-css-03):hover {
    --tw-gradient-from: #A81B2B var(--tw-gradient-from-position);
    --tw-gradient-to: rgb(168 27 43 / 0) var(--tw-gradient-to-position);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

:is(.hover\:to-party-wine,.article-css-03):hover {
    --tw-gradient-to: #6E1220 var(--tw-gradient-to-position);
}

.subpage-main {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px 36px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    min-height: 52px;
    margin-bottom: 24px;
    gap: 8px;
    color: #8a8578;
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "PingFang SC",
        "Microsoft YaHei",
        "HarmonyOS Sans SC",
        "Noto Sans SC",
        "Noto Sans CJK SC",
        "WenQuanYi Micro Hei",
        sans-serif;
    font-size: 16px;
}

.article-page-layout {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.breadcrumb a {
    color: #8a8578;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #d92438;
}

.breadcrumb .current {
    color: #a81b2b;
}

.article-actions a:focus-visible {
    outline: 3px solid rgba(201,168,76,.65);
    outline-offset: 2px;
}

.article-container {
    overflow: hidden;
    border-radius: 10px;
    background: linear-gradient(180deg,#fffdfa,#fff 22%);
    box-shadow: 0 12px 30px -28px #6e12208c;
}

.article-header {
    padding: 34px 42px 22px;
    text-align: center;
}

.article-header h1 {
    color: #332b29;
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "PingFang SC",
        "Microsoft YaHei",
        "HarmonyOS Sans SC",
        "Noto Sans SC",
        "Noto Sans CJK SC",
        "WenQuanYi Micro Hei",
        sans-serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.55;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 24px;
    margin-top: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid #eee6de;
    color: #8a8578;
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "PingFang SC",
        "Microsoft YaHei",
        "HarmonyOS Sans SC",
        "Noto Sans SC",
        "Noto Sans CJK SC",
        "WenQuanYi Micro Hei",
        sans-serif;
    font-size: 13px;
}

.article-content {
    padding: 28px 46px 36px;
    color: #332b29;
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "PingFang SC",
        "Microsoft YaHei",
        "HarmonyOS Sans SC",
        "Noto Sans SC",
        "Noto Sans CJK SC",
        "WenQuanYi Micro Hei",
        sans-serif;
    font-size: 1.125rem;
    line-height: 1.75;
    text-align: justify;
}

.article-content p {
    margin: 0 0 1.2em;
    text-align: justify;
    text-indent: 2em;
}

.article-content .article-lead {
    color: #7f2530;
    font-weight: 700;
}

.article-content h3 {
    margin: 28px 0 12px;
    color: #8f1d2d;
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "PingFang SC",
        "Microsoft YaHei",
        "HarmonyOS Sans SC",
        "Noto Sans SC",
        "Noto Sans CJK SC",
        "WenQuanYi Micro Hei",
        sans-serif;
    font-size: 21px;
    line-height: 1.6;
}

.article-content img {
    display: block;
    width: 100%;
    max-width: 760px;
    height: auto;
    margin: 24px auto 8px;
    border-radius: 6px;
    box-shadow: 0 10px 24px -18px #371c1ca6;
}

.article-content .article-caption {
    color: #8a8578;
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "PingFang SC",
        "Microsoft YaHei",
        "HarmonyOS Sans SC",
        "Noto Sans SC",
        "Noto Sans CJK SC",
        "WenQuanYi Micro Hei",
        sans-serif;
    font-size: 13px;
    text-align: center;
    text-indent: 0!important;
}

.article-attachments {
    margin: 0 46px 28px;
    padding: 16px 20px;
    border-radius: 6px;
    background: #faf6f2;
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "PingFang SC",
        "Microsoft YaHei",
        "HarmonyOS Sans SC",
        "Noto Sans SC",
        "Noto Sans CJK SC",
        "WenQuanYi Micro Hei",
        sans-serif;
    font-size: 14px;
}

.article-attachments strong {
    color: #8f1d2d;
}

.article-attachments a {
    display: block;
    margin-top: 8px;
    color: #b22234;
    text-decoration: none;
}

.article-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 0 46px 32px;
    padding-top: 20px;
    border-top: 1px solid #eee6de;
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "PingFang SC",
        "Microsoft YaHei",
        "HarmonyOS Sans SC",
        "Noto Sans SC",
        "Noto Sans CJK SC",
        "WenQuanYi Micro Hei",
        sans-serif;
    font-size: 14px;
}

.article-actions a {
    overflow: hidden;
    color: #6f625d;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-decoration: none;
}

.article-actions a:last-child {
    text-align: right;
}

.article-actions a:hover {
    color: #cf2338;
}

.page-article .article-header h1 {
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "PingFang SC",
        "Microsoft YaHei",
        "HarmonyOS Sans SC",
        "Noto Sans SC",
        "Noto Sans CJK SC",
        "WenQuanYi Micro Hei",
        sans-serif;
    font-size: 30px;
    line-height: 1.55;
}

.page-article .article-content {
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "PingFang SC",
        "Microsoft YaHei",
        "HarmonyOS Sans SC",
        "Noto Sans SC",
        "Noto Sans CJK SC",
        "WenQuanYi Micro Hei",
        sans-serif;
    font-size: 1.125rem;
    line-height: 1.75;
    text-align: justify;
}

/* --------------------------------------------------------------------------
   旧内核降级：Chromium 84 以下 Flex 布局的 gap 不生效，
   此处用 margin 补回基本间距，保证国产系统老旧浏览器中不挤在一起。
   支持 gap 的浏览器不会命中该规则，不会产生额外间距。
   -------------------------------------------------------------------------- */
@supports not (gap: 1px) {
    .breadcrumb > * + * {
        margin-left: 8px;
    }

    .article-meta > * {
        margin: 4px 12px;
    }
}

@media(max-width:767px) {

  .subpage-main {
      padding-bottom: 24px;
  }

  .breadcrumb {
      min-height: 46px;
      font-size: 15px;
  }

  .article-header {
      padding: 26px 20px 18px;
  }

  .article-header h1 {
      font-size: 25px;
  }

  .page-article .article-header h1 {
      font-size: 25px;
  }

  .article-content {
      padding: 22px 20px 28px;
  }

  .page-article .article-content {
      padding: 22px 20px 28px;
  }

  .article-attachments {
      margin-right: 20px;
      margin-left: 20px;
  }

  .article-actions {
      margin-right: 20px;
      margin-left: 20px;
  }

  .article-actions {
      grid-template-columns: 1fr;
  }

  .article-actions a:last-child {
      text-align: left;
  }
}

@media(max-width:1366px) {

  .article-content {
      font-size: 1rem;
      line-height: 1.7;
  }

  .page-article .article-content {
      font-size: 1rem;
      line-height: 1.7;
  }
}