/* 信息栏 */
.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: 284px;
  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-list a:last-child .energy-news-item {
  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;
  display: flex;
  align-items: center;
}

.energy-notice-icon {
  width: 24px;
  height: 24px;
  margin-right: 8px;
}

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

.energy-notice-item {
  display: block;
  padding: 9px 15px;
  padding-left: 30px;
  position: relative;
  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;
  margin-right: 30px;
  display: block;
  text-decoration: none;
  color: inherit;
}
.energy-innovation-item:last-child {
  margin-right: 0px !important;
}

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

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

.energy-links-select-default option:disabled {
    background-color: #f5f7fa;
    color: #409eff;
	font-weight: 700;
}

.energy-links-select-default option:checked {
    background-color: #f5f7fa;
    color: #409eff;
	font-weight: 700;
}

.energy-links-select option:hover {
    background-color: #f5f7fa !important;
    color: #606266 !important;
}

.energy-links-select-default option:hover {
  background-color: red !important; /* 悬停背景色 */
  color: #fff !important; /* 悬停文字色 */
}


/* 自定义下拉容器 */
.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;
  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-bottom: none;
  border-radius: 0 0 4px 4px;
  background: #fff;
  display: none;
  z-index: 99;
  transform: translateY(-100%);
}

/* 下拉选项（完全自定义悬停样式） */
.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;
}

/* 补充完整移动端自适应样式 */
@media screen and (max-width: 768px) {
    /* 全局重置 */
    * {
        box-sizing: border-box;
    }
    body {
        overflow-x: hidden;
    }
    
    /* 信息栏适配 */
    .energy-info {
        max-width: 100%;
        margin: 10px auto 0;
        padding: 0 15px;
        font-size: 13px;
    }
    
    /* 新闻内容区域适配 */
    .energy-content {
        max-width: 100%;
        margin: 15px auto;
        padding: 0 15px;
        flex-direction: column;
        margin-top: 20px;
    }
    
    .energy-news {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .energy-carousel-container {
        width: 100%;
        height: 200px;
        margin-bottom: 15px;
    }
    
    .swiper-slide {
        height: 200px;
    }
    
    .energy-news-list {
        width: 100%;
        padding-left: 0;
        box-shadow: none;
        padding: 0;
    }
    
    .energy-news-item {
        height: auto;
        line-height: 35px;
        font-size: 16px;
        width: 100%;
        padding: 0 5px;
    }
    
    .energy-notice {
        width: 100%;
        margin-top: 20px;
    }
    
    .energy-notice-card {
        height: auto !important; /* 原有固定高度需强制覆盖 */
        margin-bottom: 20px;
    }
    
    .energy-notice-header {
        font-size: 16px;
    }
    
    .energy-notice-item {
        padding: 8px 15px;
        padding-left: 25px;
    }
    
    .energy-notice-title {
        font-size: 14px;
    }
    
    /* 标题栏适配 */
    .energy-section-header,
    .energy-base-header,
    .energy-innovation-header {
        margin-bottom: 10px;
        padding: 0 5px;
    }
    
    .energy-section-title,
    .energy-base-title,
    .energy-innovation-title {
        font-size: 20px;
        padding-left: 15px;
        padding-bottom: 8px;
    }
    
    .energy-section-title::before,
    .energy-base-title::before,
    .energy-innovation-title::before {
        width: 100px;
        height: 3px;
    }
    
    .energy-more-link,
    .energy-base-more,
    .energy-innovation-more {
        font-size: 14px;
    }
    
    /* 基层动态和劳模工作适配 */
    .energy-base-model-container {
        max-width: 100%;
        margin: 15px auto 0;
        padding: 0 15px;
        flex-direction: column;
        gap: 20px;
    }
    
    .energy-base-news,
    .energy-model-work {
        width: 100%;
    }
    
    .energy-base-item {
        margin-bottom: 10px;
        line-height: 35px;
    }
    
    .energy-base-content {
        width: 70%;
        margin-right: 0;
        font-size: 15px;
        padding-left: 12px;
    }
    
    .energy-base-date {
        width: 30%;
        font-size: 13px;
    }
    
    /* 渝工创新适配 */
    .energy-innovation-container {
        max-width: 100%;
        margin: 15px auto 0;
        padding: 0 15px;
    }
    
    .energy-innovation-grid {
        justify-content: space-between;
        margin-bottom: 15px;
    }
    
    .energy-innovation-item {
        width: 48%;
        margin-right: 0 !important; /* 原有margin-right需强制覆盖 */
        margin-bottom: 15px;
    }
    
    .energy-innovation-image {
        height: 120px;
    }
    
    .energy-innovation-text {
        font-size: 16px;
        padding: 15px 0 10px 15px;
        line-height: 24px;
    }
    
    .energy-innovation-time {
        font-size: 14px;
        padding-left: 15px;
        padding-bottom: 15px;
    }
    
    /* 友情链接适配 */
    .energy-links-container {
        max-width: 100%;
        margin: 15px auto;
        padding: 20px 15px;
        flex-direction: column;
        background-color: #f5f5f5;
    }
    
    .energy-links-title {
        margin-right: 0;
        margin-bottom: 15px;
        font-size: 16px;
        text-align: center;
        width: 100%;
    }
    
    .energy-links-selects {
        flex-direction: column;
        gap: 15px;
        max-width: 100%;
        padding: 0;
        font-size: 14px;
        width: 100%;
    }
    
    .energy-links-select,
    .custom-select {
        width: 100%;
    }
    
    .energy-select-box,
    .custom-select-trigger {
        height: 36px;
        line-height: 34px;
        font-size: 14px;
    }
    
    .energy-links-select-default {
        width: 100%;
        height: 36px;
        font-size: 14px;
    }
    
    /* 自定义下拉适配 */
    .custom-select-options {
        max-height: 150px;
    }
    
    .custom-option {
        padding: 6px 12px;
        font-size: 14px;
    }
	
	.zfw-select-svg {
        height: 0.9em;
        width: 0.9em;
        padding-top: 10px;
    }
    
    .active-svg svg {
        transform: rotate(180deg);
        -ms-transform: rotate(180deg);
        transform-origin: center center;
        -ms-transform-origin: center center;
    }
}

@media screen and (max-width: 480px) {
    /* 小屏精细化适配 */
    .energy-carousel-container {
        height: 180px;
    }
    
    .swiper-slide {
        height: 180px;
    }
    
    .energy-news-item {
        line-height: 30px;
        font-size: 15px;
    }
    
    .energy-innovation-item {
        width: 100% !important; /* 480px下需强制改为100%宽度 */
        margin-bottom: 15px;
    }
    
    .energy-innovation-image {
        height: 150px;
    }
    
    .energy-innovation-text {
        font-size: 15px;
        padding: 10px 0 8px 10px;
    }
    
    .energy-innovation-time {
        font-size: 13px;
        padding-left: 10px;
        padding-bottom: 10px;
    }
    
    .energy-base-content {
        font-size: 14px;
    }
    
    .energy-section-title,
    .energy-base-title,
    .energy-innovation-title {
        font-size: 18px;
    }
	.zfw-select-svg {
        height: 0.8em;
        width: 0.8em;
        padding-top: 9px;
    }
}