@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Noto+Sans:wght@400;500;600;700&display=swap');/* ============================================================
   FOM Corp - Page Content CSS (v5)
   Lives in: CSS Hero > Custom CSS panel
   ============================================================ */
/* ============================================================
   Brand tokens
   ============================================================ */
:root {
  --qc-blue: #00508f;
  --qc-blue-dark: #003b6b;
  --qc-charcoal: #2a2a2a;
  --qc-muted: #6b6b6b;
  --qc-white: #ffffff;
  --qc-underline: #c4c4c4;
  --qc-underline-light: rgba(255, 255, 255, 0.4);
  --qc-font-display: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --qc-font-body: 'Noto Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --qc-h1-size: 3.75rem;
  --qc-h2-size: 2.5rem;
  --qc-h3-size: 1.75rem;
  --qc-body-size: 17px;
  --qc-body-leading: 1.7;
}
/* ============================================================
   COLOR UTILITY CLASSES
   Apply to any element via Divi's CSS Class field. The class cascades
   to all text descendants (p, h1-h6, span, li, a, etc.) so you can put
   it on a section/row/column/module and everything inside picks it up.
   ============================================================ */
/* TEXT COLORS */
.qc-text--white,
.qc-text--white p,
.qc-text--white h1,
.qc-text--white h2,
.qc-text--white h3,
.qc-text--white h4,
.qc-text--white h5,
.qc-text--white h6,
.qc-text--white span,
.qc-text--white li,
.qc-text--white a {
  color: var(--qc-white) !important;
}
.qc-text--charcoal,
.qc-text--charcoal p,
.qc-text--charcoal h1,
.qc-text--charcoal h2,
.qc-text--charcoal h3,
.qc-text--charcoal h4,
.qc-text--charcoal h5,
.qc-text--charcoal h6,
.qc-text--charcoal span,
.qc-text--charcoal li {
  color: var(--qc-charcoal) !important;
}
.qc-text--blue,
.qc-text--blue p,
.qc-text--blue h1,
.qc-text--blue h2,
.qc-text--blue h3,
.qc-text--blue h4,
.qc-text--blue h5,
.qc-text--blue h6,
.qc-text--blue span,
.qc-text--blue li {
  color: var(--qc-blue) !important;
}
.qc-text--blue-dark,
.qc-text--blue-dark p,
.qc-text--blue-dark h1,
.qc-text--blue-dark h2,
.qc-text--blue-dark h3,
.qc-text--blue-dark h4,
.qc-text--blue-dark h5,
.qc-text--blue-dark h6,
.qc-text--blue-dark span,
.qc-text--blue-dark li {
  color: var(--qc-blue-dark) !important;
}
.qc-text--muted,
.qc-text--muted p,
.qc-text--muted h1,
.qc-text--muted h2,
.qc-text--muted h3,
.qc-text--muted h4,
.qc-text--muted h5,
.qc-text--muted h6,
.qc-text--muted span,
.qc-text--muted li {
  color: var(--qc-muted) !important;
}
/* Heading-underlines should ALSO flip white when the parent says white */
.qc-text--white h1::after,
.qc-text--white h2::after,
.qc-text--white h3::after {
  background: var(--qc-underline-light) !important;
}
/* BACKGROUND COLORS */
.qc-bg--white {
  background-color: var(--qc-white) !important;
}
.qc-bg--charcoal {
  background-color: var(--qc-charcoal) !important;
}
.qc-bg--blue {
  background-color: var(--qc-blue) !important;
}
.qc-bg--blue-dark {
  background-color: var(--qc-blue-dark) !important;
}
/* ============================================================
   HEADINGS - default body context (70% underline)
   ============================================================ */
h1,
h2,
h3,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.et_pb_text h1,
.et_pb_text h2,
.et_pb_text h3,
.et_pb_module h1,
.et_pb_module h2,
.et_pb_module h3 {
  font-family: var(--qc-font-display) !important;
  font-weight: 400 !important;
  color: var(--qc-blue) !important;
  line-height: 1.2;
  letter-spacing: -0.01em;
  display: inline-block !important;
  position: relative;
  padding-bottom: 0.4em;
  margin-bottom: 0.6em;
}
h1::after,
h2::after,
h3::after,
.entry-content h1::after,
.entry-content h2::after,
.entry-content h3::after,
.et_pb_text h1::after,
.et_pb_text h2::after,
.et_pb_text h3::after,
.et_pb_module h1::after,
.et_pb_module h2::after,
.et_pb_module h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 70%;
  background: var(--qc-underline);
}
h1,
.entry-content h1,
.et_pb_text h1,
.et_pb_module h1 {
  font-size: var(--qc-h1-size) !important;
}
h1::after,
.entry-content h1::after,
.et_pb_text h1::after,
.et_pb_module h1::after {
  height: 3px;
}
h2,
.entry-content h2,
.et_pb_text h2,
.et_pb_module h2 {
  font-size: var(--qc-h2-size) !important;
}
h2::after,
.entry-content h2::after,
.et_pb_text h2::after,
.et_pb_module h2::after {
  height: 2px;
}
h3,
.entry-content h3,
.et_pb_text h3,
.et_pb_module h3 {
  font-size: var(--qc-h3-size) !important;
}
h3::after,
.entry-content h3::after,
.et_pb_text h3::after,
.et_pb_module h3::after {
  height: 2px;
}
/* ============================================================
   HEADINGS - fullwidth-underline modifier
   ============================================================ */
