/**
 * Site-wide and page-specific fixes outside the header/footer scope.
 *
 * Loads after the parent stylesheet and depends on the AOR token layer
 * (aor-wpb-tokens), like aor-header.css and aor-footer.css.
 */

/* Partner-levels page: the A-Z partner names render in Salient's light gray;
 * they should read as body text. (BugHerd #42) */
body.page-id-71 .nectar-fancy-ul {
	color: var(--aor-color-body);
}

/* WPBakery Text Blocks render their copy inside .aor-typography (see
 * vc_templates/vc_column_text.php), which sets the design's body colour.
 * Where the editor already chose a text colour -- a column with a custom
 * Font Color, a row set to Light text, or a row with a custom text colour --
 * let that colour through instead (mostly white on dark backgrounds). */
.wpb_column[data-cfc="true"] .wpb_text_column > .aor-typography,
.span_12.light .wpb_text_column > .aor-typography,
[data-using-ctc="true"] .wpb_text_column > .aor-typography {
	color: inherit;
}

/* A tab bar with a single tab offers no choice — hide the bar and let the
 * lone panel stand on its own. (BugHerd #55, Our Leaders) */
.wpb_content_element .wpb_tabs_nav:has(> li:only-child) {
	display: none;
}
