/* 新闻列表页面样式 - 从demo文件提取 */

.newListBox {
  width: 100%;
  height: auto;
  overflow: hidden;
}

.p_news.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.newList1 {
  padding: 30px;
  background: #fafafa;
  margin-bottom: 40px;
}

.newList1 .title1 {
  font-size: 1.125rem;
  font-weight: bold;
  color: #e7463c;
  margin-bottom: 5px;
  display: block;
}

.newList1 .newSummry {
  margin-bottom: 15px;
  height: 72px;
  -webkit-line-clamp: 3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

.newList1 .newLinkBox {
  padding: 0px;
}

.newList {
  overflow: hidden;
  padding: 1rem;
  width: 100%;
  height: 140px;
  padding-bottom: 25px;
  margin-bottom: 25px;
  border-bottom: 1px solid #eaeaea;
  transition: all 0.5s ease;
  position: relative;
}

.newList:hover {
  height: 150px;
}

.newLinkBox {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  height: 100%;
  padding-right: 10%;
  overflow: hidden;
  text-decoration: none;
}

.leftTimeBox {
  width: 80px;
  height: 98px;
  background: #f5f5f5;
  text-align: center;
  font-family: arial;
  transition: all 0.5s ease;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.newData {
  font-size: 2.75rem;
  line-height: 46px;
  color: #e7463c;
  padding-top: 15px;
  font-weight: bold;
}

.newYearMon {
  color: #e7463c;
  font-size: 13px;
}

.newList:hover .leftTimeBox {
  background: #e7463c;
  color: #fff;
}

.newList:hover .newData {
  color: #fff;
}

.newList:hover .newYearMon {
  color: #fff;
}

.centerContentBox {
  width: calc((100% - 80px) / 1);
  padding-left: 3%;
  flex: 1;
  min-width: 0;
}

.newTitle {
  font-size: 1rem;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  transition: all 0.5s ease;
  color: #333;
  margin: 0 0 10px 0;
  line-height: 1.5;
}

.newList:hover .newTitle {
  color: #e7463c;
}

.newToolBox {
  margin: 5px 0;
  color: #b4b4b4;
}

.data1 {
  font-size: 13px;
  color: #999;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.icontime {
  font-size: 12px;
  color: #ccc;
}

.newSummry {
  line-height: 24px;
  height: 48px;
  overflow: hidden;
  color: #565656;
  font-size: 14px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.rightIcon {
  position: absolute;
  top: 50%;
  right: 0px;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 20px;
  overflow: hidden;
  flex-shrink: 0;
}

.whiteIcon {
  opacity: 1;
}

.redIcon {
  opacity: 0;
}

.newList:hover .redIcon {
  opacity: 1;
}

.newList:hover .whiteIcon {
  opacity: 0;
}

.rIcon {
  width: 40px;
  height: 40px;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.3s ease;
}

.readMore {
  display: block;
  float: none;
  width: 130px;
  height: 30px;
  padding: 0px;
  color: #e7463c;
  line-height: 30px;
  border: 1px solid #e7463c;
  transition: all 0.3s ease;
  text-align: center;
  font-size: 14px;
  margin-top: 10px;
}

.readMore:hover {
  background: #e7463c;
  color: #fff;
}

.readIcon {
  font-size: 12px;
  margin-left: 5px;
}

.e_pagebox {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px 0;
  gap: 5px;
}

.e_pagebox .pageNum,
.e_pagebox .pre,
.e_pagebox .next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 10px;
  border: 1px solid #e8e8e8;
  border-radius: 0;
  cursor: pointer;
  font-size: 13px;
  color: #666;
  background: #fff;
  transition: all 0.3s ease;
  user-select: none;
}

.e_pagebox .pageNum:hover,
.e_pagebox .pre:hover,
.e_pagebox .next:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
  color: #333;
}

.e_pagebox .pageNum.active {
  background: #333;
  border-color: #333;
  color: #fff;
}

#w_grid-1626918468445 {
  background-color: #2a2a2a !important;
  padding: 40px 0 20px !important;
}

#w_grid-1626918468445 .w_grid,
#w_grid-1626918468445 > div,
#w_grid-1626918468445 .p_gridbox,
#w_grid-1626918468445 .e_box,
#w_grid-1626918468445 .p_gridCell {
  background-color: transparent !important;
}

#w_fline-1648446311444 {
  height: 1px !important;
  min-height: 1px !important;
  max-height: 1px !important;
}

#w_fline-1648446311444 .p_FLine,
#w_fline-1648446311444 .e_Hline-001,
#w_fline-1648446311444 .w_fline {
  height: 1px !important;
  min-height: 1px !important;
  max-height: 1px !important;
  background-color: #3a3a3a !important;
  border-top: 1px solid #3a3a3a !important;
  border-bottom: none !important;
  border-left: none !important;
  border-right: none !important;
}

@media only screen and (max-width: 768px) {
  .newListBox {
    padding: 20px 0 40px;
  }

  .p_news.container {
    padding: 0 15px;
  }

  .newList1 {
    padding: 20px;
    margin-bottom: 30px;
  }

  .newList1 .title1 {
    font-size: 1rem;
  }

  .newList {
    height: 110px;
    padding: 0 0 5px 0;
  }

  .leftTimeBox {
    display: none;
  }

  .centerContentBox {
    width: 100%;
    padding-left: 0;
  }

  .newTitle {
    font-size: 0.9rem;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .rightIcon {
    display: none;
  }

  .newSummry {
    display: none;
  }

  #w_grid-1626918468445 {
    padding: 30px 15px 15px !important;
  }
}

