.the-three-column-block {
    padding: 20px;
    font-family: 'Source Sans Pro', sans-serif;

    .the-three-column-wrapper {
        position: relative;
    }

    .the-three-column-side-posts {
        display: flex;
        gap: 19px;
        flex-wrap: wrap;
        justify-content: space-between;
    }


    .the-three-column-main-post {
        display: flex;
        flex-direction: column;
        background-color: var(--wp--preset--color--white);
        padding: 5px;
        border-radius: 5px;
        flex-basis: calc(33.33% - 19px);
        position: relative;
        .the-three-column-image {
            width: 100%;
            .the-three-column-main-post-thumbnail {
                width: 100%;
                height: 100%;
                aspect-ratio: 330/191;
                object-fit: cover;
                border-radius: 0;
            }
        }
        .text-column {
            padding: 20px;
            position: relative;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            height: 100%;
        }
        .the-three-column-read-link {
            color: #1C2B39;
            text-decoration: none;
            transition: color 0.3s;
            font-size: 16px;
            line-height: 18px;
            display: flex;
            gap: 10px;
            font-family: 'Poppins', sans-serif;
            font-weight: 400;
            position: absolute;
            bottom: 16px;
            right: 21px;

            svg {
                margin-top: 4px;
                path {
                    fill: #e2076e;
                }
            }

            @media (hover: hover) and (pointer: fine) {
                &:hover {
                    text-decoration: underline;
                }
            }
        }
    }

    .the-three-column-side-post {
        padding-top: 1rem;
        padding-bottom: 1rem;
        margin-bottom: 25px;
    }

    .the-three-column-meta {
        font-size: 14px;
        color: rgb(28, 43, 57, 0.8);
        margin-bottom: 0.5rem;
        gap: 15px;
        display: flex;

        small {
            align-content: center;
            font-size: 14px;
            line-height: 18px;
            font-weight: 400;

        }
    }

    .the-three-column-post-title {
        font-size: 24px;
        line-height: 32px;
        font-weight: bold;
        margin: 0 0 0.75rem 0;
        color: #1C2B39;

        @media (hover: hover) and (pointer: fine) {
            a:hover {
                color: var(--wp--preset--color--orange);
                text-decoration: underline;
            }
        }
    }

    .the-three-column-author {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin-bottom: 0.75rem;
        font-size: 14px;
        line-height: 20px;
        font-weight: 400;

        span,
        a {
            color: #313895;
            text-decoration: underline;
        }
        .avatar-placeholder {
            width: 38px;
            height: 38px;

            .no-ava-image, img {
                border-radius: 50%;
                width: 100%;
                height: 100%;
            }
        }
    }

    .the-three-column-author-avatar {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        object-fit: cover;
    }

    .the-three-column-excerpt {
        font-size: 16px;
        color: #000;
        margin-bottom: 1rem;
        line-height: 24px;
        padding-right: 20px;
    }

    .the-three-column-section-title {
        text-align: center;
        margin-top: 3rem;
        font-family: 'Poppins', sans-serif;

        h2 {
            font-size: 40px;
            color: #1C2B39;
            font-weight: bold;
            line-height: 64px;
        }
    }

    .label {
        background-color: #d3d3d3;
        padding: 2px 15px;
        border-radius: 100px;
        text-transform: uppercase;
        font-size: 14px;
        color: #1C2B39;
        line-height: 18px;

        &.label-video,
        &.label-videos {
            background-color: rgba(198, 227, 245, 1);
        }

        &.label-our-work-case-studies,
        &.label-our-works-case-studies,
        &.label-our-works {
            background-color: rgba(232, 204, 164, 1);
        }

        &.label-ebooks {
            background-color: rgba(243, 225, 237, 1);
        }

        &.label-article,
        &.label-articles {
            background-color: rgba(249, 208, 188, 1);
        }

        &.label-brochures {
            background-color: rgba(240, 165, 206, 1);
        }
        &.label-news {
            background-color: rgba(205, 240, 123, 1);
        }
    }

     @media (max-width: 991px) {

        .the-three-column-side-posts {
            width: 100%;
            .the-three-column-main-post {
                flex-basis: calc(50% - 19px);
            }
        }
    }

    @media (max-width: 768px) {
        .the-three-column-wrapper {
            grid-template-columns: 1fr;
            gap: 2rem;
        }

        .the-three-column-side-posts {
            width: 100%;
            .the-three-column-main-post {
                flex-basis: 100%;
            }
        }

        .the-three-column-section-title h2 {
            font-size: 24px;
            line-height: 32px;
        }

        .the-three-column-image {
            height: 187px;
        }

        .the-three-column-post-title {
            font-size: 20px;
        }

        .the-three-column-author {
            display: none;
        }
    }
}
