@import 'base.css';
@font-face {
  font-family: SourceHanSansCN-Medium;
  src: url('../fonts/SourceHanSansCN-Medium.otf');
}
@font-face {
  font-family: SourceHanSansCN-Regular;
  src: url('../fonts/SourceHanSansCN-Regular.otf');
}
@font-face {
  font-family: SourceHanSansCN-Bold;
  src: url('../fonts/SourceHanSansCN-Bold.otf');
}

/* 给外层大盒子设置flex布局 */
.outerBox {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* 内容部分 */
.index-box {
  flex: 1;
  position: relative;
  margin-top: 44px;
  height: 100%;
}

.container {
  position: relative;
}
.background {
  height: 593px;
  background: url('../imgs/background-image.png') no-repeat center center;
  background-size: cover;
}

.container-text-1 {
  position: absolute;
  left: 26px;
  top: 96px;
  font-family: 'SourceHanSansCN-Bold';
  font-size: 24px;
  line-height: normal;
  letter-spacing: 0.2em;
  color: var(--white);
}
.container-text-2 {
  position: absolute;
  left: 26px;
  top: 143px;
  height: 20px;
  color: var(--white);
  font-family: 'SourceHanSansCN-Regular';
  line-height: normal;
  letter-spacing: 0.2em;
}
.container-text-3 {
  position: absolute;
  left: 26px;
  top: 175px;
  font-family: 'SourceHanSansCN-Regular';
  font-size: 12px;
  line-height: normal;
  letter-spacing: 0.2em;
  color: var(--white);
}
.bottom {
  position: absolute;
  top: 332px;
  right: 57px;
  bottom: 73px;
  left: 26px;
}
.bottom-box {
  display: flex;
}
.container-text-4 {
  display: flex;
  flex-direction: column;
}
.title {
  font-family: 'SourceHanSansCN-Bold';
  font-size: 12px;
  line-height: normal;
  letter-spacing: 0.2em;
  color: var(--white);
}
.num {
  margin-top: 3px;
  font-family: 'SourceHanSansCN-Regular';
  font-size: 30px;
  font-weight: 900;
  padding: 4px 0px;
  line-height: normal;
  letter-spacing: 0em;
  color: var(--white);
}
.desc {
  margin-top: 7px;
  font-size: 10px;
  font-family: 'SourceHanSansCN-Regular';
  line-height: normal;
  letter-spacing: 0em;
  color: var(--white);
}

.container-text-5 {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
}

.container-text-6 {
  display: flex;
  margin-left: 57px;
  flex-direction: column;
}
.container-text-7 {
  display: flex;
  flex-direction: column;
  margin-left: 57px;
  margin-top: 20px;
}

/* 名医推荐页面 */
.recommend-container {
  overflow: hidden;
  background-color: var(--background-color);
}
.famous {
  font-family: 'SourceHanSansCN-Medium';
  text-align: center;
  margin-top: 24px;
  font-size: 16px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0em;
  color: var(--primary-minor);
}
.recommend-card-box {
  display: flex;
  overflow: auto;
  padding: 16px 0px 26px 18px;
}
.recommend-card {
  flex-shrink: 0;
  overflow: hidden;
  width: 210px;
  border-radius: var(--border-radius);
  background-color: var(--white);
  box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.05);
}

/*隐藏横向滚动条*/
::-webkit-scrollbar {
  display: none;
}

