/* The WordPress theme's base styles, for pages migrated from WordPress.
   On resqmedical.com every page sat inside the Divi theme's global CSS: its
   reset, its body type and its default spacing for paragraphs, headings and
   lists. Pages were written on top of that, so they need it here too. These
   rules are Divi's own (from the theme stylesheet and the theme options, as
   served in November 2026), scoped to <main class="wp">. Each selector keeps
   Divi's specificity, so page CSS wins exactly where it did on WordPress.
   The layout applies this to pages with `wordpress: true` in front matter. */

/* Divi's reset (element-level, as in the theme). */
:where(.wp) :is(div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, mark, audio, video) {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

:where(.wp) :is(ol, ul) {
  list-style: none;
}

:where(.wp) :is(blockquote, q) {
  quotes: none;
}

:where(.wp) table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Body type, from the theme options. */
.wp {
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4em;
  color: #666;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:where(.wp) a {
  color: #71b644;
  text-decoration: none;
}

:where(.wp) :is(h1, h2, h3, h4, h5, h6) a {
  color: inherit;
}

:where(.wp) p {
  padding-bottom: 1em;
}

:where(.wp) p:not(.has-background):last-of-type {
  padding-bottom: 0;
}

:where(.wp) blockquote p {
  padding-bottom: 0;
}

:where(.wp) :is(h1, h2, h3, h4, h5, h6) {
  padding-bottom: 10px;
  color: #333;
  font-weight: 500;
  line-height: 1em;
}

:where(.wp) h1 { font-size: 30px; }
:where(.wp) h2 { font-size: 26px; }
:where(.wp) h3 { font-size: 22px; }
:where(.wp) h4 { font-size: 18px; }
:where(.wp) h5 { font-size: 16px; }
:where(.wp) h6 { font-size: 14px; }

:where(.wp) :is(b, strong) {
  font-weight: 700;
}

:where(.wp) :is(em, i) {
  font-style: italic;
}

:where(.wp) blockquote {
  margin: 20px 0 30px;
  padding-left: 20px;
  border-left: 5px solid #407cbd;
}

/* Divi's form field base. It outranks a page's single-class rules for text
   inputs (so a page's own padding on a search box, for example, lost to it on
   WordPress). Split in two so select and textarea keep their lower weight. */
:where(.wp) :is(input.text, input.title, input[type="email"], input[type="password"], input[type="tel"], input[type="text"]),
:where(.wp) :is(select, textarea) {
  padding: 2px;
  border: 1px solid #bbb;
  color: #4e4e4e;
  background-color: #fff;
}

/* Divi's .entry-content rules: lists and tables in page content. */
.wp ul {
  padding: 0 0 23px 1em;
  line-height: 26px;
  list-style-type: disc;
}

.wp ol {
  padding: 0 0 23px;
  line-height: 26px;
  list-style-type: decimal;
  list-style-position: inside;
}

.wp table:not(.variations) {
  width: 100%;
  margin: 0 0 15px;
  border: 1px solid #eee;
  text-align: left;
}

.wp :is(th, td) {
  padding: 0.857em 1.429em;
  border-top: 1px solid #eee;
}
