/* Approved balanced Avenir Next identity for the medical-services release.
   Loaded only in the isolated sandbox; preserve the artwork aspect ratio. */
.drb-sandbox img.drb-wordmark {
    display: block;
    width: 248px !important;
    height: auto !important;
    max-width: 100%;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center;
    aspect-ratio: auto;
    background: transparent;
    mix-blend-mode: normal;
    border-radius: 0;
}
.drb-sandbox :is(.drb-brand, .brand, a.logo):has(.drb-wordmark) {
    flex-shrink: 0;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}
.drb-sandbox footer .logo:has(.drb-wordmark) {
    background: #fff;
    border-radius: 10px;
    padding: 4px 8px;
    width: fit-content;
    max-width: 100%;
}
.drb-sandbox .fullscreen-form img.drb-wordmark,
.drb-admin-login img.drb-wordmark {
    width: 300px !important;
    height: auto !important;
    margin-left: auto;
    margin-right: auto;
}
.drb-cms .main-sidebar img.drb-wordmark,
.drb-adminlte .brand-link img.drb-wordmark,
.drb-nova .bg-logo img.drb-wordmark {
    width: 210px !important;
    height: auto !important;
    margin: 0;
    float: none;
    box-shadow: none;
}
@media (max-width: 1180px) {
    .drb-sandbox .drb-public-header img.drb-wordmark { width: 220px !important; }
}
@media (max-width: 760px) {
    .drb-sandbox img.drb-wordmark { width: 210px !important; height: auto !important; }
    .drb-sandbox .drb-portal-root img.drb-wordmark { width: 196px !important; }
}
@media (max-width: 400px) {
    .drb-sandbox .drb-portal-root img.drb-wordmark { width: 176px !important; height: auto !important; }
    .drb-sandbox .drb-public-header img.drb-wordmark { width: 200px !important; }
}

@media (max-width: 360px) {
    .drb-sandbox .drb-portal-root img.drb-wordmark { width: 152px !important; height: auto !important; }
}

/* The wordmark is always uppercase, including inside uppercase section labels. */
body.drb-sandbox .drb-brand-name { text-transform:uppercase!important; letter-spacing:normal; }
