.resources-section {
  padding: 15px;
  background-color: #f9fafb;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.resources-title {
  padding:10px 0px;
  font-size: 18px;
  color: #1a365d;
  margin-bottom: 10px;
  padding:10px 0px 10px 0px;
  border-bottom: 2px solid #3b82f6;
  display: inline-block;
}

/* 关键优化：确保3个卡片始终在一行显示 */
.resources-grid {
  display: grid;
  /* 固定3列布局，每列宽度平均分配 */
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  /* 确保在大屏幕上不会过宽 */
  max-width: 1200px;
  margin: 0 auto;
}

.resource-card {
  display: flex;
  align-items: center;
  background-color: white;
  border-radius: 8px;
  padding: 10px 15px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
}

.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.1);
  border-color: #93c5fd;
}

.resource-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 18px;
  flex-shrink: 0;
}

.resource-icon i {
  font-size: 24px;
  color: #3b82f6;
}

.resource-info {
  flex-grow: 1;
}

.resource-name {
  font-size: 14px;
  color: #1e293b;
  margin: 0 0 8px 0;
  font-weight: 600;
}

.resource-desc {
  font-size: 14px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

.resource-arrow {
  color: #3b82f6;
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.resource-card:hover .resource-arrow {
  transform: translateX(5px);
}

/* 响应式调整：在小屏幕上才改为单列布局 */
@media (max-width: 992px) {
  .resources-grid {
    grid-template-columns: 1fr;
  }
  
  .resource-card {
    flex-direction: column;
    text-align: center;
    padding: 25px 15px;
  }
  
  .resource-icon {
    margin-right: 0;
    margin-bottom: 15px;
  }
  
  .resource-arrow {
    margin-left: 0;
    margin-top: 15px;
  }
}