/*
 * The site's other pages, in line with the home page: the pitch behind, with
 * its random tactics (css/pitch.css and js/pitch-tactics.js, linked just
 * before this), and every block of text or media on a slate plate,
 * var(--slate), so it reads on the pitch. Linked after each page's own
 * <style>, so these win where both set the same thing. Each rule is scoped
 * by a class only that kind of page has.
 */

/* Language pills, wherever a page has them */
.lang-link:not(.active) { background: var(--slate); }

/* ---------- Privacy and Terms (all languages): the column is one plate ---------- */
nav:has(> .nav-logo) { background: var(--slate); }
.content:has(> .lang-selector) { background: var(--slate); border-radius: 16px; margin-top: 24px; margin-bottom: 40px; }
.content:has(> .lang-selector) ~ footer { background: var(--slate); color: #B5BBAE; border-top-color: #22402C; }

/* ---------- FAQ (all languages) ---------- */
nav:has(> .nav-back) {
  width: calc(100% - 48px);
  max-width: 752px; /* the FAQ column's content width, so the plates line up */
  margin: 16px auto 0;
  padding: 16px 24px;
  background: var(--slate);
  border-bottom: 2px solid var(--gold);
  border-radius: 16px;
}
/* the Home link was pitch green for the old gold bar; chalk on the slate */
nav:has(> .nav-back) .nav-back { color: #F2F1E8; }
.lang-bar ~ .page-title { background: var(--slate); border-radius: 16px 16px 0 0; padding: 28px 28px 12px; margin-bottom: 0; }
.lang-bar ~ .page-subtitle { background: var(--slate); border-radius: 0 0 16px 16px; padding: 0 28px 28px; }
.faq-item, .contact-section { background: var(--slate); }

/* ---------- The store-link page and the 404: the one centred block ---------- */
body > main:has(> .badges), .lost { background: var(--slate); border-radius: 20px; padding: 32px; }

/* ---------- The story ---------- */
.story-bubble { background: var(--slate); }
.skip-btn { background: var(--slate); color: #F2F1E8; }

@media (max-width: 600px) {
  nav:has(> .nav-back) { width: calc(100% - 32px); margin-top: 12px; padding: 14px 16px; }
  .lang-bar ~ .page-title { padding: 20px 16px 10px; }
  .lang-bar ~ .page-subtitle { padding: 0 16px 20px; }
  .content:has(> .lang-selector) { margin-left: 12px; margin-right: 12px; }
  body > main:has(> .badges), .lost { padding: 24px 16px; }
}
