.content.home {
    margin-left: 0;
}

section {
    padding: 48px 24px;
}

footer {
    margin-left: 0;
}

@media (width >=414px) {
    section {
        padding: 48px 32px;
    }
}

@media (width >=64rem) {
    section {
        padding: 100px 32px;
    }
}

@media (width >=96rem) {
    section {
        padding: 100px 130px;
    }
}

@media only all and (max-width: 414px) {
    .content.home {
        padding-top: 0;
    }
}

/* home swiper start */
/* .swiper-pagination-bullets {
    display: flex;
    align-items: center;
    gap: 0 10px;
} */
.custom-swiper-pagination {
    display: flex;
    /* justify-content: center; */
    gap: 0 12px;
    padding: 0 24px;
}

.custom-swiper-pagination .swiper-pagination-bullet {
    width: 100px;
    height: 3px;
    background-color: #a6a6a6;
    border-radius: 40px;
    opacity: 1;
    margin: 10px;
    padding: -10px;
}

.custom-swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: #A40000;
}

@media (width >=64rem) {
    .custom-swiper-pagination .swiper-pagination-bullet {
        height: 4px;
    }
}

/* home swiper end */

.home-swiper {
    position: relative;
}

.home-swiper-pagination {
    justify-content: flex-end;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 24px !important;
    z-index: 10;
    box-sizing: border-box;
}

.swiper-index {
    font-family: "Arial", sans-serif;
    position: absolute;
    top: 20%;
    left: 17.5%;
    z-index: 1;
}

.swiper-index-current {
    font-size: 42px;
    color: #fff;
    position: absolute;
    top: -40px;
    left: -18px;
}

.swiper-index-line {
    display: inline-block;
    height: 80px;
    width: 2px;
    background-color: #595959;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    margin-top: -34px;
    margin-left: 22px;
}

.swiper-index-total {
    font-size: 28px;
    color: #595959;
    transform: translate(4px, -16px);
    display: inline-block;
}

@media (width >=64rem) {
    .home-swiper-pagination {
        bottom: 32px !important;
        padding-right: 68px;
    }
}

/* home swiper end */

/* feature start */
.is-bold {
    font-weight: bold;
}

.sec-feature {
    background-color: #000;
    color: #fff;
    line-height: 1.42;
}

.box-feature {
    display: flex;
    align-items: center;
    gap: 32px 0;
    flex-direction: column;
}

.feature-text-box {
    flex: 1;
    display: flex;
    justify-content: center;
}

.feature-text-desc {
    font-size: var(--font-title);
    font-weight: bold;
}

.feature-text-list {
    font-size: var(--font-base);
    line-height: 1.75;
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px 0;
}

@media (width >=64rem) {
    .box-feature {
        flex-direction: row;
        gap: 0;
    }

    .feature-image {
        width: 50%;
    }

    .feature-text-desc {
        font-size: var(--font-title);
    }

    .feature-text-list {
        font-size: var(--font-base);
        gap: 32px 0;
        margin-top: 48px;
    }
}

/* feature end */

/* service start */
.service-list {
    margin-top: 100px;
}

.service-item {
    display: grid;

    align-items: center;
    gap: 32px 0;
}

.service-item+.service-item {
    margin-top: 100px;
}

.service-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-title {
    font-size: var(--font-title);
    line-height: 1.42;
    font-weight: bold;
}

.service-desc {
    font-size: var(--font-base);
    line-height: 1.5;
    margin-top: 12px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px 0;
}

.service-image {
    position: relative;
}

.service-image-title {
    position: absolute;
    top: 0;
    left: 20px;
    transform: translateY(-50%);
    font-weight: bold;
    font-size: 28px;
}

.mobile-hidden {
    display: block;
}

@media (width >=64rem) {
    .service-list {
        margin-top: 154px;
        margin-bottom: 24px;
    }

    .service-title {
        font-size: var(--font-title);
    }

    .service-desc {
        font-size: var(--font-base);
    }

    .service-item {
        grid-template-columns: repeat(2, 1fr);
        gap: 0 32px;
    }

    .service-item.is-reverse .service-image {
        order: 2;
    }

    .service-image-title {
        font-size: 42px;
        left: 45px;
    }

    .mobile-hidden {
        display: none;
    }
}

@media (width >=80rem) {
    .service-image-title {
        font-size: 48px;
    }
}

@media (width >=96rem) {
    .service-image-title {
        font-size: 60px;
    }
}

/* service end */

