/* mfhead — все заголовки блоков главной одного размера и начертания: 24 px, полужирный (как у шаблонных блоков Аспро).
   H1 «Примерочной» не трогаем — это главный заголовок страницы. */
.drag-block .index-block__title.switcher-title,
#mfmat .mfm__h,
.mfpr-rib__head h2,
#home-before-after h2.pt,
#mfwork .mfw__h,
#mfthemes .mfth-h,
#mfweek .mfwk-ttl,
.mfh-h {
  font-family: inherit !important; font-size: 24px !important; line-height: 1.25 !important; font-weight: 600 !important;
  letter-spacing: normal !important; color: #1f2329 !important; text-transform: none !important;
}
.mfh-h { margin: 0 0 20px !important; padding: 0; }

/* «Один сюжет — два настроения»: та же ширина и поля, что у блоков темы (.maxwidth-theme Аспро) */
@media (min-width: 801px) {
  #home-before-after .pw.mf-before-after {
    max-width: calc(var(--theme-page-width, 1500px) + 2 * var(--theme-page-width-padding, 32px)) !important;
    padding-left: var(--theme-page-width-padding, 32px) !important; padding-right: var(--theme-page-width-padding, 32px) !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 767px) {
  .drag-block .index-block__title.switcher-title, #mfmat .mfm__h, .mfpr-rib__head h2, #home-before-after h2.pt, #mfwork .mfw__h,
  #mfthemes .mfth-h, #mfweek .mfwk-ttl, .mfh-h { font-size: 20px !important; }
  .mfh-h { margin-bottom: 14px !important; }
}
