/* Page-only styling for the beginner investor guide; the rest comes from /site.css.
   Components rendered from content blocks: .example .compare .tick-list .warn (.takeaway/.checks/.steps exist in site.css). */
.guide-badge { display: inline-block; font-family: 'Rubik', sans-serif; font-weight: 700; font-size: 14px; background: var(--yellow); color: var(--ink) !important; border-radius: 999px; padding: 4px 14px; margin: 0 0 16px; }
.guide-not-for { margin-top: 20px; padding: 16px 20px; border-radius: 12px; background: var(--bg-soft); font-size: 16px; color: var(--grey); }
.guide-toc-title { margin-top: 44px; }
.guide-toc { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; counter-reset: toc; }
.guide-toc a { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); text-decoration: none; font-family: 'Rubik', sans-serif; font-weight: 700; font-size: 17px; transition: border-color .2s ease, box-shadow .2s ease; }
.guide-toc a:hover { border-color: var(--blue); box-shadow: 0 8px 20px rgba(8,107,181,0.10); }
.toc-num { flex: 0 0 34px; height: 34px; border-radius: 9px; background: var(--blue-dark); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 900; }
.guide-chapter { scroll-margin-top: 90px; }
.guide-chapter h3 { font-size: 20px; margin: 28px 0 8px; }
.guide-author { margin-top: 20px; }

.warn { margin: 24px 0; padding: 16px 20px; border-radius: 12px; background: #FFF8D6; border-inline-start: 5px solid var(--yellow); font-size: 17px; line-height: 1.7; }
.example { margin: 24px 0; border: 1px solid var(--line); border-top: 4px solid var(--yellow); border-radius: 14px; background: #fff; padding: 18px 22px; }
.example-title { font-family: 'Rubik', sans-serif; font-weight: 900; font-size: 17px; color: var(--blue-dark); margin-bottom: 8px; }
.example dl { margin: 0; }
.example .row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
.example .row:first-child { border-top: 0; }
.example dt { color: var(--grey); font-size: 16px; }
.example dd { margin: 0; font-family: 'Rubik', sans-serif; font-weight: 700; font-size: 16px; color: var(--ink); }
.article-body .example-note { font-size: 15px; color: var(--grey); margin: 10px 0 0; }
.compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 24px 0; }
.compare-col { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: 14px; padding: 18px 20px; }
.compare-col:last-child { border-top-color: var(--yellow); }
.compare-col h4 { font-family: 'Rubik', sans-serif; font-weight: 900; font-size: 18px; margin: 0 0 8px; color: var(--ink); }
.compare-col ul { margin: 0; padding-inline-start: 20px; }
.article-body .compare-col li { font-size: 16px; line-height: 1.65; margin-bottom: 6px; }
.tick-list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 12px; }
.tick-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; color: var(--grey); }
.tick-list strong { color: var(--ink); }
.tick-list .box { flex: 0 0 22px; height: 22px; margin-top: 4px; border: 2px solid var(--blue-dark); border-radius: 6px; background: #fff; }
@media (max-width: 600px) { .example .row { grid-template-columns: 1fr; gap: 2px; } }

/* browsing aids: in-page chapter pager */
.guide-pager { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); }
.guide-pager a { font-family: 'Rubik', sans-serif; font-weight: 700; font-size: 15px; color: var(--blue-dark); text-decoration: none; padding: 8px 14px; border-radius: 10px; background: #fff; border: 1px solid var(--line); }
.guide-pager a:hover { border-color: var(--blue); }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
