/* ---------------- 模块：院部设置列表 ---------------- */
.ybsz-wrap {
  padding: 10px 0 20px;
}

.ybsz-list {
  background: #fff;
  border: 0px solid #e4e4e4;
  border-bottom: none;
  display: flex;
  margin-right: -20px;
  flex-wrap: wrap;
  column-gap: 20px;
}

/* 桌面端两列排布 */
.ybsz-list li.ybsz-item {
  float: left;
  width: calc(33.33% - 20px);
  border-bottom: 1px solid #e4e4e4;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  display: flex;
  align-content: center;
  align-items: center;
}

/* 奇数行右侧加分隔线 */
.ybsz-list li.ybsz-item:nth-child(odd) {
/*  border-right: 1px solid #e4e4e4;*/
}

.ybsz-list li.ybsz-item .ybsz-link {
  display: block;
  position: relative;
  padding: 16px 24px 16px 46px;
  font-size: 16px;
  line-height: 24px;
  color: #333;
  width: 100%;
  -webkit-transition: all .3s ease-in-out;
  -moz-transition: all .3s ease-in-out;
  -ms-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
}

.ybsz-list li.ybsz-item .ybsz-link:hover {
  color: #0f429b;
  background: #f4f8fd;
}

.ybsz-list li.ybsz-item .ybsz-name {
  display: block;
}

/* 右侧箭头图标 */
.ybsz-list li.ybsz-item .ybsz-arrow {
  position: absolute;
  left: 15px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -5px;
  border-top: 2px solid #c3c3c3;
  border-right: 2px solid #c3c3c3;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-transition: border-color .3s ease-in-out;
  -moz-transition: border-color .3s ease-in-out;
  -ms-transition: border-color .3s ease-in-out;
  transition: border-color .3s ease-in-out;
}

.ybsz-list li.ybsz-item .ybsz-link:hover .ybsz-arrow {
  border-color: #0f429b;
}

/* ---------------- 响应式：平板 768px-999px ---------------- */
@media screen and (max-width: 999px) {
.ybsz-list li.ybsz-item{width: calc(50% - 20px);}
  .ybsz-list li.ybsz-item .ybsz-link {
    padding: 14px 18px 14px 40px;
    font-size: 15px;
  }
}

/* ---------------- 响应式：移动端 ≤767px ---------------- */
@media screen and (max-width: 767px) {
  .ybsz-wrap {
    padding: 5px 0 15px;
  }

  /* 移动端改单列排布 */
  .ybsz-list{margin-right:0;gap: 0;}
  .ybsz-list li.ybsz-item {
    float: none;
    width: 100%;
  }

  .ybsz-list li.ybsz-item:nth-child(odd) {
    border-right: none;
  }

  .ybsz-list li.ybsz-item .ybsz-link {
    padding: 12px 14px 12px 36px;
    font-size: 14px;
    line-height: 22px;
  }

  .ybsz-list li.ybsz-item .ybsz-arrow {
    right: 16px;
  }
}
