body {
    font-family: "Roboto", system-ui, -apple-system, sans-serif;
}

ul {
    display: block;
    list-style-type: disc !important;
    margin-block-start: 1em !important;
    margin-block-end: 1em !important;
    padding-inline-start: 24px !important;
    unicode-bidi: isolate !important;
}

ol {
    display: block;
    list-style-type: decimal !important;
    margin-block-start: 1em !important;
    margin-block-end: 1em !important;
    padding-inline-start: 24px !important;
    unicode-bidi: isolate !important;
}

ol li a {
    display: inline !important;
    vertical-align: middle;
    /* text-decoration: underline !important; */
}

.stretched-link::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    pointer-events: auto;
    background-color: rgba(0, 0, 0, 0);
}


.body-text h1,
.body-text h2,
.body-text h3,
.body-text h4,
.body-text h5,
.body-text h6 {
    margin-top: 1.8em;
    margin-bottom: 0.5em;
    font-weight: 700;
    line-height: 1.1;
    font-family: "DegularDisplay";
    /* 无 color，继承父级 */
}

.body-text h1:first-child,
.body-text h2:first-child,
.body-text h3:first-child,
.body-text h4:first-child,
.body-text h5:first-child,
.body-text h6:first-child {
    margin-top: 0;
}

.body-text h1 {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.02em;
    padding-bottom: 0.3em;
    /* 去掉颜色，仅保留边框样式（宽度和样式，颜色将由当前文字色决定） */
}

.body-text h2 {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.01em;
    padding-bottom: 0.25em;
}

.body-text h3 {
    font-size: 20px;
    font-weight: 650;
}

.body-text h4 {
    font-size: 18px;
    font-weight: 650;
}

.body-text h5 {
    font-size: 17px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.body-text h6 {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ========================================
   3. 段落与块级元素（无背景/边框色）
   ======================================== */
.body-text p {
    line-height: 1.5;
    margin-top: 0;
    margin-bottom: 1.25em;
}

.body-text blockquote {
    margin: 1.5em 0;
    padding: 0.8em 1.2em;
    border-left: 4px solid;
    border-color: #fe8100;
    font-style: italic;
    /* 无背景色 */
}

.body-text blockquote p {
    margin-bottom: 0;
}

.body-text hr {
    margin: 2.5em 0;
    border: none;
    border-top: 2px solid;
}

.body-text address {
    font-style: normal;
    /* 无背景色，仅保留内边距 */
    padding: 0.5em 1em;
}

/* ========================================
   4. 列表 (无颜色)
   ======================================== */
.body-text ul,
.body-text ol {
    margin-top: 0;
    margin-bottom: 1.25em;
    padding-left: 1.8em;
}

.body-text li {
    margin-bottom: 0.3em;
    line-height: 1.5;
}

.body-text li>ul,
.body-text li>ol {
    margin-top: 0.3em;
    margin-bottom: 0.3em;
}

.body-text ul {
    list-style-type: disc;
}

.body-text ul ul {
    list-style-type: circle;
}

.body-text ul ul ul {
    list-style-type: square;
}

.body-text ol {
    list-style-type: decimal;
}

.body-text ol ol {
    list-style-type: lower-alpha;
}

.body-text ol ol ol {
    list-style-type: lower-roman;
}

/* ========================================
   5. 表格（无颜色）
   ======================================== */
.body-text table {
    width: 100%;
    margin-bottom: 1.5em;
    border-collapse: collapse;
    font-size: 0.95em;
}

.body-text th,
.body-text td {
    padding: 0.6em 0.8em;
    border: 1px solid;
    /* 边框颜色继承文字 */
    text-align: left;
    vertical-align: top;
}

.body-text th {
    font-weight: 700;
    /* 无背景色 */
}

.body-text table>caption {
    caption-side: bottom;
    margin-top: 0.4em;
    font-size: 0.9em;
}

/* ========================================
   6. 内联文本（仅修饰，无颜色）
   ======================================== */
.body-text strong,
.body-text b {
    font-weight: 700;
}

.body-text em,
.body-text i {
    font-style: italic;
}

.body-text u {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.body-text s,
.body-text del {
    text-decoration: line-through;
}

.body-text mark {
    /* 无背景色，仅保留内边距，如果需要高亮可自行添加 */
    padding: 0.1em 0.3em;
}

.body-text small {
    font-size: 0.85em;
}

.body-text sup,
.body-text sub {
    font-size: 0.75em;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

.body-text sup {
    top: -0.4em;
}

.body-text sub {
    bottom: -0.25em;
}

/* ========================================
   7. 链接（仅下划线，无颜色）
   ======================================== */
.body-text a {
    text-underline-offset: 2px;
    color: #fe8100;
}

.body-text a:hover {
    text-decoration: underline;
}

/* ========================================
   8. 代码与预格式化（无背景/颜色）
   ======================================== */
.body-text code {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    font-size: 0.9em;
    padding: 0.2em 0.5em;
    /* 无背景色，无文字色 */
}

.body-text pre {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    font-size: 0.9em;
    padding: 1.2em 1.5em;
    overflow-x: auto;
    margin: 1.5em 0;
    line-height: 1.6;
    /* 无背景色，无文字色 */
}

.body-text pre code {
    padding: 0;
    font-size: 1em;
}

/* ========================================
   9. 图片与媒体（无颜色）
   ======================================== */
.body-text img,
.body-text video,
.body-text iframe {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1.5em 0;
}

.body-text figure {
    margin: 1.5em 0;
    text-align: center;
}

.body-text figure img {
    margin: 0 auto;
}

.body-text figcaption {
    margin-top: 0.4em;
    font-size: 0.9em;
    text-align: center;
}

/* ========================================
   10. 自动多级序号（同样不带颜色）
   ======================================== */
.body-text {
    counter-reset: h1-counter;
}

.body-text h1 {
    counter-increment: h1-counter;
    counter-reset: h2-counter;
}

.body-text h2 {
    counter-increment: h2-counter;
    counter-reset: h3-counter;
}

.body-text h3 {
    counter-increment: h3-counter;
    counter-reset: h4-counter;
}

.body-text h4 {
    counter-increment: h4-counter;
    counter-reset: h5-counter;
}

.body-text h5 {
    counter-increment: h5-counter;
    counter-reset: h6-counter;
}

.body-text h6 {
    counter-increment: h6-counter;
}

/* ========================================
   11. 响应式（移动端仅调整大小）
   ======================================== */
@media (max-width: 640px) {
    .body-text {
        font-size: 15px;
    }

    .body-text h1 {
        font-size: 1.8rem;
    }

    .body-text h2 {
        font-size: 1.5rem;
    }

    .body-text h3 {
        font-size: 1.25rem;
    }

    .body-text h4 {
        font-size: 1.1rem;
    }

    .body-text h5 {
        font-size: 0.95rem;
    }

    .body-text h6 {
        font-size: 0.85rem;
    }

    .body-text ul,
    .body-text ol {
        padding-left: 1.2em;
    }

    .body-text table {
        font-size: 0.85em;
    }

    .body-text th,
    .body-text td {
        padding: 0.4em 0.5em;
    }
}

.hidden-nav {
    opacity: 0 !important;
}