@font-face {
	font-family: "SBF Bungalow";
	src: format("woff2");
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: "SBF Bignode";
	src: format("woff2");
	font-weight: 400;
	font-style: normal;
}

/* So Bam Fun brand typography — Bungalow (caps-only display) for the site's
   main h1 headings, Bignode (caps-only display) for h2-h4 subheadings,
   eyebrows/buttons/nav labels. Both fonts render lowercase input as their
   uppercase glyphs automatically. Body copy stays in Poppins. Blog post-title
   cards (h2-level, even with class wp-block-post-title) use Bignode along
   with the rest of the h2/h3/h4 tier, matching the source design where only
   the true page h1 uses the display face. */
h1, .site-title, .wp-block-site-title, .wp-block-site-title a {
	font-family: "SBF Bungalow", "Rubik", sans-serif !important;
	letter-spacing: .01em;
}

h2, h3, h4, .wp-block-post-title,
.wp-block-navigation, .wp-block-navigation a,
.wp-block-button__link,
.wp-block-navigation-item__content {
	font-family: "SBF Bignode", "Rubik", sans-serif !important;
	letter-spacing: .03em;
}

/* ==========================================================================
   SBF phone polish, 2026-11-30 (Appearance > Customize > Additional CSS)
   Site-wide fixes found checking every page at 390px.
   ========================================================================== */

/* Footer headings: contact, privacy policy and Join the Community pages were
   missing this rule in their own copy of the footer CSS, so "Get in touch",
   "Lessons & Events" and "Company" showed as big bold Poppins there. */
html body .sbf .sbf-foot h3 {
  font-family: "SBF Bignode", Poppins, sans-serif !important;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  line-height: 1.3;
  color: var(--naples, #fee073);
  margin: 0 0 10px;
}

@media (max-width: 781px) {
  /* Menu (hamburger) button: the 24px icon gets an invisible 44px tap
     area, without moving anything in the header. */
  .wp-block-navigation__responsive-container-open {
    position: relative;
  }
  .wp-block-navigation__responsive-container-open::after {
    content: "";
    position: absolute;
    inset: -10px;
  }

  /* Footer links: easier to tap (were 17px tall). */
  html body .sbf .sbf-foot li a,
  html body .sbf .sbf-foot-bar a {
    display: inline-block;
    padding: 4px 0;
  }

  /* Closing green "Ready to play?" band: about, events, contact and blog
     had a 30px heading, corporate, private lessons and cities 40px. Make
     them all 40px (home keeps its bigger one). */
  body:not(.home) .sbf .sbf-final h2 {
    font-size: 40px !important;
    line-height: 1.05 !important;
  }

  /* Home: the white gap between "Why So Bam Fun" and "Start with the
     basics" was 112px; every other section break is 88px. */
  body.home .sbf .sbf-why {
    padding-bottom: 44px;
  }

  /* Room under the footer so the round chat button never covers
     "Privacy Policy" in the bottom-right corner. */
  html body .sbf .sbf-foot {
    padding-bottom: 84px;
  }
}