/* Dec 19 pheasant tower shoot urgency banner.
   Spots-left number is set in js/shoot-banner.js (SPOTS_LEFT). */
html[data-shoot-banner]{
  --shoot-banner-h:40px;
  scroll-padding-top:calc(var(--sp-10) + var(--shoot-banner-h));
}
@media (max-width:720px){
  html[data-shoot-banner]{--shoot-banner-h:56px}
}
html:not([data-shoot-banner]){--shoot-banner-h:0px}
html:not([data-shoot-banner]) .shoot-banner{display:none}

.shoot-banner{
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:60;
  display:flex;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
  min-height:var(--shoot-banner-h);
  margin:0;
  padding:6px var(--gutter);
  background:var(--pine-950);
  color:var(--bone-50);
  border-bottom:1px solid var(--brass-400);
  font-family:var(--font-text);
  font-size:var(--fs-xs);
  font-weight:500;
  letter-spacing:0.02em;
  line-height:1.3;
  text-align:center;
}
.shoot-banner__text{max-width:var(--page-max)}
.shoot-banner a{
  color:var(--bone-50);
  font-weight:600;
  text-decoration:underline;
  text-underline-offset:0.15em;
  text-decoration-thickness:1px;
  white-space:nowrap;
}
.shoot-banner a:hover{color:var(--brass-400)}
.shoot-banner a:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
.shoot-banner [data-spots-count]{font-weight:700;color:var(--brass-400)}

html[data-shoot-banner] .nav{top:var(--shoot-banner-h)}
@media (max-width:960px){
  html[data-shoot-banner] .nav__links{top:calc(var(--sp-8) + var(--shoot-banner-h))}
}

html[data-shoot-banner] .hero{padding-top:calc(var(--sp-16) + var(--shoot-banner-h))}
@media (max-width:760px){
  html[data-shoot-banner] .hero{padding-top:calc(var(--sp-12) + var(--shoot-banner-h))}
}

/* Split-panel heroes keep padding-top:0; the photo sits under the bar. */
html[data-shoot-banner] .hero.hero--tower,
html[data-shoot-banner] .hero.hero--whitetail{padding-top:0}
html[data-shoot-banner] .hero.hero--tower .hero__grid,
html[data-shoot-banner] .hero.hero--whitetail .hero__grid{
  padding-top:calc(var(--sp-12) + var(--shoot-banner-h));
}
@media (max-width:960px){
  html[data-shoot-banner] .hero.hero--tower .hero__grid,
  html[data-shoot-banner] .hero.hero--whitetail .hero__grid{padding-top:var(--sp-5)}
}

html[data-shoot-banner] section[id]{scroll-margin-top:calc(var(--sp-10) + var(--shoot-banner-h))}
