/* Sikh shared kit · top-crumb 1.0.0 (30 Nov 2026, Australia/Sydney)
   Slim one-line breadcrumb / back row, directly under the header on inner pages.
   About 22px tall. One line with ellipsis. No glow. Gurbani is never touched. */
nav.stc{
  box-sizing:border-box;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:4px;
  width:100%;
  height:22px;
  max-height:22px;
  min-height:22px;
  margin:0;
  padding:0 8px;
  font-size:11px;
  line-height:16px;
  font-weight:400;
  letter-spacing:0;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  background:transparent;
  border:0;
  box-shadow:none;
  color:#f3e6c5;
  z-index:39;
}
nav.stc[hidden]{display:none!important}
nav.stc .stc-a,
nav.stc .stc-back,
nav.stc a{
  display:inline-flex;
  align-items:center;
  min-width:0;
  max-width:100%;
  flex:0 1 auto;
  margin:0;
  padding:0 2px;
  border:0;
  border-radius:3px;
  background:none;
  box-shadow:none;
  color:inherit;
  font:inherit;
  font-weight:500;
  line-height:16px;
  text-decoration:none;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  opacity:.95;
}
nav.stc .stc-back{flex:0 0 auto;max-width:70%;font-weight:600}
nav.stc .stc-cur{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  opacity:.8;
  font-weight:400;
}
nav.stc .stc-sep{flex:none;opacity:.45;padding:0 1px}
nav.stc.stc-en-only a .stc-pa,
nav.stc.stc-en-only a [lang="pa"]{display:none}
html.tv nav.stc{
  height:24px;
  max-height:24px;
  min-height:24px;
  padding:0 10px;
  overflow:visible;
}
html.tv nav.stc a{padding:0 4px;overflow:visible}
html.tv nav.stc a:focus,
html.tv nav.stc a:focus-visible{
  box-shadow:none!important;
  filter:none!important;
  text-shadow:none!important;
  transform:none!important;
  background:transparent;
}
/* When the header is position:fixed, the bar is fixed just under it and content padding includes --stc-h. */
html.stc-fixed nav.stc{position:fixed;left:0;right:0;top:var(--hdr,0px)}
html.stc-fixed.stc-on #content,
html.stc-fixed.stc-on #page-scroll > main,
html.stc-fixed.stc-on main#main{
  padding-top:calc(var(--hdr,0px) + var(--stc-h,22px) + 6px)!important;
}

html:not(.stc-fixed) nav.stc{position:sticky;top:var(--hdr,0px)}
