.banner {
padding-top: 16.666%;
}
#FOTA .banner .content {
top: 0;
bottom: 0;
margin: auto;
}
#FOTA .newsList {
margin-top: .8rem;
}
#FOTA .newsList .newsItem .content .txetCont p {
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical; 
-webkit-line-clamp: 3;
}
#FOTA .newsList .newsItem {
margin-bottom: .8rem;
}
#FOTA .newsList .newsItem .pic {
width: 4.8rem;
height: 2.7rem;
margin-right: .5rem;
}
#FOTA .newsList .newsItem .pic img {
object-fit: cover;
}
#FOTA .newsList .newsItem .content {
width: calc(100% - 5.3rem);
display: flex;
flex-direction: column;
justify-content: space-between;
height: 2.7rem;
}
#FOTA .newsList .newsItem .content .tit {
font-size: var(--comSubTit);
line-height: .4rem;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
line-height: 1.5;
}
#FOTA .newsList .newsItem .content .date {
font-size: var(--indexNewsTime);
color: var(--color777);
margin-top: .1rem;
}
#FOTA .newsList .newsItem .content .txetCont {
font-size: var(--comTextCont);
color: var(--color777);
margin-top: .2rem;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
line-height: 1.5;
-webkit-line-clamp: 3;
}
#FOTA .newsList .newsItem .content .more a {
display: flex;
align-items: center;
font-size: var(--comMore);
width: 150px;
height: 46px;
justify-content: center;
background-color: #ECECEC;
min-width: 100px;
cursor: pointer;
}
#FOTA .newsList .newsItem .content .more a img {
margin-left: 10px;
width: 15px;
height: auto;
}
#pagination {
width: fit-content;
margin: 50px auto;
display: flex;
align-items: center;
justify-content: center;
flex-wrap: wrap;
}
#pagination a,
#pagination span {
display: block;
width: .4rem;
height: .4rem;
border-radius: .2rem;
font-size: .14rem;
color: #333;
text-align: center;
line-height: .4rem;
margin: 0 3px;
}
#pagination a {
border: 1px solid #D4D4D4;
}
#pagination .pagePrev,
#pagination .pageNext {
width: 1rem;
}
#pagination .pageActive {
color: #fff;
background-color: #B81C22;
border-color: #B81C22;
}
@media screen and (max-width:1024px) {
#FOTA .newsList .newsItem .content .tit {
font-size: 20px;
}
#FOTA .newsList .newsItem .content .more a {
width: 120px;
height: 40px;
}
#FOTA .newsList .newsItem .pic {
margin-right: 20px;
}
}
@media screen and (max-width:768px) {
#FOTA .newsList .newsItem .content .more a {
margin-top: 10px;
font-size: var(--overview);
}
#FOTA .newsList .newsItem .content .txetCont {
font-size: var(--overview);
}
.banner {
height: 150px;
}
#FOTA .newsList .newsItem {
flex-direction: column;
}
#FOTA .newsList .newsItem .pic {
margin-bottom: 20px;
margin-right: 0;
width: 100%;
height: auto;
}
#FOTA .newsList .newsItem .content .tit { font-size: 16px;
}
#FOTA .newsList .newsItem .content {
width: 100%;
height: auto;
}
#pagination a,
#pagination span {
width: 24px;
height: 24px;
font-size: 14px;
line-height: 22px;
border-radius: 24px;
margin-bottom: 10px;
}
#pagination .pagePrev,
#pagination .pageNext {
height: 24px;
font-size: 14px;
line-height: 22px;
width: fit-content;
padding: 0 6px;
}
#pagination .last-page,
#pagination .home-page{
width: fit-content;
padding: 0 6px;
}
}
@media screen and (max-width:500px) {
#FOTA .newsList .newsItem .content .more a {
width: 100px;
height: 32px;
margin-right: 6px;
}
#FOTA .newsList .newsItem .content .more a img {
width: 12px;
}
}