/* 小于750px 手机*/
@media screen and (max-width: 750px) {
  .main_section_contain {
    width: 100%;
  }
  .main_section_contain .news_item {
    width: 100%;
    margin-top: 0.16rem;
    padding-bottom: 0.16rem;
    border-bottom: 1px solid #e5e5e5;
  }
  .main_section_contain .news_item h3 {
    font-size: 0.16rem;
    margin-bottom: 0.16rem;
  }
  .main_section_contain .news_item .news_details {
    font-size: 0.14rem;
  }
  .main_section_contain .news_item .news_details a {
    width: 100%;
    position: relative;
    display: block;
  }
  .main_section_contain .news_item .news_details a img {
    width: 0.2rem;
    height: 0.14rem;
    margin-left: 0.1rem;
    position: absolute;
    top: 0;
    right: 0;
  }
  .main_section_contain .news_item .news_details a p {
    width: calc(100% - 0.28rem);
    margin-bottom: 0.1rem;
    cursor: pointer;
    white-space: nowrap;
    /* 保证文本不换行 */
    overflow: hidden;
    /* 隐藏超出容器的文本 */
    text-overflow: ellipsis;
    /* 使用省略号表示被截断的文本 */
  }
  .main_section_contain .news_item .news_details a:hover p {
    color: #8b6825;
  }
}
@media screen and (min-width: 750px) {
  /*  PC ,只需要从内容里面自己取类名的地方开始写就就可以了 */
  .main_section_contain {
    width: 100%;
    border-top: 1px solid #e5e5e5;
    font-size: 20px;
  }
  .main_section_contain .news_item {
    width: 100%;
    margin-top: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e5e5e5;
  }
  .main_section_contain .news_item h3 {
    font-size: 20px;
    margin-bottom: 26px;
  }
  .main_section_contain .news_item .news_details a {
    display: flex;
    justify-content: space-between;
    cursor: pointer;
  }
  .main_section_contain .news_item .news_details a img {
    width: 30px;
    height: 24px;
    margin: 0 10px;
  }
  .main_section_contain .news_item .news_details a p {
    width: calc(100% - 180px);
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .main_section_contain .news_item .news_details a span {
    font-size: 20px;
    min-width: 114px;
  }
  .main_section_contain .news_item .news_details a:hover p {
    color: #8b6825;
  }
}
