/* CaseExhibits header logo enhancement */
.brand-with-logo {
    display: inline-flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    margin-left: 0 !important;
    color: #fff;
    text-decoration: none;
}

.brand-with-logo:hover,
.brand-with-logo:focus {
    text-decoration: none;
}

.brand-logo-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(360px, 38vw);
    min-width: 250px;
    padding: 7px 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.42);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0,0,0,.18);
}

.brand-logo-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 68px;
    object-fit: contain;
}

.brand-logo-sub {
    margin: 0 0 0 4px;
    color: #d7e7f3;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
    line-height: 1.2;
    text-transform: uppercase;
}

@media (max-width: 900px) {
    .brand-logo-frame {
        width: min(330px, 48vw);
        min-width: 220px;
    }
}

@media (max-width: 800px) {
    .brand-with-logo {
        width: 100%;
    }

    .brand-logo-frame {
        width: min(360px, 100%);
        min-width: 0;
    }
}

@media (max-width: 480px) {
    .brand-logo-frame {
        padding: 6px 9px;
        border-radius: 8px;
    }

    .brand-logo-image {
        max-height: 54px;
    }

    .brand-logo-sub {
        font-size: 9px;
        letter-spacing: .09em;
    }
}
