/* Guide (cluster) pages: page-cluster-article.php, rendered by inc/cluster-view.php.
   Same tokens as the blog (assets/blog.css): Inter, one accent, hairlines, soft depth.
   Numbered sections beside a sticky contents list, then the topic series, other topics and
   the call to action. No bands, gradients or pill badges. Plain CSS (no Tailwind rebuild).
   LinkedIn guides (data-pbtheme="linkedin" wrapper) swap the accent. */

.pbcl {
  --ink: #0b0b10; --ink-2: #26262e; --mut: #5b5b66; --mut-2: #8a8a96;
  --line: #e6e6ec; --line-2: #f0f0f4; --soft: #f8f8fa;
  --ac: #e11d48; --ac-dk: #be123c; --ac-soft: rgba(225, 29, 72, .35); --tint: #fff4f6;
  --r: 16px; --r-sm: 12px;
  --sh-1: 0 1px 2px rgba(16, 16, 28, .05);
  --sh-2: 0 1px 2px rgba(16, 16, 28, .04), 0 8px 20px -8px rgba(16, 16, 28, .10);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: #fff; color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased;
}
[data-pbtheme="linkedin"] .pbcl { --ac: #0a66c2; --ac-dk: #084d93; --ac-soft: rgba(10, 102, 194, .35); --tint: #eff6fc; }

.pbcl *, .pbcl *::before, .pbcl *::after { box-sizing: border-box; }
:where(.pbcl) :where(h1, h2, h3, h4, p, figure, ol, ul) { margin: 0; }
.pbcl img { display: block; max-width: 100%; height: auto; }
.pbcl a { color: inherit; text-decoration: none; }
.pbcl a:focus-visible, .pbcl button:focus-visible, .pbcl summary:focus-visible { outline: 2px solid var(--ac); outline-offset: 3px; border-radius: 6px; }

/* Lines up with the site header: max-w-7xl + px-4 / sm:px-6 / lg:px-8. */
.pbcl-wrap { width: 100%; max-width: 80rem; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .pbcl-wrap { padding: 0 24px; } }
@media (min-width: 1024px) { .pbcl-wrap { padding: 0 32px; } }

/* Header and body share one grid, so the title starts where the reading column does. */
.pbcl-grid { display: grid; }
@media (min-width: 1024px) { .pbcl-grid { grid-template-columns: 220px minmax(0, 1fr); column-gap: 72px; } }

.pbcl-label { font-size: 12px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--mut-2); }
.pbcl-h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 720; line-height: 1.15; letter-spacing: -.03em; color: var(--ink); text-wrap: balance; }

/* ── Header ───────────────────────────────────────────────── */
.pbcl-head { padding: 32px 0 40px; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .pbcl-head { padding: 56px 0 56px; } }
.pbcl-head__side { display: none; }
@media (min-width: 1024px) {
  .pbcl-head__side { display: block; padding-top: 74px; }
  .pbcl-kicker__pos { display: none; }
}
.pbcl-count { margin-top: 6px; font-size: 56px; font-weight: 300; line-height: 1; letter-spacing: -.04em; color: var(--ink); font-variant-numeric: tabular-nums; }
.pbcl-count span { margin-left: 8px; font-size: 18px; font-weight: 500; letter-spacing: 0; color: var(--mut-2); }
.pbcl-head__main { min-width: 0; max-width: 54rem; }

.pbcl-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; font-weight: 550; color: var(--mut); }
.pbcl-crumbs a { transition: color .15s ease; }
.pbcl-crumbs a:hover { color: var(--ac); }
.pbcl-crumbs span[aria-hidden] { color: var(--line); }

.pbcl-kicker { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ac); }
.pbcl-kicker i { font-size: 16px; }
.pbcl-kicker__pos { font-weight: 500; color: var(--mut); }
.pbcl-title { margin-top: 14px; font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 760; line-height: 1.06; letter-spacing: -.035em; color: var(--ink); text-wrap: balance; }
.pbcl-dek { margin-top: 18px; max-width: 44rem; font-size: 19px; line-height: 1.6; color: var(--mut); }

