/* 通用 */


a {
    color: #262626
}

[v-clock],.code {
    display: none;
}

a:hover {
    color: #003eb3;
}

ul>li:last-child {
    border-bottom: none;
}

.gap-20 {
    gap: 20px;
}

.radius-6 {
    border-radius: 6px;
}

.thumb-120 {
    min-width: 120px;
    max-width: 160px;
    max-height: 130px;
    border-radius: 6px;
    margin-right: 10px;
    overflow: hidden;
}

.thumb {
    width: 100%;
    height: 90px;
    border-radius: 6px;
    margin-right: 10px;
    overflow: hidden;
}

.gap-2 {
    gap: 2px;
}

.c-fff a {
    color: #fff;
}

.center {
    margin-left: auto;
    margin-right: auto;
}

.f-lighter {
    font-weight: lighter;
}

.gap-10 {
    gap: 10px 10px;
}

.more {
    font-weight: lighter;
    color: #999;
}

.border-dashed {
    border-bottom: 1px dashed #dedede;
}

.c-003a8c {
    color: #003a8c;
}

.c-f0f0f0 {
    color: #8c8c8c
}

.c-141414 {
    color: #141414;
}

.c-595959 {
    color: #595959
}

.c-bfbfbf {
    color: #bfbfbf;
}

html {
    scroll-behavior: smooth;
}

.w-1280 {
    width: 1280px;
}

.center {
    margin: 0 auto;
}

/* 首页 - 现代化头部设计 */
.header-wrap {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.header {
    max-width: 1800px;
    width: 1280px;
    padding: 8px 0;
}

.logo {
    height: 44px;
    background: url(../img/logo.svg) left center no-repeat;
    background-size: 44px 44px;
    font-weight: 600;
    padding-left: 52px;
    line-height: 44px;
    font-size: 20px;
    letter-spacing: -0.5px;
}

.theme {
    background: -webkit-linear-gradient(45deg, #00a0e9, #10d39d, #00a0e9, #10d39d, #00a0e9);
    color: transparent;
    -webkit-background-clip: text;
    -webkit-animation: ran 18s linear infinite;
    animation: ran 18s linear infinite;
}

.header-wrap .nav {}

/* 搜索框 - 现代化设计 */
.search {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    height: 40px;
    background-color: #f9fafb;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    padding: 0 12px;
}

.search:focus-within {
    border-color: #3b82f6;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-input {
    background-color: transparent;
    height: 100%;
    font-size: 14px;
    color: #374151;
}

.search-input::placeholder {
    color: #9ca3af;
}


/* 导航样式 - 现代化设计 */
.header-wrap .nav-item {
    position: relative;
    height: 44px;
    line-height: 44px;
    padding-left: 16px;
    padding-right: 16px;
}

.header-wrap .nav-item a {
    font-size: 15px;
    padding-left: 6px;
    padding-right: 6px;
    display: block;
    color: #4b5563;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.header-wrap .nav-item a:hover {
    color: #3b82f6;
    background-color: rgba(59, 130, 246, 0.08);
}

.header-wrap .nav-item:hover a {
    color: #3b82f6;
}

/* 子导航 - 现代化设计 */
.header-wrap .sub-nav::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent rgba(255, 255, 255, 0.95) transparent;
}

.header-wrap .sub-nav {
    display: none;
    position: absolute;
    left: 50%;
    padding: 8px 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    z-index: 10;
    transform: translate(-50%, 8px);
    width: auto;
    min-width: 160px;
    border: 1px solid rgba(229, 231, 235, 0.6);
    animation: fadeInDown 0.2s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate(-50%, 0);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 8px);
    }
}

.header-wrap .sub-nav-item {
    margin-bottom: 0;
    padding: 0 4px;
}

.header-wrap .sub-nav-item a {
    padding: 8px 16px;
    font-size: 14px;
    line-height: 1.5;
    white-space: nowrap;
    border-radius: 6px;
    margin: 2px 4px;
}

.header-wrap .sub-nav-item a:hover {
    background-color: rgba(59, 130, 246, 0.1);
}

.header-wrap .nav-item:hover .sub-nav {
    display: block;
}

.header-wrap .nav-item {
    position: relative;
}

.header-wrap .nav-item > a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -20px;
    height: 20px;
}

.header-wrap .sub-nav::after {
    content: "";
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 20px;
}

.ico-open {
    width: 42px;
    height: 42px;
    background: url(../img/open.svg) center center no-repeat;
    background-size: 22px 22px;
    display: none;
}

