/* The BBA — modern layout. Same content as the old site, cleaner design system.
   Sections are Elementor containers with m-* classes, written by wp/modern.py. */

:root {
	--ink: #0f2a2e;          /* body text on light */
	--muted: #4d6a6e;        /* secondary text on light */
	--deep: #01333a;         /* darkest teal */
	--teal: #00434d;         /* brand dark teal */
	--accent: #6ba7aa;       /* brand teal */
	--accent-strong: #3f8589;/* accent with enough contrast for text on white */
	--pale: #e7f1f2;         /* pale teal surface */
	--paper: #f7f6f2;        /* warm off-white page */
	--white: #fff;
	--line: rgba(15, 42, 46, .12);
	--line-dark: rgba(255, 255, 255, .14);

	--f-head: "DM Serif Display", Georgia, serif;
	--f-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

	--wrap: 1200px;
	--gutter: clamp(20px, 5vw, 48px);
	--sec-y: clamp(64px, 9vw, 128px);
	--radius: 16px;
	--radius-sm: 10px;
	--hdr: 84px;
	--shadow: 0 1px 2px rgba(1, 51, 58, .06), 0 8px 24px rgba(1, 51, 58, .08);
	--shadow-lg: 0 2px 4px rgba(1, 51, 58, .06), 0 18px 40px rgba(1, 51, 58, .14);
}
@media (max-width: 767px) { :root { --hdr: 68px; } }

body.bba {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--f-body);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
.bba img { max-width: 100%; height: auto; }
.bba a { color: inherit; }
.bba-skip { position: absolute; left: -9999px; }
.bba-skip:focus { left: 16px; top: 16px; z-index: 1000; background: #fff; color: #000; padding: 8px 12px; border-radius: 6px; }
.bba :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---- type ---------------------------------------------------------------------------- */
.bba h1, .bba h2, .bba h3 { font-family: var(--f-head); font-weight: 400; letter-spacing: -.01em; margin: 0; color: inherit; }
.bba h4 { font-family: var(--f-body); font-weight: 600; margin: 0; letter-spacing: 0; }
.bba h1 { font-size: clamp(2.6rem, 6.2vw, 5rem); line-height: 1.04; }
.bba h2 { font-size: clamp(2rem, 3.8vw, 3rem); line-height: 1.12; }
.bba h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.28; }
.bba h4 { font-size: 1.05rem; line-height: 1.45; }
.bba p { margin: 0; }
.bba .m-text p + p, .bba .m-text p + h3, .bba .m-text h3 + p, .bba .m-text h2 + p,
.bba .m-text p + ul, .bba .m-text ul + p, .bba .m-text h3 + ul, .bba .m-intro h3 + h3 { margin-top: 1em; }
.bba .m-text strong { font-weight: 600; }
.bba .sqsrte-large { font-size: 1.15em; line-height: 1.6; }
.bba .sqsrte-small { font-size: 1em; }
.bba [class*="sqsrte-text-color--"] { color: inherit; }
.bba .sqsrte-text-color--lightAccent, .bba .sqsrte-text-color--accent { color: var(--accent); }
.m-light .sqsrte-text-color--lightAccent, .m-light .sqsrte-text-color--accent { color: var(--accent-strong); }
.bba .m-text ul { margin: .75em 0 0; padding: 0; list-style: none; }
.bba .m-text li { position: relative; padding-left: 1.6em; margin: .45em 0; }
.bba .m-text li::before { content: ""; position: absolute; left: 0; top: .62em; width: .7em; height: .7em; border-radius: 50%; background: var(--accent); }
.bba .m-text a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.bba .m-text a:hover { color: var(--accent); }

/* ---- Elementor container resets --------------------------------------------------------- */
.elementor .e-con.m-sec, .elementor .e-con.m-wrap, .elementor .e-con[class*="m-"] {
	--padding-top: 0px; --padding-bottom: 0px; --padding-left: 0px; --padding-right: 0px;
	--gap: 0px; --row-gap: 0px; --column-gap: 0px;
}
.elementor .e-con[class*="m-"] > .elementor-element { width: 100%; max-width: 100%; margin: 0; }

