@font-face {
    font-family: Roboto;
    src: url("../fonts/roboto.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root { --md-site-font: Inter, Arial, sans-serif; }
body { font-family: var(--md-site-font); }
:where(button, input, select, textarea) { font-family: inherit; }

/* Одна шкала для шаблонов темы и форматированного текста из редактора. */
:is(h1, h2, h3, h4, h5, h6):not(:where(#wpadminbar *)) {
    font-size: var(--md-heading-size) !important;
    font-weight: var(--md-heading-weight) !important;
    color: var(--md-heading-color) !important;
    overflow-wrap: anywhere;
}

/* Карточки врачей, вопросы FAQ и ссылки внутри статей содержат собственную разметку. */
:is(h1, h2, h3, h4, h5, h6):not(:where(#wpadminbar *))
    :where(a, button, span, strong, b, em, i, small, font):not([aria-hidden="true"]) {
    font-size: inherit !important;
    font-weight: inherit !important;
    color: inherit !important;
}