.pbcl-byline { margin-top: 28px; display: flex; align-items: center; gap: 12px; }
.pbcl-byline img { width: 40px; height: 40px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line); object-fit: contain; padding: 4px; }
.pbcl-byline__name { font-size: 15px; font-weight: 650; color: var(--ink); }
.pbcl-byline__meta { font-size: 14px; color: var(--mut); }

/* ── Body ─────────────────────────────────────────────────── */
.pbcl-body { padding-top: 32px; padding-bottom: 72px; }
@media (min-width: 1024px) { .pbcl-body { padding-top: 56px; padding-bottom: 96px; } }
.pbcl-aside { display: none; }
.pbcl-main { min-width: 0; max-width: 46rem; }
@media (min-width: 1024px) {
  .pbcl-aside { display: block; position: sticky; top: 88px; align-self: start; }
  .pbcl-toc-m { display: none; }
}

/* Contents list: numbered like the sections; the one being read is marked. */
.pbcl-toc ol, .pbcl-toc-m ol { list-style: none; padding: 0; counter-reset: pbcl-toc; }
.pbcl-toc ol { margin-top: 14px; border-left: 1px solid var(--line); }
.pbcl-toc li, .pbcl-toc-m li { counter-increment: pbcl-toc; }
.pbcl-toc li a { display: flex; gap: 10px; margin-left: -1px; padding: 6px 0 6px 14px; border-left: 2px solid transparent; font-size: 13.5px; line-height: 1.4; color: var(--mut); transition: color .15s ease, border-color .15s ease; }
.pbcl-toc li a::before, .pbcl-toc-m li a::before { content: counter(pbcl-toc, decimal-leading-zero); flex: none; font-size: 12px; font-weight: 600; line-height: 1.6; color: var(--mut-2); font-variant-numeric: tabular-nums; }
.pbcl-toc li a:hover { color: var(--ink); }
.pbcl-toc li a[aria-current] { color: var(--ink); font-weight: 600; border-left-color: var(--ac); }
.pbcl-toc li a[aria-current]::before { color: var(--ac); }

.pbcl-toc-m { margin-bottom: 32px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--soft); }
.pbcl-toc-m summary { cursor: pointer; padding: 14px 16px; font-size: 15px; font-weight: 650; list-style: none; }
.pbcl-toc-m summary::-webkit-details-marker { display: none; }
.pbcl-toc-m summary::after { content: "+"; float: right; color: var(--mut); }
.pbcl-toc-m[open] summary::after { content: "\2013"; }
.pbcl-toc-m ol { margin: 0 16px 14px; }
.pbcl-toc-m li a { display: flex; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line-2); font-size: 15px; line-height: 1.4; color: var(--ink-2); }

.pbcl-figure { margin-bottom: 40px; }
.pbcl-figure img { width: 100%; border-radius: var(--r); box-shadow: 0 0 0 1px rgba(16, 16, 28, .06), var(--sh-2); }

