/* 资助管理模块样式 */
.funding-section {
  padding: 30px 0;
  background: #f8f9fa;
}

.funding-section .common-common-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.funding-section .common-common-header h1 {
  font-size: 24px;
  font-weight: bold;
  color: rgb(200, 0, 0);
  margin: 0;
}

.funding-section .common-common-header a {
  color: var(--blue-color);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.funding-layout {
  display: flex;
  gap: 20px;
  height: 280px;
  margin-top: 20px;
}

/* 左侧图片区域 */
.funding-image-wrapper {
  flex: 0 0 40%;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
}

.funding-image-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.funding-image-item.active {
  opacity: 1;
}

.funding-image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 右侧文章列表 */
.funding-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}

.funding-item {
  display: flex;
  align-items: center;
  padding: 12px 15px;
  background: #fff;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.funding-item:hover,
.funding-item.active {
  background: #fff0f0;
  transform: translateX(5px);
}

.funding-item a {
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-decoration: none;
  flex: 1;
}

.funding-title {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin: 0;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.funding-item:hover .funding-title,
.funding-item.active .funding-title {
  color: #dc3545;
}

.funding-time {
  font-size: 12px;
  color: #999;
  margin: 0;
}

/* 响应式调整 */
@media (max-width: 992px) {
  .funding-layout {
    height: 240px;
  }
  
  .funding-image-wrapper {
    flex: 0 0 40%;
  }
}

@media (max-width: 576px) {
  .funding-section {
    padding: 20px 0;
  }
  
  .funding-layout {
    height: 180px;
    gap: 12px;
  }
  
  .funding-image-wrapper {
    flex: 0 0 40%;
    border-radius: 6px;
  }
  
  .funding-item {
    padding: 10px;
  }
  
  .funding-title {
    font-size: 13px;
  }
  
  .funding-time {
    font-size: 11px;
  }
}