/*
Theme Name: Boerne Bass Club
Template: generatepress
Version: 1.0.0
Description: Boerne Bass Club child theme
Author: Oakridge Media
*/

/* =========================================
   GLOBAL TOKENS
   ========================================= */
:root {
  --bbc-purple:       #4B2E83;
  --bbc-deep-purple:  #2A1A4A;
  --bbc-white:        #FFFFFF;
  --bbc-gray:         #6E7479;
  --bbc-light-gray:   #F4F4F5;
  --bbc-accent:       #7B4FBF;
}

/* =========================================
   TYPOGRAPHY
   ========================================= */
body {
  font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
  color: #1A1A1A;
  font-size: 17px;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', Georgia, serif;
  color: var(--bbc-deep-purple);
  font-weight: 700;
  line-height: 1.25;
}

/* =========================================
   HEADER
   ========================================= */
.site-header {
  background-color: var(--bbc-deep-purple);
  border-bottom: 4px solid var(--bbc-purple);
}
.site-header a,
.site-header .site-title a {
  color: var(--bbc-white);
}
.site-branding .site-title {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.site-branding .site-description {
  color: rgba(255,255,255,0.75);
  font-size: 0.8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* =========================================
   NAV
   ========================================= */
.main-navigation a {
  color: rgba(255,255,255,0.92);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.main-navigation a:hover,
.main-navigation .current-menu-item > a {
  color: var(--bbc-white);
  text-decoration: underline;
  text-decoration-color: var(--bbc-purple);
}

/* =========================================
   BUTTONS
   ========================================= */
.wp-block-button__link,
.button,
button[type="submit"] {
  background-color: var(--bbc-purple);
  color: var(--bbc-white) !important;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  padding: 0.75rem 1.75rem;
  border: none;
  transition: background-color 0.2s ease;
}
.wp-block-button__link:hover,
.button:hover,
button[type="submit"]:hover {
  background-color: var(--bbc-deep-purple);
  color: var(--bbc-white) !important;
}
.wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent;
  border: 2px solid var(--bbc-purple);
  color: var(--bbc-purple) !important;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: var(--bbc-purple);
  color: var(--bbc-white) !important;
}

/* =========================================
   HERO SECTION
   ========================================= */
.bbc-hero {
  background: linear-gradient(135deg, var(--bbc-deep-purple) 0%, var(--bbc-purple) 100%);
  color: var(--bbc-white);
  padding: 5rem 1.5rem;
  text-align: center;
}
.bbc-hero h1 {
  color: var(--bbc-white);
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 0.5rem;
}
.bbc-hero .bbc-tagline {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: rgba(255,255,255,0.85);
  font-style: italic;
  letter-spacing: .08em;
  margin-bottom: 1rem;
}
.bbc-hero .bbc-subhead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}
.bbc-hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* =========================================
   SCRIPTURE BLOCK
   ========================================= */
.bbc-scripture {
  background: var(--bbc-light-gray);
  border-left: 5px solid var(--bbc-purple);
  padding: 1.5rem 2rem;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--bbc-deep-purple);
  margin: 2rem 0;
  border-radius: 0 6px 6px 0;
}

/* =========================================
   CARDS
   ========================================= */
.bbc-card {
  background: var(--bbc-white);
  border: 1px solid #E5E5E7;
  border-radius: 8px;
  padding: 1.75rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.bbc-card h3 {
  color: var(--bbc-purple);
  margin-top: 0;
}

/* =========================================
   SECTION SPACING
   ========================================= */
.bbc-section {
  padding: 4rem 1.5rem;
}
.bbc-section-alt {
  background: var(--bbc-light-gray);
}
.bbc-section-dark {
  background: var(--bbc-deep-purple);
  color: var(--bbc-white);
}
.bbc-section-dark h2 {
  color: var(--bbc-white);
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  background: var(--bbc-deep-purple);
  color: rgba(255,255,255,0.8);
  padding: 3rem 1.5rem;
}
.site-footer a {
  color: rgba(255,255,255,0.8);
}
.site-footer a:hover {
  color: var(--bbc-white);
}
.bbc-footer-tagline {
  font-style: italic;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

/* =========================================
   TOURNAMENT TABLE
   ========================================= */
.bbc-tournament-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.bbc-tournament-item {
  border-bottom: 1px solid #E5E5E7;
  padding: 1.25rem 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
}
.bbc-tournament-date {
  font-weight: 700;
  color: var(--bbc-purple);
  min-width: 100px;
}
.bbc-tournament-status {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}
.bbc-status-upcoming {
  background: #E8F5E9;
  color: #2E7D32;
}
.bbc-status-results {
  background: #EDE7F6;
  color: var(--bbc-deep-purple);
}

/* =========================================
   PLACEHOLDER BLOCKS
   ========================================= */
.bbc-placeholder {
  background: #FFF8E1;
  border: 2px dashed #F9A825;
  border-radius: 6px;
  padding: 2rem;
  text-align: center;
  color: #5D4037;
}
.bbc-placeholder h3 {
  color: #5D4037;
  margin-top: 0;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 768px) {
  .bbc-tournament-item {
    grid-template-columns: 1fr;
  }
  .bbc-hero {
    padding: 3rem 1rem;
  }
}

/* =========================================
   SPONSORS
   ========================================= */
.bbc-sponsor-tier {
  margin-bottom: 3rem;
}
.bbc-sponsor-tier-label {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--bbc-gray);
  border-bottom: 2px solid var(--bbc-light-gray);
  padding-bottom: .5rem;
  margin-bottom: 1.5rem;
}
.bbc-sponsor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
  align-items: start;
}
.bbc-sponsor-card {
  background: var(--bbc-white);
  border: 1px solid #E5E5E7;
  border-radius: 8px;
  padding: 1.25rem;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: box-shadow .2s;
}
.bbc-sponsor-card:hover {
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}
.bbc-sponsor-card a,
.bbc-sponsor-card a:hover {
  text-decoration: none;
  display: block;
}
.bbc-sponsor-logo {
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: 100px;
  object-fit: contain;
}
/* Rank-based logo sizing on sponsors page: lower rank = larger logos */
.bbc-tier-rank-1 .bbc-sponsor-logo { max-height: 180px; }
.bbc-tier-rank-2 .bbc-sponsor-logo { max-height: 150px; }
.bbc-tier-rank-3 .bbc-sponsor-logo { max-height: 120px; }
.bbc-tier-rank-4 .bbc-sponsor-logo { max-height: 100px; }
.bbc-tier-rank-5 .bbc-sponsor-logo { max-height:  80px; }
.bbc-sponsor-name-fallback {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--bbc-deep-purple);
  padding: 1rem 0;
}
.bbc-sponsor-blurb {
  font-size: 0.82rem;
  color: var(--bbc-gray);
  margin-top: .75rem;
  line-height: 1.5;
}
.bbc-sponsor-cta {
  background: var(--bbc-light-gray);
  border-radius: 8px;
  padding: 2.5rem;
  text-align: center;
  margin-top: 3rem;
}
.bbc-sponsor-cta h2 {
  margin-bottom: .75rem;
}

