/* Blog post template v2, cleaned up (Cody, 21 Oct 2026: "white background… cleaner… the boxes are tight"; references:
   murphmaxxing.com/vault, Uxcel article page, Dovetail insight, GetYourGuide's "In this article" rail). One ink, one
   muted grey, hairline borders, no gradients or shadows, the site's blue only on buttons. Built by
   scripts/build_post_v2.py. */

.pv2 { --pv2-measure: 44rem; --pv2-rail: 18rem; --pv2-gap: 4rem; --pv2-ink: #1c211d; --pv2-ink-2: #4a554d; --pv2-mute: #7a837d; --pv2-line: #e8e8e4; --pv2-soft: #f6f6f3; --pv2-blue: var(--color-cta, #2563eb); --pv2-blue-2: var(--color-cta-hover, #1d4ed8); color: var(--pv2-ink); background: #fff; }
.pv2 *, .pv2 *::before, .pv2 *::after { box-sizing: border-box; }
body.pv2-page { background: #fff; }
body.pv2-page .bgimage { display: none; }
body.pv2-page .logodark, body.pv2-page .footerlogo { height: auto; } /* the logos carry width/height attributes (no layout shift); the CSS width decides, so the height must follow */

/* reading progress */
.pv2-progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: var(--pv2-blue); z-index: 60; transition: width .1s linear; }

/* header */
.pv2-head { max-width: var(--pv2-measure); margin: 3rem auto 0; padding: 0 1.25rem; }
.pv2-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; font-size: .8rem; color: var(--pv2-mute); margin: 0 0 1.4rem; }
.pv2-crumbs a { color: inherit; text-decoration: none; }
.pv2-crumbs a:hover { color: var(--pv2-ink); }
.pv2-topic { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--pv2-ink-2); text-decoration: none; }
.pv2-title { font-family: var(--font-heading, Georgia, serif); font-weight: 500; font-size: clamp(2.1rem, 4.8vw, 3.25rem); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 1rem; }
.pv2-dek { font-size: 1.15rem; line-height: 1.55; color: var(--pv2-ink-2); margin: 0 0 1.5rem; }
.pv2-byline { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; padding: 1rem 0; border-top: 1px solid var(--pv2-line); border-bottom: 1px solid var(--pv2-line); font-size: .88rem; }
.pv2-byline img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.pv2-byline strong { display: block; font-weight: 600; }
.pv2-byline span { color: var(--pv2-mute); }
.pv2-byline .pv2-meta { margin-left: auto; display: flex; gap: .9rem; color: var(--pv2-mute); }
.pv2-hero { max-width: var(--pv2-measure); margin: 1.75rem auto 0; padding: 0 1.25rem; }
.pv2-hero img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; display: block; }

/* layout */
.pv2-grid { display: grid; grid-template-columns: minmax(0, var(--pv2-measure)) var(--pv2-rail); gap: var(--pv2-gap); justify-content: center; padding: 2.25rem 1.25rem 3rem; }
.pv2-rail { position: sticky; top: 5.5rem; align-self: start; display: flex; flex-direction: column; gap: 1.75rem; }
.pv2-card { border: 1px solid var(--pv2-line); border-radius: 12px; padding: 1rem 1.1rem; background: #fff; }
.pv2-card h4 { font-family: var(--font-body, sans-serif); font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--pv2-mute); margin: 0 0 .7rem; }
.pv2-toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .15rem; }
.pv2-toc a { display: block; padding: .3rem 0 .3rem .7rem; border-left: 2px solid transparent; color: var(--pv2-ink-2); font-size: .86rem; line-height: 1.35; text-decoration: none; }
.pv2-toc a:hover { color: var(--pv2-ink); }
.pv2-toc a.is-active { border-left-color: var(--pv2-ink); color: var(--pv2-ink); font-weight: 600; }
.pv2-toc details summary { cursor: pointer; font-weight: 600; font-size: .9rem; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.pv2-toc details summary::after { content: "▾"; color: var(--pv2-mute); }
.pv2-toc details[open] summary::after { content: "▴"; }
.pv2-toc details summary::-webkit-details-marker { display: none; }
.pv2-toc details ol { margin-top: .6rem; }

/* rail: related reads (GetYourGuide) */
.pv2-rail-related h4 { font-family: var(--font-body, sans-serif); font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--pv2-mute); margin: 0 0 .8rem; }
.pv2-rail-related ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .9rem; }
.pv2-rail-related a { display: grid; grid-template-columns: 64px 1fr; gap: .75rem; align-items: start; text-decoration: none; color: inherit; }
.pv2-rail-related img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; display: block; background: var(--pv2-soft); }
.pv2-rail-related .pv2-related__topic { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--pv2-mute); margin-bottom: .15rem; }
.pv2-rail-related h3 { font-family: var(--font-body, sans-serif); font-size: .9rem; font-weight: 600; line-height: 1.3; margin: 0; }
.pv2-rail-related a:hover h3 { color: var(--pv2-blue); }

