@import url("https://fonts.googleapis.com/css?family=Rubik:400,400i,500");
@import url("https://fonts.googleapis.com/css?family=Poppins:400,500,600");

/* Blog Hero */
.blog-hero {
    background: linear-gradient(135deg, #4b2cff, #00c6ff);
    padding: 80px 0 60px;
    text-align: center;
    color: #fff;
}

.blog-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
}

.blog-subtitle {
    font-size: 18px;
    opacity: 0.9;
}

/* Blog Wrapper */
.blog-wrapper {
    padding: 60px 0;
    background: #ffffff;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* Grid Layout */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Blog Card */
.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
}

/* Image */
.blog-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

/* Content */
.blog-content {
    padding: 22px;
}

.blog-date {
    font-size: 13px;
    color: #888;
}

.blog-heading {
    font-size: 20px;
    margin: 10px 0;
    line-height: 1.4;
}

.blog-heading a {
    text-decoration: none;
    color: #0b2c5f;
    font-weight: 600;
}

.blog-heading a:hover {
    color: #4b2cff;
}

.blog-excerpt {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 15px;
}

/* Button */
.read-btn {
    display: inline-block;
    background: #4b2cff;
    color: #fff;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 14px;
    text-decoration: none;
    transition: 0.3s ease;
}

.read-btn:hover {
    background: #00c6ff;
}

/* Pagination */
.blog-pagination {
    margin-top: 40px;
    text-align: center;
}

/* Fix Footer Overlap Issue */
footer {
    position: relative;
    z-index: 1;
}

.blog-wrapper {
    min-height: 500px;
}

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

@media (max-width: 768px) {
    .blog-title {
        font-size: 30px;
    }

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

    .blog-image img {
        height: 200px;
    }
}
