/*
Theme Name: BPC Theme
Theme URI: https://brisbanepetanqueclub.com.au
Author: Brisbane Pétanque Club
Author URI: https://brisbanepetanqueclub.com.au
Description: Custom theme for Brisbane Pétanque Club — Navy, Gold & Green design.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: bpc-theme
*/

/* =============================================
   RESET & ROOT VARIABLES
   ============================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --gold: #C9A84C;
  --gold-light: #F0D98A;
  --gold-dark: #8B6914;
  --navy: #0D1E3A;
  --navy-mid: #1A3060;
  --cream: #FAF7F0;
  --cream-dark: #EDE7D6;
  --green: #2D5A27;
  --green-light: #4A8A41;
  --text: #1A1A1A;
  --text-muted: #5A5A5A;
  --white: #FFFFFF;
}


.bpc-page {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

.bpc-page * { box-sizing: border-box; }

/* =============================================
   NAVIGATION
   ============================================= */
.bpc-nav {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #fff;
  border-bottom: 1px solid #e8e4da;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  min-height: 32vh;
}

.bpc-nav-logo { display: flex; align-items: center; }
.bpc-nav-logo img { max-height: 26vh; height: auto; max-width: 55%; width: auto; padding: 3vh 0; }

.bpc-nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
  align-items: center;
  flex-wrap: wrap;
}

.bpc-nav-links a {
  color: var(--navy);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .02em;
  padding: 7px 14px;
  border-radius: 7px;
  transition: all .2s;
  white-space: nowrap;
}

.bpc-nav-links a:hover {
  color: var(--gold-dark);
  background: var(--cream);
}

.bpc-nav-links .bpc-cta-btn {
  background: var(--navy);
  color: #fff !important;
  font-weight: 600 !important;
  border-radius: 8px;
  padding: 9px 18px !important;
}

.bpc-nav-links .bpc-cta-btn:hover { background: var(--navy-mid) !important; }

/* ── Dropdown submenu ─────────────────────────────────────────────────── */
.bpc-nav-links li.menu-item-has-children,
.bpc-nav-links li.bpc-has-dropdown { position: relative; }

/* Dropdown — targets both WP native (.sub-menu) and legacy (.bpc-dropdown) */
.bpc-nav-links .sub-menu,
.bpc-dropdown {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 100%;          /* flush to bottom of nav item — zero gap */
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid #e8e4da;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,.10);
  list-style: none;
  margin: 0;
  padding-top: 8px;
  padding-bottom: 6px;
  min-width: 160px;
  z-index: 200;
  transition: opacity .15s ease, visibility 0s linear .3s; /* 300ms delay before hiding */
}

/* Invisible bridge above dropdown — prevents cursor falling into gap */
.bpc-nav-links .sub-menu::before,
.bpc-dropdown::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.bpc-nav-links li.menu-item-has-children:hover > .sub-menu,
.bpc-nav-links li.menu-item-has-children:focus-within > .sub-menu,
.bpc-has-dropdown:hover .bpc-dropdown,
.bpc-has-dropdown:focus-within .bpc-dropdown {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition: opacity .15s ease, visibility 0s linear 0s;
}

.bpc-nav-links .sub-menu li,
.bpc-dropdown li { margin: 0; }

.bpc-nav-links .sub-menu a,
.bpc-dropdown a {
  display: block;
  padding: 9px 18px;
  white-space: nowrap;
  color: var(--navy);
  font-size: 0.88rem;
  border-radius: 0;
  background: none;
}
.bpc-nav-links .sub-menu a:hover,
.bpc-dropdown a:hover {
  color: var(--gold-dark);
  background: var(--cream);
}

/* Mobile — show dropdown inline, no hover tricks needed */
@media (max-width: 900px) {
  .bpc-nav-links .sub-menu,
  .bpc-dropdown {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--cream);
    border-radius: 0;
    background: transparent;
    padding: 0 0 0 12px;
    transition: none;
  }
  .bpc-nav-links .sub-menu::before,
  .bpc-dropdown::before { display: none; }
  .bpc-nav-links .sub-menu a,
  .bpc-dropdown a { font-size: 0.85rem; padding: 6px 0; }
}

/* Mobile hamburger */
.bpc-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.bpc-nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all .3s;
}

/* =============================================
   HERO
   ============================================= */
.bpc-hero {
  min-height: 92vh;
  background: var(--navy);
  display: block;
  position: relative;
  overflow: hidden;
}

.bpc-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(to right,
      var(--navy) 0%,
      var(--navy) 28%,
      rgba(13,30,58,0.90) 36%,
      rgba(13,30,58,0.65) 48%,
      rgba(13,30,58,0.30) 60%,
      rgba(13,30,58,0.05) 72%,
      transparent 82%),
    linear-gradient(to top, var(--navy) 0%, transparent 18%),
    radial-gradient(ellipse at 20% 50%, rgba(201,168,76,.07) 0%, transparent 60%);
}