/* =========================================
   LOGO SIZE CONSTRAINT
   ========================================= */
.site-logo img,
.custom-logo,
.custom-logo-link img,
.site-branding img {
  max-height: 60px !important;
  width: auto !important;
  max-width: 180px !important;
  height: auto !important;
}

/* =========================================
   HEADER OVERHAUL
   ========================================= */
.site-header {
  background-color: var(--bbc-deep-purple) !important;
  border-bottom: 3px solid var(--bbc-purple);
}
.site-header .inside-header {
  background: transparent !important;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0.6rem 1.5rem;
}
/* Branding block: logo + name stacked */
.site-branding {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: transparent !important;
}
.custom-logo-link {
  display: block;
  line-height: 0;
}
.custom-logo,
.site-logo img,
.custom-logo-link img,
.site-branding img {
  max-height: 56px !important;
  width: auto !important;
  max-width: 160px !important;
  height: auto !important;
  display: block;
}
.bbc-header-name {
  display: block;
  color: rgba(255,255,255,0.9);
  font-family: "Merriweather", Georgia, serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-top: 0.3rem;
  line-height: 1;
}

/* =========================================
   NAV — no white box, white text
   ========================================= */
.main-navigation,
.main-navigation > div,
.main-navigation ul,
.main-navigation ul li,
.main-navigation .menu-toggle {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
/* Mobile hamburger — white bars on dark header */
.menu-toggle,
.nav-bar__toggle,
.mobile-menu-control-wrap .menu-toggle {
  color: #ffffff !important;
  background: transparent !important;
}
/* GP draws the bars via currentColor — color:white is enough */
.menu-toggle::before,
.menu-toggle::after,
.menu-toggle .menu-bar {
  background-color: #ffffff !important;
}
.main-navigation a,
.main-navigation ul li a,
.main-navigation ul li > a {
  color: rgba(255,255,255,0.88) !important;
  background: transparent !important;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.4rem 0.65rem;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a,
.main-navigation ul li.current-page-ancestor > a {
  color: #FFFFFF !important;
  background: rgba(255,255,255,0.1) !important;
  border-radius: 4px;
}
/* Dropdown sub-menus */
.main-navigation ul ul {
  background: var(--bbc-deep-purple) !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  border-radius: 4px;
}
.main-navigation ul ul a {
  color: rgba(255,255,255,0.85) !important;
}

/* =========================================
   HERO BUTTONS — outline readable on dark
   ========================================= */
.bbc-hero .wp-block-button.is-style-outline .wp-block-button__link,
.bbc-section-dark .wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent !important;
  border: 2px solid rgba(255,255,255,0.75) !important;
  color: #FFFFFF !important;
}
.bbc-hero .wp-block-button.is-style-outline .wp-block-button__link:hover,
.bbc-section-dark .wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: rgba(255,255,255,0.15) !important;
  border-color: #FFFFFF !important;
  color: #FFFFFF !important;
}

/* =========================================
   WHAT WE DO CARDS — fix narrow columns
   ========================================= */
.wp-block-columns {
  gap: 1.5rem !important;
  flex-wrap: wrap !important;
}
.wp-block-column {
  flex-basis: calc(33.333% - 1rem) !important;
  min-width: 280px !important;
}
@media (max-width: 860px) {
  .wp-block-column {
    flex-basis: 100% !important;
    min-width: 0 !important;
  }
}

