:root {
    --brand-color-white: #ffffff;
    --brand-color-black: #000000;
    --brand-color-muted: #aaaaaa;
    --brand-color-red: #83180f;
    --brand-color-red-bg: #83060D;
    --brand-color-red-dark: #75151B;
    --brand-font-cn: "HarmonyOS Sans", "Microsoft YaHei", "PingFang SC", sans-serif;
    --brand-font-en: "Playfair Display", "Times New Roman", serif;
}

.rs-history-page {
    background: var(--brand-color-white);
}

.rs-history-main {
    display: flex;
    flex-direction: column;
    padding-top: var(--rs-header-height);
    color: var(--brand-color-black);
    font-family: var(--brand-font-cn);

}

.rs-history-banner {
    width: 100%;

    display: flex;
    overflow: hidden;
    position: relative;
    flex: 0 0 auto;
}

.rs-history-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.rs-history-banner__title {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
}

.rs-history-banner__title-en {
    font-family: var(--brand-font-en);
    font-weight: 400;
    line-height: 1.34;
    letter-spacing: 0.1em;
    color: var(--brand-color-white);

}

.rs-history-banner__title-cn {
    margin: 0.075rem 0 0;
    font-family: var(--brand-font-cn);
    font-weight: 300;
    line-height: 1.16;
    letter-spacing: 0.1em;
    color: var(--brand-color-white);
}


.rs-history-content {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding-top: 4.75rem;

}

.rs-history-content .rs-history-content__left {
    padding-left: 3.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rs-history-content .rs-history-content__left .swiper-container {
    height: 27.2rem;
    overflow: hidden;
    position: relative;
}

.rs-history-content .rs-history-content__left .swiper-container .swiper-slide {

    display: flex;
    align-items: center;
    justify-content: center;
    color: #AAA;
    letter-spacing: 2.4px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease-in-out;
}

.rs-history-content .rs-history-content__left .swiper-container .swiper-slide::after {
    content: '';
    position: absolute;
    bottom: 0.2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 0%;
    height: 1px;
    background: var(--brand-color-red);
    border-radius: 0.5rem;
    transition: all 0.3s ease-in-out;
}

.rs-history-content .rs-history-content__left .swiper-container .swiper-slide:hover {
    color: var(--brand-color-red);
}

.rs-history-content .rs-history-content__left .swiper-container .swiper-slide:hover::after {
    width: 100%;
}

.rs-history-content .rs-history-content__left .swiper-container .swiper-slide.on {
    color: var(--brand-color-red);
}

.rs-history-content .rs-history-content__left .swiper-container .swiper-slide.on::after {
    width: 100%;
}

.rs-history-content .rs-history-content__left .prev {
    cursor: pointer;
}

.rs-history-content .rs-history-content__left .next {
    cursor: pointer;
}

.rs-history-content .rs-history-content__left svg {
    width: 19px;
    height: 9px;
    transition: all 0.3s ease-in-out;
}

.rs-history-content .rs-history-content__left .prev:hover svg {
    transform: translateY(-50%);
}

.rs-history-content__left .next:hover svg {
    transform: translateY(50%);
}

.rs-history-content .rs-history-content__right {
    margin-right: 7.45rem;
    width: 55.7%;

}

.rs-history-content .rs-history-content__right-img {
    width: 100%;
    height: 14.7rem;
    overflow: hidden;
}

.rs-history-content .rs-history-content__right-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.3s ease-in-out;

}

.rs-history-content .rs-history-content__right-img img:hover {
    transform: scale(1.05);
}

.rs-history-content__right-title {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rs-history-content__right-title-num {
    font-family: var(--brand-font-cn);
    font-weight: 400;
    line-height: 1.34;
    letter-spacing: 0.1em;
    color: var(--brand-color-black);
    margin-top: 2.2rem;

}

.rs-history-content__right-title-cn {
    margin: 0.075rem 0 0;
    font-family: var(--brand-font-cn);
    font-weight: 400;
    line-height: 1.16;
    letter-spacing: 0.1em;
    color: var(--brand-color-black);
}

.rs-history-content__right-desc {
    margin-top: 2.51rem;
    font-family: var(--brand-font-cn);
    font-weight: 300;
    line-height: 1.5;
    letter-spacing: 0.1em;
    color: var(--brand-color-black);
    text-align: center;
}

@media (max-width:996px) {
    .rs-history-banner {
        height: 88vw;
    }

    .rs-history-content {
        padding: 1.75rem 4% 0;
        flex-direction: column;
    }

    .rs-history-content .rs-history-content__left {
        padding-left: 0;
        width: 100%;
        flex-direction: row;
        height: auto;
    }

    .rs-history-content .rs-history-content__left .swiper-container {
        height: auto;
    }

    .rs-history-content .rs-history-content__left .swiper-container .swiper-wrapper {
        gap: .5rem;
    }

    .rs-history-content .rs-history-content__left .swiper-container .swiper-slide {
        width: auto;

    }

    .rs-history-content .rs-history-content__left .prev svg {
        transform: rotate(-90deg);
    }

    .rs-history-content .rs-history-content__left .next svg {
        transform: rotate(-90deg);
    }
    .rs-history-content .rs-history-content__right{
        width: 100%;
        margin-right:0;
        margin-top: .75rem;
    }
    .rs-history-content .rs-history-content__right-img{
        height: auto;
    }
    .rs-history-content__right-title-num{
        margin-top: 1rem;
        font-size: .7rem;
    }
    .rs-history-content__right-desc{
        margin-top: 1.25rem;
    }
}