/* PlayPatrol Blog 2 — theme skin on the PlayPatrol LP DS 2.0 tokens.
   Transcribed from the design delivery: blog.html + blog-post.html
   (assets/ds2-blog.css, assets/ds2-home.css, assets/ds2-shell.jsx and the
   DS TopNav / MegaMenu / Button components). No new visual decisions:
   every colour, radius, shadow and type step comes from the token sheets. */

/* ==========================================================================
   1. Fonts + base
   ========================================================================== */

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/Poppins-Light.ttf") format("truetype");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/Poppins-SemiBold.ttf") format("truetype");
}

*, *::before, *::after { box-sizing: border-box; }

html { overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: var(--fw-light);
  font-size: var(--fs-body-sm);
  line-height: var(--lh-body-sm);
  color: var(--text-body);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--link); text-decoration: none; transition: color 200ms cubic-bezier(.2,.6,.2,1); }
a:hover { color: var(--link-hover); }
::selection { background: var(--pp-green-50); color: var(--pp-text); }

img, svg, video { max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4, h5, h6 { font-weight: var(--fw-semibold); color: var(--pp-text-strong); }

button { font: inherit; }

:focus-visible { outline: 2px solid var(--pp-green-text); outline-offset: 2px; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  padding: 12px 20px; border-radius: var(--r-pill);
  background: var(--pp-white); box-shadow: var(--shadow-200);
  font-weight: var(--fw-semibold); color: var(--pp-text);
}
.skip-link:focus { left: 24px; top: 24px; }

/* The page canvas: DS Page — surface-page, 40px of air above the nav pill. */
.site-shell { display: flex; flex-direction: column; min-height: 100vh; padding-top: 40px; }
.site-main { display: flex; flex-direction: column; }

.bl-container { max-width: 1524px; margin: 0 auto; padding: 0 40px; width: 100%; }
@media (max-width: 900px) { .bl-container { padding: 0 24px; } }

/* ==========================================================================
   2. Buttons (DS 03 · Buttons)
   ========================================================================== */

.pp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  border: 0; border-radius: var(--r-pill); cursor: pointer; text-decoration: none;
  font-family: var(--font-body); font-weight: var(--fw-semibold); white-space: nowrap;
  padding: 16px 24px; font-size: var(--fs-button); line-height: var(--lh-button);
  transition: background 200ms cubic-bezier(.2,.6,.2,1), box-shadow 200ms cubic-bezier(.2,.6,.2,1), filter 200ms cubic-bezier(.2,.6,.2,1);
}
.pp-btn--big { font-size: var(--fs-button-big); line-height: var(--lh-button-big); }
.pp-btn--accent { background: var(--pp-gradient-cta); color: var(--pp-white); box-shadow: var(--shadow-cta); }
.pp-btn--accent:hover { color: var(--pp-white); filter: brightness(1.06); }
.pp-btn--neutral { background: transparent; color: var(--pp-text); box-shadow: inset 0 0 0 1px var(--pp-surface-tertiary); }
.pp-btn--neutral:hover { background: #F3F4F6; color: var(--pp-text); box-shadow: inset 0 0 0 1px #767676; }
.pp-btn--primary { background: var(--pp-surface-tertiary); color: var(--pp-green-50); border-bottom: 2px solid var(--pp-green-text); }
.pp-btn--primary:hover { background: var(--pp-text); color: var(--pp-green-50); }
.pp-btn--nav { height: 44px; padding: 0 24px; font-size: 15px; line-height: 23.25px; letter-spacing: .15px; flex: none; }
.pp-btn svg { flex: none; }

/* The listing / callout CTA — the big accent button used on the design pages. */
.bl-btn {
  height: 60px; display: inline-flex; align-items: center; justify-content: center; padding: 0 24px;
  border-radius: var(--r-pill); font-family: var(--font-body); font-size: 20px; font-weight: var(--fw-semibold);
  background: var(--pp-gradient-cta); color: var(--pp-white); border: 0; box-shadow: var(--shadow-cta);
}
.bl-btn:hover { filter: brightness(1.06); color: var(--pp-white); }
@media (max-width: 900px) { .bl-btn { height: 52px; font-size: 17px; } }

/* ==========================================================================
   3. Header — DS TopNav pill + mega menu
   ========================================================================== */

/* The pill: capped at the DS width of 1574px, and never closer than 40px to the
   viewport edge below that. The live nav on playpatrol.app writes the same
   geometry the other way round (width:1574px; max-width:calc(100% - 80px));
   here the cap is the max-width and the page gutter is the width, so the
   breakpoint below only has to restate the gutter. It floats over the section
   underneath, which is why the negative bottom margin is part of the geometry. */
.pp-navwrap {
  position: sticky; top: 20px; z-index: 20; align-self: center;
  width: calc(100% - 80px); max-width: 1574px;
  margin-inline: auto; margin-bottom: -68px;
}

.pp-topnav {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-6);
  height: 68px; padding: 0 40px; border-radius: var(--r-pill);
  background: var(--pp-gradient-nav); box-shadow: var(--shadow-200); backdrop-filter: blur(14px);
}

