.knowledge-sidebar h4 {padding-bottom: 10px; border-bottom: 2px solid #004b8f;}
.knowledge-sidebar {
    width: 100%;
    background: #f5f5f5;
    padding: 20px;
    border-radius: 10px;
}

.cti-knowledge-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 💻 默认三列 */
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto 40px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

@media (max-width: 991.98px) {
    .cti-knowledge-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {
    .cti-knowledge-grid {
        grid-template-columns: 1fr;
    }
	
	#cti-knowledge-filter-mobile { display: block !important;}
	#cti-knowledge-filter { display: none!important;}
}


.cti-knowledge-card {
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cti-knowledge-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.knowledge-thumb-wrap {
    position: relative;
    overflow: hidden;
}

.knowledge-thumb-wrap img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.status-label {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: #0dcaf0;
    color: #fff;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.cti-knowledge-card h3 {
    font-size: 18px;
    font-weight: 600;
    padding: 16px 16px 0 16px;
    margin: 0;
    color: #111;
}
.cti-knowledge-card h3::after {
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    background-color: #004b8f;
    margin-top: 8px;
    border-radius: 2px;
}

.cti-knowledge-card .excerpt {
    font-size: 14px;
    color: #666;
    padding: 12px 16px;
    line-height: 1.6;
    flex-grow: 1;
}

.cti-knowledge-card .read-more {
    background: none;
    color: #004b8f;
    font-weight: 600;
    border: none;
    padding: 12px 20px;
    margin: 16px auto 20px;
    border-radius: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
}

.cti-knowledge-card .read-more::after {
    content: ">>";
    display: inline-block;
    transition: transform 0.3s ease;
}

.cti-knowledge-card .read-more:hover {
    color: #0b2d82;
}

.cti-knowledge-card .read-more:hover::after {
    transform: translateX(4px);
}


/* Responsive container and banner */
.knowledge-banner-full {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
}

.knowledge-banner {
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.knowledge-title {
    color: #fff !important;
    font-size: 30px;
    text-align: center;
    padding: 140px 40px 0;
    border-radius: 8px;
}


.single-knowledge-banner {
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    text-align: center;
    color: white;
	margin-bottom:40px;
}

.knowledge-content-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0;
    box-sizing: border-box;
}

.knowledge-main-content {
    width: 100%;
}



@media (min-width: 992px) {
    .knowledge-main-content {
        width: 70%;
    }

    .knowledge-sidebar {
        width: 28%; /* 留一点空隙更美观 */
    }
}


.knowledge-sidebar ul {
    padding-left: 0px;
	list-style: none;
}


.btn-back {
    display: inline-block;
    margin-top: 16px;
    color: #004b8f;
    text-decoration: none;
}

.knowledge-navigation {
    display: flex;
    justify-content: space-between;
    margin: 40px auto;
    max-width: 1200px;
    padding: 0 20px;
    gap: 20px;
}

.knowledge-navigation .prev a,
.knowledge-navigation .next a {
    display: inline-block;
    padding: 12px 34px;
    background-color: #004b8f;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.knowledge-navigation .prev a:hover {
    background-color: #084298;
    padding-left: 38px;
}

.knowledge-navigation .prev a::before {
    content: '\2190';
    position: absolute;
    left: 12px;
    transition: left 0.3s ease;
}

.knowledge-navigation .prev a:hover::before {
    left: 4px;
}

.knowledge-navigation .next a:hover {
    background-color: #084298;
    padding-right: 38px;
}

.knowledge-navigation .next a::after {
    content: '\2192';
    position: absolute;
    right: 12px;
    transition: right 0.3s ease;
}

.knowledge-navigation .next a:hover::after {
    right: 4px;
}

#cti-knowledge-filter-mobile {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: center; 
    max-width: 100%;
    margin: 0 auto 30px auto; 
    padding: 0 20px;
    box-sizing: border-box;
}


#cti-knowledge-filter-mobile select {
    display: inline-block !important;
    width: 80%;
    min-width: 160px;
    max-width: 100%;
    padding: 6px 12px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #fff;
    appearance: none;
    -webkit-appearance: none;
}


#filter-reset {
    padding: 6px 14px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    background-color: #000;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

#filter-reset:hover {
    background-color: #084298;
}  

#cti-knowledge-filter-mobile { display: none;}

#cti-knowledge-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;
}

.filter-tag {
    padding: 6px 14px;
    font-size: 13px;
    background-color: #e6f0ff;
    color: #004b8f;
    border: 1px solid #004b8f;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-tag.active {
    background-color: #004b8f;
    color: #fff;
}

.knowledge-categories {
    padding: 12px 16px 0;
}

.category-label {
    display: inline-block;
    background-color: #e9f1ff;
    color: #004b8f;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    margin-right: 6px;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.category-overlay {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    z-index: 10;
}

.category-badge {
    background-color: #e9f1ff;
    color: #004b8f;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    text-transform: uppercase;
}