* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
  outline: none;
  border: none;
}

.content {
  width: 100%;
  padding: 17px min(9.375vw, 140px) 0;
}

.news-container {
  display: flex;
  align-items: flex-start;
}
.news-container-left-top {
  width: 100%;
}
.news-container-left {
  width: 284px;
  display: flex;
  align-items: center;
  flex-direction: column;
}
.news-center-title {
  width: 100%;
  height: 87px;
  background: #1c62c2;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  padding: 20px 0px 24px 34px;
  position: relative;
}
.news-center-title span {
  font-family: Microsoft YaHei;
  font-weight: bold;
  font-size: 18px;
  line-height: 18px;
  height: 18px;
  color: #ffffff;
  margin-bottom: 12px;
}
.news-center-title span:last-child {
  font-family: Microsoft YaHei;
  font-weight: 400;
  font-size: 16px;
  color: #ffffff;
  height: 13px;
  line-height: 13px;
}

.news-center-content-tabs {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  width: 100%;
  margin-top: 15px;
  background: #f7f9fa;
}

.news-center-content-tabs-item {
  width: 100%;
  font-family: NotoSansHans;
  font-weight: 500;
  font-size: 20px;
  color: #4a4a4a;
  line-height: 80px;
  height: 80px;
  padding-left: 34px;
}
.list-group-item {
  font-family: NotoSansHans;
  font-weight: 500 !important;
  font-size: 20px !important;
  color: #4a4a4a !important;
  line-height: 80px !important;
  height: 80px !important;
  padding-left: 34px ;
  position: relative;
  padding-left: 53px !important;
}
.list-group-item:hover {
  background: #dae7fa !important;
}

.list-group-item .icon{
  position: absolute;
  right: 20px;
  top: 0%;
  width: 20px;
  height: 20px;
  z-index: 1;

}


.list-group-item .icon-ggg {
    display: inline-block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 0 6px 8px;
    border-color: transparent transparent transparent #666;
    transition: transform 0.3s;
    margin-right: 5px;
}

.list-group-item.expanded .icon-ggg {
    transform: rotate(90deg);
}

.list-group-item .icon-ggg::before {
    display: none;
}

.news-center-content-tabs-item:hover {
  background: #dae7fa;
}

.news-center-content-tabs-item.active {
  background: #dae7fa;
  position: relative;
}
.news-center-content-tabs .treeview .list-group-item.node-selected{

}
.news-center-content-tabs .treeview .list-group-item.node-selected::before {
  content: "";
  display: block;
  width: 4px;
  height: 100%;
  background: #459bff;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.news-center-content-tabs-item.active::before {
  content: "";
  display: block;
  width: 4px;
  height: 100%;
  background: #459bff;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.news-container-right {
  width: calc(100% - 284px - 20px);
  display: flex;
  align-items: center;
  flex-direction: column;
  margin-left: 20px;
}

.news-list {
  width: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  max-height: 100%;
  background: #ffffff;
  border: 1px solid #e5e5e5;
}

.news-list-item {
  width: 100%;
  display: flex;
  align-items: center;
  height: 54px;
  background: #fff;
  padding-left: 24px;
  padding-right: 28px;
}

.news-list-item-right-title{
  width: 86%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: -moz-box;
}

.news-list-item a {
  font-family: NotoSansHans;
  font-weight: 400;
  font-size: 18px;
  color: #212329;
  line-height: 30px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block !important;
  width: 100%;
}
.news-list-item .iconfont {
  width: 14px;
  height: 14px;
  font-size: 14px;
  color: #8a8a8a;
  margin-right: 10px;
  margin-bottom: 4px;
}
.news-list-item .news-list-item-right-time {
  font-family: NotoSansHans;
  font-weight: 400;
  font-size: 16px;
  color: #626262;
  margin-left: auto;
  flex-shrink: 0;
}

/* 单数变成灰色 */
.news-list-item:nth-child(odd) {
  background: #f7f9fa;
}
/* 鼠标hover */
.news-list-item:hover {
  background: #dae7fa;
}
.news-list-item:hover a {
  color: #1c62c2;
}
.news-list-item:hover .iconfont {
  color: #1c62c2;
}
.news-list-item:hover .news-list-item-right-time {
  color: #1c62c2;
}

.news-details-content-text {
  width: 100%;
  padding: 0 60px;
  font-family: NotoSansHans;
  font-weight: 400;
  font-size: 16px;
  color: #666666;
  line-height: 30px;
  white-space: pre-line;
  word-wrap: break-word;
}

.news-title {
  width: 100%;
  height: 74px;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  font-family: NotoSansHans;
  font-weight: bold;
  font-size: 20px;
  color: #4a4a4a;
  padding-left: 24px;
  line-height: 74px;
  margin-bottom: 14px;
}

.treeview {
  width: 100%;
}