.bpc-hero-content {
  padding: 260px 6% 80px;
  position: relative;
  z-index: 4;
  max-width: 52%;
}

.bpc-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,.15);
  border: 1px solid rgba(201,168,76,.35);
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 30px;
}

.bpc-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.bpc-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 4.5vw, 66px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 24px;
  letter-spacing: -.02em;
}

.bpc-hero h1 em { font-style: italic; color: var(--gold-light); }

.bpc-hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,.65);
  line-height: 1.78;
  max-width: 460px;
  margin-bottom: 42px;
  font-weight: 300;
}

.bpc-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.bpc-btn-primary {
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all .2s;
  font-family: 'DM Sans', sans-serif;
}

.bpc-btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  color: var(--navy);
  text-decoration: none;
}

.bpc-btn-ghost {
  background: transparent;
  color: rgba(255,255,255,.85);
  font-size: 15px;
  font-weight: 400;
  padding: 14px 28px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.25);
  text-decoration: none;
  display: inline-block;
  transition: all .2s;
}

.bpc-btn-ghost:hover {
  border-color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.06);
  color: white;
  text-decoration: none;
}

.bpc-hero-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.bpc-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: .72;
  filter: saturate(.8);
}

.bpc-hero-image::after { display: none; }

.bpc-hero-stats {
  position: absolute;
  bottom: 44px;
  left: 6%;
  display: flex;
  gap: 36px;
  z-index: 5;
  align-items: center;
}

.bpc-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  font-weight: 700;
  color: var(--gold-light);
  display: block;
  line-height: 1;
}

.bpc-stat-label {
  font-size: 11px;
  color: rgba(255,255,255,.5);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-top: 5px;
  display: block;
}

.bpc-stat-divider {
  width: 1px;
  height: 38px;
  background: rgba(255,255,255,.15);
}

/* =============================================
   SHARED SECTION ELEMENTS
   ============================================= */
.bpc-section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 10px;
  display: block;
}

.bpc-section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
}

.bpc-section-title em { font-style: italic; color: var(--green); }

/* =============================================
   ABOUT
   ============================================= */
.bpc-about {
  background: var(--navy);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  padding: 100px 6%;
}

.bpc-about .bpc-section-label { color: var(--gold-light); }
.bpc-about .bpc-section-title { color: var(--white); }
.bpc-about .bpc-section-title em { color: var(--gold-light); font-style: italic; }
.bpc-about-text { color: rgba(255,255,255,.65) !important; }
.bpc-feature-chip { color: rgba(255,255,255,.8) !important; border-color: rgba(255,255,255,.15) !important; background: rgba(255,255,255,.06) !important; }
.bpc-chip-icon { background: rgba(201,168,76,.2) !important; }
.bpc-chip-icon svg { stroke: var(--gold-light) !important; }

.bpc-about-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.bpc-about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bpc-about-img-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--navy) 0%, rgba(13,30,58,0.6) 40%, rgba(13,30,58,0) 75%);
  z-index: 1;
}

.bpc-about-img-wrap::after {
  content: 'Est. 2002';
  position: absolute;
  bottom: 18px;
  right: 18px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 13px;
  padding: 7px 18px;
  border-radius: 8px;
  letter-spacing: .05em;
  font-family: 'DM Sans', sans-serif;
  z-index: 2;
}

.bpc-about .bpc-section-title { margin: 10px 0 22px; }

.bpc-about-text {
  font-size: 16px;
  line-height: 1.82;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-weight: 300;
}

.bpc-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}

.bpc-feature-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  background: var(--cream);
  border-radius: 10px;
  border: 1px solid var(--cream-dark);
  font-size: 14px;
  color: var(--text);
  font-weight: 400;
}

.bpc-chip-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bpc-chip-icon svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: white;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* =============================================
   SCHEDULE
   ============================================= */
.bpc-schedule {
  background: var(--navy);
  padding: 90px 6%;
  text-align: center;
}

.bpc-schedule .bpc-section-label { color: rgba(201,168,76,.75); }
.bpc-schedule .bpc-section-title { color: var(--white); margin-bottom: 50px; }
.bpc-schedule .bpc-section-title em { color: var(--gold-light); }

.bpc-club-location-title {
  color: var(--gold-light);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 40px 0 18px;
}
.bpc-club-location-title:first-of-type { margin-top: 0; }

.bpc-days-grid {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 860px;
  margin: 0 auto 44px;
}

.bpc-day-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(201,168,76,.25);
  border-radius: 14px;
  padding: 28px 26px;
  min-width: 200px;
  flex: 1;
  max-width: 240px;
  transition: all .22s;
  cursor: default;
}

.bpc-day-card:hover {
  background: rgba(201,168,76,.08);
  border-color: rgba(201,168,76,.5);
  transform: translateY(-3px);
}

.bpc-day-card.bpc-active {
  background: rgba(201,168,76,.12);
  border-color: var(--gold);
}

