/* Site-wide Montserrat type scale. Icon fonts are excluded below. */
html {
  font-size: 16px;
}
html body,
html body div,
html body p,
html body a,
html body span,
html body li,
html body td,
html body th,
html body h1,
html body h2,
html body h3,
html body h4,
html body h5,
html body h6,
html body button,
html body input,
html body select,
html body textarea,
html body label,
html body blockquote,
html body figcaption {
  font-family: Montserrat, "Helvetica Neue", Arial, sans-serif !important;
}

/* Keep icon typefaces intact */
html body i,
html body .fa,
html body .fas,
html body .far,
html body .fal,
html body .fab,
html body .faback,
html body [class^="fa-"],
html body [class*=" fa-"],
html body .socicon,
html body [class^="socicon"],
html body .monolit-icon {
  font-family: FontAwesome, "Font Awesome 6 Free", "Font Awesome 5 Free", socicon, inherit !important;
}

html body {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

/* Theme used 100/200/300 without those files being hosted — map them to real cuts. */
html body,
html body p,
html body li,
html body td,
html body input,
html body select,
html body textarea,
html body button,
html body label {
  font-weight: 400;
}
html body strong,
html body b,
html body h1,
html body h2,
html body h3,
html body h4,
html body h5,
html body h6,
html body .bold-title,
html body .section-title,
html body .main-page-title h2,
html body .page-title h2 {
  font-weight: 700;
  line-height: 1.3;
}

html body h1 {
  font-size: clamp(1.75rem, 1.2vw + 1.3rem, 2.25rem); /* 28–36px */
  letter-spacing: 0.01em;
}
html body h2,
html body .section-title {
  font-size: clamp(1.5rem, 1vw + 1.15rem, 1.75rem); /* 24–28px */
  letter-spacing: 0.02em;
}
html body h3,
html body .bold-title {
  font-size: 1.25rem; /* 20px */
  letter-spacing: 0;
  line-height: 1.35;
}
html body h4 {
  font-size: 1.0625rem; /* 17px */
  line-height: 1.4;
}
html body h5, html body h6 {
  font-size: 1rem;
  line-height: 1.45;
}

html body p,
html body li,
html body td,
html body th {
  font-size: 16px;
  line-height: 1.6;
}

/* Small / legal / footer — 13–14px, never below 12px */
html body small,
html body .bm-updated,
html body .bm-notice,
html body .bm-legal .bm-note,
html body .bm-footer-legal,
html body .copyright,
html body .content-footer .text-link,
html body .content-footer h4.text-link,
html body footer.fixed-footer,
html body .bm-map-attr,
html body .bm-map-addr,
html body .bm-nav-note {
  font-size: 13px !important;
  line-height: 1.6 !important;
  letter-spacing: 0.03em;
}
html body .copyright {
  font-weight: 400;
}

/* Form labels: readable small text, not 10–12px caps that fatigue the eye */
html body .bm-form .bm-field > label,
html body .bm-form .bm-label {
  font-size: 13px !important;
  letter-spacing: 0.04em;
  line-height: 1.4 !important;
}
html body .bm-form input,
html body .bm-form select,
html body .bm-form textarea {
  font-size: 16px !important;
  line-height: 1.5;
  font-weight: 400;
}

/* Legal pages */
html body .bm-legal {
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
}
html body .bm-legal th {
  font-size: 13px;
}

@media (max-width: 700px) {
  html body h1 { font-size: 1.625rem; }
  html body h2, html body .section-title { font-size: 1.375rem; }
  html body h3, html body .bold-title { font-size: 1.125rem; }
}

/* Breadcrumbs were 10px in the theme — raise to readable small text. */
html body .main-page-bread,
html body .main-page-bread *,
html body .breadcrumbs,
html body .breadcrumbs *,
html body .bread-link {
  font-size: 13px !important;
  line-height: 1.5 !important;
  letter-spacing: 0.04em;
}