/* =========================================
   FOOTER SOCIAL ICONS
   ========================================= */
.bbc-footer-social {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 1rem 0 0.5rem;
}
.bbc-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.8) !important;
  border: 1px solid rgba(255,255,255,0.2);
  text-decoration: none !important;
  border-bottom: none !important;
  transition: background 0.2s, color 0.2s;
}
.bbc-footer-social a:hover {
  background: var(--bbc-purple);
  color: #FFFFFF !important;
  border-color: var(--bbc-purple);
}
.bbc-footer-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.bbc-footer-tagline {
  text-align: center;
  font-style: italic;
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
  margin-top: 0.5rem;
}

/* =========================================
   FOOTER — target GP real classes
   ========================================= */
.site-info,
footer.site-info {
  background-color: #2A1A4A !important;
  color: rgba(255,255,255,0.8) !important;
  padding: 2.5rem 1.5rem !important;
  text-align: center;
}
.inside-site-info {
  max-width: 900px;
  margin: 0 auto;
}
.site-info a {
  color: rgba(255,255,255,0.75) !important;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}
.site-info a:hover {
  color: #FFFFFF !important;
  border-bottom-color: rgba(255,255,255,0.5);
}
/* Footer full-width dark background — no white border */
.site-footer,
.footer-wrap,
.footer-widget-area {
  background-color: #2A1A4A !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  border: none !important;
}

/* Contact page social icon buttons */
.bbc-contact-social {
  display: flex;
  gap: 1rem;
  margin: 0.75rem 0 1rem;
}
.bbc-contact-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bbc-deep-purple);
  color: #FFFFFF;
  text-decoration: none !important;
  border: none !important;
  transition: background 0.2s, transform 0.15s;
}
.bbc-contact-social a:hover {
  background: var(--bbc-purple);
  transform: translateY(-2px);
}
.bbc-contact-social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Home page sponsor strip */
.bbc-sponsors-home {
  margin-top: 1.5rem;
}
.bbc-sponsors-home-tier {
  margin-bottom: 2rem;
}
.bbc-sponsors-home-tier-label {
  display: block;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bbc-gray);
  margin-bottom: 0.75rem;
}
.bbc-sponsors-home-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}
.bbc-sponsors-home-card {
  display: flex;
  align-items: center;
  justify-content: center;
}
.bbc-sponsors-home-card a,
.bbc-sponsors-home-card span {
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: none !important;
  text-decoration: none !important;
}
.bbc-sponsors-home-logo {
  max-height: 80px;
  max-width: 320px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(30%);
  transition: filter 0.2s, opacity 0.2s;
  opacity: 0.85;
}
/* Rank-based logo sizing: lower rank = larger logos */
.bbc-tier-rank-1 .bbc-sponsors-home-logo { max-height: 160px; max-width: 480px; }
.bbc-tier-rank-2 .bbc-sponsors-home-logo { max-height: 130px; max-width: 400px; }
.bbc-tier-rank-3 .bbc-sponsors-home-logo { max-height: 100px; max-width: 340px; }
.bbc-tier-rank-4 .bbc-sponsors-home-logo { max-height:  80px; max-width: 280px; }
.bbc-tier-rank-5 .bbc-sponsors-home-logo { max-height:  65px; max-width: 220px; }
.bbc-sponsors-home-card a:hover .bbc-sponsors-home-logo {
  filter: grayscale(0%);
  opacity: 1;
}
.bbc-sponsors-home-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--bbc-deep-purple);
  padding: 0.5rem 1rem;
  border: 1px solid var(--bbc-light-gray);
  border-radius: 4px;
}
.bbc-sponsors-home-cta {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.9rem;
}
.bbc-sponsors-home-cta a {
  color: var(--bbc-purple);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}
.bbc-sponsors-home-cta a:hover {
  border-bottom-color: var(--bbc-purple);
}

/* =========================================
   SCHEDULE / TOURNAMENTS
   ========================================= */
.bbc-schedule-heading {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}
.bbc-schedule-divider {
  margin: 2.5rem 0;
  border: none;
  border-top: 1px solid #E5E5E7;
}
.bbc-schedule-empty {
  color: var(--bbc-gray);
  font-style: italic;
}
.bbc-schedule-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.bbc-tournament-row {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border: 1px solid #E5E5E7;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.bbc-tournament-row--past {
  opacity: 0.82;
}
.bbc-tournament-thumb-wrap {
  flex-shrink: 0;
}
.bbc-tournament-thumb {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 6px;
  display: block;
  background: #f5f5f5;
}
.bbc-tournament-info {
  flex: 1;
  min-width: 0;
}
.bbc-tournament-date {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bbc-purple);
  margin-bottom: 0.25rem;
}
.bbc-tournament-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--bbc-deep-purple);
  line-height: 1.3;
  margin-bottom: 0.25rem;
}
.bbc-tournament-meta {
  font-size: 0.88rem;
  color: var(--bbc-gray);
  margin-bottom: 0.4rem;
}
.bbc-tournament-results-link {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--bbc-purple);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s;
}
.bbc-tournament-results-link:hover {
  border-bottom-color: var(--bbc-purple);
}
.bbc-tournament-results-pending {
  font-size: 0.85rem;
  color: var(--bbc-gray);
  font-style: italic;
}
@media (max-width: 480px) {
  .bbc-tournament-row { flex-direction: column; }
  .bbc-tournament-thumb { width: 100%; height: auto; max-height: 160px; }
}

