/* 信息栏 */
.energy-info {
    color: white;
    font-size: 14px;
    max-width: 1200px;
    margin: 15px auto 0;
    padding: 0 20px;
}

/* 新闻内容区域 */
.energy-content {
    max-width: 1200px;
    margin: 20px auto;
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}
body{
    max-width: 100% !important;
}
.energy-news {
    width: 870px;
}

.energy-notice {
    width: 300px;
    height: 100%;
}

/* 标题栏样式 */
.energy-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #00b373;
    margin-bottom: 15px;
    /* padding-bottom: 10px; */
}

.energy-section-title {
    position: relative;
    font-weight: 500;
    font-size: 24px;
    color: #006d46;
    line-height: 33px;
    padding-left: 27px;
    padding-bottom: 10px;
}

.energy-section-title::before {
    position: absolute;
    content: "";
    display: inline-block;
    width: 150px;
    height: 4px;
    background-color: #00b373;
    bottom: 0;
    left: 0
}

.energy-more-link {
    font-weight: 500;
    font-size: 16px;
    color: #666;
    line-height: 22px;
    text-align: left;
    cursor: pointer;
    text-decoration: none;
}

.energy-more-link:hover {
    color: #006d46;
}

/* 新闻展示区域 - 左右结构 */
.energy-news-container {
    display: flex;
    margin-top: 15px;
}

.position {
    position: relative;
}

/* 轮播图部分 - 左侧 */
.energy-carousel-container {
    width: calc(870px - 435px);
    /* height: 260px; */
    overflow: hidden;
    position: relative;
}

/* Swiper styling */
.energy-swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    width: 100%;
    height: 284px;
}

.energy-carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 新闻列表 - 右侧 */
.energy-news-list {
    width: 435px;
    padding-left: 15px;
    box-shadow: 0 2px 4px #00000026;
    padding: 10px 0;
}

.energy-news-item {
    height: 24%;
    line-height: 65px;
    font-size: 18px;
    color: #333;
    cursor: pointer;
    border-bottom: 1px solid #e0e0e0;
    width: 90%;
    margin: 0 auto;
    text-indent: 5px;
    border-bottom: 1px solid #d9d9d9;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    -webkit-line-clamp: 1;
}

.energy-news-item:last-child {
    border: none;
}


.energy-news-item.active {
    color: #006d46;
    /* font-weight: bold; */
}

.energy-news-item:hover {
    color: #006d46;
}

/* 公告卡片 */
.energy-notice-card {
    background-color: #fff;
    border: none;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: 345px;
}

.energy-notice-header {
    background-color: #00b373;
    color: white;
    padding: 12px 15px;
    font-size: 18px;
    font-weight: 500;
    position: relative;
    padding-left: 45px;
    display: flex;
    align-items: center;
}

.energy-notice-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
}

.energy-notice-list {
    padding: 10px 0;
}

.energy-notice-item {
    display: block;
    padding: 10px 15px;
    padding-left: 30px;
    position: relative;
    border-bottom: 1px solid #f5f5f5;
    text-decoration: none;
    color: inherit;
}

.energy-notice-item:last-child {
    border-bottom: none;
}

.energy-notice-item::before {
    content: "";
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: #ff6600;
}

.energy-notice-title {
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
}

.energy-notice-item:hover .energy-notice-title {
    color: #006d46;
}

/* 基层动态和劳模工作 */
.energy-base-model-container {
    max-width: 1200px;
    margin: 30px auto 0;
    display: flex;
    justify-content: space-between;
}

.energy-base-news,
.energy-model-work {
    width: 48%;
}

.energy-base-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #00b373;
    margin-bottom: 15px;
}

.energy-base-title {
    position: relative;
    font-weight: 500;
    font-size: 24px;
    color: #006d46;
    line-height: 33px;
    padding-left: 27px;
    padding-bottom: 10px;
}

.energy-base-title::before {
    position: absolute;
    content: "";
    display: inline-block;
    width: 150px;
    height: 4px;
    background-color: #00b373;
    bottom: 0;
    left: 0;
}

.energy-base-more {
    font-weight: 500;
    font-size: 16px;
    color: #666;
    line-height: 22px;
    text-align: left;
    cursor: pointer;
}

.energy-base-list {
    margin-top: 5px;
}

.energy-base-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    align-items: center;
    line-height: 45px;
}

.energy-base-item:last-child {
    margin-bottom: 0;
}

.energy-base-content {
    width: 60%;
    padding-left: 15px;
    position: relative;
    line-height: 1.5;
    color: #2f2e2e;
    cursor: pointer;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    -webkit-line-clamp: 1;
    margin-right: 50px;
}

.energy-base-content:hover {
    color: #006d46;
}

.energy-base-content::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: #ff6600;
}

.energy-base-date {
    width: 35%;
    text-align: right;
    color: #2f2e2e;
    font-size: 14px;
}

