.index-banner {
    position: relative;
    text-align: center;
    width: 100%;
    height: 80px;
    padding-top: 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.m-content {
    padding: 20px 0;
    min-height: 700px;
}

.m-title {
    color: black;
    font-size: 50px;
    display: flex;
    justify-items: start;
    align-items: end;
    margin-bottom: 50px;
}

.m-title div {
    font-size: 20px;
    margin-left: 10px;
}


.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(120px, auto);
    gap: 20px;
    width: 1200px;
    padding: 10px;
}

.grid-item {
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    color: black;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.grid-item .title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
    /* 只显示一行多余的用...代替 */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.grid-item .txt {
    font-size: 14px;
    /* 只显示两行多余的用...代替 */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5;
}

.grid-item .date {
    font-size: 12px;
    text-align: end;
    color: #aaa;
}