/* Ecommerce SEO (ecommerce-seo.html, body.pg-ecseo) and SEO for accountants (seo-for-accountants.html, body.pg-acseo) only.
   Every rule starts with one of those two classes, so nothing reaches other pages. */

/* hero label: links up to the parent SEO page */
.pg-ecseo .lhero .mono-lbl a,.pg-acseo .lhero .mono-lbl a{color:inherit;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.pg-ecseo .lhero .mono-lbl a:hover,.pg-acseo .lhero .mono-lbl a:hover{text-decoration-thickness:2px}
.pg-ecseo .lhero .mono-lbl i,.pg-acseo .lhero .mono-lbl i{font-style:normal;opacity:.55;margin:0 6px}

/* guide: some sections run to two paragraphs, and its links go to other pages */
.pg-ecseo .gbody p + p,.pg-ecseo .gbody .gfig + p,.pg-acseo .gbody p + p,.pg-acseo .gbody .gfig + p{margin-top:14px}
.pg-ecseo .gbody p a,.pg-acseo .gbody p a{color:var(--blue);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.pg-ecseo .gbody p a:hover,.pg-acseo .gbody p a:hover{text-decoration-thickness:2px}
.pg-ecseo .gbody code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.84em;background:var(--blue-tint);color:var(--ink);border-radius:6px;padding:1px 6px;overflow-wrap:anywhere}
/* accountants guide: one short list of the lines of work */
.pg-acseo .gbody .glines{list-style:none;display:grid;gap:10px;margin-top:14px}
.pg-acseo .gbody .glines li{padding-left:18px;position:relative;font-size:16.5px;line-height:1.65;color:#38414d}
.pg-acseo .gbody .glines li b{font-weight:600;color:var(--ink)}
.pg-acseo .gbody .glines + p{margin-top:16px}
.pg-acseo .gbody .glines li::before{content:"";position:absolute;left:0;top:.62em;width:7px;height:7px;border-radius:50%;background:var(--blue)}

/* stat band: "about" sits small beside the figure */
.pg-acseo .statband b em.ab{font-size:.42em;letter-spacing:0;margin:0 6px 0 0;vertical-align:.35em}

/* quiz result: one real client result (same look as the SEO hub) */
.pg-ecseo .qz-proof,.pg-acseo .qz-proof{border-left-color:var(--blue);display:grid;gap:6px}
.pg-ecseo .qz-proof .tag,.pg-acseo .qz-proof .tag{justify-self:start;font-family:var(--sans);font-weight:600;font-size:11px;letter-spacing:.13em;text-transform:uppercase;color:var(--blue);background:var(--blue-tint);border-radius:999px;padding:4px 10px}
.pg-ecseo .qz-proof b,.pg-acseo .qz-proof b{font-family:var(--sans);font-weight:500;font-size:17px;line-height:1.45;margin-top:4px}

/* ecommerce profit table: the margin column reads as a plain figure */
.pg-ecseo .nr .mg{color:#fff}

/* ecommerce results: five cards, the second row centred */
@media(min-width:1021px){
  .pg-ecseo #results .csgrid2{grid-template-columns:repeat(6,1fr)}
  .pg-ecseo #results .csgrid2 > *{grid-column:span 2}
  .pg-ecseo #results .csgrid2 > :nth-child(4){grid-column:2 / span 2}
}
@media(min-width:641px) and (max-width:1020px){
  .pg-ecseo #results .csgrid2 > :nth-child(5){grid-column:1 / -1;justify-self:center;width:calc(50% - 11px)}
}

/* accountants results: two cards, centred */
@media(min-width:1021px){
  .pg-acseo #results .csgrid2{grid-template-columns:repeat(2,minmax(0,394px));justify-content:center}
}
