.logo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  height: 160px;
  padding: 20px 0;
  margin: 0 auto;
  flex-shrink: 0;}

.logo-main-link {
  display: flex;
  align-items: center;
  cursor: default;
  text-decoration: none;}
.logo-main-link:hover {
  cursor: default;
  text-decoration: none;}

.logo-main-img {
  width: 100%;
  max-width: 644px;
  height: auto;
  display: block;}

.logo-site-title {
  color: #9b0103;
  font-size: 32px;
  font-weight: 500;
  margin-left: 20px;
  white-space: nowrap;}

.logo-right-section {
  text-align: right;
  max-width: 60%;}

.logo-motto-img {
  max-height: 80px;
  max-width: 400px;
  height: auto;
  width: auto;
  padding-top: 8px;}

/* 汉堡菜单按钮 - 默认隐藏 */
.mobile-menu-toggle {
  display: none;
  width: 25px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10001;
  flex-shrink: 0;}

.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: #9b0103;
  margin: 4px 0;
  transition: all 0.3s ease;
  transform-origin: center;}

/* 汉堡按钮变X动画 */
.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);}

/* 响应式样式 - 1200px以下等比缩小 */
@media (max-width: 1200px) {
  .logo-header {
    height: 120px;
    padding: 15px 10px;}
  
  .logo-main-img {
    max-width: 300px;}
  
  .logo-site-title {
    font-size: 24px;
    margin-left: 15px;}
  
  .logo-motto-img {
    max-height: 60px;
    max-width: 300px;}
  
  /* 显示汉堡按钮 */
  .mobile-menu-toggle {
    display: block;}
  
  /* 隐藏校训图片，为汉堡按钮腾出空间 */
  .logo-right-section {
    display: none;}
}

@media (max-width: 768px) {
  .logo-header {
    height: 80px;
    padding: 10px 10px;}
  
  .logo-main-img {
    max-width: 200px;}
  
  .logo-site-title {
    font-size: 18px;
    margin-left: 10px;}
  
  .mobile-menu-toggle {
    width: 25px;
    height: 25px;}
  
  .mobile-menu-toggle span {
    width: 23px;
    height: 2px;
    margin: 3px 0;}

  .mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);}

  .mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);}
}

@media (max-width: 480px) {
  .logo-header {
    height: 60px;
    padding: 8px 10px;}
  
  .logo-main-img {
    max-width: 150px;}
  
  .logo-site-title {
    font-size: 14px;
    margin-left: 8px;}
  
  .mobile-menu-toggle {
    width: 25px;
    height: 25px;}
  
  .mobile-menu-toggle span {
    width: 20px;
    height: 2px;
    margin: 3px 0;}
  
  .mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);}
  
  .mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);}
}

/* 导航栏容器 - 覆盖Bootstrap默认样式 */
#main-nav.navbar {
  background: #9B0103;
  border: none;
  border-radius: 0;
  margin-bottom: 0;
  min-height: 75px;
  height: 75px;}

#main-nav .container-fluid {
  padding: 0;}

/* 导航栏居中 */
.navbar-nav.navbar-center {
  float: none;
  text-align: center;
  margin: 0;}

.navbar-nav.navbar-center > li {
  float: none;
  display: inline-block;
  vertical-align: top;}

/* 一级菜单项 */
.navbar-nav > .nav-item {
  position: relative;
  margin: 0;}

/* 菜单项之间的分割线 */
.navbar-nav > .nav-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -3px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 20px;
  background: #ffffff;}

.navbar-nav > .nav-item > .nav-link {
  display: block;
  padding: 0 16px;
  line-height: 75px;
  height: 75px;
  font-size: 22px;
  letter-spacing: 4.4px;
  font-weight: 700;
  color: #ffffff !important;
  text-decoration: none;
  background: transparent;}

/* 二级下拉菜单外层包装 */
.nav-item.dropdown .dropdown-wrapper {
  display: none;
  position: absolute;
  top: 75px;
  left: 50%;
  transform: translateX(-50%);
  min-width: 160px;
  z-index: 1000;}

/* hover时显示下拉菜单 */
.nav-item.dropdown:hover > .dropdown-wrapper {
  display: block;}

/* 白色分隔线 */
.dropdown-divider {
  height: 1px;
  background: #ffffff;
  margin: 0;
  padding: 0;}

/* 二级菜单容器 - 红色边框 */
.dropdown-menu {
  display: block !important;
  position: static !important;
  float: none !important;
  background: #9B0103 !important;
  border: 2px solid #9B0103 !important;
  border-radius: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  padding: 0;
  margin: 0;
  min-width: 160px;}