/* ── Reading column ───────────────────────────────────────── */
.pbcl-prose { font-size: 18px; line-height: 1.75; color: var(--ink-2); overflow-wrap: break-word; counter-reset: pbcl-sec; }
.pbcl-prose > * + * { margin-top: 1.2em; }
.pbcl-prose .pbcl-lead { font-size: 20px; line-height: 1.65; color: var(--ink); }
.pbcl-prose h2 { counter-increment: pbcl-sec; margin-top: 2.6em; padding-top: 1.4em; border-top: 1px solid var(--line); font-size: 1.75rem; font-weight: 720; line-height: 1.2; letter-spacing: -.028em; color: var(--ink); scroll-margin-top: 88px; text-wrap: balance; }
.pbcl-prose h2::before { content: counter(pbcl-sec, decimal-leading-zero); display: block; margin-bottom: 10px; font-size: 13px; font-weight: 650; letter-spacing: .04em; color: var(--ac); font-variant-numeric: tabular-nums; }
.pbcl-prose h3 { margin-top: 1.8em; font-size: 1.25rem; font-weight: 700; line-height: 1.35; letter-spacing: -.015em; color: var(--ink); scroll-margin-top: 88px; }
.pbcl-prose h2 + *, .pbcl-prose h3 + * { margin-top: .65em; }
.pbcl-prose a { color: var(--ac); font-weight: 550; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--ac-soft); transition: text-decoration-color .15s ease; }
.pbcl-prose a:hover { text-decoration-color: var(--ac); }
.pbcl-prose strong { font-weight: 650; color: var(--ink); }
.pbcl-prose em { font-style: italic; }
/* Tailwind's preflight strips list markers site-wide; the reading column puts them back. */
.pbcl-prose ul, .pbcl-prose ol { padding-left: 1.4em; }
.pbcl-prose ul { list-style: disc outside; }
.pbcl-prose ol { list-style: decimal outside; }
.pbcl-prose li { padding-left: .25em; }
.pbcl-prose li + li { margin-top: .5em; }
.pbcl-prose li::marker { color: var(--mut-2); }
.pbcl-prose ol li::marker { font-weight: 650; color: var(--ac); }
.pbcl-prose code { padding: .15em .4em; border-radius: 6px; background: var(--soft); box-shadow: 0 0 0 1px var(--line); font-size: .88em; }
.pbcl-prose img { border-radius: var(--r-sm); }

.pbcl-table { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-sm); box-shadow: var(--sh-1); }
.pbcl-table table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.pbcl-table th { padding: 12px 16px; background: var(--soft); border-bottom: 1px solid var(--line); text-align: left; font-size: 12px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--mut); white-space: nowrap; }
.pbcl-table td { padding: 13px 16px; border-bottom: 1px solid var(--line-2); vertical-align: top; color: var(--ink-2); }
.pbcl-table td:first-child { font-weight: 600; color: var(--ink); }
.pbcl-table tr:last-child td { border-bottom: 0; }
@media (max-width: 640px) { .pbcl-table table { font-size: 14px; } .pbcl-table th, .pbcl-table td { padding: 10px 12px; } }

/* FAQ: every answer visible, questions separated by rules. */
.pbcl-faq { border-bottom: 1px solid var(--line); }
.pbcl-faq > * + * { margin-top: .55em; }
.pbcl-faq > h3 { margin-top: 0; padding: 22px 0 0; border-top: 1px solid var(--line-2); font-size: 1.125rem; }
.pbcl-faq > h3:first-child { border-top: 0; padding-top: 4px; }
.pbcl-faq > :last-child { padding-bottom: 22px; }
.pbcl-faq > h3 ~ p { color: var(--mut); font-size: 17px; }
.pbcl-faq > p + h3 { margin-top: 22px; }

