
/* ==========================================================================
   Accessibility: WCAG 2.1 AA contrast fixes (audit 2026-10-19, ADA Title II deadline 2027-04-26).
   Brand orange is the logo orange #ce5c28 (set in Avada options). It reads 4.05:1 on white, which
   passes for large text and indicators but not small text, so small orange text uses dark text plus
   an orange indicator, and orange buttons use large bold text.
   "body" prefixes outrank the inline <style> blocks in the sfop-*-template.php files.
   Re-test: ~/sfop_build/a11y_audit_2026-10-19 (node run_axe.js).
   ========================================================================== */
:root {
	--sfop-orange: #ce5c28;
	--sfop-orange-dark: #a8481d;
	--sfop-gold-text: #896627;   /* 4.6:1 on white and on cream #f5f0e8 */
	--sfop-muted-light-bg: #697561;
	--sfop-gray-text: #747474;
	--sfop-muted-dark-bg: #a3b0a9; /* 4.6:1+ on the dark greens #122a1c to #284635 */
}

/* Main menu current/hover item: dark text, orange bar stays as the indicator. */
body .fusion-main-menu > ul > li > a.fusion-bottombar-highlight .menu-text,
body .fusion-main-menu > ul > li:hover > a .menu-text,
body .fusion-main-menu > ul > .current-menu-item > a .menu-text {
	color: #333338;
}

/* Avada menu/tab element current item (e.g. Events sub-nav): same treatment as the main menu. */
body a[aria-current="page"] > .link-text {
	color: #333338;
	text-decoration: underline 2px var(--sfop-orange);
	text-underline-offset: 5px;
}

/* Unstyled submit buttons (dashboard login etc.): logo orange with large bold text (3:1 rule). */
body button:not([class*="fusion-"]):not(.gform_button),
body input[type="button"]:not(.gform_button),
body input[type="submit"]:not(.gform_button) {
	background: var(--sfop-orange);
	border-color: var(--sfop-orange-dark);
	font-size: 19px;
	font-weight: 700;
}

/* Gravity Forms field text and placeholders. */
body .gform_wrapper input:not([type="submit"]):not([type="button"]),
body .gform_wrapper select,
body .gform_wrapper textarea,
body select {
	color: #333338;
}
body .gform_wrapper ::placeholder {
	color: var(--sfop-gray-text);
	opacity: 1;
}

/* Template components (articles, home, about, 1890 university, newsletters, resources, N&BF). */
body .sfop-card-date,
body .sfop-card-footer .sfop-card-contact { color: var(--sfop-muted-light-bg); }
body .article-date,
body .rp-partner-nolink { color: var(--sfop-gray-text); }
body .ab-tag,
body .rp-inner .rp-tag { color: var(--sfop-gold-text); }
body .ab-tag-dim { color: #b09b68; }
body .event-month { color: #a0b3a0; }
body .ab-stat-desc,
body .ab-scard-body,
body .rp-eo-inner { color: var(--sfop-muted-dark-bg); }
body .nbf-step a,
body .sfop-events-contact-note a { color: #75591a; }
body #sfop-nl-grid .nl-badge,
body .sfop-nl-archive > a,
body .rp-btn-gold { background: var(--sfop-gold-text); color: #fff; }

/* Avada person element and italic notes (AgFTAP page). */
body .person-name { color: #555558; }
body .person-content,
body .post-content li > em { color: #595959; }
/* !important: the AgFTAP button's colors are inline CSS variables set in the page builder. */
body.page-id-13891 a.fusion-button.button-1 { background: #67796f !important; }
