.blogs-section {
    margin-top:60px;
    position: relative;

    .blogs-shape {
        position: absolute;
        left: -100px;
        top: 0;
        width: 250px;
        height: 250px;
    }
}

/* Blogs Slider */
.blogs-slider {
    position: relative;
        padding-bottom: 16px;
    margin: 0 -12px;
    overflow: hidden;
    

    .blogs-swiper {
        padding: 8px;
        overflow: hidden;
        height: fit-content !important;

        .swiper-slide {
            height: auto;
            width: 280px !important;
        }

        .swiper-wrapper {
            align-items: stretch;
        }
    }
}



/* Blog Card */
.blog-card {
    width: 100%;
    background: white;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    padding: 12px;
    box-shadow: 4px 4px 40px 0 rgb(62 94 192 / 10%);
    padding-bottom: 0;
    border-radius: 0.75rem;
    cursor: pointer;
    margin: 0 12px;

    .blog-image {
        width: 100%;
        height: 170px;
        object-fit: cover;
        border-radius: 0.375rem;
    }

    .blog-content {
        padding: 8px 0;
        border-bottom: 1px solid #EEEEEE;

        p {
            font-size: 14px;
            line-height: 1.5;
        }

        .blog-title {
            font-weight: 500;
            line-height: 1.5;
            margin-bottom: 8px;
            color: #3E5EC0;
            font-size: 16px;
            height: 48px;
            overflow: hidden;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
        }
    }

    .blog-footer {
        padding-block: 16px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: white;
        border-top: 1px solid #eee;

        .flex {
            display: flex;
            align-items: center;
            gap: 16px;
        }

        p {
            color: #1a1a1a;
            font-size: 14px;
        }

        .arrow-link {
            width: 40px;
            height: 40px;
            border-radius: 10px;
            background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
            color: #667eea;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            position: relative;
            overflow: hidden;
            border: 2px solid transparent;

            svg {
                rotate: -45deg;
                transition: 0.5s ease-in-out;
            }
        }

        .text-xs {
            font-size: 12px;
            display: flex;
            align-items: center;
            gap: 4px;
        }

    }

    &:hover {
        box-shadow: 4px 4px 20px 0 rgb(62 94 192 / 27%);
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .blogs-swiper .swiper-slide {
        width: 260px !important;
    }

    .blog-card {
        .blog-content {
            p {
                font-size: 12px;
            }

            .blog-title {
                font-size: 14px;
                height: 42px;
            }
        }

        .blog-image {
            height: 150px;
        }

    }

}

@media (max-width: 480px) {
    .blogs-swiper .swiper-slide {
        width: calc(100vw - 80px) !important;
    }

    .blogs-slider {
        margin: 0 -8px;
    }

    .blog-card {
        margin: 0 8px;

        .blog-image {
            height: 140px;
        }
    }
}