/* 带边框富文本外容器 */
:is(.rich-doc.mc-callout-box) {
    margin-bottom: 1.875rem;
    border: 1px solid color-mix(in srgb, var(--theme-module-title, #d66400) 45%, #fff);
    border-radius: 1.25rem;
    padding: 3.5rem;
    background-color: var(--theme-bg-a, #fff7f3);
}

/* 主標題 + 內文 */
:is(.rich-doc) .mc-rich-box {
    color: #333333;
    font-size: 1.25rem;
    line-height: 1.8;
    word-wrap: break-word;
}

:is(.rich-doc) .mc-rich-box>*:first-child {
    margin-top: 0;
}

:is(.rich-doc) .mc-rich-box>*:last-child {
    margin-bottom: 0;
}

/* 内文 */
:is(.rich-doc) .mc-rich-box p {
    margin: 1em 0 0;
}

:is(.rich-doc) .mc-rich-box p:first-child {
    margin-top: 0;
}

/* 标题 */
:is(.rich-doc) .mc-rich-box h1,
:is(.rich-doc) .mc-rich-box h2,
:is(.rich-doc) .mc-rich-box h3,
:is(.rich-doc) .mc-rich-box h4,
:is(.rich-doc) .mc-rich-box h5,
:is(.rich-doc) .mc-rich-box h6 {
    margin: 1.25em 0 0;
    font-weight: 700;
    line-height: 1.4;
    color: var(--theme-module-title, #333);
}

:is(.rich-doc) .mc-rich-box h1 sub,
:is(.rich-doc) .mc-rich-box h1 sup,
:is(.rich-doc) .mc-rich-box h2 sub,
:is(.rich-doc) .mc-rich-box h2 sup,
:is(.rich-doc) .mc-rich-box h3 sub,
:is(.rich-doc) .mc-rich-box h3 sup,
:is(.rich-doc) .mc-rich-box h4 sub,
:is(.rich-doc) .mc-rich-box h4 sup,
:is(.rich-doc) .mc-rich-box h5 sub,
:is(.rich-doc) .mc-rich-box h5 sup,
:is(.rich-doc) .mc-rich-box h6 sub,
:is(.rich-doc) .mc-rich-box h6 sup {
    color: var(--theme-module-title, #333);
}

:is(.rich-doc) .mc-rich-box h1:first-child,
:is(.rich-doc) .mc-rich-box h2:first-child,
:is(.rich-doc) .mc-rich-box h3:first-child,
:is(.rich-doc) .mc-rich-box h4:first-child,
:is(.rich-doc) .mc-rich-box h5:first-child,
:is(.rich-doc) .mc-rich-box h6:first-child {
    margin-top: 0;
}

/* 主标题+内文 */
:is(.rich-doc) .mc-rich-box h1,
:is(.rich-doc) .mc-rich-box h2 {
    font-size: 3rem;
    margin: 0 0 1.875rem;
}

/* 副标题 */
:is(.rich-doc) .mc-rich-box h3 {
    font-size: 1.75rem;
}

/* 副标题 */
:is(.rich-doc) .mc-rich-box h4 {
    font-size: 1.5rem;
}

/* 副标题 */
:is(.rich-doc) .mc-rich-box h5,
:is(.rich-doc) .mc-rich-box h6 {
    font-size: 1.25rem;
}

/* 跳转链接 */
:is(.rich-doc) .mc-rich-box a {
    color: var(--theme-link, #0000FF);
    text-decoration: underline;
    text-underline-offset: 0.15em;
    transition: opacity 0.2s ease;
}

:is(.rich-doc) .mc-rich-box a:hover {
    opacity: 0.8;
}

:is(.rich-doc) .mc-rich-box strong,
:is(.rich-doc) .mc-rich-box b {
    font-weight: 700;
}

:is(.rich-doc) .mc-rich-box em,
:is(.rich-doc) .mc-rich-box i {
    font-style: italic;
}

:is(.rich-doc) .mc-rich-box ul,
:is(.rich-doc) .mc-rich-box ol {
    margin: 1em 0 0;
    padding-left: 1.5em;
}
:is(.rich-doc) .mc-rich-box ol{
  padding-left: 0;
}

:is(.rich-doc) .mc-rich-box ul li {
    list-style: disc;
}

:is(.rich-doc) .mc-rich-box ol li {
    list-style: decimal;
}

:is(.rich-doc) .mc-rich-box li {
    margin-top: 0.5em;
}

:is(.rich-doc) .mc-rich-box li:first-child {
    margin-top: 0;
}

:is(.rich-doc) .mc-rich-box li>ul,
:is(.rich-doc) .mc-rich-box li>ol {
    margin-top: 0.5em;
}

/* 有序列表 樣式一 .mc-ordered-list*/
:is(.rich-doc) .mc-rich-box .mc-ordered-list li {
    margin: 1.25rem 0 0;
    border-radius: 20px;
    border: 1px solid var(--theme-module-title, #d66400);
    padding: 1.875rem;
    background-color: var(--theme-bg-a, #fff7f3);
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

:is(.rich-doc) .mc-rich-box .mc-ordered-list li .number {
    border-radius: 50%;
    font-size: 1.25rem;
    color: #fff;
    background-color: var(--theme-module-title, #d66400);
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 有序列表 樣式一 .mc-ordered-list*/

/* 有序列表 - 標題 + 內文 */
:is(.rich-doc) .mc-rich-box .mc-ordered-list li h4 {
    margin-bottom: 0.75rem;
}
/* 有序列表 - 標題 + 內文 */

/* 無需列表 空心原點 */
:is(.rich-doc) .mc-rich-box .circle-li li {
    list-style: circle;
}
/* 無需列表 空心原點 */


/* 表格公共样式 */
:is(.rich-doc) .mc-rich-box table {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
}

:is(.rich-doc) .mc-rich-box table td {
    color: var(--theme-content, #000);
    border: none;
}

:is(.rich-doc) .mc-rich-box table td ul,
:is(.rich-doc) .mc-rich-box table td ol {
    margin-top: 0;
}

/* 表格公共样式 */

/* 表格 只有外边框 斑马纹*/
:is(.rich-doc) .mc-rich-box .border-out {
    border-radius: 12px;
    border: 1px solid color-mix(in srgb, var(--theme-btn-primary, #d66400) 35%, #fff);
    overflow: hidden;
    background-color: #ffffff;
}

:is(.rich-doc) .mc-rich-box .even-bg tr:nth-of-type(even) {
    background-color: var(--theme-bg-a, #fff7f3);
}
:is(.rich-doc) .mc-rich-box .border-out th {
    border: none;
    background-color: var(--theme-bg-b, #ffe7d1);
}
:is(.rich-doc) .mc-rich-box .border-out th,
:is(.rich-doc) .mc-rich-box .border-out td {
    padding: 2.25rem;
}

:is(.rich-doc) .mc-rich-box .head {
    padding: 2.25rem;
    font-size: 1.5rem;
    line-height: 1.2;
    color: var(--theme-title, #000);
    background-color: var(--theme-bg-b, #ffe7d1);
    border-bottom: 1px solid color-mix(in srgb, var(--theme-btn-primary, #d66400) 35%, #fff);
}

/* 表格 只有外边框 斑马纹*/

/* 無邊框表格 只有行底部边线 */
:is(.rich-doc) .mc-rich-box .border-tr-bottom tr {
    border-bottom: 1px solid var(--theme-bg-b, #ffe7d1);;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

:is(.rich-doc) .mc-rich-box .border-tr-bottom td {
    padding: 2rem 0;
}
/* 無邊框表格 只有行底部边线 */

/* 表格2 竖式标题 */
:is(.rich-doc) .mc-rich-box .column-head {
    margin-top: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--theme-module-title, #d66400);
    overflow: hidden;
}

:is(.rich-doc) .mc-rich-box .column-head table {
    overflow-x: auto;
    display: block;
}

:is(.rich-doc) .mc-rich-box .column-head table th {
    border: none;
    border-bottom: 1px solid var(--theme-bg-b, #ffe7d1);
    padding: 2.125rem 0;
    background-color: var(--theme-bg-b, #ffe7d1);
    font-weight: normal;
    width: 20.75rem;
    text-align: center;
}

:is(.rich-doc) .mc-rich-box .column-head table th *, 
:is(.rich-doc) .mc-rich-box .column-head table td * {
    white-space: nowrap;
}

:is(.rich-doc) .mc-rich-box .column-head table tbody tr th:first-child {
    width: 15.75rem;
    padding: 1.25rem 2.25rem;
    color: #fff;
    background: var(--theme-module-title, #0071b8);
    white-space: normal;
    font-size: 1.25rem;
}


:is(.rich-doc) .mc-rich-box .column-head table tr {
    padding: 0;
}

:is(.rich-doc) .mc-rich-box .column-head table td {
    border: none;
    border-bottom: 1px solid var(--theme-bg-b, #ffe7d1);
    padding: 2.125rem 0;
    text-align: center;
}


@media screen and (max-width: 39.9375rem) {
    :is(.rich-doc) .mc-rich-box .column-head table tbody tr th:first-child {
        width: auto;
        min-width: 8.5rem;
        padding: 1rem;
        white-space: nowrap;
    }

    :is(.rich-doc) .mc-rich-box .column-head table {
        font-size: 1rem;
    }
}

/* 表格2 竖式标题 */

/* 表格3 窄padding 左对齐*/
:is(.rich-doc) .mc-rich-box .small-padding-td {
    border: 1px solid var(--theme-module-title, #d66400);
}

:is(.rich-doc) .mc-rich-box .small-padding-td table tr {
    gap: 0;
}

:is(.rich-doc) .mc-rich-box .small-padding-td table td:first-child {
    padding-left: 2.5rem;
}

:is(.rich-doc) .mc-rich-box .small-padding-td table td:last-child {
    padding-right: 2.5rem;
}

:is(.rich-doc) .mc-rich-box .small-padding-td table td {
    border: none;
    padding: 1.25rem 0;
    vertical-align: middle;
    text-align: left;
    line-height: 1.2;
}

/* 表格3 窄padding 左对齐*/

/* 表格4 竖式标题 不要内底变现 斑马纹 */
:is(.rich-doc) .mc-rich-box .align-left-td table tr {
    border-bottom: 0;
}
:is(.rich-doc) .mc-rich-box .align-left-td table th {
    padding: 1.25rem 2.25rem;
}
:is(.rich-doc) .mc-rich-box .align-left-td table td {
    text-align: left;
    padding: 1.25rem 2.5rem;
    border: none;
}
:is(.rich-doc) .mc-rich-box .align-left-td table tr:last-child td {
    padding-bottom: 2rem;
}
/* 表格4 竖式标题 不要内底变现 斑马纹 */

/* 表格5 横式标题 斑马纹 */
:is(.rich-doc) .mc-rich-box .row-head {
    margin-top: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--theme-module-title, #d66400);
    overflow: hidden;
}
:is(.rich-doc) .mc-rich-box .row-head thead {
    background-color: var(--theme-bg-b, #ffe7d1);
}
:is(.rich-doc) .mc-rich-box .row-head thead th {
    border: none;
}
/* 表格5 横式标题 斑马纹 */

/* 表格6 占行表格 */
:is(.rich-doc) .mc-rich-box .cross-table {
    margin-top: 2.5rem;
    border-radius: 1rem;
    border: 1px solid var(--theme-module-title, #0071b8);
    overflow: hidden;
}
:is(.rich-doc) .mc-rich-box .cross-table table {
    min-width: 56rem;
    table-layout: fixed;
    color: var(--theme-content, #333);
    border: none;
    width: 100%;
    border-collapse: collapse;
    font-size: 1.125rem;
    line-height: inherit;
}
:is(.rich-doc) .mc-rich-box .cross-table table tbody tr th {
    background: var(--theme-module-title, #0071b8);
    color: #fff;
    font-weight: 500;
}
:is(.rich-doc) .mc-rich-box .cross-table table tbody tr td {
    height: 4.25rem;
    padding: 0.875rem 1rem;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    text-align: center;
    vertical-align: middle;
    background: #fff;
}
/* 表格6 占行表格 */


/* 下載連結 */
:is(.rich-doc) .mc-download-bar {
    margin-top: 1.5rem;
}
:is(.rich-doc) .mc-download-bar .download-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.75rem 1.9375rem;
    border-radius: 0.625rem;
    background-color: var(--theme-bg-a, #ecf5ff);
    border: 1px solid var(--theme-tag, #00768d);
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
    position: relative;
}
:is(.rich-doc) .mc-download-bar .download-bar .label {
    color: var(--theme-content, #333);
    font-size: 1.25rem;
    font-weight: 400;
    width: 90%;
}
:is(.rich-doc) .mc-download-bar .download-bar .icon {
    background: var(--theme-module-title, #0071b8);
    position: relative;
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--theme-tag, #00768d);
    color: #fff;
    overflow: hidden;
}
:is(.rich-doc) .mc-download-bar .download-bar .icon .icon-xiazai {
    position: relative;
    display: block;
    width: 1em;
    height: 1em;
    font-size: 1rem;
    line-height: 1;
    color: #fff;
}


:is(.rich-doc) .mc-download-bar .download-bar::before {
    display: block;
    content: '';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: var(--theme-module-title, #0071b8);
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background-color: var(--theme-tag, #00768d);
} 

:is(.rich-doc) .mc-download-bar .download-bar::after {
    content: "";
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1em;
    height: 1em;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M11 3h2v10.17l3.59-3.58L18 11l-6 6-6-6 1.41-1.41L11 13.17V3ZM5 19h14v2H5v-2Z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M11 3h2v10.17l3.59-3.58L18 11l-6 6-6-6 1.41-1.41L11 13.17V3ZM5 19h14v2H5v-2Z'/%3E%3C/svg%3E") center / contain no-repeat;
    /* transition: top 0.5s ease, transform 0.5s ease; */
    color: #fff;
}
/* :is(.rich-doc) .mc-download-bar .download-bar::before {
    top: 50%;
    transform: translate(-50%, -50%);
} */
/* :is(.rich-doc) .mc-download-bar .download-bar::after {
    top: -0.5rem;
    transform: translate(-50%, -100%);
} */

:is(.rich-doc) .mc-download-bar .download-bar .icon .icon-xiazai::before, 
:is(.rich-doc) .mc-download-bar .download-bar .icon .icon-xiazai::after {
    content: "";
    position: absolute;
    left: 50%;
    width: 1em;
    height: 1em;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M11 3h2v10.17l3.59-3.58L18 11l-6 6-6-6 1.41-1.41L11 13.17V3ZM5 19h14v2H5v-2Z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M11 3h2v10.17l3.59-3.58L18 11l-6 6-6-6 1.41-1.41L11 13.17V3ZM5 19h14v2H5v-2Z'/%3E%3C/svg%3E") center / contain no-repeat;
    transition: top 0.5s ease, transform 0.5s ease;
}
:is(.rich-doc) .mc-download-bar .download-bar .icon .icon-xiazai::before {
    top: 50%;
    transform: translate(-50%, -50%);
}
:is(.rich-doc) .mc-download-bar .download-bar .icon .icon-xiazai::after {
    top: -0.5rem;
    transform: translate(-50%, -100%);
}
:is(.rich-doc) .mc-download-bar .download-bar:hover, 
:is(.rich-doc) .mc-download-bar .download-bar:focus-visible {
    opacity: 1;
    box-shadow: 0 0.65rem 1.5rem rgba(0, 113, 184, 0.14);
    transform: translateY(-0.2rem);
    transition: all 0.2s ease;
}
@media (hover: hover) {
    :is(.rich-doc) .mc-download-bar .download-bar:hover .icon:not(.is-link) .icon-xiazai::before {
        top: calc(100% + 0.5rem);
        transform: translate(-50%, 0);
    }
}
@media (hover: hover) {
    :is(.rich-doc) .mc-download-bar .download-bar:hover .icon:not(.is-link) .icon-xiazai::after {
        top: 50%;
        transform: translate(-50%, -50%);
    }
}
/* 下載連結 */

/* 跳轉連結 */
:is(.rich-doc) .mc-link-bar {
    margin-top: 1.5rem;
}
:is(.rich-doc) .mc-link-bar .link-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 4.75rem;
    padding: 1rem 1.5rem 1rem 2rem;
    border: 1px solid var(--theme-module-title, #0071b8);
    border-radius: 0.625rem;
    background: var(--theme-bg-a, #ecf5ff);
    color: var(--theme-content, #333);
    font-size: 1.25rem;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
}
:is(.rich-doc) .mc-link-bar .link-bar .label {
    color: var(--theme-content, #333);
    font-size: 1.25rem;
    font-weight: 400;
}
:is(.rich-doc) .mc-link-bar .link-bar::before {
    display: block;
    content: '';
    background: var(--theme-module-title, #0071b8);
    position: absolute;
    right: 1.5rem;
    top: 1rem;
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background-color: var(--theme-tag, #00768d);
}

:is(.rich-doc) .mc-link-bar .link-bar::after {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    color: #333;
    font-size: 1.25rem;
    line-height: 1.4;
    width: 1.25rem;
    height: 1.25rem;
    background: #fff;
    content: '';
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M10.59 13.41a2 2 0 0 0 2.82 0l4-4a2 2 0 0 0-2.82-2.82l-1.15 1.15m-.03 2.85a2 2 0 0 0-2.82 0l-4 4a2 2 0 0 0 2.82 2.82l1.15-1.15'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M10.59 13.41a2 2 0 0 0 2.82 0l4-4a2 2 0 0 0-2.82-2.82l-1.15 1.15m-.03 2.85a2 2 0 0 0-2.82 0l-4 4a2 2 0 0 0 2.82 2.82l1.15-1.15'/%3E%3C/svg%3E") center / contain no-repeat;
}
:is(.rich-doc) .mc-link-bar .link-bar .icon {
    background: var(--theme-module-title, #0071b8);
    position: relative;
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--theme-tag, #00768d);
    color: #fff;
    overflow: hidden;
}
:is(.rich-doc) .mc-link-bar .link-bar .icon::before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #333;
    font-size: 1.25rem;
    line-height: 1.4;
    width: 1.25rem;
    height: 1.25rem;
    background: #fff;
    content: '';
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M10.59 13.41a2 2 0 0 0 2.82 0l4-4a2 2 0 0 0-2.82-2.82l-1.15 1.15m-.03 2.85a2 2 0 0 0-2.82 0l-4 4a2 2 0 0 0 2.82 2.82l1.15-1.15'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M10.59 13.41a2 2 0 0 0 2.82 0l4-4a2 2 0 0 0-2.82-2.82l-1.15 1.15m-.03 2.85a2 2 0 0 0-2.82 0l-4 4a2 2 0 0 0 2.82 2.82l1.15-1.15'/%3E%3C/svg%3E") center / contain no-repeat;
}
:is(.rich-doc) .mc-link-bar .link-bar:hover, 
:is(.rich-doc) .mc-link-bar .link-bar:focus-visible {
    opacity: 1;
    box-shadow: 0 0.65rem 1.5rem rgba(0, 113, 184, 0.14);
    transform: translateY(-0.2rem);
    transition: all 0.2s ease;
}
@media (hover: hover) {
    :is(.rich-doc) .mc-link-bar .link-bar:hover .icon:not(.is-link) .icon::before {
        top: calc(100% + 0.5rem);
        transform: translate(-50%, 0);
    }
}
/* 跳轉連結 */

:is(.rich-doc) .mc-rich-box blockquote {
    margin: 1em 0 0;
    padding-left: 1em;
    border-left: 3px solid var(--theme-tag, #00768d);
    color: #333333;
}

:is(.rich-doc) .mc-rich-box hr {
    margin: 1.5em 0 0;
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
}

:is(.rich-doc) .mc-rich-box img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 1em auto;
}

.page-inner[data-theme="gal"] :is(.rich-doc) .mc-rich-box img {
    width: 70%;
    margin-top: 4rem;
}

:is(.rich-doc) .mc-rich-box figure {
    margin: 1em 0 0;
}

:is(.rich-doc) .mc-rich-box figure img {
    margin-top: 0;
}

:is(.rich-doc) .mc-rich-box figure figcaption {
    margin-top: 0.5em;
    font-size: 0.9em;
    color: rgba(51, 51, 51, 0.75);
}

:is(.rich-doc) .mc-rich-box .table-container {
    margin-top: 1em;
    overflow-x: auto;
}

:is(.rich-doc) .mc-rich-box table {
    width: 100%;
    min-width: 20rem;
    border-collapse: collapse;
    font-size: inherit;
    line-height: inherit;
}

:is(.rich-doc) .mc-rich-box th,
:is(.rich-doc) .mc-rich-box td {
    padding: 0.75rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.12);
    text-align: left;
    vertical-align: top;
}

:is(.rich-doc) .mc-rich-box th {
    font-weight: 700;
    background-color: rgba(0, 0, 0, 0.04);
}

@media (max-width: 39.9375rem) {
    :is(.rich-doc) .mc-rich-box {
        line-height: 1.75;
    }

    

    .page-inner[data-theme="gal"] :is(.rich-doc) .mc-rich-box img {
        width: 100%;
        margin-top: 2rem;
    }
}

:is(.rich-doc) .mc-rich-box .career-job-posting__application {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    width: min(100%, 23.25rem);
    min-height: 4.5rem;
    margin-top: 2.75rem;
    padding: 0.75rem 2rem;
    border-radius: 999px;
    background: var(--theme-btn-primary, #414390);
    color: #fff;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
}

.career-job-posting__application:hover,
.career-job-posting__application:focus-visible {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(65, 67, 144, 0.2);
  }

:is(.rich-doc) .mc-rich-box .career-job-posting__application-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 2.25rem;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: #fff;
    color: var(--theme-btn-primary, #414390);
    overflow: hidden;
}

:is(.rich-doc) .mc-rich-box .career-job-posting__application-icon .iconfont {
    position: relative;
    display: block;
    width: 1em;
    height: 1em;
    font-size: 1.25rem;
    line-height: 1;
}

:is(.rich-doc) .mc-rich-box .career-job-posting__application-icon .iconfont::before,
:is(.rich-doc) .mc-rich-box .career-job-posting__application-icon .iconfont::after {
    content: '';
    position: absolute;
    left: 50%;
    width: 1em;
    height: 1em;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M11 3h2v10.17l3.59-3.58L18 11l-6 6-6-6 1.41-1.41L11 13.17V3ZM5 19h14v2H5v-2Z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M11 3h2v10.17l3.59-3.58L18 11l-6 6-6-6 1.41-1.41L11 13.17V3ZM5 19h14v2H5v-2Z'/%3E%3C/svg%3E") center / contain no-repeat;
    transition: top 0.5s ease, transform 0.5s ease;
}

:is(.rich-doc) .mc-rich-box .career-job-posting__application-icon .iconfont::before {
    top: 50%;
    transform: translate(-50%, -50%);
}

:is(.rich-doc) .mc-rich-box .career-job-posting__application-icon .iconfont::after {
    top: -0.5rem;
    transform: translate(-50%, -100%);
}

  @media (hover: hover) {
    :is(.rich-doc) .mc-rich-box .career-job-posting__application:hover .career-job-posting__application-icon .icon-xiazai::before {
      top: calc(100% + 0.5rem);
      transform: translate(-50%, 0);
    }
    :is(.rich-doc) .mc-rich-box .career-job-posting__application:hover .career-job-posting__application-icon .icon-xiazai::after {
      top: 50%;
      transform: translate(-50%, -50%);
    }
  }
  :is(.rich-doc) .mc-rich-box .career-job-posting__application:focus-visible .career-job-posting__application-icon .icon-xiazai::before {
    top: calc(100% + 0.5rem);
    transform: translate(-50%, 0);
  }
  :is(.rich-doc) .mc-rich-box .career-job-posting__application:focus-visible .career-job-posting__application-icon .icon-xiazai::after {
    top: 50%;
    transform: translate(-50%, -50%);
  }


  /* 深色th的横向表格 */
  :is(.rich-doc) .mc-rich-box .deep-th-bg__table {
    margin-top: 2.5rem;
    border: 1px solid var(--theme-module-title, #ae5224);
    border-radius: 0.75rem;
    overflow: hidden;
  }
  :is(.rich-doc) .mc-rich-box .deep-th-bg__table table {
    table-layout: fixed;
    color: #222;
    font-size: 1.125rem;
    line-height: 1.65;
    border: none;
    width: 100%;
    border-collapse: collapse;
  }
  :is(.rich-doc) .mc-rich-box .deep-th-bg__table table tbody tr:nth-child(2n + 1) {
    background-color: var(--theme-bg-b);
  }
  :is(.rich-doc) .mc-rich-box .deep-th-bg__table table tbody tr th,
  :is(.rich-doc) .mc-rich-box .deep-th-bg__table table tbody tr td {
    border-bottom: 1px solid var(--theme-bg-b);
    padding: 1.5rem 2rem;
    vertical-align: middle;
  }
  :is(.rich-doc) .mc-rich-box .deep-th-bg__table table tbody tr th:first-child {
    width: 11.25rem;
    padding: 1.5rem 2rem;
    color: #fff;
    background: var(--theme-module-title, #ae5224);
    white-space: normal;
    font-size: 1.25rem;
  }
  :is(.rich-doc) .mc-rich-box .deep-th-bg__table table tbody tr td:first-child {
    width: auto;
    padding: 1.5rem 2rem;
    white-space: normal;
  }
  :is(.rich-doc) .mc-rich-box .deep-th-bg__table table tbody tr td {
    background: #fff;
  }
  :is(.rich-doc) .mc-rich-box .deep-th-bg__table table tbody tr td p {
    margin: 0;
  }
  :is(.rich-doc) .mc-rich-box .deep-th-bg__table table tbody tr td p + p {
    margin-top: 1rem;
  }
  :is(.rich-doc) .mc-rich-box .deep-th-bg__table table tbody tr td ul {
    margin: 0;
    padding-left: 1.5rem;
  }
  :is(.rich-doc) .mc-rich-box .deep-th-bg__table table tbody tr td ul li {
    list-style: disc;
  }
  :is(.rich-doc) .mc-rich-box .deep-th-bg__table table tbody tr td ul li::marker {
    font-size: 1.5rem;
  }
  :is(.rich-doc) .mc-rich-box .deep-th-bg__table table tbody tr td li + li {
    margin-top: 0;
  }
  :is(.rich-doc) .mc-rich-box .deep-th-bg__table table tbody tr td a {
    color: #0000ff;
  }
  :is(.rich-doc) .mc-rich-box .deep-th-bg__table table tbody tr:nth-child(even) td {
    background: var(--theme-bg-a, #ffede5);
  }
  :is(.rich-doc) .mc-rich-box .deep-th-bg__table table tbody tr:last-child th,
  :is(.rich-doc) .mc-rich-box .deep-th-bg__table table tbody tr:last-child td {
    border-bottom: 0;
  }
  :is(.rich-doc) .mc-rich-box .deep-th-bg__table.table-2.cross table tbody tr:nth-child(2n + 1) td {
    background-color: #fff;
  }

  @media screen and (max-width: 39.9375rem) {
    :is(.rich-doc) .mc-rich-box .deep-th-bg__table {
        overflow-x: auto;
    }
    :is(.rich-doc) .mc-rich-box .deep-th-bg__table table {
        min-width: 46rem;
        font-size: 1rem;
    }
    :is(.rich-doc) .mc-rich-box .deep-th-bg__table table tbody tr th:first-child {
        width: 9rem;
        padding: 1rem 1.25rem;
    }
    :is(.rich-doc) .mc-rich-box .deep-th-bg__table table tbody tr td {
        padding: 1rem 1.25rem;
    }
}
  /* 深色th的横向表格 */