/* 公共桌面导航和文章列表间距，首页、分类及标签列表统一使用。 */
@media (min-width: 768px) {
    :root {
        --hg-pc-nav-top-h: 5rem;
        --hg-pc-nav-menu-h: 3rem;
        --hg-pc-nav-h: calc(var(--hg-pc-nav-top-h) + var(--hg-pc-nav-menu-h) + 1px);
    }

    body.use-navbar #masthead.no-banner-image.align-middle .inner {
        padding-bottom: 0.5rem !important;
    }

    body.use-navbar #masthead.no-banner-image .blog-description {
        padding-bottom: 0;
    }

    body.use-navbar.card #masthead.no-banner-image ~ .container #index,
    body.use-navbar.card #masthead.no-banner-image ~ .container #archive {
        padding-top: 0;
    }

    body.card #index article:first-of-type,
    body.card #archive article:first-of-type {
        margin-top: 1rem;
    }
}

@media (min-width: 768px) and (max-width: 1279.98px) {
    :root {
        --hg-pc-nav-top-h: 4.5rem;
        --hg-pc-nav-menu-h: 2.75rem;
    }
}

@media (min-width: 768px) and (max-width: 1099.98px) {
    :root {
        --hg-pc-nav-top-h: 4.25rem;
        --hg-pc-nav-menu-h: 2.5rem;
    }
}

@media (min-width: 768px) and (max-width: 899.98px) {
    :root {
        --hg-pc-nav-top-h: 3.75rem;
    }
}
