/* ==========================================================================
   字体
   ========================================================================== */

body,
h5,
h6,
.heading-font,
.off-canvas-center .nav-sidebar.nav-vertical > li > a,
.nav > li > a {

}

h1,
h2,
h3,
h4,
.fs {

}

h1,
h2,
h3,
h4,
h5,
h6,
.heading-font,
.banner h1,
.banner h2 {
    font-style: normal;
}


/* ==========================================================================
   修复字体加粗渲染
   ========================================================================== */

.section-title-normal b {
    font-weight: normal !important;
}

.section-title-normal {
    transform: none !important;
}

.section-title-main {
    font-weight: 700 !important;
    font-synthesis: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

:not(i) {
    font-synthesis: none;
}


/* ==========================================================================
   字体颜色
   ========================================================================== */

.link-color a {
    color: var(--wp--preset--color--black);
}

.link-color a:hover {
    color: var(--fs-color-primary);
}

.list-black *::before {
    background: #000 !important;
}

.text-000 a,
.text-black * {
    color: #000 !important;
}

.text-black a:hover,
.text-000 a:hover {
    color: var(--fs-color-primary);
}


/* ==========================================================================
   Banner 排版
   ========================================================================== */

.banner h1 {
    font-size: 2em;
       line-height: 1.2;
}

.banner h2 {
    font-size: 2em;
    line-height: 1.3;
}
@media (max-width: 549px) {
    .banner h1 {
        font-size: 1.3em;
          line-height: 1.3;
    }
    
    .banner h2 {
        font-size: .8em;
        line-height: 1.3;
    }
}

/* ==========================================================================
   取消默认大写
   ========================================================================== */

#submit,
h6 {
    text-transform: capitalize;
}



/* ==========================================================================
   取消字间距
   ========================================================================== */

.uppercase,
h6,
span.widget-title,
th {
    letter-spacing: 0;
}


/* ==========================================================================
   标题行数显示
   ========================================================================== */

.text-row-2 {
    display: -webkit-box;
    min-height: 3em;
    overflow: hidden;
    line-height: 1.5em;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}


/* ==========================================================================
   列表样式
   ========================================================================== */

.lis-1 ul li.bullet-checkmark::before,
.lis-1 ul li.bullet-star::before {
    width: 24px;
    height: 24px;
    border-radius: 12px;
    background: var(--fs-color-primary);
    color: #fff;
    font-size: 12px;
    line-height: 24px;
    text-align: center;
}

.lis-1 ul li.bullet-checkmark,
.lis-1 ul li.bullet-star {
    padding: 7px 0 7px 34px;
}


/* ==========================================================================
   文字展开与收起
   ========================================================================== */

[class*="text-row-"] {
    position: relative;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

[class*="text-row-"].collapsed {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
}

.text-row-1.collapsed {
    -webkit-line-clamp: 1;
}

.text-row-2.collapsed {
    -webkit-line-clamp: 2;
}

.text-row-3.collapsed {
    -webkit-line-clamp: 3;
}

.text-row-4.collapsed {
    -webkit-line-clamp: 4;
}

.text-row-5.collapsed {
    -webkit-line-clamp: 5;
}

.text-row-6.collapsed {
    -webkit-line-clamp: 6;
}

.text-row-7.collapsed {
    -webkit-line-clamp: 7;
}

.text-row-8.collapsed {
    -webkit-line-clamp: 8;
}

.text-row-9.collapsed {
    -webkit-line-clamp: 9;
}

.text-row-10.collapsed {
    -webkit-line-clamp: 10;
}