/* IGotAPro /new-home/ — realtor-channel homeowner checklist page (Nov 20, 2026).
   Linked ONLY from the /new-home/ page, after site.css. Every rule is scoped
   to this page via body[data-page="new-home"] or page-only class names, so
   nothing here can affect the rest of the site. External file (not inline)
   because the site serves a nonce CSP that blocks inline styles. */

/* Reading column: match the blog's ~700px article column. */
body[data-page="new-home"] .content-layout { max-width: 700px; }

/* One heading font: the site's heading serif (Fraunces) for the H1 too. */
body[data-page="new-home"] .content-layout h1 {
  font: 600 clamp(32px, 4.6vw, 42px) / 1.12 var(--serif);
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 6px 0 10px;
}

/* Keep "Sarasota–Manatee" on one line in the H1 (fix round v2, fix 5). */
.nw { white-space: nowrap; }

/* Checklist group subheads. */
body[data-page="new-home"] .content-layout h3 {
  font: 600 19px var(--serif);
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 26px 0 4px;
}

/* Print button (screen only — hidden in the print rules below).
   Its click is wired in new-home.js; no inline handler (nonce CSP). */
.print-btn {
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  background: var(--green);
  border: 0;
  border-radius: 999px;
  padding: 11px 22px;
  cursor: pointer;
}
.print-btn:hover { background: var(--green-2); }
.print-btn:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

/* "Text this checklist to yourself" + "Copy link" (realtor tracking patch,
   Nov 21, 2026; v2 same day after bench review): a pair of outline buttons
   under Print, in a flex row with a 10px gap. Both buttons match the Print
   button's height exactly: same 16px text on the paragraph's inherited
   1.65 line-height, with 9px vertical padding + a 2px border standing in
   for Print's 11px borderless padding (48px total, never below 44px).
   On narrow phones the pair shrinks slightly (15px text, tighter
   padding, 8px gap) so both buttons stay on ONE row beside each other
   instead of stacking. The sms: href and the copy action are wired in
   new-home.js (both carry the visitor's realtor ref when there is one);
   no inline handler or inline style (nonce CSP). The note sits UNDER
   the buttons at every width. The whole block is ONE paragraph (the
   site's paragraph margins then behave exactly as they did around the
   Print button alone). Hidden in print via .no-print on that paragraph
   plus the explicit rules in the print block below. */
.share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.text-self-btn {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  color: var(--green);
  background: transparent;
  border: 2px solid var(--green);
  border-radius: 999px;
  padding: 9px 20px;
  text-decoration: none;
  cursor: pointer;
}
.text-self-btn:hover { background: var(--green); color: var(--white); }
.text-self-btn:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.copy-link-btn {
  font: inherit;
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  color: var(--muted);
  background: transparent;
  border: 2px solid var(--line-dark);
  border-radius: 999px;
  padding: 9px 20px;
  cursor: pointer;
}
.copy-link-btn:hover { border-color: var(--green); color: var(--green); }
.copy-link-btn:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.content-layout .text-self-note {
  display: block;
  font-size: 0.9em;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 8px;
}
@media (max-width: 480px) {
  .share-row { gap: 8px; }
  .text-self-btn,
  .copy-link-btn { font-size: 15px; padding: 10px 13px; }
}

/* Checkbox-style checklist (same treatment as the blog checklist post).
   The box is drawn with CSS (a bordered ::before), not a font glyph, so it
   renders the same on every device and prints with a reliable border. */
ul.checklist { list-style: none; padding-left: 0; }
ul.checklist li { position: relative; padding-left: 32px; }
ul.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 17px;
  height: 17px;
  box-sizing: border-box;
  border: 2px solid var(--green);
  border-radius: 4px;
  background: transparent;
}

/* "Find a local …" link under each checklist / selling-soon item.
   Weight 600 and slightly smaller than body text so the item titles lead. */
.content-layout .find-link {
  display: block;
  margin-top: 3px;
  font-weight: 600;
  font-size: 0.94em;
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Closing call-to-action link, styled as a button. */
.content-layout .visit-btn {
  display: inline-block;
  font-weight: 700;
  color: var(--white);
  background: var(--green);
  border-radius: 999px;
  padding: 11px 22px;
  text-decoration: none;
}
.content-layout .visit-btn:hover { background: var(--green-2); }

/* No-vetting disclaimer (fix 15): a small, quiet note at the foot of the
   content. Deliberately NOT hidden in print — the handout carries it too. */
.fine-print {
  font-size: 0.85em;
  line-height: 1.5;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: 22px;
}

/* Print-only lines (the handout's web address) — never on screen. */
.print-only { display: none; }

/* Print: the checklist on paper, without site chrome.
   Hides the topline, header/nav, breadcrumb, footer, the print button
   itself, the closing CTA button and the "Need a local professional?"
   sales block; the web find-links are hidden too (dead on paper) and the
   print-only "Find local pros: igotapro.com" lines show instead. Prints
   the checklist full-width in plain black so checkboxes and item text
   stay legible on paper. */
@media print {
  .topline,
  .site-header,
  .breadcrumb-bar,
  .site-footer,
  .print-btn,
  .text-self-btn,
  .copy-link-btn,
  .visit-btn,
  .skip-link,
  .no-print,
  .content-layout .find-link { display: none !important; }

  .print-only {
    display: block;
    font-weight: 600;
    margin: 14px 0;
  }

  body[data-page="new-home"] .content-layout { max-width: none; }
  body[data-page="new-home"] .content-layout h1,
  body[data-page="new-home"] .content-layout h2,
  body[data-page="new-home"] .content-layout h3 { color: #000; }
  .content-layout p,
  .content-layout li { color: #000; }
  .content-layout a { color: #000; text-decoration: none; }
  ul.checklist li::before { border-color: #000; }
  ul.checklist li,
  .content-layout h2,
  .content-layout h3 { break-inside: avoid; }
  .content-layout h2,
  .content-layout h3 { break-after: avoid; }
}
