/* Learn Pashto Blog — design tokens match the Learn Pashto header and footer */
.lpb, .lpb-progress{
  --lp-primary:#338475; --lp-primary-d:#276457; --lp-accent:#42ac98; --lp-tint:#eaf6f3;
  --lp-ink:#1f2d2b; --lp-body:#566663; --lp-muted:#8a9895; --lp-line:#dfeae7; --lp-bg:#f6faf9; --lp-bg2:#f1f7f5;
  /* text-sized green: the darker shade keeps small links and labels easy to read on white */
  --lp-link:#276457;
  --lp-serif:Georgia,'Times New Roman',serif;
  --lp-sans:system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
}
.lpb{ font-family:var(--lp-sans); color:var(--lp-body); background:#fff; line-height:1.6; display:block; -webkit-font-smoothing:antialiased; }
.lpb *{ box-sizing:border-box; -webkit-tap-highlight-color:transparent; }
.lpb img{ max-width:100%; height:auto; }
.lpb a:focus-visible,.lpb button:focus-visible,.lpb input:focus-visible{ outline:2px solid var(--lp-primary); outline-offset:2px; }
.lpb-wrap{ max-width:1280px; margin:0 auto; padding:0 24px; }
.lpb-wrap--article{ max-width:1180px; }
.lpb-sr{ position:absolute !important; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.lpb-dot{ width:4px; height:4px; border-radius:50%; background:var(--lp-accent); flex:none; display:inline-block; }

/* shared type */
.lpb-tag,.lpb-kicker{ display:inline-flex; align-items:center; gap:12px; margin:0 0 12px !important; font-size:.74rem; font-weight:700; letter-spacing:.2em; text-transform:uppercase; color:var(--lp-link) !important; }
.lpb-kicker::before,.lpb-kicker::after{ content:""; width:34px; height:1.5px; background:var(--lp-accent); }
.lpb-tag::before{ content:""; width:3px; height:15px; background:var(--lp-primary); border-radius:2px; }
.lpb-h1{ margin:0 0 14px !important; font-family:var(--lp-serif); font-weight:700; color:var(--lp-ink) !important; font-size:clamp(1.9rem,4vw,3.1rem); line-height:1.12; letter-spacing:-.015em; text-wrap:balance; }
.lpb-h2{ margin:0 0 22px !important; font-family:var(--lp-serif); font-weight:700; color:var(--lp-ink) !important; font-size:clamp(1.45rem,2.8vw,2.1rem); line-height:1.18; letter-spacing:-.01em; text-wrap:balance; }
.lpb-meta{ display:flex; align-items:center; flex-wrap:wrap; gap:6px 10px; font-size:.8rem; color:var(--lp-muted); font-weight:600; }
.lpb-cat{ display:inline-block; font-size:.72rem; font-weight:800; letter-spacing:.14em; text-transform:uppercase; color:var(--lp-link) !important; text-decoration:none !important; }
.lpb-cat:hover{ color:var(--lp-primary-d) !important; text-decoration:underline !important; text-underline-offset:4px; }
.lpb-cat--lg{ margin-bottom:14px; }
.lpb-ph{ display:grid; place-items:center; width:100%; height:100%; background:linear-gradient(135deg,var(--lp-tint),#cfe9e3); color:var(--lp-accent); }
.lpb-ph svg{ width:44px; height:44px; }

/* buttons */
.lpb-btn{ display:inline-flex; align-items:center; justify-content:center; gap:8px; height:46px; padding:0 22px; border-radius:999px; font-size:.88rem; font-weight:700; text-decoration:none !important; white-space:nowrap; cursor:pointer; border:1.5px solid transparent; transition:background .15s ease,color .15s ease,transform .15s ease,border-color .15s ease; }
.lpb-btn svg{ width:18px; height:18px; flex:none; }
.lpb-btn--solid{ background:var(--lp-primary) !important; color:#fff !important; }
.lpb-btn--solid:hover{ background:var(--lp-primary-d) !important; transform:translateY(-1px); }
.lpb-btn--line{ background:#fff !important; color:var(--lp-link) !important; border-color:var(--lp-accent); }
.lpb-btn--line:hover{ background:var(--lp-tint) !important; border-color:var(--lp-primary); }

/* ================= INDEX ================= */
.lpb-hero{ background:var(--lp-bg); border-top:4px solid var(--lp-accent); border-bottom:1px solid var(--lp-line); }
.lpb-hero-in{ max-width:860px; margin:0 auto; padding:56px 24px 30px; text-align:center; }
.lpb-intro{ margin:0 auto 26px !important; max-width:640px; font-size:1.02rem; line-height:1.7; color:var(--lp-body) !important; text-wrap:pretty; }
.lpb-search{ position:relative; display:flex; align-items:center; max-width:560px; margin:0 auto; background:#fff; border:1.5px solid var(--lp-line); border-radius:999px; padding:5px 5px 5px 46px; transition:border-color .15s ease,box-shadow .15s ease; }
.lpb-search:focus-within{ border-color:var(--lp-accent); box-shadow:0 0 0 3px rgba(66,172,152,.22); }
.lpb-search-ico{ position:absolute; left:17px; top:50%; transform:translateY(-50%); color:var(--lp-muted); display:grid; }
.lpb-search-ico svg{ width:19px; height:19px; }
.lpb-search input[type=search]{ flex:1; min-width:0; border:0 !important; background:transparent !important; box-shadow:none !important; outline:0 !important; padding:10px 8px; font-size:.95rem; color:var(--lp-ink); font-family:inherit; height:auto; margin:0; }
.lpb-search button{ border:0; border-radius:999px; background:var(--lp-primary) !important; color:#fff !important; padding:0 22px; height:42px; font-weight:700; font-size:.86rem; cursor:pointer; font-family:inherit; }
.lpb-search button:hover{ background:var(--lp-primary-d) !important; }

.lpb-chips{ border-top:1px solid var(--lp-line); background:#fff; }
.lpb-chips-in{ max-width:1280px; margin:0 auto; padding:14px 24px; display:flex; gap:8px; overflow-x:auto; scrollbar-width:none; -webkit-overflow-scrolling:touch; }
.lpb-chips-in::-webkit-scrollbar{ display:none; }
.lpb-chip{ flex:none; padding:9px 18px; border-radius:999px; border:1.5px solid var(--lp-line); background:#fff !important; color:var(--lp-ink) !important; font-size:.84rem; font-weight:700; text-decoration:none !important; transition:all .15s ease; }
.lpb-chip:hover{ border-color:var(--lp-accent); color:var(--lp-link) !important; background:var(--lp-tint) !important; }
.lpb-chip.is-on{ background:var(--lp-primary) !important; border-color:var(--lp-primary); color:#fff !important; }

.lpb-index-body{ padding-top:44px; padding-bottom:72px; }
.lpb-sect-head{ margin:56px 0 0; border-bottom:1.5px solid var(--lp-line); padding-bottom:14px; margin-bottom:28px; }
.lpb-sect-head .lpb-h2{ margin:0 !important; font-size:1.2rem; text-transform:uppercase; letter-spacing:.1em; font-family:var(--lp-sans); font-weight:800; }
.lpb-index-body > .lpb-grid:first-child,.lpb-index-body > .lpb-sect-head:first-child{ margin-top:0; }

/* featured */
.lpb-feat{ display:grid; grid-template-columns:1.25fr 1fr; background:var(--lp-bg); border:1px solid var(--lp-line); border-radius:20px; overflow:hidden; }
.lpb-feat-img{ position:relative; min-height:380px; background:var(--lp-tint); overflow:hidden; }
.lpb-feat-img img,.lpb-feat-img .lpb-ph{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; transition:transform .7s cubic-bezier(.2,.7,.2,1); }
.lpb-feat:hover .lpb-feat-img img{ transform:scale(1.04); }
.lpb-feat-body{ padding:40px 38px; display:flex; flex-direction:column; justify-content:center; align-items:flex-start; gap:12px; }
.lpb-pill{ margin:0 !important; display:inline-block; padding:6px 12px; border-radius:999px; background:var(--lp-primary); color:#fff !important; font-size:.66rem; font-weight:800; letter-spacing:.14em; text-transform:uppercase; }
.lpb-feat-title{ margin:0 !important; font-family:var(--lp-serif); font-weight:700; font-size:clamp(1.5rem,2.6vw,2.2rem); line-height:1.16; letter-spacing:-.01em; }
.lpb-feat-title a{ color:var(--lp-ink) !important; text-decoration:none !important; }
.lpb-feat-title a::after{ content:""; position:absolute; inset:0; z-index:2; }
.lpb-feat{ position:relative; }
.lpb-feat:hover .lpb-feat-title a{ color:var(--lp-link) !important; }
.lpb-feat-ex{ margin:0 !important; color:var(--lp-body) !important; font-size:1rem; line-height:1.7; }
.lpb-more{ display:inline-flex; align-items:center; gap:8px; margin-top:6px; font-size:.86rem; font-weight:700; color:var(--lp-link); padding-bottom:3px; border-bottom:1.5px solid var(--lp-accent); transition:gap .2s ease; }
.lpb-more svg{ width:16px; height:16px; }
.lpb-feat:hover .lpb-more{ gap:12px; }

/* grid + card */
.lpb-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:34px 26px; }
.lpb-card{ position:relative; display:flex; flex-direction:column; min-width:0; }
.lpb-card-img{ display:block; position:relative; aspect-ratio:3/2; border-radius:14px; overflow:hidden; background:var(--lp-tint); }
.lpb-card-img img,.lpb-card-img .lpb-ph{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .6s cubic-bezier(.2,.7,.2,1); }
.lpb-card:hover .lpb-card-img img{ transform:scale(1.05); }
.lpb-card-body{ padding:16px 2px 0; display:flex; flex-direction:column; gap:9px; flex:1; }
.lpb-card-title{ margin:0 !important; font-family:var(--lp-serif); font-weight:700; font-size:1.28rem; line-height:1.28; letter-spacing:-.005em; }
.lpb-card-title a{ color:var(--lp-ink) !important; text-decoration:none !important; background:linear-gradient(var(--lp-accent),var(--lp-accent)) 0 100%/0 2px no-repeat; transition:background-size .3s ease,color .15s ease; }
.lpb-card-title a::after{ content:""; position:absolute; inset:0; z-index:1; }
.lpb-card:hover .lpb-card-title a{ color:var(--lp-link) !important; background-size:100% 2px; }
.lpb-card .lpb-cat{ position:relative; z-index:2; align-self:flex-start; }
.lpb-card-ex{ margin:0 !important; font-size:.94rem; line-height:1.65; color:var(--lp-body) !important; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.lpb-card .lpb-meta{ margin-top:auto; padding-top:4px; }

/* pagination */
.lpb-pager{ display:flex; justify-content:center; flex-wrap:wrap; gap:8px; margin-top:56px; }
.lpb-pager .page-numbers{ min-width:44px; height:44px; padding:0 14px; display:inline-flex; align-items:center; justify-content:center; gap:7px; border-radius:999px; border:1.5px solid var(--lp-line); background:#fff; color:var(--lp-ink) !important; font-size:.9rem; font-weight:700; text-decoration:none !important; transition:all .15s ease; }
.lpb-pager a.page-numbers:hover{ border-color:var(--lp-accent); background:var(--lp-tint); color:var(--lp-link) !important; }
.lpb-pager .page-numbers.current{ background:var(--lp-primary); border-color:var(--lp-primary); color:#fff !important; }
.lpb-pager .page-numbers.dots{ border-color:transparent; }
.lpb-pager svg{ width:16px; height:16px; }
.lpb-empty{ text-align:center; padding:50px 0; }
.lpb-empty p{ margin:0 0 22px; }

/* ================= SINGLE ================= */
.lpb-progress{ position:fixed; top:0; left:0; right:0; height:3px; z-index:9999; background:transparent; pointer-events:none; }
.lpb-progress i{ display:block; height:100%; width:100%; background:var(--lp-primary); transform:scaleX(0); transform-origin:0 50%; }

.lpb-ahead{ background:var(--lp-bg); border-top:4px solid var(--lp-accent); border-bottom:1px solid var(--lp-line); padding:26px 0 44px; }
.lpb-ahead .lpb-h1,.lpb-ahead .lpb-deck{ max-width:900px; }
.lpb-crumbs ol{ list-style:none; margin:0 0 26px; padding:0; display:flex; flex-wrap:wrap; gap:4px 0; font-size:.8rem; }
.lpb-crumbs li{ display:inline-flex; align-items:center; color:var(--lp-muted); }
.lpb-crumbs li + li::before{ content:"/"; margin:0 9px; color:#c3d3cf; }
.lpb-crumbs a{ color:var(--lp-body) !important; text-decoration:none !important; font-weight:600; }
.lpb-crumbs a:hover{ color:var(--lp-link) !important; }
.lpb-crumbs span{ display:inline-block; max-width:34ch; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.lpb-h1--post{ font-size:clamp(2rem,4.6vw,3.4rem); line-height:1.1; }
.lpb-deck{ margin:0 0 24px !important; font-size:clamp(1.05rem,1.7vw,1.22rem); line-height:1.65; color:var(--lp-body) !important; max-width:760px; text-wrap:pretty; }
.lpb-byline{ display:flex; align-items:center; flex-wrap:wrap; gap:8px 12px; font-size:.86rem; font-weight:600; color:var(--lp-muted); }
.lpb-byline a{ color:var(--lp-ink) !important; text-decoration:none !important; font-weight:700; }
.lpb-byline a:hover{ color:var(--lp-link) !important; }
.lpb-byline-rt{ display:inline-flex; align-items:center; gap:6px; }
.lpb-byline-rt svg{ width:15px; height:15px; color:var(--lp-accent); }

.lpb-hero-fig{ margin:36px 0 0; padding:0; }
.lpb-hero-img{ width:100%; height:auto; max-height:600px; object-fit:cover; border-radius:20px; display:block; background:var(--lp-tint); }

/* body: sticky TOC left, article right */
.lpb-body{ display:grid; grid-template-columns:280px minmax(0,1fr); gap:56px; padding-top:52px; padding-bottom:64px; align-items:start; }
/* the side column must be as tall as the article, otherwise sticky has no room to travel */
.lpb-side{ position:relative; align-self:stretch; min-width:0; }
.lpb-side-in{ position:sticky; top:104px; display:flex; flex-direction:column; gap:20px; }
body.admin-bar .lpb-side-in{ top:136px; }
.lpb-toc-list{ max-height:max(140px, calc(100vh - 600px)); overflow-y:auto; scrollbar-width:thin; overscroll-behavior:contain; }

.lpb-toc{ border:1px solid var(--lp-line); border-radius:16px; background:var(--lp-bg); overflow:hidden; }
.lpb-toc-btn{ width:100%; display:flex; align-items:center; gap:10px; padding:14px 16px; border:0; background:none !important; color:var(--lp-ink) !important; font-family:var(--lp-serif); font-size:1.02rem; font-weight:700; cursor:default; text-align:left; }
.lpb-toc-ico svg{ width:18px; height:18px; color:var(--lp-link); display:block; }
.lpb-toc-t{ flex:1; }
.lpb-toc-chev{ display:none; }
.lpb-toc-list{ list-style:none; margin:0; padding:2px 8px 12px; counter-reset:t; }
.lpb-toc-list li{ margin:0; }
.lpb-toc-list a{ position:relative; display:block; padding:8px 10px 8px 14px; border-left:2px solid var(--lp-line); font-size:.88rem; line-height:1.4; font-weight:600; color:var(--lp-body) !important; text-decoration:none !important; transition:color .15s ease,border-color .15s ease,background .15s ease; }
.lpb-toc-list li.lvl3 a{ padding-left:26px; font-weight:500; font-size:.84rem; }
.lpb-toc-list a:hover{ color:var(--lp-link) !important; background:var(--lp-tint); }
.lpb-toc-list a.is-on{ color:var(--lp-link) !important; border-left-color:var(--lp-primary); background:var(--lp-tint); font-weight:700; }

/* share */
.lpb-share{ display:flex; align-items:center; flex-wrap:wrap; gap:8px; }
.lpb-share-l{ font-size:.72rem; font-weight:800; letter-spacing:.16em; text-transform:uppercase; color:var(--lp-muted); margin-right:4px; }
.lpb-share-btn{ width:40px; height:40px; border-radius:50%; border:1.5px solid var(--lp-line); background:#fff !important; color:var(--lp-ink) !important; display:grid; place-items:center; cursor:pointer; padding:0; text-decoration:none !important; transition:all .15s ease; }
.lpb-share-btn svg{ width:18px; height:18px; }
.lpb-share-btn:hover{ background:var(--lp-primary) !important; border-color:var(--lp-primary); color:#fff !important; transform:translateY(-2px); }
.lpb-copied{ font-size:.78rem; font-weight:700; color:var(--lp-link); min-width:0; }
.lpb-share--end{ margin:38px 0 0; padding:22px 0; border-top:1px solid var(--lp-line); border-bottom:1px solid var(--lp-line); }

/* free-trial CTA */
.lpb-cta{ display:flex; gap:16px; border-radius:18px; background:var(--lp-primary-d); color:#fff; position:relative; overflow:hidden; }
.lpb-cta-ico{ width:46px; height:46px; flex:none; border-radius:50%; background:rgba(255,255,255,.16); display:grid; place-items:center; color:#fff; }
.lpb-cta-ico svg{ width:22px; height:22px; }
.lpb-cta-h{ margin:0 0 4px !important; font-family:var(--lp-serif); font-weight:700; font-size:1.2rem; line-height:1.2; color:#fff !important; }
.lpb-cta-p{ margin:0 !important; font-size:.9rem; line-height:1.55; color:#cdeae3 !important; }
.lpb-cta .lpb-btn{ height:44px; }
.lpb-cta .lpb-btn--solid{ background:#fff !important; color:var(--lp-link) !important; }
.lpb-cta .lpb-btn--solid:hover{ background:var(--lp-tint) !important; }
.lpb-cta .lpb-btn--line{ background:transparent !important; color:#fff !important; border-color:rgba(255,255,255,.7); }
.lpb-cta .lpb-btn--line:hover{ background:rgba(255,255,255,.14) !important; border-color:#fff; }
.lpb-cta--side{ flex-direction:column; padding:22px; gap:14px; }
.lpb-cta--side .lpb-cta-act{ display:flex; flex-direction:column; gap:8px; }
.lpb-cta--inline{ align-items:center; padding:24px 26px; margin:2.2em 0; }
.lpb-cta--inline .lpb-cta-txt{ flex:1; min-width:0; }
.lpb-cta--inline .lpb-cta-act{ display:flex; gap:8px; flex:none; }

/* article typography */
.lpb-prose{ font-size:1.12rem; line-height:1.85; color:#34423f; max-width:740px; overflow-wrap:break-word; }
.lpb-prose > *:first-child{ margin-top:0; }
.lpb-prose p{ margin:0 0 1.45em; }
.lpb-prose a{ color:var(--lp-link) !important; text-decoration:underline !important; text-decoration-color:rgba(66,172,152,.6); text-underline-offset:3px; text-decoration-thickness:1.5px; font-weight:600; transition:text-decoration-color .15s ease; }
.lpb-prose a:hover{ text-decoration-color:var(--lp-primary); }
.lpb-prose h2,.lpb-prose h3,.lpb-prose h4{ font-family:var(--lp-serif); font-weight:700; color:var(--lp-ink) !important; letter-spacing:-.01em; scroll-margin-top:104px; text-wrap:balance; }
.lpb-prose h2{ font-size:clamp(1.55rem,2.8vw,2.05rem); line-height:1.2; margin:2.1em 0 .6em; padding-top:.2em; position:relative; }
.lpb-prose h2::before{ content:""; display:block; width:38px; height:3px; border-radius:2px; background:var(--lp-accent); margin-bottom:14px; }
.lpb-prose h3{ font-size:clamp(1.25rem,2.2vw,1.5rem); line-height:1.28; margin:1.8em 0 .5em; }
.lpb-prose h4{ font-size:1.12rem; margin:1.6em 0 .4em; }
.lpb-prose ul,.lpb-prose ol{ margin:0 0 1.5em; padding-left:1.4em; }
.lpb-prose li{ margin:0 0 .6em; padding-left:.3em; }
.lpb-prose ul li::marker{ color:var(--lp-link); }
.lpb-prose ol li::marker{ color:var(--lp-link); font-weight:800; }
.lpb-prose strong{ color:var(--lp-ink); font-weight:700; }
.lpb-prose img,.lpb-prose video{ max-width:100%; height:auto; border-radius:14px; }
.lpb-prose figure{ margin:2em 0; }
.lpb-prose figcaption{ margin-top:10px; font-size:.84rem; color:var(--lp-muted); text-align:center; }
.lpb-prose blockquote{ margin:2em 0; padding:22px 26px; background:var(--lp-bg); border-left:4px solid var(--lp-primary); border-radius:0 14px 14px 0; font-family:var(--lp-serif); font-size:1.25rem; line-height:1.6; color:var(--lp-ink); }
.lpb-prose blockquote p{ margin:0; }
.lpb-prose blockquote cite{ display:block; margin-top:10px; font:600 .84rem var(--lp-sans); color:var(--lp-muted); font-style:normal; }
.lpb-prose hr{ border:0; height:1px; background:var(--lp-line); margin:2.6em 0; }
/* tables live inside a scroll box so a wide table never widens the page */
.lpb-prose .lpb-table-wrap{ margin:2em 0; max-width:100%; overflow-x:auto; -webkit-overflow-scrolling:touch; border:1px solid var(--lp-line); border-radius:14px; }
.lpb-prose .wp-block-table{ margin:2em 0; border:0; overflow:visible; }
.lpb-prose .wp-block-table .lpb-table-wrap{ margin:0; }
.lpb-prose table{ display:table; width:100%; margin:0; border:0; border-collapse:separate; border-spacing:0; font-size:.95rem; line-height:1.5; }
.lpb-prose th{ background:var(--lp-tint); color:var(--lp-ink); text-align:left; font-weight:800; padding:12px 16px; font-size:.82rem; letter-spacing:.05em; text-transform:uppercase; white-space:normal; min-width:84px; }
.lpb-prose td{ padding:12px 16px; border-top:1px solid var(--lp-line); }
.lpb-prose tr:nth-child(even) td{ background:var(--lp-bg); }
.lpb-prose code{ background:var(--lp-bg2); padding:2px 7px; border-radius:6px; font-size:.9em; }
.lpb-callout{ margin:2em 0; padding:20px 24px; border:1.5px solid var(--lp-accent); border-radius:14px; background:var(--lp-tint); }
.lpb-callout-t{ margin:0 0 6px !important; font-family:var(--lp-serif); font-weight:700; font-size:1.1rem; color:var(--lp-link) !important; }
.lpb-callout p:last-child{ margin-bottom:0; }
.lpb-prose .wp-block-image img{ border-radius:14px; }
.lpb-prose details{ border:1px solid var(--lp-line); border-radius:12px; padding:14px 18px; margin:0 0 12px; background:#fff; }
.lpb-prose summary{ cursor:pointer; font-weight:700; color:var(--lp-ink); }
.lpb-pages{ margin:1.5em 0; font-weight:700; }

.lpb-tags{ list-style:none; margin:32px 0 0; padding:0; display:flex; flex-wrap:wrap; gap:8px; }
.lpb-tags a{ display:inline-block; padding:7px 14px; border-radius:999px; background:var(--lp-bg); border:1px solid var(--lp-line); font-size:.8rem; font-weight:700; color:var(--lp-body) !important; text-decoration:none !important; transition:all .15s ease; }
.lpb-tags a:hover{ background:var(--lp-tint); border-color:var(--lp-accent); color:var(--lp-link) !important; }



/* course strip */
.lpb-courses{ background:var(--lp-bg2); padding:64px 0; border-top:1px solid var(--lp-line); }
.lpb-courses-head{ display:flex; align-items:flex-end; justify-content:space-between; gap:20px; margin-bottom:26px; }
.lpb-courses-head .lpb-h2{ margin:0 !important; }
.lpb-all{ flex:none; display:inline-flex; align-items:center; gap:7px; padding-bottom:6px; font-size:.86rem; font-weight:700; color:var(--lp-link) !important; text-decoration:none !important; }
.lpb-all svg{ width:16px; height:16px; transition:transform .2s ease; }
.lpb-all:hover svg{ transform:translateX(3px); }
.lpb-ctrack{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.lpb-ccard{ display:flex; align-items:center; gap:16px; min-width:0; padding:20px 20px; background:#fff; border:1.5px solid var(--lp-line); border-radius:18px; text-decoration:none !important; color:inherit !important; transition:border-color .15s ease, box-shadow .2s ease, transform .2s ease; }
.lpb-ccard:hover{ border-color:var(--lp-accent); box-shadow:0 16px 30px -22px rgba(51,132,117,.55); transform:translateY(-2px); }
.lpb-ccard.is-first{ border-color:var(--lp-accent); }
.lpb-cico{ width:48px; height:48px; flex:none; border-radius:50%; background:var(--lp-tint); color:var(--lp-primary); display:grid; place-items:center; transition:background .15s ease, color .15s ease; }
.lpb-cico svg{ width:22px; height:22px; }
.lpb-ccard:hover .lpb-cico,.lpb-ccard.is-first .lpb-cico{ background:var(--lp-primary); color:#fff; }
.lpb-cbody{ display:flex; flex-direction:column; gap:3px; min-width:0; flex:1; }
.lpb-cname{ font-family:var(--lp-serif); font-weight:700; font-size:1.08rem; line-height:1.25; color:var(--lp-ink); }
.lpb-csub{ font-size:.84rem; line-height:1.4; color:var(--lp-muted); }
.lpb-cgo{ flex:none; color:var(--lp-link); display:grid; transition:transform .2s ease; }
.lpb-cgo svg{ width:18px; height:18px; }
.lpb-ccard:hover .lpb-cgo{ transform:translateX(4px); }
.lpb-ccard:hover .lpb-cname{ color:var(--lp-link); }

/* related */
.lpb-related{ padding:68px 0 24px; background:#fff; }

/* newsletter */
.lpb-news{ padding:56px 0 76px; background:#fff; }
.lpb-news-in{ display:grid; grid-template-columns:1.1fr 1fr; gap:36px; align-items:center; padding:48px; border-radius:24px; background:var(--lp-tint); border:1px solid #cfe9e3; }
.lpb-news-txt .lpb-h2{ margin-bottom:10px !important; }
.lpb-news-p{ margin:0 !important; color:var(--lp-body) !important; font-size:1rem; line-height:1.65; }
.lpb-news-row{ display:flex; gap:8px; background:#fff; border:1.5px solid #cfe5df; border-radius:999px; padding:5px; transition:border-color .15s ease,box-shadow .15s ease; }
.lpb-news-row:focus-within{ border-color:var(--lp-accent); box-shadow:0 0 0 3px rgba(66,172,152,.22); }
.lpb-news-row input[type=email]{ flex:1; min-width:0; border:0 !important; background:transparent !important; box-shadow:none !important; outline:0 !important; padding:0 18px; height:44px; font-size:.95rem; color:var(--lp-ink); font-family:inherit; margin:0; }
.lpb-news-row button{ border:0; border-radius:999px; background:var(--lp-primary) !important; color:#fff !important; padding:0 24px; height:44px; font-weight:700; font-size:.88rem; cursor:pointer; font-family:inherit; white-space:nowrap; transition:background .15s ease; }
.lpb-news-row button:hover{ background:var(--lp-primary-d) !important; }
.lpb-news-row button[disabled]{ opacity:.6; cursor:wait; }
.lpb-news-msg{ margin:10px 6px 0 !important; min-height:1.3em; font-size:.86rem; font-weight:700; color:var(--lp-link) !important; }
.lpb-news-msg.is-ok{ color:var(--lp-primary-d) !important; }
.lpb-hp{ position:absolute !important; left:-9999px !important; width:1px; height:1px; opacity:0; }

/* ================= RESPONSIVE ================= */
@media(max-width:1100px){
  .lpb-body{ grid-template-columns:250px minmax(0,1fr); gap:36px; }
}
@media(max-width:960px){
  .lpb-grid{ grid-template-columns:repeat(2,1fr); gap:30px 20px; }
  .lpb-feat{ grid-template-columns:1fr; }
  .lpb-feat-img{ min-height:0; aspect-ratio:16/10; }
  .lpb-feat-body{ padding:28px 26px 32px; }
  .lpb-news-in{ grid-template-columns:1fr; padding:36px 30px; gap:22px; }
  .lpb-ctrack{ grid-template-columns:1fr; }

  /* single: stack, TOC becomes a collapsible bar */
  .lpb-body{ grid-template-columns:minmax(0,1fr); gap:0; padding-top:30px; }
  .lpb-side{ order:-1; margin-bottom:28px; }
  .lpb-side-in{ position:static; max-height:none; overflow:visible; }
  .lpb-side .lpb-share,.lpb-side .lpb-cta{ display:none; }
  .lpb-toc-btn{ cursor:pointer; }
  .lpb-toc-chev{ display:grid; }
  .lpb-toc-chev svg{ width:18px; height:18px; transition:transform .2s ease; }
  .lpb-toc-btn[aria-expanded="true"] .lpb-toc-chev svg{ transform:rotate(180deg); }
  .lpb-prose{ max-width:none; }
}
@media(max-width:767px){
  .lpb-wrap{ padding-left:16px; padding-right:16px; }
  .lpb-byline{ gap:8px 16px; }
  .lpb-byline .lpb-dot{ display:none; }
  .lpb-hero-in{ padding:40px 16px 24px; }
  .lpb-kicker{ font-size:.68rem; gap:10px; } .lpb-kicker::before,.lpb-kicker::after{ width:22px; }
  .lpb-chips-in{ padding:12px 16px; }
  .lpb-index-body{ padding-top:28px; padding-bottom:52px; }
  .lpb-grid{ grid-template-columns:1fr; gap:34px; }
  .lpb-card-title{ font-size:1.2rem; }
  .lpb-sect-head{ margin-top:40px; }
  .lpb-feat{ border-radius:16px; }
  .lpb-pager{ margin-top:40px; }
  .lpb-ahead{ padding:20px 0 32px; }
  .lpb-crumbs ol{ margin-bottom:18px; }
  .lpb-crumbs span{ max-width:22ch; }
  .lpb-hero-fig{ margin-top:26px; }
  .lpb-hero-img{ border-radius:14px; }
  .lpb-prose{ font-size:1.05rem; line-height:1.8; }
  .lpb-cta--inline{ flex-direction:column; align-items:flex-start; padding:22px; gap:14px; }
  .lpb-cta--inline .lpb-cta-act{ width:100%; flex-direction:column; }
  .lpb-cta--inline .lpb-btn{ width:100%; }
  .lpb-courses{ padding:46px 0; }
  .lpb-courses-head{ align-items:flex-start; flex-direction:column; gap:6px; }
  .lpb-ctrack{ gap:10px; }
  .lpb-ccard{ padding:16px; gap:14px; border-radius:16px; }
  .lpb-related{ padding:48px 0 10px; }
  .lpb-news{ padding:40px 0 56px; }
  .lpb-news-in{ padding:28px 20px; border-radius:18px; }
  .lpb-search{ padding-left:42px; }
  .lpb-search button{ padding:0 16px; }
}
/* ================= THEME-PROOFING =================
   Elementor kits and most themes style every button, h1/h2/h3 and link
   with selectors that out-rank plain class rules. These rules use higher
   specificity plus !important so the blog looks the same on any theme. */
.lpb button,.lpb [type=button],.lpb [type=submit]{ -webkit-appearance:none; appearance:none; font-family:var(--lp-sans) !important; text-transform:none !important; letter-spacing:normal; text-shadow:none; box-shadow:none; min-height:0; margin:0; }

.lpb .lpb-h1,.lpb .lpb-h2,.lpb .lpb-feat-title,.lpb .lpb-card-title,.lpb .lpb-cta-h,.lpb .lpb-callout-t,.lpb .lpb-prose h2,.lpb .lpb-prose h3,.lpb .lpb-prose h4,.lpb .lpb-cname{
  font-family:var(--lp-serif) !important; font-weight:700 !important; font-style:normal !important; text-transform:none !important; color:var(--lp-ink); }
.lpb .lpb-cta-h{ color:#fff !important; }
.lpb .lpb-callout-t{ color:var(--lp-link) !important; }
.lpb .lpb-h1{ font-size:clamp(1.9rem,4vw,3.1rem) !important; line-height:1.16 !important; letter-spacing:-.012em !important; padding:0 !important; }
.lpb .lpb-h1--post{ font-size:clamp(2rem,4.4vw,3.2rem) !important; line-height:1.18 !important; margin:0 0 20px !important; }
.lpb .lpb-h2{ font-size:clamp(1.45rem,2.8vw,2.1rem) !important; line-height:1.22 !important; padding:0 !important; }
.lpb .lpb-sect-head .lpb-h2{ font-family:var(--lp-sans) !important; font-size:1.1rem !important; font-weight:800 !important; }
.lpb .lpb-feat-title{ font-size:clamp(1.5rem,2.6vw,2.2rem) !important; line-height:1.2 !important; margin:0 !important; }
.lpb .lpb-card-title{ font-size:1.28rem !important; line-height:1.3 !important; margin:0 !important; }
.lpb .lpb-cta-h{ font-size:1.2rem !important; line-height:1.25 !important; margin:0 0 6px !important; }
.lpb .lpb-prose h2{ font-size:clamp(1.55rem,2.8vw,2.05rem) !important; line-height:1.25 !important; margin:2em 0 .6em !important; padding:0 !important; }
.lpb .lpb-prose h3{ font-size:clamp(1.25rem,2.2vw,1.5rem) !important; line-height:1.32 !important; margin:1.8em 0 .5em !important; }
.lpb .lpb-prose h4{ font-size:1.12rem !important; line-height:1.35 !important; margin:1.6em 0 .4em !important; }
.lpb .lpb-prose p{ font-size:inherit; line-height:inherit; }
.lpb .lpb-prose > *:first-child,.lpb .lpb-prose > h2:first-child{ margin-top:0 !important; }
.lpb .lpb-prose .lpb-cta-p,.lpb .lpb-prose .lpb-callout p{ font-size:.92rem; line-height:1.6; margin:0 !important; }
.lpb .lpb-prose .lpb-callout p{ font-size:1rem; }
.lpb .lpb-prose .lpb-callout p + p{ margin-top:.8em !important; }
/* compact free-trial box in the sticky sidebar so it always fits */
.lpb .lpb-cta--side{ padding:20px; gap:12px; }
.lpb .lpb-cta--side .lpb-cta-ico{ display:none; }
.lpb .lpb-cta--side .lpb-btn{ height:42px !important; }

/* table of contents */
.lpb .lpb-toc{ display:block; width:100%; }
.lpb .lpb-toc-btn,.lpb .lpb-toc-btn:hover,.lpb .lpb-toc-btn:focus,.lpb .lpb-toc-btn:active{
  display:flex !important; align-items:center; gap:10px; width:100% !important; max-width:none !important; height:auto !important;
  padding:16px 18px !important; margin:0 !important; border:0 !important; border-radius:0 !important; background:transparent !important;
  color:var(--lp-ink) !important; font-family:var(--lp-serif) !important; font-size:1.05rem !important; font-weight:700 !important; line-height:1.3 !important;
  text-align:left !important; text-transform:none !important; box-shadow:none !important; cursor:default; }
.lpb .lpb-toc-btn:focus-visible{ outline:2px solid var(--lp-primary) !important; outline-offset:-3px !important; }
.lpb .lpb-toc-ico{ display:grid; place-items:center; flex:none; }
.lpb .lpb-toc-ico svg{ width:18px; height:18px; display:block; color:var(--lp-link); }
.lpb .lpb-toc-t{ flex:1; min-width:0; }
.lpb .lpb-toc-list{ margin:0 !important; padding:0 10px 14px !important; list-style:none !important; border-top:1px solid var(--lp-line); padding-top:10px !important; }
.lpb .lpb-toc-list li{ margin:0 !important; padding:0 !important; list-style:none !important; }
.lpb .lpb-toc-list li::marker{ content:""; }
.lpb .lpb-toc-list a{ padding:9px 12px 9px 14px !important; font-size:.88rem !important; line-height:1.42 !important; font-weight:600 !important; border-radius:0 8px 8px 0; }
.lpb .lpb-toc-list li.lvl3 a{ padding-left:28px !important; font-size:.84rem !important; font-weight:500 !important; }
.lpb .lpb-toc-list a.is-on{ font-weight:700 !important; }

/* share buttons: always round, never the theme's square button */
.lpb .lpb-share-btn,.lpb button.lpb-share-btn,.lpb .lpb-share-btn:focus,.lpb .lpb-share-btn:active{
  display:grid !important; place-items:center; width:40px !important; height:40px !important; min-width:40px !important; padding:0 !important; margin:0 !important; line-height:1 !important;
  border:1.5px solid var(--lp-line) !important; border-radius:50% !important; background:#fff !important; color:var(--lp-ink) !important; box-shadow:none !important; }
.lpb .lpb-share-btn:hover{ background:var(--lp-primary) !important; border-color:var(--lp-primary) !important; color:#fff !important; }
.lpb .lpb-share-btn svg{ width:18px; height:18px; display:block; }
.lpb .lpb-share{ row-gap:10px; }
.lpb .lpb-share--side .lpb-share-l{ flex:0 0 100%; margin:0 0 -2px; }
.lpb .lpb-copied{ flex:0 0 100%; min-height:0; }
.lpb .lpb-copied:empty{ display:none; }

/* buttons */
.lpb .lpb-btn,.lpb a.lpb-btn{ display:inline-flex !important; align-items:center; justify-content:center; gap:8px; height:46px !important; padding:0 22px !important; margin:0 !important; border-radius:999px !important; line-height:1 !important;
  font-family:var(--lp-sans) !important; font-size:.88rem !important; font-weight:700 !important; letter-spacing:.01em; text-transform:none !important; white-space:nowrap; text-decoration:none !important; box-shadow:none !important; }
.lpb .lpb-btn--solid{ background:var(--lp-primary) !important; color:#fff !important; border:1.5px solid var(--lp-primary) !important; }
.lpb .lpb-btn--solid:hover{ background:var(--lp-primary-d) !important; border-color:var(--lp-primary-d) !important; }
.lpb .lpb-btn--line{ background:#fff !important; color:var(--lp-link) !important; border:1.5px solid var(--lp-accent) !important; }
.lpb .lpb-btn--line:hover{ background:var(--lp-tint) !important; border-color:var(--lp-primary) !important; }
.lpb .lpb-cta .lpb-btn--solid{ background:#fff !important; color:var(--lp-link) !important; border-color:#fff !important; }
.lpb .lpb-cta .lpb-btn--solid:hover{ background:var(--lp-tint) !important; border-color:var(--lp-tint) !important; }
.lpb .lpb-cta .lpb-btn--line{ background:transparent !important; color:#fff !important; border-color:rgba(255,255,255,.75) !important; }
.lpb .lpb-cta .lpb-btn--line:hover{ background:rgba(255,255,255,.16) !important; border-color:#fff !important; }
.lpb .lpb-cta--side .lpb-btn{ width:100% !important; }
.lpb .lpb-cta-p,.lpb .lpb-cta-h{ margin-left:0 !important; margin-right:0 !important; }

/* search, chips, newsletter, pager */
.lpb .lpb-search button,.lpb .lpb-news-row button{ border:0 !important; border-radius:999px !important; background:var(--lp-primary) !important; color:#fff !important; height:44px !important; padding:0 22px !important; font-size:.88rem !important; font-weight:700 !important; line-height:1 !important; }
.lpb .lpb-search button:hover,.lpb .lpb-news-row button:hover{ background:var(--lp-primary-d) !important; }
.lpb .lpb-search input[type=search],.lpb .lpb-news-row input[type=email]{ border:0 !important; background:transparent !important; box-shadow:none !important; border-radius:0 !important; }
.lpb .lpb-chip{ border-radius:999px !important; line-height:1.2 !important; }
.lpb .lpb-pager .page-numbers{ border-radius:999px !important; }
.lpb .lpb-news-form{ margin:0; }
@media(max-width:960px){
  .lpb .lpb-toc-btn,.lpb .lpb-toc-btn:hover,.lpb .lpb-toc-btn:focus{ cursor:pointer !important; }
  .lpb .lpb-toc-list{ max-height:none; }
  .lpb .lpb-toc-list{ border-top:1px solid var(--lp-line); }
}

@media(prefers-reduced-motion:reduce){ .lpb *{ transition:none !important; } .lpb-progress i{ transition:none; } }
@media print{ .lpb-progress,.lpb-side,.lpb-courses,.lpb-news,.lpb-related,.lpb-share,.lpb-cta{ display:none !important; } .lpb-body{ display:block; } }

/* ================= FINAL: overflow safety, content guards, TOC slide, forms ================= */
/* nothing inside the blog can ever make the page wider than the screen
   ("clip" does not create a scroll container, so sticky keeps working) */
.lpb{ max-width:100%; overflow-x:clip; }
.lpb-main,.lpb-side,.lpb-prose{ min-width:0; }
.lpb-prose a{ overflow-wrap:anywhere; }
.lpb-prose pre{ max-width:100%; overflow-x:auto; padding:16px 18px; margin:0 0 1.5em; background:var(--lp-bg2); border-radius:12px; font-size:.88rem; line-height:1.6; }
.lpb-prose iframe,.lpb-prose video,.lpb-prose embed,.lpb-prose object{ max-width:100% !important; }
.lpb-prose iframe{ border:0; border-radius:12px; }
.lpb-prose img{ max-width:100% !important; height:auto; }
.lpb-prose .alignfull,.lpb-prose .alignwide{ width:auto !important; max-width:100% !important; margin-left:0 !important; margin-right:0 !important; }
.lpb-prose::after{ content:""; display:block; clear:both; }
.lpb-prose .wp-block-embed,.lpb-prose .wp-block-video{ max-width:100%; }

/* table of contents: slides open and closed on mobile */
.lpb .lpb-toc-btn:focus{ outline:none !important; }
.lpb .lpb-toc-btn:focus-visible{ outline:2px solid var(--lp-primary) !important; outline-offset:-3px !important; }
@media(max-width:960px){
  .lpb .lpb-toc-list{
    display:block !important; position:relative; overflow:hidden; opacity:0; visibility:hidden;
    max-height:0 !important; padding-top:0 !important; padding-bottom:0 !important; border-top-width:0 !important;
    transition:max-height .35s ease, padding .35s ease, opacity .25s ease, visibility 0s linear .35s; }
  .lpb .lpb-toc-btn[aria-expanded="true"] + .lpb-toc-list{
    max-height:min(58vh,420px) !important; padding-top:10px !important; padding-bottom:14px !important; border-top-width:1px !important;
    overflow-y:auto; overscroll-behavior:contain; opacity:1; visibility:visible;
    transition:max-height .35s ease, padding .35s ease, opacity .25s ease, visibility 0s; }
}

/* mobile article: comfortable table, floated images stack, equal side space */
@media(max-width:767px){
  .lpb-prose th,.lpb-prose td{ padding:10px 12px; font-size:.86rem; }
  .lpb-prose th{ font-size:.74rem; letter-spacing:.03em; }
  .lpb-prose .alignleft,.lpb-prose .alignright{ float:none !important; display:block; margin:1.5em auto !important; }
  .lpb-prose blockquote{ padding:18px 20px; font-size:1.12rem; }
  .lpb-prose pre{ font-size:.82rem; }
}

/* newsletter on phones: the field and the button are two separate pieces */
@media(max-width:767px){
  .lpb .lpb-news-row{ flex-direction:column; gap:10px; padding:0; background:transparent; border:0; border-radius:0; box-shadow:none; }
  .lpb .lpb-news-row:focus-within{ border:0; box-shadow:none; }
  .lpb .lpb-news-row input[type=email]{ flex:0 0 auto !important; width:100%; height:50px !important; padding:0 20px !important; background:#fff !important; border:1.5px solid #cfe5df !important; border-radius:999px !important; }
  .lpb .lpb-news-row input[type=email]:focus{ border-color:var(--lp-accent) !important; box-shadow:0 0 0 3px rgba(66,172,152,.22) !important; }
  .lpb .lpb-news-row button{ flex:0 0 auto; width:100%; height:50px !important; }
}

/* ================= PASHTO SCRIPT (right-to-left) =================
   Use [pashto]...[/pashto] for inline words, or lang="ps" / dir="rtl" on any block.
   System fonts only (no downloads): Noto Naskh / Scheherazade / Amiri when present,
   otherwise Segoe UI / Tahoma / Geeza Pro, which all draw Pashto letters correctly. */
.lpb .lpb-ps,.lpb-prose [lang="ps"],.lpb-prose [lang^="ps-"],.lpb-prose [dir="rtl"]{
  font-family:'Noto Naskh Arabic','Scheherazade New','Amiri','Segoe UI',Tahoma,'Geeza Pro',Arial,serif !important;
  font-style:normal; letter-spacing:0 !important; word-spacing:0; text-transform:none !important; unicode-bidi:isolate; }
.lpb .lpb-ps{ direction:rtl; font-size:1.14em; line-height:1.9; font-weight:500; color:var(--lp-ink); }
.lpb-prose p[lang="ps"],.lpb-prose div[lang="ps"],.lpb-prose li[lang="ps"],.lpb-prose blockquote[lang="ps"],
.lpb-prose p[dir="rtl"],.lpb-prose div[dir="rtl"],.lpb-prose li[dir="rtl"],.lpb-prose blockquote[dir="rtl"],
.lpb-prose td[lang="ps"],.lpb-prose th[lang="ps"]{ direction:rtl; text-align:right; line-height:2; font-size:1.12em; }
/* table cells keep the column's left alignment so they line up with the header row */
.lpb-prose td[lang="ps"],.lpb-prose th[lang="ps"]{ text-align:left; }
.lpb-prose blockquote[dir="rtl"],.lpb-prose blockquote[lang="ps"]{ border-left:0; border-right:4px solid var(--lp-primary); border-radius:14px 0 0 14px; }
.lpb-prose h2[lang="ps"],.lpb-prose h3[lang="ps"],.lpb-prose h2[dir="rtl"],.lpb-prose h3[dir="rtl"]{ direction:rtl; text-align:right; line-height:1.6 !important; }
.lpb-prose h2[lang="ps"]::before,.lpb-prose h2[dir="rtl"]::before{ margin-left:auto; }