/* rail: course card */
.pv2-sidecta { border: 1px solid var(--pv2-line); border-radius: 12px; padding: 1.1rem; }
.pv2-sidecta .pv2-eyebrow { color: var(--pv2-mute); }
.pv2-sidecta h3 { font-family: var(--font-body, sans-serif); font-size: 1.02rem; font-weight: 600; line-height: 1.3; margin: .3rem 0 .4rem; }
.pv2-sidecta p { font-size: .86rem; line-height: 1.5; color: var(--pv2-ink-2); margin: 0 0 .9rem; }
.pv2-eyebrow { display: inline-block; font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.pv2-btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; padding: .75rem 1.1rem; border-radius: 8px; background: var(--pv2-blue); color: #fff !important; font-weight: 600; font-size: .9rem; text-decoration: none; transition: background .15s; }
.pv2-btn:hover { background: var(--pv2-blue-2); }
.pv2-btn--ghost { background: transparent; color: var(--pv2-ink) !important; border: 1px solid var(--pv2-line); }
.pv2-btn--ghost:hover { background: var(--pv2-soft); }
.pv2-btn--block { width: 100%; }

/* article body */
.pv2-article { min-width: 0; font-size: 1.125rem; line-height: 1.7; color: var(--pv2-ink-2); }
.pv2-article > p, .pv2-article > ul, .pv2-article > ol, .pv2-article > blockquote { margin: 0 0 1.35rem; }
.pv2-article strong { color: var(--pv2-ink); }
.pv2-article h2 { font-family: var(--font-body, sans-serif); color: var(--pv2-ink); font-weight: 700; font-size: clamp(1.35rem, 2.6vw, 1.65rem); line-height: 1.25; letter-spacing: -.01em; margin: 2.75rem 0 .9rem; scroll-margin-top: 5.5rem; }
.pv2-article h3 { font-family: var(--font-body, sans-serif); color: var(--pv2-ink); font-weight: 600; font-size: 1.12rem; margin: 1.9rem 0 .6rem; scroll-margin-top: 5.5rem; }
.pv2-article a { color: var(--pv2-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; text-decoration-color: #b9c0bb; }
.pv2-article a:hover { text-decoration-color: var(--pv2-ink); }
.pv2-article ul, .pv2-article ol { padding-left: 1.3rem; }
.pv2-article li { margin: 0 0 .5rem; }
.pv2-article li::marker { color: var(--pv2-mute); }
.pv2-article blockquote { margin: 1.8rem 0; padding: 0 0 0 1.2rem; border-left: 2px solid var(--pv2-ink); font-size: 1.15rem; line-height: 1.5; color: var(--pv2-ink); }
.pv2-article blockquote cite { display: block; margin-top: .5rem; font-size: .85rem; font-style: normal; color: var(--pv2-mute); }
.pv2-lede { font-size: 1.2rem; line-height: 1.6; color: var(--pv2-ink); }
.pv2-answer { background: var(--pv2-soft); border-radius: 10px; padding: 1rem 1.2rem; margin: 0 0 1.8rem; font-size: 1rem; line-height: 1.6; }
.pv2-answer strong { color: var(--pv2-ink); }

/* key takeaways */
.pv2-takeaways { margin: 1.8rem 0 2.4rem; padding: 1.2rem 1.3rem 1rem; border: 1px solid var(--pv2-line); border-radius: 12px; }
.pv2-article .pv2-takeaways h2 { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--pv2-mute); margin: 0 0 .8rem; }
.pv2-takeaways ol { list-style: none; counter-reset: tk; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .55rem; }
.pv2-takeaways li { counter-increment: tk; position: relative; padding-left: 1.9rem; font-size: .98rem; line-height: 1.5; color: var(--pv2-ink); }
.pv2-takeaways li::before { content: counter(tk) "."; position: absolute; left: .1rem; top: 0; font-weight: 600; color: var(--pv2-mute); font-variant-numeric: tabular-nums; }

/* in-article CTA */
.pv2-cta { margin: 2.4rem 0; padding: 1.4rem 1.5rem; border-radius: 12px; border: 1px solid var(--pv2-line); display: grid; grid-template-columns: 1fr auto; gap: 1rem 1.6rem; align-items: center; }
.pv2-cta h3 { font-family: var(--font-body, sans-serif); color: var(--pv2-ink); font-size: 1.15rem; font-weight: 600; line-height: 1.3; margin: .3rem 0 .35rem; }
.pv2-cta p { margin: 0; font-size: .95rem; line-height: 1.5; color: var(--pv2-ink-2); }
.pv2-cta .pv2-eyebrow { color: var(--pv2-mute); }
.pv2-cta--end { display: block; padding: 1.8rem 1.5rem; }
.pv2-cta--end h3 { font-size: 1.35rem; }
.pv2-cta--end p { max-width: 36rem; margin: 0 0 1.1rem; }
.pv2-cta--end .pv2-actions { display: flex; gap: .6rem; flex-wrap: wrap; }

/* FAQ */
.pv2-faq { margin: 2.6rem 0 0; }
.pv2-faq .faq-item { border-top: 1px solid var(--pv2-line); }
.pv2-faq .faq-item:last-child { border-bottom: 1px solid var(--pv2-line); }
.pv2-faq .faq-question { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .95rem 0; cursor: pointer; font-weight: 600; font-size: 1rem; line-height: 1.4; color: var(--pv2-ink); }
.pv2-faq .faq-question::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--pv2-mute); flex: 0 0 auto; }
.pv2-faq .faq-item.open .faq-question::after { content: "–"; }
.pv2-faq .faq-answer { display: none; padding: 0 0 1rem; font-size: .98rem; line-height: 1.6; color: var(--pv2-ink-2); }
.pv2-faq .faq-item.open .faq-answer { display: block; }

