/* /services/seo/on-page-seo/ (3 Nov 2026). Sits on svc.css, tseo.css and ptool.css. One signature moment: the hero's search result, with the parts of the page behind it
   lighting up in turn. No class here contains "ad": ad blockers hide those. */

.onf { margin: 0; padding: clamp(20px, 2.4vw, 30px); border: 1px solid var(--rule); border-radius: 20px; background: var(--panel); }
.onf figcaption { margin: 0 0 14px; font: 700 1.1rem/1.3 var(--serif); }
.onf-r { padding: 14px 18px; border-radius: 12px; background: #FAFAF8; color: #1F1B17; }
.onf-q { display: inline-block; margin: 0 0 10px !important; padding: 3px 12px; border: 1px solid rgba(23,17,14,.25); border-radius: 99px; font-size: .84rem; }
.onf-u { margin: 0 !important; font-size: .8rem; color: #4F4A45; }
.onf-t { margin: 2px 0 4px !important; font: 500 1.08rem/1.3 var(--sans); color: #1A3E9E; }
.onf-d { margin: 0 !important; font-size: .86rem; line-height: 1.45; color: #3F3A35; }
.onf-l { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.onf-l li { padding: 8px 12px; border-radius: 8px; background: rgba(205,168,95,.14); }
.onf-l b { display: block; font: 700 .98rem/1.2 var(--serif); color: var(--gold); }
.onf-l span { font-size: .82rem; line-height: 1.3; display: block; }
.onf .note { margin: 12px 0 0 !important; }
.onf .note a { color: inherit; text-underline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) {
  .onf-r { animation: onfIn .5s .15s both; }
  .onf-l li { animation: onfIn .45s calc(.45s + var(--i) * .13s) both; }
}
@keyframes onfIn { from { opacity: 0; transform: translateY(8px); } }
@media (max-width: 420px) { .onf-l { grid-template-columns: minmax(0, 1fr); } }

/* text boxes in the tools */
.pk-f .pk-text { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--rule); border-radius: 10px; background: var(--panel2, transparent); color: var(--ink); font: 400 1rem/1.45 var(--sans); }
.pk-f textarea.pk-text { display: block; resize: vertical; }
.pk-f .pk-text:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }

/* the result preview, on a white card like a results page */
.onp-s { padding: 16px 18px; border-radius: 12px; background: #FAFAF8; color: #1F1B17; overflow-wrap: anywhere; }
.onp-u { margin: 0 !important; font-size: .82rem; color: #4F4A45; }
.onp-t { margin: 2px 0 4px !important; font: 500 1.15rem/1.3 var(--sans); color: #1A3E9E; }
.onp-d { margin: 0 !important; font-size: .9rem; line-height: 1.45; color: #3F3A35; }
.onp-c { margin: 14px 0 0; padding: 0; list-style: none; }
.onp-c li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); font-size: .95rem; }
.onp-c span { color: var(--muted); }
.onp-c b { font-weight: 600; text-align: right; }
.onp-c li[data-ok="1"] b { color: var(--gold); }

/* the two examples */
.onw-b { display: flex; flex-wrap: wrap; gap: 8px; }
.onw-b button { min-height: 44px; padding: 0 16px; border: 1px solid var(--rule); border-radius: 99px; background: none; color: var(--ink); font: 600 .92rem/1 var(--sans); cursor: pointer; }
.onw-b button[aria-pressed="true"] { border-color: var(--gold); background: var(--gold); color: var(--espresso); }
.onw-b button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
