/* 全局基础样式（保持原有） */
* {
  box-sizing: border-box;
}

/* 容器样式（关键！） */
.container {
  display: flex;
  gap: 20px;
  padding: 0 20px;
  position: relative;
}

/* 电脑端（≥769px）：导航栏固定左侧 */
@media (min-width: 769px) {
  .region-sidebar-first {
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    height: 100vh;
    min-width: 200px;
    padding: 20px;
    background-color: #ffffff;
    overflow-y: auto;
    padding-left:50px ;
    /*box-shadow: 0 2px 8px rgba(0,0,0,0.1);*/
    z-index: 100; /* 确保导航栏在最上层 */
  }

  .section {
    flex: 1;
    padding: 20px 12%;
    margin-left:250px ;
  }
  .block-region.region-content {
      padding: 0 25%;
  }
}

/* 移动端（≤768px）：顶部栏由 .mobile-header 负责；侧栏展开样式在 original.css */
@media (max-width: 768px) {
  .section {
    flex: 1;
    background-color: #f8f9fa;
    padding: 20px;
    margin-top: 80px;
  }
}

/* 图片自适应（保持原有） */
.img-fluid {
  max-width: 100% !important;
  height: auto !important;
}

/* 主导航样式（保持原有） */
.chenxi-menu {
  list-style: none !important;
  padding: 0;
  margin: 0;
  font-weight: 300;
}


.chenxi-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.submenu {
  padding-left: 20px !important;
}

.chenxi-menu li {
  margin-bottom: 10px;
  padding: 5px;
  border-radius: 4px;
}

.chenxi-menu li a {
  color: #333;
  text-decoration: none;
}

.chenxi-menu li a:hover,
.chenxi-menu li a:active {
  color: #7B7B7B;
  font-weight: bold;
  text-decoration: none;
  transition: font-weight 0.3s ease;
}
[class*="menu-item-active"]:not([class*="menu-item-has-children"]) {
    font-weight: bold;
  text-decoration: none;
  transition: font-weight 0.3s ease;
}

/* 淡入动画（保持原有） */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.field-item {
  text-align: center;
}