/* ---- sections ------------------------------------------------------------------------- */
.elementor .e-con.m-sec { position: relative; padding: var(--sec-y) 0; overflow: hidden; }
.elementor .e-con.m-wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); position: relative; z-index: 1; }
.m-light { background: var(--paper); color: var(--ink); }
.m-light + .m-light { padding-top: 0 !important; }
.m-dark { background: var(--teal); color: var(--white); }
.m-dark p, .m-dark li { color: rgba(255, 255, 255, .86); }
.m-accent { background: var(--accent); color: var(--deep); }

/* section headings */
.bba .m-head { text-align: center; max-width: 760px; margin: 0 auto clamp(32px, 5vw, 56px) !important; }
.bba .m-head h2, .bba .m-head h3 { font-size: clamp(2rem, 3.8vw, 3rem); line-height: 1.12; }
.bba .m-head::after { content: ""; display: block; width: 56px; height: 3px; border-radius: 2px; background: var(--accent); margin: 22px auto 0; }
.bba .m-head--left { text-align: left; margin-left: 0 !important; }
.bba .m-head--left::after { margin-left: 0; }

/* ---- hero ------------------------------------------------------------------------------- */
.elementor .e-con.m-hero-home, .elementor .e-con.m-hero {
	--justify-content: flex-end;
	display: flex; flex-direction: column; justify-content: flex-end;
	min-height: 92vh; padding: calc(var(--hdr) + 48px) 0 clamp(56px, 9vw, 112px);
	background-color: var(--deep); color: var(--white);
}
.elementor .e-con.m-hero { min-height: 56vh; }
.elementor .e-con.m-hero.m-hero--plain { min-height: 0; padding-bottom: clamp(48px, 6vw, 80px); background: var(--deep); }
/* a gradient over the photo/video so the white text always reads */
.m-hero-home::before, .m-hero::before, .m-s-feature::before {
	content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
	background: linear-gradient(180deg, rgba(1, 51, 58, .55) 0%, rgba(1, 51, 58, .15) 35%, rgba(1, 51, 58, .75) 100%);
}
.m-hero-home .elementor-background-overlay, .m-hero .elementor-background-overlay, .m-s-feature .elementor-background-overlay { opacity: 0 !important; }
.m-hero-home .elementor-background-video-container { z-index: 0; }
.bba .m-hero-text { max-width: 900px; }
.bba .m-hero-text h3 {
	font-family: var(--f-body); font-size: .85rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
	color: var(--accent); margin-bottom: 18px;
}
.bba .m-hero-home h1 { font-size: clamp(2.8rem, 7.4vw, 6rem); }
.bba .m-hero h2, .bba .m-hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.05; }
.bba .m-hero-text p { margin-top: 18px; font-size: clamp(1.15rem, 2vw, 1.5rem); color: rgba(255, 255, 255, .9); }
.bba .m-hero-text em { font-family: var(--f-head); font-style: italic; }

/* ---- intro / lead copy ------------------------------------------------------------------- */
.bba .m-intro { max-width: 860px; margin: 0 auto; text-align: center; }
.bba .m-intro h3 { font-family: var(--f-head); font-size: clamp(1.35rem, 2.4vw, 1.9rem); line-height: 1.45; color: var(--ink); }
.bba .m-intro h3 + h3 { font-family: var(--f-body); font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.7; color: var(--muted); margin-top: 1.4em; }
.m-dark .m-intro h3 { color: var(--white); }
.m-dark .m-intro h3 + h3 { color: rgba(255, 255, 255, .8); }

/* ---- feature (photo background) ---------------------------------------------------------- */
.elementor .e-con.m-s-feature { background-color: var(--deep); }
.bba .m-s-feature .m-text, .bba .m-s-feature .m-intro, .bba .m-s-feature .m-head { max-width: 900px; margin: 0 auto; text-align: center; }
.bba .m-s-feature h3 { font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.4; }
.bba .m-s-feature p { margin-top: 1.4em; font-size: .95rem; letter-spacing: .02em; color: rgba(255, 255, 255, .8); }
.bba .m-s-feature h3::before { content: "\201C"; display: block; font-size: 4.5rem; line-height: .6; color: var(--accent); margin-bottom: 14px; }
.bba .m-s-feature .m-head::after { display: none; }

