/* 图片布局新闻列表样式 */
.news-photo-container {
    background: #fff;
    width: 100%;
}

.news-photo-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.news-photo-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.news-photo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(7, 84, 215, 0.15);
}

.news-photo-link {
    display: flex;
    flex-direction: row;
    text-decoration: none;
    color: inherit;
    height: 100%;
    transition: all 0.3s ease;
}

.news-photo-image {
    flex-shrink: 0;
    width: 240px;
    height: 300px;
    overflow: hidden;
    background: #f5f5f5;
    position: relative;
}

.news-photo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-photo-card:hover .news-photo-image img {
    transform: scale(1.1);
}

.news-photo-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 30px;
    position: relative;
    justify-content: space-between;
}

.news-photo-title {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin: 0 0 20px 0;
    line-height: 1.4;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-photo-card:hover .news-photo-title {
    color: #0754D7;
}

.news-photo-desc {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin: 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-photo-arrow {
    position: absolute;
    right: 30px;
    bottom: 30px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.news-photo-arrow img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.news-photo-card:hover .news-photo-arrow {
    transform: translateX(5px);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .news-photo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .news-photo-image {
        width: 200px;
        height: 250px;
    }
    
    .news-photo-title {
        font-size: 24px;
    }
}

@media (max-width: 992px) {
    .news-photo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .news-photo-link {
        flex-direction: column;
    }
    
    .news-photo-image {
        width: 100%;
        height: 250px;
    }
    
    .news-photo-content {
        padding: 20px;
    }
    
    .news-photo-title {
        font-size: 22px;
        margin-bottom: 15px;
    }
    
    .news-photo-desc {
        font-size: 15px;
        -webkit-line-clamp: 3;
    }
    
    .news-photo-arrow {
        position: static;
        margin-top: 15px;
        align-self: flex-end;
    }
}

@media (max-width: 768px) {
    .news-photo-grid {
        gap: 15px;
    }
    
    .news-photo-image {
        height: 200px;
    }
    
    .news-photo-content {
        padding: 15px;
    }
    
    .news-photo-title {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .news-photo-desc {
        font-size: 14px;
        -webkit-line-clamp: 2;
    }
    
    .news-photo-arrow {
        width: 35px;
        height: 35px;
    }
    
    .news-photo-arrow img {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .news-photo-image {
        height: 180px;
    }
    
    .news-photo-title {
        font-size: 18px;
    }
    
    .news-photo-desc {
        font-size: 13px;
    }
}

