/* E-E-A-T Companion Guide, scoped stylesheet for the [eeat_guide] shortcode.
   Everything scoped under .eeat-guide, variables on the wrapper (never :root),
   headings and paragraphs reset to inherit so the host theme cannot recolour them. */

.eeat-guide{
  --navy:#1c2162; --navy2:#2a2f7e; --magenta:#e50b6e; --magenta-dark:#c60a60;
  --ink:#1c2162; --mist:#f4f5fa; --line:#e3e5f0; --muted:#5b6079; --good:#1a9e6a;
  --paper:#ffffff; --shadow:0 10px 30px rgba(28,33,98,.10);
  color:var(--ink); background:var(--mist);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  line-height:1.55; -webkit-font-smoothing:antialiased; font-size:16px;
  /* Content width, shared with the scorecard. Overridden per site from the plugin
     settings, which writes --maxw inline on this wrapper. 760px up to 2.15.0. */
  --maxw:1040px;
  max-width:var(--maxw); margin:0 auto; border-radius:0 0 18px 18px;
}
.eeat-guide *, .eeat-guide *::before, .eeat-guide *::after{box-sizing:border-box}
.eeat-guide h1, .eeat-guide h2, .eeat-guide h3, .eeat-guide p{color:inherit; margin:0}
.eeat-guide h1, .eeat-guide h2, .eeat-guide h3{line-height:1.15}
.eeat-guide p{margin:0 0 12px}
.eeat-guide a{color:var(--magenta)}
.eeat-guide .gwrap{padding:0 20px}