.pp-logo { display: inline-flex; align-items: center; flex: none; }
.pp-logo img, .pp-logo .custom-logo { width: 173.52px; height: 42px; object-fit: contain; }

.pp-navitems { display: flex; align-items: center; gap: var(--sp-2); margin: 0; padding: 0; list-style: none; }
/* No positioning here on purpose: .pp-mega anchors to .pp-navwrap so the panel
   spans the full width of the nav pill, the way the design shows it. */

.pp-navitem {
  position: relative; display: inline-flex; align-items: center; gap: 4px;
  padding: 8px 12px; border: 0; background: none; border-radius: var(--r-pill); cursor: pointer;
  font-family: var(--font-body); font-size: var(--fs-nav); line-height: var(--lh-nav);
  letter-spacing: var(--ls-nav); white-space: nowrap;
  font-weight: var(--fw-medium); color: var(--pp-text); text-decoration: none;
}
.pp-navitem:hover { color: var(--pp-green-dark); }
.pp-navitem.is-active { font-weight: var(--fw-semibold); color: #000; }
.pp-navitem.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -15px; height: 2px;
  background: var(--pp-green-text);
}
.pp-navitem svg { transition: transform 200ms cubic-bezier(.2,.6,.2,1); }
.pp-navitem[aria-expanded="true"] svg { transform: rotate(180deg); }

/* Mega panel: sits under the pill, spanning its full width. */
.pp-mega {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px);
  border-radius: var(--r-2xl); background: var(--pp-white);
  box-shadow: var(--shadow-200); padding: var(--sp-8);
}
.pp-mega[hidden] { display: none; }
.pp-mega-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--pp-border-hairline); }
.pp-mega-col { display: flex; flex-direction: column; gap: var(--sp-6); padding: var(--sp-8); }
.pp-mega-col + .pp-mega-col { border-left: 1px solid var(--pp-border-hairline); }
.pp-mega-title {
  margin: 0; font-family: var(--font-body); font-weight: var(--fw-semibold);
  font-size: 20px; line-height: 24px; letter-spacing: .02em; text-transform: uppercase; color: var(--pp-text-faint);
}
.pp-mega-list { display: flex; flex-direction: column; gap: var(--sp-6); margin: 0; padding: 0; list-style: none; }
.pp-mega-item { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--sp-4); text-decoration: none; }
.pp-mega-item.is-soon { opacity: .55; }
.pp-mega-text { display: flex; flex-direction: column; gap: 4px; }
.pp-mega-label { font-family: var(--font-body); font-weight: var(--fw-semibold); font-size: 20px; line-height: 26px; color: var(--pp-text); }
.pp-mega-desc { font-family: var(--font-body); font-weight: var(--fw-light); font-size: 18px; line-height: 1.5; color: var(--pp-text-soft); }
.pp-mega-item svg { margin-top: 4px; flex: none; color: var(--pp-text-faint); }
.pp-mega-soon {
  font-family: var(--font-body); font-weight: var(--fw-regular); font-size: 16px; line-height: 26px;
  text-transform: uppercase; color: var(--pp-text-faint); white-space: nowrap;
}
.pp-mega-feature {
  display: flex; flex-direction: column; border-radius: var(--r-xl);
  background: var(--pp-gradient-surface-brand); padding: var(--sp-4);
}
.pp-mega-feature .pp-mega-label { font-size: 18px; line-height: 24px; text-transform: uppercase; }
.pp-mega-feature .pp-mega-desc { margin-top: 4px; }

