﻿/* 全局样式 */
:root {
  --primary-color: #b6151d;
  --primary-dark: #74161b;
  --primary-light: #e4464d;
  --secondary-color: #e74c3c;
  --light-bg: #f8f9fa;
  --text-color: #333;
  --text-light: #777;
  --card-bg: #ffffff;
  --hover-color: #f1f5fe;
  --header-gradient: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  --button-gradient: linear-gradient(90deg, #ffd700, #ffa500);
  --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.2);
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

ul,
ol {
  list-style: none;
}

body {
  font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
  background-color: var(--light-bg);
  color: var(--text-color);
  line-height: 1.6;
  font-size: 16px;
}

a {
    color: #000000;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
}
@keyframes float {
  0%, 100% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(-20px) translateX(10px);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}


/*新增图片*/
.advertisement img{
     padding-left:10px;
}

.header-bg-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}
.container {
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
  padding: 0 15px;
}

.le_header {
  
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 0;
  position: relative;
  overflow: hidden;
}

    .le_header .tips {
        background: #c43138;
        color: white;
        text-align: center;
        padding: 12px 0;
        font-size: 16px;
        font-weight: bold;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    }

.le_header .tips i.fas {
  margin-right: 8px;
  font-size: 18px;
}

.le_header .logo {
  text-align: center;
  padding: 50px 0 15px 0;
}

    .le_header .logo span {
        font-size: 48px;
        font-weight: bold;
        color: #74161b;
        letter-spacing: 2px;
    }

.le_header .search {
  max-width: 1000px;
  margin: 20px auto;
  padding: 20px 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.le_header .search .input,
.le_header .search .city,
.le_header .search .time {
  flex: 1 1 200px;
  min-width: 0;
  position: relative;
}

.le_header .search .input::before,
.le_header .search .city::before,
.le_header .search .time::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  color: #777;
}

.le_header .search .input::before {
  content: "\f002";
  /* 搜索图标 */
}

.le_header .search .city::before {
  content: "\f3c5";
  /* 地图标记图标 */
}

.le_header .search .time::before {
  content: "\f073";
  /* 日历图标 */
}

