/* mytreasuremap.fun guide and blog pages. Loads after home.css and pricing.css and reuses
   their tokens, top bar, buttons, FAQ, closer and footer. */

.guide { max-width: 760px; width: 100%; margin: 0 auto; display: flex; flex-direction: column; gap: 28px; }
.guide h1 { font-size: clamp(2.1rem, 6vw, 3.2rem); }
.guide h2 { font-size: clamp(1.6rem, 4.5vw, 2.1rem); text-align: left; }
.guide h3 { font-size: 1.25rem; }
.guide p, .guide li { font-size: 1.08rem; }
.guide section { display: flex; flex-direction: column; gap: 14px; }
.guide ul, .guide ol { margin: 0; padding-left: 1.3em; display: flex; flex-direction: column; gap: 6px; }
.meta { color: var(--ink-soft); font-size: .92rem; }
.kicker { font-family: var(--display); font-weight: 800; color: var(--tomato); text-transform: uppercase; letter-spacing: .06em; font-size: .9rem; }

.answer {
  background: var(--white); border: 3px solid var(--ink); border-radius: 22px; box-shadow: 6px 6px 0 var(--ink);
  padding: 20px 22px; display: flex; flex-direction: column; gap: 8px;
}
.answer b.label { font-family: var(--display); font-weight: 800; font-size: 1.1rem; }

.steps-list { list-style: none; padding: 0 !important; counter-reset: step; gap: 14px !important; }
.steps-list li {
  counter-increment: step; position: relative; padding: 16px 18px 16px 64px;
  background: #FFE7A3; border: 2px solid var(--ink); border-radius: 18px;
}
.steps-list li::before {
  content: counter(step); position: absolute; left: 14px; top: 14px; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; background: var(--tomato); color: #fff; border: 3px solid var(--ink);
  font-family: var(--display); font-weight: 900;
}
.steps-list b { font-family: var(--display); font-weight: 800; }

.spooky-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--white); border: 3px solid var(--ink); border-radius: 18px; overflow: hidden; }
.spooky-table th, .spooky-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.spooky-table thead th { background: #2B2148; color: #fff; font-family: var(--display); font-weight: 800; }
.spooky-table tbody tr:last-child td { border-bottom: none; }

.ages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.age { border: 2px solid var(--ink); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.age p { font-size: 1rem; }
.age-a { background: #FFE0C2; }
.age-b { background: #E4DBF7; }
.age-c { background: #CDEBD9; }

.clues { list-style: none; padding: 0 !important; gap: 12px !important; }
.clues li { background: var(--paper); border: 2px dashed #B9A36A; border-radius: 16px; padding: 14px 18px; }
.clues q { font-family: var(--hand); font-size: 1.35rem; line-height: 1.25; quotes: none; display: block; color: var(--paper-ink); }
.clues .where { display: block; margin-top: 4px; font-size: .95rem; color: var(--ink-soft); }

.tip { background: #CFE6FA; border: 2px solid var(--ink); border-radius: 18px; padding: 16px 20px; }
.tip b { font-family: var(--display); font-weight: 800; }

.inline-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; background: var(--ink); color: #fff; border-radius: 22px; padding: 20px 22px; }
.inline-cta p { color: #D9EAF6; flex: 1 1 260px; }
.inline-cta b { color: #fff; }
.inline-cta a:not(.btn) { color: #fff; font-weight: 700; }
.inline-cta .fine { flex: 1 1 100%; font-size: .98rem; }

.related { display: flex; flex-direction: column; gap: 8px; padding-top: 20px; border-top: 3px dashed var(--line); }
.related h2 { font-size: 1.4rem; margin-bottom: 2px; }
.related a { font-weight: 700; display: inline-flex; align-items: center; min-height: 44px; }

.c-spooky { background: #2B2148; }

@media (max-width: 860px) {
  .ages { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .steps-list li { padding-left: 58px; }
  .inline-cta .btn { flex: 1 1 100%; }
}

/* Blog posts: safety notes under clue lists, a sample map figure, a printable checklist.
   Printing a post keeps the clues and checklist and drops the rest. */
.safety { font-size: .98rem; color: var(--ink-soft); }
.figure { margin: 0; }
.figure img { width: 100%; height: auto; border: 3px solid var(--ink); border-radius: 18px; }
.figure figcaption { font-size: .92rem; color: var(--ink-soft); margin-top: 6px; }
.table-scroll { overflow-x: auto; }
.age-table th, .age-table td { font-size: .98rem; }
/* pricing.css also styles .sources (centered, pulled up 40px, padded inline-block links);
   reset that inside guides so Sources sits left-aligned under Keep exploring. */
.guide .sources { text-align: left; max-width: none; margin: 0; font-size: inherit; }
.guide .sources a { display: inline; padding: 0; }
.sources li { font-size: .92rem; }
.checklist { list-style: none; padding: 0 !important; }
.checklist li::before { content: "\2610"; margin-right: 10px; font-size: 1.2em; }
@media print {
  .topbar, .foot, .inline-cta, .related, .figure, .no-print { display: none !important; }
  .clues li { break-inside: avoid; }
  body { background: #fff; }
}

/* Blog index: one card per post, picture on the left from tablet width up. */
.post-list { display: flex; flex-direction: column; gap: 18px; }
.post-card { display: grid; grid-template-columns: 220px 1fr; gap: 18px; align-items: center; background: var(--white); border: 3px solid var(--ink); border-radius: 22px; padding: 14px; box-shadow: 4px 4px 0 var(--ink); }
.post-card img { width: 100%; height: auto; display: block; border-radius: 14px; border: 2px solid var(--ink); }
.post-card h2 { font-size: 1.35rem; margin: 2px 0 6px; }
.post-card h2 a { color: inherit; text-decoration: none; }
.post-card h2 a:hover { text-decoration: underline; }
.post-card p { font-size: 1rem; }
@media (max-width: 620px) { .post-card { grid-template-columns: 1fr; } }
