/* 相关资料 */

.resourcesSection {
    display: flex;
    align-items: flex-start;
}

.resources-tab {
    flex-shrink: 0;
}

.resources-tab-word {
    display: none;
}

.resources-tab {
    position: relative;
    padding: 12px 0;
    margin-right: 248px;
}

.resources-tab div {
    position: relative;
    color: var(--neutra-color);
    font-size: 20px;
    font-weight: 400;
    line-height: 150%;
    padding: 0 0 0 24px;
    margin-top: 48px;
    cursor: pointer;
}

.resources-tab div.active {
    color: var(--standard-red-color);
    pointer-events: none;
}

.resources-tab div.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 2px;
    background-color: var(--standard-red-color);
    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: var(--border-color);
    display: block;
}

.resourcesCont {
    width: 100%;
}

.resourceCards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    width: 100%;
}

.resourceCard {
    position: relative;
    background-color: var(--white-color);
    padding: 24px;
    box-sizing: border-box;
    border: 1px solid var(--border-color);
}

.resourceCard p {
    color: var(--dark-color);
    font-size: 20px;
    font-weight: 400;
    line-height: 150%;
    margin-bottom: 12px;
}

.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;
    color: var(--dark-color);
    font-size: 18px;
    font-weight: 400;
    line-height: 150%;
}

.resourceImg i {
    display: block;
    margin-top: 12px;
    font-style: normal;
    color: var(--light-color);
    font-size: 14px;
    font-weight: 400;
    line-height: 150%;
}

.resourceImgCover {
    position: relative;
    overflow: hidden;
}

.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(./videoPlay.svg);
    z-index: 3;
}

@media screen and (min-width:1068px) {
    .resourceImg:hover .resourceImgCover img {
        transform: scale(1.05);
    }
}

@media screen and (max-width:1440px) {
    .resources-tab {
        margin-right: 214px;
    }
    .resourceCard p {
        font-size: 18px;
    }
    .resourceImg p {
        margin-top: 14px;
        font-size: 16px;
    }
}

@media screen and (max-width:1280px) {
    .resources-tab {
        margin-right: 184px;
    }
    .resources-tab div {
        margin-top: 36px;
        font-size: 16px;
    }
    .resourceCard p {
        font-size: 16px;
    }
    .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 (max-width:768px) {
    .resourceCard {
        padding: 16px;
    }
}

@media screen and (max-width:600px) {
    .resourceCards {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width:520px) {
    .resourceImgs {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}