.el-button--primary {
    background-image: linear-gradient(315deg, #6772FF 0, #00F9E5 100%);
    background-size: 104% 104%;
    color: #fff;
    border: none;
    padding: 5px 15px;
    font-size: 14px;
    border-radius: 6px;
}

.el-button--primary a {
    color: #fff;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;

    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-button-next,
.swiper-button-prev {
    color: #fff;
}

.swiper-pagination-bullet-active,
.swiper-pagination-bullet {
    background-color: #fff;
}

/* banner */
.banner {
    height: 340px;
    background-color: #f8f8f9;
    flex-direction: column;
}

.tips-404 {
    height: calc(100vh - 180px);
    background-color: #f8f8f9;
    flex-direction: column;
}

.chanyue {
    letter-spacing: 2px;
    font-weight: 500;
    font-size: 120px;
    line-height: 1.2;
    color: #fff;
   
    background: -webkit-linear-gradient(45deg, #00a0e9, #10d39d, #00a0e9, #10d39d, #00a0e9);
    color: transparent;
    -webkit-background-clip: text;
    -webkit-animation: ran 18s linear infinite;
    animation: ran 18s linear infinite;
}

.chanyue-s {
    letter-spacing: 2px;
    font-weight: 500;
    font-size: 60px;
    line-height: 1.2;
    color: #fff;
    
    background: -webkit-linear-gradient(45deg, #00a0e9, #10d39d, #00a0e9, #10d39d, #00a0e9);
    color: transparent;
    -webkit-background-clip: text;
    -webkit-animation: ran 18s linear infinite;
    animation: ran 18s linear infinite;
}

.error-500 {
    min-height: calc(100vh - 155px);
}

@-webkit-keyframes ran {

    0%,
    to {
        backgroud-position: 0 0
    }

    50% {
        background-position: 1000px 0
    }
}

@keyframes ran {

    0%,
    to {
        backgroud-position: 0 0
    }

    50% {
        background-position: 1000px 0
    }
}


/* main - 现代化布局 */
.main {
    width: 1280px;
    flex-wrap: nowrap;
    min-height: calc(100vh - 210px);
    gap: 24px;
}

/* 卡片样式 - 现代化设计 */
.w-460, .w-520, .notices, .books-item {
    border-radius: 12px;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(229, 231, 235, 0.6);
}

.w-460:hover, .w-520:hover, .notices:hover, .books-item:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

/* 标题样式 - 现代化设计 */
.m-title {
    padding-bottom: 16px;
    font-family: 'chanyue', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 600;
    color: #1f2937;
    font-size: 18px;
}

.title-dashed {
    background-color: #fff;
    padding: 16px 20px;
    border-radius: 12px;
    border-bottom: 1px solid #f3f4f6;
    margin-bottom: 16px;
}

.more {
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
}

.more:hover {
    color: #3b82f6;
}

.flex-wrap {
    flex-wrap: wrap !important;
}

.w-460 {
    width: 460px;
}

.w-520 {
    width: 520px;
}

.article-index {
    width: 930px;
    flex-shrink: 0;
}

.article-aside {
    width: 330px;
    flex-shrink: 0;
}

.aside-index {
    width: 250px;
}

.books {
    width: 100%;
}

.books-item {
    width: 231px;
}

.m-img {
    width: 100%;
    height: 125px;
    overflow: hidden;
    display: block;
}

.m-img img {
    width: 100%;
}

.h-290 {
    height: 290px;
}

.swiper {
    width: 400px !important;
    height: 290px !important;
    border-radius: 8px;
    position: relative;
    z-index: 0;
}

.swiper h3 {
    color: #ffffff;
    position: absolute;
    z-index: 100;
    font-size: 20px;
    bottom: 0px;
    left: 0px;
    width: 100%;
    padding: 3px 10px;
    font-weight: lighter;
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
}



/* list.html */

.el-empty {
    font-family: 'chanyue';
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
}

.list {
    min-height: calc(100vh - 282px);
}

.content {
    min-height: calc(100vh - 228px);
}

/* 分页样式 - 现代化设计 */
.page ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.page ul li {
    float: none;
    border: 1px solid #e5e7eb;
    margin-right: 0;
    color: #4b5563;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.page ul li:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
    transform: translateY(-1px);
}

.page ul li.disabled {
    padding: 10px 18px;
    color: #9ca3af;
    cursor: not-allowed;
    background-color: #f3f4f6;
    border-color: #e5e7eb;
}

.page ul li.disabled:hover {
    transform: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.page ul li a {
    display: block;
    padding: 10px 18px;
    color: #4b5563;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
}

.page ul li:hover a {
    color: #3b82f6;
}

.page ul li.current {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border: none;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
    border-radius: 8px;
    padding: 10px 18px;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}

.page ul li.current:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

/* list-img.html */
.gap-7 {
    gap: 7px;
}

.list-img-item {
    width: 240px;
    height: 180px;
}

.list-img-item .title {
    position: absolute;
    bottom: 0px;
    color: #fff;
    padding: 10px;
}

.list-img-item:hover .overlay {
    opacity: 1;
    cursor: pointer;
}

.overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.3);
    /* 半透明灰色遮罩 */
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    /* 平滑过渡 */
}

/* article.html */
.article-cont {
    line-height: 30px;
    word-break: break-word;
    font-weight: 400;
    line-height: 2;
    font-size: 17px;
    overflow-x: hidden;
    color: #000
}

.ico-speech {
    display: inline-block;
    width: 25px;
    height: 25px;
    background: url(../img/icon-audio.png) no-repeat;
    background-size: 25px;
    cursor: pointer;
}

.ico-speech.on {
    background: url(../img/icon-audio-on.png) no-repeat;
    background-size: 25px;
}



.article-cont h2:before {
    content: "# " !important;
    color: #1f7ef3;
}

.article-cont ::marker {
    color: #1f7ef3;
}

.article-cont ul {
    padding-left: 30px;
}

.article-cont ul li {
    margin-bottom: 6px;
}

.article-cont h3 {
    font-size: 24px;
    padding-left: 9px;
    border-left: 6px solid #1f7ef3;
}

.article-cont p {
    margin-bottom: 20px;
}

.article-cont img,
.article-cont video,
.article-cont audio {
    max-width: 100%;
    margin: 5px auto;
    height: auto;
}



.article-cont strong {
    padding: 1px;

}

.article-cont em {
    padding: 0 2px;

}

.article-cont h1,
.article-cont h2,
.article-cont h3,
.article-cont h4,
.article-cont h5,
.article-cont h6 {
    position: relative;
    margin-top: 30px;
    margin-bottom: 20px;
    line-height: 1.5;
    font-weight: 700
}

.article-cont h1 {
    text-align: center;
    padding-bottom: 5px;
    font-size: 32px;
}

.article-cont h1:after {
    content: "";
    display: block;
    margin: 4px auto 0;
    width: 100px;
    height: 2px;
    border-bottom: 2px solid #1f7ef3
}

.article-cont h2 {
    font-size: 28px;

}

.article-cont h2:before {
    content: "# " !important;
    color: #1f7ef3
}

.article-cont h3 {
    font-size: 24px;
    padding-left: 9px;
    border-left: 6px solid #1f7ef3
}

.article-cont h4 {
    font-size: 20px
}

.article-cont hr {
    border: none;
    border-top: 1px solid #bbb;
    margin: 16px 0
}

.article-cont a {
    text-decoration: none;
    color: #198cff;
    padding: 0 2px;

}

.article-cont a:active,
.article-cont a:hover {

    color: #198cff;

    /* text-decoration: underline; */
    border-bottom: 1px solid #198cff
}

.article-cont blockquote {
    color: #3d3d3d;
    background-color: #fff9f9;
    padding: 6px 16px;
    margin: 16px 0;
    border-left: 3px solid #f07c82
}

.article-cont blockquote:after {
    display: block;
    content: ""
}

.article-cont blockquote>p {
    margin: 6px 0
}

.article-cont ol,
.article-cont ul {
    padding-left: 30px
}

.article-cont ol li,
.article-cont ul li {
    margin-bottom: 6px
}

.article-cont ol li,
.article-cont ul li {
    list-style: none
}

.article-cont ol li ol,
.article-cont ol li ul,
.article-cont ol ol,
.article-cont ol ul,
.article-cont ul li ol,
.article-cont ul li ul,
.article-cont ul ol,
.article-cont ul ul {
    margin-top: 6px
}

.article-cont ol li {
    padding-left: 6px
}

.article-cont ::marker {
    color: #f33b1f
}

.article-cont .contains-task-list {
    padding-left: 0
}

.article-cont {
    list-style: none
}

.article-cont input[type=checkbox] {
    position: relative
}

.article-cont input[type=checkbox]:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    border: 1px solid #f07c82;
    border-radius: 3px;
    box-sizing: border-box;
    z-index: 1
}

.article-cont input[type=checkbox]:checked:after {
    content: "✓";
    position: absolute;
    top: -5px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 0;
    height: 0;
    color: #f33b1f;
    font-size: 16px;
    font-weight: 700;
    z-index: 2
}

.article-cont table {
    display: inline-block !important;
    font-size: 14px;
    width: auto;
    max-width: 100%;
    overflow: auto;
    border-spacing: 0;
    border-collapse: collapse
}

.article-cont table thead {
    background: #fff9f9;
    color: #000;
    text-align: left;
    font-size: 15px
}

.article-cont table tr:nth-child(2n) {
    background-color: #fcfcfc
}

.article-cont table tr:hover {
    background-color: #fff9f9
}

.article-cont table td,
.article-cont table th {
    padding: 12px 7px;
    line-height: 24px;
    border: 1px solid #f9f1db
}

.article-cont table td {
    min-width: 120px
}

#article-outline li {
    cursor: pointer;
}

#article-outline li>ul {
    margin-left: 20px;
}

