/* postupit-na-distanczionnoe-obuchenie (id=2675) — блок ближе к баннеру */
body:has(.fek-howto--compact-top) .bnr-block + .container:has(.pagetitle.hid),
body:has(.fek-howto--compact-top) .bnr-block + .container + .container,
body:has(.fek-howto--compact-top) .bnr-block + .container + .container + br,
body:has(.fek-howto--compact-top) .bnr-block ~ .container:empty {
  display: none;
}

.block-tpl:has(.fek-howto--compact-top) {
  padding-top: 0;
}

.block-tpl:has(.fek-howto--compact-top) > .container > .pcontent {
  padding-top: 0;
}

.fek-howto--compact-top {
  margin-top: 8px;
  margin-bottom: 48px;
}

@media (max-width: 1199px) {
  .block-tpl .fek-howto--compact-top {
    margin-top: 4px;
    margin-left: 16px;
    margin-right: 16px;
    margin-bottom: 32px;
  }
}

@media (max-width: 991px) {
  .fek-howto--compact-top {
    margin-top: 0;
    margin-bottom: 24px;
  }
}
