﻿/*==========================================
    BLOG SECTION
==========================================*/

.blog-section {
    padding: 90px 0;
    background: #f8fbff;
}

    .blog-section .section-header {
        margin: 0 auto 60px;
        text-align: justify;
    }

    .blog-section .section-title {
        font-size: 44px;
        font-weight: 700;
        color: #111827;
        margin-bottom: 20px;
        line-height: 1.2;
    }

    .blog-section .section-header p {
        color: #6b7280;
        font-size: 17px;
        line-height: 1.9;
    }


/*==========================================
    BLOG GRID
==========================================*/

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 35px;
}


/*==========================================
    BLOG CARD
==========================================*/

.blog-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    overflow: hidden;
    transition: .35s ease;
    height: 100%;
}

    .blog-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 45px rgba(0,0,0,.08);
        border-color: #2563eb;
    }

    .blog-card a {
        display: block;
        text-decoration: none;
        color: inherit;
    }


/*==========================================
    IMAGE
==========================================*/

.blog-image {
    position: relative;
    overflow: hidden;
}

    .blog-image img {
        width: 100%;
        height: 260px;
        display: block;
        object-fit: cover;
        transition: .5s;
    }

.blog-card:hover .blog-image img {
    transform: scale(1.08);
}


/*==========================================
    CATEGORY
==========================================*/

.blog-category {
    position: absolute;
    top: 18px;
    left: 18px;
    background: #2563eb;
    color: #fff;
    padding: 7px 15px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    z-index: 2;
}


/*==========================================
    CONTENT
==========================================*/

.blog-content {
    padding: 28px;
}

.blog-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2563eb;
    font-size: 14px;
    font-weight: 600;
}

    .blog-date svg {
        width: 16px;
        height: 16px;
    }

.blog-content h3 {
    font-size: 24px;
    line-height: 1.4;
    margin: 18px 0 15px;
    color: #111827;
    transition: .3s;
}

.blog-card:hover h3 {
    color: #2563eb;
}

.blog-content p {
    color: #6b7280;
    line-height: 1.9;
    font-size: 16px;
    margin-bottom: 25px;
}


/*==========================================
    READ MORE
==========================================*/

.read-more {
    display: inline-flex;
    align-items: center;
    color: #2563eb;
    font-weight: 600;
    transition: .3s;
}

.blog-card:hover .read-more {
    transform: translateX(6px);
}


/*==========================================
    RESPONSIVE
==========================================*/

@@media(max-width:992px) {

    .blog-section {
        padding: 70px 0;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .blog-section .section-title {
        font-size: 36px;
    }
}

@@media(max-width:768px) {

    .blog-section {
        padding: 60px 0;
    }

        .blog-section .section-title {
            font-size: 30px;
        }

        .blog-section .section-header p {
            font-size: 16px;
        }

    .blog-image img {
        height: 220px;
    }

    .blog-content {
        padding: 22px;
    }

        .blog-content h3 {
            font-size: 22px;
        }
}

@@media(max-width:480px) {

    .blog-image img {
        height: 200px;
    }

    .blog-content {
        padding: 20px;
    }

        .blog-content h3 {
            font-size: 20px;
        }

        .blog-content p {
            font-size: 15px;
        }
}
