/* =========================================
   Globale Textfarbe
   Ausnahmen:
   - postid-5387
   - postid-1985
   - .fti-toogle-text und alle Kinder
========================================= */

html body:not(.postid-5387):not(.postid-1985) #page-container #et-main-area :is(
  h1,h2,h3,h4,h5,h6,
  p,span,strong,em,b,i,small,mark,
  ul,ol,li,dl,dt,dd,
  blockquote,cite,figcaption,
  table,thead,tbody,tfoot,tr,th,td,caption,
  label,legend,
  pre,code,kbd,samp,
  button,
  input[type="submit"],
  input[type="button"],
  input[type="reset"]
):not(
  a,
  a *,
  .et-pb-icon,
  .et-pb-icon *,
  .et_pb_font_icon,
  .et_pb_font_icon *,
  svg,
  svg *,
  .fti-toogle-text,
  .fti-toogle-text *
){
  color: #4a4a4a !important;
}

/* Button-Links */
html body:not(.postid-5387):not(.postid-1985) #page-container #et-main-area :is(
  a.et_pb_button,
  a.more-link,
  a.wp-element-button,
  a.button,
  a.btn,
  a.et_pb_promo_button,
  a.et_pb_module_button
):not(
  .fti-toogle-text,
  .fti-toogle-text *
){
  color: #4a4a4a !important;
}

/* Formulareingaben */
html body:not(.postid-5387):not(.postid-1985) #page-container #et-main-area :is(
  textarea,
  select,
  input
):not(
  [type="submit"],
  [type="button"],
  [type="reset"],
  .fti-toogle-text,
  .fti-toogle-text *
){
  color: #4a4a4a !important;
}

/* =========================================
   Wichtiger Override:
   Hebelt separate Heading-Regeln für
   Überschriften innerhalb .fti-toogle-text aus
========================================= */

html body #page-container #et-main-area .fti-toogle-text :is(h1,h2,h3,h4,h5,h6){
  color: inherit !important;
}