.main {
    padding: 69px 0 15px;
}

.main-container .horizontal {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.horizontal .sidebar {
    width: 260px;
    background: white;
    margin-right: 15px;
    box-shadow: 0 0 40px rgba(0, 0, 0, .05);
}

.horizontal .sidebar .name {
    font-size: 24px;
    /* font-weight: bold; */
    text-align: center;
    padding: 20px;
    background: var(--theme-color);
    color: white;
    border-bottom: 1px solid var(--border-color);
    font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
}

.horizontal .sidebar .list {
    padding: 15px;
}

.horizontal .sidebar .list .item {
    padding: 15px;
    display: block;
    text-align: center;
    border-top: 1px dashed var(--border-color);
    font-size: 18px;
    font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
}
/* 
.horizontal .sidebar .list .item.cur::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: #fbc021;
    content: "";
} */


.horizontal .sidebar .list .item.cur {
    background:  var(--theme-color);
    color: #FFFFFF;
}

.horizontal .sidebar .list .item:hover {
    background:  var(--theme-color);
    color: #FFFFFF;
}

.horizontal .article-list-wrapper {
    flex: 1;
    padding: 30px;
    background: white;
    /* max-width: calc(100% - 270px); */
    /* box-shadow: 0 0 40px rgba(0, 0, 0, .05); */
}

.horizontal .article-list-wrapper .article-list {
    padding-top: 20px;
}

.article-list {
    min-height: 800px;
    position: relative;
}

.article-list ul {
    position: relative;
}

.article-list a {
    position: relative;
    display: block;
    padding: 10px 0;
}

.article-list a:not(:first-child)::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    border-bottom: 1px dashed #e4e4e4;
}

.article-list li {
    padding: 15px;
    display: flex;
}

/* .article-list li + li {
    border-top: 1px dashed #e4e4e4;
} */

.article-list li:hover {
    background: var(--theme-color);
}

.article-list li:hover .content .title,
.article-list li:hover .content .desc,
.article-list li:hover .content .attrs {
  color: #ffffff;
}

.article-list li:hover .cover-wrap {
    outline: 1px solid #ffffff;
}

/* .article-list li .content .title:hover {
    color: var(--theme-color);
} */

.article-list li .content {
    flex: 1;
}

.article-list li .cover-wrap {
    display: block;
    width: 136px;
    height: 87px;
    margin-right: 15px;
}

.article-list li .cover-wrap img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.article-list li .content .title {
    font-size: 18px;
    font-weight: bold;
}

.article-list li .content .desc {
    font-size: 14px;
    color: #999999;
    margin-top: 10px;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.article-list li .content .attrs {
    display: flex;
    gap: 30px;
    font-size: 14px;
    color: #999999;
    margin-top: 15px;
}

.article-list li .cover-wrap .cover {
    width: 100%;
    height: 100%;
    display: block;
    -o-object-fit: cover;
    object-fit: cover;
}

.page-content {
    min-height: 800px;
    padding: 60px 30px;
    line-height: 1.6;
    color: #333333;
}

.page-content img {
    max-width: 100%;
}

.page-content p {
    margin-bottom: 1em;
    font-size: 20px;
    font-family: 仿宋, microsoft yahei, sans-serif;
}

.category-list {
    display: flex;
    justify-content: center;
    gap: var(--space-size);
    background: var(--background);
    margin-bottom: 30px;
}

.category-list .item {
    font-size: 16px;
    font-weight: bold;
    height: 58px;
    display: flex;
    align-items: center;
    border-bottom: 2px solid transparent;
}

.category-list .item:hover {
    border-color: var(--theme-color);
}

.topic-wrapper {
    min-height: 800px;
    margin: 0 auto;
}

.topic-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    align-items: center;
    /* margin: 0 auto; */
    gap: 10px;
    /* padding: 80px; */
    padding-top: 40px;
}

.topic-list a {
    width: calc((100% / 3) - 15px);
    height: 100px;
    display: block;
    background: #df0b0a;
}

.topic-list a img {
    width: 100%;
    height: 100%;
    display: block;
    /* object-fit: cover; */
}

.topic-list a span {
    display: block;
    text-align: center;
    line-height: 100px;
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 700;
}

.article-list-wrapper .topic-list a {
    /* width: calc((100% / 4) - (343px / 4)); */
    width: 373px;
    height: 96x;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding-top: 20px;
}

.pagination .pagination-item {
    background: #f7f7f7;
    font-size: 14px;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
}

.pagination .pagination-item.disabled {
    cursor: not-allowed;
    background: #f9f9f9;
    color: #999999;
}

.pagination .pagination-item.active {
    background: var(--theme-color);
    color: white;
}

.pagination .pagination-item:not(.active,.disabled):hover {
    color: var(--theme-color);
    background: #f1f1f1;
}

/* @media screen and (max-width: 768px) {
    .main {
        padding: 10px 0;
    }
    .horizontal .article-list-wrapper .article-list {
        padding: 0;
    }
} */