@charset "utf-8";

.w1440 {
    width: 1440px;
    margin: 0 auto;
    overflow: visible;
}

/* ── 顶部 Banner（M000613） ── */
.cont .page_banner {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.cont .page_banner .banner-media {
    width: 100%;
    position: relative;
    z-index: 1;
}

.cont .page_banner .banner-media img,
.cont .page_banner .banner-media video {
    width: 100%;
    display: block;
    object-fit: cover;
}

/* 文字层：绝对定位，叠加在图片之上（左下角） */
.cont .page_banner .banner-txt {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 60px;
    z-index: 2;
}

.cont .page_banner .banner-txt .txt p {
    display: block;
    color: #fff;
    font-family: "SourceHanSansCN-Bold";
}

.cont .page_banner .banner-txt .txt span {
    display: block;
    color: #fff;
    line-height: 1.2;
    margin-top: 0.8vw;
}

.cont .page_banner .mobile-item {
    display: none;
}

/* ── 页面容器 ── */
.knowledge-page {
    width: 100%;
    min-height: 100vh;
    padding-top: 80px;
    padding-bottom: 60px;
    background: #fff;
    position: relative;
    box-sizing: border-box;
}

/* ── Tab 栏 ── */
.kc-tabs {
    display: flex;
    gap: 16px;
    padding: 32px calc((100% - 1440px) / 2) 24px;
    background: #fff;
    position: sticky;
    top: 80px;
    z-index: 10;
}

.kc-tabs .tab-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    height: 48px;
    padding: 0 32px;
    border: 1px solid #dcdfe6;
    color: #606266;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s;
    font-family: "SourceHanSansCN-Regular";
    text-decoration: none;
}

.kc-tabs .tab-item:hover {
    border-color: #3a6cf4;
    color: #3a6cf4;
}

.kc-tabs .tab-item.on {
    border-color: #3a6cf4;
    color: #3a6cf4;
    background: #f5f8ff;
    font-family: "SourceHanSansCN-Bold";
}

/* ── 内容区 ── */
.kc-sections {
    width: 100%;
}

.kc-section {
    display: none;
}

.kc-section.active {
    display: block;
}

.kc-section .w1440 {
    width: 1440px;
    margin: 0 auto;
}

/* ── 标题区 ── */
.kc-title-group {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 48px;
}

.kc-title-ic {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kc-title-ic svg {
    width: 100%;
    height: 100%;
    display: block;
}

.kc-title-text {
    flex: 1;
}

.kc-title {
    color: #171717;
    font-family: "SourceHanSansCN-Bold";
    line-height: 1.2;
    margin-bottom: 12px;
}

.kc-subtitle {
    color: #8c8c8c;
    font-family: "SourceHanSansCN-Regular";
    line-height: 1.6;
    margin: 0;
}

/* ── 卡片网格 ── */
.kc-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    background: #ffffff !important;
    background-color: #ffffff !important;
}

.kc-card {
    display: block;
    background: #ffffff !important;
    padding: 48px 48px 56px;
    position: relative;
    min-height: 260px;
    transition: all 0.3s;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid #e5e7eb;
    margin: 0 -1px -1px 0;
    box-sizing: border-box;
}

.kc-card-placeholder {
    padding: 0;
    cursor: default;
    pointer-events: none;
    background: #ffffff !important;
    min-height: 260px;
}

.kc-card:hover:not(.kc-card-placeholder) {
    background: #fafbff !important;
    z-index: 1;
}

.kc-card:hover:not(.kc-card-placeholder) .kc-card-title {
    color: #3a6cf4;
}

.kc-card:hover:not(.kc-card-placeholder) .kc-card-arrow svg path {
    fill: #3a6cf4;
}

.kc-card-tag {
    color: #3a6cf4;
    font-family: "SourceHanSansCN-Regular";
    margin-bottom: 28px;
    letter-spacing: 0.5px;
    display: inline-block;
}

.kc-card-title {
    color: #171717;
    font-family: "SourceHanSansCN-Bold";
    line-height: 1.3;
    margin-bottom: 16px;
    transition: all 0.3s;
}

.kc-card-subtitle {
    color: #595959;
    font-family: "SourceHanSansCN-Regular";
    font-size: 15px;
    line-height: 1.5;
    margin: 0 0 14px;
    padding-right: 60px;
}

.kc-card-desc {
    color: #8c8c8c;
    font-family: "SourceHanSansCN-Regular";
    line-height: 1.7;
    padding-right: 60px;
}

.kc-card-arrow {
    position: absolute;
    right: 48px;
    bottom: 48px;
    width: 24px;
    height: 24px;
    transition: all 0.3s;
}

.kc-card-arrow svg {
    width: 100%;
    height: 100%;
    display: block;
    transition: all 0.3s;
}

.kc-card:hover .kc-card-arrow {
    transform: translate(4px, -4px);
}

/* ── 响应式 ── */
@media only screen and (max-width: 1600px) {
    .w1440,
    .kc-section .w1440 {
        width: 90%;
    }

    .kc-tabs {
        padding: 28px 5% 20px;
    }

    .kc-title-group {
        margin-bottom: 40px;
    }

    .kc-card {
        padding: 40px 40px 48px;
        min-height: 230px;
    }

    .kc-card-tag {
        margin-bottom: 22px;
    }

    .kc-card-arrow {
        right: 40px;
        bottom: 40px;
    }
}

@media only screen and (max-width: 1200px) {
    .knowledge-page {
        padding-top: 70px;
    }
}

@media only screen and (max-width: 992px) {
    .w1440,
    .kc-section .w1440 {
        width: 92%;
    }

    .knowledge-page {
        padding-top: 60px;
    }

    .kc-tabs {
        gap: 10px;
        padding: 20px 4% 16px;
        flex-wrap: wrap;
        top: 60px;
    }

    .kc-tabs .tab-item {
        min-width: auto;
        height: 42px;
        padding: 0 20px;
    }

    .kc-title-group {
        gap: 14px;
        margin-bottom: 32px;
    }

    .kc-title-ic {
        width: 40px;
        height: 40px;
    }

    .kc-card-grid {
        grid-template-columns: 1fr;
    }

    .kc-card {
        padding: 32px 24px 48px;
        min-height: 200px;
    }

    .kc-card-placeholder {
        padding: 0;
        min-height: 200px;
    }

    .kc-card-tag {
        margin-bottom: 18px;
    }

    .kc-card-desc {
        padding-right: 50px;
    }

    .kc-card-arrow {
        right: 24px;
        bottom: 24px;
        width: 20px;
        height: 20px;
    }
}

/* ── Banner 移动端 ── */
@media only screen and (max-width: 768px) {
    .cont .page_banner .pc-item {
        display: none;
    }

    .cont .page_banner .mobile-item {
        display: block;
    }

    .cont .page_banner .banner-txt {
        bottom: 16px;
    }

    .cont .page_banner .banner-txt .txt p {
        font-size: 20px;
    }

    .cont .page_banner .banner-txt .txt span {
        font-size: 12px;
    }

    .cont .page_banner .pic {
        height: 200px;
    }

    .cont .page_banner .pic .img,
    .cont .page_banner .pic .img img {
        height: 100%;
    }

    .cont .page_banner .pic .img img {
        object-fit: cover;
    }
}