/* Blog Index Page Styles */
.blog-page {
    background-color: #fff;
}

.blog-hero {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4c1d95 100%);
    color: white;
    padding: 4rem 0;
}

.blog-container {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.hero-subtitle {
    font-size: 1.125rem;
    text-align: center;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

.blog-content {
    padding: 3rem 0 4rem;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    background: white;
    border: 1px solid #d1d7dc;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s;
    display: block;
    text-decoration: none;
    cursor: pointer;
}

.blog-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.blog-image-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: linear-gradient(135deg, #5f259f 0%, #8e44ad 100%);
    overflow: hidden;
}

.blog-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-placeholder i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.3);
}

.blog-category-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: #5624d0;
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 10;
}

.blog-content-wrapper {
    padding: 1.25rem;
}

.blog-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1c1d1f;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
}

.blog-excerpt {
    font-size: 0.875rem;
    color: #6a6f73;
    margin-bottom: 1rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.625em;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #6a6f73;
    padding-top: 1rem;
    border-top: 1px solid #d1d7dc;
}

.blog-meta-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.blog-meta-item i {
    width: 14px;
    text-align: center;
}

.blog-read-more {
    color: #5624d0;
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-read-more:hover {
    color: #4119a3;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-icon {
    font-size: 4rem;
    color: #d1d7dc;
    margin-bottom: 1.5rem;
}

.empty-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1c1d1f;
    margin-bottom: 0.5rem;
}

.empty-text {
    font-size: 1rem;
    color: #6a6f73;
}

/* Pagination */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }
}