/* #region 图片引入 */
:root {
    --top: url(../images/top.png);
    --background: url(../images/background.png);
}

.icon {
    display: block;
    background-size: 100%;
    background-repeat: no-repeat;
}

.icon.icon-knowledge {
    background-image: url(../images/knowledge.png);
}

.icon.icon-message {
    background-image: url(../images/message.png);
}

.icon.icon-vip {
    background-image: url(..../images/vip.png);
}

.icon.icon-fold {
    background-image: url(..../images/fold.png);
}

/* #endregion */

/* #region 基础 */
@media screen and (min-width: 320px) {
    html {
        font-size: 14px;
    }
}

@media screen and (min-width: 360px) {
    html {
        font-size: 16px;
    }
}

@media screen and (min-width: 400px) {
    html {
        font-size: 15px;
    }
}

@media screen and (min-width: 440px) {
    html {
        font-size: 20px;
    }
}

@media screen and (min-width: 480px) {
    html {
        font-size: 22px;
    }
}

@media screen and (min-width: 640px) {
    html {
        font-size: 28px;
    }
}

body.overflow {
    overflow: hidden;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

.clearfix {
    zoom: 1;
}

.clearfix::before,
.clearfix::after {
    display: block;
    clear: both;
    content: "";
    visibility: hidden;
    height: 0;
}

.img {
    overflow: hidden;
    font-size: 0;
    background: #f3f3f3;
}

.img a {
    display: block;
    width: 100%;
    height: 100%;
}

.img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

a {
    transition: all .3s;
}

::selection {
    color: #fff;
    background: #8bbf43;
}

/* #endregion */

/* #region 头部 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
}

.header .box {
    box-sizing: border-box;
    position: relative;
    z-index: 1011;
    display: flex;
    align-items: center;
    gap: .5625rem;
    width: 100%;
    height: 3.875rem;
    padding: 0 1rem;
    background: #8bbf43;
}

.header .logo {
    width: 5.125rem;
    height: 2.375rem;
}

.header .logo a {
    display: block;
    width: 100%;
    height: 100%;
}

.header .logo img {
    width: 100%;
    height: 100%;
}

.header .nav {
    display: flex;
}

.header .nav a {
    display: flex;
    align-items: center;
    gap: .375rem;
    height: 2.375rem;
    padding: 0 .9375rem;
    color: #fff;
    font-size: .875rem;
    line-height: 1rem;
}

.header .nav .iconfont {
    transition: all .3s;
}

.header .drop-btn.active .iconfont {
    transform: rotate(-180deg);
}

.header .drop-down {
    box-sizing: border-box;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1010;
    width: 100%;
    max-height: 100%;
    margin-top: 3.875rem;
    background: #fff;
    transform: translateY(-100%);
    transition: ease-in .3s;
}

.header .drop-down.active {
    transform: translateY(0);
    transition: ease-in-out .3s;
}

.header .drop-down .layout {
    display: flex;
    height: calc(100vh - 3.875rem);
}

.header .drop-down .left {
    overflow-y: auto;
    width: 6.75rem;
    background: #f6f6f6;
}

.header .drop-down .left li {
    padding: 1.375rem .75rem;
    color: #8c8c8c;
    font-size: .875rem;
    line-height: 1.5625rem;
    text-align: center;
}

.header .drop-down .left .active {
    position: relative;
    color: #333;
    font-weight: 700;
    background: #fff;
}

.header .drop-down .left .active::before {
    position: absolute;
    top: 0;
    left: 0;
    width: .3125rem;
    height: 100%;
    content: "";
    background: #8bbf43;
    border-radius: 0 .625rem .625rem 0;
}

.header .drop-down .right {
    overflow-y: auto;
    flex: 1;
}

.header .drop-down .right .hide {
    display: none;
}

.header .drop-down .right .active {
    display: block;
}

.header .drop-down .right a {
    display: block;
    padding: 1.625rem 1.5rem 1.25rem 1.5rem;
    border-bottom: .0625rem solid #f9f9f9;
}

.header .drop-down .right a div {
    color: #333;
    font-size: .875rem;
    font-weight: 700;
    line-height: 1.25rem;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.header .drop-down .right a span {
    display: block;
    margin-top: .5rem;
    color: #999;
    font-size: .75rem;
    line-height: .75rem;
}

/* #endregion */

/* #region 内容 */
.main {
    margin-top: 3.875rem;
    margin-bottom: 4.5rem;
}

/* #endregion */

/* #region 底部 */
.footer {
    box-sizing: border-box;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 999;
    width: 100%;
    height: 4.5rem;
    padding: 0 .75rem;
    background: #fff;
    box-shadow: 0 .125rem .25rem 0 rgba(0, 0, 0, 0.3);
}

.footer .link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
}

