﻿.blog-section {
    background: #f8fbff;
    min-height: 100vh;
}


/* =========================
   Blog Heading
========================= */

.blog-title {
    color: #123b5d;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 12px;
}

.blog-subtitle {
    color: #6c757d;
    font-size: 17px;
    max-width: 700px;
    margin: auto;
    line-height: 1.7;
}


/* =========================
   Blog Card
========================= */

.blog-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 8px 25px rgba(18, 59, 93, 0.10);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .blog-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 14px 35px rgba(18, 59, 93, 0.16);
    }


/* =========================
   Blog Image
========================= */

.blog-image {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.blog-card:hover .blog-image {
    transform: scale(1.04);
}


/* =========================
   No Image
========================= */

.blog-no-image {
    width: 100%;
    height: 230px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #eef5fb;
    color: #6c757d;
}

    .blog-no-image span {
        font-size: 48px;
        margin-bottom: 8px;
    }

    .blog-no-image p {
        margin: 0;
        font-size: 14px;
    }


/* =========================
   Blog Content
========================= */

.blog-content {
    padding: 25px;
}

.blog-category {
    display: inline-block;
    background: #e8f3fa;
    color: #123b5d;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.blog-content h3 {
    color: #123b5d;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
}

.blog-content p {
    color: #6c757d;
    line-height: 1.7;
    margin-bottom: 18px;
}


/* =========================
   Blog Meta
========================= */

.blog-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 14px;
    margin-bottom: 18px;
    border-top: 1px solid #edf1f5;
    color: #7a8793;
    font-size: 13px;
}

    .blog-meta span {
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

    .blog-meta i {
        color: #123b5d;
    }


/* =========================
   Read More
========================= */

.read-more {
    display: inline-flex;
    align-items: center;
    color: #123b5d;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease, transform 0.3s ease;
}

    .read-more:hover {
        color: #0d2c45;
        transform: translateX(4px);
    }


/* =========================
   Empty State
========================= */

.blog-empty-state {
    max-width: 650px;
    margin: 40px auto 0;
    padding: 55px 30px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(18, 59, 93, 0.08);
}

.blog-empty-icon {
    font-size: 55px;
    margin-bottom: 18px;
}

.blog-empty-state h3 {
    color: #123b5d;
    font-size: 25px;
    font-weight: 700;
    margin-bottom: 10px;
}

.blog-empty-state p {
    color: #6c757d;
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}


/* =========================
   Mobile
========================= */

@media (max-width: 768px) {

    .blog-title {
        font-size: 34px;
    }

    .blog-subtitle {
        font-size: 15px;
    }

    .blog-image,
    .blog-no-image {
        height: 220px;
    }

    .blog-content {
        padding: 20px;
    }

        .blog-content h3 {
            font-size: 20px;
        }

    .blog-meta {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* =========================
   Small Mobile
========================= */

@media (max-width: 480px) {

    .blog-title {
        font-size: 30px;
    }

    .blog-image,
    .blog-no-image {
        height: 210px;
    }

    .blog-content {
        padding: 18px;
    }
}
