/* ============================================================
   WBS single-post layout - dark hero + light reading body
   Woods Business Solutions. Modelled on the FieldRoutes article.
   Scoped to body.wbs-single (added by the plugin).
   Template 6220: hero container -> [wbs_post_hero]; body container
   -> featured image (cb475d3, bridges up) + content (3e4503d).
   ============================================================ */

.wbs-single{
  --lime:#CAF1A2;
  --lime-hover:#B8E08F;
  --ink:#232323;
  --ink-2:#4a4d55;
  --ink-3:#6b6e76;
  --paper:#FFFFFF;
  --line:#e6e6e3;
  --measure:720px;
  background:#FFFFFF !important;
}

/* ---------- dark hero band ---------- */
.wbs-single .wbs-hero{
  max-width:820px;margin:0 auto;text-align:center;padding:6px 24px 0;
  font-family:"Open Sans",-apple-system,sans-serif;
}
.wbs-single .wbs-hero-cat{
  display:inline-block;background:var(--lime);color:var(--ink);
  font-size:13px;font-weight:600;padding:6px 16px;border-radius:999px;margin-bottom:26px;
  transition:background .2s;
}
.wbs-single .wbs-hero-cat:hover{background:var(--lime-hover);}
.wbs-single .wbs-hero-title{
  color:#fff;font-size:clamp(30px,4.6vw,52px);font-weight:600;line-height:1.12;
  letter-spacing:-.02em;margin:0 auto;max-width:18ch;text-wrap:balance;
}
.wbs-single .wbs-hero-byline{
  display:flex;justify-content:center;align-items:center;gap:14px;flex-wrap:wrap;
  margin-top:26px;color:rgba(255,255,255,.72);font-size:14px;
}
.wbs-single .wbs-hero-dot{width:4px;height:4px;border-radius:50%;background:rgba(255,255,255,.4);}
.wbs-single .wbs-hero-share{
  display:flex;justify-content:center;align-items:center;gap:10px;margin-top:28px;
}
.wbs-single .wbs-hero-share-lbl{font-size:12.5px;color:rgba(255,255,255,.5);margin-right:2px;}
.wbs-single .wbs-hero-share a{
  display:grid;place-items:center;width:36px;height:36px;border-radius:50%;
  border:1px solid rgba(255,255,255,.2);color:rgba(255,255,255,.8);
  transition:border-color .2s,color .2s,background .2s;
}
.wbs-single .wbs-hero-share a:hover{border-color:var(--lime);color:var(--lime);}

/* ---------- featured image bridges hero into body ---------- */
.wbs-single .elementor-element-cb475d3{
  width:100%;max-width:720px;margin:-56px auto 0 !important;position:relative;z-index:2;
}
.wbs-single .elementor-element-cb475d3 img{
  width:100%;height:auto;border-radius:14px;box-shadow:0 20px 50px rgba(0,0,0,.28);display:block;
}

