/* toolbox-public.css — https://toolbox.thepicklelodge.com/toolbox-public.css
 * ---------------------------------------------------------------------------
 * The one header for every public page (players, guests, sponsors: no sign-in),
 * so they all look the same (Alison, Nov 8, 2026). Taken from the membership
 * calculator and the Membership Request page: a full-width navy band, the white
 * Pickle Lodge logo centered, a big green Montserrat title, and a soft lead
 * line. Change the look here and every public page follows.
 *
 * Markup, first thing in <body> (outside any width-limited wrapper):
 *   <header class="tb-public-header">
 *     <img class="tb-public-logo" src="https://toolbox.thepicklelodge.com/calculator/logo.png" alt="The Pickle Lodge">
 *     <h1 class="tb-public-title">Page Title</h1>
 *     <p class="tb-public-lead">One or two sentences on what this page is for.</p>
 *   </header>
 * A second lead line is fine; add .tb-public-lead to each.
 *
 * Load it in <head>:
 *   <link rel="stylesheet" href="https://toolbox.thepicklelodge.com/toolbox-public.css">
 * ------------------------------------------------------------------------- */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700;800&display=swap");

.tb-public-header {
  background: var(--brand-navy, #2b3252);
  color: #fff;
  padding: 2.75rem 1.5rem 2.25rem;
  text-align: center;
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.tb-public-logo {
  display: block;
  margin: 0 auto 1rem;
  width: 260px;
  max-width: 70%;
  height: auto;
}
.tb-public-title {
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 5.4vw, 3.1rem);
  letter-spacing: -0.01em;
  line-height: 1.08;
  color: var(--brand-green, #74cf29);
  margin: 0 0 0.5rem;
}
.tb-public-lead {
  max-width: 42rem;
  margin: 0.9rem auto 0;
  color: #c9d3de;
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.5;
}
.tb-public-lead:first-of-type {
  margin-top: 0.5rem;
}
.tb-public-lead:empty {
  display: none;
}
@media print {
  .tb-public-header { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ── The one footer for every public page ────────────────────────────────────
 * Navy, with the Playbook's retro stripe (three slanted bands in light blue,
 * orange and gold) on the right, the white logo, how to reach us, and each
 * Lodge's full name and address from toolbox-data.js. toolbox-public.js fills
 * it in. A page's own fine print goes inside as .tb-public-footer-note:
 *   <footer class="tb-public-footer">
 *     <div class="tb-public-footer-note"><p>Page-specific fine print.</p></div>
 *   </footer>
 *   <script src="https://toolbox.thepicklelodge.com/toolbox-public.js"></script>
 * ------------------------------------------------------------------------- */
.tb-public-footer {
  position: relative;
  overflow: hidden;
  background: var(--brand-navy, #2b3252);
  color: #c9d3de;
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.92rem;
  line-height: 1.55;
  margin-top: 3rem;
  -webkit-font-smoothing: antialiased;
}
.tb-pf-retro {
  position: absolute;
  top: 0;
  right: 0;
  width: 220px;
  height: 100%;
  pointer-events: none;
}
.tb-pf-retro i {
  position: absolute;
  top: -40%;
  bottom: -40%;
  transform: skewX(-22deg);
}
/* The bands touch: no navy between them (Alison, Nov 8, 2026). Each overlaps
   the next by 1px so no hairline shows when the slant is drawn. */
.tb-pf-retro i:nth-child(1) { right: 68px; width: 63px; background: var(--northshore, #73c0d2); }
.tb-pf-retro i:nth-child(2) { right: 38px; width: 31px; background: var(--lunken, #ff7040); }
.tb-pf-retro i:nth-child(3) { right: 26px; width: 13px; background: var(--brand-gold, #ffbd59); }
/* Everything centered (Alison, Nov 8, 2026): the logo, the contact line under
   it, then the three Lodges as even centered columns. The side padding is the
   same both sides and keeps text clear of the stripe. */
.tb-pf-inner {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 1.25rem;
  text-align: center;
}
.tb-pf-logo { width: 180px; height: auto; display: block; margin: 0 auto; }
.tb-pf-contact { margin: 0.9rem auto 0; max-width: 34rem; }
.tb-pf-contact a,
.tb-public-footer-note a { color: #fff; font-weight: 600; white-space: nowrap; }
.tb-pf-locs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 1.75rem auto 0;
  max-width: 760px;
}
.tb-pf-loc b { display: block; color: #fff; font-weight: 700; font-size: 0.95rem; line-height: 1.3; margin-bottom: 6px; }
.tb-public-footer-note {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: 0.5rem 1.5rem 1.25rem;
  font-size: 0.82rem;
  color: #aab6c4;
  text-align: center;
}
.tb-public-footer-note p { margin: 0 0 0.6rem; }
.tb-pf-bottom {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem 1.6rem;
  font-size: 0.8rem;
  color: #8f9db0;
  text-align: center;
}
/* Narrower screens: a smaller stripe in the bottom-right corner, full color,
   below the text instead of behind it. */
@media (max-width: 1100px) {
  .tb-pf-retro { top: auto; bottom: 0; height: 110px; width: 110px; }
  .tb-pf-retro i { top: -20%; bottom: -20%; }
  .tb-pf-retro i:nth-child(1) { right: 34px; width: 32px; }
  .tb-pf-retro i:nth-child(2) { right: 19px; width: 16px; }
  .tb-pf-retro i:nth-child(3) { right: 13px; width: 7px; }
  .tb-pf-bottom { padding-bottom: 2.2rem; }
}
@media (max-width: 640px) {
  .tb-pf-locs { grid-template-columns: 1fr; gap: 1rem; }
}
@media print {
  .tb-public-footer { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ── The website header (Alison, Nov 16, 2026) ───────────────────────────────
 * When TB_SITE.headerOn is true (or ?site-header=1), toolbox-public.js puts the
 * website's logo and menu above the page's .tb-public-header, so public pages
 * look like part of thepicklelodge.com. The page keeps its own title and lead;
 * its logo hides, since the menu bar already shows it.
 * ------------------------------------------------------------------------- */
.tb-sn {
  position: relative;
  z-index: 50;
  background: var(--brand-navy, #2b3252);
  color: #fff;
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  padding: 18px 16px 0;
}
.tb-sn-inner { display: flex; align-items: center; justify-content: center; max-width: 1200px; margin: 0 auto; }
.tb-sn-logo img { display: block; width: 150px; height: auto; }
.tb-sn-burger, .tb-sn-spacer { display: none; }
.tb-sn-nav { max-width: 1200px; margin: 0 auto; }
.tb-sn-list { list-style: none; margin: 0; padding: 12px 0 14px; display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 6px; }
.tb-sn-list > li { position: relative; }
.tb-sn-top {
  display: inline-flex; align-items: center; gap: 5px; min-height: 40px; padding: 8px 12px;
  background: none; border: 0; border-radius: 999px; color: #fff; font: inherit; font-size: 14px; font-weight: 600;
  text-decoration: none; cursor: pointer; white-space: nowrap;
}
.tb-sn-top:hover, .tb-sn-has.is-open > .tb-sn-top { background: rgba(255,255,255,.1); }
.tb-sn-top svg { width: 11px; height: 11px; transition: transform .15s ease; }
.tb-sn-has.is-open > .tb-sn-top svg { transform: rotate(180deg); }
.tb-sn-top:focus-visible, .tb-sn-sub a:focus-visible, .tb-sn-burger:focus-visible { outline: 3px solid var(--brand-gold, #ffbd59); outline-offset: 2px; }
.tb-sn-sub {
  display: none; position: absolute; top: calc(100% + 4px); left: 50%; transform: translateX(-50%);
  min-width: 210px; list-style: none; margin: 0; padding: 8px; border-radius: 14px;
  background: #fff; box-shadow: 0 14px 30px rgba(0,0,0,.25);
}
.tb-sn-has.is-open > .tb-sn-sub { display: block; }
.tb-sn-sub a {
  display: block; padding: 9px 12px; border-radius: 8px; color: var(--brand-navy, #2b3252);
  text-decoration: none; font-size: 14px; font-weight: 500; white-space: nowrap;
}
.tb-sn-sub a:hover { background: #f1f3f8; }
.tb-sn-sub li:first-child a { font-weight: 700; }
/* The page's own header sits right under the menu, one navy block. */
.tb-site-on .tb-public-header { padding-top: 1.75rem; border-top: 1px solid rgba(255,255,255,.12); }
.tb-site-on .tb-public-header .tb-public-logo { display: none; }

@media (max-width: 900px) {
  .tb-sn { padding: 12px 16px; }
  .tb-sn-inner { justify-content: space-between; }
  .tb-sn-burger, .tb-sn-spacer { display: block; width: 44px; height: 44px; }
  .tb-sn-burger { background: none; border: 0; padding: 12px 10px; cursor: pointer; }
  .tb-sn-burger i { display: block; height: 2px; margin: 0 0 6px; background: #fff; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
  .tb-sn.is-open .tb-sn-burger i:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .tb-sn.is-open .tb-sn-burger i:nth-child(2) { opacity: 0; }
  .tb-sn.is-open .tb-sn-burger i:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .tb-sn-logo img { width: 120px; }
  .tb-sn-nav { display: none; }
  .tb-sn.is-open .tb-sn-nav { display: block; }
  .tb-sn-list { flex-direction: column; flex-wrap: nowrap; gap: 0; padding: 10px 0 4px; }
  .tb-sn-top { width: 100%; justify-content: space-between; border-radius: 10px; font-size: 16px; min-height: 48px; }
  .tb-sn-sub { position: static; transform: none; box-shadow: none; background: rgba(255,255,255,.06); margin: 2px 0 8px; }
  .tb-sn-sub a { color: #fff; font-size: 15px; }
  .tb-sn-sub a:hover { background: rgba(255,255,255,.08); }
}

/* Footer extras on the website look: Lodge logos, links under each Lodge,
   and the app / Playbook / contact row. */
.tb-pf-loc-logo { display: block; height: 54px; width: auto; max-width: 100%; margin: 0 auto 10px; object-fit: contain; }
.tb-pf-loc-links { display: flex; flex-direction: column; gap: 4px; margin-top: 10px; }
.tb-pf-loc-links a, .tb-pf-links a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.tb-pf-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; margin: 1.75rem auto 0; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.12); max-width: 760px; }
@media print { .tb-sn { display: none; } }
