/* banner */
.n-banner-text {
    width: 1008px;
}

.n-banner-text p {
    margin-top: 16px;
    font-size: 20px;
}

.n-banner-text a {
    margin-top: 40px;
}

/* 为什么高校选择 — challenge-2 CTA */
#challenge2 .why-cta {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

#challenge2 .why-cta .n-main-btn {
    padding: 11px 36px;
}

#challenge2 .n-challenge-content {
    align-items: flex-start;
}

#challenge2 .n-challenge-content .n-title {
    margin-bottom: 16px;
}

/* 案例筛选 */
.case-filter-tabs {
    display: flex;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    margin: 32px auto 0;
    border-bottom: 1px solid #E3E5E6;
}

.case-filter-tab {
    padding: 12px 32px;
    color: #6A6B6D;
    font-size: 20px;
    line-height: 150%;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    white-space: nowrap;
}

.case-filter-tab.active {
    color: #E60039;
    border-bottom-color: #E60039;
    font-weight: 700;
}

.case-filter-chips {
    display: none;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    width: 1400px;
    max-width: 100%;
    margin: 24px auto 0;
}

.case-filter-chips.is-show {
    display: flex;
}

.case-filter-chip {
    padding: 6px 16px;
    color: #6A6B6D;
    font-size: 16px;
    line-height: 150%;
    border: 1px solid #E3E5E6;
    border-radius: 4px;
    background: #FFFFFF;
    cursor: pointer;
}

.case-filter-chip.active {
    color: #E60039;
    border-color: #E60039;
    background: rgba(230, 0, 57, 0.04);
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 25px;
    width: 100%;
    margin: 0;
}

#caseSwiper {
    width: 1400px;
    max-width: 100%;
    margin: 40px auto 0;
    overflow: visible;
}

@media screen and (min-width: 769px) {
    #caseSwiper .case-grid {
        transform: none !important;
    }

    #caseSwiper .swiper-slide {
        width: auto !important;
        height: auto !important;
        margin: 0 !important;
    }
}

#caseSwiper .swiper-pagination {
    display: none;
}

.case-title-br {
    display: none;
}

.case-card-store {
    display: none;
}

.case-card {
    border-radius: 4px;
    overflow: hidden;
    background: #F7F9FA;
}

.case-card.is-hide {
    display: none;
}

.case-card-cover {
    width: 100%;
    aspect-ratio: 450 / 250;
    overflow: hidden;
}

.case-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .16s linear;
}

.case-card-body {
    padding: 16px;
}

.case-card-body h3 {
    color: #2A2B2E;
    font-size: 24px;
    font-weight: 700;
    line-height: 150%;
}

.case-card-body p {
    margin-top: 16px;
    color: #6A6B6D;
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    overflow: hidden;
}

.case-card-link {
    display: inline-flex;
    align-items: center;
    margin-top: 16px;
    color: #E60039;
    font-size: 16px;
    line-height: 150%;
}

.case-card-link::after {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    margin-left: 8px;
    background: url(../RJ-img/arrow.svg) center / cover no-repeat;
    transition: margin-left .16s linear;
}

.case-card a.case-card-mask {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.case-card {
    position: relative;
}

@media screen and (min-width: 1068px) {
    .case-card:hover .case-card-cover img {
        transform: scale(1.05);
    }

    .case-card:hover .case-card-link::after {
        margin-left: 16px;
    }
}

/* 市场领导力 + 联系专家 — 移植云桌面案例集 */
.n-page-desc {
    font-size: 20px;
}

#why-choose-rj {
    background-image: url(../RJ-img/why-bg.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#why-choose-rj .n-page-desc span {
    color: #E60039;
    font-size: 36px;
    line-height: 150%;
}

#why-choose-rj .n-page-desc span:first-child {
    margin-right: 19px;
}

#why-choose-rj .n-page-desc span:last-child {
    margin-left: 19px;
}

.why-img {
    width: 688px !important;
    margin-bottom: 60px;
}

.contactCont {
    background-image: url(../RJ-img/contactBg.webp);
    background-size: cover;
    background-repeat: no-repeat;
}

.contactInfo {
    display: flex;
    align-items: center;
    width: 1400px;
    margin: 0 auto;
}

.contactCont .contactInfo img {
    width: unset;
    height: 220px;
    margin-right: 60px;
}

.contactInfo h2 {
    color: #2A2B2E;
    font-size: 30px;
    font-weight: 700;
    line-height: 150%;
}

.contactInfo .n-main-btn {
    display: block;
    margin-top: 24px;
    padding: 12px 60px;
}

@media screen and (max-width: 1600px) {
    .n-banner-text {
        width: 860px;
    }

    .case-filter-chips,
    .contactInfo {
        width: 1200px;
    }

    #caseSwiper {
        width: 1200px;
    }

    .case-card-body h3 {
        font-size: 20px;
    }

    .case-card-body p {
        font-size: 14px;
    }

    .why-img {
        width: 508px !important;
    }
}

@media screen and (max-width: 1280px) {
    .n-banner-text {
        width: 720px;
    }

    .n-banner-text h1 {
        font-size: 36px;
    }

    .n-banner-text h2 {
        font-size: 20px;
    }

    .n-banner-text p {
        font-size: 16px;
    }

    .case-filter-chips,
    .contactInfo {
        width: 1024px;
    }

    #caseSwiper {
        width: 1024px;
    }

    .case-filter-tab {
        padding: 10px 20px;
        font-size: 16px;
    }

    .case-card-body h3 {
        font-size: 18px;
    }
}

