* {
  list-style: none;
  padding: 0;
  margin: 0;
  text-decoration: none; /*a标签下划线*/
}
a {
  text-decoration: none;
  color: inherit; /*继承父元素的字体颜色*/
}
body,
html {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  font-size: 62.5%; /*=10px*/
  box-sizing: border-box;
  user-select: none; /*禁止选中文字*/
}
.container {
  width: 100%;
  position: relative;
  overflow: hidden;
}
/* ----------------------顶部隐藏bar */
.topBar {
  position: fixed;
  top: -6rem;
  left: 0;
  right: 0;
  width: 100%;
  height: 6rem;
  /* height: 6rem; */
  display: flex;
  justify-content: space-between;
  background-color: #193f83;
  transition: top 0.5s ease;
  z-index: 999;
}
.bar-logo {
  width: 20rem;
  height: 4rem;
  line-height: 4rem;
  margin-left: 5rem;
  padding-top: 0.7rem;
}
.bar-button {
  height: 100%;
  margin-right: 5rem;
}

.bar-button ul {
  width: 100%;
  height: 100%;
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
}

.bar-button li {
  height: 50%;
  text-align: center;
  position: relative;
  color: #fff;
  font-size: 2rem;
}

.bar-button li::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: transparent;
  transition: background-color 0.3s ease, width 0.3s ease;
}

.bar-button li:hover::after {
  background-color: #fff;
  /* background-color: #ecf1f7; */
  width: 100%;
}

/* 给第一个 li 加上个边距使其不紧贴左侧 */
.bar-button li:first-child {
  margin-left: 0;
}

.bar-button li + li {
  margin-left: 20px;
}
/* ------------------首页图 */

.box_1 {
  position: relative;
  width: 100%;
  overflow: hidden;
  /* height: 1000px; */
}
.box_1 ul {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.box_1 ul li {
  width: 100%;
  height: 100%;
}
.box_1 ul li img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease-out;
}
.box_1 ul li img:hover {
  transform: scale(1.1);
}

.lookBar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.Kloge {
  height: 5rem;
  margin-left: 20rem;
  padding-top: 4rem;
}
.kright {
  display: flex;
  flex-direction: column;
  align-items: end;
}
.trapezoid {
  display: flex;
  width: 59rem;
  align-items: center;
  padding-left: 4rem;
  height: 5rem;
  background-color: #084b9e;
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 5% 100%);
}
.trap-text {
  font-size: 1.8rem;
  padding-left: 0.8rem;
  padding-right: 0.8rem;
  color: #fff;
}
.trap-text:nth-child(1),
.trap-text:nth-child(2) {
  border-right: 1px solid #fff;
}
.lookbar-button {
  position: relative;
  top: 0;
  height: 4.5rem;
  margin-right: 5rem;
}
.lookbar-button ul {
  width: 100%;
  height: 100%;
  list-style: none;
  padding: 0;
  margin: 0;
  padding-bottom: 10px;
  display: flex;
  align-items: center;
}
.lookbar-button ul li a {
  text-decoration: none;
  /* color: inherit; 继承父元素的字体颜色 */
}
.lookbar-button ul li {
  height: 50%;
  width: 10rem;
  padding-bottom: 1rem;
  text-align: center;
  position: relative;
  font-size: 2rem;
  color: #fff;
}

.lookbar-button li::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: transparent;
  transition: background-color 0.3s ease, width 0.3s ease;
}

.lookbar-button li:hover::after {
  background-color: #fff;
  /* background-color: #ecf1f7; */
  width: 100%;
}

.lookbar-button li:first-child {
  /* 给第一个 li 加上个边距使其不紧贴左侧 */
  margin-left: 0;
}

.lookbar-button li + li {
  margin-left: 20px;
}
.lookbar-button {
  margin-right: 5rem;
}
.Kloge-2,
.drawer {
  display: none;
}
.Kloge-2 img {
  height: 5rem;
}
.lookBar .drawer {
  box-sizing: border-box;
  width: 9rem;
  height: 6rem;
  line-height: 7.5rem;
  text-align: center;
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 5% 100%);
}
.lookBar .drawer img {
  width: 5rem;
  height: 5rem;
  cursor: pointer;
}
/* 手机版，右侧目录抽屉 */
.drawer-content {
  /* position: absolute;
  top: 6rem;
  left: 0; */
  z-index: 1000;
  position: fixed;
  top: 6rem;
  right: -105vw;
  /* display: none; */
  width: 100%;
  height: 100vh;
  color: #fff;
  background-color: #094da6;
  z-index: 999;
  padding-top: 2rem;
  padding-left: 1rem;
  padding-right: 1rem;
  box-sizing: border-box;
  transition: right 0.3s ease;
}
.drawer-content .drawer-title {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
}
.drawer-content .drawer-text {
  font-size: 1.3rem;
  color: #fff;
  padding-left: 0.8rem;
  padding-right: 0.8rem;
}
.drawer-text:nth-child(1),
.drawer-text:nth-child(2) {
  border-right: 1px solid #fff;
}
.drawer-content .drawer-list {
  overflow-y: scroll;
}
.drawer-list a {
  text-decoration: none;
  color: inherit;
}
.drawer-content .drawer-list .list-title {
  /* width: 100%; */
  height: 4.5rem;
  line-height: 4.5rem;
  font-size: 1.8rem;
  font-weight: 400;
  color: #fff;
  padding-left: 1rem;
  border-bottom: 0.5px solid #d6d6d6;
}
.menu {
  list-style-type: none;
  padding: 0;
}