.news-center-content-tabs .treeview {
  padding: 0;
}
.news-center-content-tabs .treeview .list-group {
  padding: 0;
}
.news-center-content-tabs .treeview .list-group-item {
  border: none;
  padding: 0;
  background: transparent;
  color: #333;
  font-size: 14px;
  height: 79px;
  line-height: 79px;
  display: flex;
  align-items: center;
}
.news-center-content-tabs .treeview .list-group-item:hover {
  background: #f5f5f5;
}
.news-center-content-tabs .treeview .list-group-item.node-selected {
  background: #e6f3ff;
  color: #1890ff;
}
.news-center-content-tabs .treeview .list-group-item .indent {
  margin-left: 10px;
  display: inline-block;
  width: 20px;
}
.news-center-content-tabs .treeview .list-group-item .icon {
  margin-right: 5px;
  display: inline-block;
  width: 20px;
  text-align: center;
}
.news-center-content-tabs .treeview .list-group-item .badge {
  background: #f0f0f0;
  color: #666;
}
.news-center-content-tabs .treeview .list-group-item .node-icon {
  display: inline-block;
  width: 20px;
  text-align: center;
}
.news-center-content-tabs .treeview .list-group-item .node-text {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 组织机构列表整体布局 */
.org-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px; /* 行间距16px，列间距24px，可根据实际调整 */
  justify-content: flex-start; /* 或 center */
  margin-top: 20px;
}

/* 单个组织机构按钮样式 */
.org-item {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-width: 120px;
  height: 40px;
  padding: 0 20px;
  background: #f5f5f5;
  border-radius: 6px;
  cursor: pointer;
  font-size: 18px;
  color: #333;
  transition: background 0.2s, color 0.2s;
  box-sizing: border-box;
  margin: 0;
  /* 防止被bootstrap按钮样式影响 */
  border: none;
  box-shadow: none;
  flex: inherit !important;
}

.org-item a {
  color: inherit;
  text-decoration: none;
  width: 100%;
  height: 100%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: inherit !important;
}

/* 鼠标悬停效果 */
.org-item:hover {
  background: #e6f3ff;
  color: #1890ff;
}