.bpc-day-name {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.bpc-day-time {
  font-size: 14px;
  color: rgba(255,255,255,.6);
  margin-bottom: 4px;
}

.bpc-day-type {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 6px;
  margin-top: 10px;
}

.bpc-type-social { background: rgba(74,138,65,.25); color: #7DCA74; }
.bpc-type-comp   { background: rgba(201,168,76,.2); color: var(--gold-light); }

.bpc-location-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.bpc-location-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 100px;
  padding: 13px 26px;
  color: rgba(255,255,255,.7);
  font-size: 14px;
}

.bpc-location-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.bpc-directions-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--gold);
  color: var(--navy) !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 100px;
  padding: 12px 20px;
  transition: background .2s;
  white-space: nowrap;
}
.bpc-directions-btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.bpc-directions-btn:hover { background: var(--gold-light); }

.bpc-location-link {
  color: inherit;
  text-decoration: none;
}
.bpc-location-link:hover {
  color: #fff;
  text-decoration: underline;
}

/* =============================================
   NEWS
   ============================================= */
.bpc-news { background: var(--cream); padding: 100px 6%; }

.bpc-news-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 46px;
}

.bpc-see-all {
  font-size: 14px;
  color: var(--green);
  text-decoration: none;
  border-bottom: 1px solid var(--green);
  padding-bottom: 2px;
  font-weight: 500;
  transition: opacity .2s;
}
.bpc-see-all:hover { opacity: .65; color: var(--green); }

.bpc-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.bpc-news-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--cream-dark);
  transition: all .25s;
  text-decoration: none;
  display: block;
  color: inherit;
}

.bpc-news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,.08);
  text-decoration: none;
  color: inherit;
}

.bpc-news-thumb {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.bpc-news-thumb-placeholder {
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
}

.bpc-news-body { padding: 22px; }

.bpc-news-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(45,90,39,.1);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 11px;
}

/* =============================================
   GALLERY PAGE
   ============================================= */
.bpc-gallery-wrap { padding: 60px 6%; }

.bpc-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.bpc-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: var(--cream-dark);
}

.bpc-gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

.bpc-gallery-item:hover img { transform: scale(1.05); }

.bpc-gallery-item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,30,58,.4) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .25s;
}

.bpc-gallery-item:hover::after { opacity: 1; }

/* Lightbox */
.bpc-lightbox {
  display: none;
  position: fixed; inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,.92);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.bpc-lightbox.open { display: flex; }

.bpc-lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 32px 80px rgba(0,0,0,.6);
}

.bpc-lightbox-close {
  position: absolute; top: 20px; right: 24px;
  background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,.7); font-size: 32px; line-height: 1;
  transition: color .2s;
}
.bpc-lightbox-close:hover { color: white; }

.bpc-lightbox-prev,
.bpc-lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  color: white; font-size: 22px; cursor: pointer;
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.bpc-lightbox-prev:hover,
.bpc-lightbox-next:hover { background: rgba(255,255,255,.2); }
.bpc-lightbox-prev { left: 16px; }
.bpc-lightbox-next { right: 16px; }

@media (max-width: 700px) {
  .bpc-gallery-grid { grid-template-columns: 1fr 1fr; }
}

/* =============================================
   RESULTS & FIXTURES PAGE
   ============================================= */
.bpc-results-wrap { padding: 60px 6%; }

.bpc-results-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 40px;
  border-bottom: 2px solid var(--cream-dark);
}

.bpc-tab-btn {
  background: none;
  border: none;
  padding: 14px 28px;
  font-size: 15px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all .2s;
}

.bpc-tab-btn.active {
  color: var(--navy);
  border-bottom-color: var(--gold);
}

.bpc-tab-btn:hover { color: var(--navy); }

.bpc-tab-panel { display: none; }
.bpc-tab-panel.active { display: block; }

.bpc-result-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: 14px;
  padding: 22px 26px;
  margin-bottom: 14px;
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 0 24px;
  align-items: center;
  transition: box-shadow .2s;
}

.bpc-result-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.06); }

.bpc-result-date-block {
  text-align: center;
  padding-right: 24px;
  border-right: 1px solid var(--cream-dark);
}

.bpc-result-day {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  display: block;
}

.bpc-result-month {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-muted);
  display: block;
  margin-top: 4px;
}

.bpc-result-event {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 5px;
}

.bpc-result-meta {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.bpc-result-score {
  text-align: right;
}

.bpc-outcome-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
}