.qc-heading--fullwidth-underline h1::after,
.qc-heading--fullwidth-underline h2::after,
.qc-heading--fullwidth-underline h3::after,
.qc-heading--fullwidth-underline .et_pb_text h1::after,
.qc-heading--fullwidth-underline .et_pb_text h2::after,
.qc-heading--fullwidth-underline .et_pb_text h3::after,
.et_pb_section.qc-heading--fullwidth-underline h1::after,
.et_pb_section.qc-heading--fullwidth-underline h2::after,
.et_pb_section.qc-heading--fullwidth-underline h3::after {
  width: 100% !important;
}
/* ============================================================
   HEADINGS - Divi Fullwidth Header module (always 100% underline)
   ============================================================ */
.et_pb_fullwidth_header h1,
.et_pb_fullwidth_header h2,
.et_pb_fullwidth_header h3,
.et_pb_fullwidth_header .et_pb_fullwidth_header_subhead {
  font-family: var(--qc-font-display) !important;
  font-weight: 400 !important;
  color: var(--qc-blue) !important;
  line-height: 1.2;
  letter-spacing: -0.01em;
  display: inline-block !important;
  position: relative;
  padding-bottom: 0.4em;
  margin-bottom: 0.6em;
}
.et_pb_fullwidth_header h1::after,
.et_pb_fullwidth_header h2::after,
.et_pb_fullwidth_header h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  background: var(--qc-underline);
}
.et_pb_fullwidth_header h1 {
  font-size: var(--qc-h1-size) !important;
}
.et_pb_fullwidth_header h1::after {
  height: 3px;
}
.et_pb_fullwidth_header h2 {
  font-size: var(--qc-h2-size) !important;
}
.et_pb_fullwidth_header h2::after {
  height: 2px;
}
.et_pb_fullwidth_header h3 {
  font-size: var(--qc-h3-size) !important;
}
.et_pb_fullwidth_header h3::after {
  height: 2px;
}
/* ============================================================
   BODY PARAGRAPHS
   Color is now controlled by Divi or by .qc-text--* utility classes.
   This rule only sets typography (font, size, line-height, weight).
   ============================================================ */
p,
.entry-content p,
.et_pb_text p,
.et_pb_module p {
  font-family: var(--qc-font-body);
  font-size: var(--qc-body-size);
  line-height: var(--qc-body-leading);
  font-weight: 400;
}
/* ============================================================
   BUTTONS - DEFAULT (blue glass pill, white text)
   ============================================================ */
.et_pb_button,
.et_pb_button_one,
.et_pb_button_two,
.et_pb_fullwidth_header .et_pb_button,
button.qc-button,
a.qc-button {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  padding: 14px 32px !important;
  font-family: var(--qc-font-body) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  color: #ffffff !important;
  background-color: var(--qc-blue) !important;
  border: none !important;
  border-radius: 999px !important;
  overflow: hidden !important;
  isolation: isolate;
  cursor: pointer;
  line-height: 1 !important;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.35), inset 0 -2px 0 rgba(0, 0, 0, 0.2), inset 0 8px 12px rgba(255, 255, 255, 0.12), 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 250ms cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 250ms cubic-bezier(0.2, 0.7, 0.2, 1), background-color 250ms ease-out;
}
/* Force Divi's inner text wrappers to inherit color and stay inline */
.et_pb_button > span,
.et_pb_button > .et_pb_button_text,
.et_pb_button .et_pb_button_text,
.et_pb_button_text,
a.qc-button > span,
button.qc-button > span {
  color: inherit !important;
  background: transparent !important;
  text-decoration: none !important;
  display: inline !important;
  vertical-align: middle;
  line-height: 1 !important;
}
/* Kill Divi's default hover arrow */
.et_pb_button:after,
.et_pb_fullwidth_header .et_pb_button:after {
  display: none !important;
}
/* DOWN-CHEVRON ICON
   - viewBox-centered path so the arrow tip sits at the visual center
   - stroke-width 3.5 for visual umpf
   - size 18px for presence
   - align-self: center to force flex vertical alignment */
