.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;
        background-color: var(--wp--preset--color--tertiary);
        padding: 5px 10px;
        border-radius: 12px;

        &: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 {
        list-style-type: none;



        &::marker {

            list-style-type: none;
        }

        a:hover,
        a:focus {
            color: var(--wp--preset--color--text-link);
        }
    }
}

.wp-block-categories-list .cat-item,
.wp-block-archives-list li {


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


}

nav.wp-block-query-pagination {
    margin-top: var(--wp--preset--spacing--42);

    a {
        text-decoration: none;
        color: var(--wp--preset--color--body-text);

    }

    .page-numbers {
        color: var(--wp--preset--color--body-text);
        background-color: var(--wp--preset--color--tertiary);
        height: 40px;
        min-width: 40px;
        border-radius: 6px;
        display: inline-block;
        padding: 0;
        display: inline-flex;
        justify-content: center;
        align-items: center;
    }
}

// COMMENT SECTION

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

.wp-block-post-terms {

    a {
        background-color: var(--wp--preset--color--tertiary);
        border: 1px solid var(--wp--preset--color--tertiary);
        padding: 5px 10px;
        color: var(--wp--preset--color--body-text);
        border-radius: 32px;
        display: inline-block;
        margin-top: 3px;
        margin-bottom: 3px;
        font-weight: normal;
        font-size: var(--wp--preset--font-size--tiny);

        &:is(:hover, :focus) {
            background-color: transparent;
            color: var(--wp--preset--color--text-link);
            border: 1px solid var(--wp--preset--color--text-link);
            text-decoration: none;
        }
    }


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

.wp-block-post-terms .wp-block-post-terms__separator {
    display: none;
}

.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;
}