/* 相关资料 */
.resourcesSection {
    display: flex;
    align-items: flex-start;
}

.resources-tab {
    flex-shrink: 0;
}
.resources-tab {
    position: relative;
    padding: 12px 0;
    margin-right: 200px;
}

.resources-tab div {
    position: relative;
    color: #6A6B6D;
    font-size: 20px;
    font-weight: 400;
    line-height: 150%;
    padding: 0 0 0 24px;
    margin-top: 48px;
    cursor: pointer;
}

.resources-tab div.active {
    color: #E60039;
    pointer-events: none;
}

.resources-tab div.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 2px;
    background-color: #E60039;
    display: block;
}

.resources-tab div:first-child {
    margin-top: 0;
}

.resources-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 1px;
    background-color: #D5D5D5;
    display: block;
}

.resourcesCont {
    width: 100%;
}

.resourceCards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    width: 100%;
}

.resourceCard {
    position: relative;
    padding: 24px;
    box-sizing: border-box;
    border: 1px solid #D5D5D5;
    border-radius: 4px;
    border: 2px solid #FFF;
    background: linear-gradient(180deg, #F3F5F8 0%, #FFF 100%);
    box-shadow: 0px 6px 20px 0px rgba(213, 219, 228, 0.50);
}

.resourceCard p {
    color: #2A2B2E;
    font-size: 18px;
    font-weight: 400;
    line-height: 150%;
    margin-bottom: 12px;
    min-height: 60px;
    font-weight: 700;
}

.resourceCard a,
.resourceImg a {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 4;
}

.resourceImgs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.resourceImg {
    position: relative;
}

.resourceImg img {
    width: 100%;
}

.resourceImg p {
    margin-top: 16px;
    padding-right: 24px;
    color: #2A2B2E;
    font-size: 18px;
    font-weight: 400;
    line-height: 150%;
}

.resourceImg i {
    display: block;
    margin-top: 12px;
    margin-bottom: 16px;
    font-style: normal;
    color: #9B9FA8;
    font-size: 14px;
    font-weight: 400;
    line-height: 150%;
}

.resourceImgCover {
    position: relative;
    overflow: hidden;
    border-radius: 4px 4px 0px 0;
}

.resourceImgCover img {
    transition: transform .16s linear;
}

.resourceVideo .resourceImgCover::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.20);
    z-index: 2;
}

.resourceVideo .resourceImgCover::after {
    content: '';
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url(../RJ-img/videoPlay.svg);
    z-index: 3;
}
.resourceImg:hover .resourceImgCover::after{
    background-image: url(../RJ-img/videoPlay-hover.svg);
}
.resourceCard .transparent-commonlink {
    margin-top: 0;
    color: #E60039;
    /* PC端/正文 */
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 24px */
    position: relative;
    display: block;
}
.resourceCard .transparent-commonlink::after {
    position: absolute;
    content: '';
    background-image: url(../RJ-img/link.svg);
    background-size: cover;
    background-repeat: no-repeat;
    width: 24px;
    height: 24px;
    transition: transform .16s linear;
    -webkit-transition: transform .16s linearr;
}
.resourceCard:hover .transparent-commonlink::after {
    transform: translateX(8px);
    -webkit-transform: translateX(8px);
}

.n-tabs-resource_m{
    display: none;
}
@media screen and (min-width:1068px) {
    .resourceImg:hover .resourceImgCover img {
        transform: scale(1.05);
    }
}

@media screen and (max-width:1600px) {
    .resources-tab {
        margin-right: 100px;
    }
    .resourceCard p {
        font-size: 18px;
    }
    .resourceImg p {
        margin-top: 14px;
        font-size: 16px;
    }
}

@media screen and (max-width:1280px) {
    .resources-tab {
        margin-right: 100px;
    }
    .resources-tab div {
        margin-top: 36px;
        font-size: 16px;
    }
    .resourceCard {
        padding: 20px;
    }
    .resourceCard p {
        font-size: 16px;
        min-height: 48px;
    }
    .resourceImg p {
        margin-top: 12px;
        font-size: 14px;
    }
    .resourceCard .transparent-commonlink {
        font-size: 14px;
    }
    .resourceCard .transparent-commonlink::after {
        width: 20px;
        height: 20px;
    }
    .resourceVideo .resourceImgCover::after {
        width: 36px;
        height: 36px;
    }
}

@media screen and (max-width:1068px) {
    .resourcesSection {
        flex-direction: column;
        align-items: center;
    }
    .resources-tab {
        display: flex;
        justify-content: center;
        margin-right: 0;
        padding: 0;
        margin-bottom: 36px;
    }
    .resources-tab div {
        margin-top: 0;
        padding: 0 12px 12px 12px;
    }
    .resources-tab::before {
        width: 100%;
        height: 1px;
        bottom: 0;
        left: 0;
        top: unset;
    }
    .resources-tab div.active::before {
        top: unset;
        bottom: 0;
        width: 100%;
        height: 2px;
    }
    .resourceImgs {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .resourceCards {
        gap: 20px;
    }
}
@media screen and (min-width:1068px) {
    .transparent-commonlink.active::after {
        transform: translateX(6px);
    }
}
@media screen and (max-width:768px) {
    .resourceCard {
        padding: 16px;
    }
    .resources-tab{
        display: none;
    }
    .resourceCards {
        grid-template-columns: 1fr;
    }
    .resourceImgs {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .n-tabs-resource_m{
        display: block;
        padding: 12px 10px;
        background: #E4E8EB;
        margin-bottom: 12px;
        margin-top: 20px;
        font-size: 16px;
        border-bottom: 1px solid #D5D5D5;
        color: var(--neutra-color);
    }

    .n-tabs-resource-active_m{
        color: #2A2B2E;
        border-bottom: 1px solid var(--standard-red-color);
        font-weight: 700;
    }
    .n-tabs-resource_m img{
        width: 24px;
        float: right;
    }
    .n-tabs-resource-active_m img{
        transform: rotate(-90deg);
    }
}