/* ============================================================
   Racing For Heroes — site theme skin
   Restyles the existing Divi pages to match the Wellness page:
   Oswald stenciled headings, gold + red accents on near-black.
   Loaded last in each page <head> so it overrides theme defaults.
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Open+Sans:wght@400;600;700&display=swap');

:root{
  --rfh-gold:#c2a15a;
  --rfh-red:#b23b3b;
  --rfh-ink:#0c0c0d;
  --rfh-paper:#e9e5db;
  --rfh-muted:#9a958c;
}

/* ---- Headings: Oswald, uppercase, stenciled ---- */
body h1, body h2, body h3, body h4, body h5, body h6,
.et_pb_module_heading,
.et_pb_toggle_title,
.et_pb_promo h1, .et_pb_promo h2, .et_pb_promo h3,
.et_pb_blurb .et_pb_module_header,
.et_pb_blurb .et_pb_module_header span{
  font-family:'Oswald', sans-serif !important;
  text-transform:uppercase !important;
  letter-spacing:1.5px !important;
  font-weight:700 !important;
}

/* Large section titles stay bright for legibility */
body h1, .et_pb_module_heading{ color:var(--rfh-paper) !important; }
/* Sub-headings and accents in gold */
body h2, body h3, body h4,
.et_pb_toggle_title,
.et_pb_blurb .et_pb_module_header,
.et_pb_blurb .et_pb_module_header span,
.footer-widget h4{
  color:var(--rfh-gold) !important;
}

/* Red accent rule under standalone content headings */
.et_pb_module.et_pb_heading .et_pb_module_heading{
  padding-bottom:16px;
  border-bottom:4px solid var(--rfh-red);
  display:inline-block;
}

/* ---- Body copy ---- */
body, p, li, .et_pb_text_inner, .et_pb_blurb_description{
  font-family:'Open Sans', Arial, sans-serif;
}

/* ---- Links: theme green -> gold ---- */
body a{ color:var(--rfh-gold); }
body a:hover{ color:var(--rfh-paper); }

/* ---- Buttons: stenciled, red-outlined (content buttons only) ---- */
.et_pb_button:not([class*="_tb_footer"]){
  font-family:'Oswald', sans-serif !important;
  text-transform:uppercase !important;
  letter-spacing:2px !important;
  font-weight:700 !important;
  color:var(--rfh-paper) !important;
  border:2px solid var(--rfh-red) !important;
  background:rgba(178,59,59,0.10) !important;
  border-radius:0 !important;
  padding:16px 40px !important;
  transition:background .2s ease, color .2s ease !important;
}
.et_pb_button:not([class*="_tb_footer"]):hover{
  background:rgba(178,59,59,0.28) !important;
  color:#fff !important;
  padding:16px 40px !important;
}
/* remove Divi's arrow glyph on buttons */
.et_pb_button:not([class*="_tb_footer"]):before,
.et_pb_button:not([class*="_tb_footer"]):after{
  display:none !important;
  content:"" !important;
}

/* ---- Accordions / toggles ---- */
.et_pb_toggle{ border-color:rgba(194,161,90,0.28) !important; }
.et_pb_toggle_open{ background:rgba(194,161,90,0.06) !important; }

/* ---- Blurb icon circles in gold ---- */
.et_pb_blurb .et-pb-icon-circle{
  border-color:var(--rfh-gold) !important;
  color:var(--rfh-gold) !important;
}

/* ---- Tables (comparison grids) ---- */
.et_pb_text_inner table td, .et_pb_text_inner table th{
  border-color:rgba(194,161,90,0.28) !important;
}
.et_pb_text_inner table h3{ color:var(--rfh-gold) !important; }
