/* ============================================================
   自闭症儿童频道 · 星星的孩子 专属星空视觉
   全部使用 .as- 前缀，避免与全站青蓝品牌样式冲突
   ============================================================ */
.as-hero,
.as-block,
.as-final { box-sizing: border-box; }
.as-hero * , .as-block * , .as-final * , .as-belief * { box-sizing: border-box; }

/* ---------- HERO ---------- */
.as-hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 64px;
  margin: 0 -32px;
  color: #fff;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(120, 90, 220, .35), transparent 60%),
    radial-gradient(900px 500px at 10% 110%, rgba(40, 120, 200, .28), transparent 60%),
    linear-gradient(160deg, #0B1437 0%, #1B1457 48%, #2A1E6E 100%);
}
.as-stars {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1.6px 1.6px at 20% 30%, #fff, transparent),
    radial-gradient(1.4px 1.4px at 70% 20%, #fff, transparent),
    radial-gradient(1.8px 1.8px at 40% 70%, #ffe9b0, transparent),
    radial-gradient(1.3px 1.3px at 85% 60%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 55% 45%, #fff, transparent),
    radial-gradient(1.2px 1.2px at 12% 80%, #cfe3ff, transparent),
    radial-gradient(1.6px 1.6px at 90% 35%, #fff, transparent),
    radial-gradient(1.3px 1.3px at 33% 12%, #fff, transparent);
  background-repeat: repeat;
  background-size: 420px 420px;
  opacity: .85;
  animation: asTwinkle 5s ease-in-out infinite alternate;
  pointer-events: none;
}
.as-stars--soft { opacity: .5; background-size: 320px 320px; animation-duration: 7s; }
@keyframes asTwinkle { from { opacity: .45; } to { opacity: .9; } }

.as-star {
  position: absolute; width: 6px; height: 6px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 10px 2px rgba(255, 255, 255, .8);
  animation: asBlink 3.2s ease-in-out infinite;
}
.as-star--1 { top: 18%; left: 16%; animation-delay: 0s; }
.as-star--2 { top: 30%; left: 62%; width: 4px; height: 4px; animation-delay: .8s; }
.as-star--3 { top: 64%; left: 28%; width: 5px; height: 5px; animation-delay: 1.4s; }
.as-star--4 { top: 22%; left: 84%; width: 4px; height: 4px; animation-delay: 2.1s; }
.as-star--5 { top: 72%; left: 78%; animation-delay: 1s; }
@keyframes asBlink { 0%,100% { opacity: .25; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.25); } }

.as-shooting {
  position: absolute; top: 12%; right: 18%; width: 120px; height: 2px;
  background: linear-gradient(90deg, transparent, #fff);
  transform: rotate(18deg); opacity: 0;
  animation: asShoot 6s ease-in infinite;
}
@keyframes asShoot {
  0% { opacity: 0; transform: translate(0,0) rotate(18deg); }
  6% { opacity: 1; }
  14% { opacity: 0; transform: translate(-220px, 70px) rotate(18deg); }
  100% { opacity: 0; }
}

.as-hero-inner { position: relative; z-index: 2; max-width: 880px; }
.as-badge {
  display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: .5px;
  padding: 7px 16px; border-radius: 999px; color: #2A1E6E;
  background: linear-gradient(135deg, #FFE9A8, #F4C95D);
  box-shadow: 0 6px 18px rgba(244, 201, 93, .35);
}
.as-title {
  font-size: 46px; line-height: 1.18; font-weight: 800; margin: 20px 0 14px;
  letter-spacing: 1px;
  background: linear-gradient(180deg, #FFFFFF 0%, #CFE0FF 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.as-sub { font-size: 17px; line-height: 1.8; color: rgba(255,255,255,.86); max-width: 680px; margin: 0 0 26px; }
.as-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.as-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-size: 15px; font-weight: 700;
  color: #2A1E6E; text-decoration: none;
  background: linear-gradient(135deg, #FFE9A8, #F4C95D);
  box-shadow: 0 10px 26px rgba(244, 201, 93, .35);
  transition: transform .18s ease, box-shadow .18s ease;
}
.as-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(244, 201, 93, .45); }
.as-btn--ghost {
  color: #fff; background: transparent; border: 1.5px solid rgba(255,255,255,.55);
  box-shadow: none;
}
.as-btn--ghost:hover { background: rgba(255,255,255,.12); box-shadow: none; }

.as-hero-stats { display: flex; flex-wrap: wrap; gap: 36px; margin-top: 40px; }
.as-hs { display: flex; flex-direction: column; }
.as-hs b { font-size: 30px; font-weight: 800; color: #FFE9A8; line-height: 1; }
.as-hs span { font-size: 13px; color: rgba(255,255,255,.7); margin-top: 6px; }

/* ---------- 通用区块 ---------- */
.as-crumb { padding: 18px 0 4px; font-size: 13px; color: var(--text-3, #8a94a6); }
.as-crumb a { color: var(--text-3, #8a94a6); text-decoration: none; }
.as-crumb span { margin: 0 6px; }
.as-crumb-cur { color: var(--text-1, #1c2733); }

.as-block { padding: 40px 0; }
.as-sec-head { margin-bottom: 26px; }
.as-sec-head--sm { margin-bottom: 14px; }
.as-sec-kicker { font-size: 12px; font-weight: 700; letter-spacing: 2px; color: #F4C95D; }
.as-sec-title { font-size: 26px; font-weight: 800; margin: 6px 0 8px; color: var(--text-1, #1c2733); }
.as-sec-desc { font-size: 15px; line-height: 1.75; color: var(--text-2, #55606e); max-width: 760px; }

.as-belief {
  margin: 8px 0 8px; padding: 30px 34px; border-radius: 18px; text-align: center;
  background: linear-gradient(135deg, rgba(27,20,87,.06), rgba(42,30,110,.06));
  border: 1px solid rgba(42,30,110,.12);
}
.as-belief-lead { font-size: 21px; font-weight: 700; color: #2A1E6E; margin: 0 0 10px; }
.as-belief-text { font-size: 15.5px; line-height: 1.9; color: var(--text-2, #55606e); margin: 0; max-width: 820px; margin: 0 auto; }

.as-note { margin-top: 18px; font-size: 14px; color: #B5651D; background: rgba(224,145,59,.1); padding: 12px 16px; border-radius: 12px; border-left: 3px solid #E0913B; }

/* ---------- 早期信号 ---------- */
.as-signals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.as-signal {
  background: rgba(255,255,255,.7); border: 1px solid rgba(42,30,110,.12);
  border-radius: 16px; padding: 20px 18px; backdrop-filter: blur(4px);
  box-shadow: 0 8px 22px rgba(20,20,60,.06);
}
.as-signal-top { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.as-signal-age { font-size: 17px; font-weight: 800; color: #2A1E6E; }
.as-signal-hint { font-size: 12px; color: #fff; background: linear-gradient(135deg,#5b4bd6,#7b6cf0); padding: 3px 10px; border-radius: 999px; }
.as-signal-list { margin: 0; padding-left: 18px; }
.as-signal-list li { font-size: 14px; line-height: 1.7; color: var(--text-2, #55606e); margin-bottom: 8px; }

.as-block--glass {
  margin: 0 -32px; padding: 48px 32px;
  background: linear-gradient(160deg, #0B1437 0%, #1B1457 60%, #2A1E6E 100%);
  border-radius: 0;
}
.as-block--glass .as-sec-title { color: #fff; }
.as-block--glass .as-sec-kicker { color: #FFE9A8; }
.as-block--glass .as-sec-desc { color: rgba(255,255,255,.78); }

/* ---------- 干预六支柱 ---------- */
.as-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.as-pillar {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px; padding: 24px 20px; backdrop-filter: blur(8px);
  transition: transform .2s ease, border-color .2s ease;
}
.as-pillar:hover { transform: translateY(-4px); border-color: rgba(244,201,93,.6); }
.as-pillar-icon { font-size: 34px; margin-bottom: 12px; }
.as-pillar-title { font-size: 18px; font-weight: 800; color: #fff; margin: 0 0 8px; }
.as-pillar-desc { font-size: 14px; line-height: 1.75; color: rgba(255,255,255,.78); margin: 0; }

/* ---------- 文章卡片 ---------- */
.as-articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.as-article {
  display: flex; flex-direction: column; border-radius: 16px; overflow: hidden;
  background: #fff; border: 1px solid rgba(20,20,60,.08);
  box-shadow: 0 8px 22px rgba(20,20,60,.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.as-article:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(20,20,60,.12); }
.as-article-cover { position: relative; aspect-ratio: 16/10; overflow: hidden; background: #eef1f6; }
.as-article-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.as-article:hover .as-article-cover img { transform: scale(1.05); }
.as-article-flag { position: absolute; top: 10px; left: 10px; font-size: 12px; font-weight: 700; color: #2A1E6E; background: linear-gradient(135deg,#FFE9A8,#F4C95D); padding: 3px 10px; border-radius: 999px; }
.as-article-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.as-article-title { font-size: 16.5px; font-weight: 700; line-height: 1.5; color: var(--text-1,#1c2733); margin: 0 0 8px; }
.as-article-sum { font-size: 13.5px; line-height: 1.7; color: var(--text-2,#55606e); margin: 0 0 14px; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.as-article-meta { display: flex; flex-wrap: wrap; gap: 12px; font-size: 12.5px; color: var(--text-3,#8a94a6); }
.as-article-author { font-weight: 600; color: var(--text-2,#55606e); }

.as-empty { padding: 30px; text-align: center; color: var(--text-3,#8a94a6); background: rgba(20,20,60,.04); border-radius: 14px; }

/* ---------- 双栏：热门 + 侧栏 ---------- */
.as-block--split { display: grid; grid-template-columns: 1fr 320px; gap: 30px; align-items: start; }
.as-hot { display: flex; flex-direction: column; gap: 10px; }
.as-hot-item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid rgba(20,20,60,.07); transition: transform .15s ease; }
.as-hot-item:hover { transform: translateX(4px); border-color: rgba(42,30,110,.25); }
.as-hot-num { flex: none; width: 30px; height: 30px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; color: #fff; background: #c3c9d6; }
.as-hot-num--1 { background: linear-gradient(135deg,#F5576C,#E0913B); }
.as-hot-num--2 { background: linear-gradient(135deg,#7b6cf0,#5b4bd6); }
.as-hot-num--3 { background: linear-gradient(135deg,#2FA0A8,#1C7C8C); }
.as-hot-info { min-width: 0; }
.as-hot-title { font-size: 15px; font-weight: 600; color: var(--text-1,#1c2733); line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.as-hot-meta { font-size: 12.5px; color: var(--text-3,#8a94a6); margin-top: 4px; }

.as-split-side { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 20px; }
.as-side-card { border-radius: 16px; padding: 22px 20px; background: linear-gradient(160deg,#fff,#f5f3ff); border: 1px solid rgba(42,30,110,.14); }
.as-side-card--dark { background: linear-gradient(160deg,#1B1457,#2A1E6E); color: #fff; }
.as-side-head { font-size: 17px; font-weight: 800; margin-bottom: 10px; }
.as-side-head span { margin-right: 6px; }
.as-side-text { font-size: 14px; line-height: 1.75; color: var(--text-2,#55606e); margin: 0 0 16px; }
.as-side-card--dark .as-side-text { color: rgba(255,255,255,.82); }
.as-side-btn { display: inline-block; padding: 11px 20px; border-radius: 999px; font-size: 14px; font-weight: 700; text-decoration: none; color: #2A1E6E; background: linear-gradient(135deg,#FFE9A8,#F4C95D); }
.as-side-btn--ghost { color: #fff; background: transparent; border: 1.5px solid rgba(255,255,255,.5); }

/* ---------- FAQ ---------- */
.as-faq { display: flex; flex-direction: column; gap: 12px; }
.as-faq-item { border: 1px solid rgba(20,20,60,.1); border-radius: 14px; background: #fff; overflow: hidden; }
.as-faq-q { display: flex; align-items: center; justify-content: space-between; cursor: pointer; padding: 16px 20px; font-size: 16px; font-weight: 700; color: var(--text-1,#1c2733); list-style: none; }
.as-faq-q::-webkit-details-marker { display: none; }
.as-faq-mark { flex: none; width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; color: #2A1E6E; background: rgba(42,30,110,.08); transition: transform .2s ease; }
.as-faq-item[open] .as-faq-mark { transform: rotate(45deg); background: linear-gradient(135deg,#FFE9A8,#F4C95D); }
.as-faq-a { padding: 0 20px 18px; font-size: 14.5px; line-height: 1.85; color: var(--text-2,#55606e); }

/* ---------- 终极 CTA ---------- */
.as-final {
  position: relative; overflow: hidden; margin: 20px -32px 0; padding: 64px 32px;
  border-radius: 0;
  background:
    radial-gradient(800px 400px at 85% 0%, rgba(120,90,220,.35), transparent 60%),
    linear-gradient(160deg, #0B1437 0%, #1B1457 55%, #2A1E6E 100%);
  text-align: center; color: #fff;
}
.as-final-inner { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; }
.as-final-title { font-size: 30px; font-weight: 800; margin: 0 0 14px;
  background: linear-gradient(180deg,#fff,#CFE0FF); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.as-final-text { font-size: 16px; line-height: 1.85; color: rgba(255,255,255,.85); margin: 0 0 28px; }
.as-final .as-cta { justify-content: center; }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .as-signals { grid-template-columns: repeat(2, 1fr); }
  .as-pillars { grid-template-columns: repeat(2, 1fr); }
  .as-articles { grid-template-columns: repeat(2, 1fr); }
  .as-block--split { grid-template-columns: 1fr; }
  .as-split-side { position: static; flex-direction: row; flex-wrap: wrap; }
  .as-split-side .as-side-card { flex: 1; min-width: 240px; }
}
@media (max-width: 640px) {
  .as-hero { padding: 56px 0 44px; }
  .as-title { font-size: 32px; }
  .as-sub { font-size: 15px; }
  .as-hero-stats { gap: 22px; }
  .as-hs b { font-size: 24px; }
  .as-signals, .as-pillars, .as-articles { grid-template-columns: 1fr; }
  .as-sec-title { font-size: 22px; }
  .as-block--glass, .as-final { margin-left: -20px; margin-right: -20px; padding-left: 20px; padding-right: 20px; }
  .as-hero { margin-left: -20px; margin-right: -20px; }
}