.menu li {
  padding: 5px;
  cursor: pointer;
  position: relative;
}

.submenu {
  max-height: 0;
  overflow: hidden;
  padding-left: 20px;
  transition: max-height 0.3s ease-out;
  position: relative;
  z-index: 9999;
  background-color: #2366be;
}

.open > .submenu {
  max-height: 200px; /* 设置最大展开高度 */
}

.menu li:hover {
  background-color: #2366be;
}

.toggle-btn {
  margin-left: 10px;
  cursor: pointer;
  font-weight: bold;
}
.drawer-content ul li {
  /* width: 100%; */
  height: 3rem;
  line-height: 3rem;
  font-size: 1.6rem;
  font-weight: 400;
  color: #eceaea;
  /* border-bottom: 1px solid #d6d6d6; */
  padding-left: 2.2rem;
}
/* 小隐藏bar盒子 */
.detail {
  display: none;
  width: 100%;
  max-width: 100%;
  height: 200px;
  margin: 0 auto;
  position: absolute;
  top: 100px;
  opacity: 0; /* 初始透明度为0 */
  transition: opacity 0.5s ease; /* 设置透明度过渡效果，持续时间为0.5秒 */
}
/* 大隐藏bar盒子 */
.hide-detail {
  display: none;
  width: 100%;
  max-width: 100%;
  height: 200px;
  margin: 0 auto;
  position: absolute;
  top: 6rem;
  left: 0;
  background-color: #fff;
  opacity: 0; /* 初始透明度为0 */
  transition: opacity 0.5s ease; /* 设置透明度过渡效果，持续时间为0.5秒 */
}
/* -------------公用隐藏盒 */
.detail-item {
  width: 90%;
  height: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  background-color: #fff;
  display: flex;
  justify-content: space-between;
}
.items-title {
  box-sizing: border-box;
  padding: 3rem 0 0 3rem;
  font-size: 2.5rem;
  font-weight: 700;
  color: #084b9e;
}
.items-content {
  display: flex;
  flex-wrap: wrap;
  box-sizing: border-box;
  padding-top: 5rem;
  width: 68%;
  height: 100%;
}
.level2-title {
  position: relative;
  width: 17rem;
  height: 2.8rem;
  font-size: 1.4rem;
  margin-right: 2rem;
}
.level2-title a {
  text-decoration: none;
}
.level2-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0.2rem;
  background: linear-gradient(
    to right,
    red 0%,
    red 20%,
    gray 20%,
    gray 100%
  ); /* 初始状态，左侧红色，右侧灰色 */
  transition: background 5s ease; /* 添加过渡效果 */
}
.level2-title:hover .level2-bar {
  background: linear-gradient(to right, red 0%, red 100%);
}
.level2-name {
  padding-bottom: 0.6rem;
  color: gray;
  transition: color 1s ease; /* 添加过渡效果 */
}
.level2-title:hover .level2-name {
  color: red; /* 鼠标悬停时，文字颜色变为红色 */
}
.items-picture {
  box-sizing: border-box;
  height: 100%;
  padding-top: 3rem;
  padding-right: 3rem;
}
.items-picture img {
  width: 26rem;
  height: 12rem;
}
/* -------------公用隐藏盒 */
/* -------------------半透明底部盒子 */
.overlay {
  position: absolute;
  bottom: 0; /* 设置盒子位于底部 */
  left: 0;
  width: 100%; /* 盒子宽度为容器的100% */
  height: 130px; /* 设置盒子的高度，可以根据需求调整 */
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(3px);
}
.overlay ul {
  display: flex;
  width: 80%;
  height: 100%;
  margin: 0 auto;
  align-items: center;
}
.overlay ul li {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}
.overlay ul li:hover {
  background-color: #fff;
}
.overlay ul li img {
  /* width: 4rem;
  height: auto; */
  height: 5rem;
  width: auto;
  object-fit: contain; /* 确保图片按比例显示 */
}
.overlay ul li h4 {
  margin-top: 0.5rem;
  font-size: 2rem;
  font-weight: 400;
}
/* ------------------搜索栏 */
.search {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 60px;
  text-align: center;
  background-image: url("./image/搜索框背景.png"); /* 设置背景图 */
  background-size: cover; /* 背景图覆盖整个盒子 */
  background-position: center; /* 背景图居中显示 */
}
.search input {
  outline: none;
  border: 0;
  width: 45rem;
  height: 30px;
  background-color: #fff;
  border-radius: 0.5rem;
  text-indent: 2em;
  font-size: 1.5;
}
.search button {
  outline: none;
  border: 0;
  width: 10rem;
  height: 30px;
  color: #fff;
  background-color: #fb9d44;
  border-radius: 0.5rem;
  font-size: 1.5rem;
  margin-left: 1rem;
  transition: background-color 0.3s ease;
}
.search button:hover {
  background-color: #2382f5;
}
/* ---------------医院新闻 */
.blueBar {
  display: flex;
  height: 1.8rem;
  line-height: 1.8rem;
  font-size: 1.8rem;
  padding-left: 8px;
  border-left: 5px solid #2382f5;
  margin-left: 1rem;
}
.lookMore {
  color: #000;
  font-size: 1.5rem;
}
.news {
  width: 100%;
  display: flex;
  justify-content: center;
  overflow: hidden;
}
.news-box {
  width: 70%;
  margin: 0 auto;
}
.news .news-title {
  width: 100%;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
/* 点击标签放大+js */
/* 给标签添加一个默认的字体大小 */
.enlargeName {
  font-size: 16px;
  cursor: pointer;
  transition: font-size 0.3s ease, font-weight 0.3s ease, color 0.3s ease;
}

/* 当标签被点击或获得焦点时，增加字体大小 */
.enlargeName:focus,
.enlargeName.clicked {
  font-size: 20px;
  font-weight: bold;
  color: #000; /* 可选：改变字体颜色 */
}

/* 默认未点击的标签保持原字体大小 */
.enlargeName:not(:focus):not(.clicked) {
  font-size: 16px;
}
.news .news-title a {
  margin-right: 1rem;
}
.news .news-content {
  display: flex;
  width: 100%;
  margin-bottom: 2rem;
}
.news .left-picture ul li {
  position: relative;
  width: 52rem;
  height: 38rem;
  overflow: hidden;
}
.news .left-picture ul li img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease-out;
}
.news .left-picture ul li img:hover {
  transform: scale(1.1);
}
.news .left-picture ul li .photo-text {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(3px);
}
.news .right-artical {
  width: calc(100% - 52rem);
  height: 100%;
  margin-left: 1rem;
}
.news .right-artical ul {
  display: flex;
  flex-wrap: wrap;
  /*max-height: 38rem;*/
}
.news .right-artical ul li {
  box-sizing: border-box;
  flex: 0 1 48%;
  height: 18rem;
  margin-bottom: 2rem;
  margin-left: 1rem;
  border: 1px solid #e5e7e8;
  box-shadow: 0 0 10px #e5e7e8;
  position: relative;
}
.artical-items {
  width: 100%;
  /* 动效 */
  position: absolute;
  overflow: hidden;
}
/* 动态的条条 */
.box-top-trabecula {
  width: 50rem;
  height: 18rem;
  box-shadow: 0 1px 10px 0 rgba(0, 0, 0, 0.08);
  /* 外盒子相对定位，便于伪元素绝对定位(使下划线在文字的最底下) */
  position: relative;
  background: rgb(49, 81, 151);
}

