/* 在大屏幕宽度下调整导航栏高度 */
@media (min-width: 1270px) {
  /* 默认状态：导航栏在页面顶部 */
  #navbar.py-3 {
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
    top: 2rem !important; /* 紧贴通知栏下方 */
  }
  
  /* 滚动时进一步减小内边距并回到顶部 */
  #navbar.py-2 {
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
    top: 0 !important; /* 滚动时导航栏回到顶部 */
  }
  
  /* 调整Logo大小 */
  #navbar .h-14 {
    height: 2.5rem !important;
  }
}