h1 {
    color: #333;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
}
.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}
.post-card {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s;
}
.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.post-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #e9ecef;
}
.post-content {
    padding: 20px;
}
.post-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin: 0 0 10px 0;
    color: #333;
}
.post-title a {
    color: inherit;
    text-decoration: none;
}
.post-title a:hover {
    color: #007bff;
}
.post-meta {
    color: #666;
    font-size: 0.875rem;
    margin-bottom: 10px;
}
.post-excerpt {
    color: #555;
    margin-bottom: 15px;
}
.post-categories, .post-tags {
    margin-top: 10px;
}
.badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    margin-right: 5px;
    margin-bottom: 5px;
}
.badge-category {
    background: #007bff;
    color: white;
}
.badge-tag {
    background: #6c757d;
    color: white;
}
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}
.pagination a, .pagination span {
    padding: 8px 12px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    text-decoration: none;
    color: #007bff;
}
.pagination .active {
    background: #007bff;
    color: white;
}
.sidebar {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}
.sidebar h3 {
    margin-top: 0;
}
.sidebar ul {
    list-style: none;
    padding: 0;
}
.sidebar li {
    margin: 10px 0;
}
.sidebar a {
    color: #007bff;
    text-decoration: none;
}
.sidebar a:hover {
    text-decoration: underline;
}