/* 渝工创新 */
.energy-innovation-container {
    max-width: 1200px;
    margin: 30px auto 0;
}

.energy-innovation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #00b373;
    margin-bottom: 15px;
}

.energy-innovation-title {
    position: relative;
    font-weight: 500;
    font-size: 24px;
    color: #006d46;
    line-height: 33px;
    padding-left: 27px;
    padding-bottom: 10px;
}

.energy-innovation-title::before {
    position: absolute;
    content: "";
    display: inline-block;
    width: 150px;
    height: 4px;
    background-color: #00b373;
    bottom: 0;
    left: 0;
}

.energy-innovation-more {
    font-weight: 500;
    font-size: 16px;
    color: #666;
    line-height: 22px;
    text-align: left;
    cursor: pointer;
    text-decoration: none;
}

.energy-innovation-more:hover {
    color: #006d46;
}

.energy-innovation-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
}

.energy-innovation-item {
    width: 23%;
    background-color: #fff;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    display: block;
    text-decoration: none;
    color: inherit;
}

.energy-innovation-item:hover .energy-innovation-text {
    color: #006d46;
}

.energy-innovation-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
}

.energy-innovation-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.energy-innovation-text {
    cursor: pointer;
    font-weight: 500;
    font-size: 20px;
    color: #333;
    line-height: 28px;
    padding: 20px 0 15px 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.energy-innovation-time {
    font-weight: 500;
    font-size: 16px;
    color: #999;
    line-height: 22px;
    padding-left: 20px;
    padding-bottom: 20px;
}

/* 友情链接 */
.energy-links-container {
    max-width: 1000px;
    margin: 30px auto;
    background-color: #f5f5f5;
    padding: 40px 50px;
    display: flex;
    align-items: center;
}

.energy-links-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-right: 60px;
    line-height: 1.4;
}

.energy-links-selects {
    flex: 1;
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.energy-links-select {
    width: 240px;
    position: relative;
}

.energy-select-box {
    width: 88%;
    height: 38px;
    line-height: 36px;
    padding: 0 15px;
    background-color: #fff;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #606266;
    position: relative;
    font-size: 14px;
}

.energy-select-box i {
    color: #c0c4cc;
    transition: transform 0.3s;
    font-size: 12px;
}

.energy-select-box.active i {
    transform: rotate(180deg);
}

.energy-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    border: 1px solid #e4e7ed;
    border-top: none;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
    z-index: 10;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
}

.energy-dropdown.show {
    max-height: 300px;
    overflow-y: auto;
}

.energy-dropdown-header {
    padding: 8px 15px;
    background-color: #f5f7fa;
    border-bottom: 1px solid #e4e7ed;
    color: #606266;
    font-weight: bold;
    font-size: 14px;
}

.energy-dropdown-item {
    padding: 8px 15px;
    cursor: pointer;
    color: #606266;
    font-size: 14px;
    text-decoration: none;
    display: block;
}

.energy-dropdown-item:hover {
    background-color: #f5f7fa;
    color: #006d46;
}



@media screen and (max-width: 768px) {
    .energy-notice-card{
        height: auto;
    }
    .energy-info{
        width: 95%;
        padding: 0 !important;
    }
    .energy-content{
        width: 95%;
        margin: 0 auto;
        flex-direction: column;
    }
    .energy-news{
        width: 100%;
    }
    .energy-news-container{
        flex-direction: column;
    }
    .energy-section-header{
        margin-top: 20px;
    }
    .energy-news-item{
        line-height: 40px;
        width: 95%;
    }
    .energy-notice{
        width: 100%;
        margin-top: 20px;
    }
    .energy-base-model-container{
        flex-direction: column;
        width: 95%;
        margin: 0 auto;
    }
    .energy-base-news{
        width: 100%;
    }
    .energy-base-content{
        font-size: 15px;
    }
    .energy-section-title{
        font-size: 22px;
    }
    .energy-model-work{
        width: 100%;
    }
    .energy-innovation-container{
        width: 95%;
        
    }
    .energy-innovation-item{
        width: 49%;
    }
    .energy-innovation-text{
        font-size: 18px;
    }
    .energy-links-container{
        width: 100%;
        padding: 20px 0;
        margin: 0;
        flex-direction: column;
    }
    .energy-links-select{
        width: 32%;
    }
    .energy-select-box{
        width: auto;
    }
    .energy-links-title{
        margin-right: 0;
        margin-bottom: 15px;
    }
    .energy-links-selects {
        flex-direction: row;
        gap: 10px;
        max-width: 95vw;
        padding: 10px 0 20px 0;
        font-size: 20px;
        width: 100%;
    }
    .energy-links-select-default {
        width: 100%;
        max-width: 100%;
        height: 30px;
    }
}

@media screen and (max-width: 375px) {
    .energy-innovation-item{
        width: 100%;
    }
}

 