/* ==========================================================================
   首页专属样式
   ========================================================================== */

/* hero 标题金色字浮现 */
.hero h1 .accent-gold {
  animation: floatUp 0.9s 0.5s both;
}

@keyframes floatUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 首页资讯列表区块间距微调 */
#news .news-list {
  margin-bottom: 20px;
}

#news .news-list:last-of-type {
  margin-bottom: 0;
}

/* 首页双业务横幅（建站 + 教学） */
.dual-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.dual-cell {
  padding: 50px 46px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.dual-cell.cell-build {
  background: linear-gradient(135deg, var(--tan) 0%, var(--tan-deep) 100%);
  color: var(--rice);
}

.dual-cell.cell-teach {
  background: linear-gradient(135deg, var(--ink-g) 0%, var(--ink-g-deep) 100%);
  color: var(--rice);
}

.dual-cell:hover {
  transform: scale(1.01);
}

.dual-cell .dual-ico {
  width: 60px;
  height: 60px;
  border-radius: var(--r-sm);
  background: rgba(232, 201, 119, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.dual-cell h3 {
  color: #fff;
  font-size: 26px;
  margin-bottom: 12px;
  font-family: var(--font-serif);
}

.dual-cell > p {
  color: rgba(245, 240, 230, 0.78);
  font-size: 14.5px;
  line-height: 1.85;
  margin-bottom: 22px;
}

.dual-cell .dual-list li {
  font-size: 13.5px;
  color: rgba(245, 240, 230, 0.85);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.dual-cell .dual-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #E8C977;
  flex-shrink: 0;
}

.dual-cell .dual-cta {
  margin-top: 26px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #E8C977;
  font-weight: 600;
  font-size: 14.5px;
}

.dual-cell::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(232, 201, 119, 0.16);
  border-radius: 50%;
}

@media (max-width: 900px) {
  .dual-band { grid-template-columns: 1fr; }
  .dual-cell { padding: 36px 30px; }
}