/* 动态的条条 */
.box-top-trabecula::before {
  content: "";
  height: 0.4rem;
  /* height: 4px; */
  background: rgb(170, 35, 34) !important;
  /* 伪元素默认样式 display: inline;所以需要转成inline-block宽高才会生效 */
  display: inline-block;
  /* 通过定位使下划线在最低层 */
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  /* 加上一个过渡效果，使之丝滑一些 */
  transition: width 0.5s;
}

/* 动态的条条 */
.artical-items:hover .box-top-trabecula::before {
  /* 悬浮时候，让下划线伪元素宽度变成100%即可出现效果 */
  width: 100%;
}
/* 内容 */
.artical-items .content {
  width: 100%;
  height: calc(100% - 0.4rem);
  /* height: calc(100% - 4px); */
  position: absolute;
  top: 0.4rem;
  /* top: 4px; */
  left: 0;
  background: #fff;
  padding: 2rem;
  box-sizing: border-box;
  z-index: 1;
  /* 👈 让文字内容在伪元素上面 */
}
.artical-items .content::before {
  content: "";
  background: #27509a !important;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  transition: height 0.5s ease;
  z-index: -1;
  /* 👈 放到内容下方 */
}

/* 动态的条条 */
.artical-items:hover .content::before {
  /* 悬浮时候，让下划线伪元素宽度变成100%即可出现效果 */
  width: 100%;
  height: 100%;
}
/* 标题 */
.content-title {
  /* width: 18rem; */
  width: 100%;
  height: 5rem;
  /* float: right; */
  display: -webkit-box;
  /* 必须 */
  -webkit-box-orient: vertical;
  /* 垂直排列 */
  -webkit-line-clamp: 2;
  /* 最多显示2行 */
  overflow: hidden;
  /* 超出隐藏 */
  z-index: 1;
  transition: color 0.5s ease;
  /* 颜色过渡时间 */
}

