/* #region 模块 */
body {
    background: linear-gradient(0deg, #fafafa 0%, #ffeded 100%);
}

.module:not(:first-child) {
    margin-top: 40px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
}

/* #endregion */

/* #region 知识库 */
.knowledge {
    display: flex;
    align-items: center;
    gap: 178px;
    width: max-content;
    margin: 89px auto 0;
}

.knowledge .img {
    width: 342px;
    height: 314px;
}

.knowledge .img img {
    width: 100%;
    height: 100%;
}

.knowledge .title {
    color: #d36969;
    font-size: 80px;
    font-weight: 600;
    line-height: 140px;
}

/* #endregion */

/* #region 介绍 */
.introduce {
    padding: 32px;
}

.introduce p {
    color: #333;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 2px;
}

/* #endregion */

/* #region 字母导航 */
.letter_nav {
    padding: 24px;
    border-top: 1px solid #f1f1f1;
    border-bottom: 1px solid #f1f1f1;
    box-shadow: 0 3px 6px rgba(192, 192, 192, 0.1);
}

.letter_nav .list {
    display: flex;
    flex-wrap: wrap;
    column-gap: 16px;
    row-gap: 20px;
}

.letter_nav .list li>a {
    display: block;
    padding: 5px 10px;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    background: #fafafa;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    transition: 0.3s;
}

.letter_nav .list li>a:hover,
.letter_nav .list .active a {
    color: #fff;
    background: #ff8686;
    border: 1px solid #ff8686;
}

/* #endregion */

/* #region 专区 */
.precinct .box {
    padding: 24px;
}

.precinct .title {
    position: relative;
}

.precinct .title div {
    width: 78px;
    height: 37px;
    margin: 0 auto;
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    line-height: 37px;
    text-align: center;
    background: #ff8686;
    border-radius: 19px;
}

.precinct .title a {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    color: #999;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    transition: 0.3s;
}

.precinct .title a:hover {
    color: #ff8686;
}

.precinct .title a>img {
    vertical-align: -1px;
    width: 12px;
    height: 12px;
}

.precinct .content {
    margin-top: 40px;
    padding: 0 24px 24px;
}

.precinct .top {
    display: flex;
    gap: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid #e4e4e4;
}

.precinct .top .align {
    overflow: hidden;
    flex: 1;
}

.precinct .top .align .img {
    overflow: hidden;
    width: 100%;
    height: 120px;
    border-radius: 4px;
}

.precinct .top .align .img a {
    display: block;
    width: 100%;
    height: 100%;
}

.precinct .top .align .img a>img {
    width: 100%;
    height: 100%;
}

.precinct .top .align .text {
    margin-top: 12px;
}

.precinct .top .align .text a {
    color: #333;
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    transition: 0.3s;
    display: block;
}

.precinct .top .align .text a:hover {
    color: #ff8686;
}

.precinct .bottom {
    margin-top: 32px;
}

.precinct .list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 40px;
    row-gap: 24px;
}

.precinct .list li>a {
    display: block;
    color: #333;
    font-size: 14px;
    line-height: 20px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    transition: 0.3s;
}

.precinct .list li>a:hover {
    color: #ff8686;
}

.precinct .list li>span {
    display: inline-block;
    margin-top: 12px;
    color: #999;
    font-size: 14px;
    line-height: 20px;
}

/* #endregion */

/* #region */
@media screen and (max-width: 768px) {
    .module:not(:first-child) {
        margin-top: 16px;
    }

    .wrapper {
        box-sizing: border-box;
        width: 100%;
        padding: 0 15px;
    }

    /* 知识库 */
    .knowledge {
        margin-top: 32px;
        gap: 40px;
    }

    .knowledge .img {
        width: 137px;
        height: 126px;
    }

    .knowledge .title {
        font-size: 30px;
        line-height: 42px;
    }

    /* 介绍 */
    .introduce {
        margin-top: 24px !important;
        padding: 16px;
    }

    .introduce p {
        font-size: 12px;
        line-height: 18px;
    }

    /* 字母导航 */
    .letter_nav {
        padding: 16px;
    }

    .letter_nav .list {
        gap: 8px;
    }

    .letter_nav .list li>a {
        padding: 2px 6px;
        font-size: 10px;
        font-weight: 400;
        line-height: 14px;
        border-radius: 10px;
    }

    /* 专区 */
    .precinct .box {
        padding: 16px;
    }

    .precinct .title div {
        margin: 0;
        width: 54px;
        height: 28px;
        font-size: 16px;
        line-height: 28px;
    }

    .precinct .title a {
        font-size: 12px;
        line-height: 17px;
    }

    .precinct .title a>img {
        width: 10px;
        height: 10px;
    }

    .precinct .content {
        margin-top: 16px;
        padding: 0;
    }

    .precinct .top {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 9px;
        row-gap: 16px;
        padding-bottom: 16px;
    }

    .precinct .top .align .img {
        height: 74px;
    }

    .precinct .top .align .text {
        margin-top: 8px;
    }

    .precinct .top .align .text a {
        font-size: 14px;
        line-height: 20px;
    }

    .precinct .bottom {
        margin-top: 16px;
    }

    .precinct .list {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }
}

/* #endregion */