/* ══════════════════════════════════════════════════════════════════════
   BLOG ARTICLES — /blog/<slug>.html
   Started Thu Nov 12, 2026, with the first article (send 01, the employee
   who left). Loaded AFTER service-v2.css, which supplies the consultation
   band and the lead form the article closes on.

   One reading column, about 68 characters wide. The video and the download
   card break out a little wider so they read as objects, not paragraphs.
   Light ground throughout, so eyebrows are green over a gold rule (the
   light-ground rule, README "The light-ground eyebrow is green").
   ══════════════════════════════════════════════════════════════════════ */

.post { background: var(--white, #fff); }
.post__inner { max-width: 720px; margin: 0 auto; padding: 56px 24px 64px; }

/* Head */
.post__crumbs { font-size: 13px; color: var(--ink-500); margin-bottom: 22px; }
.post__crumbs a { color: var(--ink-600); text-decoration: none; }
.post__crumbs a:hover { color: var(--green-700); text-decoration: underline; }
.post h1 {
  margin: 12px 0 0;
  font-family: 'Open Sans', sans-serif; font-weight: 800;
  font-size: clamp(32px, 4.4vw, 46px); line-height: 1.08; letter-spacing: -.01em;
  color: var(--ink-950);
}
.post .rule { margin: 20px 0 20px; }
.post__dek { margin: 0; font-size: 20px; line-height: 1.6; color: var(--ink-700); }
.post__meta { margin: 16px 0 0; font-size: 13px; color: var(--ink-500); }

/* Video — 16:9 on the article (PK, Nov 13; the square version is for the
   email teaser and social). A poster button until pressed; then an iframe
   holding the player, whose control bar sits under the picture, so the
   playing box is the 16:9 picture plus the bar (--bar). The pending style
   below stays for a future article whose video isn't built yet. */
.post__video { margin: 40px -40px 8px; container-type: inline-size; }
.post__video-frame {
  position: relative; aspect-ratio: 16 / 9; margin: 0 auto;
  border-radius: 10px; overflow: hidden; background: var(--ink-950);
  box-shadow: 0 18px 40px -18px rgba(10, 12, 10, .45);
  --bar: 60px;
}
.post__video-frame.is-playing { aspect-ratio: auto; height: calc(100cqw * 9 / 16 + var(--bar)); }
@container (max-width: 520px) { .post__video-frame { --bar: 56px; } }
.post__video-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.post__video-play {
  appearance: none; display: block; width: 100%; height: 100%; padding: 0; border: 0;
  background: none; cursor: pointer; position: relative;
}
.post__video-btn {
  position: absolute; left: 50%; bottom: 7%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  padding: 12px 22px 12px 18px; border-radius: 999px;
  background: var(--gold-500, #f0a830); color: var(--ink-950);
  font: 800 16px/1 "Open Sans", Arial, sans-serif;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .6);
  transition: transform .15s ease, box-shadow .15s ease;
}
.post__video-play:hover .post__video-btn { transform: translateX(-50%) scale(1.05); }
.post__video-play:focus-visible { outline: 3px solid var(--gold-500, #f0a830); outline-offset: -3px; }
.post__video-frame video,
.post__video-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.post__video-pending {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px; padding: 32px; text-align: center;
  color: var(--ink-200);
  background:
    radial-gradient(circle at 50% 40%, rgba(46, 158, 60, .18), transparent 60%),
    var(--ink-950);
}
.post__video-pending strong { font-size: 26px; font-weight: 800; color: #fff; line-height: 1.2; }
.post__video-pending span { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-500); font-weight: 700; }
.post__video figcaption { max-width: 640px; margin: 12px auto 0; font-size: 14px; color: var(--ink-500); text-align: center; }

/* Body */
.post h2 {
  margin: 48px 0 12px;
  font-family: 'Open Sans', sans-serif; font-weight: 800;
  font-size: 27px; line-height: 1.2; color: var(--ink-950);
}
.post p { margin: 0 0 18px; font-size: 18px; line-height: 1.75; color: var(--ink-700); }
.post p strong, .post li strong { color: var(--ink-900); }
.post a { color: var(--green-700); text-underline-offset: 3px; }
.post a:hover { color: var(--green-800); }
.post ul { margin: 0 0 22px; padding: 0; list-style: none; }
.post li {
  position: relative; margin: 0 0 14px; padding-left: 24px;
  font-size: 18px; line-height: 1.7; color: var(--ink-700);
}
.post li::before {
  content: ""; position: absolute; left: 2px; top: .72em;
  width: 9px; height: 2px; background: var(--gold-500);
}

/* The habit — the one line the email's tip box also carries */
.post__habit {
  margin: 28px 0; padding: 20px 24px;
  background: var(--green-50); border-left: 4px solid var(--green-700); border-radius: 0 8px 8px 0;
}
.post__habit p { margin: 0; color: var(--ink-900); }

/* The download card */
.dl {
  display: grid; grid-template-columns: 180px 1fr; gap: 28px; align-items: center;
  margin: 32px -40px; padding: 26px 30px;
  background: var(--ink-50); border: 1px solid var(--ink-200); border-radius: 12px;
}
.dl__thumb {
  display: block; border-radius: 4px; overflow: hidden; background: #fff;
  box-shadow: 0 10px 24px -12px rgba(10, 12, 10, .35); transform: rotate(-2deg);
}
.dl__thumb img { display: block; width: 100%; height: auto; }
.dl__eyebrow {
  display: block; font-size: 12px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--green-700);
}
.dl h3 { margin: 6px 0 8px; font-size: 22px; font-weight: 800; line-height: 1.25; color: var(--ink-950); }
.dl p { margin: 0 0 16px; font-size: 16px; line-height: 1.6; }
.post .dl .btn { color: var(--ink-900); text-decoration: none; }
.dl__size { margin-left: 12px; font-size: 13px; color: var(--ink-500); }

@media (max-width: 820px) {
  .post__video, .dl { margin-left: 0; margin-right: 0; }
}
@media (max-width: 560px) {
  .post__inner { padding: 36px 16px 48px; }
  .post__dek { font-size: 18px; }
  .post p, .post li { font-size: 17px; }
  .dl { grid-template-columns: 1fr; padding: 22px 18px; gap: 18px; }
  .dl__thumb { max-width: 160px; }
}
