/* Center the Temple Host masthead on a full-width dark background. */
.header {
    position: relative;
    width: 100%;
    padding: 0;
    background: #25282b;
}

.header > .container-md {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header .logo {
    width: min(100%, 1024px);
    max-width: 100%;
    margin: 0 auto;
}

.header .logo a {
    display: block;
}

.header .logo img.temple-host-banner {
    display: block;
    width: 100%;
    max-width: 1024px;
    height: auto !important;
    margin: 0 auto;
}

.temple-header-links {
    position: absolute;
    z-index: 2;
    top: 38px;
    right: 15px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
    width: auto;
    margin: 0;
    padding: 0;
}

.temple-header-links a {
    display: inline-block;
    padding: 5px 10px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 2px;
    background: rgba(25, 25, 25, .78);
    color: #f2f2f2;
    font-size: 12px;
    line-height: 1.3;
    text-decoration: none;
    text-transform: uppercase;
}

.temple-header-links a:hover,
.temple-header-links a:focus {
    border-color: #fff;
    background: #353535;
    color: #fff;
}

.header .badge.float-right {
    position: absolute;
    z-index: 2;
    top: 0;
    right: 15px;
    float: none !important;
}

@media (max-width: 1199.98px) {
    .temple-header-links {
        position: static;
        justify-content: center;
        width: 100%;
        margin: 0 auto;
        padding: 8px 0 4px;
    }
}

@media (max-width: 767.98px) {
    .header .badge.float-right {
        right: 4px;
    }
}
