/* 信息栏 */
.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;
}

.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: #00b373; */
    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;
}

.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;
}


/* 自定义下拉容器 */
.custom-select {
  position: relative;
  width: 200px; /* 与原select宽度一致 */
  cursor: pointer;
  font-size: 14px;
  background-color: #fff;
}

/* 下拉触发框（模拟原select外观） */
.custom-select-trigger {
  width: 90%;
  height: 100%;
  border-radius: 4px;
  background: #fff;
  transition: border-color 0.3s;
  line-height: 40px;
  font-weight: 400;
  float: left;
}
.custom-select-trigger:hover {
  border-color: #00b373;
}

.custom-select-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 200px;
  overflow-y: auto;
  border: 1px solid #ddd;
  border-top: none;
  border-radius: 0 0 4px 4px;
  background: #fff;
  display: none;
  z-index: 99;
}

/* 下拉选项（完全自定义悬停样式） */
.custom-option {
  padding: 8px 12px;
  transition: all 0.2s;
}

/* 鼠标悬停样式 */
.custom-option:hover {
  background-color: #f5f5f5; 
  padding-left: 15px;
}

/* 展开状态 */
.custom-select.active .custom-select-options {
  display: block;
}

.custom-option-active {
  color: #409eff;
}

.zfw-select-svg{
	height: 1em;
    width: 1em;
    float: right;
    padding-top: 13px;
}

.active-svg svg{
	 transform: rotate(180deg);
  /* 兼容360兼容模式（IE9+）的-ms-前缀 */
  -ms-transform: rotate(180deg);
  /* 可选：保留元素原有布局位置（避免翻转后位移） */
  transform-origin: center center;
  -ms-transform-origin: center center;
}

.energy-links-select-default {
  width: 240px;
  height: 40px;
  border: 1px solid #c0c4cc;
  border-radius: 3px;
  color: #606266;
  padding: 0 10px;
}

/* 移动端适配样式 */
@media screen and (max-width: 1200px) {
    .energy-content {
        max-width: 95%;
    }
    .energy-news {
        width: 75%;
    }
    .energy-notice {
        width: 23%;
    }
    .energy-carousel-container {
        width: calc(100% - 350px);
    }
    .energy-news-list {
        width: 350px;
    }
    .energy-innovation-item {
        width: 24%;
    }
}

@media screen and (max-width: 992px) {
    .energy-content {
        flex-direction: column;
    }
    .energy-news {
        width: 100%;
    }
    .energy-notice {
        width: 100%;
        margin-top: 20px;
    }
    .energy-carousel-container {
        width: 50%;
    }
    .energy-news-list {
        width: 50%;
    }
    .energy-base-model-container {
        max-width: 95%;
    }
    .energy-innovation-container {
        max-width: 95%;
    }
    .energy-links-container {
        padding: 30px 20px;
    }
    .energy-links-select {
        width: 22%;
    }
}

@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;
        margin-top: 20px;
    }
    .energy-news{
        width: 100%;
    }
    .energy-news-container{
        flex-direction: column;
    }
    .energy-carousel-container {
        width: 100%;
        height: 220px;
        margin-bottom: 15px;
    }
    .swiper-slide {
        height: 220px;
    }
    .energy-section-header{
        margin-top: 20px;
        width: 95%;
        margin-left: auto;
        margin-right: auto;
    }
    .energy-news-list {
        width: 100%;
        padding: 10px 0;
        box-shadow: none;
        border: 1px solid #e0e0e0;
        border-radius: 4px;
    }
    .energy-news-item{
        line-height: 40px;
        width: 95%;
        font-size: 16px;
    }
    .energy-notice{
        width: 100%;
        margin-top: 20px;
    }
    .energy-base-model-container{
        flex-direction: column;
        width: 95%;
        margin: 20px auto 0;
    }
    .energy-base-news{
        width: 100%;
        margin-bottom: 20px;
    }
    .energy-base-content{
        font-size: 15px;
        width: 70%;
        margin-right: 10px;
    }
    .energy-section-title{
        font-size: 22px;
        padding-left: 20px;
    }
    .energy-section-title::before {
        width: 120px;
    }
    .energy-model-work{
        width: 100%;
    }
    .energy-base-header {
        width: 95%;
        margin-left: auto;
        margin-right: auto;
    }
    .energy-base-title {
        font-size: 22px;
        padding-left: 20px;
    }
    .energy-base-title::before {
        width: 120px;
    }
    .energy-innovation-container{
        width: 95%;
        margin: 20px auto 0;
    }
    .energy-innovation-header {
        width: 95%;
        margin-left: auto;
        margin-right: auto;
    }
    .energy-innovation-title {
        font-size: 22px;
        padding-left: 20px;
    }
    .energy-innovation-title::before {
        width: 120px;
    }
    .energy-innovation-item{
        width: 49%;
    }
    .energy-innovation-text{
        font-size: 18px;
        padding: 15px 0 10px 15px;
    }
    .energy-innovation-time {
        padding-left: 15px;
        padding-bottom: 15px;
        font-size: 14px;
    }
    .energy-innovation-image {
        height: 120px;
    }
    .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;
        padding-left: 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;
    }
    .custom-select {
        width: 94% !important;
    }
    .energy-base-date {
        width: 25%;
        font-size: 13px;
    }
}

@media screen and (max-width: 480px) {
    .energy-carousel-container {
        height: 180px;
    }
    .swiper-slide {
        height: 180px;
    }
    .energy-news-item {
        line-height: 35px;
        font-size: 15px;
    }
    .energy-notice-header {
        font-size: 16px;
        padding-left: 35px;
    }
    .energy-notice-title {
        font-size: 13px;
    }
    .energy-base-item {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 10px;
        padding-bottom: 10px;
        border-bottom: 1px dashed #eee;
    }
    .energy-base-item:last-child {
        border-bottom: none;
    }
    .energy-base-content {
        width: 100%;
        margin-right: 0;
        padding-left: 15px;
        margin-bottom: 5px;
    }
    .energy-base-date {
        width: 100%;
        text-align: left;
        padding-left: 15px;
    }
    .energy-innovation-text {
        font-size: 16px;
    }
    .energy-links-selects {
        flex-direction: column;
        gap: 15px;
        padding: 10px 15px 20px;
    }
    .energy-links-select {
        width: 100%;
    }
    .energy-select-box {
        width: 100%;
    }
    .energy-links-select-default {
        width: 100%;
        height: 38px;
    }
}

@media screen and (max-width: 375px) {
    .energy-innovation-item{
        width: 100%;
    }
    .energy-innovation-image {
        height: 140px;
    }
    .energy-section-title, .energy-base-title, .energy-innovation-title {
        font-size: 20px;
    }
    .energy-section-title::before, .energy-base-title::before, .energy-innovation-title::before {
        width: 100px;
    }
}