.blog-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 12px;
    overflow: hidden;
}

.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1) !important;
}

.blog-card-img {
    height: 200px;
    object-fit: cover;
}

.blog-card-img-placeholder {
    height: 200px;
    background: var(--bs-light);
}

.blog-hero {
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 0;
}

.blog-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.15));
}

.blog-meta {
    font-size: 0.85rem;
}

.blog-content {
    font-size: 1.05rem;
    line-height: 1.8;
}

.blog-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.blog-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

.blog-content blockquote {
    border-left: 4px solid var(--bs-primary);
    padding: 0.75rem 1.25rem;
    margin: 1.25rem 0;
    background: var(--bs-light);
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

.blog-content pre {
    background: #1e293b;
    color: #e2e8f0;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    overflow-x: auto;
    font-size: 0.9rem;
}

.blog-content code {
    font-size: 0.9em;
}

.blog-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.blog-content table th,
.blog-content table td {
    border: 1px solid var(--bs-border-color);
    padding: 0.5rem 0.75rem;
    text-align: left;
}

.blog-content table th {
    background: var(--bs-light);
    font-weight: 600;
}
