/* Celppro Blog (/blog, /blog/<slug>), 2026-11-22. Loads after celppro-home.css and
   celppro-guides.css: the post page reuses the g- article styles, this file adds the cover and
   the cards. Every class here starts with b-. */

/* ---------- Cover on a post ---------- */
.b-cover { margin: 0 0 -1px; max-width: 1040px; }
.b-cover img {
	display: block; width: 100%; height: auto; aspect-ratio: 1600 / 840; object-fit: cover;
	border-radius: var(--radius-lg) var(--radius-lg) 0 0; border: 1px solid var(--border-subtle); border-bottom: 0;
	background: var(--purple-50);
}
.b-page .g-ghead__inner { padding-bottom: 32px; }
.b-disclaimer { font-size: 13px; color: var(--text-muted); line-height: 1.55; }
.b-page .g-body blockquote {
	margin: 20px 0; padding: 14px 18px; border-left: 3px solid var(--purple-400);
	background: var(--grey-25); border-radius: 0 var(--radius-md) var(--radius-md) 0; color: var(--text-secondary);
}
.b-page .g-body blockquote p { margin: 0; }

/* ---------- Cards ---------- */
.b-list { padding-top: 40px; padding-bottom: 72px; }
.b-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.b-card {
	display: flex; flex-direction: column; overflow: hidden; text-decoration: none; color: inherit;
	background: var(--surface-card); border: 1px solid var(--border-default); border-radius: var(--radius-lg);
	transition: box-shadow 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}
.b-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--purple-300); }
.b-card:focus-visible { outline: 3px solid var(--purple-400); outline-offset: 2px; }
.b-card__img { display: block; background: var(--purple-50); }
.b-card__img img { display: block; width: 100%; height: auto; aspect-ratio: 1600 / 840; object-fit: cover; }
.b-card__text { display: grid; gap: 8px; padding: 18px 20px 22px; align-content: start; }
.b-card__meta { font-size: 13px; color: var(--text-muted); }
.b-card__title { font-size: 20px; font-weight: var(--weight-bold); letter-spacing: -0.02em; line-height: 1.25; color: var(--text-primary); text-wrap: balance; }
.b-card__sub { font-size: 15px; color: var(--text-secondary); line-height: 1.5; }
.b-card__more { font-size: 14px; font-weight: var(--weight-semibold); color: var(--text-link); margin-top: 4px; }
.b-card--wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.b-card--wide .b-card__img img { height: 100%; }
.b-card--wide .b-card__text { padding: 32px; align-content: center; gap: 12px; }
.b-card--wide .b-card__title { font-size: clamp(24px, 2.6vw, 32px); }
.b-card--wide .b-card__sub { font-size: 17px; }
.b-empty { font-size: 17px; color: var(--text-secondary); }

.b-more { display: grid; gap: 20px; padding-bottom: 72px; }
.b-more h2 { font-size: 24px; font-weight: var(--weight-bold); letter-spacing: -0.02em; }

@media (max-width: 900px) {
	.b-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.b-card--wide { grid-template-columns: 1fr; }
	.b-card--wide .b-card__img img { height: auto; }
	.b-card--wide .b-card__text { padding: 20px; }
}
@media (max-width: 600px) {
	.b-grid { grid-template-columns: 1fr; gap: 18px; }
	.b-list { padding-top: 28px; padding-bottom: 48px; }
}

/* ---------- "In 30 seconds" key takeaways, above the article (2026-11-22) ---------- */
.b-tldr {
	display: grid; gap: 14px; padding: 24px 26px;
	background: var(--purple-50); border: 1px solid var(--purple-100); border-radius: var(--radius-lg);
}
.b-tldr__k {
	display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: var(--weight-bold);
	letter-spacing: 0.14em; text-transform: uppercase; color: var(--purple-700);
}
.b-tldr h2 { font-size: 22px; font-weight: var(--weight-bold); letter-spacing: -0.02em; color: var(--text-primary); margin: 0; }
.b-tldr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.b-tldr li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; font-size: 16px; line-height: 1.5; color: var(--text-secondary); }
.b-tldr li svg { color: var(--purple-600); margin-top: 2px; }
.b-tldr li b { color: var(--text-primary); }
.b-tldr__stats {
	display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding-top: 12px; border-top: 1px solid var(--purple-100);
	font-family: var(--font-mono, ui-monospace, monospace); font-size: 13px; color: var(--text-secondary);
}
.b-tldr__stats b { color: var(--text-primary); font-weight: 500; }
.b-tldr__asof { color: var(--text-muted); }
@media (max-width: 600px) { .b-tldr { padding: 20px; } }
