@font-face {
    font-family: "Zen Dots";
    src: url('./font/ZenDots-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Gemunu Libre";
    src: url('./font/GemunuLibre-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Gemunu Libre";
    src: url('./font/GemunuLibre-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Gemunu Libre";
    src: url('./font/GemunuLibre-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Gemunu Libre";
    src: url('./font/GemunuLibre-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Gemunu Libre";
    src: url('./font/GemunuLibre-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Gemunu Libre";
    src: url('./font/GemunuLibre-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Gemunu Libre_Bold";
    src: url('./font/GemunuLibre-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Gemunu Libre";
    src: url('./font/GemunuLibre-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Noto Sans SC";
    src: url('./font/NotoSansSC-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url('./font/Inter-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url('./font/Inter-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url('./font/Inter-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Open Sans";
    src: url('./font/OpenSans-VariableFont_wdth,wght.ttf') format('truetype'),
        url('./font/OpenSans-VariableFont_wdth,wght.ttf') format('truetype-variations');
    font-weight: 300 800;
    font-style: normal;
    font-display: swap;
}

/* 样式变量 */
:root {
    --nav-text-color: #000;
    --font-w-400: 400;
    --font-family: "Inter", Arial, sans-serif;
    --title-font-family: "Gemunu Libre_Bold", "Gemunu Libre", var(--font-family);
    --aiqishi-font-family: var(--font-family);
    --aiqishi-body-font-family: var(--font-family);
    --aiqishi-title-font-family: var(--title-font-family);
    --aiqishi-display-font-family: "Zen Dots", var(--title-font-family);
    --aiqishi-lang-font-family: "Noto Sans SC", var(--font-family);
    --font-lang-family: var(--aiqishi-lang-font-family);
    --mb-30: 30px;
}

/* 根节点字体大小 */
html {
    font-size: 16px;
}

/* Search page renders on a light background, while the theme keeps global text white for dark custom pages. */
body .search-page-wrap.search-page-wrap {
    --aiqishi-search-title-color: #111;
    --aiqishi-search-text-color: #333;
    --aiqishi-search-muted-color: #666;
    --aiqishi-search-accent-color: #0af;
    --aiqishi-search-button-bg: #111;
    --aiqishi-search-button-text: #fff;
    --title-text-color: var(--aiqishi-search-title-color);
    --text-color: var(--aiqishi-search-text-color);
    color: var(--aiqishi-search-text-color);
}

body .search-page-wrap.search-page-wrap .search-tab-nav li.active,
body .search-page-wrap.search-page-wrap .search-data-result .blog-item-box .blog-info h3 {
    color: var(--aiqishi-search-title-color);
}

body .search-page-wrap.search-page-wrap .search-form-box .search-form-inner input {
    color: var(--aiqishi-search-title-color);
    background: #fff;
}

body .search-page-wrap.search-page-wrap .search-result-count span,
body .search-page-wrap.search-page-wrap .search-data-result .search-list .news .desc,
body .search-page-wrap.search-page-wrap .search-data-result .search-list .news .desc p,
body .search-page-wrap.search-page-wrap .search-data-result .blog-item-box .blog-info p,
body .search-page-wrap.search-page-wrap .search-data-result .blog-item-box .blog-info em,
body .search-page-wrap.search-page-wrap .search-data-result .download-box a {
    color: var(--aiqishi-search-muted-color);
}

body .search-page-wrap.search-page-wrap .search-form-box .search-form-inner .search-btn-box,
body .search-page-wrap.search-page-wrap .more-btn,
body .search-page-wrap.search-page-wrap .load-more-content .loadmore__btn {
    color: var(--aiqishi-search-button-text);
    background: var(--aiqishi-search-button-bg);
    border-color: var(--aiqishi-search-button-bg);
}

body .search-page-wrap.search-page-wrap .search-data-result .search-list li h5:hover,
body .search-page-wrap.search-page-wrap .search-data-result .blog-item-box .blog-info h3:hover,
body .search-page-wrap.search-page-wrap .search-data-result .download-box a:hover {
    color: var(--aiqishi-search-accent-color);
}

body .search-page-wrap.search-page-wrap .search-form-box .search-form-inner .search-btn-box:hover,
body .search-page-wrap.search-page-wrap .more-btn:hover,
body .search-page-wrap.search-page-wrap .load-more-content .loadmore__btn:hover {
    color: var(--aiqishi-search-button-text);
    background: var(--aiqishi-search-accent-color);
    border-color: var(--aiqishi-search-accent-color);
}

/* Privacy is a system light-background rich text page; keep it independent from the dark aiqishi theme text variables. */
body .privacy-content.container {
    --title-text-color: #3d3d3d;
    --text-color: #3d3d3d;
    --title-font-family: Arial, var(--font-family);
    --aiqishi-privacy-head-height: 100px;
    width: min(calc(100% - 48px), 1200px);
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
    padding-top: calc(50px + var(--aiqishi-privacy-head-height));
    padding-bottom: 80px;
    color: #3d3d3d !important;
    font-family: Arial, var(--font-family);
    font-size: 16px;
    line-height: 1.65;
}

body .privacy-content.container * {
    box-sizing: border-box;
}

body .privacy-content.container p,
body .privacy-content.container li,
body .privacy-content.container span,
body .privacy-content.container font {
    color: inherit !important;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

body .privacy-content.container p {
    margin: 0 0 16px;
}

body .privacy-content.container p:empty::before {
    content: "\00a0";
}

body .privacy-content.container h1,
body .privacy-content.container h2,
body .privacy-content.container h3,
body .privacy-content.container h4,
body .privacy-content.container h5,
body .privacy-content.container h6,
body .privacy-content.container h1 span,
body .privacy-content.container h2 span,
body .privacy-content.container h3 span,
body .privacy-content.container h4 span,
body .privacy-content.container h5 span,
body .privacy-content.container h6 span {
    color: #3d3d3d !important;
    font-family: inherit;
    line-height: 1.35;
}

body .privacy-content.container h1,
body .privacy-content.container h2,
body .privacy-content.container h3,
body .privacy-content.container h4,
body .privacy-content.container h5,
body .privacy-content.container h6 {
    margin: 28px 0 12px;
    font-weight: 700;
}

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

body .privacy-content.container h1 {
    font-size: 32px;
}

body .privacy-content.container h2 {
    font-size: 24px;
}

body .privacy-content.container h3 {
    font-size: 20px;
}

body .privacy-content.container [align="center"] {
    text-align: center;
}

body .privacy-content.container [style*="#DF2A3F"],
body .privacy-content.container [style*="#df2a3f"],
body .privacy-content.container [style*="rgb(223, 42, 63)"],
body .privacy-content.container [style*="rgb(223,42,63)"] {
    color: #DF2A3F !important;
}

body .privacy-content.container ul,
body .privacy-content.container ol {
    margin: 0 0 16px 24px;
    padding-left: 18px;
    color: #3d3d3d;
    list-style-position: outside;
}

body .privacy-content.container ul {
    list-style: disc outside !important;
}

body .privacy-content.container ol {
    list-style: decimal outside !important;
}

body .privacy-content.container li {
    display: list-item !important;
    margin: 0 0 8px;
    padding-left: 0;
}

body .privacy-content.container ul > li {
    list-style: disc outside !important;
}

body .privacy-content.container ol > li {
    list-style: decimal outside !important;
}

body .privacy-content.container li::marker {
    color: #3d3d3d;
}

body .privacy-content.container a {
    color: #0306D0;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media screen and (max-width: 768px) {
    body .privacy-content.container {
        width: min(calc(100% - 36px), 1200px);
        padding-top: var(--aiqishi-privacy-head-height);
        padding-bottom: 60px;
    }
}

/* 自定义询盘标题黑色 */
.custom-pop-inquiry .container .inqury_title_box .inqury_title_text {
    color: #000 !important;
}
