/* =========================================================
   BLOG — list, post, and the blocks you can drop between paragraphs
   Loads after styles.css and reuses its colours and spacing.
   ========================================================= */

/* ---------- blog list ---------- */
.blist { padding: 10px 24px 90px; }
.blist__wrap { max-width: 1140px; margin: 0 auto; }
.bempty { padding: 40px 0 80px; font-size: 20px; color: var(--grey-2); }

.bfeat { display: grid; grid-template-columns: 1.15fr 1fr; gap: 34px; align-items: center; padding: 22px; margin-bottom: 40px; border-radius: 34px; background: var(--paper); box-shadow: 0 0 0 1px var(--line), 0 30px 60px -44px rgba(45, 37, 28, .5); transition: transform .5s var(--ease-out), box-shadow .5s; }
.bfeat:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line), 0 40px 70px -44px rgba(45, 37, 28, .55); }
.bfeat__media { display: block; overflow: hidden; border-radius: 24px; background: var(--cream-2); aspect-ratio: 16 / 10; }
.bfeat__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.bfeat:hover .bfeat__media img { transform: scale(1.03); }
.bfeat__copy { display: block; padding-right: 10px; }
.bfeat__k { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 13px; font-weight: 750; color: var(--amber-d); }
.bfeat__k::before { content: ""; width: 24px; height: 2px; border-radius: 2px; background: currentColor; opacity: .6; }
.bfeat__copy b { display: block; font-size: clamp(1.9rem, 3.2vw, 2.9rem); font-weight: 850; letter-spacing: -.045em; line-height: 1.02; }
.bfeat__copy small { display: block; margin-top: 12px; font-size: 17px; line-height: 1.5; color: var(--grey-2); }
.bfeat__m { display: block; margin-top: 16px; font-size: 13.5px; font-weight: 650; color: var(--grey-2); }

.bgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px 26px; margin: 0; padding: 0; list-style: none; border-top: 1px dashed var(--line-2); }
.bcard { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 18px; align-items: center; padding: 22px 8px; border-bottom: 1px dashed var(--line-2); }
.bcard__img { width: 96px; height: 76px; border-radius: 18px; object-fit: cover; background: var(--cream-2); transition: transform .45s var(--ease-spring); }
.bcard__img--none { display: block; background: var(--cream-2) var(--paw) center / 34px no-repeat; }
.bcard:hover .bcard__img { transform: rotate(-3deg) scale(1.04); }
.bcard__t b { display: block; font-size: 1.35rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.12; }
.bcard__t small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 6px; font-size: 15px; line-height: 1.45; color: var(--grey-2); }
.bcard__m { display: block; margin-top: 8px; font-size: 13px; font-weight: 650; color: var(--amber-d); }

/* ---------- a post ---------- */
.post { max-width: 760px; margin: 0 auto; padding: 130px 24px 0; }
.crumbs { display: flex; gap: 10px; margin-bottom: 22px; font-size: 14px; font-weight: 650; color: var(--grey-2); }
.crumbs a { color: var(--amber-d); }
.crumbs a:hover { text-decoration: underline; }
.post__head h1 { font-size: clamp(2.4rem, 5.6vw, 4.1rem); font-weight: 850; letter-spacing: -.048em; line-height: 1; text-wrap: balance; }
.post__lead { margin-top: 20px; font-size: 21px; line-height: 1.5; color: var(--brown-2); }
.post__meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; padding-bottom: 26px; border-bottom: 2px solid var(--brown); font-size: 14.5px; font-weight: 650; color: var(--grey-2); }
.post__cover { margin: 30px 0 10px; }
.post__cover img { width: 100%; height: auto; border-radius: 28px; background: var(--cream-2); }
.post__cover figcaption, .pfig figcaption, .pvid figcaption { margin-top: 12px; font-size: 14.5px; line-height: 1.5; color: var(--grey-2); text-align: center; }

.post__body { font-size: 19px; line-height: 1.68; color: var(--brown-2); }
.post__body > * { margin-top: 26px; }
.post__body p a { color: var(--amber-d); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; }
.post__body p a:hover { color: var(--brown); }
.post__body h2 { margin-top: 52px; font-size: clamp(1.7rem, 3.4vw, 2.4rem); letter-spacing: -.04em; color: var(--brown); scroll-margin-top: 90px; }
.post__body b { color: var(--brown); }
.plist { padding-left: 0; list-style: none; }
.plist li { position: relative; padding-left: 30px; margin-top: 10px; }
.plist li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 9px; height: 9px; border-radius: 50%; background: var(--amber); }
ol.plist { counter-reset: n; }
ol.plist li::before { content: counter(n); counter-increment: n; top: .1em; left: 0; width: auto; height: auto; border-radius: 0; background: none; font-weight: 850; color: var(--amber-d); }

