.page-content {
    width: 100%;
    background-image: url(../images/kxyj_twlb/bg_top.png),
        url(../images/kxyj_twlb/bg_bottom.png);
    background-size: 100% 702px, 1002px 487px;
    background-position: top, bottom right;
    background-repeat: no-repeat, no-repeat;
    padding-bottom: 20px;
    padding-top: 220px;
    position: relative;
}

/* 侧边导航菜单 */
.side-nav {
    position: fixed;
    left: calc((100% - 1410px) / 2);
    top: 35%;
    transform: translateY(-40%);
    width: 105px;
    background: #fff;
    z-index: 1000;
    background-color: transparent;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.side-nav.show {
    opacity: 1;
    visibility: visible;
}

.side-nav::before {
    content: "";
    position: absolute;
    right: 33px;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: #e0e0e0;
}

.side-nav-item {
    position: relative;
    padding: 15px 30px 15px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
    font-size: 15px;
    text-align: left;
}

.side-nav-item:hover {
    color: var(--primary-color);
}

.side-nav-item.active {
    color: var(--primary-color);
    font-weight: 500;
}

.side-nav-item.active::before {
    content: "";
    position: absolute;
    right: 29.5px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.side-nav-top {
    margin-top: 20px;
    padding: 15px 40px 15px 0;
    cursor: pointer;
    color: #999;
    font-size: 14px;
    transition: color 0.3s ease;
    text-align: right;
}

.side-nav-top:hover {
    color: var(--primary-color);
}

.page-content-container {
    background-color: #fff;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
}

.page-content-container-content {
    position: relative;
    margin-top: 80px;
    margin-bottom: 30px;
    border-top: 6px solid #7b0e72;
}

.page-content-container-top {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 300px;
    border-bottom: 5px solid var(--primary-color);
}

.page-item-container {
    margin: 0 25px;
    width: 1200px;
}

.title {
    display: flex;
    align-items: flex-end;
    border-bottom: 1px solid var(--primary-color);
    margin-top: 50px;
    margin-bottom: 40px;
}

.title_text {
    font-size: 26px;
    font-weight: bold;
    color: var(--primary-color);
    margin-left: 10px;
}

.item_1 {
    position: absolute;
    top: -120px;
    border-bottom: 5px solid var(--primary-color);
    display: flex;
    align-items: flex-end;
}

.item_1_left {
    width: 828px;
    height: 405px;
    background-image: url("../images/grzy/item_1_left_bg.png");
    padding: 0 40px;
}

.item_1_left_title {
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    height: 110px;
    line-height: 110px;
}

.item_1_left_text {
    height: 255px;
    overflow: hidden;
}

.item_1_left_text>ol {
    padding-left: 20px;
    height: 255px;
    margin: 0 0 0 5px;
}

.item_1_left_text>ol>li {
    font-size: 20px;
    color: #fff;
}

.item_1_right {
    display: flex;
    align-items: flex-end;
    width: 510px;
    height: 340px;
}

.item_1_right>img {
    width: 510px;
    height: 340px;
    object-fit: cover;
}

.item_2 {
    padding-top: 280px;
    margin-bottom: 50px;
}

.item_2 .title {
    margin-bottom: 30px;
}

.item_3_content {
    display: flex;
    justify-content: space-between;
    /* height: 500px; */
}

.item_3_content_left {
    display: flex;
    flex-direction: column;
    width: 230px;
}

.item_3_content_left>.avatar_box>img {
    width: 286px;
    height: 337px;
    object-fit: cover;
}

.item_3_content_left>.avatar_name {
    background: url("../images/grzy/avatar_bottom‌.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    height: 75px;
    width: 230px;
    color: #fff;
    padding-right: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
}

.item_3_content_left>.avatar_name>.avatar_name_1 {
    font-size: 24px;
    font-weight: 500;
    line-height: 30px;
}

.item_3_content_left>.avatar_name>.avatar_name_2 {
    font-size: 18px;
}

.item_3_content_right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.item_3_content_right_text {
    width: 930px;
    height: auto;
    border: 1px solid #e2e2e2;
    padding: 20px 30px;
    font-size: 18px;
    color: #000;
    letter-spacing: 1px;
}

.item_3_content_right_gzjl,
.item_3_content_right_syscy {
    width: 930px;
    margin-top: 20px;
}

.item_3_content_right_gzjl_title {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.item_3_content_right_gzjl_timeline {
    position: relative;
    padding-left: 30px;
    border-left: 1px solid var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -36px;
    top: 8px;
    width: 12px;
    height: 12px;
    background-color: var(--primary-color);
    border-radius: 50%;
    z-index: 1;
}

.timeline-date {
    min-width: 180px;
    font-weight: bold;
    font-size: 19px;
    color: #000;
    flex-shrink: 0;
    margin-right: 30px;
}

.timeline-content {
    flex: 1;
    font-size: 18px;
    color: #000;
    /* line-height: 1.6; */
}

/* 实验室成员样式 */
.item_3_content_right_syscy_title {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.member-section {
    margin-bottom: 40px;
}

.member-section-title {
    position: relative;
    font-size: 20px;
    font-weight: bold;
    color: #000;
    margin-bottom: 20px;
}

.member-section-title::before {
    content: "";
    position: absolute;
    left: -36px;
    top: 8px;
    width: 12px;
    height: 12px;
    background-color: var(--primary-color);
    border-radius: 50%;
    z-index: 1;
}

.member-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.member-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 210px;
}

.member-photo {
    width: 210px;
    height: 227px;
    object-fit: cover;
    overflow: hidden;
    background-color: #f5f5f5;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-line {
    border-top: 4px solid #97004e;
    margin-top: 2px;
}

.member-info {
    padding: 15px;
    border-top: 1px solid #ddd;
    font-size: 16px;
}

.member-name {
    font-size: 24px;
    font-weight: bold;
    color: #000;
    margin-bottom: 8px;
}

.member-title {
    margin-bottom: 8px;
    word-wrap: break-word;
    word-break: break-all;
    overflow-wrap: break-word;
    hyphens: auto;
    line-height: 1.4;
    font-size: 14px;
}

.member-email {
    /* font-size: 16px; */
    color: #406c9f;
}

.member-email-url {
    word-wrap: break-word;
    word-break: break-all;
    overflow-wrap: break-word;
    hyphens: auto;
    line-height: 1.4;
    font-size: 14px;
}

.item_4>.title {
    position: relative;
}

.item_4_more {
    position: absolute;
    right: 0;
    top: 25px;
    display: flex;
    align-items: center;
    column-gap: 5px;
    font-size: 14px;
    font-weight: 500;
    width: 100px;
}

.item_4_content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 10px;
}

/* 隐藏第6个之后的item_4_content_item */
.item_4_content_item:nth-child(n+8) {
    display: none;
}

/* 展开状态时显示所有item */
.item_4_content.expanded .item_4_content_item:nth-child(n+8) {
    display: block;
}

.item_4_content_item {
    width: 100%;
    height: 150px;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.5);
    padding: 27px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
    line-height: 1.7;
    font-size: 20px;
}

/* 展开按钮样式 */
.item_4_more {
    cursor: pointer;
    transition: all 0.3s ease;
}

.item_4_more.expanded img {
    transform: rotate(180deg);
}

.item_4_more.expanded div {
    color: var(--primary-color);
}

.item_5_content {
    display: flex;
    justify-content: space-between;
}

.item_5_content_item {
    width: 590px;
}

.item_5_content_item_title {
    border-bottom: 1px solid var(--primary1-color);
    padding-bottom: 1px;
}

.item_5_content_item_title_left {
    width: 60px;
    height: 36px;
    background-color: var(--primary-color);
    text-align: center;
    line-height: 36px;
    font-size: 20px;
    color: #fff;
}

.item_5_content_item_title_right {
    font-size: 16px;
}

.item_5_content_item_text ul {
    list-style-type: square;
    padding-left: 50px;
    min-height: 105px;
}

.item_5_content_item_text ul li {
    margin-bottom: 8px;
    color: #000;
    font-size: 18px;
    letter-spacing: 1px;
}

.item_5_content_item_text ul li::marker {
    color: var(--primary-color);
}

.item_5_content_item_text>p {
    font-size: 16px;
    padding-left: 30px;
}

.item_6_content {
    display: flex;
    flex-direction: column;
    padding-left: 60px;
}

.item_6>.title {
    margin-bottom: 30px;
}

.item_6_content {
    padding-bottom: 40px;
}

.item_6_content> :nth-child(1) {
    font-weight: 500;
}

/* .swiper {
  width: 100%;
  padding-top: 25px;
  padding-bottom: 25px;
  margin: 0 auto;
}

.swiper-slide {
  background-position: center;
  background-size: cover;
  overflow: hidden;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  background: #fff;
}

.slide-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 20px;
}




.slide-image img {
  transition: transform 0.3s ease;
}

.swiper-slide:hover img {
  transform: scale(1.05);
}

.swiper-pagination {
  position: relative;
  margin-top: 20px;
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: var(--primary-color);
  opacity: 0.5;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  background-color: var(--primary-color);
  transform: scale(1.2);
} */

.swiper {
    /* height: 500px; */
    /* background-color: hotpink; */
}

.slide-title {
    display: flex;
    font-size: 28px;
    font-weight: bold;
    column-gap: 10px;
    padding-left: 270px;
}

.slide-title>img {
    width: 40px;
    height: 40px;
}

.slide-title-text {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.slide-title-text.active {
    display: inline;
    opacity: 1;
}

.swiper-wrapper {
    /* background-color: aqua; */
    height: 450px;
    position: relative;
}

.swiper-slide {
    width: 800px;
    height: 450px;
}

.swiper-slide>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.current-slide {
    margin: 0 auto;
}

.swiper-pagination {
    width: 890px;
    /* background-color: red; */
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.slide-text {
    width: 800px;
    font-size: 18px;
    color: #333;
    line-height: 1.6;
    text-align: justify;
    padding: 15px;
    background: rgba(0, 0, 0, 0.05);
}

.slide-text-content {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    /* 添加flexbox样式 */
    align-items: center;
    gap: 10px; /* 图片和文字之间的间距 */
}

.slide-text-content.active {
    display: flex; /* 改为flex而不是block */
    opacity: 1;
}

/* 确保图片不会太大 */
.slide-text-content img {
    flex-shrink: 0; /* 防止图片被压缩 */
    max-height: 35px; /* 根据需要调整图片高度 */
    width: auto;
}

.prev-btn,
.next-btn {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.prev-btn:hover,
.next-btn:hover {
    transform: scale(1.1);
}

.prev-btn:active,
.next-btn:active {
    transform: scale(0.95);
}

.last-slide {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 600px;
    height: 350px;
    opacity: 0.5;
    transition: all 0.5s ease;
    cursor: pointer;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1), 0 1.5px 6px rgba(0, 0, 0, 0.10);
    z-index: 1;
}

.current-slide {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    z-index: 10;
    transition: all 0.5s ease;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18), 0 1.5px 6px rgba(0, 0, 0, 0.10);
    border-radius: 8px;
}

.next-slide {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 600px;
    height: 350px;
    opacity: 0.5;
    transition: all 0.5s ease;
    cursor: pointer;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1), 0 1.5px 6px rgba(0, 0, 0, 0.10);
    z-index: 1;
}

.last-slide:hover,
.next-slide:hover {
    opacity: 0.8;
    transform: translateY(-50%) scale(1.05);
}

.slide-transition {
    animation: slideTransition 0.3s ease-in-out;
}

@keyframes slideTransition {
    0% {
        transform: translateX(-50%) scale(0.95);
        opacity: 0.8;
    }

    100% {
        transform: translateX(-50%) scale(1);
        opacity: 1;
    }
}

.slide-indicator {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.current-slide-number {
    color: var(--primary-color);
    font-weight: bold;
}

/* 媒体查询 - 小屏幕电脑不显示侧边导航 */
@media screen and (max-width: 1366px) {
    .side-nav {
        display: none;
    }
}

/* 媒体查询 - 中等屏幕电脑不显示侧边导航 */
@media screen and (max-width: 1366px) {
    .side-nav {
        display: none;
    }
}

/* 媒体查询 - 大屏幕才显示侧边导航 */
@media screen and (min-width: 1367px) {
    .side-nav {
        display: block;
    }
}
