/* 研究室和行政机构样式 */
.group-section {
  width: 100%;
  margin-bottom: 30px;
}

.group-header {
  background-color: #a01c21;
  color: white;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.group-header h2 {
  margin: 0;
  font-size: 20px;
  font-weight: normal;
}

.group-header img {
  width: 24px;
  height: 24px;
  margin-right: 10px;
}

.group-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.group-item {
  width: 48%;
  margin-bottom: 15px;
  position: relative;
  margin-right: 4%;
}

.group-item:nth-child(2n) {
  margin-right: 0;
}

.group-item a {
  color: #333;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.group-item a:hover {
  color: #a01c21;
}

.group-item a::before {
  content: "";
  display: inline-block;
  width: 17px;
  height: 3px;
  background-image: url('../images/2022_ibs_19@2x.png');
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 8px;
}

/* 响应式调整 */
@media (max-width: 992px) {
  .group-item {
    width: 48%;
    margin-right: 4%;
  }
  
  .group-item:nth-child(3n) {
    margin-right: 4%;
  }
  
  .group-item:nth-child(2n) {
    margin-right: 0;
  }
}

@media (max-width: 768px) {
  .group-section {
    margin-bottom: 15px;
  }

  .group-item {
    width: 48%;
    margin-right: 4%;
    margin-bottom: 10px;
  }
  
  .group-item:nth-child(3n) {
    margin-right: 4%;
  }
  
  .group-item:nth-child(2n) {
    margin-right: 0;
  }
  
  .group-header {
    height: 30px;
    background: linear-gradient(0deg, #860C0D 0%, #B81F2C 100%);
    padding: 0 15px;
  }
  
  .group-header img {
    width: 14px;
    height: 15px;
  }
  
  .group-header h2 {
    font-weight: 400;
    font-size: 15px;
    color: #FFFFFF;
  }
  
  .group-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  
  .group-item a {
    font-size: 14px;
  }
  
  .group-item a::before {
    width: 12px;
    height: 2px;
    margin-right: 5px;
  }
}

@media (max-width: 576px) {
  .group-item {
    width: 48%;
    margin-right: 4%;
  }
  
  .group-item:nth-child(2n) {
    margin-right: 0;
  }
} 