.bbc-sponsor-tier-min {
  text-align: center;
  color: var(--bbc-gray);
  font-size: 0.85rem;
  margin: -0.5rem 0 1rem;
}

.bbc-tournament-register-link {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  background: var(--bbc-purple);
  padding: 0.35rem 0.85rem;
  border-radius: 4px;
  text-decoration: none !important;
  border: none !important;
  transition: background 0.15s;
  margin-top: 0.4rem;
}
.bbc-tournament-register-link:hover {
  background: var(--bbc-deep-purple);
  color: #fff;
}
.bbc-tournament-notes {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: var(--bbc-gray);
}
.bbc-tournament-notes summary {
  cursor: pointer;
  list-style: none;
  line-height: 1.5;
}
.bbc-tournament-notes summary::-webkit-details-marker { display: none; }
.bbc-notes-more {
  color: var(--bbc-purple);
  font-weight: 600;
  white-space: nowrap;
}
.bbc-tournament-notes[open] .bbc-notes-more { display: none; }
.bbc-tournament-notes-full {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid #E5E5E7;
  white-space: pre-line;
  line-height: 1.6;
}
/* =========================================
   HOME PAGE FULL-WIDTH LAYOUT
   ========================================= */

/* 1. Allow parent containers to overflow so full-bleed works */
body.page-template-page-home {
  overflow-x: hidden;
}
/* Layout containers — flex children of .site-content; need explicit 100% */
body.page-template-page-home .site-content,
body.page-template-page-home #primary,
body.page-template-page-home .content-area,
body.page-template-page-home .site-main {
  overflow: visible !important;
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
  float: none !important;
  flex: none !important;
}
/* Block-level wrappers inside — auto is fine, matches 100% for block elements */
body.page-template-page-home article,
body.page-template-page-home .entry-content,
body.page-template-page-home .bbc-home,
body.page-template-page-home .bbc-home-content {
  overflow: visible !important;
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
  float: none !important;
}

/* 2a. Neutralise GeneratePress's inline rule that constrains every
       .wp-block-group__inner-container to max-width:1200px.
       Without this fix the section backgrounds go full-width but all
       content is squeezed into a 1200px centred box.               */
