:root {
    --accent: #E6D4E6;
    --accent-hover: #A678A6;
    --bg-color: #0a0f1c;
    --card-bg: #111827;
}

.blog-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 120px 20px 60px;
}

.blog-header {
    text-align: center;
    margin-bottom: 4rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
}

/* Hashnode Post Card Styling */
.blog-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    display: block;
    transition: transform 0.3s ease, border-color 0.3s ease;
    border: 1px solid rgba(255,255,255,0.05);
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
}

.blog-card img.cover {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.blog-card .content {
    padding: 1.5rem;
}

h1 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.blog-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    line-height: 1.4;
}

.blog-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.blog-card small {
    color: var(--accent);
    font-family: monospace;
    text-transform: uppercase;
}

.loader {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
    font-family: monospace;
}