/* The Blog: the list of posts at /blog and each post at /blog/<slug>. A post reads like a letter: the way back and its
   place top left, a centered rounded picture, the title and its line, who wrote it and when, then the text in one
   centered column, the sign-off and the call. */
.bp { padding-top: clamp(112px, 12vw, 152px); }
.bp-post, .bp-top .wrap { width: min(760px, 100% - 2 * var(--pad)); margin: 0 auto; padding: 0; }
.bp-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 14px; color: var(--soft); text-align: left; }
.bp-crumb a { color: #fff; text-decoration: none; }
.bp-crumb a:hover { text-decoration: underline; text-underline-offset: 3px; }
.bp-back span { margin-right: 4px; }
.bp-image { margin: clamp(26px, 3vw, 40px) 0 0; border-radius: 28px; overflow: hidden; background: var(--card); aspect-ratio: 16 / 9; }
.bp-image img, .bp-card-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bp-tile { display: grid; align-content: end; gap: 10px; width: 100%; height: 100%; padding: clamp(24px, 4vw, 44px); background: var(--mat, #0F3D2E); color: #f4f3ee; text-align: left; }
.bp-tile b { font-size: clamp(32px, 5vw, 56px); font-weight: 600; line-height: .98; letter-spacing: -.02em; }
.bp-tile span { max-width: 26em; font-size: clamp(15px, 1.4vw, 18px); line-height: 1.4; color: rgba(244, 243, 238, .86); }
.bp-title { margin-top: clamp(30px, 3.4vw, 44px); font-weight: 400; font-size: clamp(36px, 4.6vw, 58px); line-height: 1.08; letter-spacing: -.02em; text-align: center; text-wrap: balance; }
.bp-sub { margin: 16px auto 0; max-width: 32em; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; color: var(--soft); text-align: center; text-wrap: balance; }
.bp-by { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 26px; font-size: 14px; color: var(--soft); text-align: left; }
.bp-by img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.bp-by b { display: block; font-weight: 500; color: #fff; font-size: 15.5px; }
.bp-body { margin-top: clamp(40px, 5vw, 64px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line); font-size: clamp(17px, 1.35vw, 18.5px); line-height: 1.75; color: #e8e8e8; text-align: left; }
.bp-body > * + * { margin-top: 1.15em; }
.bp-body h2 { margin-top: 2.1em; font-weight: 500; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.25; color: #fff; }
.bp-body h3 { margin-top: 1.6em; font-weight: 500; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.35; color: #fff; }
.bp-body h2 + *, .bp-body h3 + * { margin-top: .6em; }
.bp-body a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .45); }
.bp-body a:hover { text-decoration-color: #fff; }
.bp-body ul, .bp-body ol { padding-left: 1.3em; }
.bp-body li + li { margin-top: .45em; }
.bp-lead { font-size: clamp(19px, 1.6vw, 21px); line-height: 1.65; color: #fff; }
.bp-body blockquote { margin-left: 0; padding: 4px 0 4px 22px; border-left: 2px solid rgba(255, 255, 255, .5); color: #fff; }
.bp-note::before { content: "From my own work"; display: block; margin-bottom: 6px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--soft); }
.bp-fig { margin: 1.8em 0; }
.bp-fig img { width: 100%; height: auto; border-radius: 20px; }
.bp-fig figcaption { margin-top: 10px; font-size: 14px; color: var(--soft); text-align: center; }
.bp-table { overflow-x: auto; border-radius: 18px; background: var(--card); }
.bp-table table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.bp-table th, .bp-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.bp-table thead th { font-weight: 500; color: #fff; }
.bp-table tbody th { font-weight: 500; color: #fff; }
.bp-table tr:last-child > * { border-bottom: 0; }
.bp-small { font-size: 14.5px; color: var(--soft); }
.bp-steps { counter-reset: none; }
.bp-proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bp-sign { margin-top: 2.4em; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.5; color: #fff; }

/* The list; before the first post, the coming-soon line */
.bp-top--soon { padding-bottom: clamp(24px, 3vw, 40px); }
.bp-soon { margin-top: 22px; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.3; color: #fff; }
.bp--list .bp-top .wrap { text-align: center; }
.bp-list-title { font-weight: 400; font-size: clamp(44px, 6vw, 84px); line-height: 1.04; letter-spacing: -.02em; }
.bp-list-sub { margin: 20px auto 0; max-width: 34em; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.55; color: var(--soft); text-wrap: balance; }
.bp-list { margin-top: clamp(48px, 6vw, 80px); }
.bp-cards { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 3vw, 40px) 18px; }
.bp-card { display: grid; gap: 18px; color: #fff; text-decoration: none; text-align: left; }
.bp-card-img { display: block; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; background: var(--card); }
.bp-card-body { display: grid; gap: 6px; }
.bp-card-body time { font-size: 13.5px; color: var(--soft); }
.bp-card-body b { font-weight: 500; font-size: clamp(21px, 1.9vw, 26px); line-height: 1.25; }
.bp-card-body > span { font-size: 15.5px; line-height: 1.55; color: var(--soft); }
.bp-card:hover b { text-decoration: underline; text-underline-offset: 4px; }
.bp-card:focus-visible { outline: 2px solid #fff; outline-offset: 6px; border-radius: 24px; }
.bp-card .bp-tile b { font-size: clamp(28px, 3vw, 40px); }

/* The sign-up on the list, on black */
.bp-nl .sx-nl { max-width: 760px; margin: 0 auto; padding: clamp(32px, 4vw, 48px); border-radius: 32px; background: var(--card); text-align: left; }
.bp-nl .sx-nl h2 { font-weight: 400; font-size: clamp(26px, 2.4vw, 34px); color: #fff; }
.bp-nl .sx-nl > p { color: var(--soft); }
.bp-nl .sx-nl-field label, .bp-nl .sx-nl-small { color: var(--soft); }
.bp-nl .sx-nl-small a { color: #fff; }
.bp-nl .sx-nl-status { color: #ffb4ab; }
.bp-nl .sx-nl-thanks { color: #fff; }

@media (max-width: 760px) {
  .bp-cards { grid-template-columns: 1fr; }
  .bp-proof { grid-template-columns: 1fr; }
  .bp-image { border-radius: 20px; }
  .bp-nl .sx-nl-row { flex-wrap: wrap; }
  .bp-nl .sx-nl-row .sx-btn { width: 100%; }
}
