/* ============================================================
   SITE PROMO: a slim yellow strip across the top of every page's
   header (currently: the Qualia London premiere). It sits INSIDE the
   header, so pages that measure their bar height (the pinned pages
   and the games) include it, and the app's Games screen, which hides
   the website header, hides it too. To retire it, delete the
   <aside class="site-promo"> blocks and this file's <link>.
   ============================================================ */
.site-promo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1rem;
  padding: 0.5rem var(--gutter, 1.25rem);
  background: var(--color-accent, #FDE358);
  color: var(--color-navy, #1E3A5F);
  text-align: center;
  font-family: "Fraunces", Georgia, serif;
}
.site-promo__text { margin: 0; font-size: 0.875rem; line-height: 1.3; font-weight: 500; }
.site-promo__short { display: none; }
.site-promo__button {
  flex: none;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  background: var(--color-navy, #1E3A5F);
  color: var(--color-off-white, #F8F9F0);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}
.site-promo__button:hover,
.site-promo__button:focus-visible { background: var(--color-off-white, #F8F9F0); color: var(--color-navy, #1E3A5F); }

/* Inside a header: the strip takes the full width as the first row,
   edge to edge, and the logo and menu stay on one row beneath it. The
   gap under the strip matches each header's own bottom padding. */
.page-masthead:has(> .site-promo),
.masthead:has(> .site-promo) { flex-wrap: wrap; padding-top: 0; row-gap: var(--space-md, 1.5rem); }
.page-masthead.page-masthead--sticky:has(> .site-promo) { row-gap: var(--space-sm, 0.75rem); }
.page-masthead > .site-promo,
.masthead > .site-promo {
  order: -1;
  flex: 0 0 calc(100% + 2 * var(--gutter, 1.25rem));
  margin-inline: calc(-1 * var(--gutter, 1.25rem));
}

@media (max-width: 45.999rem) {
  .site-promo { justify-content: space-between; text-align: left; padding-block: 0.45rem; }
  .site-promo__long { display: none; }
  .site-promo__short { display: inline; }
  .site-promo__text { font-size: 0.8rem; }
}
