/* ============ Blog Section ============ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

.blog-section {
    padding: 90px 0;
    font-family: 'Inter', sans-serif;
}

.blog-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Blog Cards Wrapper */
.blog-cards-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 26px;
    justify-content: flex-start;
    max-width: 1200px;
    margin: 70px auto 0;
}

/* Blog Card */
.blog-card {
    background: #FFFFFF;
    border-radius: 25px;
    max-width: 371px;
    width: 100%;
    border: 1px solid #F3F7FE;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0px -2px 24.5px 0px #B7B7B740;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.12);
    -webkit-transform: translateY(-4px);
    -moz-transform: translateY(-4px);
    -ms-transform: translateY(-4px);
    -o-transform: translateY(-4px);
}

/* Blog Card Header */
.blog-card-header { 
    padding: 30px 15px 20px;
    color: white;
    min-height: 196px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.blog-card:nth-child(odd) .blog-card-header{
    background: linear-gradient(115.33deg, #EFF6FF 32.81%, #DBEAFE 100%);
}
.blog-card:nth-child(odd) .blog-card-header .blog-header-content{
        border-bottom: 1px solid #cce1fe;
}
.blog-card:nth-child(even) .blog-card-header{
    background: linear-gradient(115.33deg, #F9F4FF 25.87%, #D5DCFF 100%);
}
.blog-card:nth-child(even) .blog-card-header .blog-header-content{
    border-bottom: 1px solid #d9d8ef;
}
.blog-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 26px;
    padding-bottom: 22px;
    border-bottom: 1px solid #3184C8;
}

/* Category Badge */
.blog-category-badge {
    background: white;
    padding: 10px 15px;
    border-radius: 100rem;
    font-weight: 500;
    font-size: 13px;
    line-height: 100%;
    letter-spacing: 0%;
    text-transform: uppercase;
    color: #231F20;
    font-family: 'Inter', sans-serif;
}

/* Read Time */
.blog-read-time {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    font-size: 13px;
    color: #58646e;
    font-family: 'Inter', sans-serif;
}
/* .blog-read-time svg{
    fill: #231F20;
} */
/* Icon and Title */
.blog-icon-title {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.blog-emoji {
    font-size: 44px;
    line-height: 100%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.blog-title {
    font-weight: 600;
    font-size: 16px;
    line-height: 150%;
    color: #231F20;
    margin: 0;
    min-height: 72px;
    flex: 1 1;
    font-family: 'Inter', sans-serif;
}

/* Blog Card Body */
.blog-card-body {
    padding: 20px 15px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.blog-description {
    font-family: 'Inter', sans-serif;
    font-weight: 450;
    font-size: 15px;
    line-height: 160%;
    letter-spacing: 0%;
    color: #56606C;
    margin: 0 0 25px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Read More Link */
.blog-read-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    max-width: 190px;
    width: 100%;
    margin: 0 auto;
    height: 41px;
    margin-top: 20px;
    /* background: white; */
    border: 1px solid #2755de;
    border-radius: 8px;
    font-weight: 500;
    font-size: 15px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #2755de;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    font-family: 'Inter', sans-serif;

}

.blog-read-more::after {
    content: '';
    position: relative;
    width: 17px;
    display: inline-block;
    height: 17px;
    background-image: url("data:image/svg+xml,%3Csvg width='17' height='17' viewBox='0 0 17 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.83203 9.5H14.1654M14.1654 9.5L9.91536 5.25M14.1654 9.5L9.91536 13.75' stroke='%230654E6' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transition: transform 0.3s ease;
}

.blog-read-more:hover {
    color: #0543C1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.blog-read-more:hover::after {
    background-image: url("data:image/svg+xml,%3Csvg width='17' height='17' viewBox='0 0 17 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.83203 9.5H14.1654M14.1654 9.5L9.91536 5.25M14.1654 9.5L9.91536 13.75' stroke='%230543C1' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    transform: translateX(4px);
}

/* CTA Wrapper */
.blog-cta-wrapper {
    text-align: center;
    margin-top: 60px;
}

.blog-view-all-btn {
    display: inline-block;
    padding: 16px 32px;
    background: #0654E6;
    border-radius: 12px;
    font-weight: 500;
    font-size: 15px;
    line-height: 100%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0px 4px 16px rgba(6, 84, 230, 0.3);
}

.blog-view-all-btn:hover {
    background: #0543C1;
    transform: translateY(-2px);
    box-shadow: 0px 6px 20px rgba(6, 84, 230, 0.4);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .blog-cards-wrapper {
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .blog-section {
        padding: 60px 20px;
    }

    .blog-cards-wrapper {
        margin-top: 50px;
        gap: 20px;
    }

    .blog-card {
                max-width: 90%;
        margin: 0 auto;
    }

    .blog-card-header {
        padding: 18px 20px 20px;
    }

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

    .blog-description {
        font-size: 14px;
    }
}

@media (max-width: 575px) {
    .blog-section {
        padding: 40px 16px;
    }

    .blog-cards-wrapper {
        margin-top: 40px;
    }

    .blog-card-header {
        padding: 16px 18px 25px;
        min-height: unset;
    }

    .blog-emoji {
        font-size: 36px;
        width: 36px;
        height: 38px;
    }

    .blog-title {
        font-size: 15px;
    }

    .blog-card-body {
        padding: 20px;
    }

    .blog-description {
        font-size: 13px;
        margin-bottom: 16px;
    }

    .blog-cta-wrapper {
        margin-top: 40px;
    }

    .blog-view-all-btn {
        padding: 14px 28px;
        font-size: 14px;
    }

    .blog-read-more {
        height: 39px;
        font-size: 14px;
    }
}
/* ============ End Blog Section ============ */
