/*! social-pinks — blog, archive, search and generic page styles.
    Built from the same tokens as the rest of the site; the card and list
    components (.fpost, .lrow, .band, .shead) come from base.css. */

/* --- category filter row (/blog/ and its category archives) ------------ */
.blogcatfilter{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}
.blogcatfilter a{font-size:.84rem;font-weight:600;color:var(--ink-2);background:#fff;border:1.5px solid var(--line-2);border-radius:999px;padding:8px 16px;text-decoration:none;transition:border-color .15s,color .15s,background .15s}
.blogcatfilter a:hover{border-color:var(--pink);color:var(--pink)}
.blogcatfilter a.active{background:var(--ink);border-color:var(--ink);color:#fff}

/* --- list layout ------------------------------------------------------- */
.bloglist{display:flex;flex-direction:column;gap:12px}
.blogfeat .bloglist{margin-top:0}
.band .bloglist .lrow{background:#fff}

/* same absolute-positioning fix as base.css: .lic is a grid container with
   an auto row, so a percentage height here resolves to auto and a portrait
   thumbnail overflows the box. */
.lrow .lic img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.fph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.fph{position:relative;overflow:hidden}
.fph .ft{position:relative;z-index:2}

/* --- single post ------------------------------------------------------- */
.posthead{max-width:760px}
.posthead h1{font-family:var(--disp);font-size:clamp(1.9rem,3.6vw,2.9rem);font-weight:800;letter-spacing:-.03em;margin:14px 0 0}
.posthead .kick{margin-bottom:0}
.postmeta{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:16px;color:var(--ink-3);font-size:.88rem}
.postmeta .pauthor{display:inline-flex;align-items:center;gap:9px;color:var(--ink);font-weight:600}
.postmeta .pav{border-radius:50%}
.postimg{margin:28px 0 0}
.postimg img{width:100%;border-radius:var(--r-lg);box-shadow:var(--shadow)}

.postbody{max-width:760px;margin-top:26px;font-size:1.03rem;color:var(--ink-2)}
.postbody>*+*{margin-top:1.1em}
.postbody h2{font-family:var(--disp);font-size:1.6rem;font-weight:800;letter-spacing:-.02em;color:var(--ink);margin-top:1.8em}
.postbody h3{font-family:var(--disp);font-size:1.22rem;font-weight:700;color:var(--ink);margin-top:1.5em}
.postbody a{color:var(--pink);text-decoration:underline;text-underline-offset:3px}
.postbody a:hover{color:var(--pink-d)}
.postbody ul,.postbody ol{padding-left:1.2em}
.postbody li+li{margin-top:.45em}
.postbody blockquote{margin:1.6em 0;padding:18px 22px;border-left:4px solid var(--pink);background:var(--lilac);border-radius:0 var(--r) var(--r) 0;color:var(--ink);font-size:1.06rem}
.postbody blockquote p{margin:0}
.postbody img,.postbody video{border-radius:var(--r);height:auto}
.postbody figure{margin:1.6em 0}
.postbody figcaption{font-size:.85rem;color:var(--ink-3);margin-top:8px}
.postbody code{background:var(--lilac);border:1px solid var(--line);border-radius:6px;padding:2px 6px;font-size:.9em}
.postbody pre{background:var(--forest);color:#e8f5ef;border-radius:var(--r);padding:18px 20px;overflow-x:auto}
.postbody pre code{background:none;border:0;color:inherit;padding:0}
.postbody table{width:100%;border-collapse:collapse;font-size:.94rem}
.postbody th,.postbody td{border:1px solid var(--line);padding:10px 12px;text-align:left}
.postbody th{background:var(--lilac);font-family:var(--disp)}

.posttags{display:flex;flex-wrap:wrap;gap:8px;margin-top:28px;max-width:760px}
.posttags a{font-size:.8rem;font-weight:600;color:var(--ink-2);background:var(--lilac);border:1px solid var(--line);border-radius:999px;padding:6px 13px}
.posttags a:hover{color:var(--pink);border-color:var(--line-2)}

/* --- pagination -------------------------------------------------------- */
.pagination{display:flex;justify-content:center;gap:8px;margin-top:34px;flex-wrap:wrap}
.pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:42px;padding:0 13px;border-radius:12px;border:1px solid var(--line-2);background:#fff;font-family:var(--disp);font-weight:600;font-size:.9rem;color:var(--ink-2)}
.pagination .page-numbers:hover{border-color:var(--ink);color:var(--ink)}
.pagination .page-numbers.current{background:var(--ink);border-color:var(--ink);color:#fff}
.pagination .screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* --- search form ------------------------------------------------------- */
.search-form{display:flex;gap:10px}
.search-form label{flex:1;min-width:0}
.search-form .search-field{width:100%;padding:13px 16px;border:1.5px solid var(--line-2);border-radius:999px;font:inherit;font-size:.96rem}
.search-form .search-field:focus{outline:none;border-color:var(--pink)}
.search-form .search-submit{flex:none;padding:13px 22px;border:0;border-radius:999px;background:var(--ink);color:#fff;font-family:var(--disp);font-weight:600;cursor:pointer}

/* --- comments ---------------------------------------------------------- */
.comment-list{list-style:none;padding:0;max-width:760px}
.comment-list li{border-top:1px solid var(--line);padding:18px 0}
.comment-list .children{list-style:none;padding-left:22px}
.comment-respond{max-width:760px;margin-top:24px}
.comment-form input[type=text],.comment-form input[type=email],.comment-form input[type=url],.comment-form textarea{width:100%;padding:12px 15px;border:1.5px solid var(--line-2);border-radius:12px;font:inherit}
.comment-form .submit{padding:13px 24px;border:0;border-radius:999px;background:var(--pink);color:#fff;font-family:var(--disp);font-weight:600;cursor:pointer}

/* --- blog: shared two-column layout (all four templates) ---------------
   Body + sticky right rail (TOC when the post has headings, author card,
   share row, strategist CTA — see template-parts/blog/sidebar.php). Same
   visual language as the legal pages' .pol-layout/.pol-toc (page-privacy.css)
   but named for this bundle since it's a different page family — see the
   project's own "repeat the shared component per bundle" convention. */
.blog-layout{display:grid;grid-template-columns:1fr 272px;gap:48px;max-width:1080px;margin:32px auto 0;align-items:start}
.blog-main{min-width:0}
.blog-main .postbody{margin-top:0}
.blog-main>*+*{margin-top:24px}
.blog-rail{position:sticky;top:20px;display:flex;flex-direction:column;gap:16px}

.blog-toc{background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px}
.blog-toc h4{font-family:var(--disp);font-weight:800;font-size:.7rem;text-transform:uppercase;letter-spacing:.05em;color:var(--ink-3);margin:0 0 10px}
.blog-toc a{display:block;font-size:.84rem;color:var(--ink-2);text-decoration:none;padding:5px 0 5px 12px;border-left:2px solid var(--line)}
.blog-toc a:hover{color:var(--pink);border-color:var(--pink)}

.blog-toc-card{background:linear-gradient(135deg,var(--pink),var(--purple));border-radius:16px;padding:18px;color:#fff}
.blog-toc-card b{font-family:var(--disp);font-weight:800;font-size:.9rem;display:block;margin-bottom:6px}
.blog-toc-card p{font-size:.8rem;color:rgba(255,255,255,.85);margin:0 0 6px;line-height:1.5}
.blog-toc-card p:last-child{margin-bottom:0}
.blog-toc-card a{color:#fff;font-weight:700;text-decoration:none}

/* --- blog: sidebar author card + share row (every template) ------------ */
.blog-author-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px;display:flex;gap:14px;align-items:flex-start;box-shadow:var(--shadow-sm)}
.blog-author-av{border-radius:50%;flex:none;width:56px;height:56px}
.blog-author-body{display:flex;flex-direction:column;gap:3px;min-width:0}
.blog-author-body b{font-family:var(--disp);font-size:.98rem;color:var(--ink);line-height:1.25}
.blog-author-title{font-size:.8rem;color:var(--ink-3)}
.blog-author-cred{display:inline-flex;align-items:center;gap:5px;font-size:.76rem;color:var(--pink);font-weight:600;margin-top:3px}
.blog-author-link{font-size:.78rem;font-weight:700;color:var(--pink);margin-top:5px;text-decoration:none}
.blog-author-link:hover{color:var(--pink-d)}

.blog-share{display:flex;align-items:center;gap:9px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px 16px}
.blog-share-label{font-family:var(--disp);font-weight:800;font-size:.7rem;text-transform:uppercase;letter-spacing:.05em;color:var(--ink-3);margin-right:3px}
.blog-share a{width:32px;height:32px;border-radius:50%;background:var(--lilac);color:var(--ink-2);display:flex;align-items:center;justify-content:center;flex:none;transition:background .12s,color .12s}
.blog-share a:hover{background:var(--pink);color:#fff}

/* --- blog template: How-To / Step-by-Step -------------------------------
   Quick-fact pills (time/materials count), the "What you'll need" card, and
   numbered step cards — same numbered-circle-plus-divider language as the
   legal pages' .pol-step/.pol-num, named for this bundle. */
.blog-quickfacts{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.blog-quickfact{display:inline-flex;align-items:center;gap:8px;font-size:.8rem;color:var(--ink-3);background:var(--lilac);border:1px solid var(--line);border-radius:999px;padding:7px 14px}
.blog-quickfact svg{color:var(--pink);width:14px;height:14px}
.blog-quickfact b{color:var(--ink);font-weight:700}
.blog-needs{background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px 22px;box-shadow:var(--shadow-sm)}
.blog-needs h4{font-family:var(--disp);font-weight:800;font-size:.9rem;color:var(--ink);margin:0 0 10px}
.blog-needs ul{margin:0;padding-left:20px}
.blog-needs li{font-size:.94rem;color:var(--ink-2);line-height:1.6;margin-bottom:4px}
.blog-steps{display:flex;flex-direction:column}
.blog-step{display:flex;gap:18px;padding:22px 0;border-top:1px solid var(--line)}
.blog-step:first-child{border-top:none;padding-top:0}
.blog-num{width:40px;height:40px;border-radius:12px;background:linear-gradient(135deg,var(--pink),var(--purple));color:#fff;display:grid;place-items:center;font-family:var(--disp);font-weight:800;flex:none}
.blog-step h2{font-family:var(--disp);font-weight:800;font-size:1.25rem;color:var(--ink);margin:2px 0 10px;scroll-margin-top:90px}
.blog-step .postbody{margin-top:0;max-width:none}

/* --- blog template: Case Study / Data Story -----------------------------
   Reuses .herostats verbatim (base.css, the same component the service
   pillar heroes use) — only this small label needs its own rule. */
.blog-stats-label{font-family:var(--disp);font-weight:800;font-size:.72rem;text-transform:uppercase;letter-spacing:.06em;color:var(--ink-3);margin:26px 0 4px}

/* --- blog: FAQ section ---------------------------------------------------
   Reuses .faqwrap/.faq/.a verbatim (base.css, the same accordion the
   service pages use) — no new rules needed for the accordion itself. */
.blog-faq-section .faqwrap{max-width:820px;margin:0 auto}

@media(max-width:900px){
  .blog-layout{grid-template-columns:1fr}
  .blog-rail{position:static}
}

@media(max-width:640px){
  .postbody{font-size:1rem}
  .search-form{flex-direction:column}
  .search-form .search-submit{width:100%}
}

/* --- blog index redesign (2026-09-22) — full-width featured story +
   even card grid ----------------------------------------------------------
   Replaces the old hero-plus-narrow-icon-list split. The old
   .blogfeat (1.12fr/.88fr grid) and .lrow (46px icon + two lines of text)
   rules in base.css are left in place untouched — nothing outside
   /blog/ and its category archives uses them (checked) — these rules
   simply win on load order + specificity, same pattern as overrides.css
   documents for the rest of the site ("loads last, wins"). */

.blogfeat{display:block;margin-top:34px}
.blogfeat .bloglist{margin-top:40px}

/* Featured story: full-width, image and copy split evenly, badge as a
   frosted chip over the art instead of a flat pill sitting in a
   flex-end corner. */
.fpost{display:grid;grid-template-columns:1.05fr 1fr;border-radius:var(--r-xl)}
.fpost:hover{box-shadow:var(--shadow);transform:none}
.fpost .fph{height:auto;min-height:300px;padding:0;display:block}
.fpost .fph .ft{position:absolute;top:20px;left:20px;background:rgba(10,34,31,.55);backdrop-filter:blur(6px)}
.fpost .fbody{padding:38px 42px;display:flex;flex-direction:column;justify-content:center}
.fpost .fbody h3{font-size:clamp(1.5rem,2.6vw,2rem)}
.fpost .fbody p{font-size:1.02rem;line-height:1.62}
.fpost .fbody .fmeta{margin-top:24px;flex-wrap:wrap;row-gap:10px}
.fpost .fbody .fmeta .rd{background:var(--pink);color:#fff;padding:9px 16px;border-radius:999px;transition:background .15s}
.fpost:hover .fbody .fmeta .rd{background:var(--pink-d)}

@media(max-width:760px){
  .fpost{grid-template-columns:1fr}
  .fpost .fph{min-height:220px}
}

/* Rest of the posts: an even grid of real cards (image, category, title,
   meta) instead of cramped 46px-icon rows — same .lrow/.lic/.lc markup,
   restyled top-to-bottom instead of left-to-right. Applies to both the
   /blog/ index grid and the plain .bloglist on category archives. */
.bloglist{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:20px}
.bloglist .lrow{flex-direction:column;align-items:stretch;gap:0;padding:0;border-radius:var(--r-lg);overflow:hidden;transform:none}
.bloglist .lrow:hover{transform:translateY(-3px);border-color:var(--pink)}
.bloglist .lrow .lic{width:100%;height:150px;border-radius:0}
.bloglist .lrow .lic svg{width:30px;height:30px}
.bloglist .lrow .lc{padding:18px 20px 20px}
.bloglist .lrow .cat{display:block;margin-bottom:8px}
.bloglist .lrow h4{font-size:1.02rem;line-height:1.32;margin:0 0 8px}
.bloglist .lrow .meta{font-size:.78rem}

@media(max-width:480px){
  .bloglist{grid-template-columns:1fr}
}
