/* ============================================================
   儿童心理健康频道 · 静心呼吸 专属视觉
   全部使用 .xl- 前缀，避免与全站青蓝品牌 / 自闭症星空样式冲突
   主题：柔和青绿渐变 + 呼吸缩放动画 + 暖琥珀点缀
   ============================================================ */
.xl-hero,
.xl-block,
.xl-breathe,
.xl-final { box-sizing: border-box; }
.xl-hero * , .xl-block * , .xl-breathe * , .xl-final * { box-sizing: border-box; }

/* ---------- HERO ---------- */
.xl-hero {
  position: relative; overflow: hidden;
  padding: 76px 0 60px; margin: 0 -32px; color: #103a36;
  background:
    radial-gradient(1100px 560px at 82% -10%, rgba(120, 210, 190, .45), transparent 60%),
    radial-gradient(900px 520px at 8% 118%, rgba(150, 200, 245, .35), transparent 60%),
    linear-gradient(160deg, #E8F7F2 0%, #D7F0EA 46%, #CFE9F2 100%);
}
.xl-blob {
  position: absolute; border-radius: 50%; filter: blur(8px); opacity: .55;
  animation: xlFloat 9s ease-in-out infinite;
}
.xl-blob--1 { width: 260px; height: 260px; top: -60px; right: 8%;
  background: radial-gradient(circle at 30% 30%, #8FE3CF, #4FBFA6); }
.xl-blob--2 { width: 180px; height: 180px; bottom: -50px; left: 12%;
  background: radial-gradient(circle at 30% 30%, #BFE3F7, #7FB8E6); animation-delay: 2.5s; }
.xl-blob--3 { width: 120px; height: 120px; top: 40%; left: 46%;
  background: radial-gradient(circle at 30% 30%, #FFE3B0, #F3C078); opacity: .4; animation-delay: 4s; }
@keyframes xlFloat { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-18px) scale(1.05); } }

.xl-hero-inner { position: relative; z-index: 2; max-width: 880px; }
.xl-badge {
  display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: .5px;
  padding: 7px 16px; border-radius: 999px; color: #0E6B5C;
  background: rgba(255,255,255,.7); border: 1px solid rgba(14,107,92,.18);
  backdrop-filter: blur(4px);
}
.xl-title {
  margin: 18px 0 14px; font-size: 50px; line-height: 1.12; font-weight: 800;
  letter-spacing: -1px; color: #0C3B34;
}
.xl-sub { max-width: 620px; font-size: 17px; line-height: 1.8; color: #2C5A52; }
.xl-cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0 30px; }
.xl-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 999px;
  font-size: 15px; font-weight: 700; text-decoration: none; color: #fff;
  background: linear-gradient(135deg, #2BA890, #1C7C8C); box-shadow: 0 10px 24px rgba(43,168,144,.32);
  transition: transform .2s, box-shadow .2s;
}
.xl-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(43,168,144,.42); }
.xl-btn--ghost { color: #0E6B5C; background: rgba(255,255,255,.75); border: 1px solid rgba(14,107,92,.25); box-shadow: none; }
.xl-hero-stats { display: flex; gap: 34px; flex-wrap: wrap; }
.xl-hs { display: flex; flex-direction: column; }
.xl-hs b { font-size: 30px; font-weight: 800; color: #0C3B34; }
.xl-hs span { font-size: 13px; color: #3C6A62; margin-top: 2px; }

/* ---------- 通用区块 ---------- */
.xl-crumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #819a94; margin: 22px 0 6px; }
.xl-crumb a { color: #5b8c83; text-decoration: none; }
.xl-crumb-cur { color: #2C5A52; font-weight: 600; }
.xl-block { margin: 30px 0; }
.xl-sec-head { margin-bottom: 18px; }
.xl-sec-head--sm { margin-bottom: 12px; }
.xl-sec-kicker { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 2px; color: #2BA890; margin-bottom: 6px; }
.xl-sec-title { font-size: 25px; font-weight: 800; color: #0C3B34; margin: 0 0 6px; }
.xl-sec-desc { font-size: 14px; color: #5b7a73; margin: 0; max-width: 720px; line-height: 1.7; }

/* ---------- 呼吸练习 ---------- */
.xl-breathe {
  margin: 26px 0; padding: 34px 28px; border-radius: 22px; text-align: center;
  background: linear-gradient(160deg, #EAF8F3, #E2F1F8);
  border: 1px solid rgba(43,168,144,.16);
}
.xl-breathe-stage { display: flex; justify-content: center; margin: 22px 0 8px; }
.xl-breath-circle {
  width: 168px; height: 168px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700; color: #0E6B5C;
  background: radial-gradient(circle at 32% 30%, #BFF0E2, #5FC4AD);
  box-shadow: 0 0 0 0 rgba(43,168,144,.35);
  animation: xlBreath 14s ease-in-out infinite;
}
@keyframes xlBreath {
  0%   { transform: scale(.62); box-shadow: 0 0 0 0 rgba(43,168,144,.30); }
  28%  { transform: scale(1);   box-shadow: 0 0 0 26px rgba(43,168,144,0); }   /* 吸气 */
  50%  { transform: scale(1);   box-shadow: 0 0 0 0 rgba(43,168,144,0); }      /* 屏息 */
  92%  { transform: scale(.62); box-shadow: 0 0 0 0 rgba(43,168,144,0); }      /* 呼气 */
  100% { transform: scale(.62); }
}
.xl-breathe-tip { font-size: 13px; color: #5b7a73; margin: 8px 0 0; }

/* ---------- 五大主题 ---------- */
.xl-topics { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.xl-topic {
  padding: 22px 18px; border-radius: 18px; background: #fff;
  border: 1px solid #E3EFEC; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.xl-topic:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(43,168,144,.16); border-color: rgba(43,168,144,.4); }
.xl-topic-icon { font-size: 30px; }
.xl-topic-title { font-size: 17px; font-weight: 800; color: #0C3B34; margin: 10px 0 6px; }
.xl-topic-desc { font-size: 13px; line-height: 1.7; color: #5b7a73; margin: 0 0 12px; min-height: 66px; }
.xl-topic-go { font-size: 13px; font-weight: 700; color: #2BA890; }

/* ---------- 文章卡片 ---------- */
.xl-articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.xl-article {
  background: #fff; border-radius: 16px; overflow: hidden;
  border: 1px solid #E3EFEC; transition: transform .2s, box-shadow .2s;
}
.xl-article:hover { transform: translateY(-4px); box-shadow: 0 18px 34px rgba(43,168,144,.18); }
.xl-article-cover { position: relative; aspect-ratio: 16/10; background: #eaf3f1; overflow: hidden; }
.xl-article-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.xl-article-flag {
  position: absolute; top: 10px; left: 10px; font-size: 12px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #2BA890, #1C7C8C); padding: 4px 10px; border-radius: 999px;
}
.xl-article-body { padding: 14px 16px 16px; }
.xl-article-title { font-size: 16px; font-weight: 700; color: #0C3B34; margin: 0 0 8px; line-height: 1.45; }
.xl-article-sum { font-size: 13px; color: #5b7a73; line-height: 1.7; margin: 0 0 12px; min-height: 44px; }
.xl-article-meta { display: flex; gap: 12px; font-size: 12px; color: #8aa39c; flex-wrap: wrap; }
.xl-article-author { color: #2C5A52; font-weight: 600; }

/* ---------- 热门 + 双栏 ---------- */
.xl-block--split { display: grid; grid-template-columns: 1fr 320px; gap: 30px; align-items: start; }
.xl-hot { display: flex; flex-direction: column; gap: 10px; }
.xl-hot-item {
  display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px;
  background: #fff; border: 1px solid #E3EFEC; transition: transform .15s, border-color .15s;
}
.xl-hot-item:hover { transform: translateX(3px); border-color: rgba(43,168,144,.4); }
.xl-hot-num {
  flex: 0 0 30px; height: 30px; border-radius: 9px; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px; color: #fff; background: #B9D6CF;
}
.xl-hot-num--1 { background: linear-gradient(135deg, #2BA890, #1C7C8C); }
.xl-hot-num--2 { background: #4FBFA6; }
.xl-hot-num--3 { background: #6FC9B6; }
.xl-hot-title { font-size: 14px; font-weight: 600; color: #0C3B34; line-height: 1.4; }
.xl-hot-meta { font-size: 12px; color: #8aa39c; margin-top: 3px; }

.xl-split-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 18px; }
.xl-side-card {
  padding: 20px; border-radius: 18px; color: #0C3B34;
  background: linear-gradient(160deg, #2BA890, #1C7C8C); border: none;
}
.xl-side-card--soft { background: linear-gradient(160deg, #EAF8F3, #E2F1F8); border: 1px solid rgba(43,168,144,.18); }
.xl-side-head { font-size: 16px; font-weight: 800; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.xl-side-card--soft .xl-side-head { color: #0C3B34; }
.xl-side-text { font-size: 13px; line-height: 1.8; color: rgba(255,255,255,.92); margin: 0 0 14px; }
.xl-side-card--soft .xl-side-text { color: #4a6b64; }
.xl-side-btn {
  display: inline-block; padding: 11px 18px; border-radius: 999px; font-size: 14px; font-weight: 700;
  text-decoration: none; color: #0E6B5C; background: #fff;
}
.xl-side-btn--ghost { color: #0E6B5C; background: rgba(255,255,255,.8); }

/* ---------- FAQ ---------- */
.xl-faq { display: flex; flex-direction: column; gap: 10px; }
.xl-faq-item {
  background: #fff; border: 1px solid #E3EFEC; border-radius: 14px; padding: 4px 18px;
  transition: border-color .2s, box-shadow .2s;
}
.xl-faq-item[open] { border-color: rgba(43,168,144,.4); box-shadow: 0 10px 24px rgba(43,168,144,.12); }
.xl-faq-q {
  cursor: pointer; font-size: 15px; font-weight: 700; color: #0C3B34; padding: 14px 0;
  display: flex; align-items: center; justify-content: space-between; list-style: none;
}
.xl-faq-q::-webkit-details-marker { display: none; }
.xl-faq-mark { font-size: 20px; color: #2BA890; font-weight: 700; }
.xl-faq-a { font-size: 14px; line-height: 1.85; color: #4a6b64; padding: 0 0 16px; }

/* ---------- 终极 CTA ---------- */
.xl-final {
  margin: 34px 0 10px; padding: 52px 28px; border-radius: 24px; text-align: center;
  background: linear-gradient(160deg, #EAF8F3, #CFE9F2);
  border: 1px solid rgba(43,168,144,.18);
}
.xl-final-title { font-size: 28px; font-weight: 800; color: #0C3B34; margin: 0 0 10px; }
.xl-final-text { font-size: 15px; line-height: 1.8; color: #4a6b64; max-width: 620px; margin: 0 auto 24px; }

.xl-empty { padding: 30px; text-align: center; color: #8aa39c; background: #fff; border-radius: 14px; border: 1px dashed #cfe2dd; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .xl-topics { grid-template-columns: repeat(2, 1fr); }
  .xl-articles { grid-template-columns: repeat(2, 1fr); }
  .xl-block--split { grid-template-columns: 1fr; }
  .xl-split-side { position: static; }
  .xl-title { font-size: 38px; }
}
@media (max-width: 560px) {
  .xl-topics { grid-template-columns: 1fr; }
  .xl-articles { grid-template-columns: 1fr; }
  .xl-hero { margin: 0 -16px; padding: 54px 16px 44px; }
  .xl-title { font-size: 32px; }
  .xl-hero-stats { gap: 22px; }
}