/* 菜单列表容器 */
.dropdown-list {
  list-style: none;
  margin: 0;
  padding: 0;}

/* 二级菜单项 */
.dropdown-list > li {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;}

.dropdown-list > li > a {
  display: block;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff !important;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  background: transparent;
  transition: all 0.3s ease;
  border: none;}

.dropdown-list > li > a:hover,
.dropdown-list > li > a:focus {
  background: #ffffff !important;
  color: #9B0103 !important;}

/* ========== 移动端侧边导航 ========== */
.mobile-sidebar-nav {
  display: none;
  position: fixed;
  top: 120px;
  right: -100%;
  width: 280px;
  height: calc(100vh - 120px);
  background: #9B0103;
  z-index: 9999;
  overflow-y: auto;
  transition: right 0.3s ease;
  padding: 0 16px;}

.mobile-sidebar-nav.active {
  right: 0;}

/* 移动端遮罩层 - 不使用 */
.mobile-nav-overlay {
  display: none !important;}

/* 移动端菜单列表 */
.mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;}

.mobile-nav-list > li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);}

.mobile-nav-list > li:last-child {
  border-bottom: none;}

/* 一级菜单项 */
.mobile-nav-list > li > .mobile-nav-link {
  display: block;
  padding: 18px 5px;
  font-size: 14px;
  font-weight: normal;
  color: #ffffff;
  text-decoration: none;
  background: transparent;
  position: relative;}

/* 有子菜单的箭头 */
.mobile-nav-list > li.has-submenu > .mobile-nav-link:after {
  content: '';
  position: absolute;
  right: 5px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: translateY(-50%) rotate(45deg);
  transition: transform 0.3s ease;}

.mobile-nav-list > li.has-submenu.expanded > .mobile-nav-link:after {
  transform: translateY(-30%) rotate(-135deg);}

/* 二级菜单容器 */
.mobile-submenu {
  max-height: 0;
  overflow: hidden;
  background: transparent;
  list-style: none;
  margin: 0;
  padding: 0;
  transition: max-height 0.5s ease;}

.mobile-submenu.expanded {
  max-height: 500px;}

.mobile-submenu > li {
  border-bottom: none;}

.mobile-submenu > li > a {
  display: block;
  padding: 14px 5px 14px 25px;
  font-size: 14px;
  font-weight: 400;
  color: #ffffff;
  text-decoration: none;
  background: transparent;}

.mobile-submenu > li > a:hover,
.mobile-submenu > li > a:active {
  background: rgba(255, 255, 255, 0.1);}

/* 响应式适配 - 1200px以下显示移动端导航 */
@media (max-width: 1200px) {
  /* 隐藏桌面端导航 */
  #main-nav.navbar {
    display: none;}
  
  /* 移动端侧边导航和遮罩层保持隐藏，直到被激活 */
  .mobile-sidebar-nav {
    display: block;
    top: 120px;
    height: calc(100vh - 120px);}
}

@media (max-width: 768px) {
  .mobile-sidebar-nav {
    top: 80px;
    height: calc(100vh - 80px);}
}

@media (max-width: 480px) {
  .mobile-sidebar-nav {
    top: 60px;
    height: calc(100vh - 60px);}
}

@media (min-width: 1201px) {
  /* 桌面端隐藏移动端元素 */
  .mobile-sidebar-nav,
  .mobile-nav-overlay {
    display: none !important;}
}


.column-name {
  font-size: 28px;
  height: 68px;
  line-height: 68px;
  color: #9b0103;
  font-weight: 700;}

@media (max-width: 768px) {
  .column-name {
    font-size: 19px;
    height: 38px;
    line-height: 38px;}
}

.breadcrumb-location {
  color: #333333;}

.breadcrumb-location a {
  color: #333333;
  cursor: default;
  text-decoration: none;}

.breadcrumb-location a:hover {
  cursor: default;
  text-decoration: none;}

.article-content {
  background: #fcfcfc;
  padding: 30px 60px;}

.article-content-title {
  color: #333333;
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin: 0;
  line-height: 1.5;
  padding: 0 40px;
  text-wrap: pretty;}

.article-content-info {
  font-size: 14px;
  line-height: 35px;
  text-align: center;
  color: #555555;
  background: #f5f5f5;
  margin: 15px 0 30px 0;}

@media (max-width: 768px) {
  .article-content {
    padding: 10px 4px;}
  
  .article-content-title {
    font-size: 20px;}
}

.copyright-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 15px;
  background: #9b0103;
  margin-top: 35px;}

.copyright-text {
  color: #ffffff;}

.copyright-text p {
  margin: 0;
  height: 34px;
  line-height: 34px;}