.bbc-section-hero    .wp-block-group__inner-container,
.bbc-section-utility .wp-block-group__inner-container,
.bbc-section-white   .wp-block-group__inner-container,
.bbc-section-gray    .wp-block-group__inner-container,
.bbc-section-deep    .wp-block-group__inner-container {
  max-width: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* 2b. Inner constrained width */
.bbc-inner {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
}

/* 3. Full-bleed sections — belt + suspenders:
      WordPress alignfull handles it IF parents allow overflow.
      The margin trick below is the guaranteed fallback.        */
.bbc-section-hero,
.bbc-section-utility,
.bbc-section-white,
.bbc-section-gray,
.bbc-section-deep {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
  position: relative;
  overflow: visible;
}

/* 4. Section backgrounds — light lavender palette replaces flat white/gray */
.bbc-section-white   { background: #F9F7FE; } /* soft lavender */
.bbc-section-gray    { background: #EDE6F8; } /* light purple  */
.bbc-section-deep    { background: #2A1A4A; }
.bbc-section-utility { background: #4B2E83; }

/* Sponsors keeps pure white so logos pop cleanly */
.bbc-section-sponsors { background: #ffffff !important; }

/* 5. Section vertical padding — extra bottom for wave pseudo-elements */
.bbc-section-hero     { padding-top: 96px;  padding-bottom: 160px; }
.bbc-section-utility  { padding-top: 36px;  padding-bottom: 96px;  }
.bbc-section-scripture,
.bbc-section-what-we-do,
.bbc-section-who-we-are,
.bbc-section-instagram,
.bbc-section-sponsors { padding-top: 96px;  padding-bottom: 140px; }
.bbc-section-pullquote { padding-top: 136px; padding-bottom: 140px; }
.bbc-section-cta       { padding-top: 96px;  padding-bottom: 96px;  }

@media (max-width: 768px) {
  .bbc-section-hero     { padding-top: 56px;  padding-bottom: 120px; }
  .bbc-section-utility  { padding-top: 24px;  padding-bottom: 70px;  }
  .bbc-section-scripture,
  .bbc-section-what-we-do,
  .bbc-section-who-we-are,
  .bbc-section-instagram,
  .bbc-section-sponsors { padding-top: 56px;  padding-bottom: 100px; }
  .bbc-section-pullquote { padding-top: 96px;  padding-bottom: 100px; }
  .bbc-section-cta       { padding-top: 56px;  padding-bottom: 56px;  }
}

/* ── WAVE TRANSITIONS ──────────────────────────────────────
   Each section's ::after is an arch in the NEXT section's
   background color — creates the flowing aquatic feel.
   The arch sits in the bottom padding space so it never
   overlaps content (bbc-inner z-index: 2 stays above z: 1).
   ────────────────────────────────────────────────────────── */

/* Shared arch shape */
.bbc-section-hero::after,
.bbc-section-utility::after,
.bbc-section-scripture::after,
.bbc-section-what-we-do::after,
.bbc-section-who-we-are::after,
.bbc-section-pullquote::after,
.bbc-section-instagram::after,
.bbc-section-sponsors::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -2%;
  width: 104%;
  z-index: 1;
  pointer-events: none;
}

/* Hero → Utility: grand deep arch */
.bbc-section-hero::after {
  height: 115px;
  background: #4B2E83;
  border-radius: 50% 50% 0 0 / 95px 95px 0 0;
}

/* Utility → Scripture: diagonal slice */
.bbc-section-utility::after {
  height: 80px;
  background: #F9F7FE;
  border-radius: 0;
  clip-path: polygon(0 75%, 100% 0, 100% 100%, 0 100%);
}

/* Scripture → What We Do: right-leaning asymmetric arch */
.bbc-section-scripture::after {
  height: 80px;
  background: #EDE6F8;
  border-radius: 35% 65% 0 0 / 40px 75px 0 0;
}

/* What We Do → Who We Are: shallow gentle arch */
.bbc-section-what-we-do::after {
  height: 52px;
  background: #F9F7FE;
  border-radius: 50% 50% 0 0 / 38px 38px 0 0;
}

/* Who We Are → Pull Quote: very tall dramatic arch */
.bbc-section-who-we-are::after {
  height: 130px;
  background: #2A1A4A;
  border-radius: 50% 50% 0 0 / 110px 110px 0 0;
}

/* Pull Quote → Instagram: left-leaning asymmetric arch */
.bbc-section-pullquote::after {
  height: 85px;
  background: #EDE6F8;
  border-radius: 68% 32% 0 0 / 80px 52px 0 0;
}

/* Instagram → Sponsors: subtle shallow arch */
.bbc-section-instagram::after {
  height: 48px;
  background: #ffffff;
  border-radius: 50% 50% 0 0 / 34px 34px 0 0;
}

/* Sponsors → CTA: wide sweeping arch into footer */
.bbc-section-sponsors::after {
  left: -6%;
  width: 112%;
  height: 100px;
  background: #2A1A4A;
  border-radius: 50% 50% 0 0 / 80px 80px 0 0;
}

/* ── HERO ── */
.bbc-section-hero {
  background: linear-gradient(160deg, #2A1A4A 0%, #3d2266 55%, #4B2E83 100%);
  min-height: 65vh;
  display: flex;
  flex-direction: column;  /* stack children vertically */
  align-items: stretch;    /* children fill full horizontal width */
  justify-content: center; /* vertically centred */
  text-align: center;
}
/* Ensure every layer inside the hero fills full width then centres content */
.bbc-section-hero > .wp-block-group__inner-container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  flex: 1;
}
.bbc-section-hero .bbc-inner {
  width: 100%;
  text-align: center;
}

/* [PHOTO HOOK] Uncomment when hero image is ready:
.bbc-section-hero {
  background-image: url('/path/to/hero.jpg');
  background-size: cover;
  background-position: center;
}
.bbc-section-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(42,26,74,0.60);
  z-index: 0;
}
.bbc-section-hero .bbc-inner { position: relative; z-index: 3; }
*/

.bbc-hero-kicker {
  color: rgba(255,255,255,0.75) !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  margin-bottom: 1rem !important;
}
.bbc-hero-title {
  color: #ffffff !important;
  font-size: clamp(2.75rem, 6vw, 4.5rem) !important;
  font-weight: 900 !important;
  line-height: 1.05 !important;
  margin-top: 0 !important;
  margin-bottom: 1.25rem !important;
}
.bbc-hero-subhead {
  color: rgba(255,255,255,0.88) !important;
  font-size: 1.15rem !important;
  line-height: 1.65 !important;
  max-width: 620px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: 2.5rem !important;
}

/* Hero buttons — body prefix beats WP outline selector specificity */
body .bbc-btn-hero-primary .wp-block-button__link {
  background-color: #ffffff !important;
  color: #2A1A4A !important;
  border: 2px solid #ffffff !important;
  border-radius: 4px !important;
  padding: 14px 32px !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  transition: background-color 0.2s, color 0.2s;
}
body .bbc-btn-hero-primary .wp-block-button__link:hover {
  background-color: rgba(255,255,255,0.88) !important;
}
body .bbc-btn-hero-outline.is-style-outline .wp-block-button__link {
  background-color: rgba(255,255,255,0.10) !important;
  color: #ffffff !important;
  border: 2px solid #ffffff !important;
  border-radius: 4px !important;
  padding: 14px 32px !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  transition: background-color 0.2s;
}
body .bbc-btn-hero-outline.is-style-outline .wp-block-button__link:hover {
  background-color: rgba(255,255,255,0.20) !important;
}

/* ── UTILITY ROW ── */
.bbc-utility-cols { align-items: center; gap: 0 !important; }
.bbc-utility-col  { text-align: center; }
.bbc-utility-link {
  display: block;
  color: #ffffff !important;
  text-decoration: none !important;
  border-bottom: none !important;
  padding: 0.5rem 1rem;
  transition: opacity 0.2s;
}
.bbc-utility-link:hover { opacity: 0.8; border-bottom: none !important; }
.bbc-utility-icon {
  width: 34px; height: 34px;
  display: block;
  margin: 0 auto 0.6rem;
  color: rgba(255,255,255,0.85);
}
.bbc-utility-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
}

/* ── SCRIPTURE / INTRO ── */
.bbc-scripture-quote {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem) !important;
  font-style: italic !important;
  line-height: 1.5 !important;
  color: #2A1A4A !important;
  max-width: 800px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: 0.5rem !important;
  font-weight: 400 !important;
}
.bbc-scripture-attrib {
  color: var(--bbc-gray) !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  margin-bottom: 2.5rem !important;
}
.bbc-scripture-rule {
  max-width: 80px !important;
  border-color: #c4b5e0 !important;
  margin-bottom: 2.5rem !important;
}
.bbc-intro-text {
  font-size: 1.1rem !important;
  line-height: 1.75 !important;
  max-width: 720px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  color: #3d3d3d !important;
}

/* ── SECTION HEADINGS ── */
.bbc-section-heading {
  font-size: clamp(1.75rem, 4vw, 2.5rem) !important;
  font-weight: 800 !important;
  color: #2A1A4A !important;
  margin-bottom: 2.5rem !important;
  margin-top: 0 !important;
}
.bbc-section-gray .bbc-section-heading,
.bbc-section-what-we-do .bbc-section-heading,
.bbc-section-instagram .bbc-section-heading {
  color: #2A1A4A !important;
}

/* ── WHAT WE DO CARDS ── */
.bbc-what-we-do-grid {
  align-items: stretch !important;
  gap: 28px !important;
}
.bbc-what-we-do-grid .wp-block-column {
  display: flex;
  flex-direction: column;
}
.bbc-card {
  background: #ffffff !important;
  border-radius: 10px !important;
  padding: 2rem !important;
  box-shadow: 0 4px 18px rgba(75,46,131,0.10) !important;
  flex: 1;
  box-sizing: border-box !important;
}
.bbc-card h3 {
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  color: #2A1A4A !important;
  margin-top: 0 !important;
  margin-bottom: 0.75rem !important;
  overflow-wrap: normal !important;
  word-break: keep-all !important;
  hyphens: none !important;
}
.bbc-card p {
  font-size: 0.95rem !important;
  color: #4a4a4a !important;
  line-height: 1.65 !important;
  margin: 0 !important;
}

/* Legacy word-break fix */
.what-we-do .gb-headline,
.what-we-do h3 { overflow-wrap: normal; word-break: keep-all; hyphens: none; }

/* ── WHO WE ARE ── */
.bbc-who-photo-placeholder {
  background: linear-gradient(135deg, #4B2E83 0%, #2A1A4A 100%);
  border-radius: 10px;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.bbc-who-photo-placeholder p {
  color: rgba(255,255,255,0.45) !important;
  font-style: italic !important;
  text-align: center !important;
  font-size: 0.9rem !important;
  margin: 0 !important;
}
.bbc-who-text h2 {
  color: #2A1A4A !important;
  font-size: clamp(1.5rem, 3vw, 2rem) !important;
  margin-top: 0 !important;
  margin-bottom: 1rem !important;
}
.bbc-who-text p {
  font-size: 1rem !important;
  line-height: 1.75 !important;
  color: #3d3d3d !important;
  margin-bottom: 1.25rem !important;
}
body .bbc-btn-purple .wp-block-button__link {
  background-color: #4B2E83 !important;
  color: #ffffff !important;
  border-radius: 4px !important;
  padding: 12px 28px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: background-color 0.2s;
}
body .bbc-btn-purple .wp-block-button__link:hover {
  background-color: #3a2267 !important;
}

/* ── PULL QUOTE ── */
.bbc-pull-quote {
  font-size: clamp(1.75rem, 4vw, 3rem) !important;
  font-style: italic !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  color: #ffffff !important;
  max-width: 800px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* ── INSTAGRAM PLACEHOLDER ── */
.bbc-instagram-placeholder {
  background: #ddd6f0;
  border-radius: 10px;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}
.bbc-instagram-placeholder p {
  color: #7a6e99 !important;
  font-style: italic !important;
  margin: 0 !important;
}

/* ── SPONSORS ── */
.bbc-sponsors-tagline {
  color: #6b6b8a !important;
  font-size: 1rem !important;
  margin-top: -1.5rem !important;
  margin-bottom: 2rem !important;
}

/* ── CLOSING CTA ── */
.bbc-cta-heading {
  color: #ffffff !important;
  font-size: clamp(1.75rem, 4vw, 2.75rem) !important;
  font-weight: 800 !important;
  margin-top: 0 !important;
  margin-bottom: 2rem !important;
}
body .bbc-btn-cta-primary .wp-block-button__link {
  background-color: #ffffff !important;
  color: #2A1A4A !important;
  border: 2px solid #ffffff !important;
  border-radius: 4px !important;
  padding: 14px 32px !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  transition: background-color 0.2s, color 0.2s;
}
body .bbc-btn-cta-primary .wp-block-button__link:hover {
  background-color: rgba(255,255,255,0.88) !important;
}
body .bbc-btn-cta-outline.is-style-outline .wp-block-button__link {
  background-color: rgba(255,255,255,0.10) !important;
  color: #ffffff !important;
  border: 2px solid #ffffff !important;
  border-radius: 4px !important;
  padding: 14px 32px !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  transition: background-color 0.2s;
}
body .bbc-btn-cta-outline.is-style-outline .wp-block-button__link:hover {
  background-color: rgba(255,255,255,0.20) !important;
}

/* ── SPONSOR LOGOS — home page strip ──
   Remove max-width constraints; let height drive sizing.
   width/height auto with !important overrides WP inline attrs. */
.bbc-sponsors-home-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  padding: 1rem 0;
}
.bbc-sponsors-home-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  flex-shrink: 0;
}
.bbc-sponsors-home-logo {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-height: 80px !important;
  max-width: 440px !important;
  object-fit: contain !important;
  filter: grayscale(20%);
  opacity: 0.88;
  transition: opacity 0.2s, filter 0.2s;
}
.bbc-sponsors-home-card a:hover .bbc-sponsors-home-logo {
  opacity: 1;
  filter: none;
}

/* Rank-based home logo sizing: closer to rank 1 = larger */
.bbc-tier-rank-1 .bbc-sponsors-home-logo { max-height: 160px !important; max-width: 600px !important; }
.bbc-tier-rank-2 .bbc-sponsors-home-logo { max-height: 130px !important; max-width: 520px !important; }
.bbc-tier-rank-3 .bbc-sponsors-home-logo { max-height: 100px !important; max-width: 440px !important; }
.bbc-tier-rank-4 .bbc-sponsors-home-logo { max-height:  80px !important; max-width: 360px !important; }
.bbc-tier-rank-5 .bbc-sponsors-home-logo { max-height:  65px !important; max-width: 280px !important; }

/* ── SPONSOR LOGOS — full sponsors page ── */
.bbc-sponsor-grid {
  display: grid !important;
  gap: 1.5rem !important;
}

/* Rank-based grid column widths: higher rank = wider cards */
.bbc-tier-rank-1 .bbc-sponsor-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important; }
.bbc-tier-rank-2 .bbc-sponsor-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important; }
.bbc-tier-rank-3 .bbc-sponsor-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important; }
.bbc-tier-rank-4 .bbc-sponsor-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important; }
.bbc-tier-rank-5 .bbc-sponsor-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important; }

