/**
 * CASC Org theme — intentional deviations from the Bricks-era design.
 * 2026-08-03: on mobile, the header CTA buttons move into the offcanvas menu
 * (they overlapped the logo in the original).
 */
.casc-mobile-ctas { display: none; }

@media (max-width: 767px) {
	/* Hide the header CTA pair (logo row stays clean) */
	#brxe-szusdy { display: none; }

	/* Show the CTAs at the bottom of the offcanvas menu */
	.casc-mobile-ctas {
		display: flex;
		flex-direction: column;
		gap: 12px;
		padding: 8px 0 24px;
	}
	.casc-mobile-ctas .brxe-button {
		display: block;
		width: 100%;
		text-align: center;
	}
}

/* Bylaws page: inline PDF viewer */
.casc-bylaws-embed object { height: 82vh; border: 1px solid rgba(0,0,0,0.12); border-radius: 6px; }
.casc-bylaws-download { margin-top: 16px; }

/* Pro Tabs replacement: show only the active panel (tab mode) */
.brxe-xtabs:not(.casc-tabs-accordion) .x-tabs_content-item:not(.casc-tab-active) { display: none !important; }
/* Accordion mode: headers always visible, panels only when active */
.brxe-xtabs.casc-tabs-accordion .x-tabs_content-item:not(.casc-tab-active) > .x-tabs_panel { display: none !important; }

/* About-page anchor targets: clear the sticky section sub-nav on arrival */
#brxe-xqcjmh, #brxe-xbetky, #brxe-bojnwm, #brxe-aryobw { scroll-margin-top: 90px; }