/* ---- grids + cards ---------------------------------------------------------------------- */
.elementor .e-con.m-grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.elementor .e-con.m-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.elementor .e-con.m-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.elementor .e-con.m-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 991px) {
	.elementor .e-con.m-grid--3, .elementor .e-con.m-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.elementor .e-con.m-grid--2, .elementor .e-con.m-grid--3, .elementor .e-con.m-grid--4 { grid-template-columns: 1fr; }
	.elementor .e-con.m-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.elementor .e-con.m-card { display: flex; flex-direction: column; border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); }
.m-light .m-card { background: var(--white); box-shadow: var(--shadow); border: 1px solid var(--line); }
.m-dark .m-card { background: rgba(255, 255, 255, .05); border: 1px solid var(--line-dark); }
.m-dark .m-card:hover { background: rgba(255, 255, 255, .08); }

/* benefit cards */
.elementor .e-con.m-benefit { position: relative; }
.bba .m-s-cards .m-card { text-align: left; transition: background .2s, transform .2s; }
.bba .m-s-cards .m-card::before { content: ""; width: 40px; height: 3px; border-radius: 2px; background: var(--accent); margin-bottom: 22px; }
.bba .m-s-cards .m-card h3 { font-size: 1.5rem; margin-bottom: .5em; }
.bba .m-s-cards .m-card h3 + p { margin-top: 0; }
.bba .m-s-cards .m-card p { font-size: .98rem; line-height: 1.7; }

/* contact cards */
.bba .m-contact { text-align: center; justify-content: center; padding: 22px 20px !important; }
.bba .m-contact p { font-size: .98rem; color: var(--muted); }
.bba .m-contact a { display: block; margin-top: 4px; font-weight: 500; color: var(--ink); }

/* ---- team ------------------------------------------------------------------------------- */
.elementor .e-con.m-team-card { display: flex; flex-direction: column; gap: 14px; }
.bba .m-team-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); display: block; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.bba .m-team-photo a:hover img { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.bba .m-team-name { text-align: center; }
.bba .m-team-name h4 { font-family: var(--f-head); font-weight: 400; font-size: 1.3rem; line-height: 1.3; }
.bba .m-team-name h4 span { display: block; font-family: var(--f-body); font-size: .82rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-strong); margin-top: 4px; }
.bba .m-team-name br { display: none; }

/* ---- membership tiers + comparison --------------------------------------------------------- */
.bba .m-s-tiers .m-tier { text-align: left; }
.bba .m-tier-logo img { height: 64px; width: auto; max-width: 100%; object-fit: contain; display: block; margin-bottom: 20px; }
.bba .m-tier h2 { font-size: 1.6rem; line-height: 1.2; }
.bba .m-tier h2 + h2 { font-family: var(--f-head); font-size: 2.6rem; margin-top: 10px; color: var(--accent-strong); }
.bba .m-tier .m-text { flex: 1 1 auto; }
.bba .m-tier .m-text + .m-text { margin-top: 16px; }
.bba .m-tier p { font-size: .98rem; }
.bba .m-tier .m-btn { margin-top: 28px; }
.bba .m-s-tiers .m-tier:nth-child(2) { border: 2px solid var(--accent); }
.elementor .e-con.m-tier > .elementor-widget-button { margin-top: auto; }

