/* ==========================================
   潜能开发学苑 · 频率疗愈专栏
   配色沿用主站：深蓝 #1a3a5c / 金 #b8860a / 绿 #1b5e20
   ========================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", -apple-system, BlinkMacSystemFont, sans-serif;
  background: #faf8f0;
  color: #333;
  line-height: 1.75;
  font-size: 16px;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ---------- 顶栏 ---------- */
.topbar {
  background: linear-gradient(135deg, #1a3a5c 0%, #2c5f8a 100%);
  color: #fff; padding: 12px 20px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
}
.topbar .logo { display: flex; align-items: center; gap: 10px; }
.topbar .logo-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, #b8860a, #d4a017);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: bold; color: #fff;
}
.topbar .logo-text { font-size: 18px; font-weight: 700; }
.topbar .logo-sub { font-size: 11px; opacity: .8; }
.topbar .contact-info { font-size: 13px; display: flex; gap: 16px; flex-wrap: wrap; }
.topbar .contact-info span { display: flex; align-items: center; gap: 4px; }

/* ---------- 导航 ---------- */
.navbar {
  background: #0d2a45; display: flex; flex-wrap: wrap; justify-content: center;
  border-bottom: 3px solid #b8860a;
}
.navbar a {
  color: #fff; padding: 12px 16px; font-size: 14px; font-weight: 500;
  transition: background .2s, color .2s; border-bottom: 3px solid transparent; margin-bottom: -3px;
}
.navbar a:hover, .navbar a.active { background: #1a3a5c; border-bottom-color: #d4a017; color: #ffd700; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 50%, #388e3c 100%);
  color: #fff; padding: 36px 20px; text-align: center; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,.1) 0%, transparent 60%);
  animation: pulse 5s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{transform:scale(1);opacity:.5} 50%{transform:scale(1.1);opacity:.8} }
