/* ===============================================
   Gutenberg support
   =============================================== */

body.page-template-page-full-width #header-wrapper {
  margin-bottom: 0;
}

.block-wrapper {
  overflow: hidden;
}

.block-content {
  display: flex;
  flex-direction: column;
  margin-left: auto;
  margin-right: auto;
}

.block-content .alignwide {
  margin-left: auto;
  margin-right: auto;
}

.block-content .alignfull:not(.wp-block-buttons) {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.container .alignwide,
.container .block-content {
  width: 100%;
}

.block-wrapper hr {
  margin-block-start: 0.5em;
  margin-block-end: 0.5em;
}

body.page-template-page-blank p,
body.page-template-page-blank ol,
body.page-template-page-blank ul,
body.page-template-page-blank h1,
body.page-template-page-blank h2,
body.page-template-page-blank h3,
body.page-template-page-blank h4,
body.page-template-page-blank h5,
body.page-template-page-blank h6 {
  margin-left: auto;
  margin-right: auto;
  padding: 0;
}

body.page-template-page-blank :where(figure)  {
  margin: 0 0 1em;
}

body.page-template-page-blank #wrapper img ,
body.page-template-page-blank #wrapper .post-container img ,
body.page-template-page-blank .post-container .wp-post-image {
  height: 100%;
  z-index: initial;
}

.wp-element-button,
.wp-element-button:hover {
  text-decoration: none;
}

.wp-block-post.post-container {
  width: auto;
  float: none;
  padding: 0;
}

@media (max-width: 768px) {
  .block-content .alignwide {
    width: 90%;
  }
}

@media (min-width: 768px) {
  .block-content,
  .block-content .alignwide {
    width: 720px;
  }
}

@media (min-width: 992px) {
  .block-content,
  .block-content .alignwide {
    width: 940px;
  }
}

@media (min-width: 1200px) {
  .block-content,
  .block-content .alignwide {
    width: 1140px;
  }
}