﻿/*研究所介绍*/
.yjsjs-about {
  /* padding: 0 0 80px; */
  background-image: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), url(/Content/Areas/Hospitals/images/about_bg.jpg);
  background-size: cover;
  background-position: center 0 !important;
  background-attachment: fixed;
  background-repeat: no-repeat;
  position: relative;
  min-height: 100vh;
  overflow: visible;

  display: flex;
  align-items: center;
}
.yjsjs-about-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  /* padding: 40px 20px 0 !important; */
  z-index: 2;
}
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  width: 100%;
}
.yjsjs-content-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
}
.yjsjs-about-image-container {
  width: 70%;
  position: relative;
  z-index: 2;
}
.yjsjs-about-image {
  width: 100%;
  padding-top: 75%;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
.yjsjs-about-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.yjsjs-about-image:hover img {
  transform: scale(1.03);
}
.yjsjs-red-card {
  background-color: rgba(11, 94, 164, 0.8);
  border-radius: 12px;
  position: absolute;
  top: -18px;
  left: -18px;
  right: 45px;
  bottom: 45px;
  z-index: 1;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.yjsjs-about-card {
  background-color: white;
  border-radius: 12px;
  padding: 38px 45px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 3;
}
.yjsjs-about-text {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
}
.yjsjs-about-text P{
  text-indent: 2em;
}
.yjsjs-cards-container {
  width: 90%;
  position: relative;
  margin-left: -70px;
  z-index: 3;
}
.yjsjs-about-text .js{
    display: none;
}
@media only screen and (max-width:768px) {
  .yjsjs-content-wrapper{
     position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 20px;
  padding: 10px;
  }
  .yjsjs-about-image-container{
    width: 100%;
  position: relative;
  z-index: 2;
  }
  .yjsjs-cards-container{
     width: 100%;
  position: relative;
  margin-left: 0px;
  z-index: 3;
  }
  .yjsjs-red-card{
    background-color: rgba(11, 94, 164, 0.8);
    border-radius: 12px;
    position: absolute;
    top: -10px;
    left: -18px;
    right: 45px;
    bottom: 45px;
    z-index: 1;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  }
  .yjsjs-about-card{
    background-color: white;
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 3;
  }
  .yjsjs-about-text P{
    display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.5;
  word-break: break-all;
  }
  .yjsjs-about{
    min-height: auto;
  }
}