 /* 头部 */
 .header-img-container {
    width: 100%;
    margin: 0;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
}

.header-img-container .img {
    position: relative;
    width: 100%;
    height: auto;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}


.main-content {
    margin: 0;
    padding: 0;
    background-color: #ffffff;

    flex: 1;
    min-height: calc(100vh - 160px);
}

       

/* 页面内容 */
.main-container {
    position: relative;
    display: flex;
    flex: 1;
    max-width: 1200px;
    /* margin: -20px auto auto; */
    margin: 0 auto;
    padding: 0 20px;
    gap: 20px;
    background-color: #ffffff;
    z-index: 10;
    min-height: calc(100vh - 160px)
}

/* 左导航 */
.left-nav {
    flex: 0 0 220px;
    background: white;
    border-radius: 0px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 0;
    height: fit-content;
    /* margin-top: 20px; */
    margin-top: -60px;
}

.left-nav-header {
    padding: 15px 20px;
    font-size: 1.2rem;
    font-weight: 400;
    color: #fff;
    border-bottom: 4px solid #1f75f5;
    cursor: pointer;
    justify-content: space-between;
    align-items: center;
    background-color: #1255DA;
    text-align: center;
}

.left-nav-header .toggle-icon {
    font-size: 14px;
    transition: transform 0.3s;
}

.left-nav-header.collapsed .toggle-icon {
    transform: rotate(-90deg);
}

.left-nav-content {
    padding: 0;
    overflow: hidden;
    transition: height 0.3s ease;
}

.left-nav-menu {
    list-style: none;
}

.left-nav-item {
    border-bottom: 0.2px dashed #abb8d3;
    text-align: center;
    background: #f3f6f8;
    font-size: 18px;
}

.left-nav-link {
    display: block;
    padding: 12px 20px;
    color: #555;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    cursor: pointer;
    /* font-family: 'sy-hei-b', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; */
    font-weight:400;
}

.left-nav-link:hover {
    background: #f8f9fa;
    color: #3498db;
    padding-left: 25px;
}

.left-nav-link.active {
    background: #eef7ff;
    color: #3498db;
    border-left: 3px solid #3498db;
}

.left-nav-link.current-page {
    background: #e8f4fd;
    color: #0839a1;
    font-weight: 500;
}

.left-submenu {
    list-style: none;
    background: #f9f9f9;
    display: none;
}

.left-nav-item.active .left-submenu {
    display: block;
}

.left-submenu-item {
    border-bottom: 1px solid #eee;
}

.left-submenu-link {
    display: block;
    padding: 10px 20px 10px 35px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
}

.left-submenu-link:hover {
    background: #f0f0f0;
    color: #2980b9;
}

.left-submenu-link.current-page {
    background: #e8f4fd;
    color: #2980b9;
    font-weight: bold;
}

/* 内容 */
.content-area {
    flex: 1;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin-top: 20px;
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0 0 0;
    border-bottom: 2px solid #3f5fa8;
    /* margin-bottom: 30px; */
}

.title-breadcrumb {
    color: #abb8d3
}

.title-breadcrumb a {
    text-decoration: none;
    color: #abb8d3
}

.title-breadcrumb a:hover {
    text-decoration: none;
    color: #16409b;
    font-weight: 500;
}
.content-body{
    margin-top:10px;
    
}
.content-header-title {
    /* border-bottom: 2.5px solid #1255d1; #3570dc; #365df8;    */
    border-bottom: 2.5px solid #1255da;
    
}

.content-body .content-body-title{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-bottom: #e0e0e0 solid 1px;
    padding:10px;
    margin-bottom: 30px;
}
.content-body .content-body-title h2{   
    position:relative;
    width:80%;     
    margin:0 auto;    
    font-size: clamp(16px, 1.8vw, 24px);
    text-align: center;
    line-height: 2rem;
}
.content-body .content-body-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 30px; 
    margin-top:20px;
}

.content-body .content-body-meta span {
    display: flex;
    align-items: center;
    font-size: clamp(12px, 1.5vw, 14px);
    color: #abb8d3;
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis; 
    max-width: 100%; 
}

.content-body .art-body img {
    max-width: 80% !important;
    display: block;
    margin: 0 auto;
    height:auto;
}

.content-section {
    margin-top: 10px;
    padding: 20px;
    background:#fff;
}

/*         
.content-section {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #3498db;
    border:#4CAF50 solid 1px;
} */

@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
    }

    .left-nav {
        flex: 0;
        width: 100%;
        background: white;
        border-radius: 0px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        padding: 0;
        height: fit-content;
    }
    .left-nav-header .toggle-icon {
        font-size: 14px;
        transition: transform 0.3s;
        display:block;
    }
    .content-area {
        margin-top: 0px;
        padding-top: 0px;
    }

    .content-header-title {
        display: none;
    }
}

 /* 翻页导航 */
 .pagination {
    display: flex;
    flex-direction: column;
    justify-content:flex-start;
    /*
    border-top: 1px solid #ecf0f1; */
    padding-top: 25px;
    font-size:0.9rem;
}

.pagination a {
    text-decoration: none;
    color: #2c3e50;
    transition: all 0.3s ease;
}

.pagination a:hover {
    color: rgb(36, 82, 190);
    font-weight:500;
}

.pagination i {
    margin-left: 8px;
}
.left-nav-header .chevron-left a{
    text-decoration: none;
    color:white;
}
.left-nav-header .chevron-left a:hover{
    color:#cef2f9
}
.left-nav-header .toggle-icon,.left-nav-header .chevron-left {
        display: none;
}
/* 响应式设计 */

@media (max-width: 768px) {
    .content-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .title-breadcrumb {
        margin-top: 15px;
    }

    .content-area{
        margin-top:-20px;
    }

    .content-header-title {
        font-size: 20px;
    }
    .left-nav{
        margin-top:-40px;
    }
    .left-nav,.content-area{
        width:100vw;
        margin-left:-5vw;
    }
    .left-nav-header{
        display: flex;
        align-items: center;
        justify-content: space-between;
        height:40px;
    }

    .left-nav-header .toggle-icon, .left-nav-header .chevron-left{
        display: block;
    }
    .left-nav-menu {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: center;
        padding: 0;
        margin: 0;
        white-space: nowrap;
    }

    .left-nav-item {
        background-color: #ffffff;
        transform: scale(0.8);
    }

}
/*多页导航栏*/
.pagination-m {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    padding: 0;
    background-color: transparent;
    border: none;
}
.pagination-m ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
    background-color: transparent;
    border: none;
}

.pagination-m li {
    margin: 0;
    padding: 0;
    border: 1px solid #ddd;
    background-color: #fff;
}

.pagination-m li:hover {
    border-color: #aaa;
}

.pagination-m li.active {
    border-color: #1255bb;
    background-color: #1a6fc4;
}

.pagination-m a {
    display: block;
    padding: 8px 12px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    min-width: 36px;
    text-align: center;
}

.pagination-m li.active a {
    color: #fff;
}

.pagination-m li.disabled a {
    color: #999;
    cursor: not-allowed;
}

.pagination-m .ellipsis {
    border: none;
    background-color: transparent;
    padding: 8px 5px;
}

@media (max-width: 768px) {
    .pagination-m ul {
        gap: 3px;
    }    
    .pagination-m a {
        padding: 6px 8px;
        min-width: 32px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .pagination-m ul {
        gap: 2px;
    }

    .pagination-m a {
        padding: 4px 6px;
        min-width: 28px;
        font-size: 12px;
    }

    .pagination-m .ellipsis {
        padding: 4px 2px;
    }
}