.bba .m-compare { overflow-x: auto; }
.bba .m-table { width: 100%; max-width: 980px; margin: 0 auto; border-collapse: separate; border-spacing: 0; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.bba .m-table th, .bba .m-table td { padding: 16px 20px; border-bottom: 1px solid var(--line); text-align: center; }
.bba .m-table tbody tr:last-child th, .bba .m-table tbody tr:last-child td { border-bottom: 0; }
.bba .m-table tbody th { text-align: left; font-weight: 500; }
.bba .m-table thead th { background: var(--pale); padding: 20px; }
.bba .m-table thead img { height: 44px; width: auto; display: inline-block; vertical-align: middle; }
.bba .m-table td { color: var(--accent-strong); font-weight: 700; font-size: 1.15rem; width: 18%; }
.bba .m-table tbody tr:nth-child(even) { background: rgba(231, 241, 242, .35); }
@media (max-width: 640px) {
	.bba .m-table th, .bba .m-table td { padding: 12px 10px; font-size: .9rem; }
	.bba .m-table thead img { height: 30px; }
}

/* ---- buttons ---------------------------------------------------------------------------- */
.bba .m-btn .elementor-button, .bba .m-cta, .bba .bba-more {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	background: var(--teal); color: var(--white); font-family: var(--f-body); font-size: .98rem; font-weight: 600;
	letter-spacing: .01em; line-height: 1; padding: 16px 28px; border-radius: 999px; border: 0;
	text-decoration: none; transition: background .2s, transform .2s, box-shadow .2s;
}
.bba .m-btn .elementor-button:hover, .bba .m-cta:hover { background: var(--deep); transform: translateY(-1px); box-shadow: var(--shadow); }
.bba .m-btn .elementor-button::after { content: "→"; font-weight: 400; }
.m-dark .m-btn .elementor-button { background: var(--accent); color: var(--deep); }
.m-dark .m-btn .elementor-button:hover { background: var(--white); }
.bba .m-btn--light .elementor-button { background: var(--deep); color: var(--white); }
.bba .m-btn--block .elementor-button { width: 100%; }
.bba .m-btn .elementor-button-wrapper { width: 100%; }

/* ---- call-to-action band ------------------------------------------------------------------ */
.elementor .e-con.m-cta-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 32px; }
.bba .m-cta-text h3 { font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.3; color: var(--deep); }
.elementor .e-con.m-sec.m-s-cta { padding: clamp(48px, 6vw, 80px) 0; }
@media (max-width: 767px) { .elementor .e-con.m-cta-row { grid-template-columns: 1fr; } }

/* ---- split (image + text) ------------------------------------------------------------------ */
.elementor .e-con.m-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.elementor .e-con.m-col { display: flex; flex-direction: column; gap: 24px; }
.bba .m-img--feature img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-lg); display: block; }
.bba .m-col--text .m-text p.sqsrte-large { font-family: var(--f-head); font-size: clamp(1.3rem, 2.2vw, 1.75rem); line-height: 1.4; color: inherit; }
.bba .m-col--text .elementor-widget-button { margin-top: 8px; }
@media (max-width: 860px) { .elementor .e-con.m-split { grid-template-columns: 1fr; } }

/* fallback columns */
.elementor .e-con.m-cols { display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 56px); align-items: flex-start; }
.elementor .e-con.m-cols > .m-col { flex: 1 1 280px; }
.bba .m-img img { width: 100%; height: auto; border-radius: var(--radius); display: block; }
.bba .m-img--contain img { object-fit: contain; border-radius: 0; }
.bba .m-rule .elementor-divider-separator { border-top: 1px solid var(--line); }
.m-dark .m-rule .elementor-divider-separator { border-color: var(--line-dark); }

/* long copy (e.g. Sponsorship) reads as one article column */
.bba .m-s-stack .m-wrap > .m-text, .bba .m-s-stack .m-col > .m-text { max-width: 820px; margin-left: auto; margin-right: auto; text-align: left; }
.bba .m-s-stack .m-wrap > .m-text:first-of-type h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.4; }
.bba .m-s-stack .m-wrap > .m-text + .m-text, .bba .m-s-stack .m-wrap > .m-text + .m-cols { margin-top: 32px !important; }
.bba .m-s-stack .m-text h3 { margin-top: 1.4em; }
.bba .m-s-stack .m-text > :first-child { margin-top: 0; }
.bba .m-s-stack .m-rule { max-width: 820px; margin: 0 auto 32px !important; }

