.blogs-background {
    background-color: white;
    padding: 3rem 0 4rem 0;

    .row {
        @media (max-width: 768px) {
            gap: 20px;
        }
    }

    .section-title {
        padding: 0;
        margin-top: 0;
        margin-bottom: 2.5rem;
        font-size: 2rem;
        font-weight: bold;
    }

    .blog-container {
        padding: 0;
    }

    .blog-post-card {
        background: white;
        border-radius: 1.5rem;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        height: 100%;
        display: flex;
        flex-direction: column;
        margin-bottom: 2rem;

        &:hover {
            transform: translateY(-8px);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
            .blog-post-image {
                transform: scale(1.05);
            }
            .blog-post-read-more {
                transform: translateX(4px);
            }
        }

        .blog-post-link {
            display: flex;
            flex-direction: column;
            height: 100%;
            text-decoration: none;
            color: inherit;
            &:hover {
                text-decoration: none;
                color: inherit;
            }
        }


        .blog-post-image-wrapper {
            width: 100%;
            padding-bottom: 60%;
            position: relative;
            overflow: hidden;
            background-color: #f8f8fc;

            .blog-post-image {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                object-fit: cover;
                transition: transform 0.3s ease;
            }
        }


        .blog-post-content {
            padding: 1.5rem;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }

        .blog-post-title {
            font-size: 1.25rem;
            font-weight: bold;
            margin-bottom: 0.75rem;
            color: #000;
            line-height: 1.4;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .blog-post-excerpt {
            font-size: 0.9375rem;
            color: #666;
            line-height: 1.6;
            margin-bottom: 1rem;
            flex-grow: 1;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .blog-post-read-more {
            font-size: 0.875rem;
            font-weight: 600;
            color: #9921dd;
            display: inline-block;
            margin-top: auto;
            transition: transform 0.2s ease;
        }
    }


    .blog-posts-link-more {
        display: inline-block;
        margin-top: 2rem;
        font-size: 1rem;
        font-weight: 600;
        color: #9921dd;
        text-decoration: none;
        transition: all 0.2s ease;
        padding: 0.5rem 0;

        &:hover {
            color: #7a1ab0;
            text-decoration: none;
            .blog-posts-arrow {
                transform: translateX(4px);
            }
        }

        .blog-posts-arrow {
            display: inline-block;
            margin-left: 0.5rem;
            transition: transform 0.2s ease;
        }
    }

    @media (max-width: 539px) {
        padding: 2rem 0 3rem 0;

        .section-title {
            font-size: 1.5rem;
            margin-bottom: 1.5rem;
        }

        .blog-post-card {
            margin-bottom: 1.5rem;

            .blog-post-content {
                padding: 1.25rem;
            }

            .blog-post-title {
                font-size: 1.125rem;
            }

            .blog-post-excerpt {
                font-size: 0.875rem;
                -webkit-line-clamp: 2;
            }
        }
    }
}

