@import url('iconfont.css');
body {
    background: #f8f9fa !important;
}
a {
    color: #000;
    text-decoration: none
    }

a:hover {
    color: red;
    text-decoration: none
}
.main-content-wrapper {
    background: #aaa;
    padding: 20px 0;
}

.section-title {
    background-color: #f8f9fa;
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 1rem !important;
}
.content-box {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    margin-bottom: 15px;
    padding: 20px;
    position: relative;
    z-index: 1;
}
.content-box img {
    max-width: 100%;
    height: auto;
} 


/* 列表样式 */
.list-container {
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    overflow: hidden;
}
.list-group {
    list-style-type: none; 
    padding-left: 0; 
    margin-bottom: 0; 
}
.list-header {
    display: flex;
    background-color: #f7fafc;
    font-weight: 600;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.list-item {
    display: flex;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e2e8f0;
}
.list-article {
    display: flex;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.list-item:last-child {
    border-bottom: none;
}

.text-success {
    color: #48bb78;
}

.text-danger {
    color: #e53e3e;
}
.danwei{
    font-size: 12px;
    color: #6b7280;
}
.list-header>div,
.list-item>div {
    flex: 1;
}
.pagination {
    display: flex;
    list-style-type: none;
    padding: 0;
    flex-wrap: wrap; 
    justify-content: center;
}

.pagination .pagesize {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 4px;
    text-decoration: none;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    margin-bottom: 8px; 
}

.pagination .pagesize:hover {
    background-color: #f0f0f0;
}

.pagination .current {
    background-color: #333;
    color: white;
    border: 1px solid #333;
    padding: 8px 12px;
    margin: 0 4px;
    border-radius: 4px;
    margin-bottom: 8px; 
}

   
/* 新闻列表样式 */
.list-unstyled li {
    align-items: stretch;
    border-bottom: 1px solid rgb(26 26 26 / 7%);
    display: flex;
    overflow: hidden;
    padding: 20px 0;
    transition: all .3s ease 0s;
}

.list-unstyled  li .list-image {
    flex-grow: 0;
    flex-shrink: 0;
    padding-right: 10px;
    position: relative;
    transition: box-shadow .3s ease 0s;
    width: 30%;
}

.list-unstyled li .list-image .item-img-inner {
    border-radius: 4px;
    display: block;
    overflow: hidden;
    position: relative;
}

.list-unstyled li .list-image img {
    height: 100%;
    left: 0;
    object-fit: cover;
    position: absolute;
    top: 0;
    transition: all .3s ease-out 0s;
    width: 100%;
}

.list-unstyled  li .list-image .item-img-inner:before {
    padding-top: 62.5%!important;
}

.list-unstyled  li .list-image .item-img-inner:before {
    content: "";
    display: block;
    padding-top: 62.5%;
}

.list-unstyled  li .item-category {
    background: rgba(0,0,0,.5);
    border-radius: 3px;
    color: #fff;
    font-size: 12px;
    left: 10px;
    line-height: 14px;
    padding: 4px 8px;
    position: absolute;
    text-decoration: none;
    top: 10px;
}

.list-unstyled  li .list-main {
    display: grid;
    grid-template-rows: min-content auto 24px;
    row-gap: 0;
    width: 100%;
}

.list-unstyled  li .item-title {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    margin: 0 0 10px;
    color: #2b2929;
}

.list-unstyled  li .item-excerpt,.list-unstyled  li .item-title a {
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    display: block;
    display: -webkit-box;
    -webkit-line-clamp: 2;
}

.list-unstyled  li .item-title a {
    color: #1a1a1a;
    max-height: 56px;
    text-decoration: none;
}

.list-unstyled  li .item-title a:hover {
    color: #999
}

.list-unstyled  li .item-excerpt {
    font-size: .875rem;
    line-height: 1.625;
    margin-bottom: 15px;
    max-height: 48px;
}

.list-unstyled  li .item-excerpt p {
    margin-bottom: 0;
    color: #999;
}

.list-unstyled  li .item-meta {
    color: rgb(26 26 26 / 60%);
    font-size: 12px;
    line-height: 24px;
}

.list-unstyled  li .item-meta .item-meta-li {
    display: inline-block;
    line-height: inherit;
    margin-right: 15px;
    vertical-align: top;
}

.list-unstyled li .item-meta .author {
    display: inline-block;
    margin-right: 15px;
}

.list-unstyled li .item-meta .item-meta-right {
    float: right;
    line-height: inherit;
}

.list-unstyled li .item-meta i {
    font-size: 1.0625rem;
    margin-right: 2px;
    vertical-align: bottom;
}
.tags {
      display: inline-block;
      background-color: #f8f9fa;
      border: 1px solid #f1ebeb;
      padding: 5px 5px;
      border-radius: 6px;

      color: #000;
      text-decoration: none;
      transition: background-color 0.3s ease;
    }

    .tags a {
      color: #363434;
      padding: 5px 5px;
      font-size:15px;

    }

    .tags a:hover {
      color: red;
    }

/* 内容页面样式 */
.title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #333;
    text-align: center;
}

.info {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 1rem;
}
.content table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    border: 1px solid #FF9933; 
}

.content table caption {
    caption-side: top;
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    background-color: #FF9933;
    border: 1px solid #FF9933;
    border-bottom: none;
    padding: 0.5rem;
    text-align: center;
}

.content table th,
.content table td {
    border: 1px solid #FF9933; 
    padding: 0.75rem;
    text-align: center;
}

.content table th {

    font-weight: bold;
}

.content table tr:nth-child(even) {
    background-color: #fff; 
}

.content table tr:hover {
    background-color: #f5f5f5; 
    transition: background-color 0.3s ease;
}

.note {
    font-size: 0.8rem;
    color: #999;
    margin-top: 1rem;
    text-align: center;
}


@media (max-width: 990px) {
    .navbar-nav {
        margin-left: 0;
        padding-top: 1rem;
    }

    .content-box {
        padding: 15px;
    }
    .list-unstyled {
        padding: 0;
    }

    .list-unstyled  li {
        padding: 15px 0;
    }

    .list-unstyled li .list-image {
        width: 33%;
    }

    .list-unstyled li .item-category {
        display: none;
    }

    .list-unstyled li .list-main {
        grid-template-rows: auto 0 16px;
        padding-left: 10px;
    }


    .list-unstyled li .item-title {
        font-size: 15px;
        font-weight: 400;
        line-height: 1.36;
    }

    .list-unstyled li .item-title a {
        max-height: 50px;
    }

    .list-unstyled li .item-excerpt {
        display: none;
    }

    .list-unstyled li .item-meta {
        line-height: 16px;
    }

    .list-unstyled li .item-meta .category,.list-unstyled li .item-meta .likes {
        display: none;
    }

    .list-unstyled li .item-meta .views {
        float: right;
        margin: 0;
    }
    .pagination {
        justify-content: center;
    }
    .pagination .pagesize,
    .pagination .current {
        padding: 6px 10px; 
    }
}
@media (max-width: 568px) {
    .kpj{
        display: none;
    }
    .zsj{
        display: none;
    }
    .spname{
        display: none;
    }
    .danwei{
        display: none;
    }
    
    .list-header {
        display: flex;
        background-color: #f7fafc;
        font-weight: 600;
        padding: 0.75rem 0.4rem;
        border-bottom: 1px solid #e2e8f0;
    }
    .list-item {
        display: flex;
        padding: 0.75rem 0.2rem;
        border-bottom: 1px solid #e2e8f0;
    }

}