.bpc-outcome-win  { background: rgba(45,90,39,.12); color: var(--green); }
.bpc-outcome-loss { background: rgba(180,50,50,.1);  color: #B43232; }
.bpc-outcome-draw { background: rgba(201,168,76,.15); color: var(--gold-dark); }
.bpc-outcome-upcoming { background: rgba(13,30,58,.08); color: var(--navy); }

.bpc-result-score-text {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  display: block;
  margin-top: 6px;
}

.bpc-no-results {
  text-align: center;
  padding: 60px 0;
  color: var(--text-muted);
  font-size: 15px;
}

@media (max-width: 700px) {
  .bpc-result-card {
    grid-template-columns: 80px 1fr;
    grid-template-rows: auto auto;
  }
  .bpc-result-score { grid-column: 2; margin-top: 10px; text-align: left; }
  .bpc-result-day { font-size: 24px; }
}

/* =============================================
   BEGINNER'S GUIDE PAGE
   ============================================= */
.bpc-guide-intro {
  background: var(--navy);
  padding: 0 6% 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.bpc-guide-intro > div:first-child {
  padding-top: 160px;
}

.bpc-guide-intro-img {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  margin-top: -50px;
}

.bpc-guide-intro-img img {
  width: 100%; height: 100%; object-fit: contain;
  opacity: .9;
}

.bpc-guide-intro-img-placeholder {
  width: 100%; height: 100%; min-height: 260px;
  background: rgba(255,255,255,.05);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 64px;
}

.bpc-guide-section {
  padding: 80px 6%;
}

.bpc-guide-section:nth-child(even) { background: var(--white); }
.bpc-guide-section:nth-child(odd)  { background: var(--cream); }

.bpc-guide-section .bpc-section-title { margin: 10px 0 32px; }

.bpc-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.bpc-step-card {
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--cream-dark);
  padding: 28px 24px;
  position: relative;
}

.bpc-step-num {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 900;
  color: var(--cream-dark);
  line-height: 1;
  display: block;
  margin-bottom: 12px;
}

.bpc-step-title {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.bpc-step-text { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

.bpc-bring-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.bpc-bring-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--cream);
  border: 1px solid var(--cream-dark);
  border-radius: 12px;
  padding: 16px 18px;
}

.bpc-bring-icon {
  font-size: 26px;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}

.bpc-bring-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 3px;
}

.bpc-bring-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* FAQ Accordion */
.bpc-faq { margin-top: 32px; max-width: 760px; }

.bpc-faq-item {
  border-bottom: 1px solid var(--cream-dark);
}

.bpc-faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.bpc-faq-q::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--gold-dark);
  flex-shrink: 0;
  transition: transform .25s;
}

.bpc-faq-item.open .bpc-faq-q::after { transform: rotate(45deg); }

.bpc-faq-a {
  display: none;
  padding: 0 0 20px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
}

.bpc-faq-item.open .bpc-faq-a { display: block; }

.bpc-guide-cta {
  background: var(--green);
  padding: 80px 6%;
  text-align: center;
  color: white;
}

.bpc-guide-cta h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  margin-bottom: 16px;
}

.bpc-guide-cta h2 em { font-style: italic; color: var(--gold-light); }

.bpc-guide-cta p {
  font-size: 17px;
  color: rgba(255,255,255,.75);
  max-width: 520px;
  margin: 0 auto 36px;
  font-weight: 300;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .bpc-guide-intro { grid-template-columns: 1fr; gap: 32px; }
  .bpc-steps { grid-template-columns: 1fr; }
  .bpc-bring-grid { grid-template-columns: 1fr; }
}

.bpc-news-title {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 10px;
  font-weight: 700;
}

.bpc-news-excerpt {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  font-weight: 300;
}

.bpc-news-date {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--cream-dark);
}

/* =============================================
   JOIN / MEMBERSHIP
   ============================================= */
.bpc-join {
  background: var(--green);
  padding: 100px 6%;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 80px;
  align-items: center;
}

.bpc-join .bpc-section-label { color: rgba(240,217,138,.7); }
.bpc-join .bpc-section-title { color: var(--white); margin: 10px 0 22px; }
.bpc-join .bpc-section-title em { color: var(--gold-light); }

.bpc-join-text {
  font-size: 16px;
  color: rgba(255,255,255,.7);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 32px;
}

.bpc-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.bpc-perks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255,255,255,.85);
  font-size: 15px;
  line-height: 1.5;
}

.bpc-perk-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(201,168,76,.2);
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.bpc-perk-check svg {
  width: 11px;
  height: 11px;
  stroke: var(--gold-light);
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bpc-join-card {
  background: var(--white);
  border-radius: 20px;
  padding: 38px;
  box-shadow: 0 24px 60px rgba(0,0,0,.15);
}

.bpc-join-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 6px;
}

.bpc-join-card .bpc-price-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.bpc-form-group { margin-bottom: 18px; }

.bpc-form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 7px;
  letter-spacing: .03em;
}

.bpc-form-group input,
.bpc-form-group select,
.bpc-form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid #E0DDD5;
  border-radius: 10px;
  font-size: 15px;
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  outline: none;
  transition: border-color .2s;
}

.bpc-form-group input:focus,
.bpc-form-group select:focus,
.bpc-form-group textarea:focus {
  border-color: var(--green-light);
}

