.row {
    display: flex;
    margin-top: 20px;
}

/* ==================== 文章列表样式 ==================== */

/* 头部区域 */
.article-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.header-title {
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.header-title i {
    color: #FF5509;
    margin-right: 8px;
    font-size: 16px;
}

.header-line {
    height: 3px;
    width: 50px;
    background: linear-gradient(90deg, #FF5509, #ff8c5a);
    border-radius: 2px;
}

/* 文章列表 */
.article-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* 文章项 */
.article-item {
    display: flex;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.article-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

/* 图片区域 */
.item-image {
    flex-shrink: 0;
    width: 220px;
    height: 150px;
    overflow: hidden;
}

.image-wrap {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.article-item:hover .image-wrap img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 85, 9, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.article-item:hover .image-overlay {
    opacity: 1;
}

.image-overlay i {
    color: #fff;
    font-size: 20px;
}

/* 内容区域 */
.item-content {
    flex: 1;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

.item-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    margin: 0 0 10px 0;
}

.item-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.item-title a:hover {
    color: #FF5509;
}

/* 元信息 */
.item-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 12px;
    color: #888;
}

.item-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.item-meta i {
    font-size: 12px;
    color: #aaa;
}

/* 描述文字 */
.item-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 12px;
    flex: 1;
}

/* 阅读更多 */
.item-action {
    margin-top: auto;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #FF5509;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.read-more:hover {
    gap: 8px;
}

.read-more i {
    font-size: 12px;
}

/* 分页样式 */
.pagination-wrap {
    margin-top: 30px;
    padding: 20px 0;
    text-align: center;
}

.pagination-wrap .pagination {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination-wrap .pagination li {
    display: inline-block;
}

.pagination-wrap .pagination li a,
.pagination-wrap .pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 10px;
    border-radius: 4px;
    font-size: 13px;
    color: #666;
    background: #fff;
    border: 1px solid #e0e0e0;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pagination-wrap .pagination li a:hover {
    color: #FF5509;
    border-color: #FF5509;
    background: #fff8f5;
}

.pagination-wrap .pagination li.active span {
    color: #fff;
    background: #FF5509;
    border-color: #FF5509;
}

.pagination-wrap .pagination li.disabled span {
    color: #ccc;
    cursor: not-allowed;
    background: #f5f5f5;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .article-item {
        flex-direction: column;
    }

    .item-image {
        width: 100%;
        height: 180px;
    }

    .item-content {
        padding: 15px;
    }

    .item-title {
        font-size: 15px;
    }

    .item-title a {
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .item-meta {
        font-size: 11px;
        gap: 12px;
    }

    .item-desc {
        font-size: 12px;
    }

    .header-title {
        font-size: 16px;
    }
}

/* newslist 旧样式兼容 */
.newslist {
    padding: 20px 0;
}

.newslist ul li {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #EBEBEB;
}

.newslist ul li .pic {
    width: 200px;
    height: 120px;
    overflow: hidden;
    flex-shrink: 0;
}

.newslist ul li .pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.newslist ul li .text {
    flex: 1;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.newslist ul li .text .tit {
    font-size: 16px;
    color: #333;
    line-height: 1.5;
    margin-bottom: 10px;
}

.newslist ul li .text .tit a:hover {
    color: #FF5509;
}

.newslist ul li .text .st {
    font-size: 12px;
    color: #999;
}

.toutiaonewsmain ul {
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 767px) {
    .newslist ul li {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .newslist ul li .pic {
        width: 100%;
        height: 180px;
        margin-bottom: 10px;
    }

    .newslist ul li .text {
        padding-left: 0;
    }
}

/* 标签页网格卡片样式 - 1:1复刻 */
.tag-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 15px;
    background: #f5f5f5;
}

.tag-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.tag-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.tag-card-link {
    display: block;
    text-decoration: none;
}

.tag-card-img {
    width: 100%;
    height: 140px;
    overflow: hidden;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.tag-card-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 4px;
    background: #ff6b6b;
    border-radius: 2px 2px 0 0;
}

.tag-card-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tag-card-title {
    padding: 12px 10px;
    font-size: 14px;
    color: #666;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: #fff;
    border-top: 1px solid #f0f0f0;
}

.tag-card:hover .tag-card-title {
    color: #ff6b6b;
}

/* 分页样式 - 1:1复刻 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 20px;
    list-style: none;
}

.pagination a,
.pagination b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 12px;
    border-radius: 4px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination a {
    color: #666;
    background: #fff;
    border: 1px solid #e0e0e0;
}

.pagination a:hover {
    color: #ff6b6b;
    border-color: #ff6b6b;
}

.pagination b {
    color: #fff;
    background: #ff6b6b;
    border: 1px solid #ff6b6b;
}

.pagination .nextpage {
    padding: 0 16px;
}

/* 响应式适配 */
@media (max-width: 991px) {
    .tag-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        padding: 12px;
    }
}

@media (max-width: 767px) {
    .tag-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 10px;
    }
    
    .tag-card-img {
        height: 110px;
    }
    
    .tag-card-img::after {
        width: 50%;
        height: 3px;
    }
    
    .tag-card-title {
        padding: 10px 8px;
        font-size: 13px;
    }
}