/* Burger + stacked mobile panel */
.pp-burger {
  position: absolute; right: 16px; top: 12px; z-index: 1;
  width: 44px; height: 44px; display: none; align-items: center; justify-content: center;
  border: 0; background: transparent; color: var(--pp-text); cursor: pointer;
}
.pp-burger .pp-burger-close { display: none; }
.pp-burger[aria-expanded="true"] .pp-burger-open { display: none; }
.pp-burger[aria-expanded="true"] .pp-burger-close { display: block; }

.pp-mobilemenu {
  margin-top: 8px; padding: 16px; border-radius: var(--r-2xl);
  background: var(--pp-white); box-shadow: var(--shadow-200);
  display: flex; flex-direction: column; gap: 4px;
}
.pp-mobilemenu[hidden] { display: none; }
.pp-mobilemenu a {
  display: flex; align-items: center; min-height: 48px; padding: 0 8px;
  font-family: var(--font-body); font-weight: var(--fw-medium); font-size: 18px; line-height: 1.4;
  color: var(--pp-text);
}
.pp-mobilemenu a.is-active { color: var(--pp-green-dark); }
.pp-mobilemenu .pp-btn { margin-top: 8px; }
.pp-mobilemenu ul { margin: 0; padding: 0; list-style: none; }

/* The pill carries the full item row + CTA from 1360 up; below that: burger. */
@media (max-width: 1359px) {
  .pp-navwrap { width: calc(100% - 32px); }
  .pp-topnav { padding: 0 16px; }
  .pp-topnav .pp-navitems, .pp-topnav > .pp-btn { display: none; }
  .pp-burger { display: inline-flex; }
}
@media (max-width: 768px) {
  .pp-navwrap { top: 12px; }
}

/* ==========================================================================
   4. Listing — hero, toolbar, cards, pagination
   ========================================================================== */

.bl-hero {
  background: var(--pp-gradient-surface-brand); border-radius: var(--r-5xl);
  margin: 0 40px; padding: 120px 0 88px;
}
.bl-kicker {
  font-size: 12px; line-height: 15.5px; font-weight: var(--fw-bold); letter-spacing: 1.4px;
  text-transform: uppercase; color: var(--pp-text-soft); margin: 0 0 16px;
}
.bl-h1 {
  font-size: 48px; line-height: 1; letter-spacing: -1.84px; font-weight: var(--fw-semibold);
  color: var(--pp-text); margin: 0 0 24px; max-width: 900px;
}
.bl-h1 em, .bl-h1 span { font-style: normal; color: var(--pp-green-text); }
.bl-lede { font-size: 24px; line-height: 1.5; font-weight: var(--fw-regular); color: rgba(15, 23, 43, .8); max-width: 760px; margin: 0; }
@media (max-width: 900px) {
  .bl-hero { margin: 0 16px; padding: 96px 0 56px; }
  .bl-h1 { font-size: 34px; letter-spacing: -.9px; }
  .bl-lede { font-size: 20px; }
}

