html,
body {
    max-width: 1920px;
    height: 100%;
    margin: 0 auto;
}

:root{
    --page-padding: 260px;
}

body {
    background: #f6f9ff;
}
/* 轮播图 */
.swiper_content {
    width: 100%;
    height: 680px;
    position: relative;
}
.swiper_box {
    width: 100%;
    height: 100%;
    position: relative;
}
.swiper_box .swiper-wrapper {
    width: 100%;
    height: 100%;
}
.swiper_box .swiper-slide {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.swiper_box .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.swiper_box .swiper-slide>div {
    width: 100%;
    height: 100%;
    font-size: 40px;
    color: #ffffff;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}
.swiper_box .swiper-slide span{
    width: 100%;
    height: 100%;
    font-size: 40px;
    color: #ffffff;
    font-weight: bold;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 100px;
}
.swiper_box .swiper-slide .title0{
    width: auto;
    height: auto;
    font-size: 40px;
    color: #4F1C11;
    font-weight: bold;
    position: absolute;
    top: 267px;
    left: 386px;
}
.swiper_box .swiper-slide .title1 {
    width: auto;
    height: auto;
    font-size: 40px;
    color: #0D2D4C;
    font-weight: bold;
    position: absolute;
    top: 277px;
    left: 459px;
}
/* 响应式布局 */
@media (max-width: 1200px) {
    .swiper_box .swiper-slide>div {
        font-size: 32px;
    }
    .swiper_box .swiper-slide span {
        font-size: 32px;
    }
    .swiper_box .swiper-slide .title0 {
        font-size: 32px;
        top: 200px;
        left: 200px;
    }
    .swiper_box .swiper-slide .title1 {
        font-size: 32px;
        top: 210px;
        left: 280px;
    }
}

@media (max-width: 768px) {
    .swiper_box .swiper-slide>div {
        font-size: 24px;
    }
    .swiper_box .swiper-slide span {
        font-size: 24px;
        padding-bottom: 100px;
    }
    .swiper_box .swiper-slide .title0,
    .swiper_box .swiper-slide .title1 {
        font-size: 24px;
        left: 50%;
        top: 42%;
        transform: translate(-50%, -50%);
        white-space: normal;
        max-width: calc(100% - 32px);
    }
}

@media (max-width: 480px) {
    .swiper_box .swiper-slide>div {
        font-size: 18px;
    }
    .swiper_box .swiper-slide span {
        font-size: 18px;
    }
    .swiper_box .swiper-slide .title0,
    .swiper_box .swiper-slide .title1 {
        font-size: 18px;
        top: 40%;
        left: 50%;
        transform: translate(-50%, -50%);
        max-width: calc(100% - 16px);
    }
}

/* 滚动进场动画（全站通用）：配合 ./js/public.js 的 initScrollReveal */
.scroll-reveal{
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}
.scroll-reveal.is-visible{
    opacity: 1;
    transform: translateY(0);
}
.scroll-reveal.no-anim{
    transition: none !important;
}
@media (prefers-reduced-motion: reduce){
    .scroll-reveal{
        transition: none !important;
        transform: none !important;
    }
}
.swiper_box .swiper-pagination {
    width: auto;
    position: absolute;
    bottom: 152px;
    left: auto;
    right: var(--page-padding);
}
.swiper_box .swiper-pagination-bullet {
    width: 40px;
    height: 6px;
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.3);
    opacity: 1;
    margin: 0 4px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.swiper_box .swiper-pagination-bullet-active {
    background-color: #ffffff;
}
.swiper_content .year_box {
    width: 100%;
    background: rgba(255, 255, 255, 0.5);
    padding: 0 var(--page-padding);
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 9;
    display: flex;
    align-items: center;
    justify-content: center;
}
.swiper_content .year_box>div {
    flex: 1;
    height: 112px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #333333;
}
.swiper_content .year_box>div .num {
    font-size: 16px;
    margin-bottom: 8px;
    line-height: 24px;
}
.swiper_content .year_box>div .num span {
    font-size: 24px;
    font-weight: bold;
    margin-right: 6px;
}
.swiper_content .year_box>div .text {
    font-size: 16px;
    line-height: 1;
}
.con_box {
    width: 100%;
    padding-top: 60px;
}

/* 滚动进场动画：进入视口时从下往上淡入（全站通用） */
.scroll-reveal{
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    will-change: opacity, transform;
}
.scroll-reveal.no-anim{
    transition: none;
}
.scroll-reveal.is-visible{
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce){
    .scroll-reveal{
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* 响应式（con_box） */
@media (max-width: 1700px) {
    .con_box {
        padding-top: 48px;
    }
}
@media (max-width: 768px) {
    .con_box {
        padding-top: 32px;
    }
}
@media (max-width: 480px) {
    .con_box {
        padding-top: 20px;
    }
}
/* 轮播图左右箭头 */
.swiper-prev {
    width: 50px;
    height: 50px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: absolute;
    top: 50%;
    left: -70px;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}
.swiper-prev img {
    width: 24px;
    height: 24px;
}
.swiper-prev:hover {
    background: #3772FB;
}
.swiper-prev:hover img {
    filter: brightness(0) invert(1);
}
.swiper-next {
    width: 50px;
    height: 50px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: absolute;
    top: 50%;
    right: -70px;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}
.swiper-next img {
    width: 24px;
    height: 24px;
    transform: rotate(180deg);
}
.swiper-next:hover {
    background: #3772FB;
}
.swiper-next:hover img {
    filter: brightness(0) invert(1);
}
.disabled{
    background: #dddddd;
    cursor: inherit;
}
.disabled img{
    /* filter: none; */
    filter: brightness(0) invert(0);
    opacity: 0.3;
}
.disabled:hover{
    background: #dddddd;
}
.disabled:hover img{
    /* filter: none; */
    filter: brightness(0) invert(0);
    opacity: 0.3;
}
/* tab切换 */
.tab_nav {
    width: 100%;
    padding: 60px var(--page-padding) 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0 40px;
}
.tab_nav .nav_item {
    width: 236px;
    height: 60px;
    border: 1px solid #d9d9d9;
    background: #ffffff;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.tab_nav .nav_item img {
    width: 24px;
    height: 24px;
    margin-right: 12px;
}
.tab_nav .nav_item div {
    font-size: 18px;
    color: #333333;
    font-weight: bold;
}
.tab_nav .nav_item:hover {
    border: 1px solid #3772FB;
    box-shadow: 0px 10px 20px 0px #111B311A;
}
.tab_nav .nav_item_active {
    border: none;
    background: linear-gradient(328.51deg, #3772FB 32.48%, #2EB7FE 113.98%);
}
.tab_nav .nav_item_active img {
    filter: brightness(0) invert(1);
}
.tab_nav .nav_item_active div {
    color: #ffffff;
}
/* 实验室建设 */
.lab_box {
    width: 100%;
    padding: 60px var(--page-padding);
    position: relative;
}
.lab_box .lab_bg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}
.lab_box .lab_nav {
    position: relative;
    z-index: 2;
    margin-top: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}
.lab_box .lab_nav .nav_item {
    min-width: 164px;
    height: 40px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.lab_box .lab_nav .nav_item img {
    width: 26px;
    height: 26px;
}
.lab_box .lab_nav .nav_item div {
    font-size: 18px;
    color: #333333;
    font-weight: bold;
}
.lab_box .lab_nav .nav_item:hover:not(.nav_item_active) {
    background: #ffffff;
}
.lab_box .lab_nav .nav_item_active {
    background: #3772FB;
    box-shadow: 0px 4px 8px 0px #97AFE7;
}
.lab_box .lab_nav .nav_item_active div {
    color: #ffffff;
}
.lab_box .lab_con {
    min-height: 553px;
    position: relative;
    z-index: 2;
    margin-top: 49px;
}
.lab_prev {
    width: 50px;
    height: 50px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: absolute;
    top: 50%;
    left: -70px;
    z-index: 999;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}
.lab_prev img {
    width: 24px;
    height: 24px;
}
.lab_prev:hover {
    background: #3772FB;
}
.lab_prev:hover img {
    filter: brightness(0) invert(1);
}
.lab_next {
    width: 50px;
    height: 50px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: absolute;
    top: 50%;
    right: -70px;
    z-index: 999;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}
.lab_next img {
    width: 24px;
    height: 24px;
    transform: rotate(180deg);
}
.lab_next:hover {
    background: #3772FB;
}
.lab_next:hover img {
    filter: brightness(0) invert(1);
}
.lab_box .lab_list{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.lab_box .lab_list{
    display: none;
}
.lab_box .lab_list.is-active{
    display: grid;
}
.lab_box .lab_list.is-anim{
    animation: labListIn 0.35s ease both;
}
@keyframes labListIn{
    from{
        opacity: 0;
        transform: translateY(12px);
    }
    to{
        opacity: 1;
        transform: translateY(0);
    }
}
@media (prefers-reduced-motion: reduce) {
    .lab_box .lab_list.is-anim{
        animation: none;
    }
}

.lab_prev.is-disabled,
.lab_next.is-disabled{
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}
.lab_box .lab_con .lab_item {
    padding: 20px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}
.lab_box .lab_con .lab_item::before{
    content: "";
    position: absolute;
    inset: 0;
    padding: 2px;
    border-radius: 16px;
    background: linear-gradient(180deg, #2EB6FF 0%, #3772FB 100%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
}
.lab_box .lab_con .lab_item:hover {
    box-shadow: 0px 10px 20px 0px #B1C0E2;
}
.lab_box .lab_con .lab_item:hover::before{
    opacity: 1;
}
.lab_box .lab_con .lab_item .item_box {
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 31px 0 13px;
}
.lab_box .lab_con .lab_item .item_box .tag_box {
    position: absolute;
    top: 13px;
    right: 14px;
    display: flex;
    align-items: center;
    gap: 0 8px;
}
.lab_box .lab_con .lab_item .item_box .tag_box .tag_item {
    width: fit-content;
    height: 32px;
    border-radius: 4px;
    padding: 0 12px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tag_item1 {
    background: rgba(45, 200, 109, 0.1);
    color: #2DC86D;
}
.tag_item2 {
    background: rgba(55, 114, 251, 0.1);
    color: #3772FB;
}
.lab_box .lab_con .lab_item .item_box img {
    width: 209px;
}
.lab_box .lab_con .lab_item .item_title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    font-size: 18px;
    color: #000000;
    font-weight: bold;
    line-height: 1.5;
}
.lab_box .lab_btn{
    width: fit-content;
    padding: 0 20px;
    height: 40px;
    background: #3772FB;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px auto 0;
    position: relative;
    z-index: 2;
    cursor: pointer;
    transition: all 0.3s ease;
}
.lab_box .lab_btn:hover{
    transform: translateY(-5px);
}
.lab_box .lab_btn div{
    font-size: 14px;
    color: #ffffff;
}
.lab_box .lab_btn img{
    width: 32px;
    height: 32px;
    margin-left: 4px;
}

/* 响应式（实验室建设） */
@media (max-width: 1440px) {
    .lab_box {
        padding: 60px var(--page-padding);
    }
}

@media (max-width: 1200px) {
    .lab_box {
        padding: 48px var(--page-padding);
    }
    .lab_box .lab_nav {
        gap: 16px;
    }
    .lab_box .lab_nav .nav_item {
        min-width: 140px;
    }
    .lab_box .lab_nav .nav_item div {
        font-size: 16px;
    }
    .lab_box .lab_list {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 32px;
    }
    .lab_prev {
        left: 0;
        width: 40px;
        height: 40px;
    }
    .lab_prev img{
        width: 18px;
        height: 18px;
    }
    .lab_next {
        right: 0;
        width: 40px;
        height: 40px;
    }
    .lab_next img{
        width: 18px;
        height: 18px;
    }
    /* .lab_box .lab_con{ */
        /* padding: 0 60px; */
    /* } */
    .lab_box .lab_con .lab_item .item_box img {
        width: min(209px, 70%);
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 768px) {
    .lab_box {
        padding: 36px var(--page-padding);
    }
    .lab_box .lab_nav {
        flex-wrap: wrap;
        gap: 12px;
        margin-top: 20px;
    }
    .lab_box .lab_nav .nav_item {
        min-width: auto;
        padding: 0 14px;
        height: 36px;
    }
    .lab_box .lab_nav .nav_item img {
        width: 22px;
        height: 22px;
    }
    .lab_box .lab_nav .nav_item div {
        font-size: 14px;
    }
    .lab_box .lab_list {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 20px;
    }
    .lab_prev,
    .lab_next {
        display: none;
    }
    .lab_box .lab_con{
        padding: 0;
        margin-top: 24px;
    }
    .lab_box .lab_con .lab_item {
        padding: 16px;
    }
    .lab_box .lab_con .lab_item .item_box {
        padding: 12px 0 20px;
    }
    .lab_box .lab_con .lab_item .item_box .tag_box {
        top: 10px;
        right: 10px;
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 6px;
    }
    .lab_box .lab_con .lab_item .item_box .tag_box .tag_item {
        height: 28px;
        padding: 0 10px;
        font-size: 12px;
    }
    .lab_box .lab_con .lab_item .item_title {
        font-size: 16px;
        line-height: 1.3;
        text-align: center;
        padding: 0 6px;
    }
}

@media (max-width: 480px) {
    .lab_box{
        padding: 24px var(--page-padding);
    }
    .lab_box .lab_btn {
        margin-top: 24px;
    }
}
/* 荣誉资质 */
.honor_box {
    width: 100%;
    padding: 60px 0 120px;
    position: relative;
    overflow: hidden;
}
.honor_box .honor_bg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
.honor_box .honor_con {
    width: 100%;
    margin-top: 41px;
    overflow: hidden;
    position: relative;
    user-select: none;
}
.honor_box .honor_con.is-grabbing{
    cursor: grabbing;
}
.honor_box .honor_track{
    width: fit-content;
    display: flex;
    /* align-items: center; */
    gap: 0 20px;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}
.honor_box .honor_con .honor_list {
    width: fit-content;
    position: relative;
    display: flex;
    /* align-items: center; */
    gap: 0 20px;
}
.honor_box .honor_con .honor_list{
    flex: 0 0 auto;
}
.honor_box .honor_con .honor_list .honor_item {
    width: 335px;
    cursor: pointer;
}
.honor_box .honor_con .honor_list .honor_item img {
    width: 100%;
    height: 240px;
    border: 4px solid #ffffff;
    border-radius: 16px;
    transition: all 0.3s ease;
}
.honor_box .honor_con .honor_list .honor_item div {
    font-size: 16px;
    color: #ffffff;
    line-height: 1.5;
    margin-top: 20px;
    text-align: center;
}
.honor_box .honor_con .honor_list .honor_item:hover img{
    border: 4px solid #3772FB;
    box-shadow: 0px 10px 20px 0px #00000040;
}
/* 响应式（资质荣誉） */
@media (max-width: 1440px) {
    .honor_box {
        padding: 60px 0 120px;
    }
    .honor_box .honor_con {
        padding: 0 var(--page-padding);
    }
}

@media (max-width: 1200px) {
    .honor_box {
        padding: 48px 0 96px;
    }
    .honor_box .honor_con {
        padding: 0 var(--page-padding);
    }
    .honor_box .honor_con .honor_list {
        gap: 0 16px;
    }
    .honor_box .honor_con .honor_list .honor_item {
        width: 300px;
    }
    .honor_box .honor_con .honor_list .honor_item img {
        height: 220px;
    }
}

@media (max-width: 768px) {
    .honor_box {
        padding: 36px 0 72px;
    }
    .honor_box .honor_con {
        padding: 0 var(--page-padding);
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin-top: 24px;
    }
    .honor_box .honor_con .honor_list {
        gap: 0 12px;
        padding-bottom: 6px;
    }
    .honor_box .honor_con .honor_list .honor_item {
        width: 260px;
        flex: 0 0 auto;
    }
    .honor_box .honor_con .honor_list .honor_item img {
        height: auto;
        aspect-ratio: 4 / 3;
        object-fit: cover;
    }
    .honor_box{
        padding-bottom: 24px;
    }
    .honor_box .honor_con .honor_list .honor_item div {
        font-size: 14px;
        margin-top: 12px;
    }
}

@media (max-width: 480px) {
    .honor_box .honor_con .honor_list .honor_item {
        width: 220px;
    }
}
a {
    color: inherit;
    text-decoration: none;
}
/* 超出隐藏 */
.overflow-hidden1 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    overflow: hidden;
}
.overflow-hidden2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}
.overflow-hidden3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
}
.overflow-hidden4 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    overflow: hidden;
}
.overflow-hidden7 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 7;
    line-clamp: 7;
    overflow: hidden;
}

/* 响应式（轮播图 + 底部数据栏） */
@media (max-width: 1440px) {
    :root{
        --page-padding: 120px;
    }
    .swiper_content {
        height: 600px;
    }
    .swiper_box .swiper-pagination {
        bottom: 140px;
    }
}

@media (max-width: 1200px) {
    :root{
        --page-padding: 40px;
    }
    .swiper_content {
        height: 520px;
    }
    .swiper_box .swiper-slide div {
        font-size: 32px;
    }
    .swiper_content .year_box > div {
        height: 96px;
    }
    .swiper_content .year_box > div .num {
        font-size: 14px;
        line-height: 20px;
    }
    .swiper_content .year_box > div .num span {
        font-size: 20px;
    }
    .swiper_content .year_box > div .text {
        font-size: 14px;
        line-height: 1.3;
        text-align: center;
    }
    .swiper_box .swiper-pagination {
        bottom: 124px;
    }
    .swiper-prev {
        left: 16px;
    }
    .swiper-next {
        right: 16px;
    }
}

@media (max-width: 768px) {
    :root{
        --page-padding: 16px;
    }
    .swiper_content {
        height: 420px;
    }
    .swiper_box .swiper-slide div {
        font-size: 24px;
        padding: 0 16px;
        text-align: center;
    }
    .swiper_content .year_box {
        padding: 12px 16px;
        flex-wrap: wrap;
        gap: 8px;
    }
    .swiper_box .swiper-slide .title0,
    .swiper_box .swiper-slide .title1{
        left: 50%;
        top: 42%;
        transform: translate(-50%, -50%);
        font-size: 24px;
        text-align: center;
        white-space: normal;
        max-width: calc(100% - 32px);
    }
    .swiper_content .year_box > div {
        flex: 0 0 calc(50% - 4px);
        height: auto;
        /* padding: 8px 0; */
    }
    .swiper_content .year_box > div .num {
        margin-bottom: 2px;
    }
    .swiper_box .swiper-pagination {
        bottom: 170px;
    }
    .swiper_box .swiper-pagination-bullet {
        width: 28px;
        height: 5px;
    }
}

@media (max-width: 480px) {
    .swiper_content {
        height: 360px;
    }
    .swiper_box .swiper-slide div {
        font-size: 18px;
    }
    .swiper_box .swiper-slide .title0,
    .swiper_box .swiper-slide .title1{
        top: 40%;
        font-size: 18px;
    }
    .swiper_box .swiper-pagination-bullet {
        width: 22px;
        height: 4px;
    }
    .swiper-prev,
    .swiper-next {
        display: none;
    }
    .swiper_content .year_box {
        padding: 12px;
    }
}