/* references */
.pv2-refs { margin: 2.4rem 0 0; font-size: .86rem; color: var(--pv2-mute); }
.pv2-article .pv2-refs h2 { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--pv2-mute); margin: 0 0 .6rem; }
.pv2-refs ol { padding-left: 1.2rem; }
.pv2-refs li { margin-bottom: .4rem; line-height: 1.5; }
.pv2-refs a { color: var(--pv2-ink-2); word-break: break-all; }

/* end matter: topics + share, author */
.pv2-end { max-width: var(--pv2-measure); margin: 0 auto; padding: 0 1.25rem 4rem; }
.pv2-tags { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; margin: .5rem 0 1.4rem; }
.pv2-tags a { padding: .32rem .7rem; border: 1px solid var(--pv2-line); border-radius: 8px; font-size: .82rem; color: var(--pv2-ink); text-decoration: none; }
.pv2-tags a:hover { border-color: var(--pv2-ink); }
.pv2-share { display: flex; align-items: center; gap: .5rem; margin-left: auto; font-size: .8rem; color: var(--pv2-mute); }
.pv2-share a, .pv2-share button { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--pv2-line); background: #fff; display: grid; place-items: center; color: var(--pv2-ink); text-decoration: none; cursor: pointer; font: inherit; font-size: .85rem; }
.pv2-share a:hover, .pv2-share button:hover { border-color: var(--pv2-ink); }
.pv2-author { display: grid; grid-template-columns: 64px 1fr; gap: 1rem; padding: 1.3rem; border: 1px solid var(--pv2-line); border-radius: 12px; margin: 1.4rem 0 0; }
.pv2-author img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.pv2-author h3 { margin: 0 0 .15rem; font-family: var(--font-body, sans-serif); font-size: 1.05rem; font-weight: 600; }
.pv2-author .pv2-role { font-size: .82rem; color: var(--pv2-mute); margin: 0 0 .55rem; }
.pv2-author p { margin: 0 0 .5rem; font-size: .92rem; line-height: 1.55; color: var(--pv2-ink-2); }
.pv2-author a { color: var(--pv2-ink); }

