.gallery-container {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px;
    padding: 20px 0;
}

.gallery-item {
    position: relative;
	background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.gallery-item:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
	transform: translateY(-5px);
}

.gallery-thumbnail {
    position: relative;
	width: 100%; height: 200px;
    background: #f8f9fa;
	overflow: hidden;
}

.gallery-thumbnail img {
    width: 100%; height: 100%;
    transition: transform 0.3s ease; object-fit: cover;
}

.gallery-item:hover .gallery-thumbnail img {
    transform: scale(1.05);
}

.gallery-info {
    padding: 16px;
}

.gallery-title {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
	margin-bottom: 8px;
	color: #333; font-size: 16px; font-weight: 600;
    line-height: 1.4;
    overflow: hidden;
}

.gallery-title:hover {
    color: #007bff;
}

.gallery-content {
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
	margin-bottom: 12px;
	color: #666; font-size: 14px;
    line-height: 1.5;
    overflow: hidden;
}

.gallery-meta {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 12px;
	border-top: 1px solid #eee;
	color: #999; font-size: 12px;
}

.gallery-author {
    color: #666; font-weight: 500;
}

.gallery-date {
    color: #999;
}

.gallery-stats {
    display: flex; gap: 8px; align-items: center;
}

.gallery-hit {
    display: flex; gap: 4px; align-items: center;
}

@media (max-width: 768px) {
    .gallery-container {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 15px;
        padding: 15px 0;
    }
    
    .gallery-thumbnail {
        height: 160px;
    }
    
    .gallery-info {
        padding: 12px;
    }
    
    .gallery-title {
        font-size: 14px;
    }
    
    .gallery-content {
        font-size: 12px; -webkit-line-clamp: 2;
    }
}

.gallery-empty {
    padding: 60px 20px;
    color: #666;
	text-align: center;
}

.gallery-empty i {
    margin-bottom: 16px;
	color: #ddd; font-size: 48px;
}