/* MORS Scholarly official portal branding */
.mors-official-brand {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    text-decoration: none;
    min-width: 0;
}
.mors-official-brand img,
img.mors-official-logo {
    display: block;
    height: clamp(42px, 5vw, 68px);
    width: auto;
    max-width: min(520px, 62vw);
    object-fit: contain;
}
.mors-publisher-brand {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: .55rem 1rem;
}
.mors-publisher-brand img {
    height: clamp(52px, 6vw, 82px);
    width: auto;
    max-width: min(640px, 90vw);
    object-fit: contain;
}
@media (max-width: 768px) {
    .mors-official-brand img,
    img.mors-official-logo {
        height: 42px;
        max-width: 72vw;
    }
    .mors-publisher-brand img {
        height: 48px;
        max-width: 88vw;
    }
}

/* Correct MORS header placement: emblem beside the existing site name */
.mors-inline-brand{
    display:inline-flex;
    align-items:center;
    gap:10px;
    white-space:nowrap;
    vertical-align:middle;
}
.mors-inline-brand-icon{
    display:block;
    width:auto;
    height:42px;
    max-width:52px;
    object-fit:contain;
}
@media (max-width:768px){
    .mors-inline-brand{gap:7px}
    .mors-inline-brand-icon{height:34px;max-width:42px}
}

/* MORS global header logo placement */
.mors-global-header-logo{
    display:inline-block !important;
    width:auto !important;
    height:42px !important;
    max-width:54px !important;
    object-fit:contain !important;
    vertical-align:middle !important;
    margin-right:10px !important;
    flex:0 0 auto !important;
}
@media (max-width:768px){
    .mors-global-header-logo{
        height:34px !important;
        max-width:44px !important;
        margin-right:7px !important;
    }
}

/* MORS FINAL HEADER EMBLEM FIX */
.mors-header-emblem{
    display:block !important;
    width:auto !important;
    object-fit:contain !important;
    flex:0 0 auto !important;
}

.mors-brand{
    align-items:center !important;
}

.mors-brand > .mors-header-emblem-public{
    height:58px !important;
    max-width:72px !important;
    margin-right:7px !important;
}

.top .brand,
.pd-brand,
.header .logo,
.desk-logo,
.landing-header .brand{
    display:inline-flex !important;
    align-items:center !important;
}

.top .brand > .mors-header-emblem-publisher,
.pd-brand > .mors-header-emblem-publisher,
.header .logo > .mors-header-emblem-publisher,
.desk-logo > .mors-header-emblem-publisher,
.landing-header .brand > .mors-header-emblem-publisher{
    height:42px !important;
    max-width:52px !important;
    margin-right:9px !important;
}

@media (max-width:950px){
    .mors-brand > .mors-header-emblem-public{
        height:48px !important;
        max-width:60px !important;
        margin-right:6px !important;
    }
}

@media (max-width:768px){
    .top .brand > .mors-header-emblem-publisher,
    .pd-brand > .mors-header-emblem-publisher,
    .header .logo > .mors-header-emblem-publisher,
    .desk-logo > .mors-header-emblem-publisher,
    .landing-header .brand > .mors-header-emblem-publisher{
        height:36px !important;
        max-width:46px !important;
        margin-right:7px !important;
    }
}
