@import 'base.css';
@font-face {
  font-family: SourceHanSansCN-Regular;
  src: url('../fonts/SourceHanSansCN-Regular.otf');
}

/* 搜索框样式 */
.searchBox {
  position: relative;
}
.search-input {
  display: flex;
  width: calc(100% - 32px);
  height: 42px;
  line-height: 42px;
  padding-left: 47px;
  background: var(--background-color-2);
  margin: 58px 16px 0 16px;
  border: 0.5px solid var(--border-color-1);
  border-radius: var(--border-radius);
}

.search-left {
  position: relative;
  height: 42px;
}

.search-icon {
  position: absolute;
  left: 30px;
  top: 11px;
}

.close-icon {
  position: absolute;
  display: none;
  right: 100px;
  top: 9px;
}

.searchBox.show-close::after {
  display: block;
}

.search-input:focus {
  outline: none;
}

.search-button {
  position: absolute;
  right: 32px;
  bottom: 9px;
  width: 56px;
  height: 24px;
  border-radius: 100px;
  text-align: center;
  border: 0.5px solid var(--primary-color);
  font-family: 'SourceHanSansCN-Regular';
  font-size: 12px;
  line-height: 22px;
  letter-spacing: 0em;
  color: var(--primary-color);
}

input::-webkit-input-placeholder {
  font-family: 'SourceHanSansCN-Regular';
  font-size: 16px;
  line-height: normal;
  letter-spacing: 0em;
  color: #dddddd;
}

/* 下方tab切换页 */
.allTab {
  margin: 12px 5px 0px 5px;
}
.tab-container {
  display: flex;
}

.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;
}

.tab.active {
  color: var(--primary-color);
}

.tab-content {
  display: none;
  margin-top: 17px;
}

.tab-content a {
  display: block;
}

.tab1-containter {
  display: flex;
}
.tab1-containter:not(:first-child) {
  margin-top: 5px;
}

.tab1-content {
  border-radius: 4px;
  opacity: 1;
  background: var(--white);
  border: 0.5px solid var(--border-color-1);
  flex: 1 1 0;
  max-width: calc(50%);
}

.tab1-content:not(:first-child) {
  margin-left: 4px;
}
.tab1-content-desc {
  padding: 5px 5px 7px 5px;
}

.tab1-content-desc img {
  width: 100%;
  height: 96px;
  object-fit: cover;
}

.tab1-content-desc-title {
  margin-top: 4px;
  font-size: 14px;
  font-family: 'SourceHanSansCN-Regular';
  line-height: normal;
  letter-spacing: 0em;
  color: var(--text-color);
}

.tab1-content-desc-news {
  font-family: 'SourceHanSansCN-Regular';
  font-size: 12px;
  line-height: normal;
  letter-spacing: 0em;
  margin-top: 4px;
  color: var(--text-color-2);
  display: -webkit-box;
  -webkit-line-clamp: 3; /* 设置显示的行数 */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tab1-content-desc-date {
  font-family: 'SourceHanSansCN-Regular';
  font-size: 10px;
  margin-top: 6px;
  line-height: normal;
  letter-spacing: 0em;
  color: var(--text-color-3);
}

/* 专家科普 */
.specialist-content-line {
  display: flex;
  margin: 0 11px;
}

.specialist-content-line:not(:first-child) {
  margin-top: 20px;
}

.specialist-content-line-left-top {
  font-family: 'SourceHanSansCN-Regular';
  font-size: 14px;
  line-height: normal;
  letter-spacing: 0px;
  color: #262626;
}

.specialist-content-line-left-bottom {
  margin-top: 25px;
}

.specialist-content-line-left-bottom-name {
  font-family: 'SourceHanSansCN-Regular';
  font-size: 10px;
  line-height: normal;
  letter-spacing: 0em;
  color: var(--primary-color);
}
.specialist-content-line-left-bottom-date {
  font-family: 'SourceHanSansCN-Regular';
  font-size: 10px;
  line-height: normal;
  letter-spacing: 0em;
  color: var(--text-color-3);
  margin-left: 12px;
}
.specialist-content-line-left-bottom-read {
  font-family: 'SourceHanSansCN-Regular';
  font-size: 10px;
  line-height: normal;
  letter-spacing: 0em;
  margin-left: 12px;
  color: var(--text-color-3);
}
.specialist-content-line-right {
  margin-left: 16px;
}

.specialist-content-line-right img {
  width: 120px;
  height: 80px;
  object-fit: contain;
}

.specialist-content-line:not(:first-child) {
  margin-top: 20px;
}
/* 人才招聘 */
.recruitment-desc {
  margin: 12px 0px 16px 0px;
}

.recruitment-desc-line {
  background-color: var(--white);
  height: 133px;
  margin-top: 12px;
}

.recruitment-desc-line a {
  display: block;
}

.recruitment-content {
  padding: 16px;
}

.recruitment-content-firstline {
  display: flex;
  justify-content: space-between;
}

.doctor-name {
  font-family: 'SourceHanSansCN-Regular';
  font-size: 14px;
  line-height: normal;
  letter-spacing: 0em;
  color: var(--text-color);
}

.num {
  font-family: 'SourceHanSansCN-Regular';
  font-size: 14px;
  line-height: normal;
  letter-spacing: 0em;
  color: var(--text-color);
}

.recruitment-content-secondline {
  margin-top: 10px;
  font-family: 'SourceHanSansCN-Regular';
  font-size: 14px;
  line-height: normal;
  letter-spacing: 0em;
  color: var(--text-color-3);
}

.recruitment-content-thirdline {
  margin-top: 10px;
  margin-top: 10px;
  font-family: 'SourceHanSansCN-Regular';
  font-size: 12px;
  line-height: normal;
  letter-spacing: 0em;
  color: var(--text-color-3);
}

.recruitment-content-forthline {
  margin-top: 10px;
  margin-top: 10px;
  font-family: 'SourceHanSansCN-Regular';
  font-size: 10px;
  line-height: normal;
  letter-spacing: 0em;
  color: var(--text-color-3);
}

/* 没找到 */
#notFoundHTMLDiv {
  width: 100%;
}

.notFound {
  margin: 50px 99px 0px 99px;
}

.notFound-desc {
  text-align: center;
  font-family: 'SourceHanSansCN-Regular';
  font-size: 14px;
  line-height: normal;
  text-align: center;
  letter-spacing: 0em;
  color: #667085;
  margin-top: 13px;
}
