/* Content typography: Divi page content in C's type (Fraunces headings, Figtree text).
   Divi's Google Fonts are off (functions.php), so its Montserrat / Noto Sans / Advent Pro declarations would fall
   back to Helvetica. These rules sit under #page-container so they outrank Divi's per-module font rules
   (one id beats Divi's class-only selectors) without !important. Icon fonts (ETmodules) are left alone.
   SCM layouts (.scm-l, from the scm-live plugin) style their own headings and are skipped. */

#page-container {
	font-family: var(--scm-body);
	color: var(--scm-ink);
}
#page-container :is(h1, h2, h3, h4, h5, h6):not(.scm-l *),
#page-container .et_pb_module :is(h1, h2, h3, h4, h5, h6),
#page-container .et_pb_module .et_pb_module_header {
	font-family: var(--scm-display);
	color: var(--scm-ink);
	letter-spacing: normal;
}
#page-container :is(p, li, dd, dt, td, th, blockquote, figcaption, label, input, select, textarea, button):not(.scm-l *),
#page-container .et_pb_text_inner,
#page-container .et_pb_blurb_description,
#page-container .et_pb_post .post-content,
#page-container .post-meta,
#page-container .et_pb_button,
#page-container .entry-content {
	font-family: var(--scm-body);
}
#page-container .et_pb_text_inner,
#page-container .entry-content {
	color: var(--scm-ink);
}

/* Page titles (Divi's .main_title): Fraunces 900, a clear step above the H2s (Designer phase 2, should-fix 1). */
#page-container .entry-title.main_title {
	font-family: var(--scm-display);
	font-weight: 900;
	font-size: clamp(34px, 5vw, 56px);
	line-height: 1;
	letter-spacing: -.01em;
	color: var(--scm-ink);
}

/* Links inside running text: the AA orange, underlined (links must differ from text by more than color).
   Only links in paragraphs and lists; headings, slider titles, buttons and calendar cards keep their own look. */
#page-container .entry-content :is(p, li) a:not(.et_pb_button):not([class*="scm-"]):not([class*="tribe-"]) {
	color: var(--scm-sunset-text);
	text-decoration: underline;
	text-underline-offset: 2px;
}
