.blog-page {
    padding: 40px 0 70px;
    background: linear-gradient(180deg, #f8fbff 0%, #eef3f9 100%);
}

.blog-hero {
    margin-bottom: 30px;
}

.blog-hero h1 {
    font-size: 42px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}

.blog-hero p {
    color: #475569;
    font-size: 16px;
}

.blog-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 28px;
    align-items: start;
}

.blog-sidebar .sidebar-card {
    background: #fff;
    border-radius: 18px;
    padding: 22px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    margin-bottom: 18px;
}

.sidebar-title {
    font-size: 20px;
    font-weight: 700;
    color: #b91c1c;
    margin-bottom: 14px;
}

.blog-categories,
.popular-post {
    margin: 0;
    padding: 0;
}

.blog-categories li {
    list-style: none;
    margin-bottom: 10px;
}

.blog-categories a,
.popular-post a {
    color: #111827;
    text-decoration: none;
    font-weight: 500;
}

.blog-categories a:hover,
.popular-post a:hover {
    color: #b91c1c;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.blog-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.blog-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.blog-card-body {
    padding: 20px;
}

.blog-meta {
    display: flex;
    gap: 12px;
    font-size: 13px;
    color: #64748b;
    margin-bottom: 10px;
}

.blog-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.blog-card h3 a {
    color: #0f172a;
    text-decoration: none;
}

.blog-card p {
    color: #475569;
    margin-bottom: 14px;
}

.read-more {
    color: #b91c1c;
    font-weight: 700;
    text-decoration: none;
}

.read-more:hover {
    text-decoration: underline;
}

.blog-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 28px;
    align-items: start;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (max-width: 991px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        order: 1;
    }

    .blog-main {
        order: 2;
    }
}


@media (max-width: 576px) {
    .blog-page {
        padding: 24px 0 50px;
    }

    .blog-hero h1 {
        font-size: 30px;
        line-height: 1.2;
    }

    .blog-hero p {
        font-size: 15px;
    }

    .blog-card-body {
        padding: 16px;
    }

    .blog-card h3 {
        font-size: 18px;
        line-height: 1.4;
    }

    .blog-image img {
        height: 200px;
    }

    .sidebar-card {
        padding: 18px;
    }
}