/* 关于我们 */
.energy-about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.energy-about-breadcrumb {
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.energy-breadcrumb-item {
    color: #666;
    text-decoration: none;
}

.energy-breadcrumb-separator {
    margin: 0 8px;
    color: #ccc;
}

.energy-breadcrumb-active {
    color: #333;
    font-weight: 500;
}

.news-breadcrumb-active a{
	color: #277eda;
}

.energy-about-content {
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

/* 侧边栏 */
.energy-sidebar {
    position: relative;
    width: 150px;
    flex-shrink: 0;
    min-height: 600px;
    background-color: rgb(39, 126, 218);
}

.energy-sidebar-menu {
    position: relative;
    background-color: rgb(39, 126, 218);
    padding: 10px 0;
    border-radius: 4px;
    /* overflow: hidden; */
    /* box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1); */
}

/* .energy-sidebar-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background-color: #00a854;
    z-index: -1;
} */

.energy-sidebar-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    color: #fff;
    text-decoration: none;
    /* border-bottom: 1px solid #fff; */
    position: relative;
    transition: all 0.3s;
    width: 95%;
    margin: 0 auto;
    font-size: 20px;
}
.energy-sidebar-item::after{
    content: "";
    display: block;
    height: 1px;
    width: 70%;
    border-bottom: 1px solid #fff;
    position: absolute;
    bottom: 0;
}

.energy-sidebar-item:last-child {
    border-bottom: none;
}

.energy-sidebar-item:hover {
    /* background-color: rgba(255, 255, 255, 0.1); */
}

.energy-sidebar-active {
    font-weight: 400;
    position: relative;
    z-index: 20;
    position: relative;
    width: 92%;
    height: 100%;
    left: -10px;
    background-size: 100% 108%;
    background-image: url('gywmbj.png');
    text-indent: 10px;
}
.energy-sidebar-active::after{
    display: none;
}
.energy-sidebar-icon {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.energy-sidebar-icon img {
    width: 22px;
    height: 22px;
    display: block;
}

/* 主内容区域 */
.energy-about-main {
    /* flex: 1; */
    width: 1000px;
    background-color: #fff;
    /* padding: 20px; */
}

.energy-about-title {
    border-bottom: 3px solid #e6e6e6;
    /* padding-bottom: 10px; */
    margin-bottom: 20px;
}

.energy-about-title span {
    display: inline-block;
    height: 30px;
    padding: 0 40px 0 10px;
    border-bottom: 3px solid #00a2ff;
    line-height: 30px;
    color: #434343;
    font-size: 20px;
    width: auto;
    position: relative;
    top: 3px;
    padding-bottom: 10px;
}

.energy-about-text {
    padding: 20px 0;
    color: #646464;
    font-size: 16px;
    line-height: 36px;
    text-indent: 2em;
}

.energy-about-text p {
    margin-bottom: 15px;
}

/* 文章列表样式 */
.energy-news-list {
    padding: 20px 0;
}

.energy-news-list ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.energy-news-list li {
    padding: 0;
    border-bottom: 1px dashed #e0e0e0;
}

.energy-news-list li:last-child {
    border-bottom: none;
}

.energy-news-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    color: #2f2e2e;
    text-decoration: none;
    position: relative;
    padding-left: 15px;
    width: 100%;
}

.energy-news-list li a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: #ff6600;
}

.energy-news-list li a:hover {
    color: #006d46;
}

.energy-news-list li a:hover .news-title,
.energy-news-list li a:hover .date {
    color: #006d46;
}

.energy-news-list .news-title {
    font-size: 16px;
    max-width: 75%;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    font-size: 20px;
    color: #2f2e2e;
    cursor: pointer;
}

.energy-news-list .date {
    color: #999;
    font-size: 18px;
}

/* 分页样式 */
.energy-news-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.energy-news-pagination-info {
    margin-right: 20px;
    color: #666;
    font-size: 14px;
}

.energy-news-pagination-select {
    margin-right: 20px;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.energy-news-pagination-buttons {
    display: flex;
    align-items: center;
}

.energy-news-pagination-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin: 0 5px;
    border-radius: 4px;
    border: 1px solid #ddd;
    color: #666;
    text-decoration: none;
    cursor: pointer;
}

.energy-news-pagination-button.active {
    background-color: #00a854;
    color: #fff;
    border-color: #00a854;
}

.energy-news-pagination-button.ellipsis {
    border: none;
}

@media screen and (max-width: 768px) {
    .energy-about-content{
        flex-direction: column;
    }
    .energy-sidebar{
        height: auto;
        min-height: auto;
        width: 100%;
    }
    .energy-sidebar-active{
        width: 100%;
        left: -3%;
    }
    .energy-sidebar-item::after{
        width: 90%;
    }
    .energy-about-title{
        font-size: 18px;
    }
    .energy-about-main{
        width: 100%;
    }
    .energy-news-list{
        padding: 0;
    }
    .energy-news-list li a{
        padding: 5px 0;
    }
    .energy-news-list li a::before{
        display: none;
    }
    .energy-news-list .news-title{
        font-size: 16px;
        width: 50%;
    }
    .energy-news-list .date{
        font-size: 14px;
    }
    .energy-news-pagination-button{
        font-size: 16px;
    }
    .energy-news-pagination-info{
        font-size: 14px;
    }
    .energy-news-pagination-select{
        font-size: 14px;
    }
}