/* What only guide No. 5, "What is SEO?", needs. Everything else comes from book.css. Built by tools/guides_page/build_guide_seo.py.
   Every class here starts ws-. Doesn't load guide-ai.css. */

/* this book's covers: Claret, with ZERO Blue for the last line of the title */
.ws-cv .cover,.ws-cv .backcover{background:var(--claret)}
.face .cov-t.ws-t{font-size:100px!important;line-height:.94!important}
.face .ws-cv .cov-art,.ws-cv .face .cov-art{width:340px}

/* the cover: the results settle into place, the pin lands, the cursor blinks */
.ws-row{animation:ws-rise .7s cubic-bezier(.2,.7,.3,1) both}
.ws-row.r1{animation-delay:.1s}.ws-row.r2{animation-delay:.3s}.ws-row.r3{animation-delay:.5s}
@keyframes ws-rise{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
.ws-pin{animation:ws-land .7s cubic-bezier(.2,.7,.3,1) .8s both}
@keyframes ws-land{from{opacity:0;transform:translateY(-18px)}to{opacity:1;transform:none}}
.ws-caret{animation:ws-blink 1.2s steps(1) infinite}
@keyframes ws-blink{50%{opacity:0}}
.ws-twk{transform-box:fill-box;transform-origin:center;animation:ws-tw 2.6s ease-in-out infinite}
@keyframes ws-tw{50%{transform:scale(1.25)}}
@media (prefers-reduced-motion:reduce){.ws-row,.ws-pin,.ws-caret,.ws-twk{animation:none!important;opacity:1;transform:none}}

/* long chapter heading */
.pg h2.ws-long{font-size:clamp(28px,7vw,36px)}
.face .pg h2.ws-long{font-size:34px}

/* numbered lists: a brass round number, ink outline, solid shadow */
.ws-parts{margin-top:12px!important;counter-reset:ws}
.ws-parts li{position:relative;counter-increment:ws;margin-top:12px;padding-left:46px;line-height:1.26;min-height:34px}
.ws-parts li::before{content:counter(ws);position:absolute;left:0;top:0;width:33px;height:33px;display:grid;place-items:center;border:3px solid var(--ink);border-radius:50%;background:var(--brass);box-shadow:2px 2px 0 var(--ink);font-size:18px;font-weight:900;line-height:1}
.ws-parts b{font-weight:900}

/* the closing "See how we..." line on each chapter */
.pg .ws-see{margin-top:18px;padding-top:12px;border-top:2.5px dotted rgba(17,23,27,.35);font-weight:700;line-height:1.28}
.pg .ws-go{margin-top:22px}

/* what happens next */
.ws-next li{padding:11px 0;align-items:start}
.ws-next svg{width:66px;height:66px}
.ws-next p{line-height:1.24}

/* the bookworm on the page that explains why we wrote this */
.ws-peek{width:150px;margin:26px 0 0 auto}
.face .ws-peek{position:absolute;right:54px;bottom:62px;width:176px;margin:0}

/* the opening paragraph of "Why we wrote this", set larger because it stands alone on its page */
.pg .ws-lead{font-size:1.28em;line-height:1.3}

/* the small flat drawings on the short pages */
.ws-spot{display:block;width:230px;margin:32px auto 0;overflow:visible}
.face .ws-spot{position:absolute;left:50%;margin:0 0 0 -115px;bottom:66px}