/* 弹出层样式 */
.popup-container {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.popup-content {
  position: absolute;
  left: 50%;
  top: 50vh;
  transform: translate(-50%, -50%);
  width: 295px;
  height: 322px;
  border-radius: var(--border-radius);
  background-color: white;
}

.addService {
  width: 100%;
  height: 100px;
}

.erweima {
  width: 145px;
  height: 143px;
  margin-left: 80px;
  margin-top: 16px;
}

.popup-content-cancel {
  width: 28px;
  height: 16.5px;
  font-family: 阿里巴巴普惠体 2;
  font-size: 14px;
  font-weight: normal;
  line-height: 16.38px;
  margin: 25px auto;
  letter-spacing: 0px;
  color: #a7aebc;
}

.recommend-card:not(:first-child) {
  margin-left: 20px;
}

.recommend-title {
  font-family: 'SourceHanSansCN-Medium';
  font-size: 12px;
  line-height: normal;
  letter-spacing: 0em;
  margin-top: 12px;
  margin-left: 12px;
  color: var(--text-color);
}
.recommend-doctor {
  margin: 9px 12px 0px 12px;
}
.recommend-doctor-line {
  margin-top: 20px;
  position: relative;
  display: flex;
}

.recommend-doctor-line:not(:last-child)::after {
  position: absolute;
  left: 0;
  bottom: -8px;
  content: '';
  width: 100%;
  height: 0.5px;
  background-color: var(--solid-color);
}

.recommend-img {
  background: #f3f4f5;
  border-radius: 50%;
  opacity: 1;
  width: 40px;
  height: 40px;
}

.recommend-doctor-line-right {
  display: flex;
  flex-direction: column;
}
.recommend-doctor-name {
  margin-left: 8px;
  font-family: 'SourceHanSansCN-Medium';
  font-size: 14px;
  line-height: normal;
  letter-spacing: 0em;
  color: var(--text-color-4);
}
.recommend-doctor-level {
  margin-left: 8px;
  font-family: 'SourceHanSansCN-Regular';
  font-size: 12px;
  line-height: normal;
  letter-spacing: 0em;
  color: var(--text-color-4);
}
.recommend-department {
  margin-left: 8px;
  font-family: 'SourceHanSansCN-Regular';
  font-size: 10px;
  line-height: normal;
  letter-spacing: 0em;
  color: var(--text-color-3);
}

/* 更多名医按钮 */
.recommend-more {
  text-align: center;
  width: 84px;
  height: 24px;
  border-radius: 100px;
  box-sizing: border-box;
  border: 0.5px solid var(--primary-color);
  font-family: 'SourceHanSansCN-Regular';
  font-size: 12px;
  line-height: normal;
  letter-spacing: 0em;
  color: var(--primary-color);
  line-height: 22px;
  margin: 8px auto;
}

/* 关于区域 */
.about-container {
  position: relative;
  overflow: hidden;
  background-color: #fff;
  height: 360px;
}
.gst {
  font-family: 'SourceHanSansCN-Medium';
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0em;
  margin-top: 16px;
  color: var(--primary-minor);
}
.map {
  height: 218px;
  object-fit: cover;
}

.tips {
  position: absolute;
  width: 37px;
  height: 17px;
  background: #ffffff;
  border-radius: var(--border-radius);
  box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.1);
  font-family: 'SourceHanSansCN-Regular';
  font-size: 10px;
  text-align: center;
  font-weight: normal;
  line-height: 17px;
  letter-spacing: 0em;
  color: var(--text-color);
}

.tips::before {
  content: '';
  position: absolute;
  bottom: -1.5px;
  left: 7px;
  width: 5px;
  height: 5px;
  transform: rotate(45deg);
  background: #fff;
  border-radius: 1px;
}

.about-img {
  position: absolute;
  right: 0px;
  bottom: 15px;
  width: 29px;
  height: 38px;
}

.allTab {
  margin-top: 3px;
}

/* tab切换 */
.tab-container {
  display: flex;
  justify-content: space-around;
}

.tab {
  font-family: 'SourceHanSansCN-Regular';
  font-size: 12px;
  line-height: 12px;
  display: flex;
  align-items: center;
  letter-spacing: 0px;
  color: #858e9f;
  padding: 10px;
  cursor: pointer;
  background-color: var(--white);
}

.tab.active {
  font-family: 'SourceHanSansCN-Bold';
  color: var(--primary-color);
}

.tab-content {
  display: none;
}

#tab1-content {
  position: relative;
  margin: 10px 36px 12px 40px;
}

.tab-map {
  position: absolute;
  left: 0;
  top: 0;
}

.about-title {
  font-family: 'SourceHanSansCN-Bold';
  color: var(--primary-color);
  margin-top: 20px;
  margin-left: 16px;
  font-size: 16px;
  line-height: normal;
  letter-spacing: 0em;
}