.hero h1 { font-size: clamp(22px, 5vw, 34px); font-weight: 800; margin-bottom: 10px; position: relative; text-shadow: 2px 2px 4px rgba(0,0,0,.3); }
.hero p { font-size: clamp(14px, 3vw, 17px); opacity: .95; max-width: 760px; margin: 0 auto 6px; position: relative; }
.hero .highlight { color: #ffd700; font-weight: 700; }
.hero-meta { margin-top: 14px; font-size: 13px; opacity: .9; position: relative; }
.hero-meta span { display: inline-block; margin: 0 8px; }

/* ---------- 布局 ---------- */
.wrap { max-width: 1180px; margin: 0 auto; padding: 32px 20px; }
.grid { display: grid; grid-template-columns: 1fr 300px; gap: 28px; align-items: start; }
@media (max-width: 900px) { .grid { grid-template-columns: 1fr; } }

/* ---------- 区块标题 ---------- */
.section-title { text-align: center; margin-bottom: 26px; }
.section-title h2 { font-size: clamp(20px, 4vw, 28px); color: #1a3a5c; font-weight: 700; margin-bottom: 8px; }
.section-title .line { width: 60px; height: 4px; background: linear-gradient(90deg, #b8860a, #d4a017); margin: 0 auto; border-radius: 2px; }

/* ---------- 文章卡片 ---------- */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.post-card {
  background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,.07); border-top: 4px solid #b8860a;
  display: flex; flex-direction: column; transition: transform .28s, box-shadow .28s;
}
.post-card:hover { transform: translateY(-6px); box-shadow: 0 10px 26px rgba(0,0,0,.14); }
.post-card .thumb {
  height: 108px; text-align: center; font-size: 40px; color: #fff;
}
.post-card .body { padding: 18px 20px; flex: 1; display: flex; flex-direction: column; }
.post-card .tagline { font-size: 12px; color: #b8860a; font-weight: 700; letter-spacing: .5px; margin-bottom: 6px; }
.post-card h3 { font-size: 19px; line-height: 1.45; color: #1a3a5c; margin-bottom: 10px; font-weight: 700; }
.post-card h3 a:hover { color: #b8860a; }
.post-card p { font-size: 14px; color: #555; flex: 1; margin-bottom: 12px; }
.post-card .more { font-size: 14px; color: #1a3a5c; font-weight: 700; }
.post-card .more:hover { color: #b8860a; }

/* ---------- 正文排版 ---------- */
.article { background: #fff; border-radius: 14px; box-shadow: 0 4px 14px rgba(0,0,0,.06); padding: 34px 38px; }
@media (max-width: 700px) { .article { padding: 22px 18px; } }
.article h1 { font-size: clamp(22px, 4.4vw, 32px); color: #1a3a5c; line-height: 1.4; margin-bottom: 12px; font-weight: 800; }
.article .lead { font-size: 16px; color: #555; margin-bottom: 18px; padding-left: 14px; border-left: 4px solid #b8860a; background: #fdfaf2; padding: 10px 14px; border-radius: 0 6px 6px 0; }
.breadcrumb { font-size: 13px; color: #888; margin-bottom: 16px; }
.breadcrumb a:hover { color: #b8860a; }
.article-meta { font-size: 13px; color: #999; border-bottom: 1px dashed #ddd; padding-bottom: 12px; margin-bottom: 22px; }
.article h2 {
  font-size: clamp(19px, 3.4vw, 23px); color: #1a3a5c; margin: 34px 0 14px; font-weight: 700;
  padding-left: 12px; border-left: 5px solid #b8860a; line-height: 1.45;
}
.article h3 { font-size: 18px; color: #14405f; margin: 24px 0 10px; font-weight: 700; }
.article p { margin-bottom: 14px; color: #3a3a3a; }
.article strong { color: #14405f; }
.article ul, .article ol { margin: 0 0 16px 22px; }
.article li { margin-bottom: 8px; }
.article a.ilink { color: #14405f; border-bottom: 1px dashed #b8860a; font-weight: 600; }
.article a.ilink:hover { color: #b8860a; background: #fffbe9; }

/* ---------- 表格 ---------- */
.tbl-wrap { overflow-x: auto; margin: 18px 0 22px; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; background: #fff; min-width: 560px; }
table.tbl th { background: linear-gradient(135deg, #1a3a5c, #2c5f8a); color: #fff; padding: 11px 12px; text-align: left; font-weight: 600; }
table.tbl td { padding: 10px 12px; border-bottom: 1px solid #ececec; vertical-align: top; }
table.tbl tr:nth-child(even) td { background: #fbf9f3; }
table.tbl tr:hover td { background: #fff6e0; }
table.tbl td.hl { color: #c62828; font-weight: 700; }

/* ---------- 提示框 ---------- */
.callout { background: #fdfaf2; border: 1px solid #f0e2bd; border-left: 5px solid #b8860a; border-radius: 8px; padding: 16px 18px; margin: 20px 0; }
.callout .ct { font-weight: 700; color: #8a6200; margin-bottom: 6px; display: block; }
.callout p:last-child { margin-bottom: 0; }
.warn { background: #fff5f5; border-color: #f3cdcd; border-left-color: #c62828; }
.warn .ct { color: #c62828; }
.tip { background: #f2f9f3; border-color: #cfe6d2; border-left-color: #2e7d32; }
.tip .ct { color: #2e7d32; }

blockquote {
  background: #f4f7fa; border-left: 5px solid #2c5f8a; padding: 14px 18px; margin: 20px 0;
  border-radius: 0 8px 8px 0; color: #456; font-style: normal;
}
blockquote footer { margin-top: 8px; font-size: 13px; color: #888; }

/* ---------- CTA 组件 ---------- */
.cta-box {
  background: linear-gradient(135deg, #fffdf7 0%, #fff6e6 100%);
  border: 2px solid #e8c777; border-radius: 14px; padding: 22px 24px; margin: 28px 0;
  box-shadow: 0 4px 14px rgba(184,134,10,.12);
}
.cta-box .kicker {
  display: inline-block; background: #b8860a; color: #fff; font-size: 12px; font-weight: 700;
  padding: 3px 10px; border-radius: 20px; margin-bottom: 10px; letter-spacing: .5px;
}
.cta-box h4 { font-size: 19px; color: #14405f; margin-bottom: 8px; font-weight: 700; }
.cta-box p { font-size: 15px; color: #555; margin-bottom: 14px; }
.cta-btn {
  display: inline-block; background: linear-gradient(135deg, #d48806, #b8860a);
  color: #fff !important; font-size: 16px; font-weight: 700; padding: 13px 26px;
  border-radius: 30px; box-shadow: 0 4px 12px rgba(184,134,10,.35);
  transition: transform .2s, box-shadow .2s;
}
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 7px 18px rgba(184,134,10,.45); }
.cta-note { font-size: 12.5px; color: #8a7a55; margin-top: 10px; }
.cta-mini {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  background: #fff; border: 1px dashed #d9b45e; border-radius: 10px; padding: 12px 16px; margin: 16px 0;
}
.cta-mini span { font-size: 14.5px; color: #555; }
.cta-mini a {
  background: #1a3a5c; color: #fff !important; font-size: 14px; font-weight: 700;
  padding: 9px 18px; border-radius: 22px; white-space: nowrap;
}
.cta-mini a:hover { background: #b8860a; }

/* ---------- FAQ ---------- */
.faq-item { border: 1px solid #e6e2d6; border-radius: 10px; margin-bottom: 10px; overflow: hidden; background: #fff; }
.faq-item summary {
  cursor: pointer; padding: 13px 16px; font-weight: 700; color: #14405f; font-size: 15.5px;
  list-style: none; display: flex; align-items: center; gap: 8px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: '＋'; color: #b8860a; font-weight: 700; }
.faq-item[open] summary::before { content: '－'; }
.faq-item[open] summary { background: #fdfaf2; border-bottom: 1px dashed #e6e2d6; }
.faq-item .faq-a { padding: 12px 16px 14px; font-size: 15px; color: #555; }
.faq-item .faq-a p:last-child { margin-bottom: 0; }

/* ---------- 侧栏 ---------- */
.sidebar .box {
  background: #fff; border-radius: 14px; box-shadow: 0 4px 14px rgba(0,0,0,.06);
  padding: 20px; margin-bottom: 20px;
}
.sidebar h4 { font-size: 16px; color: #1a3a5c; margin-bottom: 12px; font-weight: 700; border-bottom: 2px solid #b8860a; padding-bottom: 8px; }
.sidebar ul { list-style: none; }
.sidebar li { margin-bottom: 10px; font-size: 14.5px; line-height: 1.6; }
.sidebar li a:hover { color: #b8860a; }
.sidebar .num { display: inline-block; width: 20px; height: 20px; background: #b8860a; color: #fff; border-radius: 50%; font-size: 12px; text-align: center; line-height: 20px; margin-right: 6px; }
.side-cta { background: linear-gradient(135deg, #1a3a5c, #2c5f8a); color: #fff; }
.side-cta h4 { color: #fff; border-bottom-color: #d4a017; }
.side-cta p { font-size: 14px; opacity: .92; margin-bottom: 14px; }
.side-cta .cta-btn { width: 100%; text-align: center; font-size: 15px; padding: 12px 10px; }
.side-cta .cta-note { color: #cfd8e3; }
.kv { display: flex; justify-content: space-between; font-size: 14px; padding: 7px 0; border-bottom: 1px dashed #eee; }
.kv b { color: #14405f; }

/* ---------- 相关阅读 ---------- */
.related { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin-top: 14px; }
.related a {
  display: block; background: #fdfaf2; border: 1px solid #ecdfc0; border-radius: 10px;
  padding: 14px 16px; font-size: 14.5px; color: #14405f; font-weight: 600; line-height: 1.5;
  transition: background .2s, transform .2s;
}
.related a:hover { background: #fff6e0; transform: translateY(-3px); }
.related a span { display: block; font-size: 12px; color: #b8860a; font-weight: 700; margin-bottom: 4px; }

/* ---------- 页脚 ---------- */
.disclaimer { background: #f4f1e8; border: 1px solid #e3ddcc; border-radius: 10px; padding: 16px 18px; margin: 32px 0 0; font-size: 13px; color: #6b6455; line-height: 1.7; }
.disclaimer b { color: #8a6200; }
.site-footer { background: #0d2a45; color: #cdd8e3; padding: 26px 20px; text-align: center; font-size: 13px; margin-top: 36px; }
.site-footer a { color: #ffd700; }
.site-footer .flinks { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin-bottom: 10px; }
.site-footer .flinks a:hover { text-decoration: underline; }

/* ---------- 编辑推荐产品卡 ---------- */
.prod-spot {
  display: flex; gap: 18px; align-items: flex-start;
  background: linear-gradient(135deg, #14405f 0%, #1a3a5c 55%, #2c5f8a 100%);
  color: #fff; border-radius: 14px; padding: 20px 22px; margin: 26px 0;
  box-shadow: 0 6px 18px rgba(26,58,92,.28);
}
@media (max-width: 620px) { .prod-spot { flex-direction: column; gap: 12px; } }
.prod-spot .ps-icon {
  flex: 0 0 54px; width: 54px; height: 54px; border-radius: 14px;
  background: linear-gradient(135deg, #b8860a, #d4a017);
  display: flex; align-items: center; justify-content: center; font-size: 26px;
}
.prod-spot .ps-main { flex: 1; }
.prod-spot .ps-tag {
  display: inline-block; font-size: 12px; font-weight: 700; color: #ffd700;
  border: 1px solid rgba(255,215,0,.5); border-radius: 20px; padding: 2px 10px; margin-bottom: 6px;
}
.prod-spot h4 { font-size: 19px; color: #fff; margin-bottom: 8px; font-weight: 700; }
.prod-spot ul { list-style: none; margin: 0 0 14px; }
.prod-spot li { font-size: 14.5px; color: #e3ecf5; margin-bottom: 5px; padding-left: 18px; position: relative; }
.prod-spot li::before { content: '✓'; position: absolute; left: 0; color: #ffd700; font-weight: 700; }
.prod-spot .ps-btn {
  font-size: 15px; padding: 11px 22px;
  background: linear-gradient(135deg, #ffd700, #e0a800); color: #14405f !important;
  box-shadow: 0 4px 12px rgba(0,0,0,.22);
}
.prod-spot .ps-btn:hover { color: #000 !important; }

/* ---------- 顶部披露条 ---------- */
.affbar {
  background: #fff8e1; border-bottom: 1px solid #f0e2bd; color: #8a6200;
  font-size: 12.5px; text-align: center; padding: 6px 14px;
}

/* ---------- 图片：卡片图 / 文章主图 / 图组 ---------- */
.post-card .thumb { height: 190px; overflow: hidden; background: #f7f9fb; border-bottom: 1px solid #eee7d8; }
.post-card .thumb img { display: block; height: 190px; width: auto; max-width: 100%; margin: 0 auto; object-fit: contain; }

.post-hero { margin: 4px 0 20px; text-align: center; }
.post-hero a { display: block; }
.post-hero img {
  width: 100%; max-width: 460px; border-radius: 12px; background: #fff;
  box-shadow: 0 6px 20px rgba(26,58,92,.16); border: 1px solid #ece6d6;
  transition: transform .3s, box-shadow .3s;
}
.post-hero a:hover img { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(26,58,92,.24); }
.post-hero figcaption { font-size: 12.5px; color: #999; margin-top: 8px; }

.prod-spot .ps-img { flex: 0 0 132px; width: 132px; height: 132px; border-radius: 12px; overflow: hidden; background: #fff; display: flex; align-items: center; justify-content: center; }
.prod-spot .ps-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
@media (max-width: 620px) { .prod-spot .ps-img { width: 100%; flex: none; } }

.gal { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin: 22px 0; }
.gal figure { background: #fff; border: 1px solid #ece6d6; border-radius: 10px; padding: 12px; text-align: center; }
.gal img { width: 100%; height: 150px; object-fit: contain; }
.gal figcaption { font-size: 13px; color: #666; margin-top: 8px; line-height: 1.5; }

@media (max-width: 640px) {
  .post-card .thumb, .post-card .thumb img { height: 150px; }
  .post-hero img { max-width: 100%; }
}
/* ---------- Healflux 专栏补充：价格行 / 优惠码徽标 ---------- */
.prod-spot .ps-price { display: inline-block; margin: 6px 0 8px; font-size: 19px; font-weight: 800; color: #b8860a; letter-spacing: .3px; }
.prod-spot .ps-price em { font-style: normal; font-size: 12.5px; font-weight: 500; color: #999; margin-left: 6px; }
.prod-spot .ps-code { margin-top: 8px; font-size: 12.5px; color: #8a6200; background: #fff8e1; border: 1px dashed #e6cf94; border-radius: 6px; padding: 5px 9px; display: inline-block; }
.cta-box .cta-code { margin-top: 10px; font-size: 13px; color: #8a6200; background: #fff8e1; border: 1px dashed #e6cf94; border-radius: 6px; padding: 6px 12px; display: inline-block; }
.callout.warn .ct { color: #b3261e; }
