/* 新增样式 */
.dz_costum_box {
    background-color: #f7f8fa;
    /* 根据图片背景色调整 */
    padding: 20px 0;
    /* 上下留白 */
}

.costum_container {
    width: 1200px;
    /* 与页面主内容区域宽度一致 */
    margin: 0 auto;
    display: flex;
    gap: 28px;
    /* 左右两块的间距 */
    height: 430px;
}

.singularity_plan,
.knowledge_map_section {
    border-radius: 8px;
}

.singularity_plan {
    width: 792px;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    padding: 18px 20px 21px 20px;
}

.knowledge_map_section {
    flex: 1;
    /* 右侧占据较小空间 */
    display: flex;
    flex-direction: column;
    background-color: #fff;
    padding: 17px 12px 12px 12px;
}

.section_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section_title {
    font-size: 24px;
    font-weight: 500;
    line-height: 32px;
    color: rgba(0, 0, 0, 0.9);
}

.view_more_link {
    font-size: 12px;
    line-height: 20px;
    color: #1664ff;
    text-decoration: none;
}

.singularity_plan .section_subtitle {
    font-size: 20px;
    font-weight: normal;
    line-height: normal;
    color: #777777;
    margin: 12px 0 30px 0;
}

.singularity_cards_container {
    display: flex;
    gap: 30px;
    flex-grow: 1;
}

.singularity_card_large {
    box-sizing: border-box;
    box-shadow: 0 4px 32px rgba(0, 0, 0, .04);
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #DEDEDE;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 289px;
    background: #fff;
    transition: all .3s cubic-bezier(.22, 1, .36, 1);
    position: relative;
}
.singularity_card_large:hover {
    box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.16);
    transform: translateY(-4px);
}

.singularity_card_large .card_tag {
    position: absolute;
    left: 16px;
    top: 12px;
    width: 68px;
    height: 23px;
}

.singularity_card_large:first-child .card_tag {
    width: 99px;
}

.singularity_card_large img {
    width: 100%;
    height: 173px;
    /* 根据图片调整 */
    object-fit: cover;
}

.singularity_card_content {
    padding: 12px 16px 20px 16px;
    height: 72px;
}

.singularity_card_content h3 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
    line-height: 24px;
    color: rgba(0, 0, 0, 0.9);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    /* 显示两行 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.singularity_card_large:hover .singularity_card_content h3 {
    color: #2A65FF;
}

.singularity_card_content p {
    font-size: 14px;
    font-weight: normal;
    line-height: 22px;
    color: rgba(0, 0, 0, 0.6);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* 显示两行 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.singularity_cards_small_column {
    flex: 1;
    display: flex;
    gap: 16px;
}

.singularity_card_small {
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e8e8e8;
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.singularity_card_small .competition_badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background-color: #2a65ff;
    color: white;
    font-size: 10px;
    padding: 3px 6px;
    border-radius: 4px;
    z-index: 1;
}

.singularity_card_small img {
    width: 100%;
    height: 90px;
    /* 根据图片调整 */
    object-fit: cover;
}

.knowledge_map_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 16px 0 14px 0;
}

.knowledge_map_card {
    height: 79px;
    border-radius: 10px;
    opacity: 1;
    display: flex;
    flex-direction: row;
    /* justify-content: center; */
    align-items: center;
    background: #2A65FF;
    border: 1px solid #DEDEDE;
}
.knowledge_map_card .knowledge_map_card_content {
    width: 100%;
    cursor: pointer;
    height: 79px;
    border-radius: 8px;
    opacity: 1;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    /* padding: 0px 16px; */
    gap: 10px;
    background: #FFFFFF;
}

.knowledge_map_card .knowledge_map_card_content:hover {
    width: calc(100% - 8px);
    margin: 0px 8px 0 0;
    /* border-right: 8px solid #2a65ff; */
}

.knowledge_map_card img {
    width: 48px;
    /* 根据图标大小调整 */
    height: 48px;
}

.knowledge_map_card_text h4 {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    margin-bottom: 2px;
}

.knowledge_map_card_text p {
    font-size: 12px;
    color: #777;
}

.developer_exam_card {
    background-color: #fff;
    border-radius: 6px;
    padding-top: 5px;
    text-align: center;
    height: 175px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 1px solid #DEDEDE;
}
.developer_exam_card .developer_exam_card_content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 23px;
}
.developer_exam_card .developer_exam_card_text {
    text-align: left;
}

.baoxiang_img {
    background-image: url('source/plugin/knowledge/static/img/guang.png');
    background-size: 125px;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 98px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.developer_exam_card img {
    width: 90px;
    /* 根据图标大小调整 */
    height: auto;
    margin-top: 5px;
}

.developer_exam_card h4 {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
}

.developer_exam_card p {
    font-family: 苹方-简;
    font-size: 14px;
    font-weight: normal;
    line-height: 22px;
    color: rgba(0, 0, 0, 0.6);
}

.developer_exam_button {
    display: inline-block;
    background-color: #2a65ff;
    color: white;
    padding: 5px 80px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    margin: 16px 0 11px 0;
}

.developer_exam_button:hover {
    background-color: #1e4ecc;
}

.video_list_box {
    background-color: #f7f8fa;
    padding: 20px 0 40px 0;
    margin-top: 20px;
}

.video_section_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.video_section_header .section_title {
    font-size: 24px;
    font-weight: 500;
    line-height: 32px;
    color: rgba(0, 0, 0, 0.9);
}

.video_section_header .view_more_link {
    font-size: 12px;
    line-height: 20px;
    color: #1664ff;
    text-decoration: none;
}

.video_cards_container {
    display: flex;
    gap: 47px;
    overflow: hidden;
}

.video_card {
    width: 265px;
    overflow: hidden;
    cursor: pointer;
}

.video_thumbnail {
    width: 100%;
    height: 154px;
    overflow: hidden;
    border-radius: 16px;
    cursor: pointer;
    position: relative;
}
.video_thumbnail .video_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(23, 24, 26, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}
.video_thumbnail .video_overlay .play_button {
    width: 40px;
    height: 40px;
}

.video_thumbnail img {
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
}

.video_title {
    padding: 4px 10px;
    font-size: 18px;
    font-weight: 500;
    color: #202020;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.video_card:hover .video_title {
    color: #2a65ff; 
}

.video_meta {
    display: flex;
    justify-content: space-between;
    padding: 0 5px;
    font-size: 16px;
    color: #666666;
}

.video_author,
.video_views {
    display: flex;
    align-items: center;
}

.video_author img,
.video_views img {
    width: 26px;
    height: 26px;
    margin-right: 5px;
    border-radius: 50%;
}
@font-face {
    font-family: 'PingFang-SC';
    src: url('./PingFangSC-Regular.woff2');
    font-weight: normal;
    font-style: normal;
}