/* Keep the footer at the viewport edge when a page has little content. */
.wp-site-blocks {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

.wp-site-blocks > main,
.wp-site-blocks > .wp-block-post-content {
  flex: 1 0 auto;
}

.wp-site-blocks > footer {
  flex: 0 0 auto;
}

/* The flex layout owns the available viewport height. */
.skazkino-maintenance {
  min-height: 0;
}