@media screen and (max-width: 1068px) {
    .n-banner-text {
        left: 32px;
        width: calc(100% - 64px);
        max-width: 640px;
    }

    .case-filter-chips,
    .contactInfo {
        width: calc(100% - 64px);
    }

    #caseSwiper {
        width: calc(100% - 64px);
    }

    .case-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .contactInfo {
        padding-left: 32px;
        padding-right: 32px;
        box-sizing: border-box;
        width: 100%;
    }

    .why-img {
        width: 100% !important;
        max-width: 688px;
    }
}

@media screen and (max-width: 768px) {
    #page-content {
        overflow-x: hidden;
    }

    .n-banner-text {
        left: 0;
        top: 0;
        bottom: auto;
        transform: none;
        width: 100%;
        max-width: none;
        padding: 40px 20px 0;
    }

    .n-banner-text h1 {
        font-size: 28px;
    }

    .n-banner-text h2 {
        margin-top: 8px;
        font-size: 20px;
        color: #4C4C4C;
    }

    .n-banner-text p {
        margin-top: 20px;
        font-size: 16px;
    }

    .n-banner-text a {
        margin-top: 32px;
        padding: 10px 40px;
    }

    .case-filter-tabs {
        width: 100%;
        max-width: 335px;
        margin: 0 auto;
        padding: 0;
        overflow-x: auto;
        overflow-y: hidden;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        border-bottom: none;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .case-filter-tabs::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }

    .case-filter-tab {
        flex: 1;
        flex-shrink: 0;
        padding: 12px 0;
        font-size: 16px;
        text-align: center;
        border-bottom: 2px solid #E3E5E6;
        font-weight: 400;
    }

    .case-filter-tab.active {
        border-bottom-color: #E60039;
        font-weight: 400;
    }

    .case-filter-chips {
        width: 100%;
        max-width: 335px;
        margin: 20px auto 0;
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 8px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .case-filter-chips::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }

    .case-filter-chip {
        flex-shrink: 0;
        font-size: 14px;
        padding: 6px 16px;
        border: none;
        background: #F7F9FA;
        color: #6A6B6D;
    }

    .case-filter-chip.active {
        color: #E60039;
        background: rgba(230, 0, 57, 0.05);
        border: none;
    }

    #case-section {
        padding: 40px 20px;
    }

    #case-section .n-page-title {
        font-size: 24px;
        padding: 0 0 40px;
        margin: 0;
    }

    .case-title-br {
        display: block;
    }

    #caseSwiper {
        width: 100%;
        margin-top: 20px;
        padding-bottom: 36px;
        overflow: hidden;
    }

    #caseSwiper .case-grid {
        display: flex;
        width: 100%;
        gap: 0;
    }

    #caseSwiper .swiper-slide {
        width: 100% !important;
        height: auto !important;
    }

    #caseSwiper .swiper-pagination {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 12px;
        bottom: 0;
        position: absolute;
    }

    #caseSwiper .swiper-pagination-bullet {
        width: 24px;
        height: 4px;
        border-radius: 0;
        background: #E4E8EB;
        opacity: 1;
        margin: 0 !important;
    }

    #caseSwiper .swiper-pagination-bullet-active {
        background: #E60039;
    }

    .case-card-cover {
        aspect-ratio: 335 / 200;
    }

    .case-card-body {
        padding: 20px;
    }

    .case-card-body h3 {
        font-size: 22px;
    }

    .case-card-body p {
        margin-top: 16px;
        font-size: 14px;
        -webkit-line-clamp: unset;
        line-clamp: unset;
        display: block;
        overflow: visible;
    }

    #challenge2 {
        padding: 80px 20px 40px;
    }

    #challenge2 .n-page-content {
        width: 100%;
        margin-top: 0;
    }

    #challenge2 .n-page-title {
        font-size: 24px;
        padding-bottom: 40px;
    }

    #challenge2 .n-challenge-box {
        gap: 36px;
    }

    #challenge2 .n-challenge-content {
        width: 100%;
        gap: 20px;
    }

    #challenge2 .n-challenge-content img {
        width: 72px;
        margin-right: 0;
        flex-shrink: 0;
    }

    #challenge2 .n-challenge-content .n-title {
        font-size: 18px;
        margin-bottom: 8px;
    }

    #challenge2 .n-challenge-content .n-desc {
        font-size: 14px;
    }

    #challenge2 .why-cta {
        margin-top: 40px;
        padding: 0;
    }

    #challenge2 .why-cta .n-main-btn {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
        padding: 12px 40px;
    }

    .contactInfo {
        width: 100%;
        padding: 40px 20px;
        flex-direction: column-reverse;
        box-sizing: border-box;
    }

    .contactText {
        text-align: center;
        width: 100%;
    }

    .contactInfo h2 {
        font-size: 20px;
    }

    .contactInfo .n-main-btn {
        margin: 20px auto 0;
        padding: 12px 60px;
    }

    .contactCont .contactInfo img {
        width: 77%;
        max-width: 289px;
        height: auto;
        margin: 20px auto 0;
        display: block;
    }

    #why-choose-rj {
        background-image: url(../RJ-img/why-bg_750.webp);
    }

    #why-choose-rj .n-page-desc {
        padding: 0 20px;
        font-size: 16px;
    }

    #why-choose-rj .n-page-desc span {
        font-size: 24px;
    }

    #why-choose-rj .n-page-desc span:first-child,
    #why-choose-rj .n-page-desc span:last-child {
        margin: 0 6px;
    }

    .why-img {
        width: 100% !important;
        margin-bottom: 28px;
    }

    .contactCont {
        background-position: center;
    }
}

@media screen and (max-width: 580px) {
    .contactCont .contactInfo img {
        width: 100%;
        max-width: 289px;
    }
}