.eeat-guide .cover{background:linear-gradient(160deg,var(--navy) 0%,var(--navy2) 100%);color:#fff;padding:44px 20px 40px}
.eeat-guide .brandline{display:flex;align-items:center;gap:10px;font-weight:700;letter-spacing:.5px;text-transform:uppercase;font-size:12px;opacity:.85}
.eeat-guide .brandline .dot{width:10px;height:10px;border-radius:50%;background:var(--magenta);display:inline-block}
.eeat-guide .cover h1{font-size:34px;margin:16px 0 8px;font-weight:800}
.eeat-guide .cover .sub{font-size:17px;opacity:.92;margin:0;max-width:560px}
.eeat-guide .resultrow{margin-top:22px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16);border-radius:12px;padding:14px 16px}
.eeat-guide .resultrow .lab{font-size:12px;text-transform:uppercase;letter-spacing:.06em;opacity:.8;font-weight:700;margin-bottom:8px}
.eeat-guide .bandpick{display:flex;gap:6px;flex-wrap:wrap}
.eeat-guide .bandpick button{background:rgba(255,255,255,.10);border:1.5px solid rgba(255,255,255,.28);color:#fff;border-radius:999px;padding:8px 14px;font-weight:700;font-size:13px;cursor:pointer;font-family:inherit}
.eeat-guide .bandpick button[aria-pressed="true"]{background:var(--magenta);border-color:var(--magenta)}
.eeat-guide .opening{margin-top:16px;font-size:15px;opacity:.95;max-width:640px}
.eeat-guide .toolbar{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:18px 0 0}
.eeat-guide .btn{font-family:inherit;font-weight:800;font-size:14px;border-radius:999px;border:none;cursor:pointer;padding:11px 20px}
.eeat-guide .btn-primary{background:var(--magenta);color:#fff}
.eeat-guide .btn-primary:hover{background:var(--magenta-dark)}
.eeat-guide .howto{font-size:13.5px;color:var(--muted);margin-top:10px}

.eeat-guide .quick{background:#fff;border:2px solid var(--magenta);border-radius:16px;padding:22px;margin:22px 20px;box-shadow:var(--shadow)}
.eeat-guide .quick .tag{display:inline-block;background:var(--magenta);color:#fff;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;border-radius:999px;padding:3px 10px;margin-bottom:10px}
.eeat-guide .quick h2{margin:0 0 6px;font-size:20px;color:var(--ink)}

.eeat-guide section.pillar{background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow);margin:18px 20px;overflow:hidden}
.eeat-guide .pillar .phead{padding:22px 22px 14px;border-bottom:1px solid var(--line)}
.eeat-guide .pillar .plabel{display:flex;align-items:center;gap:12px}
.eeat-guide .pillar .letter{width:40px;height:40px;border-radius:10px;background:var(--navy);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:20px;flex:none}
.eeat-guide .pillar.trust .letter{background:var(--magenta)}
.eeat-guide .pillar h2{margin:0;font-size:22px;font-weight:800;color:var(--ink)}
.eeat-guide .pillar .why{margin:12px 0 0;font-size:14.5px;color:var(--muted)}
.eeat-guide .worked{margin:14px 22px 0;background:var(--mist);border:1px solid var(--line);border-radius:12px;padding:14px 16px}
.eeat-guide .worked .wl{font-size:11.5px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:var(--magenta);margin-bottom:8px}
.eeat-guide .worked .ba{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.eeat-guide .worked .ba .cell{font-size:13.5px}
.eeat-guide .worked .ba .cell .h{font-weight:800;color:var(--ink);font-size:12px;text-transform:uppercase;letter-spacing:.04em;margin-bottom:4px}
.eeat-guide .worked .ba .before{color:var(--muted)}
@media(max-width:520px){.eeat-guide .worked .ba{grid-template-columns:1fr}}

.eeat-guide .fix{padding:16px 22px;border-top:1px solid var(--line)}
.eeat-guide .fix .fa{font-size:16px;font-weight:800;color:var(--ink);display:flex;align-items:flex-start;gap:10px}
.eeat-guide .fix .mins{background:var(--mist);border:1px solid var(--line);color:var(--ink);font-size:11px;font-weight:800;border-radius:999px;padding:2px 9px;white-space:nowrap;margin-top:1px}
.eeat-guide .fix .fwhy{font-size:13.5px;color:var(--muted);margin:8px 0 0}
.eeat-guide .fix .step{font-size:14px;margin:8px 0 0}
.eeat-guide .fix .step b{color:var(--ink)}
.eeat-guide .fix .bench{font-size:13px;color:var(--good);font-weight:600;margin:6px 0 0}
.eeat-guide .plan{margin:12px 0 0;background:var(--mist);border:1px dashed var(--line);border-radius:10px;padding:12px 14px}
.eeat-guide .plan label{display:block;font-size:12px;font-weight:700;color:var(--ink);margin-bottom:6px}
.eeat-guide .plan input[type="text"]{width:100%;padding:10px 12px;border:1.5px solid var(--line);border-radius:9px;font-size:15px;font-family:inherit;color:var(--ink);background:#fff}
.eeat-guide .plan input[type="text"]:focus-visible{outline:3px solid var(--magenta);outline-offset:1px;border-color:var(--magenta)}
.eeat-guide .done{display:flex;align-items:center;gap:9px;margin-top:10px;font-size:14px;font-weight:700;color:var(--ink);cursor:pointer}
.eeat-guide .done input{width:20px;height:20px;accent-color:var(--magenta)}
.eeat-guide .fix.ticked{background:var(--mist)}
.eeat-guide .fix.ticked .fa{opacity:.6}

/* Save note */
.eeat-guide .savenote{margin:14px 20px 0;background:#fff;border:1px solid var(--line);border-left:4px solid var(--good);border-radius:10px;padding:11px 14px;font-size:13px;color:var(--muted)}
.eeat-guide .savenote b{color:var(--ink)}

/* Concertina fix head + body */
.eeat-guide .fixhead{display:flex;align-items:flex-start;gap:12px}
.eeat-guide .fixhead .fa{flex:1}
.eeat-guide .fixhead .done{margin-top:1px;flex:none}
.eeat-guide .toggle{background:none;border:none;color:var(--muted);font-size:15px;cursor:pointer;line-height:1;padding:2px 2px;flex:none;transition:transform .2s;display:none}
.eeat-guide .fix.ticked .toggle{display:block}
.eeat-guide .fix.ticked.open .toggle{transform:rotate(180deg)}
.eeat-guide .fixbody{overflow:hidden;transition:max-height .3s ease,opacity .2s;max-height:1600px;opacity:1;margin-top:8px}
.eeat-guide .fix.ticked .fixbody{max-height:0;opacity:0;margin-top:0}
.eeat-guide .fix.ticked.open .fixbody{max-height:1600px;opacity:1;margin-top:8px}

/* Fixed bottom progress */
.eeat-guide .gprogress{position:fixed;left:0;right:0;bottom:0;background:#fff;border-top:1px solid var(--line);box-shadow:0 -4px 14px rgba(28,33,98,.06);padding:10px 20px 12px;z-index:40}
.eeat-guide .gprogress .inner{max-width:var(--maxw);margin:0 auto}
.eeat-guide .gprogress .lbl{display:flex;justify-content:space-between;align-items:center;font-size:12px;font-weight:700;color:var(--ink);margin-bottom:6px}
.eeat-guide .gprogress .track{height:6px;background:var(--mist);border-radius:999px;overflow:hidden}
.eeat-guide .gprogress .track i{display:block;height:100%;width:0;background:var(--good);transition:width .4s}
.eeat-guide .reset-link{background:none;border:none;color:var(--muted);font-size:11px;text-decoration:underline;cursor:pointer;font-weight:600;padding:0 0 0 12px}
.eeat-guide .reset-link:hover{color:var(--magenta)}
.eeat-guide .foot{padding-bottom:84px}

.eeat-guide .capnote{background:rgba(229,11,110,.10);border:1px solid rgba(229,11,110,.4);border-radius:12px;padding:14px 16px;margin:18px 20px;font-size:14px;color:var(--ink)}
.eeat-guide .capnote b{color:var(--magenta)}

.eeat-guide .cta{background:linear-gradient(160deg,var(--navy),var(--navy2));color:#fff;border-radius:18px;padding:30px 26px;margin:24px 20px 10px;text-align:center;box-shadow:var(--shadow)}
.eeat-guide .cta h2{margin:0 0 10px;font-size:24px;font-weight:800}
.eeat-guide .cta p{opacity:.94;font-size:15px;max-width:560px;margin:0 auto 18px}
.eeat-guide .cta a.go{display:inline-block;background:var(--magenta);color:#fff;text-decoration:none;font-weight:800;padding:14px 26px;border-radius:999px;font-size:16px}
.eeat-guide .cta a.go:hover{background:var(--magenta-dark)}
/* Closing CTA on the respondent edition: prose, then the two routes side by side. */
.eeat-guide .cta .cta-body p{margin:0 auto 12px}
.eeat-guide .cta .cta-routes{display:flex;flex-wrap:wrap;gap:18px;justify-content:center;align-items:stretch;margin:22px 0 0;text-align:left}
.eeat-guide .cta .route{flex:1 1 300px;max-width:420px;display:flex;flex-direction:column;gap:14px;justify-content:space-between;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.22);border-radius:14px;padding:20px}
.eeat-guide .cta .route p{margin:0;font-size:14.5px;max-width:none;opacity:.96}
.eeat-guide .cta .route a.go{align-self:flex-start;padding:13px 22px;font-size:15px}
.eeat-guide .cta a.go.secondary{background:#fff;color:var(--navy)}
.eeat-guide .cta a.go.secondary:hover{background:var(--mist)}
.eeat-guide .cta .cta-close{margin:20px auto 0;font-size:15px;font-weight:600}
@media(max-width:600px){.eeat-guide .cta .cta-routes{flex-direction:column}.eeat-guide .cta .route{max-width:none}}
.eeat-guide .foot{padding:22px 20px 40px;color:var(--muted);font-size:12.5px;text-align:center}

.eeat-guide :focus-visible{outline:3px solid var(--magenta);outline-offset:2px}
.eeat-guide [tabindex="-1"]:focus,.eeat-guide [tabindex="-1"]:focus-visible{outline:none;box-shadow:none}

@media print{
  @page{size:A4;margin:14mm}
  .eeat-guide{background:#fff;font-size:11.5pt;color:#111;max-width:none}
  .eeat-guide .gprogress{display:none !important}
  .eeat-guide .foot{padding-bottom:0}
  .eeat-guide .fix.ticked .fixbody{max-height:none !important;opacity:1 !important;margin-top:8px !important}
  .eeat-guide .toggle{display:none !important}
  .eeat-guide .toolbar,.eeat-guide .bandpick,.eeat-guide .howto{display:none !important}
  .eeat-guide .cover,.eeat-guide .cta{background:var(--navy) !important;-webkit-print-color-adjust:exact;print-color-adjust:exact;border-radius:0;margin-left:0;margin-right:0}
  .eeat-guide section.pillar,.eeat-guide .quick{box-shadow:none;break-inside:avoid;margin-left:0;margin-right:0}
  .eeat-guide .fix{break-inside:avoid}
  .eeat-guide .plan input[type="text"]{border:none;border-bottom:1.5px solid #999;border-radius:0;min-height:24px}
  .eeat-guide .worked .before,.eeat-guide .worked .cell{color:#333 !important}
}