.le_header .search input,
.le_header .search select {
  width: 100%;
  height: 46px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 0 15px 0 40px;
  /* 增加左侧内边距给图标留空间 */
  font-size: 14px;
  color: #333;
  background: #fff;
  transition: all 0.3s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.le_header .search input:focus,
.le_header .search select:focus {
  border-color: #1a4b8c;
  box-shadow: 0 0 0 2px rgba(26, 75, 140, 0.2);
  outline: none;
}

.le_header .search .button {
  flex: 0 0 auto;
  width: 100%;
  max-width: 120px;
  margin: 0 auto;
}

.le_header .search .button button {
  width: 120px;
  height: 46px;
  background: linear-gradient(90deg, #ffd700, #ffa500);
  color: #333;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.le_header .search .button button:hover {
  color: #fff;
  background: linear-gradient(90deg, #ffa500, #ffd700);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.le_header .search .button i {
  font-size: 16px;
  transition: all 0.3s;
}

.le_header .search .button button:hover i {
  color: #fff;
}

.le_menu {
    /*background: linear-gradient(to right, var(--primary-dark), var(--primary-color));*/
    background-color: #c43138;
    box-shadow: 0 4px 12px rgba(142, 68, 173, 0.2);
}

.le_menu ul {
  display: flex;
  justify-content: space-between;
  list-style: none;
  width: 100%;
}

.le_menu ul li {
  flex: 1;
  text-align: center;
}

.le_menu ul li a {
  display: block;
  color: white;
  padding: 20px 20px;
  font-weight: bold;
  transition: all 0.3s;
  font-size: 20px;
}

.le_menu ul a:hover {
  color: #fff;
  ;
  background-color: rgba(255, 255, 255, 0.1);
}



.le_row {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.le_col {
  flex: 50%;
  padding: 10px;
  margin: 0;
  width: 100%;
  ;
}

.le_col .card {
  background: var(--card-bg);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all 0.3s ease;
}

.le_col .card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.le_col .card .header {
  /*background: linear-gradient(to right, var(--primary-color), var(--primary-light));*/
  border-bottom:2px solid #cb161f;
  /*padding: 15px 20px;*/
  font-size: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

    .le_col .card .header h2 {
        border-radius:10px 10px 0 0;
        background-color: #CB161F;
        color:#fff;
        padding:5px 10px;
        position: relative;
        padding-left: 30px;
        font-size: 16px;
    }

.le_col .card .header h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 18px;
}

.le_col .card .header h2[data-icon="top"]::before {
    padding-left:10px;
  content: "\f466";
}

.le_col .card .header h2[data-icon="search"]::before {
    padding-left:10px;
  content: "\f002";
}

.le_col .card .header a {
  color: white;
  font-size: 14px;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.le_col .card .header a :hover {
  color: white;
  background-color: rgba(255, 255, 255, 0.1);
  border-color: white;
  transform: translateX(2px);
}

.le_col .card .body {
  padding: 10px;
}

/*列表类型*/
.le_col .card .list {
  list-style: none;
}

.le_col .card .list li {
  padding: 8px;
  border-bottom: 1px solid #eee;
  position: relative;
  padding-left: 20px;
  transition: background-color 0.3s ease;
  display: flex;
}

.le_col .card .list li:hover {
  background-color: var(--hover-color);
}

.le_col .card .list li:last-child {
  border-bottom: none;
}

.le_col .card .list li::before {
  content: "•";
  position: absolute;
  left: 8px;
  color: var(--primary-color);
}

.le_col .card .list li a {
  font-size: 16px;
  display: inline;
  width: calc(100% - 90px);
  overflow: hidden;
  text-overflow: ellipsis;
}

.le_col .card .list li span {
  width: 90px;
  color: var(--text-light);
}

/*快速搜索区*/
.le_col .card .quick {
  padding: 0px;
}

.le_col .card .quick .quick_title {
  font-weight: bold;
  font-size: 16px;
  border-bottom: 1px solid #efefef;
  padding: 5px;
  ;
}

.le_col .card .quick .quick_link {
  display: flex;
  flex-wrap: wrap;
  padding: 3px;
  margin: 0 -5px;
}

.le_col .card .quick .quick_link a {
  margin: 5px;
  padding: 5px 5px;
  background-color: var(--light-bg);
  border-radius: 10px;
  color: var(--text-color);
  transition: all 0.3s;
  border: 1px solid #eee;
}

.le_col .card .quick .quick_link a:hover {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}


.le_footer {
  background-color: var(--primary-dark);
  color: #aaa;
  padding: 30px 0;
  text-align: center;
}

.le_footer {
  margin-bottom: 15px;
}

.le_footer .links a {
  color: #ddd;
  margin: 0 10px;
}

.le_footer .links a:hover {
  color: var(--secondary-color);
}

.le_footer .copyright a {
  color: #ddd;
  margin: 0 5px;
  transition: color 0.3s;
}

.le_footer .copyright a:hover {
  color: white;
  text-decoration: none;
}

/*追加样式*/
/* 为不同内容列添加图标 */
.le_setico .le_col:nth-child(1) h2::before {
  padding-left:5px;
  content: "\f49e";
  /* 公告图标 */
}

.le_setico .le_col:nth-child(2) h2::before {
    padding-left: 5px;
    content: "\f1ad";
    /* 工程图标 */
}

.le_setico .le_col:nth-child(3) h2::before {
    padding-left: 5px;
    content: "\f466";
    /* 货物图标 */
}

.le_setico .le_col:nth-child(4) h2::before {
    padding-left: 5px;
    content: "\f0c0";
    /* 服务图标 */
}

.le_setico .le_col:nth-child(5) h2::before {
    padding-left: 5px;
    content: "\f0e7";
    /* 电力图标 */
}

.le_setico .le_col:nth-child(6) h2::before {
    padding-left: 5px;
    content: "\f1b3";
    /* 石油图标 */
}

/* 确保图标样式正确 */
.le_setico .le_col h2::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-right: 8px;
  font-size: 18px;
}

/* 列表页容器 */
.le_page {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

/* 左侧边栏 */
.le_left {
  flex: 0 0 300px;
  background: var(--card-bg);
  border-radius: 8px;
  padding: 10px;
  box-shadow: var(--shadow-sm);
  position: sticky;
}

.le_left .title {
  font-size: 18px;
  font-weight: bold;
  color: var(--primary-dark);
  padding: 10px 0;
  border-bottom: 2px solid var(--primary-light);
}

.le_left .category li {
  padding: 10px 0;
  border-bottom: 1px dashed #e0e0e0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all var(--transition-fast);
  position: relative;
  padding-left: 25px;
}

.le_left .category li::before {
  content: "\f054";
  /* Font Awesome右箭头图标 */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: var(--primary-color);
  transition: all var(--transition-fast);
}

.le_left .category li:hover {
  background-color: var(--hover-color);
  padding-left: 20px;
}

.le_left .category li:hover::before {
  color: var(--primary-dark);
  transform: translateY(-50%) translateX(3px);
}

.le_left .category li a {
  color: var(--text-color);
  font-size: 16px;
  transition: all var(--transition-fast);
  font-weight: bold;
}

.le_left .item li {
  position: relative;
  padding: 5px 0 5px 15px;
  border-bottom: 1px dotted #e0e0e0;

}

.le_left .item li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-size: 16px;
}




/* 右侧内容区 */
.le_right {
  flex: 1;
  padding: 10px;
  background: var(--card-bg);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  position: sticky;

}

.le_right .title {
  font-size: 18px;
  font-weight: bold;
  color: var(--primary-dark);
  padding: 10px 0;
  border-bottom: 2px solid var(--primary-light);
  position: relative;
}



/* 文章列表项 */
.le_right .item li {
  background: var(--card-bg);
  border-radius: 6px;
  box-shadow: var(--shadow-sm);
  margin: 10px 0;
  padding: 20px;
  transition: all var(--transition-normal);
}

.le_right .item li:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.le_right .item h2 {
  margin-bottom: 10px;
  background: none !important;
}

.le_right .item h2 a {
  font-size: 18px;
  color: var(--primary-dark);
  color:#000000;
  font-weight: bold;
  line-height: 1.4;
  transition: all var(--transition-fast);
}

.le_right .item h2 a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.le_right .item h3 {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed #e0e0e0;
}

.le_right .item div {
  font-size: 14px;
  color: var(--text-light);
}

.le_right .item div a {
  color: var(--text-light);
  transition: all var(--transition-fast);
}

.le_right .item div a:hover {
  color: var(--primary-color);
}

.le_desc h1 {
  font-size: 24px;
  color: var(--primary-dark);
  color:#000000;
  padding: 20px 0;
  text-align: center;
}

.le_desc .h2 {
  padding: 10px;
  text-align: center;
  background: #efefef;
  border-bottom: 1px dashed #eee;
}

.le_desc .h2 i {
  margin-right: 5px;
  color: #666060;
}

.le_desc .h2 .hits {
  margin-left: 20px;
}

.le_desc .h3 {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 30px;
  padding: 10px;
}

.le_desc .h4 {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px dashed #eee;
}

.le_desc .h4 div {
  margin-bottom: 10px;
  font-size: 15px;
}

.le_desc .h4 a {
  color: var(--primary-color);
  transition: all var(--transition-fast);
}

.le_desc .h4 a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.le_position {
  margin-top: 10px;
  padding: 10px;
}

/* 分页样式 */
.le_pages {
  text-align: center;
  margin-top: 30px;
}

.le_pages a,
.le_pages span {
  display: inline-block;
  padding: 8px 15px;
  margin: 0 3px;
  border-radius: 4px;
  background: var(--light-bg);
  color: var(--text-color);
  transition: all var(--transition-fast);
  font-size: 14px;
}

.le_pages a:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

.le_pages span.current {
  background: var(--primary-color);
  color: white;
}

@media (max-width:992px) {
  .container {
    padding: 0 10px;
  }

  .le_header .logo span {
    
    font-size: 36px;
  }

  .le_header .tips {
    display: none;
  }

  .le_header .search .input,
  .le_header .search .city,
  .le_header .search .time {
    flex: 1 1 100%;
  }

  .le_header .search .button {
    max-width: 100%;
    margin: 10px auto;
    ;
  }

  .le_header .search .button button {
    width: 100%;
  }

  .le_menu ul {
    flex-wrap: wrap;
  }

  .le_menu ul li {
    flex: 0 0 25%;
    padding: 10px;
    box-sizing: border-box;
  }

  .le_menu ul li a {
    padding: 5px 10px;
    font-size: 16px;
  }

  .le_col {
    flex: 100%;
  }
    .le_left{display:none}
}