.post-inner {
    padding-bottom: 8rem;
}

.entry-content .alignwide:first-child {
    margin-top: 0 !important;
}

.browse-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.fixed-size-thumbnail {
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    position: relative;
    line-height: 0;
    overflow: hidden;
    background-color: #EBEBEB;
}

.fixed-size-thumbnail img {
    width: 100% !important;
    height: 100% !important;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
}

.normal-text {
    font-family: "Inter var", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif !important;
}

.media-embeds img {
    width: 100%;
}

.search-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.7em;
    margin-bottom: 2rem;
}

.filter-label {
    font-weight: bold;
}

.filter-value {
    color: #6d6d6d;
}

ul.pagination {
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding-left: 0;
    list-style: none;
    margin: 0;
    gap: 1rem;
}

ul.pagination li.page-item {
    margin: 0;
}

li.page-item.disabled a {
    pointer-events: none;
    cursor: default;
    opacity: 0.6;
}

.page-item.active .page-link {
    z-index: 1;
    color: #cd2653;
    background-color: white;
}

.page-link:not(:disabled):not(.disabled) {
    cursor: pointer;
}

.page-link {
    position: relative;
    display: block;
    padding: 0.9rem 1.25rem;
    line-height: 1.25;
    font-size: 15px;
    color: white;
    background-color: #cd2653;
    border: 2px solid #cd2653;
    text-transform: uppercase;
    font-weight: 600;
    font-family: "Inter var", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif !important;
}

.field {
    margin-bottom: 4rem;
}

.label {
    display: block;
    font-size: 1.6rem;
    font-weight: 400;
    margin: 0 0 0.5rem 0;
}

.field-description {
    font-size: 1.4rem;
    color: #6d6d6d;
}

.pali-result-pane .result-table thead th {
    color: inherit;
}

.facet-title {
    font-size: 1em;
    font-weight: bold;
    border-bottom: none;
    color: inherit;
}

.alignwide.default.w-100 img {
    width: 100%;
}

.caption {
    font-size: 0.8em;
    color: #6d6d6d;
}

.assets.left {
    text-align: end;
}

.assets.left .asset, .assets.right .asset {
    display: inline-block;
}

/* Modal */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: hidden; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.modal-dialog {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #d0d0d0;
    padding: 2rem;
    background-color: #f5efe0;
}

.modal-title {
    margin: 0 !important;
}

.modal-body {
    padding: 2rem;
}

/* End of Model */

/* Tab */
.nav {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
    gap: 2px;
}

ul.nav {
    margin-left: 0;
}

ul.nav li {
    margin-left: 0;
}

.nav-tabs {
    border-bottom: 2px solid #cd2653;
}

.nav.nav-tabs {
    margin-top: 1em;
    margin-bottom: 1em;
}

.nav-tabs .nav-item {
    margin-bottom: -2px;
}

.nav-link {
    display: block;
    padding: .5rem 1rem;
}

.nav-tabs .nav-link {
    border: 2px solid #cd2653;
    background-color: #cd2653;
    text-decoration: none;
    color: #fff;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    background-color: #fff;
    color: #cd2653;
}

/* End of Tab */

/* Catalog styles */

#paliFacetedSearch {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    width: 100%;
}

.pali-facet-pane {
    width: 100%;
    flex-shrink: 0;
    flex-grow: 0;
    overflow-x: auto;
}

.pali-result-pane {
    width: 100%;
    flex-shrink: 0;
    flex-grow: 1;
    overflow-x: auto;
}

@media (min-width: 768px) {

    .pali-facet-pane {
        flex-basis: 30%;
        width: auto;
    }

    .pali-result-pane {
        flex-basis: 67%;
        width: auto;
    }
}

.checkbox-facet ul {
    margin-left: 0;
    margin-bottom: 0;
}

.checkbox-facet ul li {
    margin-left: 0;
}

.facet-expand {
    cursor: pointer;
    margin-right: 1rem;
}

/* End of Catalog styles */

/* Image Gallery */

ul.image-gallery {
    padding-left: 0;
    margin-left: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    gap: 3rem;
}

.image-gallery li {
    list-style: none;
    margin: 0;
}

.thumbnail-holder {
    width: 20rem;
    height: 20rem;
}

.thumbnail-holder img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.thumbnail-info {
    margin-top: 0.5em;
    text-align: center;
    font-size: 0.8em;
}

/* End of Image Gallery */

/* Helpers */
.justify-content-end {
    -ms-flex-pack: end !important;
    justify-content: flex-end !important;
}

.w-100 {
    width: 100% !important;
}

/* End of Helpers */
h1, h2{
    font-weight: 600;
}

.slick-slide img {
    min-height: 45vh;
}

.omake_asset_left > .assets:first-of-type {
    float: left;
    margin: .5em 1em .5em 0em;
}

.omake_asset_right > .assets:first-of-type{
    float: right;
    margin: .5em 0 .5em 1em;
}

