/* WebPickly Core 2.2.1 Unified. Scoped to WebPickly-generated UI.
   No external fonts/scripts; contrast-forward navy, blue and copper/orange. */
:root { --wpk-orange:#ed8a18; --wpk-copper:#b65b08; --wpk-navy:#161e30; --wpk-pale:#fff8ee; }

/* Homepage 2.2.1: focused editorial standards, without three oversized cards */
.wpk-home .wpk-trustbar { position:relative; margin:clamp(30px,4vw,56px) 0 22px; display:block; padding:clamp(23px,3vw,38px); background:#f8fafc; border:1px solid #e0e8f1; border-radius:22px; overflow:hidden; }
.wpk-home .wpk-trustbar::before { position:absolute; content:""; top:0; left:0; right:0; height:4px; background:linear-gradient(90deg,#ed8a18 0%,#ed8a18 32%,#2563eb 33%,#2563eb 65%,#ef7951 66%,#ef7951 100%); }
.wpk-home .wpk-trustbar__intro { display:flex; justify-content:space-between; align-items:end; gap:15px 32px; flex-wrap:wrap; padding-bottom:22px; margin-bottom:20px; border-bottom:1px solid #dce4ed; }
.wpk-home .wpk-trustbar__intro .wpk-section-kicker { flex:0 0 100%; }
.wpk-home .wpk-trustbar__intro h2 { margin:0; color:#172237; font-size:clamp(24px,2.45vw,34px); line-height:1.15; letter-spacing:-.035em; max-width:20ch; }
.wpk-home .wpk-trustbar__intro p { margin:0; flex:1 1 300px; max-width:60ch; font-size:15px; line-height:1.62; color:#526178; }
.wpk-section-kicker { display:inline-flex; gap:10px; align-items:center; color:#a8550a; letter-spacing:.16em; font-size:11px; font-weight:850; text-transform:uppercase; }
.wpk-section-kicker::before { content:""; height:3px; width:25px; display:inline-block; background:linear-gradient(90deg,#f59e0b,#ef794b); border-radius:10px; }
.wpk-home .wpk-trustbar__grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0; }
.wpk-home .wpk-trustbar__item { display:flex; gap:12px; min-width:0; background:transparent; border:0; box-shadow:none; padding:4px clamp(14px,2vw,26px); margin:0; border-right:1px solid #dee5ef; border-radius:0; }
.wpk-home .wpk-trustbar__item:first-child { padding-left:0; }
.wpk-home .wpk-trustbar__item:last-child { border-right:0; padding-right:0; }
.wpk-home .wpk-trustbar__item::before { content:none; }
.wpk-home .wpk-trustbar__number { flex:0 0 30px; display:grid; place-items:center; width:30px; height:30px; border-radius:9px; background:#fff1df; color:#98500c; font-size:11px; font-weight:850; letter-spacing:.02em; margin:2px 0 0; }
.wpk-home .wpk-trustbar__item:nth-child(2) .wpk-trustbar__number { background:#eaf1ff; color:#205bcf; }
.wpk-home .wpk-trustbar__item:nth-child(3) .wpk-trustbar__number { background:#fff0eb; color:#b94a31; }
.wpk-home .wpk-trustbar__body { display:flex; flex-direction:column; min-width:0; }
.wpk-home .wpk-trustbar__item h3 { color:#1a2940; font-size:16px; font-weight:780; letter-spacing:-.012em; line-height:1.35; margin:0 0 8px; }
.wpk-home .wpk-trustbar__item p { color:#53637a; font-size:13px; line-height:1.65; margin:0; flex:1; }
.wpk-home .wpk-trustbar__item a { color:#235dcc; text-decoration:none; font-weight:720; font-size:12px; margin:10px 0 0; align-self:flex-start; }
.wpk-home .wpk-trustbar__item a:hover { text-decoration:underline; }

/* Homepage 2.2.1: founder as a small editorial signature, not a full-width personal hero */
.wpk-home .wpk-author-home { position:relative; display:grid; grid-template-columns:104px minmax(0,1fr) minmax(145px,.24fr); gap:clamp(16px,2.5vw,30px); align-items:center; margin:22px 0 clamp(34px,5vw,70px); padding:clamp(20px,2.5vw,30px); background:#161e30; border:1px solid #25354b; border-radius:20px; overflow:hidden; box-shadow:0 12px 32px rgba(22,30,48,.075); text-align:left; }
.wpk-home .wpk-author-home::before { content:none; }
.wpk-home .wpk-author-home__visual { position:relative; min-height:0; max-height:none; width:104px; height:104px; overflow:hidden; border-radius:17px; background:#29374c; display:grid; place-items:center; align-self:center; }
.wpk-home .wpk-author-home__visual::before { content:none; }
.wpk-home .wpk-author-home__visual img { display:block; width:104px; height:104px; min-height:0; aspect-ratio:1; object-fit:cover; object-position:center 16%; border-radius:17px; }
.wpk-home .wpk-author-home__placeholder { font-weight:800; font-size:35px; color:#fff; }
.wpk-home .wpk-author-home__copy { display:block; padding:0; min-width:0; }
.wpk-home .wpk-author-home .wpk-section-kicker { color:#ffbd70; font-size:10px; }
.wpk-home .wpk-author-home h2 { color:#fff; margin:6px 0 7px; max-width:none; font-size:clamp(20px,2.2vw,28px); line-height:1.2; letter-spacing:-.025em; }
.wpk-home .wpk-author-home__bio { color:#c9d5e6; font-size:13px; line-height:1.62; max-width:74ch; margin:0; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.wpk-home .wpk-author-home__aside { display:flex; flex-direction:column; justify-content:center; align-items:flex-start; gap:12px; padding-left:clamp(14px,1.8vw,24px); border-left:1px solid rgba(223,233,248,.18); align-self:stretch; }
.wpk-home .wpk-author-home__experience { display:block; color:#ffcc87; font-size:22px; line-height:1.1; font-weight:850; white-space:nowrap; }
.wpk-home .wpk-author-home__experience small { display:block; margin-top:5px; font-size:11px; font-weight:500; color:#aebed4; white-space:normal; }
.wpk-home .wpk-author-home__link { color:#fff; text-decoration:none; border:0; background:#2563eb; border-radius:9px; font-size:12px; font-weight:700; padding:10px 12px; display:inline-flex; gap:6px; align-items:center; }
.wpk-home .wpk-author-home__link:hover { color:#fff; background:#3975fb; }

/* Browse by topic and product properties with actual server-side query + pagination */
.wpk-archive-heading { background:linear-gradient(125deg,#fff9ef,#f5f8fe); border:1px solid #e9e8e6; border-radius:22px; padding:clamp(24px,3.5vw,48px); margin:6px 0 22px; }
.wpk-archive-heading .wpk-title { margin:15px 0 9px; font-size:clamp(30px,3.8vw,50px); color:#1a263a; line-height:1.1; letter-spacing:-.035em; }
.wpk-archive-heading .wpk-lead { margin:0; max-width:65ch; line-height:1.65; color:#566477; }
.wpk-discovery { margin:26px 0 28px; border:1px solid #dee7f2; border-radius:18px; padding:20px 22px; background:#fff; box-shadow:0 4px 20px rgba(22,30,48,.035); }
.wpk-discovery__head { display:flex; align-items:baseline; flex-wrap:wrap; gap:10px 18px; margin:0 0 17px; }
.wpk-discovery__head strong { font-size:19px; color:#1b2a3e; }
.wpk-discovery__head span { font-size:13px; color:#5f6d7f; }
.wpk-discovery__fields { display:flex; flex-wrap:wrap; gap:10px; align-items:end; }
.wpk-discovery__fields label { display:flex; flex-direction:column; gap:6px; min-width:150px; flex:1 1 165px; font-size:12px; font-weight:700; color:#52637a; }
.wpk-discovery__fields select { display:block; width:100%; height:43px; color:#1b2b41; font-size:14px; background-color:#f8fafc; border:1px solid #dfe6ee; padding:0 12px; border-radius:10px; }
.wpk-discovery__fields .wpk-discovery__free { flex:0 0 auto; display:flex; flex-direction:row; gap:8px; align-items:center; min-height:43px; }
.wpk-discovery__free input { accent-color:#e6861b; }
.wpk-discovery__fields button { height:43px; padding:0 22px; border:0; border-radius:10px; background:#2563eb; color:#fff; font-weight:700; cursor:pointer; }
.wpk-discovery__fields button:hover { background:#1549c3; }
.wpk-discovery__reset { min-height:43px; display:inline-flex; align-items:center; padding:0 9px; font-size:13px; font-weight:650; }
.wpk-discovery-results__heading { display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:12px; margin:0 0 22px; }
.wpk-discovery-results__heading h2 { margin:0; font-size:clamp(24px,2.5vw,32px); color:#172339; }
.wpk-discovery-results__heading span { color:#65738a; font-size:13px; }
.wpk-discovery-results .wpk-post, .wpk-discovery-results .wpk-card { transition:transform .2s,border-color .2s,box-shadow .2s; }
.wpk-discovery-results .wpk-post:hover, .wpk-discovery-results .wpk-card:hover { transform:translateY(-3px); border-color:#d7e4f7; box-shadow:0 14px 33px rgba(22,30,48,.075); }
.wpk-content-kind { display:inline-block; color:#b5640b; background:#fff4e6; border-radius:7px; padding:4px 9px; text-transform:uppercase; letter-spacing:.08em; font-weight:800; font-size:10px; }
.wpk-pager { display:flex; flex-wrap:wrap; gap:7px; margin:28px 0 12px; align-items:center; }
.wpk-pager .page-numbers { display:inline-flex; align-items:center; justify-content:center; min-width:38px; min-height:38px; border:1px solid #e0e7f1; background:#fff; padding:7px 12px; border-radius:8px; text-decoration:none; font-size:13px; }
.wpk-pager .page-numbers.current { background:#161e30; color:#fff; border-color:#161e30; }
.wpk-pager .page-numbers:hover { border-color:#2563eb; }

/* Editorial TOC, sources and body polish: readable, not a second generic theme */
.wpk-toc { margin:0 0 clamp(24px,3vw,42px); border:1px solid #e2e8f1; background:#f8fafc; border-radius:17px; overflow:hidden; max-width:860px; }
.wpk-toc details { margin:0; }
.wpk-toc summary { display:flex; align-items:center; justify-content:space-between; gap:12px; list-style:none; cursor:pointer; padding:18px 22px; font-size:16px; font-weight:800; color:#17243a; }
.wpk-toc summary::-webkit-details-marker { display:none; }
.wpk-toc summary::before { content:""; width:4px; height:21px; background:#ed8a18; border-radius:10px; }
.wpk-toc summary span { margin-left:auto; font-size:12px; color:#64748b; font-weight:550; }
.wpk-toc ol { columns:2; column-gap:26px; margin:0; padding:0 24px 20px 48px; }
.wpk-toc li { break-inside:avoid; padding:2px 0 7px; color:#f59e0b; }
.wpk-toc li a { color:#344761; text-decoration:none; font-size:14px; line-height:1.6; font-weight:550; }
.wpk-toc li a:hover { color:#2563eb; text-decoration:underline; }
.wpk-product-editorial h2[id], .wpk-editorial-body h2[id] { scroll-margin-top:100px; }
.wpk-product-editorial :is(p,li), .wpk-editorial-body :is(p,li) { line-height:1.8; }
.wpk-product-editorial :is(h2,h3), .wpk-editorial-body :is(h2,h3) { text-wrap:balance; }
.wpk-product-editorial img, .wpk-editorial-body img { border-radius:14px; }
.wpk-product-editorial table, .wpk-editorial-body table { max-width:100%; }
.wpk-related-list .wpk-cards { grid-template-columns:repeat(3,minmax(0,1fr)); }
.wpk-source-ledger { padding:clamp(22px,3vw,34px); margin:clamp(34px,4vw,55px) 0; background:#fff8ef; border:1px solid #f2dfc5; border-radius:19px; }
.wpk-source-ledger h2 { color:#202e42; font-size:clamp(22px,2.4vw,29px); margin:14px 0 7px; }
.wpk-source-ledger p { color:#637088; margin:0 0 17px; font-size:14px; line-height:1.7; }
.wpk-source-ledger ul { list-style:none; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; padding:0; margin:16px 0; }
.wpk-source-ledger li a { display:block; background:#fff; padding:11px 13px; border:1px solid #e9ddcd; border-radius:9px; overflow-wrap:anywhere; color:#2350a0; font-size:13px; text-decoration:none; }
.wpk-source-ledger li a:hover { border-color:#efb56e; }
.wpk-source-ledger .wpk-source-ledger__date { color:#805019; font-weight:600; margin:8px 0 0; }
:where(.wpk-toc a,.wpk-discovery a,.wpk-discovery button,.wpk-author-home a,.wpk-trustbar a):focus-visible { outline:3px solid #ff9f35; outline-offset:3px; }
@media (max-width:900px) {
 .wpk-home .wpk-trustbar__grid { grid-template-columns:1fr; gap:14px; }
 .wpk-home .wpk-trustbar__item, .wpk-home .wpk-trustbar__item:first-child, .wpk-home .wpk-trustbar__item:last-child { padding:0 0 13px; border-right:0; border-bottom:1px solid #dee5ef; }
 .wpk-home .wpk-trustbar__item:last-child { padding-bottom:0; border-bottom:0; }
 .wpk-home .wpk-author-home { grid-template-columns:82px minmax(0,1fr); }
 .wpk-home .wpk-author-home__visual, .wpk-home .wpk-author-home__visual img { width:82px; height:82px; }
 .wpk-home .wpk-author-home__aside { grid-column:2; flex-direction:row; border-left:0; padding:0; align-self:center; align-items:center; }
 .wpk-related-list .wpk-cards { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:650px) {
 .wpk-home .wpk-trustbar { padding:23px 20px; }
 .wpk-home .wpk-trustbar__intro h2 { max-width:none; }
 .wpk-home .wpk-author-home { grid-template-columns:72px minmax(0,1fr); gap:14px; padding:19px; }
 .wpk-home .wpk-author-home__visual, .wpk-home .wpk-author-home__visual img { width:72px; height:72px; border-radius:13px; }
 .wpk-home .wpk-author-home__copy { padding:0; }
 .wpk-home .wpk-author-home__bio { display:block; overflow:visible; -webkit-line-clamp:unset; }
 .wpk-home .wpk-author-home__aside { grid-column:1/-1; justify-content:space-between; padding-top:12px; border-top:1px solid rgba(223,233,248,.18); }
 .wpk-home .wpk-author-home__experience { font-size:18px; }
 .wpk-toc ol { columns:1; padding:0 18px 17px 41px; }
 .wpk-discovery { padding:16px; }
 .wpk-discovery__fields label { min-width:130px; }
 .wpk-source-ledger ul, .wpk-related-list .wpk-cards { grid-template-columns:1fr; }
}
@media (max-width:380px) {
 .wpk-home .wpk-author-home { grid-template-columns:1fr; }
 .wpk-home .wpk-author-home__visual { grid-column:1; }
 .wpk-home .wpk-author-home__copy { grid-column:1; }
 .wpk-home .wpk-author-home__aside { grid-column:1; }
}
@media (prefers-reduced-motion:reduce) { .wpk-discovery-results .wpk-post,.wpk-discovery-results .wpk-card { transition:none; } }