.sec-philosophy {
    background-image: url("/assets/img/home/philosophy_bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.philosophy-container {
    color: #fff;
    position: relative;
}

.box-philosophy {
    display: grid;
    align-content: center;
    margin-top: -7%;
}

.philosophy-text {
    display: flex;
    justify-content: center;
    align-items: center;
}

.philosophy-item+.philosophy-item {
    margin-top: 14px;
}

.philosophy-item .philosophy-item-number {
    font-size: 18px;
    color: #a40000;
    font-weight: bold;
}

.philosophy-item .philosophy-item-title {
    font-size: 18px;
    font-weight: bold;
}

.philosophy-item span {
    font-size: 14px;
}

.philosophy-more {
    text-align: center;
    margin-top: 32px;
    z-index: 10;
}

@media (width >=64rem) {
    .philosophy-item .philosophy-item-number {
        font-size: 24px;
    }

    .philosophy-item .philosophy-item-title {
        font-size: 20px;
    }

    .box-philosophy {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
        margin-top: 0;
    }

    .philosophy-image {
        transform: scale(1.5);
    }
}

@media (width >=80rem) {
    .philosophy-image {
        transform: scale(1.2);
    }

    /* .philosophy-item .philosophy-item-title {
        font-size: 24px;
    } */
}

@media (width >=96rem) {
    .philosophy-item .philosophy-item-title {
        font-size: 28px;
    }
}

/* home lineup start */
.lineup-list {
    display: flex;
    flex-direction: column;
    gap: 56px 0;
}

.lineup-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px 0;
}

.lineup-image img {
    max-width: 100%;
    display: block;
}

.box-lineup {
    flex: 1;
    display: flex;
    justify-content: center;
}

.lineup-text {
    max-width: 324px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (width >=64rem) {
    .sec-lineup {
        padding-bottom: 0;
    }

    .lineup-list {
        gap: 0;
    }

    .lineup-item {
        flex-direction: row;
        gap: 0 32px;
    }

    .lineup-item.is-reverse .lineup-image {
        order: 1;
    }

    .lineup-image {
        width: 57%;
    }
}

/* home lineup end */

/* home team start */
.sec-team {
    background-color: #000;
    color: #fff;
}

/* 视口：只显示 3 列，溢出隐藏 */
.team-marquee {
    overflow: hidden;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 40px;
    contain: layout style;
}

/* 轨道：3 行 × 6 列（9 项 + 9 项重复），整体从右往左循环移动 */
.team-list-track {
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    width: 300%; /* 手机端：每列 50% 视口，显示 2 列，单张更大 */
    max-width: none;
    animation: team-scroll-left 40s linear infinite;
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* 用 50% 做无缝循环，translateZ(0) 保持同一合成层减少闪动 */
@keyframes team-scroll-left {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

.team-item {
    overflow: hidden;
}

.team-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-more {
    text-align: center;
}

@media (width >= 64rem) {
    .sec-team {
        padding-bottom: 180px;
    }

    .team-marquee {
        margin-top: 70px;
        max-width: 1568px;
    }

    .team-list-track {
        width: 200%; /* 桌面：显示 3 列 */
        gap: 32px;
    }
}

@media (width >= 96rem) {
    .team-list-track {
        gap: 64px;
    }
}

/* home team end */

/* home news start */
.news-swiper .swiper-slide {
    display: flex;
    justify-content: center;
}

.sec-news {
    background-color: #f7f7f7;
    overflow: hidden;
}

.news-item img {
    transition: all 2s ease-in-out;
}

.news-item:hover img {
    transform: scale(1.05);
}

.news-desc {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.news-more {
    text-align: center;
}

.news-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 0 10px;
}

.news-swiper {
    margin-top: 48px;
}

.news-item .btn-outline {
    width: 32px;
    height: 32px;
    justify-content: center;
    padding: 0;
}

.swiper-slide:hover button {
    background-color: #A40000;
    color: #fff;
}

.swiper-slide:hover button svg path {
    fill: #fff;
    opacity: 1;
    transform: 0;
}

.swiper-slide button:hover svg path {
    transform: 0;
}

.news-item {
    display: inline-block;
    width: 640px;
    max-width: 100%;
}

.news-image{
    overflow: hidden;
}

.news-title {
    font-size: 18px;
    font-weight: bold;
    color: #000;
    margin-bottom: 8px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    line-clamp: 1;
}

.news-date {
    font-size: 14px;
    color: #a6a6a6;
}

.news-desc {
    font-size: 14px;
    color: #383838;
}

.news-swiper-pagination {
    margin-top: 16px;
    justify-content: center;
}

@media (width >=64rem) {
    .sec-news {
        padding-left: 0;
        padding-right: 0;
    }

    .news-swiper {
        margin-left: 130px;
    }

    .news-item .btn-outline {
        width: 56px;
        height: 56px;
    }

    .news-swiper-pagination {
        margin-top: 48px;
    }
}

/* home news end */