@media (max-width: 767.98px) {
  html {
    font-size: calc(100vw / 18);
  }
}
@media (min-width: 768px) and (max-width: 1921.99px) {
  html {
    font-size: calc(100vw / 19.2);
  }
}
@media (min-width: 1922px) and (max-width: 4000px) {
  html {
    font-size: calc(100vw / 22.4);
  }
}
/* 手机 */
@media (max-width: 767.98px) {
  body {
    background: linear-gradient(116deg, #ffffff 0%, #e3f0fa 100%);
    width: 100%;
    height: 100%;
  }
  /* 新闻列表 */
  .newslist {
    width: 100%;
    min-height: 100vh;
    padding: 4.66666667rem 0 2.4rem;
    box-sizing: border-box;
  }
  .newslist .w-1500 {
    width: 90%;
    margin: 0 auto;
  }
  .newslist .w-1500 .newsnav {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.8rem;
    border-bottom: 0.06666667rem solid rgba(201, 221, 235, 0.705);
    padding: 0 0 1.2rem;
    margin-bottom: 2rem;
  }
  .newslist .w-1500 .newsnav h3 {
    font-size: 0.93333333rem;
    line-height: 1.4;
    color: #1768d9;
    font-weight: normal;
    white-space: nowrap;
  }
  .newslist .w-1500 .newsnav .erjinav {
    display: flex;
    align-items: center;
    gap: 0.4rem;
  }
  .newslist .w-1500 .newsnav .erjinav a {
    font-size: 0.6rem;
    color: #173f5a;
    padding: 0.4rem 0.73333333rem;
    border-radius: 66.6rem;
    white-space: nowrap;
    transition: color 0.25s ease, background-color 0.25s ease;
  }
  .newslist .w-1500 .newsnav .erjinav a.active,
  .newslist .w-1500 .newsnav .erjinav a:active {
    background-color: #1768d9;
    color: #fff;
  }
  .newslist .w-1500 .list {
    width: 100%;
  }
  .newslist .w-1500 .list .listasncsuiabc {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }
  .newslist .w-1500 .list .listasncsuiabc .navcont {
    width: 100%;
    height: auto;
    background-color: #fff;
    box-shadow: 0 0.13333333rem 0.53333333rem rgba(0, 0, 0, 0.08);
    border-radius: 1.06666667rem;
    padding: 1rem;
    overflow: hidden;
  }
  .newslist .w-1500 .list .listasncsuiabc .navcont .dinfvutitigt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.66666667rem;
    margin-bottom: 1.06666667rem;
  }
  .newslist .w-1500 .list .listasncsuiabc .navcont .dinfvutitigt span {
    display: block;
    padding: 0.33333333rem 0.86666667rem;
    color: #004d8d;
    background-color: #e9f3fa;
    border-radius: 66.6rem;
    font-size: 0.6rem;
    white-space: nowrap;
  }
  .newslist .w-1500 .list .listasncsuiabc .navcont .dinfvutitigt p {
    color: #7e909d;
    font-size: 0.66666667rem;
    line-height: 1;
    white-space: nowrap;
  }
  .newslist .w-1500 .list .listasncsuiabc .navcont h3 {
    margin: 0;
    font-weight: normal;
    color: #004d8d;
    font-size: 0.66666667rem;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }
  .newslist .w-1500 .list .listasncsuiabc .navcont .thuimg {
    position: relative;
    width: 100%;
    height: auto;
    margin-top: 1.06666667rem;
    padding-top: 1.06666667rem;
  }
  .newslist .w-1500 .list .listasncsuiabc .navcont .thuimg img {
    width: 100%;
    height: auto;
    aspect-ratio: 400 / 250;
    object-fit: cover;
    border-radius: 0.8rem;
  }
  .newslist .w-1500 .list .listasncsuiabc .navcont .thuimg::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 0.06666667rem;
    background-color: rgba(201, 221, 235, 0.705);
  }
  .newslist .w-1500 .list .plistphhpk {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2rem;
    font-size: 0.53333333rem;
  }
  .newslist .w-1500 .list .plistphhpk a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2rem;
    color: #587b96;
    background-color: rgba(255, 255, 255, 0.8);
    border: 0.06666667rem solid #d5e1ec;
    border-radius: 0.4rem;
    box-sizing: border-box;
    white-space: nowrap;
    transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
  }
  .newslist .w-1500 .list .plistphhpk a.active,
  .newslist .w-1500 .list .plistphhpk a:active {
    color: #fff;
    background-color: #1768d9;
    border-color: #1768d9;
  }
  .newslist .w-1500 .list .plistphhpk .page-turn {
    min-width: 2.66666667rem;
    padding: 0 0.53333333rem;
  }
  .newslist .w-1500 .list .plistphhpk .page-number {
    width: 1.73333333rem;
  }
  .newslist .w-1500 .list .plistphhpk .page-ellipsis {
    color: #88a9bd;
    line-height: 2rem;
  }
}
/* pc */
@media (min-width: 768px) {
  body {
    background: linear-gradient(116deg, #ffffff 0%, #e3f0fa 100%);
    width: 100%;
    height: 100%;
  }
  /* 新闻列表 */
  .newslist {
    width: 100%;
    height: 100%;
    padding: 1.5rem 0 1.1rem;
  }
  .newslist .w-1500 {
    width: 15rem;
    margin: 0 auto;
  }
  .newslist .w-1500 .newsnav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 0.01rem solid rgba(201, 221, 235, 0.705);
    padding: 0.35rem 0;
    margin-bottom: 0.8rem;
  }
  .newslist .w-1500 .newsnav h3 {
    font-size: 0.3rem;
    color: #1768d9;
  }
  .newslist .w-1500 .newsnav .erjinav {
    display: flex;
    gap: 0.3rem;
  }
  .newslist .w-1500 .newsnav .erjinav a {
    font-size: 0.16rem;
    color: #173f5a;
    padding: 0.05rem 0.2rem;
    transition: all 0.5s;
  }
  .newslist .w-1500 .newsnav .erjinav a.active {
    background-color: #1768d9;
    border-radius: 1rem;
    color: #fff;
  }
  .newslist .w-1500 .newsnav .erjinav a:hover {
    background-color: #1768d9;
    border-radius: 1rem;
    color: #fff;
    transition: all 0.5s;
  }
  .newslist .w-1500 .list {
    width: 100%;
    height: 100%;
  }
  .newslist .w-1500 .list .listasncsuiabc {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
  }
  .newslist .w-1500 .list .listasncsuiabc .navcont {
    width: 4.5rem;
    height: 5rem;
    background-color: #fff;
    box-shadow: 0 0.02rem 0.05rem 0 rgba(0, 0, 0, 0.1);
    border-radius: 0.16rem;
    padding: 0.25rem;
  }
  .newslist .w-1500 .list .listasncsuiabc .navcont .dinfvutitigt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
  }
  .newslist .w-1500 .list .listasncsuiabc .navcont .dinfvutitigt span {
    display: block;
    font-size: 0.16rem;
    padding: 0.05rem 0.15rem;
    color: #004d8d;
    background-color: #e9f3fa;
    border-radius: 9.99rem;
  }
  .newslist .w-1500 .list .listasncsuiabc .navcont .dinfvutitigt p {
    color: #7e909d;
    font-size: 0.16rem;
  }
  .newslist .w-1500 .list .listasncsuiabc .navcont h3 {
    font-weight: normal;
    color: #004d8d;
    font-size: 0.24rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }
  .newslist .w-1500 .list .listasncsuiabc .navcont .thuimg {
    position: relative;
    margin-top: 0.35rem;
    width: 4rem;
    height: 2.5rem;
    padding-top: 0.35rem;
    overflow: hidden;
    transition: all 0.5s;
  }
  .newslist .w-1500 .list .listasncsuiabc .navcont .thuimg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.16rem;
    transition: all 0.5s;
    transform: scale(1);
  }
  .newslist .w-1500 .list .listasncsuiabc .navcont .thuimg::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 0.01rem;
    background-color: rgba(201, 221, 235, 0.705);
  }
  .newslist .w-1500 .list .listasncsuiabc .navcont .thuimg:hover img {
    transform: scale(1.05);
  }
  .newslist .w-1500 .list .plistphhpk {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.22rem;
    margin-top: 0.8rem;
    font-size: 0.16rem;
  }
  .newslist .w-1500 .list .plistphhpk a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 0.38rem;
    color: #587b96;
    background-color: rgba(255, 255, 255, 0.8);
    border: 0.01rem solid #d5e1ec;
    border-radius: 0.07rem;
    box-sizing: border-box;
    transition: all 0.3s;
  }
  .newslist .w-1500 .list .plistphhpk a:hover,
  .newslist .w-1500 .list .plistphhpk a.active {
    color: #fff;
    background-color: #1768d9;
    border-color: #1768d9;
  }
  .newslist .w-1500 .list .plistphhpk .page-turn {
    min-width: 0.74rem;
    padding: 0 0.15rem;
  }
  .newslist .w-1500 .list .plistphhpk .page-number {
    width: 0.4rem;
  }
  .newslist .w-1500 .list .plistphhpk .page-ellipsis {
    color: #88a9bd;
    line-height: 0.38rem;
  }
}