.content-title p {
  font-size: 1.6rem;
  line-height: 2.4rem;
  z-index: 100;
}

.content-text {
  width: 100%;
  height: 8rem;
  padding-top: 10px;
  box-sizing: border-box;
  z-index: 1;
  transition: color 0.5s ease;
  /* 颜色过渡时间 */
  color: #888888;
}

.content-text p {
  font-size: 1.2rem;
  line-height: 1.8rem;
  margin: 0;
  padding: 0;
  display: -webkit-box;
  /* 必须 */
  -webkit-box-orient: vertical;
  /* 垂直排列 */
  -webkit-line-clamp: 3;
  /* 最多显示2行 */
  overflow: hidden;
  /* 超出部分显示省略号 */
  text-overflow: ellipsis;
}
.content-text div {
  padding-top: 0.5rem;
  font-size: 1.2rem;
  line-height: 1.8rem;
}

.artical-items:hover .content-text,
.artical-items:hover .content-title {
  color: #fff;
}
/* 右下角 */
.right-angle {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10rem;
  height: 2.8rem;
  /* 初始状态：躲在右下角外面 */
  transform: translate(100%, 100%) rotate(135deg);
  transition: transform 0.6s ease;
  /* 平滑过渡 */
  z-index: 2;
  padding: 2px 2px 0 5.6rem;
  box-sizing: border-box;
  background: rgb(170, 40, 34);
}

.right-angle .across {
  height: 2px;
  width: 1rem;
  float: right;
  background: #fff;
  transform: rotate(45deg);
  position: absolute;
  top: 1rem;
  left: 4.9rem;
}

.right-angle .vertical {
  width: 2px;
  height: 1rem;
  background: #fff;
  transform: rotate(45deg);
  position: absolute;
  top: 0.6rem;
  left: 4.74rem;
}

/* 悬停 .artical-items 时 right-angle 出现 */
.artical-items:hover .right-angle {
  transform: translate(40%, 15%) rotate(135deg);
}

/* --------------------科室简介 */
.branch {
  width: 100%;
  background-image: url("./image/科室简介背景.png");
  background-size: cover; /* 背景图覆盖整个盒子 */
  background-position: center; /* 背景图居中显示 */
}
.branch-box {
  width: 70%;
  margin: 0 auto;
}
.branch .branch-title {
  width: 100%;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.branch .branch-title a {
  margin-right: 1rem;
}
.branch .branch-content {
  display: flex;
  margin-bottom: 1rem;
}
.branch .branch-left {
  width: 17rem;
}
.branch-small-pictures:nth-child(1),
.branch-small-pictures:nth-child(4) {
  position: relative;
  display: flex;
  justify-content: end;
  padding-right: 2rem;
  margin-bottom: 1rem;
}
.branch-small-pictures:nth-child(2),
.branch-small-pictures:nth-child(3) {
  position: relative;
  display: flex;
  justify-content: start;
  padding-left: 2rem;
  margin-bottom: 1rem;
}

.branch-small-pictures img {
  display: block;
  width: 6rem; /* 调整为适当大小 */
  height: 6rem;
  transition: display 0.4s ease;
  transition: transform 0.4s ease-out;
}
.branch-small-pictures img:hover {
  transform: scale(1.1);
}
.branch-small-pictures h4 {
  text-align: center;
  font-weight: 400;
}

.branch-small-pictures .active {
  display: none; /* 默认不显示选中的图片 */
}

.branch-small-pictures.active .active {
  display: block; /* 显示选中的图片 */
}

.branch-small-pictures.active .inactive {
  display: none; /* 隐藏未选中的图片 */
}
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px); /*初始位置稍微向下*/
  }
  100% {
    opacity: 1;
    transform: translateY(0); /*最终位置在原位*/
  }
}
.branch .branch-right {
  width: calc(100% - 17rem);
  /* overflow: hidden; */
}
.branch .branch-detail {
  width: 100%;
  height: 100%;
  /* margin-left: 8rem; */
  display: none;
  /* 添加动画 */
  opacity: 0;
  transform: translateY(3rem);
  animation: fadeInUp 0.5s ease-out forwards;
}
.branch-detail .hidden {
  display: none;
}
.branch .branch-right h3 {
  font-size: 2.2rem;
  font-weight: 400;
  text-align: center;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}
.branch .branch-child-box {
  box-sizing: border-box;
  width: 100%;
  padding-left: 6rem;
  display: flex;
  flex-wrap: wrap;
  /* justify-content: space-around; */
}
.branch .branch-child-items {
  width: 20rem;
  height: 4.8rem;
  margin-left: 1rem;
  margin-bottom: 1rem;
  box-sizing: border-box;
  border: 1px dashed #4595f7;
  border-radius: 0.5rem;
  font-size: 1.6rem;
  text-align: center;
  line-height: 4.8rem;
  color: #000000;
  background-color: #fff;
  border: rgba(39, 80, 154, 0.8) 1px dashed;
  position: relative; /* 👈 关键：为了定位伪元素 */
  overflow: hidden; /* 👈 让伪元素不溢出 */
  /* margin: 200px; */
  z-index: 1;
  transition: 0.4s ease-out;
}