.bpc-submit-btn {
  width: 100%;
  background: var(--navy);
  color: white;
  font-size: 15px;
  font-weight: 500;
  padding: 15px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all .2s;
  margin-top: 6px;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: .02em;
}

.bpc-submit-btn:hover {
  background: var(--navy-mid);
  transform: translateY(-1px);
}

/* WPForms override — match our form style */
.bpc-join-card .wpforms-container .wpforms-form input,
.bpc-join-card .wpforms-container .wpforms-form select,
.bpc-join-card .wpforms-container .wpforms-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid #E0DDD5;
  border-radius: 10px;
  font-size: 15px;
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  outline: none;
}

.bpc-join-card .wpforms-container .wpforms-submit-container button {
  width: 100%;
  background: var(--navy);
  color: white;
  font-size: 15px;
  font-weight: 500;
  padding: 15px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
}

/* =============================================
   SPONSORS
   ============================================= */
.bpc-sponsors {
  background: var(--white);
  padding: 60px 6%;
  text-align: center;
}

.bpc-sponsors-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 30px;
  display: block;
}

.bpc-sponsors-row {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.bpc-sponsor-pill {
  background: var(--cream);
  border: 1px solid var(--cream-dark);
  border-radius: 100px;
  padding: 12px 26px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
}

/* =============================================
   FOOTER
   ============================================= */
.bpc-footer {
  background: var(--navy);
  padding: 80px 6% 38px;
  color: rgba(255,255,255,.6);
}

.bpc-footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 55px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 36px;
}

.bpc-footer-logo-link { display: inline-block; margin-bottom: 18px; }
.bpc-footer-logo {
  height: 200px;
  width: auto;
  display: block;
  /* Blend out the white PNG background so the logo sits cleanly on navy */
  mix-blend-mode: screen;
}

.bpc-footer-brand p {
  font-size: 14px;
  line-height: 1.78;
  max-width: 280px;
  font-weight: 300;
}

.bpc-footer-col h4 {
  color: white;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.bpc-footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bpc-footer-col a {
  color: rgba(255,255,255,.55);
  text-decoration: none;
  font-size: 14px;
  transition: color .2s;
}

.bpc-footer-col a:hover { color: var(--gold-light); }

.bpc-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.bpc-social-links { display: flex; gap: 10px; }

.bpc-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all .2s;
}

.bpc-social-btn:hover {
  background: rgba(201,168,76,.15);
  border-color: rgba(201,168,76,.4);
}

.bpc-social-btn svg {
  width: 16px;
  height: 16px;
  fill: rgba(255,255,255,.7);
  stroke: none;
}

/* =============================================
   INNER PAGES
   ============================================= */
.bpc-inner-header {
  background: var(--navy);
  padding: 80px 6% 10px;
  position: relative;
}

.bpc-inner-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(201,168,76,.07) 0%, transparent 60%);
  pointer-events: none;
}

.bpc-inner-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  position: relative;
  z-index: 1;
}

.bpc-inner-header h1 em { font-style: italic; color: var(--gold-light); }

.bpc-content-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 80px 6%;
}

.bpc-content-wrap h2 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: var(--navy);
  margin: 40px 0 16px;
}

.bpc-content-wrap p {
  font-size: 16px;
  line-height: 1.82;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-weight: 300;
}

.bpc-content-wrap ul, .bpc-content-wrap ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.bpc-content-wrap li {
  font-size: 16px;
  line-height: 1.82;
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 6px;
}

.bpc-content-wrap a {
  color: var(--green);
  text-decoration: underline;
}

/* Single post */
.bpc-single-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 32px;
}

.bpc-single-cat {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(45,90,39,.1);
  padding: 4px 10px;
  border-radius: 6px;
}

.bpc-single-date {
  font-size: 13px;
  color: var(--text-muted);
}

.bpc-single-thumb {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 40px;
  aspect-ratio: 16/9;
}

.bpc-single-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Archive / News listing */
.bpc-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  padding: 80px 6%;
}

/* =============================================
   GALLERY PAGE
   ============================================= */
.bpc-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 60px 6%;
}

.bpc-gallery-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  transition: transform .25s;
}