/* 移动端适配样式 */
@media screen and (max-width: 768px) {
  /* 内容区域移动端适配 */
  .content {
    padding: 10px 15px 0;
  }

  /* 面包屑导航移动端适配 */
  .breadcrumb {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 15px;
    height: auto;
  }

  .breadcrumb-left {
    display: flex;
    align-items: center;
    gap: 5px;
  }

  .breadcrumb-left img {
    width: 16px;
    height: 16px;
    margin-right: 8px;
  }

  .breadcrumb-left span {
    font-size: 14px;
    margin-right: 5px;
  }

  .breadcrumb-right {
    font-size: 14px;
    gap: 5px;
  }

  .breadcrumb-right a {
    font-size: 14px;
  }

  /* 新闻容器移动端适配 */
  .news-container {
    flex-direction: column-reverse;
    gap: 20px;
  }

  /* 左侧菜单移动端适配 */
  .news-container-left {
    width: 100%;
    order: 2;
    margin-bottom: 20px;
  }

  .news-center-title {
    height: 60px;
    padding: 15px 0 15px 20px;
  }

  .news-center-title span {
    font-size: 16px;
    line-height: 16px;
    height: 16px;
    margin-bottom: 8px;
  }

  .news-center-title span:last-child {
    font-size: 14px;
    height: 12px;
    line-height: 12px;
  }

  .news-center-content-tabs {
    margin-top: 10px;
  }

  /* 树形菜单移动端适配 */
  .news-center-content-tabs .treeview .list-group-item {
    height: 50px !important;
    line-height: 50px !important;
    font-size: 14px !important;
    padding-left: 15px !important;
    padding-right: 15px !important;

  }

  .news-center-content-tabs .treeview .list-group-item .indent {
    margin-left: 8px;
    width: 15px;
  }

  .news-center-content-tabs .treeview .list-group-item .icon {
    width: 16px;
    margin-right: 8px;
  }

  /* 右侧内容移动端适配 */
  .news-container-right {
    width: 100%;
    margin-left: 0;
    order: 1;
  }

  .news-title {
    height: 50px;
    font-size: 16px;
    padding-left: 15px;
    line-height: 50px;
    margin-bottom: 10px;
  }

  /* 新闻列表移动端适配 */
  .news-list {
    gap: 5px;
  }

  .news-list-item {
    height: auto;
    min-height: 50px;
    padding: 12px 15px;
    flex-wrap: wrap;
    gap: 5px;
  }

  .news-list-item-right-title {
    width: 100%;
    order: 1;
    white-space: normal;
    line-height: 1.4;
  }

  .news-list-item a {
    font-size: 14px;
    line-height: 1.4;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .news-list-item .iconfont {
    width: 12px;
    height: 12px;
    font-size: 12px;
    margin-right: 8px;
    margin-bottom: 0;
    order: 0;
  }

  .news-list-item .news-list-item-right-time {
    font-size: 12px;
    margin-left: 0;
    order: 2;
    width: 100%;
    text-align: right;
  }

  /* 分页移动端适配 */
  .customBootstrap {
    margin-top: 20px;
  }

  .pagination {
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    justify-content: flex-start;
  }

  .pagination li {
    flex: 0 0 auto;
  }

  .pagination li a {
    padding: 8px 12px;
    font-size: 14px;
  }

  .pagination .prev a,
  .pagination .next a {
    padding: 8px 10px;
  }

  .mobile-tree-toggle {
    display: block;
    position: absolute;
    right: 10px;
    bottom: 0px;
    background: none;
    border: none;
    padding: 0;
    z-index: 2;
  }
  .tree-toggle-btn {
    width: auto;
    min-width: 90px;
    height: 32px;
    border-radius: 16px;
    padding: 0 14px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
  }
}

/* 小屏幕手机适配 */
@media screen and (max-width: 480px) {
  .content {
    padding: 8px 10px 0;
  }

  .breadcrumb-left span,
  .breadcrumb-right,
  .breadcrumb-right a {
    font-size: 12px;
  }

  .news-center-title {
    height: 50px;
    padding: 12px 0 12px 15px;
  }

  .news-center-title span {
    font-size: 14px;
    line-height: 14px;
    height: 14px;
    margin-bottom: 6px;
  }

  .news-center-title span:last-child {
    font-size: 12px;
    height: 10px;
    line-height: 10px;
  }

  .news-center-content-tabs .treeview .list-group-item {
    height: 45px;
    line-height: 45px;
    font-size: 13px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .news-title {
    height: 45px;
    font-size: 15px;
    padding-left: 12px;
    line-height: 45px;
  }

  .news-list-item {
    padding: 10px 12px;
  }

  .news-list-item a {
    font-size: 13px;
  }

  .news-list-item .iconfont {
    width: 10px;
    height: 10px;
    font-size: 10px;
    margin-right: 6px;
  }

  .news-list-item .news-list-item-right-time {
    font-size: 11px;
  }

  .pagination li a {
    padding: 6px 10px;
    font-size: 12px;
  }

  .pagination .prev a,
  .pagination .next a {
    padding: 6px 8px;
  }
}

/* 超小屏幕适配 */
@media screen and (max-width: 360px) {
  .content {
    padding: 5px 8px 0;
  }

  .news-center-title {
    height: 45px;
    padding: 10px 0 10px 12px;
  }

  .news-center-title span {
    font-size: 13px;
    line-height: 13px;
    height: 13px;
    margin-bottom: 5px;
  }

  .news-center-title span:last-child {
    font-size: 11px;
    height: 9px;
    line-height: 9px;
  }

  .news-center-content-tabs .treeview .list-group-item {
    height: 40px;
    line-height: 40px;
    font-size: 12px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .news-title {
    height: 40px;
    font-size: 14px;
    padding-left: 10px;
    line-height: 40px;
  }

  .news-list-item {
    padding: 8px 10px;
  }

  .news-list-item a {
    font-size: 12px;
  }

  .news-list-item .iconfont {
    width: 9px;
    height: 9px;
    font-size: 9px;
    margin-right: 5px;
  }

  .news-list-item .news-list-item-right-time {
    font-size: 10px;
  }

  .pagination li a {
    padding: 5px 8px;
    font-size: 11px;
  }

  .pagination .prev a,
  .pagination .next a {
    padding: 5px 6px;
  }
}

/* 移动端树形菜单适配样式 */
.mobile-tree-toggle {
  display: none;
}

.tree-toggle-btn {
  width: 100%;
  height: 40px;
  color: #fff;
  background-color: transparent;
  border: none;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s;
}


.tree-toggle-btn i {
  font-size: 16px;
  transition: transform 0.3s;
}

.mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* 移动端树形菜单特殊样式 */
@media screen and (max-width: 768px) {
  .mobile-tree-toggle {
    display: block;
  }

  .mobile-overlay {
    display: block;
  }

  .news-center-content-tabs {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: #f7f9fa;
    z-index: 1000;
    transition: left 0.3s ease;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  }

  .news-center-content-tabs.mobile-expanded {
    left: 0;
  }
}

@media screen and (max-width: 480px) {
  .news-center-content-tabs {
    width: 260px;
  }

  .tree-toggle-btn {
    height: 35px;
    font-size: 13px;
  }

  .tree-toggle-btn i {
    font-size: 14px;
  }
}

@media screen and (max-width: 360px) {
  .news-center-content-tabs {
    width: 240px;
  }

  .tree-toggle-btn {
    height: 32px;
    font-size: 12px;
  }

  .tree-toggle-btn i {
    font-size: 13px;
  }
}
