/* Inner pages only (privacy, blog, 404…). Never loaded on the home page. */
.bm-page{padding-top:clamp(130px,14vw,180px); min-height:70vh}
.bm-page .wrap{max-width:52rem}
.bm-page__title{margin-bottom:clamp(24px,3vw,40px)}
.bm-page__item + .bm-page__item{margin-top:48px; padding-top:48px; border-top:1px solid var(--line)}
.bm-page__content{font-size:17px; line-height:1.7}
.bm-page__content > * + *{margin-top:1em}
.bm-page__content h2,.bm-page__content h3{margin-top:1.6em}
.bm-page__content a{color:var(--brand); text-decoration:underline}
.bm-page__content ul,.bm-page__content ol{padding-left:1.3em}
.bm-page__content img{height:auto; border-radius:14px}
.bm-page__nav{margin-top:48px}

/* ════════════════════════════════════════════════════════════
   Blog — listing (home.php / archives) and single post
   ════════════════════════════════════════════════════════════ */
.bm-blog,.bm-post{padding-top:clamp(130px,14vw,180px); min-height:70vh}

/* shared: image box + placeholder when a post has no featured image */
.bm-thumb{display:block; position:relative; overflow:hidden; background:var(--paper-2)}
.bm-thumb img{display:block; width:100%; height:100%; object-fit:cover}
.bm-thumb__ph{position:absolute; inset:0; display:grid; place-items:center;
  background:radial-gradient(120% 90% at 20% 15%, var(--brand-lift), var(--brand) 55%, var(--brand-deep))}
.bm-thumb__ph .lg{width:clamp(48px,6vw,72px); height:auto; opacity:.92}

/* "12 March 2026 · Author · Category" */
.bm-meta{display:flex; flex-wrap:wrap; align-items:center; gap:6px 10px; font-size:.84rem; font-weight:500; color:var(--muted-2)}
.bm-meta > i{width:4px; height:4px; border-radius:50%; background:var(--line-2)}
.bm-meta a{color:var(--muted); transition:color .25s var(--e)}
.bm-meta a:hover{color:var(--brand)}
.bm-meta__cats a{color:var(--brand)}
.bm-meta__cats a:hover{color:var(--brand-deep)}

/* ---------- listing ---------- */
.bm-blog__head{max-width:46rem; display:flex; flex-direction:column; gap:18px; margin-bottom:clamp(36px,5vw,64px)}
.bm-blog__head .kicker{align-self:flex-start}
.bm-blog__empty{padding-block:40px}

.bm-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:clamp(18px,2.4vw,32px)}
.bm-card{display:flex; flex-direction:column; background:#fff; border:1px solid var(--line);
  border-radius:clamp(18px,1.8vw,24px); overflow:hidden; transition:border-color .3s var(--e)}
.bm-card:hover{border-color:var(--brand-line)}
.bm-card__img{aspect-ratio:16/9}
.bm-card__body{flex:1; display:flex; flex-direction:column; gap:12px; padding:clamp(22px,2.4vw,30px)}
.bm-card__t{font-family:"Jost",sans-serif; font-weight:400; font-size:clamp(1.3rem,1.9vw,1.65rem); line-height:1.2; letter-spacing:-.015em; color:var(--ink)}
.bm-card__t a{transition:color .25s var(--e)}
.bm-card__t a:hover{color:var(--brand)}
.bm-card__x{font-size:.98rem; line-height:1.62; color:var(--muted)}
.bm-card__more{margin-top:auto; padding-top:6px; display:inline-flex; align-items:center; gap:8px; align-self:flex-start;
  font-size:.9rem; font-weight:600; color:var(--brand); transition:color .25s var(--e)}
.bm-card__more svg{width:16px; height:16px}
.bm-card__more:hover{color:var(--ink)}

.bm-more{display:flex; justify-content:center; margin-top:clamp(36px,5vw,60px)}
.bm-more .btn.is-busy{opacity:.7; cursor:progress}

/* ---------- single post ---------- */
.bm-post__in{max-width:calc(50rem + var(--pad) * 2)}
.bm-post__head{display:flex; flex-direction:column; align-items:center; gap:20px; text-align:center; margin-bottom:clamp(30px,4vw,48px)}
.bm-post__head .bm-meta{justify-content:center; font-size:.92rem}
.bm-post__back{transition:color .25s var(--e)}
.bm-post__back:hover{color:var(--brand)}
.bm-post__img{border-radius:clamp(18px,2vw,26px); margin-bottom:clamp(32px,4vw,52px); aspect-ratio:16/9}
.bm-post__content{font-size:clamp(1.02rem,1.15vw,1.12rem); line-height:1.78; color:var(--text)}
.bm-post__content h2{font-family:"Jost",sans-serif; font-weight:400; font-size:clamp(1.6rem,2.4vw,2.1rem); line-height:1.2; letter-spacing:-.015em}
.bm-post__content h3{font-family:"Jost",sans-serif; font-weight:400; font-size:clamp(1.3rem,1.8vw,1.55rem); line-height:1.25}
.bm-post__content blockquote{border-left:3px solid var(--brand); padding:4px 0 4px 22px; font-family:"Jost",sans-serif; font-size:1.25em; line-height:1.5; color:var(--ink)}
.bm-post__content figure{margin-block:1.6em}
.bm-post__content figcaption{font-size:.85rem; color:var(--muted-2); margin-top:8px; text-align:center}
.bm-post__content ul{list-style:disc} .bm-post__content ol{list-style:decimal}
.bm-post__content li + li{margin-top:.4em}
.bm-post__content pre{background:var(--ink); color:#fff; padding:18px 20px; border-radius:14px; overflow:auto; font-size:.9rem}
.bm-post__pages{margin-top:32px; display:flex; gap:10px; font-weight:600}

/* previous / next */
.bm-pn{max-width:calc(64rem + var(--pad) * 2); display:grid; grid-template-columns:1fr 1fr; gap:clamp(14px,2vw,24px);
  margin-top:clamp(56px,7vw,96px); padding-top:clamp(32px,4vw,48px); border-top:1px solid var(--line)}
.bm-pn__a{display:flex; align-items:center; padding:clamp(20px,2.2vw,28px); background:#fff; border:1px solid var(--line);
  border-radius:20px; transition:border-color .3s var(--e)}
.bm-pn__a:hover{border-color:var(--brand-line)}
.bm-pn__a--next{justify-content:flex-end; text-align:right}
.bm-pn__txt{display:flex; flex-direction:column; gap:6px; min-width:0}
.bm-pn__txt small{font-size:.78rem; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:var(--brand)}
.bm-pn__txt b{font-family:"Jost",sans-serif; font-weight:400; font-size:clamp(1.05rem,1.4vw,1.25rem); line-height:1.3; color:var(--ink);
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden}

@media (max-width:760px){
  .bm-grid{grid-template-columns:1fr}
  .bm-pn{grid-template-columns:1fr}
  .bm-pn__gap{display:none}
}