.bpc-gallery-grid img:hover { transform: scale(1.02); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .bpc-nav { min-height: 70px; }
  .bpc-nav-logo img { max-height: 52px; }

  .bpc-membership-hero-img { min-height: 300px; }

  .bpc-hero { grid-template-columns: 1fr; min-height: auto; }
  .bpc-hero-image { height: 50vh; min-height: 300px; }
  .bpc-hero-image::after {
    background:
      linear-gradient(to bottom, var(--navy) 0%, transparent 30%),
      linear-gradient(to top, var(--navy) 0%, transparent 30%);
  }
  .bpc-hero-content { padding: 90px 5% 40px; }
  .bpc-hero-stats { position: static; padding: 0 5% 48px; gap: 28px; }

  .bpc-about,
  .bpc-join { grid-template-columns: 1fr; gap: 40px; padding: 70px 5%; }

  .bpc-news-grid,
  .bpc-archive-grid,
  .bpc-gallery-grid { grid-template-columns: 1fr; }

  .bpc-footer-top { grid-template-columns: 1fr; gap: 36px; }

  .bpc-nav-links { display: none; }
  .bpc-nav-links.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-top: 1px solid #e8e4da; padding: 16px 5%; box-shadow: 0 8px 24px rgba(0,0,0,.08); }
  .bpc-nav-toggle { display: flex; }
  .bpc-nav { position: relative; flex-wrap: wrap; }

  .bpc-news-grid { grid-template-columns: 1fr; }
  .bpc-news-card { max-width: 100%; }

  .bpc-features { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .bpc-nav-logo img { max-height: 60px; height: auto; max-width: 70%; }
  .bpc-hero h1 { font-size: 36px; }
  .bpc-days-grid { flex-direction: column; align-items: center; }
  .bpc-day-card { max-width: 100%; width: 100%; }
  .bpc-footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}

/* =============================================
   NEXT UP SECTION
   ============================================= */
.bpc-nextup {
  background: var(--green);
  padding: 50px 6%;
}
.bpc-nextup-inner {
  max-width: 860px;
  margin: 0 auto;
}
.bpc-nextup-label {
  margin-bottom: 16px;
}
.bpc-nextup .bpc-section-label {
  color: rgba(255,255,255,.7);
}
.bpc-nextup-card {
  display: flex;
  align-items: center;
  gap: 32px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 16px;
  padding: 28px 36px;
}
.bpc-nextup-date {
  text-align: center;
  background: var(--gold);
  border-radius: 12px;
  padding: 14px 20px;
  min-width: 80px;
  flex-shrink: 0;
}
.bpc-nextup-day-num {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
}
.bpc-nextup-month {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}
.bpc-nextup-details { flex: 1; }
.bpc-nextup-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.bpc-nextup-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.88rem;
  color: rgba(255,255,255,.75);
  margin-bottom: 10px;
}
.bpc-nextup-loc { }
.bpc-nextup-notes {
  font-size: 0.875rem;
  color: rgba(255,255,255,.65);
  line-height: 1.6;
  margin-top: 6px;
}
@media (max-width: 600px) {
  .bpc-nextup-card { flex-direction: column; align-items: flex-start; padding: 20px; }
}

/* =============================================
   MEMBERSHIP APPLICATION PAGE
   ============================================= */
.bpc-join-header {
  background: var(--navy);
  padding: 80px 6% 70px;
  text-align: center;
}
.bpc-join-header h1 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin: 10px 0 16px;
}
.bpc-join-intro {
  color: rgba(255,255,255,.65);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

.bpc-join-wrap {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 6% 80px;
  align-items: start;
}

/* The form card */
.bpc-join-card {
  background: #fff;
  border: 1px solid var(--cream-dark);
  border-radius: 18px;
  padding: 44px 48px;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
}

/* Side info panel */
.bpc-join-info {
  background: var(--navy);
  border-radius: 18px;
  padding: 36px 32px;
  color: var(--white);
}
.bpc-join-info h3 {
  font-size: 1.25rem;
  color: var(--gold-light);
  margin-bottom: 24px;
}
.bpc-join-info ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.bpc-join-info li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255,255,255,.8);
  font-size: 0.95rem;
  line-height: 1.5;
}
.bpc-join-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }
.bpc-join-fee { font-size: 0.78rem; color: rgba(255,255,255,.45); font-weight: 400; }

.bpc-join-contact {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.bpc-join-contact p {
  color: rgba(255,255,255,.5);
  font-size: 0.85rem;
  margin-bottom: 6px;
}
.bpc-join-email-link {
  color: var(--gold-light);
  font-size: 0.9rem;
  text-decoration: none;
  word-break: break-all;
}
.bpc-join-email-link:hover { text-decoration: underline; }

/* Membership hero image (replaces form) */
.bpc-join-card--image {
  padding: 0;
  overflow: hidden;
  border-radius: 18px;
  align-self: stretch;
  display: flex;
}

.bpc-membership-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ── WPForms overrides to match theme ─────────────────────────────── */
.bpc-join-card .wpforms-form .wpforms-field-label {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 6px;
}

/* Force all fields and their sub-inputs to full width */
.bpc-join-card .wpforms-form .wpforms-field,
.bpc-join-card .wpforms-form .wpforms-field-container,
.bpc-join-card .wpforms-form .wpforms-field-name .wpforms-field-row,
.bpc-join-card .wpforms-form .wpforms-field-name input,
.bpc-join-card .wpforms-form .wpforms-field-row-block,
.bpc-join-card .wpforms-form .wpforms-field-select,
.bpc-join-card .wpforms-form .wpforms-field-select .choices,
.bpc-join-card .wpforms-form .wpforms-field-select .choices__inner,
.bpc-join-card .wpforms-form .wpforms-field-select .choices__list--dropdown { width: 100% !important; max-width: 100% !important; }

.bpc-join-card .wpforms-form input[type="text"],
.bpc-join-card .wpforms-form input[type="email"],
.bpc-join-card .wpforms-form input[type="tel"],
.bpc-join-card .wpforms-form input[type="date"],
.bpc-join-card .wpforms-form select,
.bpc-join-card .wpforms-form textarea {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  border: 1.5px solid var(--cream-dark);
  border-radius: 10px;
  padding: 11px 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--cream);
  transition: border-color .2s;
  outline: none;
  appearance: auto;
}

