/* --- Latest Posts
-------------------------------------------------------- */

.wp-block-latest-posts {
    .wp-block-query {
        .wp-block-post-featured-image {
            margin-bottom: var(--wp--custom--spacing--testimonial-inner-gap);
        }

        .wp-block-post-date svg {
            display: none;
        }

        .wp-block-post-date+.wp-block-post-title {
            font-size: var(--wp--preset--font-size--content-heading);
            font-weight: var(--wp--custom--typography--font-weight--regular);
            margin-top: 14px;
        }

        .wp-block-read-more {
            position: relative;
            text-transform: uppercase;
            text-decoration: none;
            cursor: pointer;
            font-size: var(--wp--preset--font-size--small);
            font-weight: var(--wp--custom--typography--font-weight--bold);
            line-height: var(--wp--custom--typography--line-height--paragraph);
            padding: 0 0 2px;
            display: flex;
            align-items: center;
            margin-block-start: 1.5rem;
            background-color: transparent;
            color: var(--wp--preset--color--foreground);

            &::before {
                position: absolute;
                left: 0;
                top: 100%;
                width: 100%;
                height: 2px;
                content: '';
                background-color: var(--wp--preset--color--foreground);
                transition: all 0.4s;
            }

            &:hover::before {
                width: 30px;
            }
        }
    }
}