/*
 * NatParks App Stores 1.0.0 — the "Download our apps on" band and the Chrome
 * extension bar, in natpark.app's own look: Inter / Inter Tight, the warm
 * #f9f7f3 sections, the gold #dfb751 pill buttons. The badges are the stores'
 * own artwork, resized only; the "Coming soon" tiles carry no store logo.
 */
.npas-band {
  --npas-ink: #191919; --npas-soft: #5b5b55; --npas-line: #e4dfd4; --npas-tile: #ffffff;
  --npas-h: 3.25rem;
  background: #f9f7f3; color: var(--npas-ink);
  padding: clamp(2.25rem, 5vw, 4rem) 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
/* Right after "National Park Guides", on the same warm ground: one section's
   worth of space between them, not two. */
.npas-band--after-guides { padding-top: 0; }
.npas-wrap { max-width: 1400px; margin: 0 auto; padding: 0 clamp(1rem, 3vw, 2rem); text-align: center; }
.npas-title {
  margin: 0 0 clamp(1.25rem, 3vw, 2rem); color: var(--npas-ink);
  font-family: "Inter Tight", Inter, ui-sans-serif, system-ui, sans-serif; font-weight: 500;
  font-size: clamp(1.75rem, 3.4vw, 2.75rem); line-height: 1.15; letter-spacing: -.01em;
}
.npas-parade { width: 100%; overflow: hidden; padding-block: .6rem; margin-block: -.6rem; }
.npas-parade__track { display: flex; gap: clamp(1rem, 2.5vw, 2rem); width: 100%; justify-content: center; }
ul.npas-parade__list {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem); margin: 0; padding: 0; list-style: none;
}
.npas-parade__list > li { display: flex; margin: 0; padding: 0; list-style: none; }
.npas-parade__list > li::before { content: none; }
.npas-parade.is-measuring .npas-parade__track,
.npas-parade.is-moving .npas-parade__track { width: max-content; justify-content: flex-start; }
.npas-parade.is-measuring ul.npas-parade__list,
.npas-parade.is-moving ul.npas-parade__list { flex-wrap: nowrap; flex: none; }
.npas-parade.is-moving {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.npas-parade.is-moving .npas-parade__track { animation: npas-parade var(--npas-time, 30s) linear infinite; will-change: transform; }
.npas-parade.is-moving:hover .npas-parade__track,
.npas-parade.is-moving:focus-within .npas-parade__track { animation-play-state: paused; }
@keyframes npas-parade { from { transform: translateX(0); } to { transform: translateX(var(--npas-shift, -50%)); } }
@media (prefers-reduced-motion: reduce) { .npas-parade.is-moving .npas-parade__track { animation: none; } }

.npas-store {
  display: inline-flex; align-items: center; gap: .65rem; height: var(--npas-h);
  border-radius: 12px; text-decoration: none !important; color: var(--npas-ink); white-space: nowrap;
}
.npas-store--badge img {
  display: block; width: auto !important; max-width: none !important;
  height: calc(var(--npas-h) * var(--npas-scale, 1)) !important;
  margin-block: calc(var(--npas-h) * (1 - var(--npas-scale, 1)) / 2);
}
.npas-store--badge { transition: transform .15s ease; }
.npas-store--badge:hover { transform: translateY(-2px); }
.npas-store--soon, .npas-store--text { padding: 0 1.15rem 0 .95rem; border: 1px solid var(--npas-line); background: var(--npas-tile); }
.npas-store--text { border-color: var(--npas-ink); }
.npas-icon { width: 1.5rem; height: 1.5rem; flex: none; color: var(--npas-soft); }
.npas-store--text .npas-icon { color: var(--npas-ink); }
.npas-store__text { display: grid; line-height: 1.1; text-align: left; }
.npas-store__text small { font-size: .6875rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--npas-soft); }
.npas-store__text b { font-size: 1.0625rem; font-weight: 700; color: var(--npas-ink); }
.npas-band a:focus-visible, .npas-extbar a:focus-visible, .npas-extbar button:focus-visible {
  outline: 3px solid #191919; outline-offset: 3px; box-shadow: 0 0 0 3px #fff;
}
@media (max-width: 36rem) {
  .npas-band { --npas-h: 2.75rem; }
  .npas-store__text b { font-size: .9375rem; }
}

/* --- The Chrome extension bar: hidden unless the <head> check said so --- */
.npas-extbar { display: none; }
html.npas-ext-cta .npas-extbar {
  display: block; position: relative; z-index: 1000;
  background: #1c2b22; color: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: .9375rem; line-height: 1.35;
}
.npas-extbar__in {
  display: flex; align-items: center; gap: .5rem 1rem; min-height: 3rem;
  max-width: 1400px; margin: 0 auto; padding: .45rem clamp(1rem, 3vw, 2rem);
}
.npas-extbar__icon { flex: none; width: 1.75rem !important; height: 1.75rem !important; border-radius: 22%; box-shadow: 0 0 0 1px rgba(255,255,255,.3); }
.npas-extbar__text { flex: 1 1 auto; min-width: 0; margin: 0 !important; padding: 0; color: #fff; font-size: inherit; line-height: inherit; }
.npas-extbar__text strong { font-weight: 700; color: #fff; }
.npas-extbar__go {
  flex: none; display: inline-block; padding: .5em 1.15em; border-radius: 50px;
  background: #dfb751; color: #191919 !important; font-weight: 600; text-decoration: none !important;
  transition: transform .15s ease, background-color .15s ease;
}
.npas-extbar__go:hover { background: #e8c56a; transform: translateY(-1px); }
.npas-extbar__x {
  flex: none; display: grid; place-items: center; width: 2rem; height: 2rem; margin: 0 -.4rem 0 0; padding: 0;
  border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; box-shadow: none;
}
.npas-extbar__x:hover { background: rgba(255,255,255,.14); }
.npas-extbar__x .npas-icon { width: 1.1rem; height: 1.1rem; color: #fff; }
.npas-extbar :focus-visible { outline-color: #fff !important; box-shadow: 0 0 0 3px #191919 !important; }
@media (max-width: 52rem) { .npas-extbar__line { display: none; } }
/* A window this narrow has the theme's fixed mobile header, which would sit
   on top of the bar. */
@media (max-width: 37.5rem) { html.npas-ext-cta .npas-extbar { display: none; } }
@media print { .npas-extbar { display: none !important; } }
