/* 页面内部Banner */
.tenglong-inner-banner {
    position: relative;
    width: 100%;
    height: 450px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.tenglong-inner-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../image/news.jpg') center/cover no-repeat;
    opacity: 0.3;
    z-index: 0;
}

.tenglong-inner-banner-content {
    position: relative;
    z-index: 1;
    text-align: right !important;
    color: #fff;
    padding-right: 100px;
    padding-top: 30px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-top: 40px;
}

.tenglong-inner-banner-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    display: inline-block;
    border-bottom: 3px solid #ff0000;
    padding-bottom: 10px;
}

.tenglong-inner-banner-subtitle {
    font-size: 24px;
    font-weight: 300;
    opacity: 0.95;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}



/* 新闻列表页面样式 */
.tenglong-news-container {
    max-width: 1450px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
}

/* 二级栏目分类 */
.tenglong-news-categories {
    margin-bottom: 30px;
}

.tenglong-category-list {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    gap: 10px;
}

.tenglong-category-item a {
    display: block;
    padding: 10px 20px;
    background-color: #e9ecef;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.tenglong-category-item a:hover,
.tenglong-category-item.tenglong-active a {
    background-color: #1A3C6E;
    color: white;
}

/* 新闻卡片网格布局 */
.tenglong-news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.tenglong-news-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
}

.tenglong-news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.tenglong-card-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.tenglong-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tenglong-news-card:hover .tenglong-card-image img {
    transform: scale(1.05);
}

.tenglong-card-content {
    padding: 15px;
}

.tenglong-card-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 10px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tenglong-card-excerpt {
    font-size: 14px;
    color: #666;
    margin: 0 0 15px 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tenglong-card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #999;
}

.tenglong-card-meta i {
    margin-right: 5px;
}

/* 分页样式 */
.tenglong-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 40px 0;
    padding: 20px 0;
}

.pagination {
    display: inline-block;
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px; }
.pagination > li {
    display: inline; }
.pagination > li > a,
.pagination > li > span {
    position: relative;
    float: left;
    padding: 6px 12px;
    line-height: 1.42857;
    text-decoration: none;
    color: #337ab7;
    background-color: #fff;
    border: 1px solid #ddd;
    margin-left: -1px; }
.pagination > li:first-child > a,
.pagination > li:first-child > span {
    margin-left: 0;
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px; }
.pagination > li:last-child > a,
.pagination > li:last-child > span {
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px; }
.pagination > li > a:hover, .pagination > li > a:focus,
.pagination > li > span:hover,
.pagination > li > span:focus {
    z-index: 2;
    color: #23527c;
    background-color: #eeeeee;
    border-color: #ddd; }
.pagination > .active > a, .pagination > .active > a:hover, .pagination > .active > a:focus,
.pagination > .active > span,
.pagination > .active > span:hover,
.pagination > .active > span:focus {
    z-index: 3;
    color: #fff;
    background-color: #337ab7;
    border-color: #337ab7;
    cursor: default; }


/* 响应式设计 */
@media (max-width: 1366px) {
    .tenglong-news-container {
        padding: 15px;
    }
    
    .tenglong-news-grid {
        gap: 15px;
    }
    
    .tenglong-card-content {
        padding: 12px;
    }
    
    .tenglong-card-title {
        font-size: 15px;
    }
    
    .tenglong-card-excerpt {
        font-size: 13px;
    }
}

@media (max-width: 1024px) {
    .tenglong-news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .tenglong-category-list {
        gap: 8px;
    }
    
    .tenglong-category-item a {
        padding: 8px 15px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .tenglong-news-container {
        padding: 10px;
    }
    
    .tenglong-news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .tenglong-news-categories {
        margin-bottom: 20px;
    }
    
    .tenglong-category-list {
        gap: 5px;
    }
    
    .tenglong-category-item a {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .tenglong-card-image {
        height: 150px;
    }
    
    .tenglong-card-content {
        padding: 10px;
    }
    
    .tenglong-card-title {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .tenglong-card-excerpt {
        font-size: 12px;
        margin-bottom: 10px;
    }
    
    .tenglong-card-meta {
        font-size: 11px;
    }
    
    .tenglong-pagination {
        gap: 5px;
    }
    
    .tenglong-page-link,
    .tenglong-page-number {
        padding: 6px 12px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .tenglong-news-container {
        padding: 8px;
    }
    
    .tenglong-news-grid {
        grid-template-columns: 1fr;
    }
    
    .tenglong-category-list {
        justify-content: flex-start;
    }
    
    .tenglong-category-item a {
        padding: 5px 10px;
        font-size: 12px;
    }
    
    .tenglong-card-image {
        height: 200px;
    }
    
    .tenglong-pagination {
        flex-wrap: wrap;
        margin: 20px 0;
        padding: 15px 0;
    }
    
    .tenglong-page-numbers {
        order: 3;
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 10px;
    }
    
    .tenglong-page-link,
    .tenglong-page-number {
        min-width: 36px;
        height: 36px;
        padding: 6px 10px;
        font-size: 14px;
    }
    
    .tenglong-page-link {
        padding: 6px 12px;
    }
}