.pquote { padding: 4px 0 4px 26px; border-left: 4px solid var(--amber); }
.pquote p { font-size: 23px; font-weight: 700; line-height: 1.35; letter-spacing: -.025em; color: var(--brown); }
.pquote cite { display: block; margin-top: 10px; font-size: 15px; font-style: normal; color: var(--grey-2); }

/* images and video sit slightly wider than the text, so they breathe */
.pfig, .pvid { margin-top: 38px; margin-inline: -60px; }
.pfig img { width: 100%; height: auto; border-radius: 24px; background: var(--cream-2); }
.pvid video, .pvid iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 24px; background: #17120D; }
.pvid__play { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 24px; background: #17120D; cursor: pointer; }
.pvid__play img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: transform .6s var(--ease-out), opacity .4s; }
.pvid__play:hover img { transform: scale(1.04); opacity: .7; }
.pvid__btn { position: absolute; inset: 0; display: grid; place-items: center; }
.pvid__btn svg { width: 74px; height: 74px; padding: 22px 20px 22px 26px; border-radius: 50%; background: var(--cream); color: var(--brown); box-shadow: 0 18px 30px -16px rgba(0, 0, 0, .6); transition: transform .4s var(--ease-spring); }
.pvid__play:hover .pvid__btn svg { transform: scale(1.08); }
.pvid__t { position: absolute; left: 20px; right: 20px; bottom: 16px; font-size: 15px; font-weight: 700; color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .6); }

/* "read this next" card, can go after any paragraph */
.pcard { position: relative; display: grid; gap: 4px; margin-top: 34px; padding: 22px 70px 22px 24px; border-radius: 22px; background: var(--cream-2); box-shadow: 0 0 0 1px var(--line); transition: transform .4s var(--ease-out), background-color .4s; }
.pcard:hover { transform: translateY(-2px); background: #EFE6D6; }
.pcard__l { font-size: 12.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--amber-d); }
.pcard__t { font-size: 20px; font-weight: 800; letter-spacing: -.03em; line-height: 1.2; color: var(--brown); }
.pcard__s { font-size: 15.5px; line-height: 1.45; color: var(--grey-2); }
.pcard__go { position: absolute; right: 22px; top: 50%; width: 38px; height: 38px; padding: 9px; margin-top: -19px; border-radius: 50%; background: var(--brown); color: var(--cream); transition: transform .4s var(--ease-spring); }
.pcard:hover .pcard__go { transform: translateX(5px); }

.post__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 46px 0 0; padding: 26px 0 0; border-top: 1px dashed var(--line-2); list-style: none; }
.post__tags li { padding: 6px 14px; border-radius: 99px; background: var(--cream-2); font-size: 13.5px; font-weight: 700; color: var(--brown-2); }

.bmore { max-width: 1140px; margin: 90px auto 0; padding: 0 24px; }
.bmore h2 { margin-bottom: 10px; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.draftbar { position: sticky; top: 64px; z-index: 50; padding: 10px 16px; background: var(--amber); color: #fff; font-size: 14px; font-weight: 750; text-align: center; }

@media (max-width: 900px) {
  .bfeat { grid-template-columns: 1fr; gap: 20px; padding: 16px; }
  .bfeat__copy { padding: 0 8px 12px; }
  .pfig, .pvid { margin-inline: -24px; }
  .pfig img, .pvid video, .pvid iframe, .pvid__play { border-radius: 18px; }
}

@media (max-width: 640px) {
  .blist { padding: 0 16px 70px; }
  .post { padding: 104px 16px 0; }
  .post__lead { font-size: 18.5px; }
  .post__body { font-size: 17.5px; }
  .post__cover img { border-radius: 20px; }
  .pfig, .pvid { margin-inline: -16px; }
  .pvid__btn svg { width: 58px; height: 58px; padding: 17px 15px 17px 20px; }
  .pquote p { font-size: 20px; }
  .pcard { padding: 18px 56px 18px 18px; }
  .pcard__go { right: 14px; width: 32px; height: 32px; padding: 7px; margin-top: -16px; }
  .bgrid { grid-template-columns: 1fr; gap: 0; }
  .bcard { grid-template-columns: 74px minmax(0, 1fr); gap: 14px; padding: 16px 2px; }
  .bcard__img { width: 74px; height: 62px; border-radius: 14px; }
  .bcard__t b { font-size: 1.2rem; }
  .bmore { margin-top: 60px; padding: 0 16px; }
}
