/* Page fixes for the web parts on find-contracts, mos, partners, my-firm and forum.
   Loads after assets/webparts.css. No inline styles anywhere: the CSP forbids them. */

/* Tool pages give every <section> 72px of padding. Web-part sections sit inside a page
   section already, so they carry none of their own. */
.wp-c section.wp{padding:0}

/* FAQ: leave room for the open/close triangle so it does not touch the card edge */
.wp-c .wp-faq details{padding-left:30px}

/* The hero keeps the one primary "Start free". The same button lower on the page looks quieter. */
.wp-c-find .tool-cta .btn.primary,
.wp-c-forum .tool-cta .btn.primary{background:#fff;color:var(--navy);border-color:var(--line)}
.wp-c-find .tool-cta .btn.primary:hover,
.wp-c-forum .tool-cta .btn.primary:hover{background:var(--surface);border-color:var(--gold)}

/* MOS page: the "Find your code" button near the top is the primary action. */
.wp-c-mos .next .go{background:#fff;color:var(--navy);border:1px solid var(--line)}
.wp-c-mos .next .go:hover{background:var(--surface);border-color:var(--gold)}
.wp-c-mos .wp-primary{margin:6px 0 18px}
.wp-c-mos .wp-related,
.wp-c-mos .wp-sample,
.wp-c-mos .wp-next{max-width:66ch}
.wp-c-mos .wp-related h2{font-size:1.05rem;margin:0 0 8px}
.wp-c-mos .wp-next h2{font-size:1.3rem;margin:0 0 8px}
.wp-c-mos .wp-next p{max-width:60ch}
.wp-c-mos .naics-lookup{max-width:none}

/* Forum room cards */
.wp-c-forum .wp-cards{margin:8px 0 0}
.wp-c-forum .wp-card h3{font-family:"Source Serif 4",Georgia,"Times New Roman",serif}

/* Lookup sections: keep the intro line short and the tool wide enough to read */
.wp-c .wp-lead{font-size:1.05rem;color:var(--ink-2);max-width:36rem;margin:0 0 6px}