/* WPForms modern dropdown (Choices.js) overrides */
.bpc-join-card .wpforms-form .choices { width: 100% !important; }
.bpc-join-card .wpforms-form .choices__inner {
  width: 100% !important;
  background: var(--cream) !important;
  border: 1.5px solid var(--cream-dark) !important;
  border-radius: 10px !important;
  padding: 9px 14px !important;
  font-size: 0.95rem !important;
  min-height: unset !important;
}
.bpc-join-card .wpforms-form .choices__list--dropdown {
  border: 1.5px solid var(--gold) !important;
  border-radius: 10px !important;
  margin-top: 4px !important;
}
.bpc-join-card .wpforms-form .choices__item { padding: 9px 14px !important; font-size: 0.95rem !important; }
.bpc-join-card .wpforms-form input:focus,
.bpc-join-card .wpforms-form select:focus,
.bpc-join-card .wpforms-form textarea:focus {
  border-color: var(--gold);
  background: #fff;
}
.bpc-join-card .wpforms-form .wpforms-submit {
  background: var(--navy);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 13px 32px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background .2s;
  margin-top: 8px;
}
.bpc-join-card .wpforms-form .wpforms-submit:hover { background: var(--navy-mid); }
.bpc-join-card .wpforms-form .wpforms-field { margin-bottom: 20px; }
.bpc-join-card .wpforms-confirmation-container-full {
  background: rgba(45,90,39,.08);
  border: 1px solid var(--green-light);
  border-radius: 10px;
  padding: 20px 24px;
  color: var(--green);
  font-weight: 500;
}

/* Responsive */
@media (max-width: 900px) {
  .bpc-join-wrap { grid-template-columns: 1fr; }
  .bpc-join-card { padding: 32px 24px; }
}


/* =============================================
   NEWS & EVENTS PAGE
   ============================================= */

/* ── Slim page hero ─────────────────────────────────────────── */
.bpc-page-hero {
  background: var(--navy);
  padding: 90px 6% 70px;
  position: relative;
  overflow: hidden;
}
.bpc-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(201,168,76,.08) 0%, transparent 65%);
  pointer-events: none;
}
.bpc-page-hero-inner { position: relative; z-index: 1; max-width: 680px; }
.bpc-page-hero .bpc-section-label { color: var(--gold-light); }
.bpc-page-hero-title {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin: 10px 0 16px;
}
.bpc-page-hero-title em { color: var(--gold-light); font-style: italic; }
.bpc-page-hero-sub { color: rgba(255,255,255,.65); font-size: 18px; line-height: 1.6; }

/* ── News & Events hero decorative images ────────────────────── */
.bpc-news-hero-player,
.bpc-news-hero-balls { position: absolute; top: 50%; transform: translateY(-50%); z-index: 1; pointer-events: none; }
.bpc-news-hero-player { left: calc(6% + 420px); height: 130px; }
.bpc-news-hero-balls  { right: 3%; height: 400px; }
@media (max-width: 900px) {
  .bpc-news-hero-player { display: none; }
  .bpc-news-hero-balls  { height: 130px; right: 3%; }
}
@media (max-width: 600px) {
  .bpc-news-hero-balls { display: none; }
}

/* ── Shared container ────────────────────────────────────────── */
.bpc-container { max-width: 1200px; margin: 0 auto; padding: 0 6%; }

/* ── Section head (title + "see all" link side by side) ─────── */
.bpc-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

/* ── Facebook posts section ──────────────────────────────────── */
.bpc-fb-posts {
  padding: 80px 0;
  background: var(--cream);
}

.bpc-fb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.bpc-fb-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 12px rgba(13,30,58,.07);
  transition: transform .2s ease, box-shadow .2s ease;
  border: 1px solid rgba(13,30,58,.07);
}
.bpc-fb-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(13,30,58,.13);
}

.bpc-fb-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--cream-dark);
}
.bpc-fb-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.bpc-fb-card:hover .bpc-fb-card-img img { transform: scale(1.04); }

.bpc-fb-card-img--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
}
.bpc-fb-icon { width: 36px; height: 36px; fill: rgba(255,255,255,.3); }

