/* BGF Cafe: the blog page only (body class .bgf-blog). Generated from the demo stylesheet by tools/split-css.py; edit freely. */
/* ---------- 24. Forms, alerts, blog, contact ---------- */
:where(.bgf-blog) .post-card time { font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .16em; font-weight: 900; }

/* ---------- Blog post: article + sidebar ---------- */
:where(.bgf-blog) .post-wrap { padding-block: clamp(1.5rem, 4vw, 3rem) clamp(4rem, 8vw, 6rem); }
:where(.bgf-blog) .post-layout { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 1000px) {
  :where(.bgf-blog) .post-layout { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
  :where(.bgf-blog) .post-side { position: sticky; top: calc(var(--header-h) + 1.5rem); transition: top .6s var(--ease); }
  :where(.bgf-blog).header-hidden .post-side { top: 1.5rem; }
}
:where(.bgf-blog) .post-cover { margin: 0 0 1.75rem; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--cream-200); }
:where(.bgf-blog) .post-cover img { width: 100%; height: 100%; object-fit: cover; }
:where(.bgf-blog) .post-meta { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem 1.9rem; margin: 0 0 1.1rem; padding: 0; color: var(--muted); font-size: .98rem; }
:where(.bgf-blog) .post-meta li { display: inline-flex; align-items: center; gap: .5rem; }
:where(.bgf-blog) .post-meta svg { width: 19px; height: 19px; color: var(--gold-text); }
:where(.bgf-blog) .post-meta a { color: inherit; text-decoration: none; }
:where(.bgf-blog) .post-meta a:hover { color: var(--gold-text); }
:where(.bgf-blog) .post-title { margin: 0 0 1.5rem; font-size: clamp(2rem, 4.4vw, 3.3rem); line-height: 1.12; letter-spacing: -.02em; text-transform: none; color: var(--ink); }
:where(.bgf-blog) .post-main .pending-note { margin-bottom: 1.5rem; }
:where(.bgf-blog) .post-end { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }

/* Sidebar cards */
:where(.bgf-blog) .post-side { display: grid; gap: 1.5rem; }
:where(.bgf-blog) .side-card { background: #fff; border-radius: 14px; padding: clamp(1.4rem, 2.5vw, 2rem); box-shadow: 0 1px 0 var(--line); }
:where(.bgf-blog) .side-title { margin: 0 0 1.25rem; font-size: 1.1rem; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
:where(.bgf-blog) .side-posts { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
:where(.bgf-blog) .side-posts li { display: grid; grid-template-columns: 88px 1fr; gap: 1rem; align-items: center; }
:where(.bgf-blog) .side-posts__img { display: block; width: 88px; height: 88px; border-radius: 8px; overflow: hidden; }
:where(.bgf-blog) .side-posts__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
:where(.bgf-blog) .side-posts li:hover .side-posts__img img { transform: scale(1.08); }
:where(.bgf-blog) .side-posts__title { display: block; margin: .2rem 0; font-weight: 700; color: var(--ink); text-decoration: none; line-height: 1.35; transition: color .3s; }
:where(.bgf-blog) .side-posts__title:hover { color: var(--gold-text); }
:where(.bgf-blog) .side-posts time { font-size: .78rem; color: var(--muted); }
:where(.bgf-blog) .side-cats { list-style: none; margin: 0; padding: 0; }
:where(.bgf-blog) .side-cats a { display: flex; justify-content: space-between; align-items: center; padding: .7rem 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 700; transition: color .3s, padding .4s var(--ease); }
:where(.bgf-blog) .side-cats li:last-child a { border-bottom: 0; }
:where(.bgf-blog) .side-cats a:hover { color: var(--gold-text); padding-left: .35rem; }
:where(.bgf-blog) .side-cats span { min-width: 28px; height: 28px; border-radius: 999px; background: var(--cream); display: grid; place-items: center; font-size: .78rem; color: var(--navy); }
:where(.bgf-blog) .side-card--cta { background: var(--navy); color: #c9d4df; }
:where(.bgf-blog) .side-cta__kicker { margin: 0; font-family: var(--script); font-size: 2rem; line-height: 1; color: var(--gold); }
:where(.bgf-blog) .side-cta__title { margin: .3rem 0 1.1rem; font-size: 1.3rem; font-weight: 900; color: #fff; line-height: 1.2; }

/* Theme additions */
:where(.bgf-blog) .post-card__title { margin: 0; font-size: 1.35rem; text-transform: uppercase; letter-spacing: -.01em; }
:where(.bgf-blog) .post-card__title a { text-decoration: none; color: inherit; }
:where(.bgf-blog) .post-card__meta { margin: 0; }
