.hotcategory {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.hotcategory .categoryitem {
    width: 32%;
    background-color: #fff;
    margin-top: 22px;
    padding: 11px 22px;
}

.hotcategory .categoryitem .title {
    height: 40px;
    line-height: 40px;
    display: flex;
    justify-content: space-between;
}

.hotcategory .categoryitem .title h3 {
    font-size: 20px;
}

.hotcategory li {
    width: 100%;
}

.hotcategory li .img {
    display: none;
}

.hotcategory li .img.active {
    display: block;
}

.hotcategory li .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hotcategory li>a {
    height: 32px;
    line-height: 32px;
    font-size: 16px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    display: block;
}

/* 全部分类文章 */
.allcategory {
    background-color: #fff;
    /* margin-top:22px; */
}

.allcategory .tabbox {
    display: flex;
    justify-content: space-between;
}

.allcategory .tabbox .tab {
    flex-grow: 1;
    text-align: center;
    /* height: 40px;
    line-height: 40px; */
    padding: 22px 0;
    font-size: 16px;
    background: #f8f8f8;
}

.allcategory .tabbox .tab.active {
    border-top: 5px solid #555ba6;
    background-color: #fff;
}

.allcategory .tabcontent {
    padding: 22px;
}

.allcategory .swip ul {
    display: flex;
    justify-content: space-around;
}

.allcategory .swip ul li {
    text-align: center;
    flex-grow: 1;
}

.allcategory .swip .img {
    width: 80px;
    height: 80px;
    margin: auto;
}

.allcategory .swip .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.allcategory .itembox {
    margin-top: 22px;
}

.allcategory .itembox .item {
    display: flex;
    gap: 22px;
}

.allcategory .itembox .item .img {
    width: 200px;
    height: 150px;
    flex-shrink: 0;
}

.allcategory .itembox .item .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.allcategory .itembox .item h3 {
    font-size: 16px;
    height: 40px;
    line-height: 40px;
}

.allcategory .itembox .item p {
    height: 40px;
    line-height: 20px;
    color: #999;
}

.allcategory .itembox .item .other {
    text-align: right;
    color: #ccc;
}

/* 文章内容页 */
.articleBox {
    display: flex;
}

.articleContent {
    border: 1px solid var(--bg-300);
    padding: 22px;
    margin-right: 80px;
}

.articleContent h2 {
    font-size: 20px;
    text-align: center;
    margin-bottom: 22px;
}

.articleContent .other {
    display: flex;
    justify-content: center;
    gap: 22px;
    margin-bottom: 22px;
}

.articleContent .daoyu {
    background-color: var(--bg-300);
    padding: 22px;
    margin-bottom: 22px;
}

.articleContent .content,
.articleContent .tags {
    margin-bottom: 22px;
}

.articleContent .content p {
    font-size: 14px;
    line-height: 30px;
    color: var(--text-200)
}

.articleContent .tags {
    font-size: 16px;
}

.articleContent .praise {
    display: flex;
    justify-content: center;
    gap: 11px;
    margin-bottom: 22px;
}

.articleContent .praise a {
    padding: 5px 50px;
    font-size: 16px;
    background-color: var(--bg-300);
    border-radius: 22px;
    display: flex;
    align-items: center;
}

.articleContent .praise a i {
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    margin-right: 11px;
    background-color: #fff;
    border-radius: 50%;
}

.articleContent .praise .likes {
    background: linear-gradient(45deg, var(--accent-200), var(--accent-100), var(--accent-200));
}

.articleContent .praise .likes i {
    transform: rotate(180deg) !important;
}

.articleContent .pnArticle {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
}