.page-mask {
    overflow-x: clip;
    overflow-y: visible;
}

.page-mask img {
    --w: calc(1319 / 1920 * 100vw);
    width: var(--w);
    max-height: unset;
    position: absolute;
    bottom: calc(-230 / 1080 * 100dvh);
    right: calc(-272 / 1920 * 100vw);
    z-index: -1;
}

.section-heading {
    padding-top: calc(102 * var(--rpx));
}

.document-module {
    margin-top: calc(150 * var(--rpx));
}

.document-module .module-wrapper {
    overflow: visible;
}

.document-module .module-main {
    padding-top: calc(40 * var(--rpx));
}
.document-list {
    --col: 3;
    --gap: calc(50 * var(--rpx));
    --w: calc((100% - (var(--col) - 1) * var(--gap)) / var(--col));
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap);
}
.document-card {
    width: var(--w);
    aspect-ratio: 500 / 427;
    border-radius: calc(16 * var(--rpx));
    position: relative;
    overflow: hidden;
    transition: .3s linear;
}
.document-card__wrapper {
    height: 100%;
    padding: calc(30 * var(--rpx));
}
.document-card__mask {
    background: #FAFAFA;
    position: absolute;
    inset: 0;
    z-index: -1;
    transition: .5s linear;
}
.document-card__mask img {
    width: calc(336 * var(--rpx));
    position: absolute;
    bottom: 0;
    right: 0;
    transform: translate(22.6190%, 25%);
}
.document-card__info {
    color: #BCBCBC;
    gap: 0 calc(16 * var(--rpx));
}
.document-card__info >*[class] {
    color: var(--primary);
    transition: .3s linear;
}
.document-card__title {
    font-size: var(--font-size-24);
    margin-top: calc(10 * var(--rpx));
    transition: .3s linear;
}
.document-card__tags {
    margin-top: calc(10 * var(--rpx));
    gap: calc(10 * var(--rpx));
}
.document-card__tags .tag-item {
    --h: calc(40 * var(--rpx));
    height: var(--h);
    padding: 0 calc(20 * var(--rpx));
    border: 1px solid #BCBCBC;
    border-radius: 999px;
    transition: .3s linear;
    display: flex;
    justify-content: center;
    align-items: center;
}
.document-card__tags .tag-item.active {
    color: #fff;
    background: var(--secondary-foreground);
    border-color: var(--secondary);
}
.document-card:hover .tag-item:not(.active) {
    color: #fff;
    border-color: #fff;
}
.document-card__footer {
    margin-top: auto;
}
.document-card__type {
    width: calc(114 * var(--rpx));
    position: relative;
}
.document-card__type .active {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: .3s linear;
}
.document-card__download {
    width: calc(130 * var(--rpx));
    height: calc(60 * var(--rpx));
    color: var(--primary);
    border-top-left-radius: 300px;
    border-bottom-left-radius: 300px;
    margin-right: calc(-30 * var(--rpx));
}
.document-card__download .icon {
    --l: calc(30 * var(--rpx));
    background: var(--secondary-foreground);
    margin-left: calc(8 * var(--rpx));
}
.document-card__download .icon img {
    width: calc(13 * var(--rpx));
    filter: url(#filter-white);
}

.document-card:hover {
    transform: translate(0, -10px);
    box-shadow: 0 calc(16 * var(--rpx)) calc(32 * var(--rpx)) 0 rgba(0, 0, 0, .2);
}

.document-card:hover .document-card__mask {
    background: var(--primary-foreground);
}

.document-card:hover .document-card__info >*[class] {
    color: #fff;
}

.document-card:hover .document-card__title {
    color: #fff;
}

.document-card:hover .document-card__type .active {
    opacity: 1;
}

.document-card:hover .document-card__download {
    color: #fff;
    background: var(--secondary-foreground);
}
.document-card:hover .document-card__download .icon {
    background: #fff;
}
.document-card:hover .document-card__download .icon img {
    filter: url(#filter-green);
}

@media screen and (max-width: 1200px) {
    .document-list {
        --col: 2;
        --gap: calc(30 * var(--rpx));
    }
}

@media screen and (max-width: 768px) {
    .page-mask img {
        width: calc(660 * var(--rpx));
        bottom: calc(-200 / 1080 * 100dvh);
        right: calc(-600 / 1920 * 100vw);
    }
    .document-list {
        --col: 1;
    }
    .document-module {
        margin-top: calc(75 * var(--rpx));
    }
}