/* 新年侧边栏 */

#newYear {
    color: white;
    padding: 0 !important;
}

#newYear p,
#newYear h3 {
    font-weight: normal;
    color: inherit;
    margin: 0;
}

#newYear .item-headline {
    display: none;
}

#newYear-main {
    min-height: 160px;
    padding: 1rem;
    position: relative;
    border-radius: 12px;
    background-image: url(/img/shenian.png);
    background-size: cover;
    background-position: center;
}

#newYear-main * {
    position: relative;
    line-height: 1.3;
}

#newYear-main .newYear-time {
    font-weight: bold;
    text-align: center;
}

#newYear-main .time,
#newYear-main .happyNewYear {
    font-size: 3.5rem;
    margin: 1rem 0;
    display: block;
}

#newYear-main .day {
    font-size: 5.5rem;
}

#newYear-main .day .unit {
    font-size: 1.5rem;
}

#newYear-main .mask {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, .1);
}

#newYear-main .today,
#newYear-main .title{
    font-size: 1rem;
}

.recent-post-items > .recent-post-item {
    flex-direction: column !important;
    margin-bottom: 5px !important;
}

.recent-post-items > .recent-post-item .post_cover {
    width: 100% !important;
    height: 200px !important;
    overflow: hidden !important;
}
.layout{
    width: 60% !important;
}
.recent-post-items > .recent-post-item .recent-post-info {
    height: 100px !important;
}
#recent-posts .recent-post-items {
    height: 330px !important;
}
#recent-posts .recent-post-item > .recent-post-info {
    padding: 1rem !important;
    display: inline-block;
}
#recent-posts .recent-post-item >.recent-post-info > .content {
    display: none;
}
/*.recent-post-items {*/
/*    display: block !important;*/
/*}*/

.tabs {
    margin: 20px 0;
}

.tab-links {
    list-style: none;
    padding: 0;
    display: flex;
}

.tab-links li {
    margin-right: 10px;
}

.tab-links li a {
    padding: 10px 20px;
    background-color: #f5f5f5;
    border-radius: 5px;
    text-decoration: none;
}

.tab-links li.active a {
    background-color: #007bff;
    color: white;
}

.tab-content .tab {
    display: none;
}

.tab-content .tab.active {
    display: block;
}
#pagination {
    margin-top: 2000px;
    width: 100%;
}

.card-container {
    clear: both;  /* 确保卡片容器的清除浮动 */
}

