body.single-post .widget-area,
body.blog-page .widget-area,
body.archive .widget-area {
    display: flex;
    flex-direction: column;
    font-family: var(--font-noto-sans), "Noto Sans", sans-serif;
}

body.single-post .widget-area > *,
body.blog-page .widget-area > *,
body.archive .widget-area > * {
    order: 40;
}

body.single-post .widget-area > .widget_search,
body.single-post .widget-area > .wp-block-search,
body.single-post .widget-area > .widget_block:has(.wp-block-search),
body.single-post .widget-area > .widget:has(.wp-block-search),
body.blog-page .widget-area > .widget_search,
body.blog-page .widget-area > .wp-block-search,
body.blog-page .widget-area > .widget_block:has(.wp-block-search),
body.blog-page .widget-area > .widget:has(.wp-block-search),
body.archive .widget-area > .widget_search,
body.archive .widget-area > .wp-block-search,
body.archive .widget-area > .widget_block:has(.wp-block-search),
body.archive .widget-area > .widget:has(.wp-block-search) {
    order: 10;
}

body.single-post .widget-area > .menq-post-categories,
body.blog-page .widget-area > .menq-post-categories,
body.archive .widget-area > .menq-post-categories {
    order: 20;
}

body.single-post .widget-area > .widget_recent_entries,
body.single-post .widget-area > [id*="listpost"],
body.single-post .widget-area > .widget_block:has(.wp-block-latest-posts),
body.blog-page .widget-area > .widget_recent_entries,
body.blog-page .widget-area > [id*="listpost"],
body.blog-page .widget-area > .widget_block:has(.wp-block-latest-posts),
body.archive .widget-area > .widget_recent_entries,
body.archive .widget-area > [id*="listpost"],
body.archive .widget-area > .widget_block:has(.wp-block-latest-posts) {
    order: 30;
}

body.single-post .widget-area .widget:not(:last-child),
body.blog-page .widget-area .widget:not(:last-child),
body.archive .widget-area .widget:not(:last-child) {
    margin-bottom: 3rem;
}

body.single-post .widget-area .widget-title,
body.single-post .widget-area .widgettitle,
body.single-post .widget-area .wp-block-heading,
body.blog-page .widget-area .widget-title,
body.blog-page .widget-area .widgettitle,
body.blog-page .widget-area .wp-block-heading,
body.archive .widget-area .widget-title,
body.archive .widget-area .widgettitle,
body.archive .widget-area .wp-block-heading {
    font-family: var(--font-playfair), "Playfair Display", serif;
    font-weight: 700;
}

body.single-post .widget-area a,
body.single-post .widget-area input,
body.blog-page .widget-area a,
body.blog-page .widget-area input,
body.archive .widget-area a,
body.archive .widget-area input {
    font-family: var(--font-noto-sans), "Noto Sans", sans-serif;
}

body.single-post .menq-post-categories ul,
body.blog-page .menq-post-categories ul,
body.archive .menq-post-categories ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

body.single-post .menq-post-categories li,
body.blog-page .menq-post-categories li,
body.archive .menq-post-categories li {
    margin: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

body.single-post .menq-post-categories li:last-child,
body.blog-page .menq-post-categories li:last-child,
body.archive .menq-post-categories li:last-child {
    border-bottom: 0;
}

body.single-post .menq-post-categories a,
body.blog-page .menq-post-categories a,
body.archive .menq-post-categories a {
    display: block;
    padding: 0.625rem 0;
    color: var(--ninth-color);
    font-size: 0.875rem;
    line-height: 1.5;
    text-decoration: none;
}

body.single-post .menq-post-categories a:hover,
body.single-post .menq-post-categories .current-cat > a,
body.blog-page .menq-post-categories a:hover,
body.blog-page .menq-post-categories .current-cat > a,
body.archive .menq-post-categories a:hover,
body.archive .menq-post-categories .current-cat > a {
    color: var(--third-color);
}

body.single-post .menq-post-categories .children,
body.blog-page .menq-post-categories .children,
body.archive .menq-post-categories .children {
    padding-left: 1rem;
}

body.single-post .widget-area .widget_recent_entries li,
body.single-post .widget-area .wp-block-latest-posts li,
body.single-post .widget-area .widget-latest-post .item-wg-post,
body.blog-page .widget-area .widget_recent_entries li,
body.blog-page .widget-area .wp-block-latest-posts li,
body.blog-page .widget-area .widget-latest-post .item-wg-post,
body.archive .widget-area .widget_recent_entries li,
body.archive .widget-area .wp-block-latest-posts li,
body.archive .widget-area .widget-latest-post .item-wg-post {
    margin: 0;
    padding: 0.625rem 0;
    border-top: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

body.single-post .widget-area .widget_recent_entries li:first-child,
body.single-post .widget-area .wp-block-latest-posts li:first-child,
body.single-post .widget-area .widget-latest-post .item-wg-post:first-child,
body.blog-page .widget-area .widget_recent_entries li:first-child,
body.blog-page .widget-area .wp-block-latest-posts li:first-child,
body.blog-page .widget-area .widget-latest-post .item-wg-post:first-child,
body.archive .widget-area .widget_recent_entries li:first-child,
body.archive .widget-area .wp-block-latest-posts li:first-child,
body.archive .widget-area .widget-latest-post .item-wg-post:first-child {
    padding-top: 0;
}

body.single-post .widget-area .widget_recent_entries li:last-child,
body.single-post .widget-area .wp-block-latest-posts li:last-child,
body.single-post .widget-area .widget-latest-post .item-wg-post:last-child,
body.blog-page .widget-area .widget_recent_entries li:last-child,
body.blog-page .widget-area .wp-block-latest-posts li:last-child,
body.blog-page .widget-area .widget-latest-post .item-wg-post:last-child,
body.archive .widget-area .widget_recent_entries li:last-child,
body.archive .widget-area .wp-block-latest-posts li:last-child,
body.archive .widget-area .widget-latest-post .item-wg-post:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}