@media only screen and (max-width: 480px) {
  .newList1 .title1 {
    font-size: 0.9rem;
  }

  .newTitle {
    font-size: 0.85rem;
  }
}

@media only screen and (max-width: 768px) {
  [data-vhide768="true"] {
    display: none !important;
  }
}

.e_pagebox .pre.disabled,
.e_pagebox .next.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.e_pagebox a {
  text-decoration: none;
}

.yx_PageNav {
  max-width: 1168px !important;
  margin: 0 auto !important;
  width: 100% !important;
}

#w_grid-1626918468445 {
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
}

#w_grid-1626918468445 .p_gridbox {
  max-width: 1168px !important;
  margin: 0 auto !important;
  width: 100% !important;
}

.p_NewsDetail {
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 0 60px;
}

.p_topBox {
  margin-bottom: 30px;
}

.p_topBox .p_header {
  margin-bottom: 15px;
}

.yx_New_Title {
  font-size: 24px;
  font-weight: bold;
  color: #222;
  line-height: 1.5;
  margin: 0 0 15px;
  font-family: Microsoft YaHei, "微软雅黑", sans-serif;
}

.p_dataSource {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 12px 0;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  margin-bottom: 20px;
  font-size: 14px;
  color: #666;
}

.p_dataSource li {
  list-style: none;
}

.p_dataSource .i_sort,
.p_dataSource .i_pubDate,
.p_dataSource .i_pvs {
  color: #999;
}

/* 让最后一个元素居右 */
.p_dataSource li:last-child {
  margin-left: auto;
  margin-right: 20px;
}

.p_summary {
  font-size: 14px;
  color: #555;
  background: #f8f8f8;
  padding: 12px 15px;
  border-left: 3px solid var(--yx_Color, #65be3a);
  margin-bottom: 20px;
  line-height: 1.8;
}

.p_articles {
  font-size: 15px;
  line-height: 2;
  color: #333;
  padding: 20px 0;
}

.p_articles p {
  margin-bottom: 16px;
  font-family: Microsoft YaHei, "微软雅黑", sans-serif;
}

.p_articles img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 16px auto;
}

.p_articles h1,
.p_articles h2,
.p_articles h3,
.p_articles h4,
.p_articles h5,
.p_articles h6 {
  margin: 24px 0 12px;
  font-family: Microsoft YaHei, "微软雅黑", sans-serif;
  font-weight: bold;
}

.p_articles h3 {
  font-size: 18px;
  color: #222;
}

.p_articles h4 {
  font-size: 16px;
  color: #333;
}

.p_articles strong {
  font-weight: bold;
}

.p_PrevAndNext {
  display: flex;
  border-top: 1px solid #e5e5e5;
  padding-top: 20px;
  margin-top: 30px;
}

.p_PrevAndNext .p_previewBox,
.p_PrevAndNext .p_nextBox {
  flex: 1;
  font-size: 14px;
  background-color: #f5f5f5 !important;
  padding: 12px 15px;
  display: flex !important;
  align-items: center;
  gap: 5px;
}

.p_PrevAndNext .p_nextBox {
  justify-content: flex-end;
}

.p_PrevAndNext .p_previewBox .i_title,
.p_PrevAndNext .p_previewBox .p_PreviewTitle,
.p_PrevAndNext .p_previewBox a,
.p_PrevAndNext .p_nextBox .i_title,
.p_PrevAndNext .p_nextBox .p_PreviewTitle,
.p_PrevAndNext .p_nextBox a {
  display: inline !important;
  white-space: nowrap;
}

.p_PrevAndNext .i_title {
  color: #999;
  font-size: 12px;
}

.p_PrevAndNext .p_PreviewTitle {
  color: #333;
  font-size: 14px;
  display: block;
  margin-top: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.p_PrevAndNext .p_PreviewTitle a {
  color: #333;
  text-decoration: none;
  font-family: Microsoft YaHei, "微软雅黑", sans-serif;
}

.p_PrevAndNext .p_PreviewTitle a:hover {
  color: var(--yx_Color, #65be3a);
}

.p_PrevAndNext .i_non {
  color: #ccc;
}

.p_PrevAndNextMo {
  display: none;
}

.yx_BreadBox .p_breadcrumbList {
  display: flex !important;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0;
  font-size: 14px;
  color: #666;
}

.yx_BreadBox .p_breadcrumbList .e_breadcrumb,
.yx_BreadBox .p_breadcrumbList .e_title {
  display: inline-block !important;
}

.yx_BreadBox .p_breadcrumbList .e_box {
  display: inline-flex !important;
  align-items: center;
}

.yx_BreadBox .p_breadcrumbList .e_box .font {
  display: inline !important;
}

.p_breadcrumbList a {
  color: #666;
  text-decoration: none;
}

.p_breadcrumbList a:hover {
  color: var(--yx_Color, #65be3a);
}

.p_breadcrumbCurrent .font span {
  color: #999;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 300px;
  display: inline-block;
}

.e_breadcrumb {
  display: inline-block !important;
}

.e_title.p_end {
  display: inline-block !important;
  margin: 0 5px;
  color: #ccc;
}

@media only screen and (max-width: 768px) {
  .p_NewsDetail {
    padding: 20px 15px 40px;
  }

  .p_breadcrumbList {
    flex-wrap: wrap;
    gap: 5px;
  }

  .p_breadcrumbCurrent .font span {
    max-width: 200px;
  }

  .yx_New_Title {
    font-size: 18px;
  }

  .p_PrevAndNext {
    display: none;
  }

  .p_PrevAndNextMo {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .p_PrevAndNextMo .p_previewBox,
  .p_PrevAndNextMo .p_nextBox {
    background-color: #f5f5f5 !important;
  }
}
