/* Article-only styles. The shared header and footer retain the site's design. */
.blog-guide { background: #0f252d; }
/* The header is kept tight (title, a one-line deck, the byline) so the
   article starts above the fold on a phone. */
.guide-wrap { width: min(920px, calc(100% - 40px)); margin: 16px auto 52px; }
.guide-article { padding: 32px 56px 44px; border: 1px solid #dbe4e6; border-radius: 18px; background: #fff; color: #24373e; color-scheme: light; }
.guide-article :focus-visible { outline-color: #087583; }
.guide-header { margin-bottom: 18px; }
.guide-header h1 { margin: 0 0 6px; color: #112832; font-size: clamp(32px, 4.5vw, 49px); line-height: 1.12; letter-spacing: -.04em; }
.guide-deck { color: #536870; font-size: 18px; line-height: 1.6; }
.guide-byline { margin-top: 4px; font-size: 13px; line-height: 1.5; color: #536870; }
.guide-byline span { padding: 0 6px; }
.guide-content { font-size: 16px; line-height: 1.85; }
.guide-content h2, .guide-related h2 { margin: 44px 0 16px; color: #112832; font-size: 28px; line-height: 1.25; letter-spacing: -.025em; }
.guide-content h3 { margin: 30px 0 12px; color: #18343e; font-size: 21px; line-height: 1.35; letter-spacing: -.02em; }
.guide-content p { margin: 0 0 18px; }
.guide-content a, .guide-related a { color: #066b79; text-decoration-thickness: 1px; }
.guide-content a:hover, .guide-related a:hover { color: #034c58; text-decoration-thickness: 2px; }
.guide-content ul, .guide-content ol { padding-left: 25px; margin: 16px 0 24px; }
.guide-content li { padding-left: 4px; margin-bottom: 10px; }
.guide-content strong { font-weight: 650; color: #19323c; }
.guide-content .likes-overview { margin: 0 0 28px; overflow: hidden; border: 1px solid #ebded2; border-radius: 16px; background: #fff7ef; }
.likes-overview figcaption { padding: 30px 34px 0; }
.visual-kicker { display: block; color: #427079; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.likes-overview .visual-kicker { color: #9a4f39; }
.guide-content .likes-overview h2 { margin: 8px 0 0; font-size: 27px; line-height: 1.25; }
.allowance-display { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 32px; padding: 30px 34px; }
.guide-content .allowance-number { margin: 0; color: #102e39; font-size: clamp(50px, 12vw, 112px); font-weight: 700; line-height: .95; letter-spacing: -.07em; }
.allowance-number span { display: block; margin-top: 14px; font-size: 20px; font-weight: 600; line-height: 1.4; letter-spacing: -.02em; }
.guide-content .allowance-context { margin: 12px 0 0; color: #6c625c; font-size: 12px; line-height: 1.5; }
.allowance-grid { width: min(100%, 216px); justify-self: end; }
.allowance-grid svg { display: block; width: 100%; height: auto; fill: #d75d47; }
.guide-content .allowance-grid p { margin: 12px 0 0; color: #896052; font-size: 12px; text-align: center; line-height: 1.5; }
.overview-paid { display: flex; align-items: center; gap: 20px; padding: 20px 34px; background: #102e39; }
.overview-paid > span { color: #7de1e7; font-family: Arial, sans-serif; font-size: 54px; line-height: .8; }
.guide-content .overview-paid p { margin: 0; line-height: 1.5; }
.overview-paid strong { display: block; color: #fff; font-size: 17px; }
.overview-paid p > span { display: block; color: #c2d8de; font-size: 12px; }
.article-table-wrap { margin: 24px 0 12px; }
.guide-content table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 14px; line-height: 1.6; text-align: left; }
.guide-content caption { margin-bottom: 12px; text-align: left; font-size: 13px; color: #536870; }
.guide-content th, .guide-content td { padding: 14px 16px; border-bottom: 1px solid #dbe4e6; vertical-align: top; overflow-wrap: anywhere; }
.guide-content thead { background: #eaf2f4; color: #19323c; }
.guide-content th:first-child { width: 19%; }
.guide-content th:nth-child(2) { width: 24%; }
.guide-content tbody tr:nth-child(even) { background: #f7fafb; }
.guide-content .source-note { color: #536870; font-size: 12px; line-height: 1.7; }
.guide-content .article-cta { margin: 32px 0; padding: 28px; background: #102e39; border-radius: 10px; color: #d9e5e9; }
.guide-content .article-cta h3 { margin: 0 0 12px; color: #fff; font-size: 25px; }
.guide-content .article-cta .button { color: #092129; background: #37dced; text-decoration: none; }
.guide-content .article-cta-secondary { display: block; width: fit-content; margin-top: 14px; color: #c3f5fa; font-size: 13px; }
.guide-content .likes-visual { margin: 30px 0 36px; padding: 30px; border: 1px solid #d7e4e3; border-radius: 16px; background: #f4f8f7; }
.guide-content .likes-visual h3 { margin: 8px 0 28px; font-size: 24px; line-height: 1.3; }
.guide-content .reset-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; padding: 0; margin: 0; }
.guide-content .reset-steps li { position: relative; padding: 0; margin: 0; }
.reset-steps li:not(:last-child)::after { content: ''; position: absolute; top: 26px; left: 60px; width: calc(100% - 44px); border-top: 1px solid #adc5c5; }
.visual-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px; color: #176b75; background: #e0eeec; border: 1px solid #bcd6d5; border-radius: 50%; }
.reset-steps li:first-child .visual-icon { color: #b24d38; background: #fbe9df; border-color: #edcbbb; }
.visual-icon svg { width: 26px; height: 26px; }
.likes-visual .visual-step { display: block; margin-bottom: 6px; color: #607779; font-size: 12px; font-weight: 700; line-height: 1.6; letter-spacing: .1em; }
.reset-steps strong { display: block; font-size: 16px; line-height: 1.5; }
.guide-content .reset-steps p { margin: 8px 0 0; font-size: 13px; line-height: 1.7; color: #536870; }
.guide-content .likes-visual .visual-note { margin: 24px 0 0; padding-top: 16px; border-top: 1px solid #cfdee2; color: #536870; font-size: 12px; line-height: 1.7; }
.guide-content .tree-question { position: relative; margin: 0; padding: 16px 18px; border: 1px solid #b8cdce; border-radius: 8px; background: #fff; color: #183b44; font-size: 15px; font-weight: 650; text-align: center; line-height: 1.5; }
.guide-content .tree-start { width: min(100%, 420px); margin-inline: auto; background: #102e39; border-color: #102e39; color: #fff; }
.guide-content .tree-split { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; list-style: none; padding: 30px 0 0; margin: 0; }
.tree-split::before { content: ''; position: absolute; top: 15px; left: calc(25% - 4.5px); right: calc(25% - 4.5px); border-top: 1px solid #9eb9bb; }
.tree-split::after { content: ''; position: absolute; top: 0; left: 50%; height: 15px; border-left: 1px solid #9eb9bb; }
.guide-content .tree-branch { position: relative; min-width: 0; padding: 0; margin: 0; }
.tree-branch::before { content: ''; position: absolute; top: -15px; left: 50%; height: 15px; border-left: 1px solid #9eb9bb; }
.branch-label { position: relative; display: block; width: fit-content; margin: 0 auto 10px; color: #42656a; font-size: 12px; font-weight: 700; line-height: 1.3; text-transform: uppercase; letter-spacing: .1em; }
.tree-result { padding: 18px; border-top: 3px solid #9baead; border-radius: 3px 3px 8px 8px; background: #e8efed; }
.tree-result strong { display: block; font-size: 16px; line-height: 1.4; }
.guide-content .tree-result p { margin: 8px 0 0; color: #536870; font-size: 12px; line-height: 1.6; }
.tree-photos { background: #f9eade; border-color: #d67f52; }
.tree-plus { background: #dcefed; border-color: #378c8a; }
/* Sources and credits stay on the page, collapsed under a summary line. */
.guide-content .article-sources { margin-top: 36px; padding-top: 16px; border-top: 1px solid #dbe4e6; font-size: 13px; color: #536870; }
.article-sources summary { color: #19323c; font-size: 14px; font-weight: 600; cursor: pointer; }
.guide-content .article-sources p { margin: 12px 0; }
.guide-related { margin-top: 30px; padding-top: 28px; border-top: 1px solid #dbe4e6; }
.guide-related h2 { margin: 0 0 16px; font-size: 21px; }
.guide-related a { display: block; margin-top: 12px; font-size: 15px; }
.guide-related a span { margin-left: 6px; }
.guide-top { display: block; width: fit-content; margin: 25px auto 0; font-size: 14px; color: #c4d8df; }
@media (max-width: 700px) {
  .guide-wrap { width: calc(100% - 24px); margin-top: 10px; }
  .guide-article { padding: 20px 18px 28px; border-radius: 12px; }
  .guide-header { margin-bottom: 16px; }
  .guide-header h1 { font-size: clamp(29px, 7vw, 40px); }
  .guide-deck { font-size: 16px; }
  .guide-content { font-size: 16px; line-height: 1.8; }
  .guide-content h2 { font-size: 25px; }
  .guide-content h3 { font-size: 20px; }
  .likes-overview figcaption { padding: 22px 20px 0; }
  .guide-content .likes-overview h2 { font-size: 23px; }
  .allowance-display { gap: 20px; padding: 26px 20px; }
  .allowance-number span { margin-top: 10px; font-size: 14px; }
  .guide-content .allowance-context { max-width: 110px; font-size: 12px; }
  .guide-content .allowance-grid p { margin-top: 8px; font-size: 12px; }
  .overview-paid { gap: 14px; padding: 18px 20px; }
  .overview-paid > span { font-size: 43px; }
  .overview-paid strong { font-size: 15px; }
  .overview-paid p > span { font-size: 12px; }
  .guide-content .article-cta { padding: 20px; }
  .guide-content th, .guide-content td { padding: 12px 8px; }
  .guide-content table { font-size: 12px; }
  .guide-content th:first-child { width: 22%; }
  .guide-content th:nth-child(2) { width: 26%; }
  .guide-content .likes-visual { padding: 22px; }
  .guide-content .likes-visual h3 { font-size: 22px; }
  .guide-content .reset-steps { grid-template-columns: 1fr; }
  .guide-content .reset-steps { gap: 26px; }
  .guide-content .reset-steps li { padding-left: 62px; }
  .reset-steps .visual-icon { position: absolute; top: 0; left: 0; width: 42px; height: 42px; margin: 0; }
  .reset-steps li:not(:last-child)::after { top: 50px; bottom: -18px; left: 20px; width: 0; border-top: 0; border-left: 1px solid #adc5c5; }
  .guide-content .tree-question { padding: 14px; font-size: 14px; }
  .guide-content .tree-split { grid-template-columns: 1fr; gap: 20px; margin-left: 8px; padding: 18px 0 0 18px; border-left: 1px solid #9eb9bb; }
  .tree-split::before, .tree-split::after { display: none; }
  .tree-branch::before { top: 7px; left: -18px; width: 12px; height: 0; border-left: 0; border-top: 1px solid #9eb9bb; }
  .branch-label { margin: 0 0 10px; }
  .tree-result { padding: 14px; }
}
@media (max-width: 374px) {
  .guide-content th, .guide-content td { padding-inline: 6px; }
  .guide-content th:first-child { width: 28%; }
  .guide-content th:nth-child(2) { width: 32%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
