/* ==========================================================================
   Limitless Local — Blog single template styles (v2 polish)
   Scoped under .ll-blog. Enqueued only on single posts. Do not edit style.css.
   Brand: navy #001B52 · gold gradient 90deg #bd6c09 → #f0c862 · Plus Jakarta Sans
   ========================================================================== */
:root{
  --ll-navy:#001B52; --ll-navy-2:#0a2a6b; --ll-navy-deep:#06132f;
  --ll-gold-1:#bd6c09; --ll-gold-2:#f0c862;
  --ll-gold-grad:linear-gradient(90deg,#bd6c09 0,#f0c862 100%);
  /* button gradient starts a touch brighter so navy text passes WCAG AA (≥4.5:1) */
  --ll-gold-btn:linear-gradient(90deg,#cf8514 0,#f0c862 100%);
  --ll-ink:#16233a; --ll-muted:#5b6472; --ll-line:#e6e9ef; --ll-soft:#f5f8fc;
  --ll-radius:16px; --ll-shadow:0 10px 30px rgba(2,18,54,.10); --ll-shadow-sm:0 4px 14px rgba(2,18,54,.06);
  --ll-headoff:94px;
  --ll-font:'Plus Jakarta Sans',system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
}

/* The theme sets overflow-x:hidden on body, which turns body into a clip box
   and disables position:sticky for every descendant. `clip` on body gives the
   same no-horizontal-scroll behavior without creating a scroll container.
   (html keeps its own overflow-x:hidden — it propagates to the viewport and is
   harmless; clip on the ROOT would disable page scrolling entirely.)
   This file loads only on single posts. */
@supports (overflow-x: clip){
  html body{overflow-x:clip}
}

.ll-blog *{box-sizing:border-box}
.ll-blog{max-width:1200px;margin:0 auto;padding:28px 24px 80px;font-family:var(--ll-font);color:var(--ll-ink);line-height:1.7}
.ll-blog a{color:var(--ll-gold-1);text-decoration:none}
.ll-blog a:hover{text-decoration:underline}
.ll-blog a:focus-visible,.ll-blog button:focus-visible,.ll-blog summary:focus-visible{outline:3px solid var(--ll-gold-2);outline-offset:2px;border-radius:4px}

/* breadcrumbs */
.ll-crumbs{font-size:13px;color:var(--ll-muted);margin:6px 0 22px;display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.ll-crumbs a{color:var(--ll-muted)}.ll-crumbs a:hover{color:var(--ll-navy)}
.ll-crumbs .sep{opacity:.5}

/* layout — sidebar column stretches so the sticky ToC can travel the full article */
.ll-grid{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:52px}
.ll-main{min-width:0;max-width:760px}

/* header block */
.ll-eyebrow{display:inline-block;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--ll-navy);background:var(--ll-gold-grad);padding:6px 14px;border-radius:999px;margin-bottom:16px}
.ll-title{font-size:clamp(30px,4.2vw,44px);line-height:1.12;font-weight:800;letter-spacing:-.02em;color:var(--ll-navy);margin:0 0 18px}
.ll-meta{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:16px 0;border-top:1px solid var(--ll-line);border-bottom:1px solid var(--ll-line);margin-bottom:26px;position:relative}
.ll-meta:after{content:"";position:absolute;left:0;top:-1px;width:64px;height:2px;background:var(--ll-gold-grad)}
.ll-avatar{width:44px;height:44px;border-radius:50%;background:linear-gradient(135deg,var(--ll-navy),var(--ll-navy-2));color:#fff;display:grid;place-items:center;font-weight:700;font-size:16px;flex:none;box-shadow:0 0 0 2px #fff,0 0 0 4px var(--ll-gold-2)}
.ll-avatar img{width:100%;height:100%;border-radius:50%;object-fit:cover}
.ll-byline{font-size:14px;line-height:1.35}
.ll-byline b{color:var(--ll-navy);font-weight:700}
.ll-byline span{color:var(--ll-muted)}
.ll-meta-r{margin-left:auto;display:flex;gap:16px;font-size:13px;color:var(--ll-muted)}
.ll-meta-r b{color:var(--ll-ink);font-weight:600}

/* featured hero image */
.ll-hero-img{margin:0 0 28px;border-radius:16px;overflow:hidden;box-shadow:var(--ll-shadow);position:relative}
.ll-hero-img:before{content:"";position:absolute;left:0;top:0;right:0;height:4px;background:var(--ll-gold-grad);z-index:1}
.ll-hero-img img{display:block;width:100%;height:auto;max-height:440px;object-fit:cover}

/* tl;dr */
.ll-tldr{position:relative;background:var(--ll-soft);border:1px solid var(--ll-line);border-radius:14px;padding:22px 24px 20px;margin:0 0 30px;overflow:hidden}
.ll-tldr:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:var(--ll-gold-grad)}
.ll-tldr h4{display:inline-flex;align-items:center;gap:8px;margin:0 0 10px;font-size:12px;letter-spacing:.07em;text-transform:uppercase;font-weight:800;color:var(--ll-navy);background:var(--ll-gold-grad);padding:5px 12px;border-radius:999px}
.ll-tldr p{margin:0 0 8px;font-size:15.5px;color:var(--ll-ink)}
.ll-tldr :last-child{margin-bottom:0}

/* article typography */
.ll-body{font-size:17px}
.ll-body p{margin:0 0 20px}
.ll-body h2{font-size:26px;font-weight:800;color:var(--ll-navy);letter-spacing:-.01em;line-height:1.2;margin:44px 0 14px;scroll-margin-top:calc(var(--ll-headoff) + 14px)}
.ll-body h3{font-size:20px;font-weight:700;color:var(--ll-navy);margin:30px 0 10px;scroll-margin-top:calc(var(--ll-headoff) + 14px)}
.ll-body h2 a,.ll-body h3 a{color:inherit}
.ll-body ul,.ll-body ol{margin:0 0 20px;padding-left:0;list-style:none}
.ll-body ul li{position:relative;padding-left:30px;margin-bottom:12px}
.ll-body ul li:before{content:"";position:absolute;left:0;top:4px;width:18px;height:18px;border-radius:50%;background:#fbf3e5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%23bd6c09' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/11px no-repeat}
.ll-body ol{counter-reset:ll}
.ll-body ol li{counter-increment:ll;position:relative;padding-left:38px;margin-bottom:12px}
.ll-body ol li:before{content:counter(ll);position:absolute;left:0;top:0;width:26px;height:26px;border-radius:50%;background:var(--ll-navy);color:#fff;font-size:13px;font-weight:700;display:grid;place-items:center;box-shadow:0 0 0 1.5px var(--ll-gold-2)}
.ll-body blockquote{position:relative;margin:26px 0;padding:20px 24px;background:linear-gradient(135deg,#001b52,#0a2a6b);color:#fff;border-radius:14px;font-size:18px;font-weight:500;overflow:hidden}
.ll-body blockquote:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:var(--ll-gold-grad)}
.ll-body blockquote p{margin:0;color:#fff}
.ll-body table{width:100%;border-collapse:collapse;margin:24px 0;font-size:15px;box-shadow:var(--ll-shadow-sm);border-radius:12px;overflow:hidden}
.ll-body th{background:var(--ll-navy);color:#fff;text-align:left;padding:12px 16px;font-weight:600;border-bottom:2px solid var(--ll-gold-2)}
.ll-body td{padding:12px 16px;border-top:1px solid var(--ll-line)}
.ll-body tr:nth-child(even) td{background:var(--ll-soft)}
.ll-body figure{margin:24px 0}
.ll-body img{max-width:100%;height:auto;border-radius:12px}
.ll-body .wp-block-buttons,.ll-body .wp-block-button{margin:6px 0}
.ll-body .wp-block-button__link{display:inline-flex;align-items:center;gap:9px;background:var(--ll-gold-btn);color:var(--ll-navy);font-weight:800;padding:13px 22px;border-radius:999px}

/* note / pro-tip callout */
.ll-note{display:flex;gap:14px;margin:26px 0;padding:18px 20px;background:var(--ll-soft);border:1px solid var(--ll-line);border-radius:12px;position:relative;overflow:hidden}
.ll-note:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:var(--ll-gold-grad)}
.ll-note p{margin:0;font-size:15px}

/* FAQ accordion (in-content <details>, generated in PHP) */
.ll-body details.ll-faq{margin:0 0 12px;border:1px solid var(--ll-line);border-radius:12px;overflow:hidden;background:#fff;transition:box-shadow .2s}
.ll-body details.ll-faq[open]{box-shadow:var(--ll-shadow-sm);border-color:#f0c86266}
.ll-body details.ll-faq summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:14px;padding:16px 20px;font-size:17px;font-weight:700;color:var(--ll-navy);line-height:1.35}
.ll-body details.ll-faq summary::-webkit-details-marker{display:none}
.ll-body details.ll-faq summary:after{content:"";margin-left:auto;flex:none;width:20px;height:20px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23bd6c09' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/20px no-repeat;transition:transform .3s}
.ll-body details.ll-faq[open] summary:after{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23bd6c09' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E") center/20px no-repeat}
.ll-body details.ll-faq[open] summary{border-bottom:1px solid var(--ll-line)}
.ll-body details.ll-faq .ll-faq-a{padding:16px 20px}
.ll-body details.ll-faq .ll-faq-a>:last-child{margin-bottom:0}

/* generic button — gold gradient, navy text (WCAG AA) */
.ll-blog .ll-btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;background:var(--ll-gold-btn);color:var(--ll-navy);font-weight:800;font-size:15.5px;padding:14px 22px;border-radius:999px;white-space:nowrap;line-height:1.2;border:none;cursor:pointer;transition:transform .2s,box-shadow .2s}
.ll-blog .ll-btn:hover{transform:translateY(-2px);box-shadow:0 8px 22px rgba(189,108,9,.45);text-decoration:none;color:var(--ll-navy)}
.ll-blog .ll-btn.ghost{background:transparent;border:1.5px solid rgba(255,255,255,.55);color:#fff;font-weight:700}
.ll-blog .ll-btn.ghost:hover{background:rgba(255,255,255,.12);box-shadow:none;color:#fff}
.ll-blog .ll-btn svg{width:11px;height:11px;flex:none}

/* inline cta */
.ll-inline-cta{position:relative;margin:34px 0;padding:28px 30px;border-radius:16px;background:linear-gradient(120deg,#001b52,#123a86);color:#fff;display:flex;gap:20px;align-items:center;flex-wrap:wrap;box-shadow:var(--ll-shadow);overflow:hidden;border:1px solid rgba(240,200,98,.35)}
.ll-inline-cta:before{content:"";position:absolute;left:0;top:0;right:0;height:3px;background:var(--ll-gold-grad)}
.ll-inline-cta .t{flex:1;min-width:220px;position:relative}
.ll-inline-cta h4{margin:0 0 4px;font-size:20px;font-weight:700;color:#fff}
.ll-inline-cta p{margin:0;font-size:14.5px;color:rgba(255,255,255,.88)}

/* share */
.ll-share{display:flex;align-items:center;gap:12px;margin:40px 0 0;padding-top:24px;border-top:1px solid var(--ll-line);flex-wrap:wrap;position:relative}
.ll-share:after{content:"";position:absolute;left:0;top:-1px;width:64px;height:2px;background:var(--ll-gold-grad)}
.ll-share span{font-size:13px;font-weight:600;color:var(--ll-muted)}
.ll-share a{width:38px;height:38px;border-radius:50%;background:var(--ll-soft);display:grid;place-items:center;color:var(--ll-navy)}
.ll-share a:hover{background:var(--ll-navy);color:#fff;text-decoration:none}
.ll-share a.copied{background:#1c7c46;color:#fff}
.ll-share svg{width:16px;height:16px;fill:currentColor}

/* ============ SIDEBAR ============ */
.ll-side{display:flex;flex-direction:column;gap:22px}
.ll-card{position:relative;background:#fff;border:1px solid var(--ll-line);border-radius:var(--ll-radius);box-shadow:var(--ll-shadow-sm);overflow:hidden}
.ll-card:before{content:"";position:absolute;left:0;top:0;right:0;height:3px;background:var(--ll-gold-grad)}
.ll-card-h{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--ll-muted);padding:18px 20px 0}
.ll-card-h img{width:24px;height:auto;display:block}

/* cta card — explicit colors everywhere (theme heading colors would otherwise
   override inheritance and render navy-on-navy) */
.ll-cta{background:linear-gradient(160deg,#001b52,#06132f);border:1px solid rgba(240,200,98,.35);padding:26px 22px 24px}
.ll-cta .mark{width:44px;height:auto;display:block;margin-bottom:12px}
.ll-cta .wm{position:absolute;right:-30px;bottom:-24px;width:220px;height:auto;opacity:.07;pointer-events:none}
.ll-cta h3{margin:0 0 8px;font-size:21px;font-weight:800;line-height:1.25;color:#fff}
.ll-cta p{margin:0 0 16px;font-size:14px;color:rgba(255,255,255,.88);line-height:1.5}
.ll-cta .ll-btn{width:100%;margin-bottom:10px}
.ll-cta .tel{display:flex;align-items:center;justify-content:center;gap:8px;color:#fff;font-weight:700;font-size:16px;padding:11px;border:1.5px solid rgba(255,255,255,.35);border-radius:999px}
.ll-cta .tel:hover{background:rgba(255,255,255,.08);text-decoration:none;color:#fff}
.ll-cta .tel svg{width:15px;height:15px}
.ll-trust{display:flex;gap:6px;margin-top:16px;padding-top:16px;border-top:1px solid rgba(240,200,98,.25);position:relative}
.ll-trust div{flex:1;text-align:center}
.ll-trust b{display:block;font-size:16px;font-weight:800;color:#fff}
.ll-trust small{font-size:11.5px;color:rgba(255,255,255,.85);line-height:1.2;display:block;margin-top:2px}
.ll-stars{background:var(--ll-gold-grad);-webkit-background-clip:text;background-clip:text;color:transparent;font-size:13px;letter-spacing:1px}

/* sticky, collapsed-by-default ToC */
.ll-sticky{position:sticky;top:var(--ll-headoff);z-index:6}
.ll-toc{background:#fff;border:1px solid var(--ll-line);border-radius:var(--ll-radius);box-shadow:var(--ll-shadow);overflow:hidden;position:relative}
.ll-toc:before{content:"";position:absolute;left:0;top:0;right:0;height:3px;background:var(--ll-gold-grad);z-index:1}
.ll-toc-head{display:flex;align-items:center;gap:10px;width:100%;padding:15px 18px;background:#fff;border:none;cursor:pointer;font-family:var(--ll-font);text-align:left}
.ll-toc-head img{width:26px;height:auto;flex:none}
.ll-toc-head b{font-size:12.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--ll-navy);flex:none}
.ll-toc-head .cur{margin-left:auto;font-size:12.5px;color:var(--ll-muted);max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ll-toc-head .chev{flex:none;width:16px;height:16px;color:var(--ll-gold-1);transition:transform .3s}
.ll-toc.open .ll-toc-head .chev{transform:rotate(180deg)}
.ll-toc.open .ll-toc-head{border-bottom:1px solid var(--ll-line)}
.ll-toc-body{max-height:0;overflow:hidden;padding:0 8px;transition:max-height .35s ease,padding .35s ease}
.ll-toc.open .ll-toc-body{max-height:min(58vh,540px);overflow:auto;padding:10px 8px 12px}
.ll-toc-list,.ll-toc-sub{list-style:none;margin:0;padding:0}
.ll-toc-list>li>a{display:block;font-size:13.5px;font-weight:600;color:var(--ll-ink);padding:7px 12px;border-radius:8px;border-left:2px solid transparent;line-height:1.35}
.ll-toc-sub{margin:2px 0 4px}
.ll-toc-sub a{display:block;font-size:12.5px;color:var(--ll-muted);padding:5px 12px 5px 22px;border-radius:8px;border-left:2px solid transparent;line-height:1.3}
.ll-toc a:hover{background:var(--ll-soft);text-decoration:none;color:var(--ll-navy)}
.ll-toc a.active{background:#fbf3e5;color:var(--ll-navy);border-left-color:var(--ll-gold-1)}

/* why us / proof — navy stat tiles with gold gradient numbers */
.ll-why{padding:0 20px 20px}
.ll-why h3{margin:14px 0 8px;font-size:17px;font-weight:800;color:var(--ll-navy)}
.ll-why p{margin:0 0 14px;font-size:13.5px;color:var(--ll-muted);line-height:1.55}
.ll-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.ll-stat{background:linear-gradient(160deg,#001b52,#0a2a6b);border-radius:12px;padding:14px 12px;text-align:center;border:1px solid rgba(240,200,98,.3)}
.ll-stat b{display:block;font-size:21px;font-weight:800;line-height:1;background:var(--ll-gold-grad);-webkit-background-clip:text;background-clip:text;color:transparent}
.ll-stat small{font-size:11.5px;color:rgba(255,255,255,.88);display:block;margin-top:5px;line-height:1.2}

/* guides */
.ll-guides{padding:10px 8px 12px}
.ll-guides a{display:flex;gap:12px;align-items:flex-start;padding:11px 12px;border-radius:12px;transition:background .2s}
.ll-guides a:hover{background:var(--ll-soft);text-decoration:none}
.ll-guides .ix{width:30px;height:30px;border-radius:8px;background:var(--ll-gold-grad);color:var(--ll-navy);font-weight:800;display:grid;place-items:center;flex:none;font-size:14px}
.ll-guides .gt{font-size:13.5px;font-weight:600;color:var(--ll-ink);line-height:1.35}
.ll-guides a:hover .gt{color:var(--ll-navy)}

/* Bottom CTA: sits after Guides in the stack on load, then locks in directly
   beneath the pinned ToC while scrolling (JS sets --ll-cta2-top to the exact
   collapsed-ToC height + gap; 172px fallback). The expanded ToC dropdown has a
   higher z-index, so it overlays this card while open. */
.ll-side .ll-cta-bottom{position:sticky;top:var(--ll-cta2-top,172px);z-index:5}

/* mobile toc accordion */
.ll-mtoc{display:none}

@media(max-width:1000px){
  .ll-grid{grid-template-columns:1fr;gap:0}
  .ll-main{max-width:760px;margin:0 auto}
  .ll-sticky{position:static}
  .ll-side{margin-top:48px}
  .ll-side .ll-cta-bottom{position:static}
  .ll-toc{display:none}
  .ll-mtoc{display:block;margin:0 0 26px;border:1px solid var(--ll-line);border-radius:14px;overflow:hidden;position:relative}
  .ll-mtoc:before{content:"";position:absolute;left:0;top:0;right:0;height:3px;background:var(--ll-gold-grad)}
  .ll-mtoc-h{display:flex;align-items:center;gap:10px;width:100%;background:var(--ll-soft);border:none;padding:16px 18px;font-family:var(--ll-font);font-size:14px;font-weight:800;color:var(--ll-navy);cursor:pointer;text-align:left}
  .ll-mtoc-h svg{flex:none;color:var(--ll-gold-1)}
  .ll-mtoc-h .chev{margin-left:auto;transition:transform .3s}
  .ll-mtoc.open .chev{transform:rotate(180deg)}
  .ll-mtoc-body{display:none;padding:8px}
  .ll-mtoc.open .ll-mtoc-body{display:block}
}
@media(max-width:560px){
  .ll-blog{padding:18px 16px 60px}
  .ll-meta-r{margin-left:0;width:100%}
  .ll-inline-cta{flex-direction:column;align-items:flex-start}
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce){
  .ll-blog *,.ll-blog *:before,.ll-blog *:after{transition:none!important;animation:none!important}
}
