/* style.css */
.tabs-container {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    /*background-color: #f9f9f9;*/
    padding:0 20px;
    border-radius: 10px;
    /*box-shadow: 0px 0px 15px rgba(0,0,0,0.1);*/
}

.tabs {
    list-style-type: none;
    padding: 0;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
}

.tabs li {
    margin: 0 10px;
    display: inline-block;
    font-size: 24px !important;
}

/* 默认标签状态 */
.tabs a {
    padding: 10px;
    /*background-color: white; !* 背景色始终为白色 *!*/
    color: black; /* 默认文字颜色为黑色 */
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
}

/* 标签选中状态 */
.tabs a.active {
    color: #8b073d; /* 选中时文字颜色为 #8b073d */
}

/* 自定义分隔符 | 的样式 */
.tabs li a {
    display: inline-block;
    color:black;
}

.tabs li a::after {
    /*content: '|';*/
    /*margin-left: 10px;*/
}

.tabs li:last-child a::after {
    content: ''; /* 最后一个标签后不显示分隔符 */
}

.tab-content {
    display: flex;
    flex-direction: column;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}
.post-item h4{
    margin:5px !important;
}

.post-item{
    display: flex;
    justify-content: space-between;
    border-bottom: 2px dashed #ccc; /* 添加虚线下滑线 */
}

.post-header a{
    color:black;
}

.post-item  a:hover{
    color:#8b073d !important;
}
.post-item .post-list{
    margin:0px !important;
    font-size: 12px;
    color:black !important;
}



.post-date {
    display: flex;
    flex-direction: column;
    font-size: 20px; /* 调整整个日期的字体大小 */
    color: #888;
    align-items: center;
    justify-content: center;
    /*margin-top: 10px;*/
    margin:0px !important;
}

.month-day {
    font-size: 28px; /* 月/日的字体更大 */
    font-weight: bold;
}

.year {
    font-size: 18px; /* 年份的字体稍小 */
}

.tabs-container .tabs-body{
    display: flex !important;
    justify-content: space-between;
    align-items: center; /* 添加这行来实现垂直居中 */
}

.more-info{
    display: flex;
    justify-content: center;
    align-content: center;
    margin-top: 20px;
}

.tabs-content-section{
    width: 70%;
}
.image-section{
    width: 28%;
}
.show-more-btn{
    background: #8B073D !important;
    fill: #FFFFFF;
    color: #FFFFFF;
    border-radius: 20px 20px 20px 20px;
    font-size: 16px !important;
    font-weight: 400 !important;
}
button{
    background-color: #8B073D !important;
}
/* ------------------------------
   新增：移动端响应式（<768px）
   ------------------------------ */
@media (max-width: 768px) {
    /* 整体垂直堆叠 */
    .tabs-container {
        flex-direction: column;
        padding: 0 10px;
    }

    /* 图片置顶、全宽 */
    .image-section {
        order: -1;       /* 放到最前面 */
        width: 100% !important;
        margin-bottom: 15px;
        /*margin-top: 20px;*/
        
    }

    /* 标签行水平滚动 */
    .tabs {
        flex-wrap: nowrap;       /* 不换行 */
        overflow-x: auto;        /* 横向滚动 */
        -webkit-overflow-scrolling: touch;
    }
    .tabs li {
        margin: 0 8px;
    }
    .tabs {
        flex-direction: row;     /* 横向排列 */
    }

    /* 内容区和更多按钮都全宽 */
    .tabs-body {
        flex-direction: column;
    }
    .tabs-content-section,
    .tab-content,
    .tab-pane {
        width: 100% !important;
    }
    .more-info {
        width: 100%;
    }
}