/* a page that starts without a banner still clears the fixed header */
.elementor > .e-con.m-sec:first-child:not(.m-hero):not(.m-hero-home) { padding-top: calc(var(--hdr) + var(--sec-y) * .6); }
.bba .m-s-stack h3 + p.sqsrte-large, .bba .m-s-stack .m-text > p.sqsrte-large:first-child { font-size: 1.2rem; }

/* ---- accordion -------------------------------------------------------------------------- */
.bba .m-acc .elementor-accordion { border-top: 1px solid var(--line); }
.bba .m-acc .elementor-accordion-item { border: 0; border-bottom: 1px solid var(--line); }
.bba .m-acc .elementor-tab-title { padding: 20px 4px; border: 0; font-family: var(--f-body); font-size: 1.08rem; font-weight: 600; color: var(--ink); }
.bba .m-acc .elementor-tab-title a { color: inherit; text-decoration: none; }
.bba .m-acc .elementor-tab-title.elementor-active, .bba .m-acc .elementor-tab-title:hover { color: var(--accent-strong); }
.bba .m-acc .elementor-accordion-icon { color: var(--accent-strong); font-size: 14px; }
.bba .m-acc .elementor-tab-content { padding: 0 4px 22px; border: 0; color: var(--muted); }
.m-dark .m-acc .elementor-tab-title { color: var(--white); }
.m-dark .m-acc .elementor-tab-content { color: rgba(255, 255, 255, .8); }
.m-dark .m-acc .elementor-accordion, .m-dark .m-acc .elementor-accordion-item { border-color: var(--line-dark); }

/* ---- galleries -------------------------------------------------------------------------- */
.elementor .e-con.m-gallery { display: grid; gap: clamp(12px, 1.6vw, 20px); }
.elementor .e-con.m-gallery--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.elementor .e-con.m-gallery--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 860px) { .elementor .e-con.m-gallery--3, .elementor .e-con.m-gallery--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.elementor .e-con.m-gal-item { display: flex; flex-direction: column; gap: 10px; }
.gal-r-square { --ar: 1 / 1; } .gal-r-standard { --ar: 3 / 2; } .gal-r-four-three { --ar: 4 / 3; }
.gal-r-widescreen { --ar: 16 / 9; } .gal-r-three-four { --ar: 3 / 4; }
.bba .m-gal-img a, .bba .m-gal-img > .elementor-widget-container { display: block; line-height: 0; }
.bba .m-gal-img img { width: 100%; aspect-ratio: var(--ar, 4 / 3); height: auto; object-fit: cover; border-radius: var(--radius-sm); display: block; transition: transform .25s, box-shadow .25s; }
.bba .m-gal-img a:hover img { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.bba .m-gal-cap { text-align: center; font-size: .9rem; color: var(--muted); }
.bba .m-gal-cap p { color: inherit; }
/* member logo wall: logos sit on their own tiles, so keep them whole */
.bba .m-gallery--logos .m-gal-img img { box-shadow: var(--shadow); }
.elementor .e-con.m-sec.m-gal { padding: clamp(40px, 5vw, 72px) 0; }
.m-gal + .m-gal { padding-top: 0 !important; }
.bba .m-gal .m-head { margin-bottom: 28px !important; text-align: left; max-width: none; }
.bba .m-gal .m-head h2, .bba .m-gal .m-head h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.bba .m-gal .m-head::after { margin-left: 0; width: 40px; margin-top: 14px; }

/* ---- Instagram grid --------------------------------------------------------------------- */
.elementor .e-con.m-insta-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.bba .m-insta-tile a { display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius-sm); line-height: 0; }
.bba .m-insta-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.bba .m-insta-tile a:hover img { transform: scale(1.04); }
@media (max-width: 860px) { .elementor .e-con.m-insta-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } }

