dl,
ol,
ul {
    margin-top: 0;
    margin-bottom: 0;
}

.first_block {
    margin: 30px 0 50px;
    position: relative;
}

.first_block p {
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translate(-5%, -50%);
    font-size: 20px;
    color: #fff;
    padding: 12px;
    line-height: 24px;

}

.second_block {
    display: flex;
    width: 100%;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 66px;
}

/* --- 左侧导航栏 --- */
.sidebar {
    width: 20%;
    background-color: #f9f9f9;
}

.main-title {
    font-size: 20px;
    font-weight: bold;
    padding: 15px 20px;
    border-bottom: 1px solid #ddd;
    color: #333;
}

/* 一级分类列表 */
.category-list {
    list-style: none;
    padding: unset;
}

.category-item {
    border-bottom: 1px solid #eee;
}

/* 一级分类按钮样式 */
.category-btn {
    display: block;
    width: 100%;
    padding: 12px 20px;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #333;
    transition: background 0.3s;
    position: relative;
}

.category-btn:hover {
    background-color: #eaeaea;
}

.category-btn.active {
    background-color: #dcebf7;
    color: #0056b3;
    font-weight: bold;
}

.category-btn.active::after {
    content: '>';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #0056b3;
    font-weight: bold;
}

.sub-menu {
    list-style: none;
    padding: unset;
    background-color: #fff;
    display: none;
}

.sub-menu.show {
    display: block;
}

.sub-menu li a {
    display: block;
    padding: 10px 20px 10px 35px;
    text-decoration: none;
    font-size: 14px;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
    transition: color 0.2s;
}

.sub-menu li a:hover {
    color: #0056b3;
    background-color: #f5f5f5;
}

.content {
    flex: 1;
    padding: 30px;
}

.content h2 {
    /* color: #333; */
    margin-bottom: 15px;
}

.content p {
    line-height: 1.6;
    /* color: #666; */
    text-align: justify;
}

.content img {
    max-width: 100%;
    margin-top: 20px;
}

/* 初始隐藏所有内容 */
.category-content,
.sub-content {
    display: none;
}

/* 子分类高亮样式 */
.sub-menu a.active {
    color: #1890ff;
    font-weight: bold;
}

/*头部菜单，底部菜单样式结束*/


/*PC端*/
@media screen and (min-width: 992px) {
    .ccweb .banner_active {
        min-width: 132px;
        text-align: center;
    }

    .banner_active {
        background-size: cover;
    }
}

@media screen and (min-width: 992px) and (max-width: 1600px) {}

/*1920 120% 1536px*/
@media screen and (min-width: 992px) and (max-width: 1539px) {}

@media screen and (min-width: 992px) and (max-width: 1400px) {}

@media screen and (min-width: 992px) and (max-width: 1380px) {}

/*1920 150% 1280px*/
@media screen and (min-width: 992px) and (max-width: 1300px) {}


/*手机端*/
@media screen and (max-width: 991px) {

    .first_block p {
        font-size: 12px;
        line-height: 18px;
    }

    .main-title {
        font-size: 14px;
        padding: 5px 8px;
    }

    .category-btn {
        font-size: 12px;
        padding: 7px 10px;
    }

    .sub-menu li a {
        font-size: 10px;
        padding: 5px 11px;
    }

    .content {
        padding: 15px;
    }
}