/* ── After the article ────────────────────────────────────── */
.pbcl-next { position: relative; margin-top: 56px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 20px; align-items: center; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; box-shadow: var(--sh-1); transition: border-color .15s ease, box-shadow .15s ease; }
.pbcl-next .pbcl-label { grid-column: 1; }
.pbcl-next__title { grid-column: 1; font-size: 19px; font-weight: 700; line-height: 1.3; letter-spacing: -.015em; color: var(--ink); }
.pbcl-next i { grid-column: 2; grid-row: 1 / span 2; display: flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 999px; background: var(--soft); color: var(--ink); font-size: 14px; transition: background-color .15s ease, color .15s ease, transform .15s ease; }
.pbcl-next:hover { border-color: var(--ink); box-shadow: var(--sh-2); }
.pbcl-next:hover i { background: var(--ac); color: #fff; transform: translateX(2px); }

.pbcl-share { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.pbcl-share .pbcl-label { flex-basis: 100%; margin-bottom: 2px; }
.pbcl-share a, .pbcl-share button { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font: 600 14px/1 var(--font); color: var(--ink-2); cursor: pointer; transition: border-color .15s ease, color .15s ease; }
.pbcl-share a:hover, .pbcl-share button:hover { border-color: var(--ink); color: var(--ink); }
.pbcl-share .fa-linkedin { color: #0a66c2; }
.pbcl-share--ai { margin-top: 20px; padding-top: 0; border-top: 0; }
.pbcl-share--ai svg { width: 15px; height: 15px; fill: currentColor; flex: none; }
.pbcl-share--ai a:nth-of-type(2) svg { color: #d97757; }
.pbcl-share--ai a:nth-of-type(3) svg { color: #1f8a8a; }
.pbcl-share--ai a:nth-of-type(4) svg { color: #4285f4; }

/* ── Topic series ─────────────────────────────────────────── */
.pbcl-series { padding: 64px 0; background: var(--soft); border-block: 1px solid var(--line); scroll-margin-top: 64px; }
@media (min-width: 900px) { .pbcl-series { padding: 88px 0; } }
.pbcl-sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 28px; }
.pbcl-sec-head p { font-size: 15px; color: var(--mut); }

.pbcl-list { list-style: none; padding: 0; display: grid; border-top: 1px solid var(--line); counter-reset: none; }
@media (min-width: 900px) { .pbcl-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; } }
.pbcl-list li { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.pbcl-list__n { font-size: 15px; font-weight: 600; line-height: 1.45; color: var(--mut-2); font-variant-numeric: tabular-nums; }
.pbcl-list__t { display: block; font-size: 17px; font-weight: 650; line-height: 1.4; letter-spacing: -.01em; color: var(--ink); transition: color .15s ease; }
a.pbcl-list__t::after { content: ""; position: absolute; inset: 0; }
.pbcl-list li:hover a.pbcl-list__t { color: var(--ac); }
.pbcl-list__t em { display: block; margin-top: 2px; font-style: normal; font-size: 13px; font-weight: 600; color: var(--ac); }
.pbcl-list__d { margin-top: 4px; font-size: 14.5px; line-height: 1.55; color: var(--mut); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pbcl-list li.is-here .pbcl-list__n { color: var(--ac); }

/* ── Other topics ─────────────────────────────────────────── */
.pbcl-topics { padding: 64px 0 24px; }
@media (min-width: 900px) { .pbcl-topics { padding: 88px 0 32px; } }
.pbcl-more { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--ink); }
.pbcl-more i { font-size: 12px; transition: transform .15s ease; }
.pbcl-more:hover { color: var(--ac); }
.pbcl-more:hover i { transform: translateX(3px); }
.pbcl-cols { display: grid; gap: 32px; }
@media (min-width: 640px) { .pbcl-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .pbcl-cols { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; } }
.pbcl-cols h3 { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.pbcl-cols ul { list-style: none; padding: 0; }
.pbcl-cols li { border-bottom: 1px solid var(--line-2); }
.pbcl-cols li a { display: block; padding: 11px 0; font-size: 15px; font-weight: 550; line-height: 1.4; color: var(--ink-2); transition: color .15s ease, padding .15s ease; }
.pbcl-cols li a:hover { color: var(--ac); padding-left: 4px; }

/* ── Call to action ───────────────────────────────────────── */
.pbcl-cta { padding: 48px 0 80px; }
.pbcl-cta__in { display: grid; gap: 24px; align-items: center; padding: 32px 24px; border: 1px solid var(--line); border-radius: 24px; background: var(--tint); box-shadow: var(--sh-2); }
.pbcl-cta__in > * { min-width: 0; }
.pbcl-cta__in p { margin-top: 10px; max-width: 40rem; font-size: 16px; line-height: 1.6; color: var(--mut); }
@media (min-width: 900px) { .pbcl-cta__in { grid-template-columns: minmax(0, 1fr) auto; gap: 48px; padding: 48px 56px; } }
.pbcl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--r-sm); background: var(--ac); color: #fff !important; font: 600 15px/1 var(--font); box-shadow: var(--sh-1), inset 0 1px 0 rgba(255, 255, 255, .14); transition: background-color .15s ease; }
.pbcl-btn:hover { background: var(--ac-dk); }
.pbcl-btn i { font-size: 12px; }
.pbcl-cta__in .pbcl-cta__fine { margin-top: 12px; font-size: 14px; }

@media (prefers-reduced-motion: reduce) {
  .pbcl *, .pbcl *::before, .pbcl *::after { transition: none !important; }
}
