
.sidebar-menu li a {
    color: #4d4d4d;
    display: block;
    text-align: center;
    padding: 15px 30px;
}
.sidebar-menu li a:hover{
    color: #fff;
}

.container {
    width: 100%;
    margin: 200px auto 0;
    padding-top: 20px;
}

.inner-container {
    max-width: 1220px;
    margin: 0 auto;
    display: flex;
    gap: 30px;
}

.breadcrumb {
    max-width: 1220px;
    margin: 0 auto 20px;
    padding: 10px 10px 10px 40px;
    background: #f4f4f4;
    border-radius: 4px;
}

.breadcrumb span {
    color: #2c3e50;
}

.breadcrumb span + span:before {
    content: " / ";
    padding: 0 5px;
}

.sidebar {
    width: 240px;
    background: #f4f4f4;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    color: #929292;
    transition: all 0.3s;
}

.sidebar-menu li:hover{
    color: #fff;
    background: #e56769;
}
.sidebar-menu li.active{
    color: #fff;
    background: #940809;
}
.sidebar-menu .active a {
    color: #fff !important;
}
.content {
    overflow: hidden;
    flex: 1;
    background: #fff;
    padding: 20px;
    border-radius: 4px;
    min-height: 780px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.news-card {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.news-image {
    width: 100%;
    height: 193px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image {
    transform: scale(1.05);
}

.news-content {
    padding: 15px;
}

.news-title {
    /*font-weight: bold;*/
    margin-bottom: 10px;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5em;
    height: 3em;
}

.news-card:hover .news-title,
.news-card:hover .news-footer {
    color: #940809;
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #929292;
    font-size: 0.9em;
}

.read-more {
    color: #4d4d4d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-card:hover .read-more {
    color: #940809;
}

.pagination {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.pagination a, .pagination span {
    padding: 8px 12px;
    margin: 0 4px;
    border: 1px solid #ddd;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
}

.pagination a:hover, .pagination .active {
    user-select: none;
    background-color: #940809;
    color: white;
    border-color: #940809;
}

.page-jump {
    margin-left: 20px;
}

.page-jump input {
    width: 60px;
    padding: 5px;
    border: 1px solid #ddd;
}

.page-jump button {
    padding: 5px 10px;
    background-color: #940809;
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.page-jump button:hover {
    background-color: #7c0607;
}

.article-title {
    font-size: 24px;
    font-weight: bold;
    color: #000;
    margin-bottom: 20px;
    text-align: center;
}
.article-meta {
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.article-meta .category {
    color: #940809;
}
.article-meta .date {
    color: #000;
    margin-left: 10px;
}
.article-meta .editors {
    color: #000;
}
.article-line{
    background: url(/assets/img/index/t_line.png) no-repeat;
    background-size: 100% 100%;
    height: 2px;
    width: 100%;
    margin-bottom: 15px;
}
.article-content {
    line-height: 1.8;
    margin-bottom: 40px;
}
.article-content img{
    max-width: 100%;
}
.article-images {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}
.article-images img {
    width: 48%;
    height: 300px;
    object-fit: cover;
}
.article-nav {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid #eee;
    flex-wrap: wrap;
}
.article-nav a {
    color: #666;
    text-decoration: none;
    margin-top: 5px;
}
.article-nav a:hover {
    color: #940809;
}
.article-description{
    background-color: #f9f9f9; padding: 10px; border: 1px solid #ddd; margin-bottom: 20px;
}
.fa-calendar{
    color: #94080b;
}
.read-text{
    display: none;
}
.sidebar-title{
    background: url(/assets/img/index/sidebartitle.jpg) no-repeat;
    background-size: 100% 100%; 
    padding: 10px; 
    text-align: center; 
    color: #ffffff;
}
.news-text{
    display: none;
}

@media screen and (max-width: 1200px) {
    .container {
        margin: 0px auto 0;
    }
    .news-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media screen and (max-width: 768px) {
    .sidebar-title{
        display: none;
    }
    .content{
        min-height: auto;
    }
    .article-meta{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .article-meta .left{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        text-indent: 0 !important;        
    }
    .inner-container{
        display: block;
    }
    .sidebar{
        padding: 10px 0;
        display: flex;
        width: 100%;
    }
    .sidebar-menu{
        overflow: hidden;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .pagination a, .pagination span{
        margin-top: 10px;
    }
    .page-jump{
        margin-top: 10px;
    }
    .news-image{
        height: auto;
    }
    .news-grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }
}

@media screen and (max-width: 480px) {

}