.bpc-fb-card-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.bpc-fb-card-date { font-size: 12px; color: var(--text-muted); }
.bpc-fb-card-text { font-size: 15px; line-height: 1.6; color: var(--text-dark); flex: 1; }
.bpc-fb-card-link { font-size: 13px; font-weight: 600; color: var(--gold-dark); margin-top: 8px; }

/* ── Homepage: Facebook feature card ────────────────────────── */
.bpc-news-fb-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 4px 24px rgba(13,30,58,.09);
  border: 1px solid rgba(13,30,58,.07);
}
.bpc-news-fb-img { overflow: hidden; }
.bpc-news-fb-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bpc-news-fb-body {
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.bpc-btn-ghost--sm {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 22px;
  font-size: 14px;
}

/* ── Smash Balloon feed wrapper ─────────────────────────────── */
.bpc-cff-wrap {
  max-width: 100%;
  overflow: hidden;
}

.bpc-cff-wrap .cff-wrapper,
.bpc-cff-wrap #cff {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}

/* ── Placeholder notice ──────────────────────────────────────── */
.bpc-placeholder-notice {
  background: var(--cream-dark);
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  color: var(--text-muted);
  font-size: 15px;
}
.bpc-placeholder-notice a { color: var(--gold-dark); font-weight: 600; }

/* ── Competitions calendar section ──────────────────────────── */
.bpc-calendar-section {
  padding: 80px 0 100px;
  background: var(--white);
}
.bpc-calendar-intro {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 36px;
  max-width: 560px;
}

/* ── The Events Calendar plugin overrides (BPC colours) ─────── */
.bpc-tribe-wrap .tribe-events-calendar th,
.bpc-tribe-wrap .tribe-events-calendar td { border-color: var(--cream-dark); }

.bpc-tribe-wrap .tribe-events-calendar .tribe-events-present > td { background: var(--cream); }

.bpc-tribe-wrap a { color: var(--navy); }
.bpc-tribe-wrap a:hover { color: var(--gold-dark); }

.bpc-tribe-wrap .tribe-event-url,
.bpc-tribe-wrap .tribe-events-list .tribe-events-list-event-title a,
.bpc-tribe-wrap .tribe-event-title a { color: var(--navy); font-weight: 700; }
.bpc-tribe-wrap .tribe-event-title a:hover { color: var(--gold-dark); }

.bpc-tribe-wrap .tribe-events-nav-previous a,
.bpc-tribe-wrap .tribe-events-nav-next a,
.bpc-tribe-wrap .tribe-events-sub-nav a {
  color: var(--gold-dark);
  font-weight: 600;
}

.bpc-tribe-wrap .tribe-events-list-separator-month span,
.bpc-tribe-wrap .tribe-events-calendar thead th {
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
}

/* ── Calendar placeholder (when plugin not installed) ───────── */
.bpc-cal-placeholder {
  text-align: center;
  background: var(--cream);
  border-radius: 16px;
  padding: 64px 40px;
  border: 2px dashed var(--cream-dark);
}
.bpc-cal-placeholder-icon svg {
  width: 48px;
  height: 48px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 20px;
}
.bpc-cal-placeholder h3 {
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 12px;
}
.bpc-cal-placeholder p { color: var(--text-muted); font-size: 15px; line-height: 1.7; }
.bpc-cal-placeholder a { color: var(--gold-dark); font-weight: 600; }

/* ── Event list rows (tribe_get_events direct render) ────────── */
.bpc-events-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}
.bpc-event-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--cream);
  border: 1px solid var(--cream-dark);
  border-radius: 10px;
  padding: 20px 24px;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
}
.bpc-event-row:hover,
.bpc-event-row.is-open {
  border-color: var(--gold-dark);
  box-shadow: 0 4px 16px rgba(0,0,0,.07);
}
.bpc-event-badge {
  flex-shrink: 0;
  width: 52px;
  background: var(--navy);
  color: var(--white);
  border-radius: 8px;
  text-align: center;
  padding: 8px 4px;
  line-height: 1.2;
}
.bpc-event-badge-day {
  font-size: 22px;
  font-weight: 700;
}
.bpc-event-badge-mon {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--gold-light);
}
.bpc-event-info {
  flex: 1;
}
.bpc-event-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.bpc-event-meta {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.bpc-event-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .3s ease, opacity .25s ease, margin .25s ease;
}
.bpc-event-row:hover .bpc-event-desc,
.bpc-event-row.is-open .bpc-event-desc {
  max-height: 200px;
  opacity: 1;
  margin-top: 8px;
}
.bpc-event-link {
  flex-shrink: 0;
  align-self: center;
  color: var(--gold-dark);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
}
.bpc-event-link:hover { text-decoration: underline; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .bpc-news-fb-feature { grid-template-columns: 1fr; }
  .bpc-news-fb-body { padding: 32px 28px; }
  .bpc-fb-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .bpc-fb-grid { grid-template-columns: 1fr; }
  .bpc-page-hero { padding: 60px 5% 48px; }
  .bpc-cal-placeholder { padding: 40px 24px; }
}