/* ---------- reading body ---------- */
.wbs-single .elementor-element-3e4503d{
  width:100%;max-width:var(--measure);margin:40px auto 0 !important;
}
.wbs-single .elementor-element-3e4503d,
.wbs-single .elementor-widget-theme-post-content{
  font-family:"Open Sans",-apple-system,sans-serif;color:var(--ink);
  font-size:18px;line-height:1.75;
}
.wbs-single .elementor-widget-theme-post-content p{margin:0 0 1.35em;}
.wbs-single .elementor-widget-theme-post-content h2{
  color:var(--ink);font-size:clamp(24px,2.6vw,30px);font-weight:600;
  line-height:1.25;letter-spacing:-.01em;margin:1.9em 0 .5em;
}
.wbs-single .elementor-widget-theme-post-content h3{
  color:var(--ink);font-size:21px;font-weight:600;line-height:1.3;margin:1.6em 0 .45em;
}
.wbs-single .elementor-widget-theme-post-content h4{
  color:var(--ink);font-size:18px;font-weight:600;margin:1.4em 0 .45em;
}
/* body links only - exclude our injected footer buttons/cards */
.wbs-single .elementor-widget-theme-post-content a:not([class*="wbs-post-"]):not(.wbs-chip){
  color:var(--ink) !important;text-decoration:underline;text-decoration-color:var(--lime);
  text-decoration-thickness:2px;text-underline-offset:3px;
}
.wbs-single .elementor-widget-theme-post-content a:not([class*="wbs-post-"]):hover{text-decoration-color:#8fbf5c;}
.wbs-single .elementor-widget-theme-post-content strong,
.wbs-single .elementor-widget-theme-post-content b{color:var(--ink);font-weight:600;}
.wbs-single .elementor-widget-theme-post-content ul,
.wbs-single .elementor-widget-theme-post-content ol{margin:0 0 1.35em;padding-left:1.4em;}
.wbs-single .elementor-widget-theme-post-content li{margin:.4em 0;}
.wbs-single .elementor-widget-theme-post-content li::marker{color:#8fbf5c;}
.wbs-single .elementor-widget-theme-post-content img{
  max-width:100%;height:auto;border-radius:10px;margin:1.6em 0;
  border:1px solid var(--line);box-shadow:0 6px 20px rgba(0,0,0,.06);
}
.wbs-single .elementor-widget-theme-post-content figure{margin:1.7em 0;}
.wbs-single .elementor-widget-theme-post-content figcaption{
  color:var(--ink-3);font-size:13.5px;text-align:center;margin-top:.6em;
}
.wbs-single .elementor-widget-theme-post-content blockquote{
  margin:1.7em 0;padding:8px 0 8px 22px;border-left:3px solid var(--lime);
  color:var(--ink);font-size:20px;font-style:italic;
}
.wbs-single .elementor-widget-theme-post-content hr{border:0;border-top:1px solid var(--line);margin:2em 0;}
.wbs-single .elementor-widget-theme-post-content code{
  font-family:ui-monospace,Menlo,Consolas,monospace;font-size:.9em;
  background:#f2f3f0;padding:2px 6px;border-radius:6px;color:#333;
}
.wbs-single .elementor-widget-theme-post-content pre{
  background:#1d1f23;color:#eee;border-radius:10px;padding:18px 20px;overflow-x:auto;margin:1.6em 0;
}
.wbs-single .elementor-widget-theme-post-content pre code{background:none;padding:0;color:#eee;font-size:14px;line-height:1.6;}
.wbs-single .elementor-widget-theme-post-content table{
  width:100%;border-collapse:collapse;margin:1.7em 0;font-size:15px;display:block;overflow-x:auto;
}
.wbs-single .elementor-widget-theme-post-content th,
.wbs-single .elementor-widget-theme-post-content td{
  border:1px solid var(--line);padding:10px 14px;text-align:left;vertical-align:top;
}
.wbs-single .elementor-widget-theme-post-content thead th,
.wbs-single .elementor-widget-theme-post-content tr:first-child td{
  background:#f6f7f4;color:var(--ink);font-weight:600;
}

/* ---------- content callout boxes (wbs-box / wbs-chip / wbs-kpi) ----------
   Authored in the post HTML with no styling of their own. Rendered here as
   dark, on-brand callouts with forced light text so they stay legible on the
   light reading body. */
.wbs-single .elementor-widget-theme-post-content .wbs-box{
  background:#232323 !important;border-left:4px solid var(--lime);border-radius:14px;
  padding:24px 28px;margin:1.9em 0;color:rgba(255,255,255,.86) !important;
}
.wbs-single .wbs-box h2,
.wbs-single .wbs-box h3,
.wbs-single .wbs-box h4{color:#fff !important;margin:0 0 12px !important;font-size:19px !important;}
.wbs-single .wbs-box p,
.wbs-single .wbs-box li{color:rgba(255,255,255,.82) !important;}
.wbs-single .wbs-box strong,
.wbs-single .wbs-box b{color:#fff !important;}
.wbs-single .wbs-box a{color:var(--lime) !important;text-decoration-color:var(--lime) !important;}
.wbs-single .wbs-box li::marker{color:var(--lime);}
.wbs-single .wbs-box .wbs-hr,
.wbs-single .wbs-box hr{border:0 !important;border-top:1px solid rgba(255,255,255,.16) !important;margin:16px 0 !important;}
.wbs-single .wbs-box .wbs-note{font-size:14px !important;color:rgba(255,255,255,.6) !important;}
.wbs-single .wbs-chiprow{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 0;}
.wbs-single .wbs-chip{
  display:inline-flex;align-items:center;font-size:13px;color:rgba(255,255,255,.82) !important;
  border:1px solid rgba(255,255,255,.22);border-radius:999px;padding:6px 14px;background:transparent !important;
}
.wbs-single .wbs-kpi{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:14px 0 6px;}
.wbs-single .wbs-kpi > div{
  background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.14);border-radius:10px;
  padding:12px 14px;font-size:14px;color:rgba(255,255,255,.82) !important;
}
.wbs-single .wbs-kpi > div:empty,
.wbs-single .wbs-kpi > div:has(> br:only-child){display:none;}
.wbs-single .wbs-kpi strong{display:block;color:#fff !important;margin-bottom:3px;font-weight:600;}

/* ---------- footer: keep reading + CTA ---------- */
.wbs-single .wbs-post-foot{margin-top:56px;font-family:"Open Sans",-apple-system,sans-serif;}
.wbs-single .wbs-post-more{margin-bottom:36px;}
.wbs-single .wbs-post-more-h{
  color:var(--ink);font-size:15px;font-weight:600;text-transform:none;
  margin:0 0 14px;padding-bottom:12px;border-bottom:1px solid var(--line);
}
.wbs-single .wbs-post-nav{display:grid;grid-template-columns:1fr 1fr;gap:14px;}
.wbs-single .wbs-post-navlink{
  display:flex;flex-direction:column;gap:5px;padding:16px 18px;
  border:1px solid var(--line);border-radius:12px;background:#fafaf8;
  transition:border-color .2s,transform .2s,box-shadow .2s;
}
.wbs-single .wbs-post-navlink:hover{border-color:#cfd0cc;transform:translateY(-2px);box-shadow:0 8px 24px rgba(0,0,0,.06);}
.wbs-single .wbs-post-navlbl{font-size:12px;color:var(--ink-3);}
.wbs-single .wbs-post-navttl{font-size:15px;color:var(--ink);font-weight:600;line-height:1.3;}
.wbs-single .wbs-post-cta{
  text-align:center;background:linear-gradient(135deg,#2b313b,#1c1f25);
  border-radius:20px;padding:44px 28px;
}
.wbs-single .wbs-post-cta h2{
  color:#fff;font-size:clamp(23px,2.6vw,30px);font-weight:600;
  margin:0 auto;max-width:22ch;letter-spacing:-.01em;line-height:1.15;
}
.wbs-single .wbs-post-cta p{color:rgba(255,255,255,.75);margin:14px auto 24px;max-width:48ch;font-size:16px;}
.wbs-single .wbs-post-cta-row{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;}
.wbs-single .wbs-post-btn{
  background:var(--lime);color:var(--ink);font-weight:600;padding:12px 24px;
  border-radius:999px;font-size:15px;transition:background .2s,transform .2s;
}
.wbs-single .wbs-post-btn:hover{background:var(--lime-hover);transform:translateY(-1px);}
.wbs-single .wbs-post-back{
  display:inline-flex;align-items:center;padding:12px 24px;border:1px solid rgba(255,255,255,.25);
  border-radius:999px;color:#fff;font-size:15px;transition:border-color .2s;
}
.wbs-single .wbs-post-back:hover{border-color:#fff;}

/* ---------- focus ---------- */
.wbs-single a:focus-visible{outline:2px solid var(--lime);outline-offset:2px;border-radius:4px;}

/* ---------- mobile ---------- */
@media(max-width:640px){
  .wbs-single .wbs-hero{padding:4px 18px 0;}
  .wbs-single .wbs-hero-cat{margin-bottom:18px;}
  .wbs-single .wbs-hero-byline{gap:10px;margin-top:18px;font-size:13px;}
  .wbs-single .wbs-hero-share{margin-top:22px;}
  .wbs-single .elementor-element-cb475d3{margin-top:-40px !important;}
  .wbs-single .elementor-element-cb475d3 img{border-radius:12px;box-shadow:0 12px 30px rgba(0,0,0,.24);}
  .wbs-single .elementor-element-3e4503d{margin-top:28px !important;}
  .wbs-single .elementor-element-3e4503d,
  .wbs-single .elementor-widget-theme-post-content{font-size:17px;line-height:1.7;}
  .wbs-single .wbs-post-nav{grid-template-columns:1fr;}
  .wbs-single .wbs-post-cta{padding:32px 22px;border-radius:16px;}
}
@media(prefers-reduced-motion:reduce){ .wbs-single *{transition:none !important;} }