.about-desc {
  color: var(--text-color);
  margin-top: 20px;
  margin-left: 16px;
  font-size: 14px;
  font-weight: normal;
  line-height: normal;
  letter-spacing: 0em;
}
/* 了解更多按钮 */
.know-more {
  position: absolute;
  left: 50%;
  transform: translate(-50%);
  bottom: 10px;
  text-align: center;
  width: 80px;
  color: #c3924d;
  font-size: 12px;
  font-weight: normal;
  line-height: normal;
  height: 25.6px;
  margin: 0 auto;
  line-height: 24px;
  border-radius: 100px;
  border: 0.5px solid #c3924d;
}

/* 企业动态区域 */
.enterprise-container {
  overflow: hidden;
  background-color: var(--background-color);
}
.enterprise-title {
  text-align: center;
  margin-top: 40px;
  font-size: 16px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0em;
  font-family: 'SourceHanSansCN-Medium';
  color: var(--active-color);
}

.enterprise-img {
  margin: 12px 16px;
  text-align: center;
}

.enterprise-img img {
  width: 100%;
  height: 170px;
  object-fit: fill;
}

/* 底下内容区域 */
.enterprise-content {
  margin: 10px 16px 0px 16px;
}

.enterprise-content-box {
  position: relative;
}

.enterprise-content-box::after {
  position: absolute;
  content: '';
  width: 100%;
  height: 0.5px;
  left: 0px;
  bottom: -8px;
  background-color: var(--border-color-1);
}

.enterprise-content-box:not(:first-child) {
  position: relative;
  margin-top: 14px;
}

.enterprise-date {
  font-family: 'SourceHanSansCN-Medium';
  font-size: 12px;
  line-height: normal;
  letter-spacing: 0em;
  color: var(--primary-color);
  margin-bottom: 8px;
}
.enterprise-subTitle {
  font-family: 'SourceHanSansCN-Regular';
  font-size: 15px;
  line-height: normal;
  letter-spacing: 0em;
  color: var(--text-color);
}
.enterprise-desc {
  font-family: ' SourceHanSansCN-Regular';
  font-size: 12px;
  line-height: normal;
  letter-spacing: 0em;
  color: var(--text-color-3);
  margin-top: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3; /* 设置显示的行数 */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 更多新闻 */
.more-news {
  text-align: center;
  width: 80px;
  color: #c3924d;
  font-size: 12px;
  font-weight: normal;
  line-height: normal;
  height: 25.6px;
  margin: 22px auto;
  line-height: 24px;
  border-radius: 100px;
  border: 0.5px solid #c3924d;
}

/* 投资者关系区域 */
.investor-container {
  overflow: hidden;
}
.investor-title {
  text-align: center;
  margin-top: 20px;
  font-size: 16px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0em;
  font-family: 'SourceHanSansCN-Medium';
  color: var(--active-color);
}

/* 底下内容区域 */
.investor-content {
  margin: 14px 16px 0px 16px;
}

.investor-content-box {
  position: relative;
  margin-top: 12px;
}

.investor-content-box::after {
  position: absolute;
  content: '';
  width: 100%;
  height: 0.5px;
  left: 0px;
  bottom: -8px;
  background-color: var(--border-color-1);
}

.investor-date {
  font-family: 'SourceHanSansCN-Medium';
  font-size: 12px;
  line-height: normal;
  letter-spacing: 0em;
  color: var(--primary-color);
  margin-bottom: 8px;
}
.investor-subTitle {
  font-family: 'SourceHanSansCN-Regular';
  font-size: 15px;
  line-height: normal;
  letter-spacing: 0em;
  color: var(--text-color);
}
/* 查看更多 */
.look-more {
  width: 80px;
  height: 24px;
  margin: 19px auto;
  border-radius: 100px;
  box-sizing: border-box;
  border: 0.5px solid var(--primary-color);
  color: var(--primary-color);
  font-family: 'SourceHanSansCN-Regular';
  font-size: 12px;
  line-height: normal;
  letter-spacing: 0em;
  text-align: center;
  line-height: 22px;
}