a.qc-button--icon-down::after,
button.qc-button--icon-down::after,
.et_pb_button.qc-button--icon-down::after,
.et_pb_fullwidth_header .et_pb_button.qc-button--icon-down::after {
  content: "" !important;
  display: inline-block !important;
  width: 18px;
  height: 18px;
  align-self: center !important;
  vertical-align: middle;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='5 8 12 15 19 8'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: static !important;
  opacity: 1 !important;
  transition: transform 250ms ease-out;
  flex-shrink: 0;
}
/* Hover - default button */
.et_pb_button:hover,
.et_pb_fullwidth_header .et_pb_button:hover,
button.qc-button:hover,
a.qc-button:hover,
.et_pb_button:focus-visible,
.et_pb_fullwidth_header .et_pb_button:focus-visible,
button.qc-button:focus-visible,
a.qc-button:focus-visible {
  background-color: var(--qc-blue) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.45), inset 0 -2px 0 rgba(0, 0, 0, 0.2), inset 0 8px 14px rgba(255, 255, 255, 0.18), 0 10px 20px rgba(0, 80, 143, 0.35), 0 2px 6px rgba(0, 0, 0, 0.18);
  outline: none;
  padding: 14px 32px !important;
}
/* Chevron nudges down on hover */
.et_pb_button.qc-button--icon-down:hover::after,
.et_pb_fullwidth_header .et_pb_button.qc-button--icon-down:hover::after,
button.qc-button--icon-down:hover::after,
a.qc-button--icon-down:hover::after {
  transform: translateY(3px);
}
/* ============================================================
   BUTTONS - LIGHT MODIFIER (.qc-button--light)
   White glass pill with FOM blue text
   ============================================================ */
a.qc-button.qc-button--light,
button.qc-button.qc-button--light,
.et_pb_button.qc-button--light,
.et_pb_fullwidth_header .et_pb_button.qc-button--light {
  background-color: #ffffff !important;
  color: var(--qc-blue) !important;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.95), inset 0 -2px 0 rgba(0, 80, 143, 0.12), inset 0 8px 12px rgba(255, 255, 255, 0.6), 0 4px 12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 80, 143, 0.15);
}
.et_pb_button.qc-button--light > span,
.et_pb_button.qc-button--light .et_pb_button_text,
a.qc-button.qc-button--light > span,
button.qc-button.qc-button--light > span {
  color: var(--qc-blue) !important;
}
/* Chevron recolored to FOM blue for white-glass variant */
a.qc-button.qc-button--light.qc-button--icon-down::after,
button.qc-button.qc-button--light.qc-button--icon-down::after,
.et_pb_button.qc-button--light.qc-button--icon-down::after,
.et_pb_fullwidth_header .et_pb_button.qc-button--light.qc-button--icon-down::after {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300508f' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='5 8 12 15 19 8'/></svg>");
}
/* Hover - light variant */
a.qc-button.qc-button--light:hover,
button.qc-button.qc-button--light:hover,
.et_pb_button.qc-button--light:hover,
.et_pb_fullwidth_header .et_pb_button.qc-button--light:hover,
a.qc-button.qc-button--light:focus-visible,
button.qc-button.qc-button--light:focus-visible,
.et_pb_button.qc-button--light:focus-visible,
.et_pb_fullwidth_header .et_pb_button.qc-button--light:focus-visible {
  background-color: #ffffff !important;
  color: var(--qc-blue) !important;
  transform: translateY(-2px);
  box-shadow: inset 0 2px 0 #ffffff, inset 0 -2px 0 rgba(0, 80, 143, 0.18), inset 0 8px 14px rgba(255, 255, 255, 0.75), 0 10px 22px rgba(0, 80, 143, 0.4), 0 2px 6px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 80, 143, 0.2);
}
/* ============================================================
   RESPONSIVE
   ============================================================ */
/* ============================================================
   REDUCED MOTION FALLBACK
   ============================================================ */
@media (max-width: 980px) {
  :root {
    --qc-h1-size: 2.75rem;
    --qc-h2-size: 2rem;
    --qc-h3-size: 1.5rem;
    --qc-body-size: 16px;
  }
}
@media (max-width: 600px) {
  :root {
    --qc-h1-size: 2.25rem;
    --qc-h2-size: 1.75rem;
    --qc-h3-size: 1.375rem;
  }
  .et_pb_button,
  .et_pb_fullwidth_header .et_pb_button,
  button.qc-button,
  a.qc-button {
    padding: 12px 24px !important;
    font-size: 14px !important;
  }
  .et_pb_button:hover,
  .et_pb_fullwidth_header .et_pb_button:hover,
  button.qc-button:hover,
  a.qc-button:hover {
    padding: 12px 24px !important;
  }
  .qc-button--icon-down::after {
    width: 16px;
    height: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .et_pb_button,
  .et_pb_fullwidth_header .et_pb_button,
  button.qc-button,
  a.qc-button {
    transition: background-color 150ms ease-out;
  }
  .et_pb_button:hover,
  .et_pb_fullwidth_header .et_pb_button:hover,
  button.qc-button:hover,
  a.qc-button:hover {
    transform: none;
  }
  .qc-button--icon-down::after {
    transition: none !important;
  }
  .qc-button--icon-down:hover::after {
    transform: none !important;
  }
}