/* ---- CMS 补充（静态页没有） ---- */
/* 分类切换条：后台加了分类、一行放不下时，切换条自己横向滑动，不把页面撑出横向滚动；滑动条不显示。
   高亮那一项由 assets/js/newslist.js 滑进可见范围 */
.newslist .w-1500 .newsnav .erjinav {
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.newslist .w-1500 .newsnav .erjinav::-webkit-scrollbar {
  display: none;
}
/* 分页：第一页的「上一页」、最后一页的「下一页」照设计稿常显示，但不可点：变淡，鼠标移上、按下都不变色。
   不用 pointer-events: none——可视化编辑里还要能点到按钮文字来改 */
.newslist .w-1500 .list .plistphhpk a.is-disabled,
.newslist .w-1500 .list .plistphhpk a.is-disabled:hover,
.newslist .w-1500 .list .plistphhpk a.is-disabled:active {
  opacity: 0.45;
  cursor: default;
  color: #587b96;
  background-color: rgba(255, 255, 255, 0.8);
  border-color: #d5e1ec;
}
/* 分类下还没有已发布的新闻时的提示（views/pages/article-list.blade.php） */
.newslist .hy-news-list-empty {
  margin: 0;
  padding: 1rem 0;
  text-align: center;
  color: #7e909d;
  font-size: 0.2rem;
  line-height: 1.6;
}
@media (max-width: 767.98px) {
  .newslist .hy-news-list-empty {
    padding: 3rem 0;
    font-size: 0.66666667rem;
  }
}
/* 栏目名改用 h1（页面主标题，10-26）：样子照静态页的 h3 */
@media (max-width: 767.98px) {
  .newslist .w-1500 .newsnav h1 {
    font-size: 0.93333333rem;
    line-height: 1.4;
    color: #1768d9;
    font-weight: normal;
    white-space: nowrap;
  }
}
@media (min-width: 768px) {
  .newslist .w-1500 .newsnav h1 {
    font-size: 0.3rem;
    color: #1768d9;
  }
}
