/* Single blog post. Shares the Kwekii tokens from theme.css. */
.kw-post-page{background:#fff}
.kw-post-page .kw-post :is(p,li,a,span,strong,em,td,th,summary,small,h1,h2,h3,h4){font-family:"DM Sans",Arial,sans-serif}
.kw-post-progress{position:fixed;left:0;right:0;top:var(--kw-adminbar-height);height:3px;z-index:60;pointer-events:none}
.kw-post-progress>span{display:block;height:100%;width:100%;background:linear-gradient(90deg,var(--kw-brand),#7bc4a2);transform:scaleX(var(--kw-progress,0));transform-origin:0 50%}

/* Hero */
.kw-post-hero{position:relative;overflow:hidden;background:radial-gradient(1200px 380px at 85% -20%,#d9eee2 0,transparent 60%),linear-gradient(180deg,#f3f8f3 0,#fff 100%);border-bottom:1px solid var(--kw-line);padding:34px 0 46px}
.kw-post-hero>.kw-container{max-width:1180px}
.kw-post-crumbs{display:flex;align-items:center;gap:9px;font-size:12px;color:#8a968d;margin-bottom:30px}
.kw-post-crumbs a{color:#6f7d73!important;font-weight:600}
.kw-post-crumbs a:hover{color:var(--kw-green)!important}
.kw-post-eyebrow{display:inline-flex;align-items:center;gap:8px;padding:7px 13px 7px 11px;border-radius:999px;background:#fff;border:1px solid #d5e6da;color:var(--kw-green);font-size:12px;font-weight:700;box-shadow:0 1px 2px rgba(40,100,79,.06)}
.kw-post-eyebrow .kw-icon{width:15px;height:15px}
.kwekii-theme .kw-post-hero h1{font-size:50px;font-weight:850;line-height:1.08;letter-spacing:-.045em;color:#1f2a25;margin:20px 0 18px;max-width:900px;text-wrap:balance}
.kwekii-theme .kw-post-hero .kw-post-dek{font-size:19px;line-height:1.65;color:#5f6c64;margin:0;max-width:760px}
.kw-post-byline{display:flex;align-items:center;gap:14px;margin-top:30px}
.kw-post-avatar{display:grid;place-items:center;flex:none;width:48px;height:48px;border-radius:50%;object-fit:cover;background:linear-gradient(135deg,var(--kw-brand),var(--kw-green));color:#fff!important;font-weight:800;font-size:16px;letter-spacing:.02em;box-shadow:0 0 0 3px #fff,0 2px 8px rgba(40,100,79,.25)}
.kw-post-byline>div{display:flex;flex-direction:column;gap:2px;min-width:0}
.kw-post-byline .kw-post-author{font-size:15px;font-weight:800;color:#1f2a25!important}
.kw-post-byline .kw-post-author:hover{color:var(--kw-green)!important}
.kw-post-byline span{font-size:13px;color:#77837b}

/* Layout */
.kw-post-layout.kw-container{max-width:1180px;display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:72px;align-items:start;padding-top:48px;padding-bottom:64px}
.kw-post-main{grid-column:1;grid-row:1;min-width:0;max-width:740px}
.kw-post-aside{grid-column:2;grid-row:1;position:sticky;top:calc(28px + var(--kw-adminbar-height));display:grid;gap:22px}
.kw-post-figure{margin:0 0 36px}
/* QR Code Composer appends a page QR to all content; it doesn't belong in articles. */
.kw-post-content .qrcswholewtapper{display:none!important}
.kw-post-figure img{display:block;width:100%;height:auto;border-radius:18px}

/* Contents and share */
.kw-post-toc{border:1px solid var(--kw-line);border-radius:14px;padding:16px 16px 12px;background:#fbfcfa}
.kw-post-toc>summary{display:flex;align-items:center;justify-content:space-between;list-style:none;cursor:pointer;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#56665c}
.kw-post-toc>summary::-webkit-details-marker{display:none}
.kw-post-toc>summary .kw-icon{width:15px;height:15px;transition:transform .2s}
.kw-post-toc:not([open])>summary .kw-icon{transform:rotate(-90deg)}
.kw-post-toc ol{list-style:none;margin:12px 0 0!important;padding:0;display:grid;gap:2px}
.kw-post-toc li{margin:0;padding:0}
.kw-post-toc a{display:block;padding:7px 10px;border-left:2px solid transparent;border-radius:0 8px 8px 0;font-size:13px;line-height:1.45;color:#6d7a71!important}
.kw-post-toc a:hover{background:#f0f6f1;color:var(--kw-green)!important}
.kw-post-toc a[aria-current="true"]{border-left-color:var(--kw-brand);background:#eaf4ed;color:var(--kw-green)!important;font-weight:700}
.kw-post-share>span{display:block;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#56665c;margin-bottom:10px}
.kw-post-share>div{display:flex;flex-wrap:wrap;gap:8px}
.kw-post-share a,.kwekii-theme .kw-post-share button{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:8px 12px;border:1px solid #d7e3da;border-radius:999px;background:#fff;color:#4b5a51!important;font-size:12px;font-weight:700;line-height:1;box-shadow:none;cursor:pointer}
.kw-post-share a:hover,.kwekii-theme .kw-post-share button:hover{border-color:var(--kw-brand);color:var(--kw-green)!important;background:#f0f7f2}
.kw-post-share .kw-icon{width:14px;height:14px}

/* Article typography */
.kwekii-theme .kw-post-content{font-size:17px;line-height:1.8;color:#34403a}
.kwekii-theme .kw-post-content>*:first-child{margin-top:0}
.kwekii-theme .kw-post-content p{font-size:17px;line-height:1.8;color:#34403a;margin:0 0 22px}
.kwekii-theme .kw-post-content>p:first-child{font-size:19px;line-height:1.7;color:#25302b;padding:22px 24px;border-radius:16px;background:#f5f9f6;border:1px solid #e1ece4}
.kwekii-theme .kw-post-content>p:first-child strong{color:var(--kw-green)}
.kwekii-theme .kw-post-content h2{font-size:30px;font-weight:850;line-height:1.2;letter-spacing:-.035em;color:#1f2a25;margin:52px 0 16px;scroll-margin-top:calc(24px + var(--kw-adminbar-height))}
.kwekii-theme .kw-post-content h3{font-size:21px;font-weight:800;line-height:1.3;letter-spacing:-.02em;color:#26322c;margin:34px 0 12px}
.kwekii-theme .kw-post-content a{color:var(--kw-green);font-weight:600;text-decoration:underline!important;text-decoration-color:#9fcdb4!important;text-decoration-thickness:2px!important;text-underline-offset:3px}
.kwekii-theme .kw-post-content a:hover{text-decoration-color:var(--kw-green)!important}
.kwekii-theme .kw-post-content strong{color:#1f2a25;font-weight:750}
.kwekii-theme .kw-post-content :is(ul,ol){margin:0 0 24px!important;padding-left:0!important}
.kwekii-theme .kw-post-content li{font-size:17px;line-height:1.75;color:#34403a;margin:0 0 10px;padding-left:30px;position:relative;list-style:none}
.kwekii-theme .kw-post-content ul>li:before{content:"";position:absolute;left:8px;top:.72em;width:7px;height:7px;border-radius:50%;background:var(--kw-brand)}
.kwekii-theme .kw-post-content ol{counter-reset:kw-step}
.kwekii-theme .kw-post-content ol>li{counter-increment:kw-step;padding-left:40px}
.kwekii-theme .kw-post-content ol>li:before{content:counter(kw-step);position:absolute;left:0;top:.15em;width:26px;height:26px;border-radius:50%;background:#e6f2ea;color:var(--kw-green);font-size:13px;font-weight:800;line-height:26px;text-align:center}
.kwekii-theme .kw-post-content em{color:#5f6c64}

/* Key takeaways */
.kwekii-theme .kw-post-content .kw-key-takeaways{margin:30px 0 8px;padding:26px 28px 10px;border-radius:18px;background:linear-gradient(135deg,#1f5a46,#2f7a60);color:#fff;box-shadow:0 12px 30px -16px rgba(31,90,70,.6)}
.kwekii-theme .kw-post-content .kw-key-takeaways h2{font-size:13px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#bfe6d1;margin:0 0 14px}
.kwekii-theme .kw-post-content .kw-key-takeaways li{color:#eef7f1;font-size:16px;padding-left:30px}
.kwekii-theme .kw-post-content .kw-key-takeaways li:before{content:"";left:2px;top:.42em;width:16px;height:16px;border-radius:50%;background:#bfe6d1 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f5a46' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/10px no-repeat}
.kwekii-theme .kw-post-content .kw-key-takeaways strong{color:#fff}

/* Tables */
.kw-table-scroll{margin:8px 0 18px;overflow-x:auto;border:1px solid var(--kw-line);border-radius:14px;-webkit-overflow-scrolling:touch}
.kw-table-scroll:focus-visible{outline:2px solid #2268a8;outline-offset:3px}
.kwekii-theme .kw-post-content table{width:100%;border-collapse:collapse;margin:0;font-size:15px;background:#fff}
.kwekii-theme .kw-post-content th{background:#f2f7f3;color:#2a3a31;font-weight:800;text-align:left;padding:13px 16px;border:0;border-bottom:1px solid var(--kw-line);font-size:13px;letter-spacing:.02em}
.kwekii-theme .kw-post-content td{padding:13px 16px;border:0;border-bottom:1px solid #eef2ee;color:#3c4842;vertical-align:top}
.kwekii-theme .kw-post-content tr:last-child td{border-bottom:0}
.kwekii-theme .kw-post-content tbody tr:hover td{background:#fafcfa}
.kwekii-theme .kw-post-content td a{font-weight:700}

/* FAQ */
.kwekii-theme .kw-post-content details{border:1px solid var(--kw-line);border-radius:14px;margin:0 0 12px;background:#fff;transition:border-color .2s,box-shadow .2s}
.kwekii-theme .kw-post-content details[open]{border-color:#bcd9c6;box-shadow:0 6px 18px -12px rgba(40,100,79,.45)}
.kwekii-theme .kw-post-content summary{position:relative;list-style:none;cursor:pointer;padding:18px 56px 18px 20px;font-size:17px;font-weight:750;line-height:1.45;color:#22302a}
.kwekii-theme .kw-post-content summary::-webkit-details-marker{display:none}
.kwekii-theme .kw-post-content summary:after{content:"";position:absolute;right:18px;top:50%;width:26px;height:26px;margin-top:-13px;border-radius:50%;background:#eef6f0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2328644f' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/14px no-repeat;transition:transform .2s}
.kwekii-theme .kw-post-content details[open] summary:after{transform:rotate(45deg)}
.kwekii-theme .kw-post-content summary:focus-visible{outline:2px solid #2268a8;outline-offset:-2px;border-radius:14px}
.kwekii-theme .kw-post-content details>p{padding:0 20px 18px;margin:0;font-size:16px}

/* Disclosure note */
.kwekii-theme .kw-post-content .kw-post-note{margin-top:30px;padding:16px 18px;border-radius:12px;background:#f7f8f5;border:1px dashed #d6dfd6;font-size:14px;line-height:1.7}
.kwekii-theme .kw-post-content .kw-post-note em{color:#6a766e}

/* Author card */
.kw-post-author-card{display:flex;gap:20px;align-items:flex-start;margin-top:44px;padding:26px;border:1px solid var(--kw-line);border-radius:18px;background:linear-gradient(180deg,#fbfdfb,#f5f9f6)}
.kw-post-avatar-lg{width:68px;height:68px;font-size:22px}
.kw-post-author-card>div{min-width:0}
.kw-post-author-card>div>span{display:block;font-size:11px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:#87938b}
.kw-post-author-card a{display:inline-block;margin-top:4px;font-size:20px;font-weight:850;letter-spacing:-.02em;color:#1f2a25!important}
.kw-post-author-card a:hover{color:var(--kw-green)!important}
.kw-post-author-card small{display:block;font-size:13px;color:var(--kw-green);font-weight:700;margin-top:2px}
.kwekii-theme .kw-post-author-card p{font-size:15px;line-height:1.7;color:#5b6860;margin:10px 0 0}

/* Call to action */
.kw-post-cta{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:22px;padding:28px 30px;border-radius:18px;background:var(--kw-brand);color:#fff;position:relative;overflow:hidden}
.kw-post-cta:before{content:"";position:absolute;right:-60px;top:-80px;width:240px;height:240px;border-radius:50%;background:rgba(255,255,255,.08)}
.kw-post-cta>div{position:relative}
.kwekii-theme .kw-post-cta h2{font-size:22px;font-weight:850;letter-spacing:-.03em;color:#fff;margin:0 0 6px;line-height:1.25}
.kwekii-theme .kw-post-cta p{font-size:15px;line-height:1.6;color:#dcefe4;margin:0}
.kw-post-cta>a{position:relative;display:inline-flex;align-items:center;gap:8px;flex:none;padding:13px 18px;border-radius:10px;background:#fff;color:var(--kw-green)!important;font-size:14px;font-weight:800;white-space:nowrap}
.kw-post-cta>a:hover{background:#eaf6ef}
.kw-post-cta .kw-icon{width:16px;height:16px}

/* Related */
.kw-post-related{background:#f6f9f5;border-top:1px solid var(--kw-line);padding:48px 0 56px}
.kw-post-related>.kw-container{max-width:1180px}
.kw-post-related-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:26px}
.kwekii-theme .kw-post-related h2{font-size:28px;font-weight:850;letter-spacing:-.035em;color:#1f2a25;margin:0}
.kw-post-related-heading>a{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:800;color:var(--kw-green)!important;white-space:nowrap}
.kw-post-related-heading .kw-icon{width:15px;height:15px}
.kw-post-related .kw-story>a{display:block;height:100%;padding:24px;border-radius:16px;background:#fff;border:1px solid var(--kw-line);transition:transform .2s,box-shadow .2s,border-color .2s}
.kw-post-related .kw-story>a:hover{transform:translateY(-3px);border-color:#c4dccc;box-shadow:0 14px 30px -18px rgba(40,100,79,.45)}
.kw-post-related .kw-story p{color:var(--kw-muted)}

@media(prefers-reduced-motion:reduce){.kw-post-related .kw-story>a,.kwekii-theme .kw-post-content details,.kw-post-toc>summary .kw-icon{transition:none}.kw-post-related .kw-story>a:hover{transform:none}}

@media(max-width:1000px){
.kw-post-layout.kw-container{grid-template-columns:minmax(0,1fr);gap:0;padding-top:30px}
.kw-post-main{max-width:none}
.kw-post-aside{grid-column:1;grid-row:auto;position:static;margin-bottom:30px}
.kw-post-main{grid-row:auto}
.kw-post-toc:not([open]){padding-bottom:16px}
.kw-post-share{display:none}
.kwekii-theme .kw-post-hero h1{font-size:42px}
}
@media(max-width:620px){
.kw-post-hero{padding:24px 0 32px}
.kw-post-crumbs{margin-bottom:20px}
.kwekii-theme .kw-post-hero h1{font-size:33px;margin:16px 0 14px}
.kwekii-theme .kw-post-hero .kw-post-dek{font-size:16px}
.kw-post-byline{margin-top:22px}
.kw-post-avatar{width:42px;height:42px;font-size:14px}
.kwekii-theme .kw-post-content,.kwekii-theme .kw-post-content p,.kwekii-theme .kw-post-content li{font-size:16px}
.kwekii-theme .kw-post-content>p:first-child{font-size:17px;padding:18px}
.kwekii-theme .kw-post-content h2{font-size:25px;margin-top:42px}
.kwekii-theme .kw-post-content h3{font-size:19px}
.kwekii-theme .kw-post-content .kw-key-takeaways{padding:22px 20px 8px}
.kwekii-theme .kw-post-content summary{font-size:16px;padding:16px 52px 16px 16px}
.kwekii-theme .kw-post-content details>p{padding:0 16px 16px;font-size:15px}
.kwekii-theme .kw-post-content table{font-size:14px}
.kwekii-theme .kw-post-content :is(th,td){padding:11px 12px}
.kw-post-author-card{flex-direction:column;gap:14px;padding:22px}
.kw-post-cta{flex-direction:column;align-items:flex-start;padding:24px}
.kw-post-related{padding:36px 0 44px}
.kwekii-theme .kw-post-related h2{font-size:23px}
.kw-post-related .kw-story>a{padding:20px}
}

/* Blog page */
.kw-blog-hero{background:radial-gradient(1100px 360px at 88% -30%,#d9eee2 0,transparent 60%),linear-gradient(180deg,#f3f8f3 0,#fff 100%);border-bottom:1px solid var(--kw-line);padding:30px 0 44px}
.kw-blog-hero .kw-post-crumbs{margin-bottom:26px}
.kwekii-theme .kw-blog-hero h1{font-size:52px!important;font-weight:850!important;line-height:1.05!important;letter-spacing:-.045em;color:#1f2a25;margin:0 0 16px!important}
.kwekii-theme .kw-blog-hero p{font-size:18px;line-height:1.65;color:#5f6c64;max-width:680px;margin:0}
.kw-blog-stats{display:flex;flex-wrap:wrap;gap:10px;list-style:none;margin:24px 0 0;padding:0}
.kw-blog-stats li{padding:8px 14px;border:1px solid #d5e6da;border-radius:999px;background:#fff;font-size:13px;color:#5f6c64}
.kw-blog-stats strong{color:var(--kw-green)}
.kw-blog .kw-container{display:grid;gap:44px}
.kw-blog-kicker{display:block;font-size:12px;font-weight:750;letter-spacing:.06em;text-transform:uppercase;color:var(--kw-green)}
.kw-blog-featured{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:40px;align-items:center;padding:22px;border:1px solid var(--kw-line);border-radius:20px;background:#fff;box-shadow:0 10px 30px rgba(31,42,37,.06)}
.kw-blog-featured-media{display:block}
.kw-blog-featured-media :is(img,.kw-story-cover){width:100%;height:340px;margin:0;border-radius:14px;object-fit:cover}
.kw-blog-featured-media .kw-story-cover .kw-icon{width:96px;height:96px}
.kwekii-theme .kw-blog-featured h2{font-size:32px!important;font-weight:850!important;line-height:1.18!important;letter-spacing:-.035em;margin:12px 0 14px!important}
.kw-blog-featured h2 a{color:#1f2a25!important}
.kw-blog-featured h2 a:hover{color:var(--kw-green)!important}
.kwekii-theme .kw-blog-featured p{font-size:15px;line-height:1.7;color:#5f6c64;margin:0}
.kw-blog-byline{display:flex;align-items:center;gap:12px;margin:22px 0 24px}
.kw-blog-byline .kw-post-avatar{width:42px;height:42px;font-size:14px}
.kw-blog-byline>span{display:grid;font-size:13px;color:#7b867f}
.kw-blog-byline strong{color:#1f2a25;font-size:14px}
.kw-blog-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;margin-bottom:-18px}
.kwekii-theme .kw-blog-toolbar h2{font-size:26px!important;font-weight:850!important;color:#1f2a25}
.kw-blog-filters{display:flex;flex-wrap:wrap;gap:8px}
.kw-blog-filters button{padding:8px 15px;border:1px solid #d5e0d8;border-radius:999px;background:#fff;color:#4c5850;font-size:13px;font-weight:650;line-height:1.4;cursor:pointer}
.kw-blog-filters button:hover{border-color:var(--kw-brand);color:var(--kw-green)}
.kw-blog-filters button[aria-pressed=true]{background:var(--kw-green);border-color:var(--kw-green);color:#fff}
.kw-blog-grid{gap:34px 26px}
.kw-blog-grid .kw-story[hidden]{display:none}
.kw-blog-empty{color:#7b867f}
.kw-blog-standards{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:36px;padding:34px;border-radius:18px;background:#f3f8f3;border:1px solid #dcebdf}
.kwekii-theme .kw-blog-standards h2{font-size:26px!important;font-weight:850!important;line-height:1.2!important;color:#1f2a25;margin-top:10px!important}
.kw-blog-standards ul{list-style:none;margin:0;padding:0;display:grid;gap:16px}
.kw-blog-standards li{display:flex;gap:14px;font-size:14px;line-height:1.6;color:#5f6c64}
.kw-blog-standards li strong{color:#1f2a25}
.kw-blog-standards .kw-icon{flex:none;width:22px;height:22px;color:var(--kw-green);margin-top:2px}
.kw-blog-cta{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:34px 38px;border-radius:18px;background:linear-gradient(135deg,var(--kw-brand),var(--kw-green));color:#fff}
.kwekii-theme .kw-blog-cta h2{font-size:26px!important;font-weight:850!important;color:#fff}
.kwekii-theme .kw-blog-cta p{color:#e3f2e8;margin-top:6px;font-size:14px}
.kw-blog-cta .kw-button{flex:none}
@media(max-width:1000px){.kw-blog-featured{grid-template-columns:1fr;gap:24px}.kw-blog-featured-media :is(img,.kw-story-cover){height:260px}.kw-blog-standards{grid-template-columns:1fr;gap:20px}}
@media(max-width:620px){.kwekii-theme .kw-blog-hero h1{font-size:38px!important}.kwekii-theme .kw-blog-hero p{font-size:16px}.kw-blog-hero{padding:22px 0 32px}.kw-blog-featured{padding:14px;border-radius:16px}.kw-blog-featured-media :is(img,.kw-story-cover){height:200px}.kwekii-theme .kw-blog-featured h2{font-size:25px!important}.kw-blog-standards,.kw-blog-cta{padding:24px}.kw-blog-cta{flex-direction:column;align-items:flex-start}.kw-blog .kw-container{gap:36px}.kw-blog-filters{flex-wrap:nowrap;overflow-x:auto;width:100%;padding-bottom:4px}.kw-blog-filters button{flex:none}}
.kw-blog-featured-media img{height:auto!important;aspect-ratio:40/21}
/* In-article advertisement: keep the article's typography off the ad and Kwekii promo. */
.kwekii-theme .kw-post-content .kw-ad-post{margin:44px 0 8px;font-size:14px;line-height:1.5}
.kwekii-theme .kw-post-content .kw-ad-placement a{font-weight:inherit;text-decoration:none!important}
.kwekii-theme .kw-post-content .kw-ad-placement .kw-ad-house-cta{font-weight:800}
.kwekii-theme .kw-post-content .kw-ad-placement .kw-ad-house-alt{text-decoration:underline!important;text-decoration-color:currentColor!important;text-decoration-thickness:1px!important;text-underline-offset:2px}
.kwekii-theme .kw-post-content .kw-ad-placement .kw-ad-house-copy strong{color:#fff;font-weight:750}
.kwekii-theme .kw-post-content .kw-ad-placement .kw-ad-house-copy p{margin:5px 0 0;font-size:12.5px;line-height:1.55;color:#ffffffd9}
.kwekii-theme .kw-post-content .kw-ad-placement .kw-sr-only{margin:0}
