/* Mosaic Marble Footer - typography for the pages imported from the old website */

/* Page title (the theme's <h1>) */
.mm-page-title,
#information-information #content > h1 {
  position: relative;
  margin: 8px 0 30px;
  padding-bottom: 16px;
  color: #287297;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.01em;
}
.mm-page-title::after,
#information-information #content > h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 3px;
  background: #287297;
}

/* Body text */
.mm-page {
  margin-bottom: 40px;
  color: #33454f;
  font-size: 16px;
  line-height: 1.75;
}
.mm-page :where(p:not([class])) {
  max-width: 78ch;
  margin: 0 0 1.1em;
}
.mm-page :where(h2:not([class]), h3:not([class]), h4:not([class]), .mm-page__subhead) {
  max-width: 60ch;
  font-weight: 700;
  line-height: 1.3;
}
.mm-page :where(h2:not([class])) {
  margin: 1.8em 0 .6em;
  color: #287297;
  font-size: 25px;
}
.mm-page :where(h3:not([class]), .mm-page__subhead) {
  margin: 1.6em 0 .5em;
  color: #1f5c7a;
  font-size: 20px;
}
.mm-page :where(h4:not([class])) {
  margin: 1.4em 0 .4em;
  color: #23323a;
  font-size: 17px;
}
.mm-page > :where(:first-child, style + *) {
  margin-top: 0;
}
.mm-page strong,
.mm-page b {
  color: #23323a;
  font-weight: 700;
}

/* Lists */
.mm-page ul:not([class]),
.mm-page ol:not([class]) {
  max-width: 78ch;
  margin: 0 0 1.2em;
  padding-left: 1.4em;
}
.mm-page ul:not([class]) li,
.mm-page ol:not([class]) li {
  margin: 0 0 .45em;
  padding-left: .2em;
}
.mm-page ul:not([class]) li::marker,
.mm-page ol:not([class]) li::marker {
  color: #287297;
  font-weight: 700;
}

/* Links inside the text */
.mm-page p a,
.mm-page li a {
  color: #287297;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.mm-page p a:hover,
.mm-page li a:hover {
  color: #1d5876;
  text-decoration-thickness: 2px;
}

/* Quotes (testimonials) */
.mm-page :where(blockquote) {
  max-width: 78ch;
  margin: 0 0 24px;
  padding: 20px 26px;
  border-left: 4px solid #287297;
  background: #f3f7fa;
  color: #33454f;
  font-size: 17px;
  font-style: italic;
  line-height: 1.7;
}
/* the name under a testimonial: themes style every <footer> as the site footer, so reset it */
.mm-page blockquote footer {
  position: static !important;
  display: block !important;
  margin: 12px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
  color: #287297 !important;
  font-size: 15px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.5;
}
.mm-page blockquote footer::before {
  content: "\2014\00a0" !important;
  position: static !important;
  display: inline !important;
  width: auto !important;
  height: auto !important;
  background: none !important;
}
.mm-page blockquote footer::after {
  content: none !important;
  display: none !important;
}

/* Media */
.mm-page img {
  max-width: 100%;
  height: auto;
}
.mm-page p img {
  margin: 6px 0;
}
.mm-page table {
  max-width: 100%;
}
.mm-page iframe {
  max-width: 100%;
  border: 0;
}

/* Leftovers from the old website's editor: fonts, sizes and colours typed into the text */
.mm-page :is(p, span, li, strong, em, b, h2, h3, h4, td)[style*="font-family"] { font-family: inherit !important; }
.mm-page :is(p, span, li, strong, em, b, h2, h3, h4, td)[style*="font-size"] { font-size: inherit !important; }
.mm-page :is(p, span, li, em, td)[style*="color"] { color: inherit !important; background-color: transparent !important; }
.mm-page :is(p, span, li, td)[style*="line-height"] { line-height: inherit !important; }
.mm-page :is(p, li, h2, h3, h4)[style*="justify"] { text-align: left !important; }

@media (max-width: 767px) {
  .mm-page-title,
  #information-information #content > h1 {
    margin-bottom: 22px;
    font-size: 27px;
  }
  .mm-page {
    font-size: 15px;
  }
  .mm-page :where(h2:not([class])) {
    font-size: 22px;
  }
  .mm-page :where(h3:not([class]), .mm-page__subhead) {
    font-size: 18px;
  }
}
