/* 本文件定义全站共用的黑色顶部导航，页面只提供当前栏目标识。 */
.site-header { border-bottom: 1px solid #33383a; background: #111314; color: #f7f8f5; }
.site-header .navigation { width: var(--site-content-width); margin-inline: auto; min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.site-header .brand { display: inline-flex; align-items: center; gap: 11px; flex: none; color: #f7f8f5; font-size: 17px; font-weight: 650; line-height: 1.5; white-space: nowrap; }
.site-header .brand img { object-fit: contain; }
.site-header .nav-links { display: flex; align-items: center; gap: 26px; margin-left: auto; color: #c9ceca; font-size: 14px; }
.site-header .nav-links a { white-space: nowrap; }
.site-header .nav-links a:hover { color: #f3c177; }
.site-header .nav-links a[aria-current="page"] { color: #f3c177; text-decoration: underline; text-underline-offset: 7px; }
.site-header .wcl-entry { flex: none; color: inherit; font-size: inherit; }
@media (max-width: 900px) {
    .site-header .navigation { gap: 18px; }
    .site-header .nav-links { gap: 17px; }
}
@media (max-width: 640px) {
    .site-header .navigation { min-height: 64px; gap: 12px; }
    .site-header .nav-links { flex-wrap: wrap; justify-content: flex-end; row-gap: 0; }
    .site-header .brand { gap: 7px; font-size: 13px; }
    .site-header .brand img { width: 32px; height: 32px; }
    .site-header .nav-links { gap: 12px; font-size: 12px; }
    .site-header .nav-links a { display: inline-flex; align-items: center; min-height: 44px; }
}
@media (max-width: 370px) {
    .site-header .brand span { max-width: 79px; white-space: normal; line-height: 1.15; }
}
@media (max-width: 360px) {
    .site-header .navigation { display: grid; grid-template-columns: 1fr; gap: 3px; padding-block: 9px; }
    .site-header .brand { justify-self: start; }
    .site-header .nav-links { justify-self: start; margin-left: 0; }
}
