header h1 {
  display: none;
}

.footer-bottom {
  display: none;
}

header.th-py-md {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.wp-block-group__inner-container {
  background-color: #f5f5f5;
}

.wp-block-jetpack-slideshow_image {
  width: 200%;
}

.wp-block-jetpack-layout-grid-column {
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.pushbutton-wide {
  width: 100%;
}

a {
  color: black;
}

button {
  width: 100%;
  text-align: center;
}

h2 {
  color: white;
}

.th-h-full {
  height: 175%;
}

.wp-block-query-pagination,
.wp-block-buttons,
.wp-block-button,
.wp-block-button__link,
.load-more-posts,
.jetpack-infinite-scroll-trigger,
#infinite-handle {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  -webkit-box-sizing: border-box !important;
  -moz-box-sizing: border-box !important;
  box-sizing: border-box !important;
  text-align: center !important;
}

.wp-block-query-pagination a,
.wp-block-button__link {
  display: block !important;
  width: 100% !important;
}

main#main,
.site-main,
div.wp-block-query {
    display: block !important;
    clear: both !important;
    position: relative !important;
    float: none !important;
    margin-top: 60px !important; /* Forces posts downward */
}

ul.wp-block-post-template {
    display: block !important;
    clear: both !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 40px auto !important;
}

ul.wp-block-post-template > li.wp-block-post {
    display: block !important;
    float: left !important;
    position: relative !important;
    width: 31% !important; /* Absolute safety percentage */
    margin-right: 3% !important;
    margin-left: 0 !important;
    margin-bottom: 40px !important;
    -webkit-box-sizing: border-box !important;
    -moz-box-sizing: border-box !important;
    box-sizing: border-box !important;
}

ul.wp-block-post-template > li.wp-block-post:nth-child(3n) {
    margin-right: 0 !important;
}

ul.wp-block-post-template > li.wp-block-post:nth-child(3n+1) {
    clear: left !important;
}

.wp-block-query::after,
ul.wp-block-post-template::after {
    content: "" !important;
    display: table !important;
    clear: both !important;
}

/* Mobile responsive fallback */
@media screen and (max-width: 768px) {
    ul.wp-block-post-template > li.wp-block-post {
        width: 100% !important;
        float: none !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        clear: both !important;
    }
}