/* ---- article + event lists (shortcodes) ------------------------------------------------------ */
.bba .m-list .elementor-shortcode { width: 100%; }
.bba-articles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.bba-article { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.bba-article:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.bba-article__img img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.bba-article__meta { margin: 22px 24px 0; font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-strong); }
.bba .bba-article__title { margin: 10px 24px 0; font-size: 1.35rem; line-height: 1.3; }
.bba-article__title a { text-decoration: none; }
.bba-article__excerpt { margin: 12px 24px 0; color: var(--muted); font-size: .96rem; }
.bba .bba-article .bba-more { margin: auto 24px 24px; padding: 0; background: none; color: var(--accent-strong); border-radius: 0; margin-top: 18px; }
.bba .bba-article .bba-more::after { content: "→"; }
@media (max-width: 991px) { .bba-articles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .bba-articles { grid-template-columns: 1fr; } }
.bba-events { max-width: 980px; margin: 0 auto; }
.bba-events__list { display: grid; gap: 24px; }
.bba-event { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 0; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.bba-event__img img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.bba-event__body { padding: 28px; }
.bba .bba-event__title { font-size: 1.5rem; line-height: 1.25; }
.bba-event__title a { text-decoration: none; }
.bba-event__meta { list-style: none; margin: 12px 0 0; padding: 0; color: var(--muted); font-size: .95rem; }
.bba-event__excerpt { margin-top: 12px; color: var(--muted); }
.bba-event .bba-more { margin-top: 18px; }
.bba .bba-events__divider { text-align: center; margin: 56px 0 28px; font-size: 1.6rem; }
@media (max-width: 767px) { .bba-event { grid-template-columns: 1fr; } }

/* ---- single article / event ------------------------------------------------------------- */
.single .site-main, .single-bba_event .site-main { max-width: 760px; margin: 0 auto; padding: calc(var(--hdr) + 72px) var(--gutter) 96px; }
.single .page-header .entry-title { display: block; font-family: var(--f-head); font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.12; text-align: center; color: var(--ink); }
.single .page-content { margin-top: 28px; font-size: 1.06rem; line-height: 1.8; }
.single .page-content p, .single .page-content li { margin: 0 0 1.1em; }
.single .page-content h2, .single .page-content h3 { margin: 1.6em 0 .6em; }
.single .page-content figure { margin: 2.2em 0; }
.single .page-content img { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.single .page-content a { color: var(--accent-strong); text-decoration: underline; text-underline-offset: .2em; }
.bba-single__meta { text-align: center; list-style: none; padding: 0; margin: 14px 0 0 !important; font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-strong); }
.bba-single__meta li { display: inline; }
.bba-single__meta li + li::before { content: " · "; }
.bba-single__back { margin-top: 3em !important; text-align: center; }
.single .post-tags, .single .comments-area { display: none; }
.bba .page-header .entry-title { display: none; }
.single .page-header .entry-title { display: block; }

/* ---- header ----------------------------------------------------------------------------- */
.m-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; color: var(--white); transition: background .25s, box-shadow .25s; }
.admin-bar .m-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .m-header { top: 46px; } }
.m-header.is-solid, .bba-menu-open .m-header { background: rgba(1, 51, 58, .96); box-shadow: 0 1px 0 rgba(255, 255, 255, .08), 0 8px 24px rgba(0, 0, 0, .12); backdrop-filter: saturate(140%) blur(8px); }
.m-header__inner { display: flex; align-items: center; gap: 32px; height: var(--hdr); max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.m-logo img { display: block; width: 104px; height: auto; }
.m-nav { margin-left: auto; }
.m-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.m-nav a { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px; color: var(--white); text-decoration: none; font-size: .96rem; font-weight: 500; transition: background .2s; }
.m-nav a:hover, .m-nav a[aria-current] { background: rgba(255, 255, 255, .12); }
.m-nav .caret { width: 10px; height: 6px; opacity: .7; }
.m-nav .has-sub { position: relative; }
.m-nav .sub {
	position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%);
	display: none; flex-direction: column; gap: 2px; min-width: 210px; padding: 8px;
	background: var(--white); border-radius: 12px; box-shadow: var(--shadow-lg);
}
.m-nav .sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.m-nav .sub a { display: block; color: var(--ink); border-radius: 8px; padding: 10px 14px; }
.m-nav .sub a:hover { background: var(--pale); }
.m-nav .has-sub:hover .sub, .m-nav .has-sub:focus-within .sub { display: flex; }
.m-header__end { display: flex; align-items: center; gap: 20px; }
.m-header__social { display: flex; gap: 14px; }
.m-header__social a, .bba-mnav__social a { display: inline-flex; width: 18px; height: 18px; color: var(--white); opacity: .85; }
.m-header__social a:hover { opacity: 1; }
.m-header__social svg, .bba-mnav__social svg { width: 100%; height: 100%; fill: currentColor; }
.bba .m-cta { padding: 12px 22px; background: var(--accent); color: var(--deep); font-size: .94rem; }
.bba .m-cta:hover { background: var(--white); color: var(--deep); }
.bba-burger { display: none; }
.bba-mnav { display: none; }
@media (max-width: 1080px) { .m-header__social { display: none; } }
@media (max-width: 900px) {
	.m-nav, .m-header__end > .m-cta { display: none; }
	.m-header__end { margin-left: auto; }
	.m-logo img { width: 88px; }
	.bba-burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 7px; width: 40px; height: 40px; padding: 0 8px; background: none; border: 0; cursor: pointer; }
	.bba-burger span { display: block; height: 1.5px; background: var(--white); transition: transform .2s; }
	.bba-burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
	.bba-burger[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
	.bba-mnav[hidden] { display: none; }
	.bba-mnav:not([hidden]) { display: flex; flex-direction: column; gap: 28px; position: fixed; inset: 0; z-index: -1; padding: calc(var(--hdr) + 24px) var(--gutter) 40px; background: var(--deep); overflow-y: auto; }
	.bba-mnav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
	.bba-mnav a, .bba-mnav button { display: flex; align-items: center; justify-content: space-between; width: 100%; color: var(--white); font-family: var(--f-head); font-size: 1.9rem; line-height: 1.3; text-decoration: none; background: none; border: 0; padding: 8px 0; cursor: pointer; text-align: left; }
	.bba-mnav .mnav-folder span { transition: transform .2s; font-family: var(--f-body); }
	.bba-mnav .mnav-folder[aria-expanded="true"] span { transform: rotate(90deg); }
	.bba-mnav .has-sub ul { display: none; padding: 4px 0 8px 16px; }
	.bba-mnav .has-sub.open ul { display: grid; }
	.bba-mnav .has-sub ul a { font-family: var(--f-body); font-size: 1.1rem; color: rgba(255, 255, 255, .8); }
	.bba-mnav .m-cta--block { justify-content: center; font-family: var(--f-body); font-size: 1rem; padding: 16px; }
	.bba-mnav__social { display: flex; gap: 22px; }
	body.bba-menu-open { overflow: hidden; }
}