.bbc-sponsor-logo {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100px !important;
  object-fit: contain !important;
  margin: 0 auto !important;
}
/* Rank-based sponsor page logo sizing */
.bbc-tier-rank-1 .bbc-sponsor-logo { max-height: 180px !important; }
.bbc-tier-rank-2 .bbc-sponsor-logo { max-height: 150px !important; }
.bbc-tier-rank-3 .bbc-sponsor-logo { max-height: 120px !important; }
.bbc-tier-rank-4 .bbc-sponsor-logo { max-height: 100px !important; }
.bbc-tier-rank-5 .bbc-sponsor-logo { max-height:  80px !important; }

/* ── MOBILE COLUMN STACKING ── */
@media (max-width: 767px) {
  .bbc-what-we-do-grid .wp-block-column { flex-basis: 100% !important; }
  .bbc-what-we-do-grid { flex-direction: column !important; }
}


/* ── Boat Captain photo strip (How It Works) ────────────────────────── */
.bbc-captain-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-start;
  align-items: flex-start;
  margin: 1.25rem 0;
}
.bbc-captain-photo-link {
  display: block;
  flex-shrink: 0;
  border-bottom: none !important;
  text-decoration: none !important;
}
.bbc-captain-photo-link:hover .bbc-captain-photo {
  opacity: 0.85;
  transform: translateY(-2px);
}
.bbc-captain-photo {
  width:  120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* ── Boat Captain roster grid (/boat-captains) ──────────────────────── */
.bbc-roster {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
}
.bbc-roster-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
}
.bbc-roster-photo-wrap {
  width:  180px;
  height: 180px;
  flex-shrink: 0;
}
.bbc-roster-photo {
  width:  180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  box-shadow: 0 3px 12px rgba(0,0,0,0.15);
}
.bbc-roster-photo-placeholder {
  border-radius: 50%;
  background: var(--bbc-light-gray, #e8e0f5);
}
.bbc-roster-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--bbc-deep-purple);
  margin: 0;
}
.bbc-roster-boat {
  font-size: 0.85rem;
  color: var(--bbc-gray, #666);
  margin: 0;
}
.bbc-roster-empty {
  color: var(--bbc-gray, #666);
  font-style: italic;
}

/* ── Become a Captain CTA block ─────────────────────────────────────── */
.bbc-captain-cta-block {
  background: var(--bbc-section-gray, #EDE6F8);
  border-radius: 8px;
  padding: 2rem 2.5rem !important;
  text-align: center;
}
.bbc-captain-cta-block h2 {
  color: var(--bbc-deep-purple);
  margin-top: 0;
}
.bbc-captain-cta-block .wp-block-buttons {
  justify-content: center;
}


/* ============================================================
   TEAM MEMBER ROSTER
   ============================================================ */

.bbc-team-section-heading {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.75rem;
}

.bbc-team-alumni-heading {
    margin-top: 3.5rem;
    color: #555;
    font-size: 1.4rem;
}

.bbc-team-empty {
    text-align: center;
    color: #888;
    font-style: italic;
    margin: 2rem 0;
}

/* Grid */
.bbc-team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Card */
.bbc-team-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 180px;
}

/* Photo */
.bbc-team-photo-wrap {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 0.75rem;
    background: #e8e8e8;
    flex-shrink: 0;
}

.bbc-team-photo {
    width: 160px !important;
    height: 160px !important;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.bbc-team-photo-placeholder {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: #d0d0d0;
}

/* Info */
.bbc-team-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
}

.bbc-team-name {
    font-weight: 700;
    font-size: 1.05rem;
    margin: 0;
    line-height: 1.2;
}

.bbc-team-meta {
    font-size: 0.8rem;
    color: #666;
    margin: 0;
}

.bbc-team-pb {
    font-size: 0.8rem;
    color: #0073aa;
    font-weight: 600;
    margin: 0;
}

/* Alumni cards slightly muted */
.bbc-team-card--alumni .bbc-team-photo-wrap {
    opacity: 0.85;
}

.bbc-team-card--alumni .bbc-team-name {
    color: #555;
}

@media (max-width: 600px) {
    .bbc-team-card {
        width: 140px;
    }
    .bbc-team-photo-wrap,
    .bbc-team-photo,
    .bbc-team-photo-placeholder {
        width: 120px !important;
        height: 120px !important;
    }
}

/* ── Captain dual photo (headshot + boat badge) ─────────────────────────── */
.bbc-roster-photo-group {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 0.75rem;
    flex-shrink: 0;
}
.bbc-roster-photo-group .bbc-roster-photo-wrap {
    position: absolute;
    top: 0;
    left: 0;
}
.bbc-roster-boat-badge {
    position: absolute;
    bottom: 0px;
    right: -14px;
    width: 86px;
    height: 86px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.22);
    z-index: 2;
    background: #e0e0e0;
}
.bbc-roster-boat-badge-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
}