.footer .link a {
    box-sizing: border-box;
    display: block;
    width: 6.875rem;
    height: 2.75rem;
    color: #8bbf43;
    font-size: .9375rem;
    font-weight: 700;
    line-height: 2.625rem;
    text-align: center;
    background: #8bbf430d;
    border: .0625rem solid #8bbf43;
    border-radius: 1.4375rem;
}

.footer .link .consult,
.footer .link .phone {
    line-height: 2.75rem;
    border: none;
}

.footer .link .consult {
    width: 7.3125rem;
    color: #fff;
    background: #ff9926;
}

.footer .link .phone {
    width: 6.5rem;
    color: #fff;
    background: #8bbf43;
}

/* #endregion */

/* #region 选项卡 */
.tabs-box {
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    gap: .625rem;
    height: 3.125rem;
    padding: 0 .5rem;
}

.tabs-box::after,
.tabs-box .underline {
    position: absolute;
    bottom: 0;
    left: 0;
    height: .0625rem;
}

.tabs-box::after {
    z-index: 1;
    width: 100%;
    content: "";
    background: #eee;
}

.tabs-box .underline {
    width: 1rem;
    height: .1875rem;
    z-index: 10;
    background: #8bbf43;
    border-radius: .1875rem;
    transition: all .3s;
}

.tabs-box .item,
.tabs-box .item a {
    flex: 1;
    padding: 0 .75rem;
    color: #333;
    font-size: 1rem;
    line-height: 1.25rem;
    text-align: center;
    white-space: nowrap;
    transition: none;
    cursor: pointer;
}

.tabs-box .active,
.tabs-box .active a {
    color: #8bbf43;
    font-weight: 700;
}

/* #endregion */

/* #region 标签链接 */
.tag-link {
    overflow-y: auto;
    margin-top: 1.5rem;
    margin-bottom: 1.25rem;
    padding: 0 1rem;
}

.tag-link .hide {
    display: none;
}

.tag-link .active {
    display: block;
}

.tag-link::-webkit-scrollbar {
    height: 0;
}

.tag-link .list {
    display: flex;
    gap: .625rem;
}

.tag-link .list:not(:first-child) {
    margin-top: .625rem;
}

.tag-link .list a {
    display: block;
    padding: 0 .5rem;
    height: 2rem;
    color: #333;
    font-size: .9375rem;
    line-height: 2rem;
    white-space: nowrap;
    background: #f5f5f5;
    border-radius: .375rem;
}

.tag-link .list a:hover,
.tag-link .list a:active {
    color: #8bbf43;
}

/* #endregion */

