/* SGA site-wide type (November 2026): Archivo everywhere, body text black on light backgrounds and
   white on dark ones. Loads after the theme's own stylesheets. The font files are in assets/fonts/archivo/. */

:root {
  --sga-font: "Archivo", Arial, sans-serif;
  --sga-text: #000000;
  --sga-text-on-dark: #ffffff;
  --font-family-sans-serif: var(--sga-font);
}

/* Font */
body,
body.tk-franklin-gothic-urw,
.tooltip,
.popover {
  font-family: var(--sga-font);
}

/* Page systems with their own font and ink settings: Advance Partners, Sponsorship, Course Catalog */
.ap.ap { --ap-font: var(--sga-font); --ap-ink: var(--sga-text); --ap-ink-soft: var(--sga-text); }
.sp.sp { --sp-font: var(--sga-font); --sp-ink: var(--sga-text); --sp-ink-soft: var(--sga-text); }
.cc.cc { --cc-font: var(--sga-font); --cc-ink: var(--sga-text); --cc-ink-soft: var(--sga-text); }

/* Body text: black on light backgrounds */
body,
.post_content {
  color: var(--sga-text);
}

/* Theme rules that set body copy grey */
caption,
.table,
.table .thead-light th,
.blockquote-footer,
.figure-caption,
.post_content > .wp-caption .wp-caption-text,
.committee_wrapper p,
.single-post p,
.single-post blockquote p,
.fancy-quotes-container .fancy-quote-wrapper .fancy-quote blockquote,
.yellow-background-text-with-cta article,
.intro-with-sidebar article,
.roster,
.resources-section article.introduction-text {
  color: var(--sga-text);
}

/* Grey text utilities used for body copy */
.text-gray,
.text-secondary,
.text-secondary.role,
.text-muted,
.text-dark {
  color: var(--sga-text) !important;
}

/* Post bylines stay a muted grey, as in the blog sample */
.byline,
.byline.text-gray {
  color: #555555 !important;
}

/* Body text on dark backgrounds: solid white instead of see-through white */
.ap__section--dark .ap__lead,
.ap-hero__body .ap__lead,
.ap-stat__text,
.ap-means__card p,
.ap-gain__item,
.ap-cta__lead,
.ap-context,
.sp__section--dark .sp__lead,
.sp__section--darkTeal .sp__lead,
.sp-hero__body .sp__lead,
.sp-stat__text,
.sp .sp-stats__foot,
.sp-features--onDark li,
.sp-callout--dark p,
.sp-included__item,
.sp-cta__lead,
.cc-hero .cc-lede,
.cc-stat span {
  color: var(--sga-text-on-dark);
}

/* Grey typed into page and post content (inline styles) */
[style*="color: #333"],
[style*="color:#333"],
[style*="color: rgb(51, 51, 51)"],
[style*="color: #767879"],
[style*="color:#767879"],
[style*="color: #3a3a3a"],
[style*="color:#3a3a3a"] {
  color: var(--sga-text) !important;
}
