/* Shared public refinements: no changes to saved site colors or page-builder layouts. */
.public-site :where(a,button,[role="button"]){-webkit-tap-highlight-color:transparent}
.public-site :where(a,button,[role="button"]):focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.public-site :where(.card,.feed-post,.plugin-card){transition:border-color var(--np-duration-base,160ms) ease,box-shadow var(--np-duration-base,160ms) ease}
.public-site :where(.card,.feed-post,.plugin-card):focus-within{border-color:var(--accent)}
.public-site :where(input,textarea,select){max-width:100%}
.public-site :where(.page-header,.section-heading) h1{line-height:var(--np-leading-tight,1.2)}
@media(prefers-reduced-motion:reduce){.public-site :where(.card,.feed-post,.plugin-card){transition:none}}

/* Restore modern sans-serif typography on public pages. */
body.public-site{font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif}
body.public-site :where(h1,h2,h3,h4,h5,h6,p,article,section){font-family:inherit}

/* Keep typography consistent in public feed and Page Builder content. */
body.public-site{--np-font:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;--font-family:var(--np-font);font-family:var(--np-font)}
body.public-site :is(h1,h2,h3,h4,h5,h6,.feed-post,.feed-post-content,.feed-post-title,.page-block){font-family:var(--np-font)}
body.public-site :is(.feed-post,.page-block) :is(p,span,a,div){font-family:inherit}