.branch .branch-child-items::before {
  content: ""; /* 👈 必须写 */
  background: rgb(170, 40, 34); /* 👈 填充背景 */
  position: absolute;
  bottom: 0; /* 👈 从底部开始 */
  left: 0;
  width: 100%;
  height: 0; /* 👈 初始高度为 0 */
  transition: height 0.4s ease-out; /* 👈 动画时间 3.6s */
  z-index: -1; /* 👈 盖住 border */
}

.branch .branch-child-items:hover::before {
  height: 100%; /* 👈 鼠标移上去时填满 */
}
.branch .branch-child-items:hover {
  border-color: transparent; /* 👈 鼠标移上边框颜色透明化 */
  color: #fff;
}
/* -----------------通知公告 */
.notify {
  width: 100%;
  background-image: url("./image/图层1拷贝2.png");
  background-size: cover; /* 背景图覆盖整个盒子 */
  background-position: center; /* 背景图居中显示 */
}
.notify-box {
  width: 70%;
  margin: 0 auto;
}
.notify .notify-title {
  width: 100%;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.notify .four-notifys {
  width: 100%;
  margin-bottom: 2rem;
  overflow: hidden;
}
.notify .four-box {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
}
.notify .lifts {
  width: 100%;
  /* flex: 0 1 25%; */
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  /* margin-bottom: 2rem; */
  flex-shrink: 0;
}
.notify .lifts.hidden {
  display: none;
}
.notify .lifts li {
  flex: 0 1 24%;
  margin-bottom: 1rem;
  border: 1px solid #d4d5d6;
  box-shadow: 0 5px 5px #b4b4b5;
  overflow: hidden;
}
.notify .lifts li img {
  width: 100%;
  object-fit: cover;
  transition: transform 0.4s ease-out;
}
.notify .lifts li .lifts-road {
  padding: 3rem 2rem;
}
.notify .lifts-road .lifts-title {
  display: flex;
  align-items: center;
  width: 100%;
  height: 4rem;
}
.notify .lifts-road .lifts-title p {
  font-size: 1.7rem;
  font-weight: 400;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}
.notify .lifts-road .lifts-time {
  display: flex;
  justify-content: space-between;
  margin-top: 2.5rem;

}
.notify .lifts-road .lifts-time span {
  font-size: 1.2rem;
  font-weight: 400;
  color: #3a7ee3;
}
.notify .advs {
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.notify .advs li {
  position: relative;
  flex: 0 1 49%;
  margin-bottom: 1rem;
}
.notify .advs li img {
  width: 100%;
  object-fit: cover;
}
.notify .advs li .advs-tittle {
  position: absolute;
  top: 50%;
  left: 2rem;
  transform: translateY(-50%);
  padding-left: 2rem;
  color: #fff;
}
.notify .advs-tittle h4 {
  font-weight: 400;
  font-size: 3rem;
}
.notify .advs-tittle p {
  font-size: 2rem;
}
/* 媒体聚焦、健康科普 */
.notify .livelihood {
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.notify .livelihood li {
  flex: 0 1 49%;
  background-color: #fff;
  margin-bottom: 1rem;
  border: 1px solid #e5e7e8;
}
.notify .live-photo {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.notify .livelihood li img {
  width: 100%;
  object-fit: cover;
  transition: transform 0.4s ease-out;
}
.notify .livelihood li img:hover {
  transform: scale(1.1);
}
.notify .livelihood li h3 {
  padding: 0 3rem;
  font-size: 2rem;
}
.notify .livelihood .photo-text {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4.5rem;
  line-height: 4.5rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(3px);
}
.notify .livelihood .live-text {
  width: 100%;
  box-sizing: border-box;
  padding: 1.8rem 3rem;
}
.notify .livelihood .live-text p {
  margin-bottom: 1rem;
  font-size: 1.6rem;
  font-weight: 400;
  /* 效果有问题 */
  /* white-space: nowrap; 
  overflow: hidden; 
  text-overflow: ellipsis; */
}
/* 大标题 */
.big-title {
  width: 100%;
  height: 15rem;
  line-height: 15rem;
  text-align: center;
  background-image: url("./image/搜索框背景.png"); /* 设置背景图 */
  background-size: cover; /* 使图片铺满整个容器 */
  background-position: center; /* 使图片居中显示 */
  background-repeat: no-repeat; /* 防止背景图重复 */
}
.big-title p {
  color: #fff;
  font-weight: 700;
  font-size: 3rem;
}
/* 图块 */
.stones {
  width: 100%;
  padding: 5rem 0;
}
.stones-box {
  width: 70%;
  margin: 0 auto;
}
.stones ul {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.stones ul li {
  position: relative;
  flex: 0 1 24%;
  height: 23rem;
}
.stones ul li > img {
  width: 100%;
  height: 100%;
}
/* 动效 -----------*/
.box-medicine-systems {
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  text-align: center;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(3px);
}

.system-items {
  z-index: 1;
  width: 100%;
  height: 100%;
  padding-top: 3rem;
  box-sizing: border-box;
  transition: all 0.4s ease-out;
}

.system-items .animated-p {
  font-size: 2rem;
  color: white;
  font-weight: 400;
  margin-top: 0.2rem;
}

.system-items .animated-span {
  cursor: pointer;
  margin-top: 1rem;
  display: inline-block;
  font-size: 1.6rem;
  color: white;
  transform: translate(0%, 100%);
  /* 👈 初始向下偏移 20px */
  opacity: 0;
  /* 👈 初始透明 */
  transition: all 0.5s ease;
  /* 👈 过渡时间 */
}

/* 🖱️ 鼠标移上时 */
.box-medicine-systems:hover .animated-span {
  transform: translate(0%, -20%);
  /* 👈 回到原始位置 */
  opacity: 1;
  /* 👈 渐渐显示 */
}

.system-items img {
  width: 7rem;
  transition: transform 0.5s ease-out;
  /* ✅ 加旋转过渡 */
  transform-style: preserve-3d;
  /* ✅ 保持3D效果 */
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.box-medicine-systems:hover .system-items {
  border-color: #fff;
}

.box-medicine-systems:hover .system-items > img {
  transform: rotateY(360deg);
  /* 👈 鼠标移上转两圈 */
}
/* ------------动效 */
.stones ul li .mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(3px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.stones ul li .mask img {
  width: 7rem;
  height: 7rem;
  margin-bottom: 1.5rem;
}
.stones ul li .mask h5 {
  color: #fff;
  font-size: 2rem;
  font-weight: 400;
}
/* 链接 */
.jump {
  /* display: flex;
  flex-wrap: wrap; */
  width: 100%;
  height: 8rem;
  line-height: 8rem;
  text-align: center;
  background-color: #144d9c;
}
.jump span {
  display: inline-block;
  margin: 0 1rem;
  color: #fff;
  font-size: 1.9rem;
  font-weight: 400;
}
.jump span:nth-child(1) {
  font-size: 2.2rem;
}
/* 地图 */
.earthmap {
  width: 100%;
  position: relative;
}
.earthmap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.earthmap .tips {
  position: absolute;
  /* width: 33rem;
  height: 36rem; */
  width: 37rem;
  height: 44rem;
  border-radius: 1rem;
  font-size: 1.8rem;
  top: 8rem;
  right: 17rem;
  padding: 4rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(2px);
  box-sizing: border-box;
}
.earthmap .tips h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2.8rem;
  font-weight: 400;
}
.earthmap .tips p {
  margin-bottom: 1rem;
}
/* 尾部 */
.footer {
  width: 100%;
  height: 15rem;
  background-color: #144d9c;
}
.footer ul {
  width: 70%;
  margin: 0 auto;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  text-align: center;
}
/* .footer ul .footer-logo2 {
  display: none;
} */
.footer ul li:nth-child(1) {
  display: none;
  margin: 2rem 0;
}
.footer ul li {
  flex: 0 1 31%;
}
.footer .information p {
  color: #fff;
  font-size: 1.3rem;
  margin: 0;
  text-align: left;
}
.submit .submit-son {
  width: 36rem;
  height: 4rem;
  margin-bottom: 1rem;
  border: 1px solid #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}
.submit img {
  width: 2rem;
  object-fit: cover;
}
.submit h4 {
  color: #fff;
  font-weight: 400;
  font-size: 2rem;
  margin-left: 1.5rem;
}
.twoCode {
  display: flex;
  justify-content: space-between;
}
.twoCode > div {
  margin-left: 6rem;
}
.twoCode h6 {
  color: #fff;
  font-size: 1rem;
  text-align: center;
}
/* -----------------适配 */
/* 手机竖屏 */
@media (max-width: 480px) {
  /* 顶部隐藏bar */
  .topBar {
    display: none;
  }
  .bar-button li {
    font-size: 1.8rem;
  }
  /* 首页图 */
  .box_1 {
    padding-top: 5rem;
  }
  /* 顶部nav */
  .lookBar {
    position: fixed;
    top: 0;
    left: 0;
    background-color: #0a4b91;
    z-index: 1000;
  }
  .Kloge,
  .kright {
    /* 大图标和目录隐藏 */
    display: none;
  }
  .Kloge-2,
  .drawer {
    display: block;
  }
  .Kloge-2 img {
    height: 3rem;
    object-fit: cover;
    margin-left: 2rem;
    margin-top: 0.5rem;
  }
  .lookBar .drawer img {
    width: 2.6rem;
    height: 2.3rem;
  }
  /* 底部半透明 */
  .overlay {
    position: static;
    width: 100%; /* 盒子宽度为容器的100% */
    height: 9rem; /* 设置盒子的高度，可以根据需求调整 */
    bottom: auto;
    left: auto;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(3px);
  }
  .overlay ul li img {
    width: auto;
    height: 3rem;
  }
  .overlay ul li h4 {
    color: #000;
    font-size: 1rem;
  }
  /* 搜索栏 */
  .search input {
    width: 22rem;
  }
  /* 新闻区 */
  .news-box {
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .news .news-content {
    flex-wrap: wrap;
    justify-content: center;
  }
  .news .left-picture ul li {
    width: 100%;
    height: 28rem;
    margin-bottom: 2rem;
  }
  .news .right-artical {
    width: 100%;
    margin-left: 0;
  }
  .news .right-artical ul li {
    margin-bottom: 1rem;
    margin-left: 0;
    flex: 0 1 100%;
  }
  /* 科室简介 */
  .branch-box {
    width: 100%;
    box-sizing: border-box;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .branch .branch-content {
    flex-wrap: wrap;
    margin-bottom: 1rem;
  }
  .branch .branch-left {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
  }
  .branch .branch-right {
    width: 100%;
  }
  .branch-small-pictures:nth-child(1),
  .branch-small-pictures:nth-child(2),
  .branch-small-pictures:nth-child(3),
  .branch-small-pictures:nth-child(4) {
    padding: 0;
    margin: 0;
  }
  .branch .branch-child-box {
    padding: 0;
  }
  .branch .branch-child-items {
    flex: 0 1 46%;
    font-size: 1.4rem;
  }
  /* 通知公告 */
  .notify-box {
    width: 100%;
    box-sizing: border-box;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .notify .notify-title {
    flex-wrap: wrap;
  }
  .notify .notify-title .title {
    font-size: 1.6rem;
  }
  .notify .lifts li {
    flex: 0 1 100%;
  }
  .notify .advs li {
    flex: 0 1 100%;
  }
  .notify .livelihood li {
    flex: 0 1 100%;
  }
  /* 大标题 */
  .big-title {
    height: 10rem;
    line-height: 10rem;
  }
  .big-title p {
    font-size: 1.2rem;
  }
  /* 图块 */
  .stones .stones-box {
    width: 100%;
    box-sizing: border-box;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .stones ul li {
    flex: 0 1 47%;
    height: 20rem;
    margin-bottom: 1rem;
  }
  /* 链接 */
  .jump {
    height: 20rem;
  }
  .jump span {
    font-size: 1rem;
    display: block;
    height: 1.4rem;
    margin-bottom: 1rem;
  }
  .jump span:nth-child(1) {
    font-size: 1.2rem;
  }
  /* 地图 */
  .earthmap .tips {
    position: static; /* 使元素变为流式布局 */
    width: 100%; /* 可根据需要调整宽度 */
    height: auto; /* 高度根据内容自动调整 */
    top: auto; /* 移除 top 定位 */
    right: auto; /* 移除 right 定位 */
    padding: 2rem; /* 可以根据需要调整内边距 */
    border-radius: 0;
  }
  /* 尾部 */
  .footer {
    height: 100%;
  }
  .footer ul {
    box-sizing: border-box;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 3rem;
  }
  .footer ul li:nth-child(1) {
    display: block;
  }
  .footer ul li {
    flex: 0 1 100%;
    margin-bottom: 2rem;
  }
  .footer ul .submit {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer .submit .submit-son {
    width: 20rem;
  }
  .footer .twoCode > div {
    margin-left: 0;
  }
}

/* 小平板  + 大平板*/
@media (min-width: 481px) and (max-width: 1024px) {
  /* 在此范围内的样式 */
  /* 顶部隐藏bar */
  .topBar {
    display: none;
  }
  /* 顶部nav */
  .lookBar {
    position: fixed;
    top: 0;
    left: 0;
    background-color: #0a4b91;
    z-index: 1000;
  }
  .Kloge,
  .kright {
    /* 大图标和目录隐藏 */
    display: none;
  }
  .Kloge-2,
  .drawer {
    display: block;
  }
  .Kloge-2 img {
    height: 3rem;
    object-fit: cover;
    margin-left: 2rem;
    margin-top: 0.5rem;
  }
  .lookBar .drawer img {
    width: 2.6rem;
    height: 2.3rem;
  }
  /* 搜索栏 */
  .search input {
    width: 40rem;
  }
  /* 新闻区 */
  .news .news-content {
    flex-wrap: wrap;
    justify-content: center;
  }
  .news .left-picture {
    margin-bottom: 2rem;
  }
  .news .right-artical {
    width: 100%;
    margin-left: 0;
  }
  .news .right-artical ul li {
    margin-bottom: 1rem;
    margin-left: 1rem;
    flex: 0 1 48%;
  }
  .news .right-artical ul li:nth-child(1),
  .news .right-artical ul li:nth-child(3) {
    margin-left: 0;
  }
  /* 科室简介 */
  .branch .branch-right {
    width: calc(100% - 17rem);
    max-height: 45rem;
    overflow-y: auto;
  }
  .branch .branch-content {
    flex-wrap: wrap;
    justify-content: space-evenly;
    margin-bottom: 1rem;
  }
  .branch .branch-child-box {
    padding-left: 0rem;
  }
  .branch .branch-child-items {
    /* width: 15rem; */
    flex: 0 1 31%;
    font-size: 1.4rem;
  }
  /* 通知公告 */
  .notify .lifts li {
    flex: 0 1 48%;
  }
  .notify .advs li {
    flex: 0 1 100%;
  }
  /* 大标题 */
  .big-title {
    height: 10rem;
    line-height: 10rem;
  }
  .big-title p {
    font-size: 1.8rem;
  }
  /* 链接 */
  .jump {
    height: 21rem;
    padding-top: 3rem;
  }
  .jump span {
    font-size: 1.4rem;
    display: block;
    height: 2rem;
    line-height: 2rem;
    margin-bottom: 1rem;
  }
  .jump span:nth-child(1) {
    font-size: 1.6rem;
  }
  /* 地图 */
  .earthmap .tips {
    position: static; /* 使元素变为流式布局 */
    width: 100%; /* 可根据需要调整宽度 */
    height: auto; /* 高度根据内容自动调整 */
    top: auto; /* 移除 top 定位 */
    right: auto; /* 移除 right 定位 */
    padding: 2rem; /* 可以根据需要调整内边距 */
    border-radius: 0;
  }
  /* 尾部 */
  .footer {
    height: 100%;
  }
  .footer ul {
    box-sizing: border-box;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 3rem;
  }
  .footer ul li:nth-child(1) {
    display: block;
  }
  .footer ul li {
    flex: 0 1 100%;
    margin-bottom: 2rem;
  }
  .footer .information p {
    font-size: 1.4rem;
    text-align: center;
  }
  .footer ul .submit {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer .submit .submit-son {
    width: 20rem;
  }
  .twoCode {
    justify-content: space-evenly;
  }
  .footer .twoCode > div {
    margin-left: 0;
  }
}

/* 小型桌面（如13-15英寸笔记本） */
@media (min-width: 1025px) and (max-width: 1440px) {
  /* 在此范围内的样式 */
  /* 顶部隐藏bar */
  .topBar .bar-logo {
    width: 18rem;
    height: 3.6rem;
    line-height: 3.6rem;
  }
  .topBar .bar-button li {
    font-size: 1.6rem;
  }
  /* 顶部nav */
  .Kloge {
    margin-left: 2rem;
    padding-top: 4rem;
  }
  .trapezoid {
    width: 47rem;
  }
  .lookbar-button {
    margin-right: 2rem;
  }
  .lookbar-button ul li {
    width: 9rem;
    font-size: 1.8rem;
  }
  /* 新闻区 */
  .news .news-content {
    max-height: 38rem;
    overflow-y: hidden;
    margin-bottom: 2rem;
  }
  .news .left-picture ul li {
    width: 48rem;
  }
  .news .right-artical {
    width: calc(100% - 48rem);
  }
  .news .right-artical ul {
    width: 100%;
    max-height: 38rem;
    overflow-y: auto;
  }
  .news .right-artical ul li {
    flex: 0 1 100%;
  }
  /* 科室简介 */
  .branch .branch-child-box {
    padding-left: 6rem;
    /* justify-content: space-evenly; */
  }
  /* 通知公告 */
  .notify .lifts li {
    flex: 0 1 48%;
  }
  .notify .lifts-road h4 {
    font-size: 2rem;
  }
  .notify .lifts-road p {
    font-size: 1.6rem;
  }
  /* 链接 */
  .jump span {
    font-size: 1.6rem;
  }
  .jump span:nth-child(1) {
    font-size: 1.8rem;
  }
  /* 地图 */
  .earthmap .tips {
    position: static; /* 使元素变为流式布局 */
    width: 100%; /* 可根据需要调整宽度 */
    height: auto; /* 高度根据内容自动调整 */
    top: auto; /* 移除 top 定位 */
    right: auto; /* 移除 right 定位 */
    padding: 2rem; /* 可以根据需要调整内边距 */
    border-radius: 0;
  }
  /* 尾部 */
  .footer {
    height: 100%;
  }
  .footer ul {
    box-sizing: border-box;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 3rem;
  }
  .footer ul li:nth-child(1) {
    display: block;
  }
  .footer ul li {
    flex: 0 1 100%;
    margin-bottom: 2rem;
  }
  .footer .information p {
    text-align: center;
    font-size: 1.4rem;
  }
  .footer ul .submit {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer .submit .submit-son {
    width: 20rem;
  }
  .twoCode {
    justify-content: space-evenly;
  }
  .footer .twoCode > div {
    margin-left: 0;
  }
}

@media (min-width: 1441px) and (max-width: 1470px) {
  /* 在此范围内的样式 */
  .news .right-artical ul li {
    flex: 0 1 100%;
  }
  .news .right-artical ul {
    overflow-y: auto;
  }
}
