.page-banner {
    position: relative;
}
.page-banner .image {
    width: 100%;
}
.page-banner img {
    object-fit: cover;
    height: 450px;
    width: 100%;
}
@media screen and (max-width: 1800px) {
    .page-banner img {
        height: 450px;
    }
}
@media screen and (max-width: 1400px) {
    .page-banner img {
        height: 350px;
    }
}
@media screen and (max-width: 1200px) {
    .page-banner img {
        height: 300px;
    }
}
@media screen and (max-width: 990px) {
    .page-banner img {
        height: 250px;
    }
}
@media screen and (max-width: 768px) {
    .page-banner img {
        height: 192px;
    }
}
@media screen and (max-width: 600px) {
    .page-banner img {
        height: 150px;
    }
}
.page-banner-caption {
    position: relative;
    margin: -1.5rem 0 0 0;
    line-height: 1.5rem;
    padding: 0.1rem 0.4rem 0 0.3rem;
    background: rgba(255,255,255,0.7);
    color: black;
    font-style: italic;
    float: right;
    height: 1.5rem;
    overflow: clip;
}
.page-banner-empty {
    border-top: 15px solid #7ba3c2;
    position: relative;
    width: 100%;
}
.page-banner, .page-banner-empty {
    margin-bottom: 2em;
}

.navbar .navbar-brand {
    top: 0;
}

#page {
    position: relative;
    min-height: calc(100vh - 200px);
}

#mega-menu-wrap-primary {
    margin: 0 0 0 auto;
}
#mega-menu-wrap-primary .search-icon {
    background: #fff;
}
#mega-menu-wrap-primary #mega-menu-primary li#mega-menu-item-6957 .mega-search input[type="text"],
#mega-menu-wrap-primary #mega-menu-primary li#mega-menu-item-6957 .mega-search.mega-search-open input[type="text"] {
    background-color: #ebebeb;
    padding-top: 7px;
    font-size: 0.9rem;
}
@media screen and (max-width: 991px) {
    #mega-menu-wrap-primary #mega-menu-primary {
        border-bottom: 1px solid #ebebeb;
    }
    #mega-menu-wrap-primary #mega-menu-primary li#mega-menu-item-6957 .mega-search input[type="text"],
    #mega-menu-wrap-primary #mega-menu-primary li#mega-menu-item-6957 .mega-search.mega-search-open input[type="text"] {
        padding-top: 5px;
    }
}
@media screen and (min-width: 992px) {
    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item ul.mega-sub-menu {
        box-shadow: .1em .1em .05em #ebebeb, -.1em .1em .1em #ebebeb;
    }
}

#right-sidebar {
    margin-top: 3.4rem;
}
#right-sidebar ul.category-posts-internal {
    padding-left: 1.2rem;
}

.entry-content {
    padding-top: 1.5rem;
}
body.home .entry-content {
    padding-top: 0;
}
body.home .page-banner-empty {
    display: none;
}
body.home [pagelayer-id] {
    transition: 0s;
}
/* hack to force pagelayer font */
.pagelayer-posts-container .pagelayer-wposts-content .pagelayer-wposts-title {
    font-family: "Inter";
}

#content {
    padding-bottom: 4rem;
}

.entry-footer {
    margin-top: 2.5rem;
}
body.single-post .post-nagivation {
    display: flex;
}
body.single-post .post-navigation .nav-next {
    margin-left: auto;
}


#page #page-wrapper {
    padding-bottom: 1.5rem !important;
}

figcaption {
    font-size: 90%;
    font-style: italic;
}

p.nomargin {
    margin: 0;
}

/* clear floating images */
#content dl, #content ol, #content ul {
    overflow: hidden;
}

footer.site-footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 1.5rem;
}

main#main {
    width: 100%;
}

/* neutrino history category */
article.category-neutrino-history div.entry-meta {
    display: none;
}

/* data release category */
article.category-data-releases span.byline, article.category-data-releases span.cat-links, article.category-data-releases span.tags-links {
    display: none;
}

/* gallery category */
article.category-gallery div.entry-meta {
    display: none;
}
article.category-gallery {
    margin-bottom: 1rem;
}
.gallery-overview {
    display: flex;
    flex-wrap: wrap;
}
.gallery-overview li {
    min-width: 290px;
}
.gallery-overview .wp-block-latest-posts__featured-image {
    float: none;
}
.gallery-overview a {
    display: block;
    text-align: center;
}
.modula-fancybox-caption .modula-fancybox-caption__body, .modula-fancybox-caption .modula-fancybox-caption__body p.modula-fancybox-description {
    text-align: left;
}


body.search span.search_query {
    border: 1px solid #aaa;
    background: rgba(240,240,240,0.5);
    padding: .1rem .5rem;
    border-radius: .2rem;
}
body.search .entry-summary, #archive-wrapper .entry-summary {
    margin: .5rem 0;
    overflow: auto;
}
body.search .featured-image, #archive-wrapper .featured-image {
    float: left;
    margin: .4rem 1rem .4rem 0;
}

body #right-sidebar .cat-post-current .cat-post-title {
    font-weight: normal;
    text-transform: none;
}
