/*
 * Vega 保函 - 站点自定义样式（源自联成站 Customizer 附加 CSS）
 * 随主题内置，不依赖数据库；新站激活即生效，可在 Customizer 继续追加。
 */

/* 导航栏固定在顶部（桌面 + 手机），WorkBuddy 2026-10-27 */
.nav-wrapper{
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1050;
}
/* 已登录管理员：避开后台管理条 */
body.admin-bar .nav-wrapper{ top: 32px; }
@media screen and (max-width: 782px){
  body.admin-bar .nav-wrapper{ top: 46px; }
}
/* 锚点跳转时给固定导航留出空间 */
html{ scroll-padding-top: 100px; }

/* 手机端导航压缩为 68px，LOGO 垂直居中（WorkBuddy 2026-10-27） */
@media screen and (max-width: 991px){
  .navbar-custom{ min-height: 0 !important; }
  .navbar-header{
    height: 68px !important;
    align-items: center !important;
  }
  .navbar-custom .navbar-brand{
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  .navbar-toggle{
    height: auto !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
}

/* 内页红色标题横幅上下间距收紧（WorkBuddy 2026-10-27） */
/* 原 .jumbotron 为 padding:80px 0 60px，标题还有 margin-bottom:30px，共 214px 高 */
.banner-custom-header.jumbotron{ padding: 52px 0 48px; }
.banner-custom-header .block-title{ margin-bottom: 0; }

@media screen and (max-width: 767px){
  .banner-custom-header.jumbotron{ padding: 30px 0 28px; }
  .banner-custom-header .block-title{
    font-size: 24px;
    margin-bottom: 0;
  }
}
