/* Barry's Boxing Center - site styles.
   Every class and id is prefixed bbx- (QA in build.py enforces it).
   Measurements follow the old WordPress theme (boxinggym + style.css) so the
   design and the top navigation look the same. No inline styles: the CSP
   blocks them. */

@font-face {
  font-family: "PT Sans Narrow";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/pt-sans-narrow-700.woff2") format("woff2");
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/roboto-var.woff2") format("woff2");
}

:root {
  --bbx-red: #b20002;
  --bbx-red-2: #d90004;
  --bbx-red-dark: #93002e;
  --bbx-ink: #111;
  --bbx-dark: #1e1e1e;
  --bbx-bar: #1b1b1b;
  --bbx-grey: #625e5d;
  --bbx-soft: #fafafa;
  --bbx-line: #ddd;
  --bbx-narrow: "PT Sans Narrow", "Arial Narrow", "Roboto Condensed", sans-serif;
  --bbx-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --bbx-roboto: "Roboto", "Helvetica Neue", Arial, sans-serif;
  --bbx-wrap: 1170px;
  --bbx-gap: 30px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 20px; }
body {
  margin: 0;
  font: 16px/1.42857143 var(--bbx-sans);
  color: var(--bbx-ink);
  background: var(--bbx-dark) url("/assets/img/bgbrick-1600.webp") repeat top center;
  overflow-x: hidden;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; border: 0; vertical-align: middle; }
