/* ============================================================
   guide.css — 追悦体育 · 内容攻略页（/guides/）专用样式
   2026-10-08 新建。沿用 style.css 的品牌变量：
     --primary #143055 / --primary-light #1d4a73
     --accent  #ff6b35 / --accent-dark    #e5531f
   只在 guides/ 下的页面引用，不影响其它页面。
   ============================================================ */

/* ---------- 1. 开篇「直接给答案」框 ---------- */
.gl-answer {
  background: linear-gradient(135deg, rgba(20, 48, 85, .045), rgba(255, 107, 53, .07));
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 30px 34px;
  margin-bottom: 64px;
}
.gl-answer h2 { font-size: 21px; margin: 0 0 16px; color: var(--primary); }
.gl-answer ul { list-style: none; padding: 0; margin: 0; }
.gl-answer li {
  position: relative; padding-left: 26px; margin-bottom: 12px;
  font-size: 16px; line-height: 1.75; color: var(--text);
}
.gl-answer li:last-child { margin-bottom: 0; }
.gl-answer li::before { content: "→"; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 800; }
.gl-answer li b { color: var(--primary); font-weight: 700; }
.gl-answer .gl-answer-note {
  margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--border);
  font-size: 13.5px; color: var(--text-muted);
}

/* ---------- 2. 选点三维度（小卡） ---------- */
.gl-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 8px; }
.gl-pick .card { padding: 26px 24px; }
.gl-pick .card h3 { font-size: 17px; margin: 10px 0 8px; color: var(--primary); }
.gl-pick .card p { font-size: 14.5px; line-height: 1.7; color: var(--text-muted); margin: 0; }
.gl-pick .icon { font-size: 26px; }

/* ---------- 3. 地点块（图 + 数据 + 玩法） ---------- */
.gl-place {
  display: grid; grid-template-columns: 340px 1fr; gap: 0;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow);
  overflow: hidden; margin-bottom: 34px;
  scroll-margin-top: 96px;   /* 首页入口按 #锚点 跳转时避开 sticky header */
}
.gl-place-img { position: relative; min-height: 100%; background: var(--bg-soft); }
.gl-place-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gl-place-img .gl-badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--accent); color: #fff; font-weight: 800; font-size: 15px;
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
}
.gl-place-body { padding: 32px 34px; }
.gl-place-body h3 { font-size: 22px; margin: 0 0 6px; color: var(--primary); }
.gl-place-body .gl-tag { font-size: 14.5px; color: var(--accent-dark); font-weight: 600; margin: 0 0 18px; }

/* 数据行 */
.gl-meta {
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  padding: 14px 18px; background: var(--bg-soft);
  border-radius: 10px; margin-bottom: 20px;
}
.gl-meta span { font-size: 14px; color: var(--text); }
.gl-meta span b { display: block; font-size: 12px; color: var(--text-muted); font-weight: 500; margin-bottom: 2px; }

/* 玩法列表 */
.gl-place-body h4 {
  font-size: 14px; color: var(--text-muted); font-weight: 700;
  letter-spacing: 1px; margin: 0 0 10px;
}
.gl-list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.gl-list li { position: relative; padding-left: 20px; font-size: 14.5px; line-height: 1.65; color: var(--text); }
.gl-list li::before { content: "•"; position: absolute; left: 6px; color: var(--accent); font-weight: 800; }

/* 适合 / 注意 双栏 */
.gl-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.gl-cols > div { border-radius: 10px; padding: 14px 16px; font-size: 14px; line-height: 1.7; }
.gl-good  { background: rgba(20, 48, 85, .05); color: var(--text); }
.gl-warn  { background: rgba(255, 107, 53, .08); color: var(--text); }
.gl-cols b { display: block; font-size: 12.5px; letter-spacing: 1px; margin-bottom: 5px; }
.gl-good b { color: var(--primary); }
.gl-warn b { color: var(--accent-dark); }

/* 关联项目链接 */
.gl-links { display: flex; flex-wrap: wrap; gap: 8px; }
.gl-links a {
  font-size: 13px; color: var(--primary); text-decoration: none;
  border: 1px solid var(--border); border-radius: 999px; padding: 6px 14px;
  transition: all .18s;
}
.gl-links a:hover { border-color: var(--accent); color: var(--accent-dark); background: rgba(255, 107, 53, .06); }

/* ---------- 4. 速查表 ---------- */
.gl-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
.gl-table { width: 100%; border-collapse: collapse; min-width: 780px; }
.gl-table th, .gl-table td { padding: 15px 18px; text-align: left; font-size: 14.5px; border-bottom: 1px solid var(--border); }
.gl-table thead th { background: var(--primary); color: #fff; font-size: 14px; font-weight: 700; white-space: nowrap; }
.gl-table tbody tr:last-child td { border-bottom: none; }
.gl-table tbody tr:nth-child(even) { background: var(--bg-soft); }
.gl-table td:first-child { font-weight: 700; color: var(--primary); white-space: nowrap; }
.gl-table-hint { font-size: 13px; color: var(--text-muted); margin: 12px 0 0; }

/* ---------- 5. 住宿配套卡片 ---------- */
.gl-hotels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gl-hotel {
  border: 1px solid var(--border); border-radius: var(--radius); background: #fff;
  box-shadow: var(--shadow); padding: 26px 24px; display: flex; flex-direction: column;
}
.gl-hotel-star { font-size: 12.5px; color: var(--accent-dark); font-weight: 700; letter-spacing: .5px; margin-bottom: 8px; }
.gl-hotel h3 { font-size: 17px; margin: 0 0 4px; color: var(--primary); line-height: 1.45; }
.gl-hotel .gl-hotel-sub { font-size: 13px; color: var(--text-muted); margin: 0 0 14px; }
.gl-hotel ul { list-style: none; padding: 0; margin: 0 0 16px; }
.gl-hotel li { position: relative; padding-left: 18px; font-size: 14px; line-height: 1.7; color: var(--text); }
.gl-hotel li::before { content: "·"; position: absolute; left: 5px; color: var(--accent); font-weight: 800; }
.gl-hotel .gl-hotel-fit {
  margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--border);
  font-size: 13.5px; color: var(--text-muted);
}
.gl-hotel .gl-hotel-fit b { color: var(--primary); }

/* ---------- 6. FAQ ---------- */
.gl-faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 18px 50px 18px 22px; font-size: 16px; font-weight: 700; color: var(--primary);
  font-family: inherit; position: relative;
}
.gl-faq-q::after { content: "＋"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 17px; }
.gl-faq-item.open .gl-faq-q::after { content: "－"; }
.gl-faq-item .faq-a { display: none; }
.gl-faq-item.open .faq-a { display: block; }

/* ---------- 7. 响应式 ---------- */
@media (max-width: 980px) {
  .gl-place { grid-template-columns: 1fr; }
  .gl-place-img { min-height: 220px; }
  .gl-hotels { grid-template-columns: 1fr; }
  .gl-pick { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .gl-place-body { padding: 24px 20px; }
  .gl-list, .gl-cols { grid-template-columns: 1fr; }
  .gl-answer { padding: 24px 22px; }
}