/* ---- footer ----------------------------------------------------------------------------- */
.m-footer { background: var(--deep); color: rgba(255, 255, 255, .78); padding: clamp(56px, 7vw, 88px) 0 48px; font-size: .96rem; }
.m-footer__inner { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.4fr); gap: 40px; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.m-footer__logo img { width: 112px; height: auto; display: block; }
.m-footer__contact { margin-top: 18px; }
.m-footer a { color: var(--white); text-decoration: none; }
.m-footer a:hover { color: var(--accent); }
.m-footer h4 { font-family: var(--f-body); font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.m-footer p { margin: 0 0 8px; }
.m-footer__partner { justify-self: end; }
.m-footer__partner img { width: 180px; height: auto; display: block; opacity: .9; }
@media (max-width: 860px) {
	.m-footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.m-footer__brand { grid-column: 1 / -1; }
	.m-footer__partner { justify-self: start; grid-column: 1 / -1; }
}

/* Hello Elementor leftovers */
.bba .site-header, .bba .site-footer { display: none; }

/* gentle reveal as sections enter (no scroll hijacking; off for reduced motion) */
@media (prefers-reduced-motion: no-preference) {
	.m-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
	.m-reveal.is-in { opacity: 1; transform: none; }
}

/* Events: with no upcoming events the list is empty (as on the old site) — hide the empty band */
.elementor .e-con.m-s-list:has(.bba-events__list:empty):not(:has(.bba-events__divider)) { display: none; }
