/* site-pages.css — public HTML page shell + hero (board list parity) */
/* 2026-06-10: Match board list header on general pages */

.page-shell { width: 100%; max-width: 100%; margin: 0; box-sizing: border-box; }
.page-shell:has(.is-hero-full-width) { overflow-x: visible; }
.page-shell:has(.page-grid > .is-hero-full-width:first-child) { padding-top: 0; }
/* 2026-06-11: Align page content width with --site-content-max-width (header/footer/site-main) */
.page-shell--pixel { width: 100%; max-width: var(--site-content-max-width, 1200px); margin: 0 auto; padding-bottom: 24px; box-sizing: border-box; }
/* site-pages.css — 2026-06-12: page hero title + right breadcrumb bar */
.page-hero.page-hero--bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 0; padding: 18px 20px; box-sizing: border-box; background: color-mix(in srgb, var(--site-accent) 5%, var(--site-surface)); border-bottom: 1px solid color-mix(in srgb, var(--site-border) 85%, transparent); }
.page-hero-main { flex: 1 1 240px; min-width: 0; }
.page-hero.page-hero--bar .board-hero-title { margin: 0; font-size: clamp(1.2rem, 3.2vw, 1.55rem); font-weight: 600; letter-spacing: -0.02em; color: var(--site-text); line-height: 1.25; word-break: break-word; }
.page-hero-breadcrumb { flex: 0 1 auto; display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 6px; margin: 0; font-size: 0.82rem; line-height: 1.4; color: var(--site-muted); }
.page-hero-breadcrumb-link { display: inline-flex; align-items: center; gap: 5px; color: var(--site-muted); text-decoration: none; white-space: nowrap; }
.page-hero-breadcrumb-link i { font-size: 0.72rem; opacity: 0.82; line-height: 1; }
.page-hero-breadcrumb-link:hover { color: var(--site-accent); text-decoration: none; }
.page-hero-breadcrumb-link:hover span { text-decoration: underline; }
.page-hero-breadcrumb-link.is-current { color: var(--site-text); font-weight: 600; }
.page-hero-breadcrumb-link.is-current i { color: var(--site-accent); opacity: 1; }
.page-hero-breadcrumb-sep { color: var(--site-muted); opacity: 0.55; user-select: none; }
.page-hero-side { flex: 0 1 auto; display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 10px; }
/* site-pages.css — 2026-06-17: empty page grid placeholder (no widgets) */
.page-grid-empty { grid-column: 1 / -1; width: 100%; margin: 0; padding: 48px 20px; text-align: center; color: var(--site-muted); font-size: 0.95rem; line-height: 1.6; box-sizing: border-box; }

@media (max-width: 768px) {
  .page-shell--pixel { padding-bottom: 18px; }
  /* 2026-06-17: Mobile — prevent title/breadcrumb stretching to top & bottom */
  .page-hero.page-hero--bar { flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 8px; padding: 12px 14px; }
  .page-hero-main { flex: 0 1 auto; min-width: 0; }
  .page-hero-side { width: 100%; justify-content: flex-start; }
  .page-hero-breadcrumb { justify-content: flex-start; font-size: 0.78rem; }
  .page-hero.page-hero--bar .board-hero-title { font-size: clamp(1.05rem, 4.5vw, 1.35rem); }
  .page-grid-empty { padding: 36px 16px; font-size: 0.9rem; }
}
