/* The Divi defaults that pages converted from Divi modules rely on.
   scripts/migrate-page.mjs keeps Divi's class names when it converts a page
   built from Divi modules, because those pages' own CSS targets them. This
   file supplies only what Divi's theme CSS used to: type, section and row
   sizing, column widths, module spacing and the button base. Values were
   measured on resqmedical.com in November 2026. Each module's own settings
   arrive as inline styles. Opt in with `stylesheets: [divi]`, together with `wordpress: true`. */

/* Body type, headings, paragraphs and links come from wordpress.css. */

/* Divi 5 text module defaults. */
.d5 .et_pb_text {
  font-weight: 400;
  line-height: 1.4;
}

.d5 .et_pb_text ul,
.d5 .et_pb_text ol {
  margin: 0;
  padding: 0 0 1em 1em;
  line-height: 26px;
}

.d5 .et_pb_text ul {
  list-style-type: disc;
}

.d5 .et_pb_section {
  position: relative;
  padding: 4% 0;
  background-color: #fff;
}

.d5 .et_pb_row {
  position: relative;
  display: flex;
  width: 80%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 2% 0;
}

.d5 .et_pb_column {
  min-width: 0;
  margin-right: 5.5%;
}

.d5 .et_pb_column:last-child {
  margin-right: 0;
}

.d5 .et_pb_column_4_4 { width: 100%; }
.d5 .et_pb_column_1_2 { width: 47.25%; }
.d5 .et_pb_column_1_3 { width: 29.6667%; }
.d5 .et_pb_column_2_3 { width: 64.833%; }
.d5 .et_pb_column_1_4 { width: 20.875%; }
.d5 .et_pb_column_3_4 { width: 73.625%; }
.d5 .et_pb_column_1_5 { width: 15.6%; }
.d5 .et_pb_column_2_5 { width: 36.7%; }
.d5 .et_pb_column_3_5 { width: 57.8%; }
.d5 .et_pb_column_4_5 { width: 78.9%; }

.d5 .et_pb_module {
  margin-bottom: 2.75%;
}

.d5 .et_pb_module:last-child {
  margin-bottom: 0;
}

.d5 .et_pb_image img {
  display: inline-block;
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

.d5 .et_pb_button_module_wrapper {
  margin: 0;
}

.d5 .et_pb_button {
  display: inline-block;
  padding: 0.3em 1em;
  border: 2px solid #333;
  border-radius: 3px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.7em;
  color: #2ea3f2;
  background-color: transparent;
  transition: all 0.2s;
}

.d5 .et_pb_button:hover,
.d5 .et_pb_button:focus-visible {
  opacity: 0.85;
}

@media (max-width: 980px) {
  .d5 .et_pb_section {
    padding: 50px 0;
  }

  .d5 .et_pb_row {
    display: block;
    padding: 30px 0;
  }

  .d5 .et_pb_column {
    width: 100%;
    margin-right: 0;
    margin-bottom: 30px;
  }

  .d5 .et_pb_column:last-child {
    margin-bottom: 0;
  }
}

/* A text module with a module link (see migrate-page.mjs). */
.d5 .et_pb_module_link {
  display: block;
  color: inherit;
}
