@charset "UTF-8";
.hospital-news > div:first-child {
  margin-bottom: 30px;
}
.hospital-news > div:nth-of-type(2) {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: repeat(2, 1fr);
  column-gap: 40px;
  row-gap: 20px;
  margin: 0 200px;
  margin-bottom: 50px;
  font-family: "Microsoft YaHei", 微软雅黑, "MicrosoftJhengHei", serif;
}
.hospital-news > div:nth-of-type(2) > div:nth-of-type(1) {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
}
.hospital-news > div:nth-of-type(2) > div:nth-of-type(1) img {
  width: 100%;
  height: 100%;
}
.hospital-news > div:nth-of-type(2) > div:nth-of-type(1) > div {
  position: relative;
  padding: 15px 3px 5px 30px;
  background-color: rgb(231, 239, 252);
}
.hospital-news > div:nth-of-type(2) > div:nth-of-type(1) > div > div:nth-of-type(1) {
  font-size: 20px;
  color: #333;
  font-weight: bold;
}
.hospital-news > div:nth-of-type(2) > div:nth-of-type(1) > div > div:nth-of-type(2) {
  color: gray;
  font-size: 17px;
  padding: 12px 0 14px 0;
}
.hospital-news > div:nth-of-type(2) > div:nth-of-type(1) > div > div:nth-of-type(3) {
  margin: 5px 0 0 0;
  font-size: 16px !important;
  display: contents;
  height: 150px;
  color: #333;
  font-family: "Microsoft YaHei", 微软雅黑, "MicrosoftJhengHei", serif;
}
.hospital-news > div:nth-of-type(2) > div:nth-of-type(1) > div > div:nth-of-type(3) >p * {
    font-size: 20px !important;
}

.hospital-news > div:nth-of-type(2) > div:nth-of-type(1) > div > div:nth-of-type(4) {
  font-size: 16px;
  color: #5a6268;
  position: absolute;
  right: 10px;
  bottom: 10px;
}
.hospital-news > div:nth-of-type(2) > div:nth-of-type(2) {
  grid-area: 1/2/3/3;
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  align-items: center;
  padding: 20px 10px 20px 30px;
  box-shadow: 0 0 5px 5px rgb(248, 248, 248);
}
.hospital-news > div:nth-of-type(2) > div:nth-of-type(2) > div {
  padding-bottom: 20px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgb(238, 238, 238);
}
.hospital-news > div:nth-of-type(2) > div:nth-of-type(2) > div > div:nth-of-type(1) {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  color: gray;
  margin-bottom: 10px;
  position: relative;
  transform: translateX(2px);
}
.hospital-news > div:nth-of-type(2) > div:nth-of-type(2) > div > div:nth-of-type(1) .mini-clock {
  width: 20px;
  height: 20px;
}
.hospital-news > div:nth-of-type(2) > div:nth-of-type(2) > div > div:nth-of-type(2) {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2; /* 限制行数为2行 */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal; /* 允许文本换行 */
  font-size: 20px;
  color: #333;
}
.hospital-news > div:nth-of-type(2) > div:nth-of-type(3) {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.hospital-news > div:nth-of-type(2) > div:nth-of-type(3) > div {
  box-shadow: 0 0 5px 5px rgb(248, 248, 248);
  height: 100%;
  display: grid;
  grid-template-rows: 170px 90px 40px;
}
.hospital-news > div:nth-of-type(2) > div:nth-of-type(3) > div > p {
  margin: 10px;
  padding: 2px;
  font-size: 18px;
}
.hospital-news > div:nth-of-type(2) > div:nth-of-type(3) > div > p >a{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.hospital-news > div:nth-of-type(2) > div:nth-of-type(3) > div > p:nth-of-type(1) {
  color: #333;
  height: 70px;
}
.hospital-news > div:nth-of-type(2) > div:nth-of-type(3) > div > p:nth-of-type(2) {
  color: #999999;
  font-size: 16px;
  margin: 0 10px;
}
.hospital-news > div:nth-of-type(3) {
  text-align: center;
}
.hospital-news > div:nth-of-type(3) button {
  border-radius: 20px;
  border: 1px solid black;
  padding: 3px 30px;
  background-color: white;
  text-align: center;
}

.notice-announcement {
  padding: 60px 200px;
  margin-top: 20px;
}
.notice-announcement > div:first-child {
  margin-bottom: 60px;
  position: relative;
}
.notice-announcement > div:first-child a button {
  position: absolute;
  border: none;
  background-color: transparent;
  font-size: 12px;
  right: 20px;
  top: 30%;
}
.notice-announcement > ul {
  position: relative;
  padding: 10px;
}
.notice-announcement > ul > li {
  border-bottom: 2px solid black;
  display: grid;
  grid-template-columns: 12fr 1fr;
  align-items: center;
  padding: 10px;
  margin-bottom: 13px;
}
.notice-announcement > ul > li > div:nth-of-type(1) {
  font-size: 20px;
  color: black;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-left: 15px;
  padding-right: 8px;
}
.notice-announcement > ul > li > div:nth-of-type(2) {
  font-size: 16px;
  color: gray;
  white-space: nowrap;
}
.notice-announcement > ul li::before {
  position: absolute;
  content: "•";
  color: black;
  font-size: 1.5em;
  left: 15px;
}

.video-teaching {
  width: 100%;
}
.video-teaching > div:nth-of-type(1) {
  margin-bottom: 20px;
}
.video-teaching > div:nth-of-type(2) {
  padding-bottom: 30px;
}
.video-teaching > div:nth-of-type(2) > div:nth-of-type(1) {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
  height: 650px;
  padding-top: 120px;
}
.video-teaching > div:nth-of-type(2) > div:nth-of-type(1) > a {
  width: 270px;
  height: 350px;
  background-color: white;
  position: relative;
  margin: 0 15px;
}
.video-teaching > div:nth-of-type(2) > div:nth-of-type(1) > a > img {
  width: 100%;
  height: 70%;
  object-fit: fill;
}
<!-- .video-teaching > div:nth-of-type(2) > div:nth-of-type(1) > a > div {
  position: absolute;
  top: 70%;
  width: inherit;
  text-align: center;
  color: white;
  background-color: rgba(0, 0, 0, 0.5);
} -->
.video-teaching > div:nth-of-type(2) > div:nth-of-type(1) > a   .videoBoxBottom {
    position: absolute;
    bottom: -30%;
    width: 94%;
    padding: 0 3%;
    height: 30%;
    text-align: left;
    color: black;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    font-size: 14px;
}
.video-teaching > div:nth-of-type(2) > div:nth-of-type(2) {
  margin-top:20px;
  text-align: center;
  color: white;
}

.hospital-news, .notice-announcement, .video-teaching {
  margin-bottom: 50px;
}
.hospital-news > div:first-child, .notice-announcement > div:first-child, .video-teaching > div:first-child {
  font-size: 40px;
  color: green;
  font-weight: bold;
  text-align: center;
  letter-spacing: 2px;
}