/* ==========================================================================
   DIVI — STRUCTURAL FIXES
   ========================================================================== */

@media (max-width: 767.999px) {
  .et_pb_row {
    width: 90%;
  }
}

/* ==========================================================================
   DIVI — TYPOGRAPHY OVERRIDES
   Force theme font sizes inside Divi text modules
   ========================================================================== */

.et_pb_text :is(ul, ul li, p) {
  font-size: var(--jomi-font-size-body);
  line-height: var(--jomi-line-height-body);
  font-weight: var(--jomi-font-weight-regular);
}

:is(.et_pb_column, .et_pb_text) h1 { font-size: var(--jomi-font-size-h1); line-height: var(--jomi-line-height-h1); }
:is(.et_pb_column, .et_pb_text) h2 { font-size: var(--jomi-font-size-h2); }
:is(.et_pb_column, .et_pb_text) h3 { font-size: var(--jomi-font-size-h3); }
:is(.et_pb_column, .et_pb_text) h4 { font-size: var(--jomi-font-size-h4); }
:is(.et_pb_column, .et_pb_text) h5 { font-size: var(--jomi-font-size-h5); }
:is(.et_pb_column, .et_pb_text) h6 { font-size: var(--jomi-font-size-h6); }

/* ==========================================================================
   DIVI — ALERT FONT SIZE
   ========================================================================== */

.jomi-alert :is(p, strong, a) {
  font-size: var(--jomi-font-size-micro);
  line-height: var(--jomi-line-height-micro);
}
