.page.page-template-page_title-with-gallery .page-top {
    max-height: 300px;
    height: 100%;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page.page-template-page_title-with-gallery .page-top .post-title {
    height: 100%;
    flex-direction: column;
    max-width: 950px;
}

.page-template-page_title-with-gallery .page-top .post-title {
    text-align: center;
    position: relative;
    margin-right: auto;
    margin-left: auto;
}

.page-template-page_title-with-gallery .page-top .post-title h1 p {
    color: var(--miss-amazing-purple);
    font-weight: 700 !important;
    text-transform: none;
    letter-spacing: 1px;
}

.page-template-page_title-with-gallery .metaslider .flexslider .slides li {
    padding: 1rem;
    background-color: var(--miss-amazing-off-white) !important;
}

.page-template-page_title-with-gallery .slides li img {
    border-radius: var(--base-border-radius);
}

.page-template-page_title-with-gallery .flexslider .flex-direction-nav {
    display: none;
}

.page-template-page_title-with-gallery .gallery-container .col-lg-12 {
    max-height: 400px;

    margin-right: auto;
    margin-left: auto;
    display: flex;
    justify-items: center;
}

.page-template-page_title-with-gallery .gallery-container .col-lg-12 .metaslider .flexslider {
    margin-bottom: 0;
}

.page-template-page_title-with-gallery .gallery-container .col-lg-12 .metaslider .flexslider .slides {
    background-color: var(--miss-amazing-off-white) !important;
}

.page-template-page_title-with-gallery .gallery-container .col-lg-12 .metaslider .flexslider .slides li {
    width: 100% !important;
    max-height: 400px;
}

.page-template-page_title-with-gallery .gallery-container .col-lg-12 .metaslider .flexslider .slides li img {
    width: auto !important;
    max-height: 350px;

    object-fit: cover;
}

.page-template-page_title-with-gallery .post-container .post-content {
    margin-top: 0;
    padding-top: 0;
}

@media (max-width: 992px) {
    .page.page-template-page_title-with-gallery .page-top {
        min-height: 350px;
    }
}