.k-catelog-link {
    position: relative;
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 14px;
    transition: all 0.5s;
}

.k-catelog-link::before {
    transition: all 0.5s;
}

.k-catelog-link-active {
    color: #1e80ff;
}

.k-catelog-link-active::before {
    content: "";
    position: absolute;
    top: 8px;
    left: -10px;
    width: 3px;
    height: 14px;
    background: #1e80ff;
    border-radius: 2px;
}


/* chanyue.html */
.m-card {
    width: 340px;
    margin: 20px;
    box-shadow: 0px 0px 5px #eae3e3;
    padding: 20px;
    border-radius: 6px;
}

/* pdf.html */

iframe {
    border: none;
    width: 100%;
}

@media only screen and (max-width:992px) {
    .header {
        max-width: 100%;
        width: 100%;
    }

    .main {
        padding-left: 10px;
        padding-right: 10px;
        flex-wrap: wrap;
    }

    .w-460,
    .w-520,
    .article-index,
    .main {
        width: 100%;
    }

    .logo {
        margin-left: 10px;
    }

    .el-backtop {
        right: 20px !important;
        bottom: 50px !important;
    }

    .chanyue {
        font-size: 50px;
    }

    .banner {
        height: 260px;
    }

    .h-290 {
        height: auto;
    }

    .mySwiper {
        width: 100% !important;
        height: auto !important;
    }

    .m-card {
        width: 100%;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
        margin: 0 0 16px 0;
        padding: 16px;
        border-radius: 12px;
        background-color: #fff;
    }

    .main.pd-30 {
        margin-left: 0px;
        margin-right: 0px;
    }

    .nav,
    none {
        display: none;
    }

    .search-wrap {
        display: none;
    }

    .drawer .search-wrap {
        display: flex;
    }

    .drawer .search {
        flex: 1;
    }

    .search-input {
        width: 78%;
        background-color: transparent;
    }

    .ico-open {
        display: block;
    }

    .m-mask {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: flex-end;
        background-color: rgba(0, 0, 0, 0.3);
        z-index: 11;
        touch-action: none;
        transition: display 0.5s;
        /* backdrop-filter: blur(8px); */
    }

    .m-mask.none {
        display: none;
    }

    .drawer {
        width: 75% !important;
        max-width: 300px;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    }



    .drawer .sub-nav {
        display: block;
    }


    .drawer .nav {
        display: block;
        margin: 16px;
        background-color: rgba(249, 250, 251, 0.8);
        border-radius: 12px;
        padding: 12px;
        border: 1px solid rgba(229, 231, 235, 0.5);
    }

    .drawer .nav .flex {
        display: block;
    }

    .drawer .nav-item {
        padding: 10px 12px;
        border-radius: 8px;
        transition: all 0.2s ease;
    }

    .drawer .nav-item:hover {
        background-color: rgba(59, 130, 246, 0.08);
    }

    .drawer .nav-item a {
        font-size: 15px;
        font-weight: 500;
        color: #374151;
        display: block;
    }

    .drawer .nav-item:hover a {
        color: #3b82f6;
    }


    .drawer .sub-nav {
        width: 100%;
    }

    .drawer .sub-nav-item {
        padding: 5px 10px;
    }

    .drawer .sub-nav-item::before {
        content: '•';
        display: inline-block;
        color: #b2abab;
        position: relative;
        top: -2px;
    }

    .drawer .nav-item:hover .sub-nav {
        display: block;
    }



    .books-item {
        width: calc((100% / 2) - 8px);
        margin-bottom: 16px;
    }

    /* 移动端分页优化 */
    .page ul {
        gap: 6px;
    }

    .page ul li a,
    .page ul li.disabled {
        padding: 8px 12px;
        font-size: 13px;
    }

    .flex-1 .mb-20:last-child {
        margin-bottom: 0px;
    }

    .footer.pd-20 {
        padding: 20px 0 20px;
        margin-left: 0px;
        margin-right: 0px;
    }
}


#translate {
    display: none;
}

.api {
    display: none;
}


/* 返回顶部 */
.backtop {
    position: fixed;
    bottom: 113px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 2px 2px 2px #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

.backtop.none {
    display: none;
}

.backtop:hover {
    background-color: rgba(255, 255, 255, 0.9);
}