.bl-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 56px 0 0; }
.bl-search { position: relative; width: 360px; max-width: 100%; margin: 0; }
.bl-search-btn {
  position: absolute; left: 8px; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 50%; background: transparent; color: var(--pp-text-faint); cursor: pointer;
}
.bl-search-btn:hover { color: var(--pp-green-dark); }
.bl-search input[type="search"] {
  width: 100%; height: 56px; padding: 0 20px 0 48px; font-family: var(--font-body);
  font-size: 16px; font-weight: var(--fw-regular); color: var(--pp-text); background: var(--pp-white);
  border: 1px solid var(--pp-border-hairline); border-radius: var(--r-pill); outline: none;
  transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
.bl-search input[type="search"]::placeholder { color: var(--pp-text-faint); }
.bl-search input[type="search"]:focus-visible { border-color: var(--pp-green-text); box-shadow: 0 0 0 3px rgba(41, 165, 164, .18); outline: none; }

.bl-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.bl-chip {
  height: 44px; display: inline-flex; align-items: center; padding: 0 20px; border-radius: var(--r-pill);
  font-family: var(--font-body); font-size: 16px; font-weight: var(--fw-medium); color: var(--pp-text);
  background: var(--pp-white); border: 1px solid var(--pp-border-hairline); cursor: pointer;
  text-decoration: none; transition: background .2s, border-color .2s, color .2s;
}
.bl-chip:hover { border-color: var(--pp-border); color: var(--pp-text); }
.bl-chip.is-active, .bl-chip[aria-current="page"] {
  background: var(--pp-text); border-color: var(--pp-text); color: var(--pp-white);
}
.bl-count { font-size: 18px; font-weight: var(--fw-light); color: var(--pp-text-muted); padding: 32px 0 0; margin: 0; }
.bl-count strong { font-weight: var(--fw-semibold); color: var(--pp-text); }

.bl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 32px 0 0; list-style: none; margin: 0; }
@media (max-width: 1100px) { .bl-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .bl-grid { grid-template-columns: 1fr; } }

.bl-card {
  display: flex; flex-direction: column; background: var(--pp-white); border-radius: var(--r-2xl);
  box-shadow: var(--shadow-100); overflow: hidden; transition: box-shadow .2s;
}
.bl-card:hover { box-shadow: var(--shadow-100), var(--shadow-200); }
.bl-thumb { position: relative; display: block; aspect-ratio: 390 / 220; background: var(--pp-gradient-surface-brand); overflow: hidden; }
.bl-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bl-thumb--empty::before {
  content: ""; position: absolute; inset: 24px; border-radius: var(--r-xl);
  background: var(--pp-white); opacity: .45;
}
.bl-tag {
  position: absolute; left: 16px; bottom: 16px; height: 32px; display: inline-flex; align-items: center;
  padding: 0 14px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .94); backdrop-filter: blur(6px);
  font-size: 12px; font-weight: var(--fw-bold); letter-spacing: 1.4px; text-transform: uppercase; color: var(--pp-text-soft);
}
.bl-body { display: flex; flex-direction: column; gap: 16px; padding: 28px; flex: 1; }
.bl-title { font-size: 20px; line-height: 1.4; letter-spacing: -.4px; font-weight: var(--fw-semibold); color: var(--pp-text); margin: 0; }
.bl-title a { color: inherit; }
.bl-title a:hover { color: var(--pp-green-dark); }
.bl-excerpt { font-size: 18px; line-height: 1.5; font-weight: var(--fw-light); color: var(--pp-text-muted); margin: 0; text-wrap: pretty; }
.bl-meta { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 8px; }
.bl-avatar {
  width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--pp-gradient-surface-brand);
  display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: var(--fw-bold);
  letter-spacing: .5px; color: var(--pp-green-dark); overflow: hidden;
}
.bl-avatar--img { object-fit: cover; }
.bl-meta-txt {
  flex: 1 1 auto; min-width: 0; font-size: 12px; line-height: 15.5px; font-weight: var(--fw-bold);
  letter-spacing: 1.4px; text-transform: uppercase; color: var(--pp-text-soft);
}
.bl-meta-txt span {
  display: block; white-space: nowrap; font-weight: var(--fw-regular); letter-spacing: .4px;
  text-transform: none; color: var(--pp-text-faint); margin-top: 2px;
}
.bl-read { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: var(--fw-semibold); color: var(--pp-green-text); }
.bl-read:hover { color: var(--pp-green-dark); }

