/* Shared typography for the MoveMed homepage, including WordPress blocks. */
body.mm-typography {
  --mm-font: "Open Sans", sans-serif;
  --wp--preset--font-family--fontprimary: var(--mm-font);
  --wp--preset--font-family--fontsecondary: var(--mm-font);
  --mm-text: clamp(1rem, .96rem + .18vw, 1.125rem);
  --mm-heading: clamp(1.875rem, 1.45rem + 1.7vw, 2.75rem);
  font-family: var(--mm-font);
  font-size: var(--mm-text);
  line-height: 1.7;
}
.mm-typography :is(h1, h2, h3, h4, h5, h6, button, input, textarea, select, summary) {
  font-family: var(--mm-font);
}
.mm-typography :is(h2, h3, h4) {
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.035em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.mm-typography h2 { font-size: var(--mm-heading); }
.mm-typography h3 { font-size: clamp(1.25rem, 1.12rem + .5vw, 1.5rem); letter-spacing: -.02em; }
.mm-typography h4 { font-size: 1.25rem; letter-spacing: -.015em; }
.mm-typography :is(h2, h3, h4) strong { font-weight: inherit; }
.mm-typography p {
  font-size: var(--mm-text);
  line-height: 1.7;
  letter-spacing: normal;
  text-align: left !important; /* Override WordPress alignment utility classes. */
  text-transform: none;
  overflow-wrap: break-word;
}
.mm-typography #aboutus { text-align: left; }
.mm-typography details { font-style: normal; }
.mm-typography summary { font-size: 1rem; line-height: 1.5; font-weight: 600; font-style: normal; }
.mm-typography summary :is(em, i) { font-style: normal; }
.mm-typography details p { margin-top: 1rem; }
.mm-typography .mm-process h3 { width: 100%; text-align: left; }
.mm-typography .mm-process p { width: 100%; font-size: 1rem; }
.mm-typography p.mm-type-kicker { font-size: .875rem; font-weight: 600; text-align: center !important; }
.mm-typography p.mm-type-intro { max-width: 62ch; margin-inline: auto; font-size: var(--mm-text); }
.mm-typography p.mm-type-note { font-size: .875rem; line-height: 1.6; }
.mm-typography p.mm-type-display { font-size: var(--mm-heading); line-height: 1.2; font-weight: 600; letter-spacing: -.035em; text-wrap: balance; }
.mm-typography footer p { font-size: .875rem; line-height: 1.6; }
.mm-typography .wp-block-button__link { font-family: var(--mm-font); font-size: .9375rem; font-weight: 600; line-height: 1.4; letter-spacing: normal; text-transform: none; }
/* Gallery and accordion plugins declare their own type rules at high specificity. */
.mm-typography .wp-block-kadence-advancedgallery .kadence-blocks-gallery-item__caption {
  font-family: var(--mm-font) !important;
  font-size: 1rem !important;
  line-height: 1.65 !important;
  letter-spacing: normal !important;
  text-align: left;
  overflow-wrap: break-word;
}
.mm-typography .sp-easy-accordion .ea-header a {
  font-family: var(--mm-font);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: normal;
  text-align: left;
}
.mm-typography .sp-easy-accordion .ea-body { font-family: var(--mm-font); font-size: 1rem; line-height: 1.7; }
.mm-typography .sp-easy-accordion .ea-body p { font-size: 1rem; }
.mm-typography .ti-widget :is(.ti-review-content, .ti-name, .ti-date, .ti-read-more) { font-family: var(--mm-font) !important; }
.mm-typography .ti-widget .ti-review-content { font-size: 1rem !important; line-height: 1.65 !important; }
@media (min-width: 782px) {
  .mm-typography .mm-process h3 { min-height: 2.4em; }
}
