/* GRID */

/* Site Content */

.site-width {
	width: 100%;
}

.site-width > *,
.alignfull > * {
    margin-left: auto;
    margin-right: auto;
    max-width: 1080px;
    width: 80%;
}

.alignfull {
    max-width: unset;
    width: 100%;
}

.alignfull.box {
    padding-left: 0;
    padding-right: 0;
    border-radius: 0;
}


/* Sidebar Templates */

.template-sidebar-left .layout-wrapper,
.template-sidebar-right .layout-wrapper {
    padding: 30px 0;
}

.template-sidebar-left .main,
.template-sidebar-right .main,
.template-sidebar-left .sidebar,
.template-sidebar-right .sidebar {
    margin: 30px 0;
}

/* L + XL */
@media (min-width: 782px) {

    .template-sidebar-left .layout-wrapper,
    .template-sidebar-right .layout-wrapper {
        display: flex;
        gap: 2rem;
    }

    .template-sidebar-left .layout-wrapper {
        flex-direction: row-reverse;
    }

    .template-sidebar-left .main,
    .template-sidebar-right .main {
        width: 70%;
    }

    .template-sidebar-left .sidebar,
    .template-sidebar-right .sidebar {
        width: 30%;
    }
}

.template-sidebar-left .thumbnail img,
.template-sidebar-right .thumbnail img {
    max-height: 450px;
    width: auto;
    height: auto;
}

.template-sidebar-left .main .post-title,
.template-sidebar-right .main .post-title,
.template-sidebar-left .main .page-title,
.template-sidebar-right .main .page-title {
  margin: 0;
}

.template-sidebar-left .content,
.template-sidebar-right .content {
  margin-top: 50px;
}

/* Columns */

.wp-block-columns {
    gap: 15px;
}


/* POST & PAGE */

.thumbnail-wrapper {
    position: relative;
    display: table;
}

.thumbnail-banner {
    min-height: var(--thumb-height, 200px);
    width: 100%;
}

.thumbnail-banner .thumbnail {
    min-height: var(--thumb-height, 200px);
    background-size: cover;
    background-position: center var(--thumb-percent, 40%);
}

.single .thumbnail-wrapper {
    margin-bottom: 15px;
}

.single .taxonomy-wrapper {
  margin: 0.5em 0;
}

.cpt-name-date-combined {
  margin: 0.5em 0;
}

.taxonomy .tax-title {
    font-weight: var(--font-heading-weight);
}

.thumbnail-overlay {
    min-height: var(--thumb-height, 200px);
    top: 0;
    display: flex;
    align-items: center;
}