.home {
  color: #333;
  background: #f5f5f5;
}
.homeBanner {
  position: relative;
  height: 3.5rem;
  overflow: hidden;
  color: #fff;
}
.homeBanner .swiper-slide {
  position: relative;
  overflow: hidden;
}
.homeBanner .swiper-slide > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.62);
}
.bannerText {
  position: absolute;
  top: 1.05rem;
  right: 0;
  left: 0;
}
.bannerText h1 {
  font-size: 0.56rem;
  line-height: 0.78rem;
  font-family: "PingFang SC";
  font-weight: 600;
}
.bannerText p {
  margin-top: 0.2rem;
  font-size: 0.32rem;
  line-height: 0.45rem;
  font-family: "PingFang SC";
  font-weight: 400;
}
.bannerDots.swiper-pagination {
  position: absolute;
  bottom: 0.24rem;
  left: 50%;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 0.19rem;
  width: auto;
  transform: translateX(-50%);
}
.bannerDots .swiper-pagination-bullet {
  width: 0.3rem;
  height: 0.06rem;
  margin: 0 !important;
  border-radius: 0.04rem;
  background: #fff;
  opacity: 0.5;
}
.bannerDots .swiper-pagination-bullet-active {
  width: 0.32rem;
  opacity: 1;
}
.homeBody {
  padding: 0.4rem 0 0.6rem;
}
.sectionBox {
  background: #fff;
}
.sectionHead {
  display: flex;
  align-items: center;
  height: 0.72rem;
}
.sectionHead h2 {
  font-size: 0.22rem;
  line-height: 0.33rem;
  font-weight: 700;
}
.sectionHead > a {
  margin-left: auto;
  color: #666;
  font-size: 0.16rem;
  font-family: "PingFang SC";
  font-weight: 400;
}
.sectionHead > a span {
  display: inline-block;
  width: 0.14rem;
  height: 0.14rem;
  overflow: hidden;
  font-size: 0;
  vertical-align: -0.02rem;
  background-color: currentColor;
  -webkit-mask: url("/assets/web/images/home-more.svg") center/contain no-repeat;
  mask: url("/assets/web/images/home-more.svg") center/contain no-repeat;
  transition: all 0.3s;
}
.sectionHead > a:hover {
  color: #da261d;
}
.sectionHead > a:hover span{
  transform: rotate(45deg);
}
.expert {
  padding: 0 0.24rem 0.4rem;
}
.expertList {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.3rem;
}
.expertList .item {
  position: relative;
  height: 3.54rem;
  color: #333;
}
.expertList .imgBox {
  height: 2.52rem;
}
.expertList .text {
  position: absolute;
  right: 0.12rem;
  bottom: 0;
  left: 0.12rem;
  min-height: 1.5rem;
  padding: 0.19rem 0.2rem 0.14rem;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 0.02rem 0.04rem rgba(0, 0, 0, 0.1);
  transition: all 0.5s;
}
.expertList h3 {
  color: #1a1a1a;
  font-size: 0.2rem;
  line-height: 0.28rem;
  transition: all 0.5s;
}
.expertList h3 em {
  margin-left: 0.16rem;
  color: #333;
  font-size: 0.16rem;
  font-style: normal;
  font-weight: 400;
  transition: all 0.5s;
  font-family: "PingFang SC";
}
.expertList p {
  margin-top: 0.16rem;
  color: #666;
  font-size: 0.14rem;
  line-height: 0.24rem;
  transition: all 0.5s;
  font-weight: 400;
  font-family: "PingFang SC";
}
.expertList .item:hover .text {
  background-color: #da261d;
}
.expertList .item:hover * {
  color: #fff;
}

