/* Блоки текста WordPress на главной, в категориях и в услугах. */
.bm-sc-description .bm-description-expand__viewport {
  position: relative;
  display: flow-root;
  max-height: none;
}
.bm-sc-description .bm-description-expand__viewport.is-collapsed {
  overflow: hidden;
}
.bm-sc-description .bm-description-expand__content {
  display: flow-root;
  min-width: 0;
}
/* Section heading and WordPress H2 headings share the introductory H1 size.
   Body paragraphs, lower-level H3/H4 headings and article prose elsewhere remain unchanged. */
.bm-sc-description .bm-sc-description__title,
.bm-sc-description .bm-description-expand__content h2 {
  font-size: var(--bm-font-size-sc-intro);
}
.bm-sc-description .bm-description-expand__actions {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 26px;
}
.bm-sc-description .bm-description-expand__actions[hidden] {
  display: none !important;
}
.bm-sc-description .bm-description-expand__button {
  appearance: none;
  cursor: pointer;
  width: auto;
  min-width: 220px;
  padding-inline: 24px;
  font-family: inherit;
}
.bm-sc-description .bm-description-expand__button:focus-visible {
  outline: 3px solid var(--bm-ink, #232323);
  outline-offset: 3px;
}
@media (max-width: 767px) {
  .bm-sc-description .bm-description-expand__actions {
    margin-top: 20px;
  }
  .bm-sc-description .bm-description-expand__button {
    width: min(100%, 390px);
    min-width: 0;
  }
  .bm-sc-description[data-bm-description] {
    scroll-margin-top: calc(var(--bm-header-height, 68px) + 20px);
  }
}
