/* Blog Hero Section */
.blog-page-hero {
    background: 0;
    color: #6a0dad;
    padding: 5rem 0;
    text-align: center;
    padding-bottom: 0px;
    padding-top:120px;
}

.blog-page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.blog-page-hero p {
    font-size: 1.1rem;
    color: #6c757d;
}

/* Blog Grid Section */
.blog-grid-container {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 1rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--dark);
    position: relative;
    display: inline-block;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--purple);
}

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

.blog-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.blog-card-img {
    height: 200px;
    overflow: hidden;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.05);
}

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

.blog-card-meta {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.blog-card-meta span {
    margin-right: 1rem;
}

.blog-card-meta i {
    margin-right: 0.3rem;
}

.blog-card-title {
    font-size: 1.3rem;
    margin: 0.5rem 0 1rem;
    color: var(--dark);
}

.blog-card-excerpt {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.read-more {
    color: var(--purple);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.read-more i {
    margin-left: 0.3rem;
    transition: transform 0.3s;
}

.read-more:hover i {
    transform: translateX(3px);
}

/* Responsive */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .blog-page-hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .blog-page-hero {
        padding-top: 6rem;
        padding-bottom: 1rem;
    }

    .blog-page-hero h1 {
        font-size: 2rem;
    }

    .blog-page-hero p {
        font-size: 1rem;
    }

    .blog-card-img {
        height: 180px;
    }

    .blog-card-title {
        font-size: 1.2rem;
    }

    .blog-card-excerpt {
        font-size: 0.9rem;
    }
}