/* after51 (Indy notes 2026-10-25c, items 1-3, 15): carousel panels, one rhythm, sleek footer tag */

/* ---- Rhythm: one spacing scale for entry bodies ----
   bullet-to-bullet (and bullet-to-twirl) = --r-li; block-to-block (list / panel / twirl content) = --r-block;
   panel to the entry's bottom edge = --r-edge (the same as the entry's side padding). */
:root { --r-li: 0.62rem; --r-block: 1.1rem; --r-edge: var(--ds-4, 1rem); }
.job-list + .job-list, .edu-list + .job-list, .job-list + .edu-list, .edu-list + .edu-list { margin-top: var(--r-li); }
.job-body > .bfv, .subjob-body > .bfv, .bfv-reveal-in > .bfv { margin-top: var(--r-block); }
.bfv-reveal-in > .job-list { margin-top: var(--r-li); }

/* ---- 1. Carousel panels: the title sits inside the panel, above a hairline, like the CHOBO story card ---- */
.bfv--panel {
  background: var(--well); border: 1px solid var(--well-border); border-radius: var(--well-radius);
  box-shadow: var(--well-inset), var(--well-raise); overflow: hidden;
}
.bfv--panel > .bfv-label {
  margin: 0; padding: 0.7rem 1rem 0.62rem; text-align: center;
  font-family: var(--ds-mono, ui-monospace, monospace); font-size: 0.68rem; font-weight: 500; line-height: 1.3;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
  border-bottom: 1px solid var(--well-border);
}
.bfv--panel > .bfv-row, :root .bfv--panel > .bfv-row {
  background: transparent; border: 0; border-radius: 0; box-shadow: none;
}
/* photo panels hug the bottom of their entry */
.job-body:has(> .bfv--photos:last-child) { padding-bottom: var(--r-edge); }
.subjob-body > .bfv--photos:last-child { margin-bottom: 0.2rem; }

/* ---- 15. Footer tag: sleek, in keeping with the site (no weave, no stitching) ---- */
.page > .site-tag, html[data-theme="dark"] .page > .site-tag {
  padding: 9px 18px 10px; color: var(--muted);
  background: var(--bg); border: 1px solid var(--ds-line-strong); border-top: 0;
  border-radius: 0 0 10px 10px; box-shadow: 0 6px 16px -10px rgba(0, 0, 0, 0.28);
  letter-spacing: 0.04em;
}
html[data-theme="dark"] .page > .site-tag { box-shadow: 0 8px 18px -10px rgba(0, 0, 0, 0.8); }
.page > .site-tag::before, html[data-theme="dark"] .page > .site-tag::before { content: none; }
.page > .site-tag.is-tailored.is-built { border-radius: 0 0 10px 10px; }
.site-tag .st-design:hover, .site-tag .st-built:hover { color: var(--fg); }
.site-tag .st-design, .site-tag .st-built { transition: color 140ms ease; }
@media (max-width: 640px) { .page > .site-tag { width: auto; padding: 9px 16px 10px; } .site-tag .st-line { display: inline-block; } }
@media (forced-colors: active) { .page > .site-tag { border: 1px solid CanvasText; border-top: 0; } }