/* #region 返回顶部 */
.gotop {
    position: fixed;
    right: 1rem;
    bottom: 6.25rem;
    z-index: 10;
    display: none;
    width: 2.8125rem;
    height: 2.8125rem;
    background: var(--top) no-repeat, linear-gradient(180deg, #fff, #fff);
    background-position: center;
    background-size: 1.5rem;
    border-image: linear-gradient(180deg, rgba(0, 0, 0, .03), transparent) 1 1;
    box-shadow: 0 .75rem .75rem #2626261f;
    border-radius: 100%;
    cursor: pointer;
}

/* #endregion */

/* #region 面包屑 */
.breadcrumb {
    display: flex;
    align-items: center;
    height: 3.125rem;
    padding: 0 1rem;
    background: #fafafa;
}

.breadcrumb a {
    display: block;
    color: #999;
    font-size: .8125rem;
    line-height: .8125rem;
    white-space: nowrap;
}

.breadcrumb a:not(:first-child),
.breadcrumb span:last-child {
    margin-left: .625rem;
}

.breadcrumb a:hover,
.breadcrumb a:active {
    color: #8bbf43;
}

.breadcrumb span {
    display: block;
    margin-left: .375rem;
    color: #999;
    font-size: .8125rem;
    line-height: .8125rem;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    cursor: default;
}

/* #endregion */

/* #region 相关知识 */
.related .title {
    margin-top: 1.5rem;
}

.related .title .name {
    position: relative;
    padding-left: .875rem;
    color: #262626;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.125rem;
}

.related .title .name::before {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: block;
    width: .25rem;
    height: 1rem;
    content: "";
    background: #8bbf43;
    border-radius: .25rem;
}

.related .content {
    margin-top: 1.25rem;
    margin-bottom: 1rem;
}

.related .list li:not(:first-child) {
    margin-top: 1rem;
}

.related .list a {
    display: block;
    color: #333;
    font-size: 1rem;
    line-height: 1.5625rem;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.related .list a:hover,
.related .list a:active {
    color: #8bbf43;
}

/* #endregion */

/* #region 24H资讯 */
.news .title {
    margin-top: 1.5rem;
}

.news .title .name {
    position: relative;
    padding-left: .875rem;
    color: #262626;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.125rem;
}

.news .title .name::before {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: block;
    width: .25rem;
    height: 1rem;
    content: "";
    background: #8bbf43;
    border-radius: .25rem;
}

.news .content {
    margin-top: 1.25rem;
}

.news .content.show {
    margin-bottom: 1.25rem;
}

.news .list {
    overflow: hidden;
    height: 16.9375rem;
}

.news .content.show .list {
    overflow: visible;
    height: auto;
}

.news .list li {
    display: flex;
    gap: .75rem;
}

.news .list li:not(:first-child) {
    margin-top: 1.25rem;
}

.news .list .img {
    width: 6.5rem;
    height: 4.8125rem;
    border-radius: .5rem;
}

.news .list .text {
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news .list .text a {
    color: #333;
    font-size: 1rem;
    line-height: 1.5625rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.news .list a:hover,
.news .list a:active {
    color: #8bbf43;
}

.news .list .release {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.news .list .release .item {
    display: flex;
    align-items: center;
    gap: .25rem;
    color: #999;
    font-size: .875rem;
    line-height: 1.0625rem;
}

.news .list .release .item .iconfont {
    font-size: .875rem;
    line-height: .875rem;
}

.news .more {
    box-sizing: border-box;
    height: 3.125rem;
    margin-top: 1.25rem;
    color: #8bbf43;
    font-size: .875rem;
    line-height: 3.125rem;
    text-align: center;
    border-top: .0625rem solid #fafafa;
    cursor: pointer;
}

.news .more .iconfont {
    font-size: .75rem;
}

/* #endregion */

/* #region 目录 */
.catalogue-btn {
    box-sizing: border-box;
    position: fixed;
    top: 18.75rem;
    right: 0;
    z-index: 1;
    width: 3rem;
    height: 3rem;
    color: #333;
    font-size: .875rem;
    font-weight: 700;
    line-height: 2.875rem;
    text-align: center;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 100%;
    box-shadow: 0 .125rem .25rem 0 rgba(0, 0, 0, .05);
    transform: translateX(0);
    transition: all .3s;
    cursor: pointer;
}

.catalogue-btn.scrolling {
    transform: translateX(100%);
}

.catalogue-btn.hide {
    display: none;
}

.catalogue {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 1001;
}

.catalogue .shade {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 1002;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    transform: translateY(100%);
    opacity: 0;
    transition: opacity .3s;
}

.catalogue.active .shade {
    transform: translateY(0);
    opacity: 1;
}

.catalogue .container {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 1003;
    width: 100%;
    background: #f7f8fa;
    border-radius: 1rem 1rem 0 0;
    transform: translateY(100%);
    transition: ease-in .3s;
}

.catalogue.active .container {
    transform: translateY(0);
    transition: ease-in-out .3s;
}

.catalogue .container .title {
    height: 3.75rem;
    padding: 0 1rem;
    counter-reset: section;
    color: #323233;
    font-size: 1rem;
    font-weight: 600;
    line-height: 3.75rem;
}

.catalogue .container .list {
    overflow-y: auto;
    height: 80vw;
    padding: 0 1rem;
    background: #fff;
}

.catalogue .container .list li {
    height: 3.625rem;
    line-height: 3.625rem;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

.catalogue .container .list li::before {
    counter-increment: section;
    content: counter(section)".";
}

.catalogue .container .list .h2 {
    color: #000;
    font-size: 1.125rem;
}

.catalogue .container .list .h2::before {
    margin-right: 1rem;
}

.catalogue .container .list .h3 {
    color: #949494;
    font-size: 1rem;
}

.catalogue .container .list .h3::before {
    margin-right: 1.625rem;
}

.catalogue .container .close {
    box-sizing: border-box;
    width: 100%;
    margin-top: .5rem;
    padding: .875rem 1rem;
    color: #646566;
    font-size: 1rem;
    line-height: 1rem;
    text-align: center;
    background: #fff;
    cursor: pointer;
}

/* #endregion */