/* WordPress pagination rendered in the DS pager shape. */
.bl-pager { padding: 56px 0 0; }
.bl-pager .nav-links { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.bl-pager ul { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.bl-pager .page-numbers {
  min-width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 18px;
  border-radius: var(--r-pill); font-size: 16px; font-weight: var(--fw-medium); color: var(--pp-text);
  background: var(--pp-white); border: 1px solid var(--pp-border-hairline);
}
.bl-pager .page-numbers.current { background: var(--pp-text); border-color: var(--pp-text); color: var(--pp-white); }
.bl-pager a.page-numbers:hover { border-color: var(--pp-border); color: var(--pp-text); }
.bl-pager .page-numbers.dots { background: transparent; border-color: transparent; }

.bl-listing { padding-bottom: 96px; }

/* Empty states (no results, 404) */
.bl-empty {
  background: var(--pp-white); border-radius: var(--r-4xl); box-shadow: var(--shadow-100);
  padding: 64px 40px; margin: 48px 0 0; text-align: center;
}
.bl-empty h1, .bl-empty h2 { font-size: 32px; line-height: 1.15; letter-spacing: -.9px; margin: 0 0 16px; color: var(--pp-text); }
.bl-empty p { font-size: 20px; line-height: 1.5; font-weight: var(--fw-light); color: var(--pp-text-muted); margin: 0 0 32px; }
.bl-empty > :last-child { margin-bottom: 0; }
.bl-empty .bl-kicker { margin-bottom: 16px; }

/* ==========================================================================
   5. Single post — header, body, sidebar, related
   ========================================================================== */

.bp-head {
  background: var(--pp-gradient-surface-brand); border-radius: var(--r-5xl);
  margin: 0 40px; padding: 104px 0 72px;
}
@media (max-width: 900px) { .bp-head { margin: 0 16px; padding: 96px 0 48px; } }
.bp-back { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: var(--fw-medium); color: var(--pp-text-soft); margin-bottom: 32px; }
.bp-back:hover { color: var(--pp-green-dark); }
.bp-cat {
  font-size: 12px; line-height: 15.5px; font-weight: var(--fw-bold); letter-spacing: 1.4px;
  text-transform: uppercase; color: var(--pp-text-soft); margin: 0 0 16px;
}
.bp-cat a { color: inherit; }
.bp-cat a:hover { color: var(--pp-green-dark); }
.bp-h1 { font-size: 48px; line-height: 1.06; letter-spacing: -1.84px; font-weight: var(--fw-semibold); color: var(--pp-text); margin: 0; max-width: 1000px; }
@media (max-width: 900px) { .bp-h1 { font-size: 32px; letter-spacing: -.9px; } }
.bp-intro { font-size: 24px; line-height: 1.5; font-weight: var(--fw-regular); color: rgba(15, 23, 43, .8); max-width: 780px; margin: 24px 0 0; }
.bp-byline { display: flex; align-items: center; gap: 12px; margin-top: 32px; }

.bp-hero-img { margin-top: -56px; }
.bp-hero-img figure { margin: 0; }
.bp-hero-img img { width: 100%; display: block; border-radius: var(--r-4xl); box-shadow: var(--shadow-100), var(--shadow-200); }
.bp-hero-img .bl-thumb { aspect-ratio: 1440 / 760; border-radius: var(--r-4xl); }

.bp-main { display: grid; grid-template-columns: minmax(0, 780px) 300px; gap: 80px; justify-content: center; padding: 72px 0 96px; }
@media (max-width: 1100px) {
  .bp-main { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .bp-side { position: static; }
}

.bp-article > * { max-width: 780px; }
.bp-article p { font-size: 20px; line-height: 1.6; font-weight: var(--fw-light); color: var(--pp-text); margin: 0 0 28px; text-wrap: pretty; }
.bp-article p strong, .bp-article li strong { font-weight: var(--fw-semibold); color: var(--pp-text-strong); }
.bp-article h2 { font-size: 32px; line-height: 1.15; letter-spacing: -.9px; font-weight: var(--fw-semibold); color: var(--pp-text); margin: 56px 0 24px; }
.bp-article h3 { font-size: 24px; line-height: 1.3; letter-spacing: -.66px; margin: 40px 0 16px; color: var(--pp-text); }
.bp-article h4 { font-size: 20px; line-height: 1.35; letter-spacing: -.36px; margin: 32px 0 12px; color: var(--pp-text); }
.bp-article a { color: var(--pp-green-text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.bp-article a:hover { color: var(--pp-green-dark); }
.bp-article ul, .bp-article ol { font-size: 20px; line-height: 1.6; font-weight: var(--fw-light); color: var(--pp-text); margin: 0 0 28px; padding-left: 24px; }
.bp-article li { margin-bottom: 12px; text-wrap: pretty; }
.bp-article li::marker { color: var(--pp-green-text); }
.bp-article blockquote {
  margin: 40px 0; padding: 24px 32px; border-left: 2px solid var(--pp-green-text);
  background: var(--pp-white); border-radius: var(--r-xl); box-shadow: var(--shadow-100);
}
.bp-article blockquote p { font-size: 22px; font-weight: var(--fw-regular); margin-bottom: 0; }
.bp-article figure { margin: 40px 0; }
.bp-article img { border-radius: var(--r-3xl); display: block; }
.bp-article figcaption, .bp-article .wp-caption-text {
  font-size: 16px; font-weight: var(--fw-regular); color: var(--pp-text-faint); margin-top: 12px; text-align: left;
}
.bp-article hr { border: 0; border-top: 1px solid var(--pp-border-hairline); margin: 56px 0; }
.bp-article code, .bp-article kbd {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em;
  background: var(--pp-surface-3); border-radius: var(--r-xs); padding: 2px 6px;
}
.bp-article pre {
  background: var(--pp-surface-dark); color: var(--pp-white); border-radius: var(--r-xl);
  padding: 24px; overflow-x: auto; margin: 0 0 28px;
}
.bp-article pre code { background: none; color: inherit; padding: 0; }
.bp-article > .alignwide { max-width: 1000px; }
.bp-article > .alignfull { max-width: none; }
.bp-article .aligncenter { margin-left: auto; margin-right: auto; }
.bp-article .alignleft { float: left; margin: 0 32px 24px 0; }
.bp-article .alignright { float: right; margin: 0 0 24px 32px; }
.bp-article iframe, .bp-article video { max-width: 100%; border-radius: var(--r-3xl); }
.bp-lead { font-size: 24px; line-height: 1.5; font-weight: var(--fw-regular); color: rgba(15, 23, 43, .8); }

.bp-article table, .bp-table {
  width: 100%; border-collapse: separate; border-spacing: 0; background: var(--pp-white);
  border-radius: var(--r-2xl); box-shadow: var(--shadow-100); overflow: hidden; margin: 0 0 32px;
}
.bp-article th, .bp-article td, .bp-table th, .bp-table td {
  text-align: left; padding: 18px 24px; font-size: 18px; line-height: 1.5; font-weight: var(--fw-light);
  color: var(--pp-text); border-bottom: 1px solid var(--pp-border-hairline);
}
.bp-article th, .bp-table th {
  font-size: 12px; font-weight: var(--fw-bold); letter-spacing: 1.4px; text-transform: uppercase; color: var(--pp-text-soft);
}
.bp-article tr:last-child td, .bp-table tr:last-child td { border-bottom: 0; }
.bp-article .wp-block-table { overflow-x: auto; margin: 0 0 32px; }
.bp-article .wp-block-table table { margin: 0; }

/* In-article promo (ACF banner post fields) */
.bp-banner {
  background: var(--pp-gradient-surface-brand); border-radius: var(--r-4xl); padding: 40px;
  margin: 56px 0 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center;
}
.bp-banner.has-picture { grid-template-columns: minmax(0, 1fr) minmax(0, 40%); }
@media (max-width: 900px) { .bp-banner, .bp-banner.has-picture { grid-template-columns: minmax(0, 1fr); padding: 32px 24px; } }
.bp-banner h2 { font-size: 28px; line-height: 1.2; letter-spacing: -.7px; margin: 0 0 16px; color: var(--pp-text); }
.bp-banner p { font-size: 18px; font-weight: var(--fw-light); line-height: 1.5; margin: 0 0 28px; color: var(--pp-text-muted); }
.bp-banner-logo { margin-bottom: 24px; }
.bp-banner-logo img { max-height: 40px; width: auto; }
.bp-banner-picture img { width: 100%; border-radius: var(--r-3xl); display: block; }

.bp-callout { background: var(--pp-gradient-surface-brand); border-radius: var(--r-4xl); padding: 40px; margin: 56px 0 0; }
.bp-callout h2 { margin: 0 0 16px; font-size: 28px; letter-spacing: -.7px; }
.bp-callout p { font-size: 18px; font-weight: var(--fw-light); margin: 0 0 28px; }

.bp-side { position: sticky; top: 120px; align-self: start; display: flex; flex-direction: column; gap: 40px; }
.bp-side h2, .bp-side h3 {
  font-size: 12px; line-height: 15.5px; font-weight: var(--fw-bold); letter-spacing: 1.4px;
  text-transform: uppercase; color: var(--pp-text-soft); margin: 0 0 16px;
}
.bp-toc { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.bp-toc a { font-size: 16px; line-height: 1.5; font-weight: var(--fw-regular); color: var(--pp-text-muted); }
.bp-toc a:hover { color: var(--pp-green-dark); }
.bp-share { display: flex; flex-wrap: wrap; gap: 8px; }
.bp-share a, .bp-share button {
  height: 40px; display: inline-flex; align-items: center; gap: 8px; padding: 0 16px; border-radius: var(--r-pill);
  background: var(--pp-white); border: 1px solid var(--pp-border-hairline); font-family: var(--font-body);
  font-size: 14px; font-weight: var(--fw-medium); color: var(--pp-text); cursor: pointer;
}
.bp-share a:hover, .bp-share button:hover { border-color: var(--pp-border); color: var(--pp-text); }
.bp-author { display: flex; align-items: center; gap: 12px; }
.bp-author-name { font-size: 18px; font-weight: var(--fw-semibold); color: var(--pp-text); display: block; }
.bp-author-role { font-size: 14px; font-weight: var(--fw-regular); color: var(--pp-text-faint); display: block; margin-top: 2px; }
.bp-author-bio { font-size: 16px; line-height: 1.5; font-weight: var(--fw-light); color: var(--pp-text-muted); margin: 16px 0 0; }
.bp-author-link { display: block; font-size: 14px; font-weight: var(--fw-regular); color: var(--pp-green-text); margin-top: 4px; }
.bp-sidelist { display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 0; list-style: none; }
.bp-sidelist a { font-size: 16px; line-height: 1.4; font-weight: var(--fw-medium); color: var(--pp-text); }
.bp-sidelist a:hover { color: var(--pp-green-dark); }
.bp-socials { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.bp-socials a {
  height: 32px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: var(--r-pill);
  background: var(--pp-white); border: 1px solid var(--pp-border-hairline); font-size: 14px;
  font-weight: var(--fw-medium); color: var(--pp-text);
}
.bp-socials a:hover { border-color: var(--pp-border); }

.bl-related { background: var(--pp-white); padding: 88px 0; }
.bl-related h2 { font-size: 32px; line-height: 1.15; letter-spacing: -.9px; font-weight: var(--fw-semibold); color: var(--pp-text); margin: 0 0 32px; }
.bl-related .bl-grid { padding: 0; }
.bl-related .bl-card { box-shadow: var(--shadow-100), var(--shadow-200); }

/* ==========================================================================
   6. Static pages
   ========================================================================== */

.bp-page-body { padding-top: 72px; padding-bottom: 96px; }
.bp-page-body .bp-article { margin: 0 auto; }

/* ==========================================================================
   7. Closing CTA strip + footer
   ========================================================================== */

/* The closing strip is 1756px wide in the DS shell (ds2-shell.jsx, DemoStrip),
   inside the same 40px page gutter as the nav pill. */
.pp-demostrip {
  width: calc(100% - 80px); max-width: 1756px; margin-inline: auto; align-self: center; padding: 100px 64px;
  display: flex; flex-direction: column; gap: 24px; align-items: center; justify-content: center; text-align: center;
}
.pp-demostrip .bl-kicker { margin-bottom: 0; }
.pp-demostrip h2 {
  font-size: 40px; line-height: 1.2; letter-spacing: -.4px; font-weight: var(--fw-semibold);
  color: var(--pp-text); margin: 0; max-width: 900px;
}
.pp-demostrip h2 .pp-accent { color: var(--pp-green-text); }
.pp-demostrip p { font-size: 20px; line-height: 1.4; font-weight: var(--fw-regular); color: var(--pp-text); margin: 0; max-width: 760px; }
.pp-demostrip-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: center; margin-top: 16px; }
@media (max-width: 768px) {
  .pp-demostrip { width: calc(100% - 48px); padding: 64px 24px; }
  .pp-demostrip h2 { font-size: 32px; line-height: 1.1; letter-spacing: -.9px; }
}

.pp-footer { margin-top: auto; background: var(--pp-white); border: 1px solid var(--pp-border); padding: 32px 0; }
.pp-footer-inner { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; padding: 0 82px; }
.pp-footer-brand { display: flex; align-items: center; gap: 24px; }
.pp-footer-brand img, .pp-footer-brand .custom-logo { width: 173.52px; height: 42px; object-fit: contain; }
.pp-footer-note { font-size: 18px; line-height: 20.15px; font-weight: var(--fw-regular); color: var(--pp-text); white-space: nowrap; }
.pp-footer-nav ul { display: flex; align-items: center; gap: 44px; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.pp-footer-nav a { font-size: 18px; line-height: 20.15px; font-weight: var(--fw-regular); color: var(--pp-text); white-space: nowrap; }
.pp-footer-nav a:hover { color: var(--pp-green-dark); }
.pp-footer-social { display: flex; gap: 12px; margin: 0; padding: 0; list-style: none; }
.pp-footer-social a { display: inline-flex; color: var(--pp-text); }
.pp-footer-social a:hover { color: var(--pp-green-dark); }
@media (max-width: 900px) {
  .pp-footer-inner { padding: 0 24px; justify-content: flex-start; gap: 20px; }
  .pp-footer-nav ul { gap: 20px; }
}

/* ==========================================================================
   8. Author archives
   ========================================================================== */

.bl-hero--author .bl-h1 { font-size: 40px; letter-spacing: -.9px; margin-bottom: 16px; }
.bl-author-head { display: flex; align-items: center; gap: 20px; }
.bl-author-head .bl-avatar { width: 72px; height: 72px; font-size: 20px; }
.bl-author-role { font-size: 18px; font-weight: var(--fw-medium); color: var(--pp-text-soft); margin: 8px 0 0; }
.bl-author-bio { font-size: 20px; line-height: 1.5; font-weight: var(--fw-light); color: var(--pp-text-muted); max-width: 760px; margin: 24px 0 0; }
.bl-author-socials { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.bl-author-socials a {
  height: 40px; display: inline-flex; align-items: center; padding: 0 18px; border-radius: var(--r-pill);
  background: var(--pp-white); border: 1px solid var(--pp-border-hairline); font-size: 14px;
  font-weight: var(--fw-medium); color: var(--pp-text);
}
.bl-author-socials a:hover { border-color: var(--pp-border); }
.bl-section-title { font-size: 32px; line-height: 1.15; letter-spacing: -.9px; font-weight: var(--fw-semibold); color: var(--pp-text); margin: 56px 0 0; }

/* ==========================================================================
   9. Small-screen corrections
   ========================================================================== */

/* The article hero image pulls up into the header panel on wide screens. Below
   900px the panel is shorter than the overlap, so the image would clip the
   byline: let it sit under the panel instead. */
@media (max-width: 900px) {
  .bp-hero-img { margin-top: 24px; }
}

/* The card byline keeps date and read time on one line; the article byline can
   also carry the author role, which needs to wrap. */
.bp-byline .bl-meta-txt span { white-space: normal; }