a { color: var(--bbx-red); }
a:hover { color: #7d0001; }
p { margin: 0 0 1em; }
figure { margin: 0 0 20px; }
hr { border: 0; border-top: 1px solid #ccc; margin: 20px 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid #f0b400; outline-offset: 2px; }

.bbx-vh {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.bbx-skip {
  position: absolute; left: 8px; top: -60px; z-index: 1000; padding: 10px 16px;
  background: #fff; color: #000; font-weight: 700;
}
.bbx-skip:focus { top: 8px; }
.bbx-wrap { width: 100%; max-width: var(--bbx-wrap); margin: 0 auto; padding: 0 15px; }
.bbx-wrap .bbx-wrap { padding: 0; }
.bbx-center { text-align: center; }
.bbx-right { text-align: right; }

/* ---------- top bar (address / phone / hours) ---------- */
.bbx-topbar { background: var(--bbx-dark); color: #fafafa; min-height: 60px; }
.bbx-topbar-in { display: flex; align-items: center; min-height: 60px; padding-top: 6px; padding-bottom: 6px; font-size: 18px; line-height: 18px; }
.bbx-top-item { display: flex; align-items: center; gap: 8px; margin: 0; color: #fafafa; text-decoration: none; }
.bbx-top-item:hover { color: #fff; }
.bbx-top-addr { width: 21%; }
.bbx-top-phone { width: 45%; }
.bbx-top-hours { width: 34%; }
.bbx-top-ico { width: 36px; height: 36px; flex: none; fill: #fff; }
.bbx-top-phone .bbx-top-ico { width: 32px; height: 32px; transform: rotate(-12deg); }
.bbx-top-hours .bbx-top-ico { width: 38px; height: 38px; }

/* ---------- main navigation (desktop: the old two-row grid with the logo in the middle) ---------- */
.bbx-mbar { display: none; }
.bbx-nav {
  position: relative; z-index: 50; background: #fff;
  box-shadow: inset 0 11px 8px -10px #383838, inset 0 -11px 8px -10px #383838;
}
.bbx-nav-list {
  list-style: none; margin: 0 auto; padding: 1px 0;
  display: grid;
  grid-template-columns: 1fr 1fr minmax(240px, 327px) 1fr 1fr;
  grid-template-rows: 61px 61px;
  max-width: 1168px;
}
.bbx-nav-home { display: none; }
.bbx-nav-item { position: relative; text-align: center; }
.bbx-nav-item:nth-child(2), .bbx-nav-item:nth-child(4),
.bbx-nav-item:nth-child(7), .bbx-nav-item:nth-child(9) { border-bottom: 3px solid #000; align-self: end; }
.bbx-nav-item:nth-child(2), .bbx-nav-item:nth-child(3),
.bbx-nav-item:nth-child(7), .bbx-nav-item:nth-child(8) { border-right: 3px solid #000; }
.bbx-nav-item:nth-child(2) { grid-area: 1 / 1; }
.bbx-nav-item:nth-child(3) { grid-area: 2 / 1; align-self: start; }
.bbx-nav-item:nth-child(4) { grid-area: 1 / 2; }
.bbx-nav-item:nth-child(5) { grid-area: 2 / 2; align-self: start; }
.bbx-nav-logo { grid-area: 1 / 3 / 3 / 4; margin: -14px 0; position: relative; z-index: 2; }
.bbx-nav-logo a { display: block; }
.bbx-nav-logo img { display: block; width: 100%; height: auto; }
.bbx-nav-item:nth-child(7) { grid-area: 1 / 4; }
.bbx-nav-item:nth-child(8) { grid-area: 2 / 4; align-self: start; }
.bbx-nav-item:nth-child(9) { grid-area: 1 / 5; }
.bbx-nav-item:nth-child(10) { grid-area: 2 / 5; align-self: start; }
.bbx-nav-link {
  display: block; font: 700 26px/48px var(--bbx-narrow); color: #000; text-decoration: none;
  white-space: nowrap;
}
.bbx-nav-link:hover, .bbx-nav-link:focus-visible, .bbx-has-sub:hover > .bbx-nav-link { color: var(--bbx-red); }
.bbx-sub-toggle { display: none; }
.bbx-sub {
  list-style: none; margin: 0; padding: 0;
  position: absolute; left: -3px; right: -3px; top: 100%; z-index: 20;
  background: #333; text-align: center;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility 0s .18s;
}
.bbx-sub li + li { border-top: 1px dashed rgba(255, 255, 255, .7); }
.bbx-sub a {
  display: block; padding: 0 5px; font: 700 26px/46px var(--bbx-narrow); color: #fafafb; text-decoration: none;
}
.bbx-sub a:hover, .bbx-sub a:focus-visible, .bbx-sub a[aria-current] { color: #fff; background: var(--bbx-red); }
.bbx-has-sub:hover > .bbx-sub, .bbx-has-sub.bbx-open > .bbx-sub {
  opacity: 1; visibility: visible; transform: none; transition: opacity .18s ease, transform .18s ease;
}
.bbx-nav-item.bbx-is-active > .bbx-nav-link { color: var(--bbx-red); }

@media (min-width: 1445px) {
  .bbx-nav-list { grid-template-rows: 64px 64px; }
  .bbx-nav-link { font-size: 34px; line-height: 52px; }
  .bbx-nav-item:nth-child(2), .bbx-nav-item:nth-child(4),
  .bbx-nav-item:nth-child(7), .bbx-nav-item:nth-child(9) { border-bottom-width: 4px; }
  .bbx-nav-item:nth-child(2), .bbx-nav-item:nth-child(3),
  .bbx-nav-item:nth-child(7), .bbx-nav-item:nth-child(8) { border-right-width: 4px; }
}
@media (max-width: 1199px) {
  .bbx-topbar-in { font-size: 14px; line-height: 15px; }
  .bbx-nav-link { font-size: 22px; }
  .bbx-sub a { font-size: 22px; line-height: 42px; }
  .bbx-nav-list { grid-template-columns: 1fr 1fr minmax(200px, 270px) 1fr 1fr; }
}

/* ---------- phones/tablets: dark bar + slide-in menu ---------- */
@media (max-width: 899px) {
  .bbx-topbar { display: none; }
  .bbx-mbar {
    display: flex; align-items: center; gap: 10px; padding: 8px 12px;
    background: var(--bbx-bar); position: sticky; top: 0; z-index: 60;
  }
  .bbx-header { position: sticky; top: 0; z-index: 60; }
  .bbx-mbar-logo { flex: none; display: block; width: 134px; }
  .bbx-mbar-logo img { display: block; width: 134px; height: auto; border: 2px solid #000; }
  .bbx-mbar-call {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
    color: #fff; text-decoration: none; font: 700 20px/1 var(--bbx-narrow); white-space: nowrap;
  }
  .bbx-mbar-call .bbx-top-ico { width: 20px; height: 20px; }
  .bbx-burger {
    flex: none; width: 48px; height: 48px; padding: 0; border: 0; background: none; cursor: pointer;
    position: relative;
  }
  .bbx-burger-lines, .bbx-burger-lines::before, .bbx-burger-lines::after {
    position: absolute; left: 10px; width: 28px; height: 3px; background: #fff; border-radius: 2px;
    transition: transform .25s ease, opacity .2s ease, width .25s ease;
  }
  .bbx-burger-lines { top: 22px; }
  .bbx-burger-lines::before { content: ""; left: 0; top: -9px; width: 14px; }
  .bbx-burger-lines::after { content: ""; left: 14px; top: 9px; width: 14px; }
  .bbx-burger[aria-expanded="true"] .bbx-burger-lines { background: transparent; }
  .bbx-burger[aria-expanded="true"] .bbx-burger-lines::before { width: 28px; transform: translateY(9px) rotate(45deg); }
  .bbx-burger[aria-expanded="true"] .bbx-burger-lines::after { width: 28px; left: 0; transform: translateY(-9px) rotate(-45deg); }

  .bbx-nav {
    position: fixed; left: 0; right: 0; top: var(--bbx-mbar-h, 64px); bottom: 0;
    background: var(--bbx-bar); box-shadow: none; border-top: 3px solid var(--bbx-red);
    overflow-y: auto; transform: translateX(-105%); visibility: hidden;
    transition: transform .35s cubic-bezier(.68, -.2, .27, 1.2), visibility 0s .35s;
  }
  .bbx-nav.bbx-nav--open { transform: none; visibility: visible; transition: transform .35s cubic-bezier(.68, -.2, .27, 1.2); }
  .bbx-nav-list { display: block; max-width: none; padding: 10px 0 40px; }
  .bbx-nav-home { display: block; }
  .bbx-nav-logo { display: none; }
  .bbx-nav-item, .bbx-nav-item:nth-child(n) { border: 0; text-align: left; display: flex; flex-wrap: wrap; align-items: center; }
  .bbx-nav-link {
    flex: 1; padding: 0 20px; font: 500 20px/48px var(--bbx-sans); color: #fff;
  }
  .bbx-nav-link:hover, .bbx-nav-link:focus-visible, .bbx-has-sub:hover > .bbx-nav-link,
  .bbx-nav-item.bbx-is-active > .bbx-nav-link { color: #ff4b4d; }
  .bbx-nav-link[aria-current] { color: #ff4b4d; box-shadow: inset 4px 0 0 var(--bbx-red); }
  .bbx-sub-toggle {
    display: block; flex: none; width: 56px; height: 48px; border: 0; background: none; color: #fff;
    cursor: pointer; position: relative;
  }
  .bbx-sub-toggle::before, .bbx-sub-toggle::after {
    content: ""; position: absolute; left: 20px; top: 23px; width: 16px; height: 2px; background: currentColor;
    transition: transform .25s ease;
  }
  .bbx-sub-toggle::after { transform: rotate(90deg); }
  .bbx-sub-toggle[aria-expanded="true"]::after { transform: rotate(0deg); }
  .bbx-sub {
    position: static; flex-basis: 100%; background: #262626; text-align: left;
    opacity: 1; visibility: visible; transform: none; display: none;
  }
  .bbx-has-sub:hover > .bbx-sub { display: none; }
  .bbx-has-sub.bbx-open > .bbx-sub { display: block; }
  .bbx-sub li + li { border-top: 0; }
  .bbx-sub a { padding: 0 20px 0 40px; font: 400 18px/44px var(--bbx-sans); color: #ddd; }
  .bbx-sub a:hover, .bbx-sub a[aria-current] { background: none; color: #ff4b4d; }
  body.bbx-menu-open { overflow: hidden; }
  /* the menu's items slide in one after another, like the old mobile menu */
  .bbx-nav .bbx-nav-item { transform: translateX(-40px); opacity: 0; transition: transform .45s cubic-bezier(.68, -.55, .27, 1.55), opacity .3s ease; }
  .bbx-nav--open .bbx-nav-item { transform: none; opacity: 1; }
  .bbx-nav--open .bbx-nav-item:nth-child(2) { transition-delay: .03s; }
  .bbx-nav--open .bbx-nav-item:nth-child(3) { transition-delay: .06s; }
  .bbx-nav--open .bbx-nav-item:nth-child(4) { transition-delay: .09s; }
  .bbx-nav--open .bbx-nav-item:nth-child(5) { transition-delay: .12s; }
  .bbx-nav--open .bbx-nav-item:nth-child(7) { transition-delay: .15s; }
  .bbx-nav--open .bbx-nav-item:nth-child(8) { transition-delay: .18s; }
  .bbx-nav--open .bbx-nav-item:nth-child(9) { transition-delay: .21s; }
  .bbx-nav--open .bbx-nav-item:nth-child(10) { transition-delay: .24s; }
}

/* ---------- page banner (inner pages) ---------- */
.bbx-banner { background: #2a2a2a; line-height: 0; }
.bbx-banner img { display: block; width: 100%; height: auto; min-height: 110px; object-fit: cover; object-position: center; }

/* ---------- inner page layout + the old WPBakery 12-column grid ---------- */
.bbx-main--inner { background: #fff; }
.bbx-inner { padding-top: 40px; padding-bottom: 40px; }
.bbx-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--bbx-gap); row-gap: 10px; margin-bottom: 25px; }
.bbx-row-inner { margin-bottom: 20px; }
.bbx-col-2 { grid-column: span 2; } .bbx-col-3 { grid-column: span 3; } .bbx-col-4 { grid-column: span 4; }
.bbx-col-6 { grid-column: span 6; } .bbx-col-8 { grid-column: span 8; } .bbx-col-9 { grid-column: span 9; }
.bbx-col-10 { grid-column: span 10; } .bbx-col-12 { grid-column: span 12; }
.bbx-col > :last-child { margin-bottom: 0; }
@media (max-width: 767px) {
  .bbx-row { grid-template-columns: minmax(0, 1fr); }
  .bbx-col[class*="bbx-col-"] { grid-column: auto; }
  .bbx-col--empty { display: none; }
  .bbx-row-inner > .bbx-col-2 { display: none; }
}
@media (min-width: 768px) and (max-width: 991px) {
  .bbx-row > .bbx-col-3 { grid-column: span 4; }
  .bbx-row > .bbx-col-9 { grid-column: span 8; }
}

.bbx-h1 { font: 700 24px/1.25 var(--bbx-sans); color: var(--bbx-ink); margin: 0 0 22px; }
.bbx-inner h2 { font: 700 22px/1.3 var(--bbx-sans); color: var(--bbx-red); margin: 0 0 14px; }
.bbx-inner h3 { font: 700 19px/1.3 var(--bbx-sans); margin: 0 0 10px; }
.bbx-inner h2.bbx-lead { color: var(--bbx-ink); font-size: 24px; }
.bbx-inner ul { padding-left: 1.3em; }
.bbx-inner li { margin-bottom: 4px; }
.bbx-inner p, .bbx-inner li { font-size: 16px; }
.bbx-inner figure img { display: block; width: 100%; }
.bbx-lead-p { font-size: 18px; }
.bbx-links { columns: 2 220px; }

/* section sub-menu: the old red brush-stroke tabs (nav.png sprite) */
.bbx-side {
  position: relative; width: 232px; max-width: 100%; background: var(--bbx-soft);
  border-top: 3px solid #000; padding-bottom: 6px; margin-bottom: 25px;
}
.bbx-side-h {
  margin: 20px 0 10px; padding: 0 0 20px; border-bottom: 1px solid #000;
  font: 500 20px/22px var(--bbx-sans); color: var(--bbx-red); text-align: center;
}
.bbx-side ul { list-style: none; margin: 0; padding: 0; }
.bbx-side li { margin: 0; }
.bbx-side a {
  display: block; position: relative; left: -6px; width: 259px; max-width: calc(100% + 27px);
  padding: 13px 18px 17px 30px; font: 700 18px/1.4 var(--bbx-narrow); color: #2e2e2e; text-decoration: none;
  box-shadow: inset 0 -1px 0 #0f0f0f;
}
.bbx-side a:hover, .bbx-side a:focus-visible {
  background: url("/assets/img/x/nav.png") no-repeat -259px 0; color: #fff; padding-left: 40px; box-shadow: none;
}
.bbx-side a.bbx-side-on { background: url("/assets/img/x/nav.png") no-repeat 0 0; color: #fff; padding-left: 40px; box-shadow: none; }
.bbx-side-cta { margin: 0 0 25px; }
@media (max-width: 767px) {
  .bbx-side { width: 100%; }
}

/* buttons */
.bbx-btnrow { text-align: center; margin: 20px 0; }
.bbx-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border: 0; border-radius: 5px; cursor: pointer;
  font: 400 16px/1.2 var(--bbx-sans); color: #fff; text-decoration: none; transition: background-color .2s, transform .15s;
}
.bbx-btn:hover { color: #fff; transform: translateY(-1px); }
.bbx-btn--dark { background: linear-gradient(#4a4a4a, #2a2a2a); box-shadow: 0 2px 0 #000; }
.bbx-btn--dark:hover { background: linear-gradient(#5a5a5a, #333); }
.bbx-btn--red { background: linear-gradient(90deg, #ad2727, #d61d1d); padding: 18px 25px; }
.bbx-btn--red:hover { background: linear-gradient(90deg, #c22d2d, #e52626); }
.bbx-btn-ico { width: 18px; height: 18px; fill: currentColor; }

/* zigzag divider (WPBakery's, redrawn) */
.bbx-zigzag {
  border: 0; height: 12px; margin: 30px 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10' viewBox='0 0 18 15'%3E%3Cpolygon fill='%23ebebeb' points='8.98762301 0 0 9.12771969 0 14.519983 9 5.40479869 18 14.519983 18 9.12771969'/%3E%3C/svg%3E") 0 0 repeat-x;
}

/* big round icon (FAQ ?, testimonials quote, board users, links) */
.bbx-bigico {
  display: flex; align-items: center; justify-content: center; width: 72px; height: 72px; margin: 0 auto 10px;
  border-radius: 50%; background: var(--bbx-red);
}
.bbx-bigico .bbx-ico { width: 38px; height: 38px; fill: #fff; }

/* FAQ toggles */
.bbx-faq { border-bottom: 1px solid #e3e3e3; }
.bbx-faq summary {
  list-style: none; cursor: pointer; position: relative; padding: 14px 10px 14px 40px;
  font: 700 17px/1.35 var(--bbx-sans); color: var(--bbx-ink);
}
.bbx-faq summary::-webkit-details-marker { display: none; }
.bbx-faq summary::before {
  content: "+"; position: absolute; left: 6px; top: 12px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--bbx-red); color: #fff; font: 700 18px/22px var(--bbx-sans); text-align: center;
  transition: transform .25s ease;
}
.bbx-faq[open] summary::before { content: "\2212"; transform: rotate(180deg); }
.bbx-faq summary:hover { color: var(--bbx-red); }
.bbx-faq > :not(summary) { margin: 0 10px 14px 40px; }

/* donations: call-to-donate box */
.bbx-callout {
  display: flex; align-items: center; gap: 20px; margin: 30px 0 10px; padding: 22px 26px;
  background: linear-gradient(135deg, #1e1e1e, #333); border-left: 8px solid var(--bbx-red); border-radius: 5px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18); color: #fff;
}
.bbx-callout .bbx-bigico { flex: none; margin: 0; animation: bbx-ring 3.5s ease-in-out 1s infinite; }
.bbx-callout .bbx-callout-text p { margin: 0; color: #fff; }
.bbx-inner .bbx-callout-h { font: 700 16px/1.2 var(--bbx-narrow); letter-spacing: 1px; text-transform: uppercase; color: #ff6b6d; }
.bbx-inner .bbx-callout-num { font: 700 clamp(30px, 5vw, 44px)/1.15 var(--bbx-narrow); }
.bbx-callout-num a { color: #fff; text-decoration: none; }
.bbx-callout-num a:hover, .bbx-callout-num a:focus-visible { color: #ff6b6d; }
.bbx-inner .bbx-callout-sub { font-size: 14px; color: #ccc; }
@keyframes bbx-ring { 0%, 80%, 100% { transform: rotate(0); } 84% { transform: rotate(-14deg); } 88% { transform: rotate(12deg); } 92% { transform: rotate(-8deg); } 96% { transform: rotate(5deg); } }
@media (max-width: 480px) { .bbx-callout { padding: 18px; gap: 14px; } .bbx-callout .bbx-bigico { width: 56px; height: 56px; } }

/* testimonials */
.bbx-inner blockquote { margin: 0 0 6px; padding: 0 0 0 25px; border-left: 5px solid #eee; font-style: italic; }

/* pricing tables (the old #pricing-table) */
.bbx-plans { margin: 0 auto 30px; text-align: center; font: 14px var(--bbx-narrow); height: 100%; }
.bbx-plan {
  height: 100%; background: #fff; border: 1px solid var(--bbx-line); border-radius: 5px; color: #333;
  padding: 0 20px 20px; text-shadow: 0 1px rgba(255, 255, 255, .8); overflow: hidden;
}
.bbx-inner .bbx-plan h2 {
  margin: 0 -20px 50px; padding: 24px; font: 400 25px/1.2 var(--bbx-narrow); color: #fff; text-shadow: none;
  background: linear-gradient(#4c4f50, #202020);
}
.bbx-plan-price {
  display: block; width: 100px; height: 100px; margin: 10px auto -65px; border: 5px solid #fff; border-radius: 50%;
  background: #fff; color: #383838; font: 700 25px/90px var(--bbx-narrow);
  box-shadow: inset 0 5px 20px #ddd, inset 0 3px 0 #999;
}
.bbx-plan-price span { font-size: 13px; }
.bbx-plan > p { font: 700 16px var(--bbx-sans); margin: 0; }
.bbx-inner .bbx-plan ul { list-style: none; margin: 20px 0 0; padding: 0; }
.bbx-inner .bbx-plan li { border-top: 1px solid var(--bbx-line); padding: 10px 0; margin: 0; text-align: left; font: 16px/1.45 var(--bbx-sans); }

/* gym membership cards */
.bbx-mcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 30px 0 10px; align-items: stretch; }
.bbx-mcard {
  position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid #e6e6e6;
  border-radius: 14px; overflow: hidden; box-shadow: 0 10px 30px rgba(17, 17, 17, .08);
  transition: transform .25s ease, box-shadow .25s ease;
}
.bbx-mcard:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(17, 17, 17, .16); }
.bbx-mcard-head {
  position: relative; padding: 26px 24px 22px; color: #fff; text-align: left;
  background: radial-gradient(120% 140% at 100% 0%, #3a3a3a 0%, #151515 60%);
}
.bbx-mcard-head::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: linear-gradient(90deg, var(--bbx-red), var(--bbx-red-2));
}
.bbx-mcard--youth .bbx-mcard-head { background: radial-gradient(120% 140% at 100% 0%, #d90004 0%, #8a0002 65%); }
.bbx-mcard--youth .bbx-mcard-head::after { background: #111; }
.bbx-inner .bbx-mcard-name { margin: 0; font: 700 26px/1.1 var(--bbx-narrow); color: #fff; letter-spacing: .3px; }
.bbx-inner .bbx-mcard-age {
  display: inline-block; margin: 10px 0 0; padding: 3px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .14); font: 700 13px/1.6 var(--bbx-sans); letter-spacing: .5px; text-transform: uppercase;
}
.bbx-inner .bbx-mcard-price { margin: 14px 0 0; font: 700 64px/1 var(--bbx-narrow); color: #fff; }
.bbx-mcard-cur { font-size: 30px; vertical-align: 26px; margin-right: 2px; }
.bbx-mcard-per { font-size: 20px; font-weight: 700; opacity: .75; margin-left: 2px; }
.bbx-inner .bbx-mcard-first { margin: 10px 0 0; font-size: 14px; line-height: 1.4; color: rgba(255, 255, 255, .85); }
.bbx-inner .bbx-mcard-fee { margin: 6px 0 0; font: 700 14px/1.4 var(--bbx-sans); color: #fff; }
.bbx-inner .bbx-mcard-list { list-style: none; margin: 0; padding: 22px 24px 6px; flex: 1; }
.bbx-inner .bbx-mcard-list li {
  position: relative; margin: 0 0 12px; padding-left: 30px; font-size: 15.5px; line-height: 1.45; color: #333;
}
.bbx-mcard-list li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--bbx-red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.bbx-inner .bbx-mcard-cta { margin: 0; padding: 6px 24px 24px; }
.bbx-mcard-btn {
  display: block; padding: 13px 18px; border-radius: 8px; text-align: center; text-decoration: none;
  font: 700 18px/1.2 var(--bbx-narrow); letter-spacing: .6px; text-transform: uppercase; color: #fff;
  background: #1e1e1e; transition: background-color .2s ease, transform .15s ease;
}
.bbx-mcard-btn:hover, .bbx-mcard-btn:focus-visible { background: var(--bbx-red); color: #fff; transform: translateY(-1px); }
.bbx-mcard--youth .bbx-mcard-btn { background: var(--bbx-red); }
.bbx-mcard--youth .bbx-mcard-btn:hover { background: #7d0001; }
/* Day pass: one wide card, price on the left */
.bbx-mcard--day { flex-direction: row; margin-bottom: 20px; }
.bbx-mcard--day .bbx-mcard-head { flex: 0 0 260px; display: flex; flex-direction: column; justify-content: center; }
.bbx-mcard--day .bbx-mcard-age { align-self: flex-start; }
.bbx-mcard--day .bbx-mcard-head::after { left: auto; top: 0; width: 4px; height: auto; }
.bbx-mcard--day .bbx-mcard-list { align-self: center; padding: 22px 26px 10px; }
@media (max-width: 991px) {
  .bbx-mcards { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
  .bbx-mcard--day { flex-direction: column; }
  .bbx-mcard--day .bbx-mcard-head { flex-basis: auto; }
  .bbx-mcard--day .bbx-mcard-head::after { left: 0; top: auto; width: auto; height: 4px; }
}

/* events / silver gloves */
.bbx-table-wrap { overflow-x: auto; margin-bottom: 20px; }
.bbx-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.bbx-table th { background: #202020; color: #fff; text-align: left; padding: 8px 10px; }
.bbx-table td { padding: 7px 10px; border-bottom: 1px solid #e6e6e6; }
.bbx-table tr:nth-child(even) td { background: #f7f7f7; }
.bbx-sanction { font: 700 19px/1.3 var(--bbx-sans); }

/* invitation artwork (special events sidebar) */
.bbx-invite { font: 700 15px/1.3 var(--bbx-sans); }
.bbx-invite img { width: 75px; height: auto; margin-bottom: 6px; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); }

/* click-to-play video */
.bbx-video { position: relative; background: #000; margin-bottom: 10px; overflow: hidden; }
.bbx-video--16x9 { aspect-ratio: 16 / 9; }
.bbx-video--9x16 { aspect-ratio: 9 / 16; max-width: 420px; margin-left: auto; margin-right: auto; }
.bbx-video-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.bbx-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.bbx-video-play {
  position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; padding: 0;
  border: 0; border-radius: 50%; background: rgba(178, 0, 2, .92); cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .45); transition: transform .2s ease, background-color .2s;
}
.bbx-video-play::before { content: ""; position: absolute; inset: 0; }
.bbx-video-ico { width: 40px; height: 40px; fill: #fff; margin-left: 4px; }
.bbx-video:hover .bbx-video-play { transform: scale(1.1); background: var(--bbx-red-2); }
.bbx-video:hover .bbx-video-poster { transform: scale(1.03); }

/* image with a caption that slides up on hover (the old "holder smooth") */
.bbx-hold { position: relative; overflow: hidden; line-height: 0; }
.bbx-hold img { display: block; width: 100%; transition: opacity .5s ease, transform .6s ease; }
.bbx-hold-cap {
  position: absolute; left: 0; right: 0; top: 100%; bottom: 0; padding: 20px; line-height: 1.3;
  background: rgba(0, 0, 0, .55); color: #fff; transition: top .5s ease;
}
.bbx-hold-cap p { margin: 0; font-size: 25px; text-align: left; }
.bbx-hold:hover img { opacity: .6; transform: scale(1.04); }
.bbx-hold:hover .bbx-hold-cap, .bbx-hold:focus-within .bbx-hold-cap { top: 0; }

/* forms: card, boxed fields with floating labels, tile choices */
.bbx-col:has(> .bbx-form) {
  position: relative; background: #fff; border: 1px solid #e8e8e8; border-radius: 16px; overflow: hidden;
  padding: 34px 34px 28px; box-shadow: 0 14px 40px rgba(17, 17, 17, .08);
}
.bbx-col:has(> .bbx-form)::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px;
  background: linear-gradient(90deg, var(--bbx-red), var(--bbx-red-2) 60%, #1e1e1e);
}
.bbx-inner .bbx-form-h {
  margin: 0 0 22px; padding: 0; border: 0; text-align: left;
  font: 700 30px/1.15 var(--bbx-narrow); color: var(--bbx-ink); letter-spacing: .2px;
}
.bbx-inner .bbx-form-h::after { content: ""; display: block; width: 56px; height: 4px; margin-top: 12px; border-radius: 2px; background: var(--bbx-red); }
@media (max-width: 560px) { .bbx-col:has(> .bbx-form) { padding: 26px 18px 20px; border-radius: 12px; } }

.bbx-form { margin: 0; }
.bbx-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .bbx-form-grid { grid-template-columns: 1fr; } }
.bbx-field { position: relative; margin: 0 0 16px; }
.bbx-field-ctl {
  display: block; width: 100%; height: 58px; padding: 24px 14px 8px; border: 1.5px solid #d9d9d9; border-radius: 10px;
  background: #f7f7f8; font: 16px/1.4 var(--bbx-sans); color: var(--bbx-ink);
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
textarea.bbx-field-ctl { height: auto; min-height: 140px; padding-top: 28px; resize: vertical; }
.bbx-field-ctl:hover { border-color: #bcbcbc; }
.bbx-field-ctl:focus { outline: none; background: #fff; border-color: var(--bbx-red); box-shadow: 0 0 0 4px rgba(178, 0, 2, .12); }
.bbx-field-label {
  position: absolute; left: 15px; top: 19px; color: #6a6a6a; font: 500 16px/1.2 var(--bbx-sans);
  pointer-events: none; transform-origin: left top; transition: transform .18s ease, color .18s ease, top .18s ease;
}
.bbx-field-ctl:focus + .bbx-field-label, .bbx-field-ctl:not(:placeholder-shown) + .bbx-field-label {
  top: 9px; transform: scale(.75); color: var(--bbx-red); font-weight: 700;
}
.bbx-field-ctl:not(:focus):not(:placeholder-shown) + .bbx-field-label { color: #6a6a6a; }
.bbx-field-ctl:required + .bbx-field-label::after { content: " *"; color: var(--bbx-red); }
.bbx-field-ctl[aria-invalid="true"] { border-color: #d00; background: #fff6f6; }
.bbx-field-ctl[aria-invalid="true"] + .bbx-field-label { color: #c00; }

.bbx-fs { border: 0; margin: 8px 0 22px; padding: 0; min-width: 0; }
.bbx-fs-h {
  display: block; width: 100%; padding: 0; margin: 0 0 12px;
  font: 700 17px/1.35 var(--bbx-sans); color: var(--bbx-ink);
}
.bbx-choices { display: flex; flex-wrap: wrap; gap: 10px; }
.bbx-choice { position: relative; }
.bbx-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bbx-choice label {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 120px; min-height: 52px; padding: 10px 20px; border: 1.5px solid #d9d9d9; border-radius: 10px;
  background: #fff; color: #333; font: 600 16px/1.2 var(--bbx-sans); cursor: pointer; user-select: none;
  transition: border-color .18s ease, background-color .18s ease, color .18s ease, transform .12s ease, box-shadow .18s ease;
}
.bbx-choice label:hover { border-color: #9a9a9a; transform: translateY(-1px); }
.bbx-choice input:focus-visible + label { outline: 3px solid #f0b400; outline-offset: 2px; }
.bbx-choice input:checked + label {
  border-color: var(--bbx-red); background: #fff2f2; color: var(--bbx-red); box-shadow: 0 0 0 3px rgba(178, 0, 2, .1);
}
.bbx-choice input:checked + label::after {
  content: "\2713"; position: absolute; top: -8px; right: -8px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--bbx-red); color: #fff; font: 700 13px/22px var(--bbx-sans); text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .2); animation: bbx-pop .22s ease-out;
}
.bbx-choices--big { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
.bbx-choices--big .bbx-choice label { width: 100%; min-height: 64px; font-size: 18px; }
/* days of the week: round chips */
.bbx-choices--check { gap: 8px; }
.bbx-choices--check .bbx-choice label {
  min-width: 0; width: 58px; height: 58px; min-height: 0; padding: 0; border-radius: 50%; font-size: 15px;
}
.bbx-choices--check .bbx-choice input:checked + label { background: var(--bbx-red); color: #fff; box-shadow: 0 4px 12px rgba(178, 0, 2, .3); }
.bbx-choices--check .bbx-choice input:checked + label::after { content: none; }
@media (max-width: 480px) {
  .bbx-choices--big { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bbx-choice { flex: 1 1 auto; }
  .bbx-choice label { min-width: 0; width: 100%; }
  .bbx-choices--check .bbx-choice { flex: 0 0 auto; }
  .bbx-choices--check .bbx-choice label { width: 44px; height: 44px; font-size: 13px; }
}
@keyframes bbx-pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.bbx-hp { position: absolute !important; left: -9999px; }
.bbx-inner .bbx-form-req { margin: -6px 0 14px; font-size: 13px; color: #6a6a6a; }
.bbx-form-req span { color: var(--bbx-red); font-weight: 700; }
.bbx-form-actions { margin: 6px 0 0; }
.bbx-form-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 58px; padding: 14px 24px;
  border: 0; border-radius: 10px; background: linear-gradient(90deg, var(--bbx-red), #93002e); color: #fff;
  font: 700 20px/1 var(--bbx-narrow); letter-spacing: .8px; text-transform: uppercase; cursor: pointer;
  box-shadow: 0 8px 22px rgba(178, 0, 2, .28); transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}
.bbx-form-arrow { fill: currentColor; transition: transform .2s ease; }
.bbx-form-submit:hover, .bbx-form-submit:focus-visible { transform: translateY(-2px); filter: brightness(1.12); box-shadow: 0 12px 26px rgba(178, 0, 2, .35); }
.bbx-form-submit:hover .bbx-form-arrow { transform: translateX(4px); }
.bbx-form-submit:disabled { opacity: .65; cursor: wait; transform: none; }
.bbx-inner .bbx-form-status { margin: 0; font-weight: 700; }
.bbx-inner .bbx-form-status:empty { display: none; }
.bbx-inner .bbx-form-status--ok, .bbx-inner .bbx-form-status--err { margin: 0 0 14px; padding: 12px 14px; border-radius: 8px; }
.bbx-form-status--ok { color: #1d6b2a; background: #edf7ef; }
.bbx-form-status--err { color: #b00000; background: #fff0f0; border-left: 4px solid #d00; }
.bbx-inner .bbx-form-note { font-size: 12px; color: #777; margin: 14px 0 0; text-align: center; }
.bbx-form-note a { color: #777; }

/* contact page: info card beside the form */
.bbx-cinfo { background: #1e1e1e; color: #fff; border-radius: 16px; padding: 28px 26px; box-shadow: 0 14px 40px rgba(17, 17, 17, .15); }
.bbx-inner .bbx-cinfo-h { margin: 0 0 18px; font: 700 26px/1.1 var(--bbx-narrow); color: #fff; }
.bbx-inner .bbx-cinfo-item { display: flex; gap: 14px; margin: 0 0 18px; font-size: 16px; line-height: 1.45; color: #e6e6e6; }
.bbx-cinfo-item:last-child { margin-bottom: 0; }
.bbx-cinfo-item strong { display: block; margin-bottom: 2px; font: 700 13px/1.3 var(--bbx-sans); letter-spacing: 1px; text-transform: uppercase; color: #ff6b6d; }
.bbx-cinfo-item a { color: #fff; text-decoration: none; }
.bbx-cinfo-item a:hover { text-decoration: underline; }
.bbx-cinfo-ico { flex: none; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--bbx-red); }
.bbx-cinfo-ico .bbx-ico { width: 22px; height: 22px; fill: #fff; }


/* ---------- home ---------- */
.bbx-main--home { background: #fff; }
.bbx-hero {
  position: relative; overflow: hidden; background: #2b2b2b;
  aspect-ratio: 16 / 9; max-height: min(800px, calc(100vh - 120px)); min-height: 420px; width: 100%;
}
.bbx-hero-slides, .bbx-hero-slide { position: absolute; inset: 0; }
.bbx-hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.bbx-hero-slide--1 img { animation: bbx-kenburns 16s ease-out both; }
.bbx-hero-slide--2 { opacity: 0; }
.bbx-hero--cycle .bbx-hero-slide--1 { animation: bbx-fade-a 16s ease-in-out infinite; }
.bbx-hero--cycle .bbx-hero-slide--2 { animation: bbx-fade-b 16s ease-in-out infinite; }
.bbx-hero--cycle .bbx-hero-slide--1 img { animation: bbx-kenburns 16s ease-out infinite; }
.bbx-hero--cycle .bbx-hero-slide--2 img { animation: bbx-kenburns-2 16s ease-out infinite; }
.bbx-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 0, 0, .28), rgba(0, 0, 0, 0) 55%), linear-gradient(0deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, 0) 25%);
}
@keyframes bbx-kenburns { from { transform: scale(1.12) translate(1.5%, 1%); } to { transform: scale(1) translate(0, 0); } }
@keyframes bbx-kenburns-2 { 0%, 45% { transform: scale(1); } 100% { transform: scale(1.1) translate(-1.5%, 1%); } }
@keyframes bbx-fade-a { 0%, 44% { opacity: 1; } 50%, 94% { opacity: 0; } 100% { opacity: 1; } }
@keyframes bbx-fade-b { 0%, 44% { opacity: 0; } 50%, 94% { opacity: 1; } 100% { opacity: 0; } }
.bbx-hero-in { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; }
.bbx-hero-box {
  position: relative; max-width: 640px; padding: 22px 28px 26px 34px; border-radius: 5px;
  background: rgba(255, 255, 255, .72); box-shadow: 0 12px 40px rgba(0, 0, 0, .25);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  animation: bbx-box-in 1.1s cubic-bezier(.2, .9, .25, 1.15) .15s both;
}
.bbx-hero-box::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; border-radius: 5px 0 0 5px;
  background: linear-gradient(var(--bbx-red), var(--bbx-red-dark)); transform-origin: top;
  animation: bbx-bar-in .7s ease-out .9s both;
}
.bbx-hero-h1 { margin: 0; font: 700 40px/1.2 var(--bbx-roboto); color: #000; letter-spacing: -.2px; }
.bbx-hero-line { display: inline-block; animation: bbx-rise .8s cubic-bezier(.2, .8, .2, 1) .5s both; }
.bbx-hero-sub { margin: 6px 0 0; font: 400 clamp(18px, 2.2vw, 30px)/1.3 var(--bbx-roboto); color: #000; }
.bbx-hero-sub span { display: inline-block; animation: bbx-rise .7s cubic-bezier(.2, .8, .2, 1) both; }
.bbx-hero-sub span:nth-child(1) { animation-delay: .85s; }
.bbx-hero-sub span:nth-child(2) { animation-delay: 1s; }
.bbx-hero-sub span:nth-child(3) { animation-delay: 1.1s; }
.bbx-hero-sub span:nth-child(4) { animation-delay: 1.25s; }
.bbx-hero-sub span:nth-child(5) { animation-delay: 1.35s; }
.bbx-hero-dot { color: var(--bbx-red); }
.bbx-hero-cta { margin: 18px 0 0; }
.bbx-hero-btn {
  position: relative; display: inline-block; overflow: hidden; padding: 0 44px; border-radius: 5px;
  font: 500 24px/52px var(--bbx-roboto); color: #fff; text-decoration: none;
  background: linear-gradient(90deg, #b5040c, #93002e); box-shadow: 0 5px 20px rgba(0, 0, 0, .55);
  animation: bbx-punch .7s cubic-bezier(.3, 1.6, .5, 1) 1.55s both;
  transition: filter .2s ease, transform .2s ease;
}
.bbx-hero-btn::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-20deg);
  animation: bbx-shine 5s ease-in-out 2.6s infinite;
}
.bbx-hero-btn:hover, .bbx-hero-btn:focus-visible { color: #fff; filter: brightness(1.2); transform: translateY(-2px); }
@keyframes bbx-box-in { from { opacity: 0; transform: scale(.9) translateX(-30px); } to { opacity: 1; transform: none; } }
@keyframes bbx-bar-in { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes bbx-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes bbx-punch { 0% { opacity: 0; transform: scale(.4) rotate(-6deg); } 70% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes bbx-shine { 0%, 70% { left: -60%; } 100% { left: 130%; } }
@media (min-width: 768px) {
  .bbx-hero-box { max-width: none; width: max-content; }
  .bbx-hero-h1, .bbx-hero-sub { white-space: nowrap; }
}
@media (min-width: 768px) and (max-width: 991px) {
  .bbx-hero-h1 { font-size: 32px; }
  .bbx-hero-sub { font-size: 22px; }
}
@media (max-width: 767px) {
  .bbx-hero { aspect-ratio: auto; height: 74vh; max-height: 560px; min-height: 420px; }
  .bbx-hero-slide img { object-position: 35% 45%; }
  .bbx-hero-in { align-items: flex-end; padding-bottom: 22px; }
  .bbx-hero-box { padding: 16px 16px 18px 22px; }
  .bbx-hero-h1 { font-size: clamp(24px, 7vw, 32px); }
  .bbx-hero-btn { font-size: 20px; line-height: 46px; padding: 0 32px; }
}

.bbx-band--brick { background: var(--bbx-dark) url("/assets/img/bgbrick-1600.webp") center / cover no-repeat; }
.bbx-nonprofit { padding: 22px 15px 25px; text-align: center; }
.bbx-nonprofit p { margin: 0; font: 32px/1.3 "Trebuchet MS", Geneva, sans-serif; color: #aba8a8; }
@media (max-width: 767px) { .bbx-nonprofit p { font-size: 22px; } }

.bbx-tiles { display: grid; grid-template-columns: repeat(4, 1fr); background: #222; }
.bbx-tile { position: relative; display: block; line-height: 0; overflow: hidden; }
.bbx-tile img { display: block; width: 100%; height: auto; }
.bbx-tile-hover { position: absolute; inset: 0; opacity: 0; transition: opacity .35s ease; }
.bbx-tile:hover .bbx-tile-hover, .bbx-tile:focus-visible .bbx-tile-hover { opacity: 1; }
.bbx-tile:focus-visible { outline-offset: -4px; }
@media (max-width: 699px) { .bbx-tiles { grid-template-columns: repeat(2, 1fr); } }

.bbx-band--whitebrick { background: #f2f2f2 url("/assets/img/bgwhitebrick2-1600.webp") center / cover no-repeat; padding: 50px 0 50px; }
.bbx-contrib { align-items: center; margin-bottom: 0; }
.bbx-contrib-h { margin: 0 0 16px; font: 700 24px/1.3 var(--bbx-sans); color: var(--bbx-ink); }
.bbx-contrib p { font-size: 18.6px; line-height: 1.45; }
.bbx-contrib .bbx-btnrow { margin: 26px 0 0; }
.bbx-contrib-img { padding: 20px; margin: 0; }
.bbx-contrib-video { padding: 20px; }
.bbx-contrib-video .bbx-video { max-width: 380px; }

.bbx-commit {
  display: grid; grid-template-columns: 4fr 8fr; gap: var(--bbx-gap); margin-top: 50px;
  background: var(--bbx-red); padding: 15px; color: #fff; align-items: center;
}
.bbx-commit-text { padding: 0 10px; }
.bbx-commit h2 { margin: 0 0 10px; font: 500 22px/1.2 var(--bbx-sans); color: #fff; }
.bbx-commit h3 { margin: 0; font: 400 24px/1.2 var(--bbx-sans); color: #fff; }
.bbx-commit p { font-size: 18.6px; margin: 0; }
.bbx-commit hr { border-top-color: rgba(255, 255, 255, .55); margin: 16px 0; }
.bbx-teaches { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--bbx-gap); padding: 25px 15px 0; }
.bbx-trio { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 50px; }
.bbx-trio-item { position: relative; display: block; line-height: 0; overflow: hidden; }
.bbx-trio-item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, filter .3s; }
a.bbx-trio-item:hover img { transform: scale(1.06); filter: brightness(1.1); }
.bbx-trio-logo { background: var(--bbx-red); display: flex; align-items: center; justify-content: center; }
.bbx-trio-logo img { width: 78%; height: auto; object-fit: contain; }
@media (max-width: 767px) {
  .bbx-contrib { gap: 0; }
  .bbx-commit, .bbx-teaches, .bbx-trio { grid-template-columns: 1fr; }
  .bbx-trio-logo { padding: 30px 0; }
  .bbx-band--whitebrick { padding-top: 25px; }
}

/* ---------- map ---------- */
.bbx-map { background: #212121; margin-top: 0; }
.bbx-main--inner + .bbx-map { border-top: 25px solid #fff; }
.bbx-map-frame { position: relative; height: 377px; overflow: hidden; }
.bbx-map-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 48% center; }
.bbx-map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.bbx-map-card {
  position: absolute; left: max(15px, calc((100% - var(--bbx-wrap)) / 2 + 15px)); top: 50%; transform: translateY(-50%);
  max-width: 300px; padding: 18px 20px; background: rgba(255, 255, 255, .95); border-top: 4px solid var(--bbx-red);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .3);
}
.bbx-map-card p { margin: 0 0 10px; }
.bbx-map-name { font: 700 20px/1.2 var(--bbx-narrow); }
.bbx-map-btns { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 !important; }
.bbx-map-btns .bbx-btn { padding: 10px 14px; font-size: 14px; }
.bbx-map--live .bbx-map-card, .bbx-map--live .bbx-map-img { display: none; }
@media (max-width: 599px) {
  .bbx-map-frame { height: 240px; }
  .bbx-map--live .bbx-map-frame { height: 380px; }
  .bbx-map-card { position: relative; left: auto; top: auto; transform: none; max-width: none; margin: 0; z-index: 1; }
  .bbx-map-frame { display: flex; flex-direction: column; justify-content: flex-end; }
  .bbx-map-frame:has(.bbx-map-card) { height: auto; padding-top: 220px; }
}

/* ---------- footer ---------- */
.bbx-footer { background: var(--bbx-dark) url("/assets/img/bgbrick-1600.webp") center / cover no-repeat; color: #fafafa; padding-top: 20px; }
.bbx-footer a { color: #fafafa; text-decoration: none; }
.bbx-footer a:hover { color: #fff; text-decoration: underline; }
.bbx-footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--bbx-gap); padding-bottom: 20px; }
.bbx-footer-h { margin: 0 0 4px; font: 500 24px/1.1 var(--bbx-sans); color: var(--bbx-red); }
.bbx-footer ul { list-style: none; margin: 0; padding: 0; }
.bbx-footer li { line-height: 1.45; }
.bbx-footer li a { display: inline-block; padding: 4px 0; }
.bbx-footer p { margin: 0 0 10px; }
.bbx-footer-brand img { width: 200px; max-width: 100%; }
.bbx-socials { display: flex; gap: 10px; margin-top: 12px; }
.bbx-soc {
  display: block; width: 50px; height: 50px; background-repeat: no-repeat; background-position: 0 0;
}
.bbx-soc:hover { background-position: -50px 0; text-decoration: none; }
.bbx-soc .bbx-soc-ico { display: none; }
.bbx-soc--facebook { background-image: url("/assets/img/site/fb-icon-png.png"); }
.bbx-soc--twitter { background-image: url("/assets/img/site/twitter-icon-png.png"); }
.bbx-soc--instagram { background-image: url("/assets/img/site/instagram-icon-png.png"); }
.bbx-soc--yelp { background-image: url("/assets/img/site/yelp-icon-png.png"); }
.bbx-footer-bottom { background: #222; color: #8a8a8a; font-size: 14px; }
.bbx-footer-bottom-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 30px; padding-top: 6px; padding-bottom: 6px; }
.bbx-footer-bottom p { margin: 0; }
.bbx-footer-bottom a { color: #8a8a8a; }
@media (max-width: 991px) { .bbx-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .bbx-footer-grid { grid-template-columns: 1fr; } }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .bbx-hero--cycle .bbx-hero-slide--2 { animation: none; opacity: 0; }
  .bbx-hero--cycle .bbx-hero-slide--1 { animation: none; opacity: 1; }
}

/* reveal on scroll (added by bbx.js; content is visible without JS) */
.bbx-js .bbx-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.bbx-js .bbx-reveal.bbx-in { opacity: 1; transform: none; }
