﻿.blog-container {
    max-width: 1100px;
    margin: 50px auto;
    padding: 0 20px;
}

/* HEADER */
.blog-header {
    text-align: center;
    margin-bottom: 50px;
}

.blog-title {
    font-size: 44px;
    font-weight: 800;
    color: #0f172a;
}

.blog-subtitle {
    margin-top: 12px;
    font-size: 18px;
    color: #475569;
}

/* GRID */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* CARD */
.blog-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #eef2f7;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
    transition: all .35s ease;
    display: flex;
    flex-direction: column;
}

    .blog-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 45px rgba(0,0,0,0.10);
    }

/* BODY */
.blog-card-body {
    padding: 28px;
}

/* TITLE */
.blog-heading {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
    color: #2563eb;
    margin-bottom: 12px;
}

.blog-link {
    text-decoration: none;
}

    .blog-link:hover .blog-heading {
        text-decoration: underline;
    }

/* DATE */
.blog-date {
    font-size: 13px;
    color: #64748b;
    display: block;
    margin-bottom: 14px;
}

/* EXCERPT */
.blog-excerpt {
    font-size: 16px;
    line-height: 1.7;
    color: #334155;
    margin-bottom: 22px;
}

/* CTA */
.read-btn {
    display: inline-block;
    padding: 10px 22px;
    background: linear-gradient(135deg,#4f46e5,#6366f1);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    border-radius: 999px;
    text-decoration: none;
    transition: all .25s ease;
}

    .read-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(79,70,229,0.35);
    }

/* MOBILE */
@media (max-width: 600px) {
    .blog-title {
        font-size: 34px;
    }

    .blog-subtitle {
        font-size: 16px;
    }
}
