/* 主体间距 */
.main-content { padding-top: 20px; }

/* 轮播图 */
.carousel-section { margin-bottom: 30px; }

/* 3列资讯区（通知公告、科研项目、科研指南） */
.three-columns {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
}
.col-box {
  flex: 1;
  background: #f9fbfd;
  border-radius: 6px;
  padding: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.col-header {
  background: #1a73e8;
  color: #fff;
  padding: 8px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 4px 30px 4px 4px;
  margin: -15px -15px 15px -15px;
}
.col-header .col-title { font-size: 18px; font-weight: bold; display: flex; align-items: center; gap: 8px; }
.col-header .more { color: #fff; font-size: 13px; text-decoration: none; opacity: 0.9; }
.col-header .more:hover { opacity: 1; text-decoration: underline; }

.col-list { list-style: none; }
.col-list li {
  display: flex;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px dashed #eee;
}
.col-list li:last-child { border-bottom: none; }
.col-list li a {
  color: #333;
  text-decoration: none;
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 60%;
}
.col-list li a:hover { color: #1a73e8; }
.col-list li span { color: #999; font-size: 13px; }

/* 3个查询按钮（立项、结项、成果） */
.project-section { margin-top: 10px; }
.project-header {
  background: #0b3d91;
  color: #fff;
  display: inline-block;
  padding: 10px 30px 10px 20px;
  font-size: 18px;
  font-weight: bold;
  clip-path: polygon(0 0, 90% 0, 100% 100%, 0 100%);
  margin-bottom: 20px;
}

.project-cards {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.project-card {
  flex: 1;
  padding: 35px 10px;
  border-radius: 8px;
  text-align: center;
  color: #fff;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  cursor: pointer;
}
.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.project-card h3 { font-size: 26px; margin-bottom: 8px; letter-spacing: 2px; }
.project-card p { font-size: 14px; opacity: 0.9; margin: 0; }

/* 卡片颜色 */
.card-green { background: linear-gradient(135deg, #00b894, #00a381); }
.card-red { background: linear-gradient(135deg, #e17055, #d63031); }
.card-purple { background: linear-gradient(135deg, #6c5ce7, #a29bfe); }

/* 移动端适配 */
@media (max-width: 768px) {
  .three-columns { flex-direction: column; gap: 20px; }
  .project-cards { flex-direction: column; gap: 15px; }
  .project-header { width: 100%; text-align: center; clip-path: none; border-radius: 4px; }
  .col-list li a { max-width: 60%; }
}