/* blog.css */
.blog-header {
    background: #ffffff;
    padding: 60px 0 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid #e5e7eb;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

@media (max-width: 480px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.blog-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #f3f4f6;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.blog-card__image {
    width: 100%;
    height: auto !important;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #f3f4f6;
    display: block;
}

.blog-card__content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card__meta {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-card__title {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 12px;
    color: #111827;
}

.blog-card__title a {
    color: inherit;
    text-decoration: none;
}

.blog-card__excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #4b5563;
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-card__link {
    font-size: 14px;
    font-weight: 700;
    color: #6366f1;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.blog-card__link:hover {
    color: #4f46e5;
}

/* Single Post Styles */
.post-container {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
}

.post-header {
    text-align: center;
    margin-bottom: 40px;
}

.post-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 900;
    color: #111827;
    margin-bottom: 20px;
    line-height: 1.1;
}

.post-meta {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

.post-thumbnail {
    width: 100%;
    border-radius: 16px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.post-content {
    font-size: 18px;
    line-height: 1.8;
    color: #374151;
}

.post-content p {
    margin-bottom: 24px;
}

.post-content h2,
.post-content h3 {
    color: #111827;
    margin: 40px 0 20px;
    font-weight: 800;
}