.bbc-tournament-results-na {
    font-size: 0.85rem;
    color: #aaa;
    font-style: italic;
}

.bbc-roster-specs {
    font-size: 0.78rem;
    color: #888;
    margin: 0;
}

/* Team member card: class year and joined year stack cleanly */
.bbc-team-class,
.bbc-team-joined {
    font-size: 0.8rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

/* ── BBC Photo Lightbox ──────────────────────────────────────────────────── */
#bbc-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(0,0,0,0.88);
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
    padding: 20px;
    box-sizing: border-box;
}
#bbc-lightbox.active {
    display: flex;
}
#bbc-lightbox #bbc-lb-img {
    max-width: 92vw;
    max-height: 88vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 8px 48px rgba(0,0,0,0.7);
    cursor: default;
    display: block;
}
#bbc-lb-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: none;
    font-size: 2rem;
    line-height: 1;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
#bbc-lb-close:hover {
    background: rgba(255,255,255,0.32);
}
.bbc-photo-expand {
    cursor: zoom-in;
    display: block;
    line-height: 0;
}

/* ── Single Tournament Page ─────────────────────────────────────────────── */
.bbc-tournament-single { max-width: 860px; margin: 0 auto; }

.bbc-ts-banner {
    width: 100%;
    max-height: 360px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bbc-ts-banner-img {
    width: 100%;
    height: 360px;
    object-fit: contain;
    display: block;
}

.bbc-ts-header { text-align: center; margin-bottom: 1.5rem; }
.bbc-ts-title  { font-size: 2rem; margin: 0 0 0.4rem; color: #2A1A4A; line-height: 1.2; }
.bbc-ts-date   { font-size: 1.05rem; color: #5a7fa8; font-weight: 600; margin-bottom: 0.4rem; }
.bbc-ts-meta   { font-size: 0.95rem; color: #666; }
.bbc-ts-sep    { margin: 0 0.4em; }

.bbc-ts-cta {
    text-align: center;
    margin: 1.5rem 0;
}
.bbc-ts-btn {
    display: inline-block;
    padding: 0.65rem 1.6rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: opacity 0.18s;
}
.bbc-ts-btn:hover { opacity: 0.85; }
.bbc-ts-upcoming-badge {
    display: inline-block;
    background: #5a7fa8;
    color: #fff;
    padding: 0.4rem 1.2rem;
    border-radius: 6px;
    font-size: 0.92rem;
    font-weight: 600;
}
.bbc-ts-na {
    font-size: 0.95rem;
    color: #aaa;
    font-style: italic;
}

.bbc-ts-notes {
    background: #f8f8fc;
    border-left: 4px solid #5a7fa8;
    padding: 1rem 1.25rem;
    border-radius: 0 6px 6px 0;
    color: #444;
    font-size: 0.97rem;
    line-height: 1.65;
    margin-bottom: 1.75rem;
}

.bbc-ts-form {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
}

@media (max-width: 640px) {
    .bbc-ts-title  { font-size: 1.45rem; }
    .bbc-ts-banner { max-height: 220px; }
    .bbc-ts-banner-img { height: 220px; }
}

/* Schedule row: title and image links */
.bbc-tournament-title a {
    color: inherit;
    text-decoration: none;
}
.bbc-tournament-title a:hover {
    color: #5a7fa8;
}
.bbc-tournament-thumb-wrap a {
    display: block;
    line-height: 0;
}
.bbc-tournament-thumb-wrap a img {
    transition: opacity 0.18s;
}
.bbc-tournament-thumb-wrap a:hover img {
    opacity: 0.82;
}