/* related on phones (the rail list moves under the article) */
.pv2-hub p { font-size: .86rem; line-height: 1.5; color: var(--pv2-ink-2); margin: 0 0 .6rem; }
.pv2-hub a { font-size: .9rem; font-weight: 600; color: var(--pv2-blue); text-decoration: none; }
.pv2-hub a:hover { text-decoration: underline; }
.pv2-related-mobile { display: none; }

/* mobile */
@media (max-width: 991px) {
  .pv2-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .pv2-rail { position: static; order: -1; margin-bottom: 1.2rem; gap: 1rem; }
  .pv2-sidecta, .pv2-rail-related { display: none; }
  .pv2-related-mobile { display: block; margin: 2.5rem 0 0; }
  .pv2-related-mobile h4 { font-family: var(--font-body, sans-serif); font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--pv2-mute); margin: 0 0 .8rem; }
  .pv2-related-mobile ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .9rem; }
  .pv2-related-mobile a { display: grid; grid-template-columns: 64px 1fr; gap: .75rem; align-items: start; text-decoration: none; color: inherit; }
  .pv2-related-mobile img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; display: block; background: var(--pv2-soft); }
  .pv2-related-mobile .pv2-related__topic { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--pv2-mute); margin-bottom: .15rem; }
  .pv2-related-mobile h3 { font-family: var(--font-body, sans-serif); font-size: .95rem; font-weight: 600; line-height: 1.3; margin: 0; }
  .pv2-cta { grid-template-columns: 1fr; }
}
@media (min-width: 992px) { .pv2-toc details summary { pointer-events: none; } .pv2-toc details summary::after { content: ""; } }
@media (max-width: 600px) {
  .pv2-head { margin-top: 1.75rem; }
  .pv2-article { font-size: 1.05rem; }
  .pv2-byline .pv2-meta { margin-left: 0; width: 100%; }
  .pv2-author { grid-template-columns: 52px 1fr; padding: 1rem; }
  .pv2-author img { width: 52px; height: 52px; }
}

/* article media and tables (posts migrated from the Webflow layout keep their figures, embeds and tables) */
.pv2-article figure { margin: 1.8rem 0; }
.pv2-article figure > div { margin: 0; }
.pv2-article img { max-width: 100%; height: auto; border-radius: var(--radius-md, 12px); display: block; margin: 0 auto; }
.pv2-article figcaption { margin-top: .5rem; font-size: .85rem; line-height: 1.45; color: var(--color-text-light, #5a5a5a); text-align: center; }
.pv2-article iframe { max-width: 100%; border: 0; border-radius: var(--radius-md, 12px); }
.pv2-article .w-richtext-figure-type-video > div, .pv2-article .wp-block-embed__wrapper { position: relative; aspect-ratio: 16 / 9; }
.pv2-article .w-richtext-figure-type-video iframe, .pv2-article .wp-block-embed__wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.pv2-article .w-embed-youtubevideo { aspect-ratio: 16 / 9; }
.pv2-article audio { width: 100%; margin: 1.2rem 0; }
.pv2-article table { width: 100%; border-collapse: collapse; margin: 1.6rem 0; font-size: .95rem; line-height: 1.45; display: block; overflow-x: auto; }
.pv2-article th, .pv2-article td { border: 1px solid var(--color-border, #e0d5c7); padding: .55rem .7rem; vertical-align: top; text-align: left; }
.pv2-article th { background: var(--color-bg-alt, #f5f0e8); font-weight: 600; }
.pv2-article h4 { font-family: var(--font-body, sans-serif); font-weight: 700; font-size: 1.05rem; margin: 1.6rem 0 .5rem; }
.pv2-article h5, .pv2-article h6 { font-family: var(--font-body, sans-serif); font-weight: 600; font-size: .95rem; line-height: 1.45; margin: 1.2rem 0 .4rem; color: var(--color-text-light, #5a5a5a); }
.pv2-article h6 a { word-break: break-all; }
.pv2-article .optin-box { margin: 2.2rem 0; }
