@import "style.css";

main {
    width: 100%;
}

.bigimg-view {
    width: 68vw;
    height: calc(512/1330*68vw);
    overflow: hidden;
    position: relative;
    margin: 0 auto;
}

.bigimg-view .info-view {
    width: 420px;
    position: absolute;
    top: 50px;
    left: 30px;
    user-select: none;
    border: none;
}

.bigimg-view .info-view .iv-lab {
    font-size: 14px;
    color: #a7a7a7;
    line-height: 1;
}

.bigimg-view .info-view .iv-tit {
    font-size: 24px;
    color: #fff;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
    word-break: break-all;
    padding: 8px 0;
}

.bigimg-view .info-view .iv-content {
    font-size: 16px;
    color: #fff;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
    word-break: break-all;
}

.bigimg-view .simg-view {
    width: 50%;
    height: 82px;
    overflow: hidden;
    overflow-x: auto;
    position: absolute;
    left: 0;
    bottom: 30px;
    user-select: none;
}

.bigimg-view .simg-view::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.bigimg-view .simg-view::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 6px;
}

.bigimg-view .simg-view::-webkit-scrollbar-track {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
}

.bigimg-view .simg-view::-webkit-scrollbar-button {}

.bigimg-view .simg-view .imglist {
    width: auto;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-flow: row nowrap;
    gap: 10px;
    padding-left: 10px;
    user-select: none;
}

.bigimg-view .simg-view .imglist .item {
    width: 104px;
    height: 62px;
    border-radius: 6px;
    flex: 0 0 auto;
    border: 1px solid transparent;
    overflow: hidden;
}

.bigimg-view .simg-view .imglist .item.cur,
.bigimg-view .simg-view .imglist .item:hover {
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.bigimg-view .simg-view .imglist .item:hover img {
    transform: scale(1.1);
    transition: transform 0.5s linear;
}

.intro-content-box {
    width: 68vw;
    margin: 30px auto;
}

.intro-content-box .intro-tit {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 50px auto 20px;
}

.intro-content-box .intro-tit .en {
    font-size: 34px;
    font-weight: 700;
    color: var(--color-1);
}

.intro-content-box .intro-tit .cn {
    font-size: 30px;
    font-weight: 500;
    color: #212529;
}

.intro-content .all-info .content {
    font-size: 16px;
    color: #212529;
    text-align: center;
    line-height: 2;
}

.intro-content .all-info .img {
    width: 64%;
    height: calc(484/855*64%);
    border-radius: 15px;
    overflow: hidden;
    margin: 20px auto;
}

.intro-content .flex-info {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-flow: row wrap;
    margin: 100px 0 0;
}

.intro-content .flex-info .item {
    width: 47%;
}

.intro-content .flex-info .item .img {
    width: 100%;
    height: calc(352/624*100%);
    border-radius: 6px 6px 0 0;
    overflow: hidden;
}

.intro-content .flex-info .item .tit {
    font-size: 18px;
    color: #000;
    padding: 10px 0;
}

.intro-content .flex-info .item .tit a {
    color: #000;
}

.intro-content .flex-info .item .tit a:hover {
    color: var(--color-1);
}

.intro-content .flex-info .item .desc {
    font-size: 14px;
    color: #666;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
    word-break: break-all;
}

.intro-content .flex-info .item .date {
    font-size: 16px;
    color: #666;
    margin-top: 10px;
}

@media screen and (min-width: 768px) and (max-width: 1330px) {
    .bigimg-view {
        width: 92vw;
        height: calc(512 / 1330 * 92vw);
    }

    .intro-content-box {
        width: 92vw;
    }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
    .bigimg-view .info-view {
        top: 1.2rem;
        left: 1rem;
    }
}

@media screen and (max-width: 767px) {
    .bigimg-view {
        width: 100vw;
        height: calc(512 / 1330 * 100vw);
    }

    .bigimg-view .info-view {
        width: 86%;
        top: 0;
        left: 0;
        padding: 0.5rem 0 0 0.5rem;
    }

    .bigimg-view .info-view .iv-lab {
        font-size: 0.65rem;
    }

    .bigimg-view .info-view .iv-tit {
        font-size: 1.1rem;
        padding: 0.2rem 0;
    }

    .bigimg-view .info-view .iv-content {
        font-size: 0.7rem;
    }

    .bigimg-view .simg-view {
        width: 65%;
        height: 3rem;
        bottom: 0.5rem;
    }

    .bigimg-view .simg-view .imglist {
        gap: 0.2rem;
        padding-left: 0.2rem;
    }

    .bigimg-view .simg-view .imglist .item {
        width: 4rem;
        height: calc(62/104*4rem);
    }

    .intro-content-box {
        width: 100%;
        margin: 0;
        padding: 1rem;
    }

    .intro-content-box .intro-tit {
        margin: 1rem auto;
    }

    .intro-content .flex-info {
        margin: 3rem 0 0;
    }

    .intro-content .all-info .img {
        width: 100%;
        height: auto;
    }
}