
.newsList{
    width: 100%;
    padding:20px 0;
}

.newsItem{
    display: flex;
    padding: 20px;
    width: 100%;
    transition: all 0.2s;
}

.newsItem-date{
    font-family: 'Font Awesome 6 Free';
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border:solid 3px var(--themeColor);
    background-color: var(--themeColor);
    height: fit-content;
    border-radius: 5px;
    flex-shrink: 0;
    width: 54px;
}
.newsItem-date-top{
    display: flex;
    justify-content: center;
    align-items: center;
    color:var(--themeColor);
    background-color: #ffffff;
    width: 100%;
    border-radius: 5px;
    font-size: 22px;
    height: 30px;
    letter-spacing: 2px;
}
.newsItem-date-bottom{
    color:#ffffff;
    font-size: 12px;
    text-align: center;
    letter-spacing: 1px;
}
.newsItem-text{
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left:20px;
    flex: 1;
    min-width: 0;
}
.newsItem-title{
    font-size: 20px;
    width: 100%;
    display: flex;
    font-weight: 600;
}
.newsItem-title span{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.newsItem-remark{
    width: 100%;
    font-size: 14px;
    display: flex;
    font-weight: 300;    }
    .newsItem-remark span{
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;

}

a.newsItem:hover {
    box-shadow: 0 2px 0 3px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
    background-color: #fafafa;
}
.newsContent{
    padding:20px;
    padding-top:0;
    color:#767988;
    line-height: 1.5;
}
.newsContent img{
    max-width: 100%;
}
@media (min-width: 861px){
    .newsList .newsItem{
        border-radius:5px 20px;
    }
    /* .newsList .newsItem:last-of-type{
        
        border-bottom-left-radius: 15px;
        border-bottom-right-radius: 15px;
    } */
}
@media (max-width: 860px){
    .newsList{
        padding:0;
    }
    .newsItem{
        padding:15px;
    }
    .newsItem-date{
        width: 40px;
    }
    .newsItem-date-top{
        font-size: 20px;
        height: 26px;
    }
    .newsItem-date-bottom{
        letter-spacing: 1px;
        font-size: 8px;
        padding:2px;
    }
    .newsItem-text{
        padding-left: 10px;
    }
    .newsItem-title{
        font-size: 16px;
    }
    .newsItem-remark{
        font-size: 12px;
    }
}