.notice {
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr);
  margin-top: 0.3rem;
}
.noticeFeature {
  width:8rem;
  height: 4.5rem;
  position: relative;
}
.noticeFeature .swiper-slide > img {
  width: 100%;
  height: 100%;
}
.noticeFeature strong {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 0.6rem;
  padding: 0.18rem 0.3rem;
  overflow: hidden;
  color: #fff;
  font-size: 0.18rem;
  white-space: nowrap;
  background: rgba(3, 3, 3, 0.45);
  font-family: "PingFang SC";
}
.noticeFeature .noticePagination {
  right: 0.3rem;
  bottom: 0.25rem;
  left: auto;
  z-index: 3;
  width: auto;
  display: flex;
  gap: 0.05rem;
}
.noticeFeature .swiper-pagination-bullet {
  width: 0.1rem;
  height: 0.1rem;
  border-radius: 50%;
  background: #fff;
  opacity: 0.5;
}
.noticeFeature .swiper-pagination-bullet-active {
  opacity: 1;
}
.noticeRight {
  min-width: 0;
  padding: 0 0.37rem 0 0.4rem;
}
.noticeTabs {
  border-bottom: 0.01rem solid #d9d9d9;
  padding-top: 0.28rem;
}
.noticeTabs button {
  height: 0.47rem;
  color: #333;
  font-size: 0.2rem;
}
.noticeTabs button + button {
  margin-left: 0.4rem;
}
.noticeTabs button.active {
  color: #333;
  font-size: 0.24rem;
  font-weight: 700;
  border-bottom: 0.03rem solid #da261d;
}
.noticePanel {
  display: none;
}
.noticePanel.active {
  display: block;
}
.noticeList {
  padding: 0.19rem 0 0;
  list-style: none;
}
.noticeList li {
  display: flex;
  align-items: center;
  padding-bottom: 0.21rem;
  margin-bottom: 0.2rem;
  border-bottom: 0.01rem dashed #e8e8e8;
}
.noticeList li:last-child{
  margin-bottom: 0;
}
.noticeList a {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  color: #1a1a1a;
  font-size: 0.16rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.noticeList a::before {
  content: "";
  display: inline-block;
  width: 0.08rem;
  height: 0.08rem;
  margin-right: 0.12rem;
  background: url("/assets/web/images/home-bullet.svg") center/contain no-repeat;
}
.noticeList time {
  flex: none;
  margin-left: 0.2rem;
  color: #999;
  font: 0.14rem Arial;
}
.noticeList a:hover {
  color: #da261d;
}
.medicineGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.3rem;
  margin-top: 0.3rem;
}
.medicine {
  padding: 0 0.24rem 0.24rem;
}
.medicineList {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.2rem;
}
.medicineList .item {
  overflow: hidden;
  color: #000;
  text-align: center;
  background: #f5f0ea;
  border: 0.01rem solid #e6e1dc;
}
.medicineList img {
  display: block;
  width: 100%;
  height: 0.81rem;
  object-fit: cover;
  transition: transform 0.3s;
}
.medicineList span {
  display: block;
  height: 0.36rem;
  font-size: 0.16rem;
  line-height: 0.35rem;
}
.medicineList .item:hover img {
  transform: scale(1.08);
}
.medicineList .item:hover span {
  color: #da261d;
}
.trace {
  position: relative;
  height: 1.2rem;
  margin-top: 0.3rem;
  overflow: hidden;
  border: 0.01rem solid #ecc388;
  background-color: #fce4c2;
}
.traceBg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.traceBg img {
  position: absolute;
  top: -0.9rem;
  left: 0.76rem;
  width: 13.44rem;
  height: 4.55rem;
  max-width: none;
  object-fit: cover;
  opacity: 0.3;
}
.traceText {
  position: absolute;
  z-index: 1;
  top: 0.21rem;
  left: 1.52rem;
}
.traceText h2 {
  color: #000;
  font-size: 0.36rem;
  line-height: 0.5rem;
  font-weight: 600;
}
.traceText p {
  margin-top: 0.02rem;
  color: #666;
  font-size: 0.18rem;
  line-height: 0.25rem;
}
.trace form {
  position: absolute;
  z-index: 1;
  top: 0.34rem;
  left: 5.96rem;
  display: flex;
  width: 4.42rem;
  height: 0.48rem;
  overflow: hidden;

  gap: 0.12rem;
}
.trace form > img {
  position: absolute;
  top: 0.14rem;
  left: 0.14rem;
  z-index: 1;
  width: 0.18rem;
  height: 0.18rem;
}
.trace input {
  flex: 1;
  min-width: 0;
  padding: 0 0.16rem 0 0.42rem;
  color: #333;
  font-size: 0.16rem;
    border: 0.01rem solid #b8945d;
  background: #fff;
  border-radius: 0.24rem;
}
.trace input::placeholder {
  color: #909090;
}
.trace button {
  width: 1.1rem;
  color: #fff;
  font-size: 0.18rem;
  font-weight: 700;
  background: #da261d;
  border-radius: 0.24rem;
}
.infoGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.3rem;
  margin-top: 0.3rem;
}
.info {
  min-width: 0;
  height: 5.83rem;
  padding: 0 0.24rem;
}
.articleInfo .sectionHead {
  height: 0.84rem;
}
.articleInfo .sectionHead h2 {
  font-size: 0.22rem;
}
.infoImage {
  height: 2.24rem;
}
.infoImage img {
  width: 100%;
  height: 100%;
}
.info ul {
  margin-top: 0.19rem;
  padding: 0;
  list-style: none;
}
.info li {
  position: relative;
  display: flex;
  align-items: center;
  padding-bottom: 0.2rem;
  margin-bottom: 0.2rem;
  padding-left: 0.16rem;
  border-bottom: 0.01rem dashed #e8e8e8;
}
.info li::before {
  position: absolute;
  top: 0.08rem;
  left: 0;
  width: 0.07rem;
  height: 0.07rem;
  content: "";
  background: url("/assets/web/images/home-bullet.svg") center/contain no-repeat;
}
.info li a {
  display: block;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  color: #1a1a1a;
  font-size: 0.16rem;
  line-height: 0.22rem;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.info li a:hover {
  color: #da261d;
}
.topic .sectionHead {
  height: 0.84rem;
}
.topic .sectionHead h2 {
  font-size: 0.22rem;
}
.topic > a:not(.sectionHead a) {
  height: 2.24rem;
  overflow: hidden;
}
.topic > a + a {
  margin-top: 0.2rem;
}
.topic > a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.topic > a:hover img {
  transform: scale(1.04);
}
@media (max-width: 900px) {
  .homeBanner {
    height: 3rem;
  }
  .bannerText h1 {
    font-size: 0.4rem;
  }
  .bannerText p {
    font-size: 0.24rem;
  }
  .expertList {
    grid-template-columns: repeat(2, 1fr);
  }
  .expertList .item:last-child {
    display: none;
  }
  .notice {
    grid-template-columns: 1fr;
    height: auto;
  }
  .noticeFeature {
    height: 4rem;
  }
  .noticeRight {
    padding-bottom: 0.25rem;
  }
  .medicineGrid,
  .infoGrid {
    grid-template-columns: 1fr;
  }
  .trace {
    padding: 0.2rem 0.3rem;
  }
}

@media (max-width: 900px) {
  .homeBody {
    padding: 0.28rem 0 0.42rem;
  }

  .homeBanner {
    height: 4.2rem;
  }

  .bannerText {
    top: 1.12rem;
  }

  .bannerText h1 {
    font-size: 0.48rem;
    line-height: 0.66rem;
  }

  .bannerText p {
    margin-top: 0.14rem;
    font-size: 0.26rem;
    line-height: 0.38rem;
  }

  .bannerDots.swiper-pagination {
    bottom: 0.26rem;
    gap: 0.12rem;
  }

  .bannerDots .swiper-pagination-bullet {
    width: 0.36rem;
    height: 0.07rem;
  }

  .sectionHead {
    height: 0.78rem;
  }

  .sectionHead h2 {
    font-size: 0.28rem;
    line-height: 0.4rem;
  }

  .sectionHead > a {
    font-size: 0.22rem;
  }

  .sectionHead > a span {
    width: 0.18rem;
    height: 0.18rem;
  }

  .expert {
    padding: 0 0.22rem 0.28rem;
  }

  .expertList {
    gap: 0.22rem;
  }

  .expertList .item {
    height: 3.95rem;
  }

  .expertList .imgBox {
    height: 2.7rem;
  }

  .expertList .text {
    right: 0.1rem;
    left: 0.1rem;
    min-height: 1.58rem;
    padding: 0.16rem 0.16rem 0.12rem;
  }

  .expertList h3 {
    font-size: 0.24rem;
    line-height: 0.34rem;
  }

  .expertList h3 em {
    display: block;
    margin: 0.04rem 0 0;
    font-size: 0.18rem;
    line-height: 0.26rem;
  }

  .expertList p {
    margin-top: 0.08rem;
    font-size: 0.18rem;
    line-height: 0.28rem;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  .notice {
    margin-top: 0.24rem;
  }

  .noticeFeature {
    width: 100%;
    height: 4.18rem;
  }

  .noticeFeature strong {
    height: 0.72rem;
    padding: 0.2rem 1.16rem 0.2rem 0.24rem;
    font-size: 0.22rem;
    line-height: 0.32rem;
    text-overflow: ellipsis;
  }

  .noticeFeature .noticePagination {
    right: 0.24rem;
    bottom: 0.3rem;
  }

  .noticeFeature .swiper-pagination-bullet {
    width: 0.12rem;
    height: 0.12rem;
  }

  .noticeRight {
    padding: 0 0.22rem 0.28rem;
  }

  .noticeTabs {
    height: 0.82rem;
    padding-top: 0.18rem;
  }

  .noticeTabs button {
    height: 0.54rem;
    font-size: 0.24rem;
  }

  .noticeTabs button + button {
    margin-left: 0.3rem;
  }

  .noticeTabs button.active {
    font-size: 0.28rem;
  }

  .noticeList {
    padding-top: 0.2rem;
  }

  .noticeList li {
    display: block;
    padding-bottom: 0.18rem;
    margin-bottom: 0.18rem;
  }

  .noticeList a {
    display: block;
    font-size: 0.22rem;
    line-height: 0.32rem;
  }

  .noticeList a::before {
    width: 0.1rem;
    height: 0.1rem;
    margin-right: 0.1rem;
  }

  .noticeList time {
    display: block;
    margin: 0.08rem 0 0 0.2rem;
    font-size: 0.18rem;
    line-height: 0.24rem;
  }

  .medicineGrid,
  .infoGrid {
    gap: 0.24rem;
    margin-top: 0.24rem;
  }

  .medicine {
    padding: 0 0.22rem 0.24rem;
  }

  .medicineList {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.18rem;
  }

  .medicineList img {
    height: 1.55rem;
  }

  .medicineList span {
    height: 0.48rem;
    overflow: hidden;
    font-size: 0.22rem;
    line-height: 0.48rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .trace {
    height: auto;
    padding: 0.34rem 0.24rem;
    margin-top: 0.24rem;
  }

  .traceBg img {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .traceText,
  .trace form {
    position: relative;
    top: auto;
    left: auto;
  }

  .traceText {
    text-align: center;
  }

  .traceText h2 {
    font-size: 0.38rem;
    line-height: 0.5rem;
  }

  .traceText p {
    margin-top: 0.06rem;
    font-size: 0.22rem;
    line-height: 0.32rem;
  }

  .trace form {
    width: 100%;
    height: 0.6rem;
    margin-top: 0.24rem;
    gap: 0.14rem;
  }

  .trace form > img {
    top: 0.19rem;
    left: 0.2rem;
    width: 0.22rem;
    height: 0.22rem;
  }

  .trace input {
    padding-left: 0.5rem;
    font-size: 0.22rem;
    border-radius: 0.3rem;
  }

  .trace button {
    width: 1.3rem;
    font-size: 0.22rem;
    border-radius: 0.3rem;
  }

  .info {
    height: auto;
    padding: 0 0.22rem 0.28rem;
  }

  .articleInfo .sectionHead,
  .topic .sectionHead {
    height: 0.78rem;
  }

  .articleInfo .sectionHead h2,
  .topic .sectionHead h2 {
    font-size: 0.28rem;
  }

  .infoImage {
    height: 3.4rem;
  }

  .info li {
    padding-bottom: 0.18rem;
    margin-bottom: 0.18rem;
    padding-left: 0.18rem;
  }

  .info li::before {
    top: 0.12rem;
    width: 0.1rem;
    height: 0.1rem;
  }

  .info li a {
    font-size: 0.22rem;
    line-height: 0.34rem;
  }

  .topic > a:not(.sectionHead a) {
    height: 3.1rem;
  }

  .topic > a + a {
    margin-top: 0.18rem;
  }
}
