.wp-block-post {
    svg {
        display: none;
        height: 15px;
        width: 15px;
    }
}

.wp-block-post-meta>div {
    flex: unset;
}

.wp-block-post-meta {

    .taxonomy-category a {
        position: relative;

        &:not(:last-child) {
            margin-right: 10px;
        }

        &:is(:hover, :focus) {
            text-decoration: none;
            color: var(--wp--preset--color--link-color);

            &:after {
                display: none
            }
        }
    }

}

.wp-block-post-template {
    .wp-block-post {
        .wp-block-columns {
            gap: 0;

            &:has(.wp-block-post-featured-image) {
                gap: var(--wp--preset--spacing--42);
            }
        }
    }
}


.wp-block-post-template {
    .wp-block-column:empty {
        display: none;
    }
}

.wp-block-tag-cloud.is-style-outline a {
    border: none;
    padding: 5px 10px;
    font-size: var(--wp--preset--font-size--small) !important;

    &:is(:hover, :focus) {
        color: var(--wp--preset--color--light);
    }
}

.wp-block-latest-posts {
    li {
        &:not(:last-child) {
            margin-bottom: 10px;
        }
    }
}

.wp-block-categories-list .cat-item,
.wp-block-archives-list li {
    text-align: right;
    list-style: none;

    &:not(:last-child) {
        margin-bottom: 10px;
    }

    a {
        float: left;
    }
}


// COMMENT SECTION

.comment-reply-title {
    margin-block-start: 0;
}

.wp-block-post-terms {


    a {
        border: 1px solid var(--wp--preset--color--link-color);
        color: var(--wp--preset--color--link-color);
        text-transform: uppercase;
        font-size: 12px;
        letter-spacing: 1.2px;
        padding: 5px 9px;
        display: inline-block;
        margin-top: 7px;


        &:is(:hover, :focus) {
            background-color: transparent;
            color: var(--wp--preset--color--title) !important;
            border-color: var(--wp--preset--color--body-text);
            text-decoration: none;
            opacity: 1;
        }
    }


    a:not(:last-child) {
        margin-right: 3px;
    }
}

.sidebar .widget:first-child {
    padding-top: 0;
}

.featured-content.featured-content-three-col .wp-block-post-template .wp-block-post:last-child .wp-block-post-featured-image,
.featured-content.featured-content-three-col .wp-block-post-template .wp-block-post .wp-block-post-featured-image {
    padding-bottom: 75%;
}

.featured-content.featured-content-three-col .wp-block-post-template .wp-block-post:last-child .wp-block-post-excerpt {
    display: none;
}



.featured-content {
    .wp-block-post-template {

        .wp-block-post {

            .wp-block-post-title {
                margin: 0
            }

            .wp-block-post-featured-image {
                padding-bottom: 132%;
                overflow: hidden;
                float: none;

                a:hover,
                a:focus {
                    opacity: 1;
                }

                .wp-post-image {
                    min-height: 100%;
                    min-width: 100%;
                    object-fit: cover;
                    position: absolute;
                    top: 0;
                    left: 0;
                    right: 0;
                    bottom: 0;
                }

            }

            .wp-block-post-excerpt {
                position: relative;
                padding-top: 35px;
                display: none;

                &::before {
                    position: absolute;
                    left: 50%;
                    top: 7px;
                    transform: translateX(-50%);
                    width: 32px;
                    height: 2px;
                    content: '';
                    background-color: var(--wp--preset--color--link-color);
                }
            }

            &:nth-child(even) {
                background-color: var(--wp--preset--color--secondary);
            }

            &:last-child {

                &>.wp-block-group {
                    background-color: var(--wp--preset--color--dark);
                    color: var(--wp--preset--color--light);

                    .wp-block-post-date a,
                    .wp-block-post-author {
                        color: var(--wp--preset--color--light) !important;
                    }


                    .post-content {
                        padding-top: var(--wp--preset--spacing--91) !important;
                        padding-bottom: var(--wp--preset--spacing--91) !important;
                        padding-inline: var(--wp--preset--spacing--65) !important;
                        display: flex;
                        align-items: center;
                        flex-wrap: wrap;
                        align-self: center;
                        max-width: 800px;
                        margin-inline: auto;

                        >* {
                            width: 100%;
                        }

                    }

                    .wp-block-post-title a {
                        color: var(--wp--preset--color--light) !important;

                        &:hover,
                        &:focus {
                            color: var(--wp--preset--color--link-color) !important;
                        }
                    }
                }

                .wp-block-post-featured-image {
                    padding-bottom: 75%;

                }

                .wp-block-post-excerpt {
                    display: block;
                }
            }
        }
    }
}

.featured-content .wp-block-post-template .wp-block-post:last-child>.wp-block-group .wp-block-post-author a {
    color: var(--wp--preset--color--light) !important;
}

.featured-content .wp-block-post-template .wp-block-post:not(.has-post-thumbnail):last-child>.wp-block-group {
    display: block !important;

}

.featured-content.featured-content-three-col .wp-block-post-template .wp-block-post:last-child>.wp-block-group .post-content {
    padding-top: var(--wp--preset--spacing--56) !important;
    padding-bottom: var(--wp--preset--spacing--56) !important;

    .wp-block-post-date a,
    .wp-block-post-author {
        color: var(--wp--preset--color--light) !important;
    }
}

.featured-content .wp-block-post-template .wp-block-post:not(.has-post-thumbnail) .wp-block-post-featured-image {
    padding: 0;
}

.featured-content .wp-block-post-template .wp-block-post:not(.has-post-thumbnail) .wp-block-post-featured-image a {
    height: 0;
}

.blog-section li.wp-block-post.components-disabled {
    display: block !important;
}